- 13 Oct, 2019 1 commit
-
-
Bryton Lacquement authored
-
- 11 Oct, 2019 12 commits
-
-
Bryton Lacquement authored
-
Bryton Lacquement authored
-
Bryton Lacquement authored
CMF 2.3 is "stricter" about Unauthorized exceptions, and will always redirect to the login page.
-
Bryton Lacquement authored
Products.CMFCore.CookieCrumbler's redirect support was moved to Products.CMFDefault in CMF 2.3, cf: - CMFCore: 387bd379fd9655aa1462715a04b4664f5c54974a - CMFDefault: d319a68e8299e42a76f605ad79383bb78db14031 Registering portal_actions allows CMFDefault to redirect correctly, cf UnauthorizedView.__call__
-
Bryton Lacquement authored
Also some code refactoring.
-
Bryton Lacquement authored
ICookieCrumbler.credentialsChanged signature changed in Products.CMFCore 2.3.0-beta. We also update the patch on the same occasion.
-
Bryton Lacquement authored
... so that queryUtility can later access the correct ones. Note: we do not necessarily want to register all tools.
-
Bryton Lacquement authored
-
Bryton Lacquement authored
It is no longer supported in CMF 2.3, see Products.CMFCore 754894460271f8562d03e8c51e6efcee7223a3ba.
-
Bryton Lacquement authored
It is no longer supported in CMF 2.3, see Products.CMFCore be875bb45272ad6ad3c2e14d72a41295dc7389cf.
-
Bryton Lacquement authored
getToolByName(portal, 'portal_skins').REQUEST: AttributeError
-
Yusei Tahara authored
-
- 10 Oct, 2019 7 commits
-
-
Klaus Wölfel authored
-
Jérome Perrin authored
-
Jérome Perrin authored
When running tests the path to git command is just git, because we have set $PATH
-
Jérome Perrin authored
updateConfiguration is a method to set the list of partitions, not to add partitions to an existing computer. The previous (slapos.core <1.5.0) implementation of slap proxy was incorrect and was adding more partitions each time it was called, but that was never the indented behavior. Prepare the list of partitions and call updateConfiguration only once to set all partitions. This should fix SLAPOS-SR-TEST that are still using erp5.util
-
Jérome Perrin authored
Some tests where patching SlapOSControler to replace methods by a no-op, but this was never reset. I believe we should rewrite this using mock which takes care of un-doing the patches for us and makes this testing easier, but for now I'm just reseting the missing methods like all others were already reseted.
-
Jérome Perrin authored
configparser read options as strings, node_quantity is not supposed to be an int.
-
Jérome Perrin authored
pkg_resources.resource_string reads the file as binary, if we want to substitute in this string we need to decode it.
-
- 09 Oct, 2019 7 commits
-
-
Arnaud Fontaine authored
ZODB Components: Monkey patch pylint to avoid 'No config file found, using default configuration' on stderr. Another solution could have been to have a configuration file for pylint instead of command line arguments but it depends on the type of Component (for example 'Interface Component' has specific arguments).
-
Ivan Tyagov authored
Value of text_content is an unicode string whose (inside XML) encoding is utf-8. This inconsistency raises in xml library thus it is safer to convert back to utf-8 which is the intended encoding anyway.
-
Arnaud Fontaine authored
After upgrading bt5s, portal_sms may still ERP5BaseBroken until restarting Zope.
-
Arnaud Fontaine authored
ZODB Components: Allow migration of {Interface,Mixin,Module,Tool} from Business Template UI and on all Products (not only Products.ERP5). This introduces the following new ZODB Components: + Module Component: Non-Documents/non-persistent classes of modules usually found at the top-level of Products (eg Products.ERP5.XXX) on FS. Considering that all other Components types are actually Modules, make it the base class. + Tool Component: Tool directory of Products on FS (eg Products.ERP5.Tool.XXX). => DiffTool and CallableTool are now 'Tool Component' instead of plain 'Document Component' and properly registered as Tools like FS Products Tool. Skip CMFActivity and HBTreeFolder2 Products for now in migration View for now as almost many Portal Type classes have ActiveObject or HBTreeFolder2 in their MRO and these Products will be done at the end anyway...
-
Roque authored
-
Roque authored
-
Roque authored
-
- 08 Oct, 2019 4 commits
-
-
Jérome Perrin authored
-
Julien Muchembled authored
This often divides the size by ~3, and also memory usage if it is loaded again.
-
Klaus Wölfel authored
-
Jérome Perrin authored
See nexedi/slapos.core@42b55b5f
-
- 07 Oct, 2019 7 commits
-
-
Bryton Lacquement authored
-
Romain Courteaud authored
-
Georgios Dagkakis authored
Classes to hide the header or the footer of a Listbox in new render-js and the header in xhtml (since there we have nothing in the footer anyway) /reviewed-on nexedi/erp5!947
-
Julien Muchembled authored
/reviewed-on nexedi/erp5!934
-
Sebastien Robin authored
-
Georgios Dagkakis authored
-
Georgios Dagkakis authored
-
- 05 Oct, 2019 2 commits