- 29 Apr, 2022 4 commits
-
-
Rafael Monnerat authored
The portal_skins was choosen to store the images to use proper http cache.
-
Rafael Monnerat authored
It is really not required, so we follow up the same as google oauth.
-
Rafael Monnerat authored
See merge request nexedi/erp5!1607
-
Rafael Monnerat authored
See merge request !1608
-
- 28 Apr, 2022 1 commit
-
-
Vincent Pelletier authored
-
- 27 Apr, 2022 5 commits
-
-
Arnaud Fontaine authored
-
Arnaud Fontaine authored
-
Arnaud Fontaine authored
-
Vincent Pelletier authored
When spawning an activity, store the current security context's user in the Message object itself, so the activity security context can be re-created with the same security during activity execution. This allows a user to be modified (different groups, global roles, maybe removed altogether) after they spawned activities and before these activities could run. It also means that any temporary custom group or global role granted to that user (by a privilege elevation mechanism out of the scope of this change) will still be effective during the activity execution. This follows the principle that foo.activate(...).bar(...) should be equivalent to its "immediate execution" version foo.bar(...) by ensuring that the security context of the activity is the same as the one which was applied to the code which spawned that activity, independently of any intermediate configuration change - hence improving (deferred and fragmentary) transaction isolation. This also removes the need to look the user up, then looking up their assignments (and other documents involved in group computation), etc, saving the cost of these calls. Also, remove redundant user_name argument of Message.changeUser method.
-
Jérome Perrin authored
The action was removed in 6dce55b0 (dms: drop PDF thumbnail view, 2021-06-01) but some CSS declarations were not removed. Also remove some old commented out javascript that was referencing the old PDF preview
-
- 26 Apr, 2022 5 commits
-
-
Arnaud Fontaine authored
-
Jérome Perrin authored
When a validated component is edited, `mixin.component.RecordablePropertyMetaClass` records the `text_content` property. This recorded property will be cleared afterwards if no errors are found, but this causes differences in business template XML for each component the first time they are edited. This change is about removing the `_recorded_property_dict` when there are no property recorded, which leads to slightly smaller pickles (and business template XML, because they are also pickles). See merge request nexedi/erp5!1605
-
Jérome Perrin authored
-
Jérome Perrin authored
This makes smaller pickles
-
Jérome Perrin authored
-
- 25 Apr, 2022 5 commits
-
-
Rafael Monnerat authored
Since it isn't managed by ERP5 this login document should never be blocked or Expired from Authentication Policy perspective.
-
Rafael Monnerat authored
-
Romain Courteaud authored
More investigations are needed on jio side
-
Romain Courteaud authored
jio 3.45.0 fixed the issue
-
Romain Courteaud authored
-
- 22 Apr, 2022 7 commits
-
-
Romain Courteaud authored
-
Romain Courteaud authored
Proxy field rendering was improved by 25ad9ece
-
Thomas Gambier authored
-
Thomas Gambier authored
-
Jérome Perrin authored
-
Jérome Perrin authored
-
Jérome Perrin authored
erp5_core_test already depends on erp5_base, no need to have another organisation_module module. This was problematic because uninstalling erp5_core_test removes the organisation_module with everything inside.
-
- 21 Apr, 2022 3 commits
-
-
Thomas Gambier authored
since config['software_list'] is used several times, it must be a real list object and not a filter object See merge request nexedi/erp5!1602
-
Romain Courteaud authored
This will allow to propagate the CSP configuration on officejs.com
-
Arnaud Fontaine authored
Only ZEXP Export/Import is possible. These modules (namely OFS.XMLExportImport and Shared.DC.xml.*) were heavily monkey-patched anyway and are only used for BusinessTemplates. * ERP5Type/XMLExportImport.py => ERP5Type/XMLExportImport/__init__.py * OFS/XMLExportImport.py => ERP5Type/XMLExportImport/__init__.py * Shared/DC/xml/{xyap,ppml}.py => ERP5Type/XMLExportImport/{xyap,ppml}.py
-
- 18 Apr, 2022 1 commit
-
-
Jérome Perrin authored
See merge request !1589
-
- 15 Apr, 2022 9 commits
-
-
Jérome Perrin authored
Instead of doing what loading zope.conf does (which is different across zope versions), use the ZConfig configuration callback.
-
Jérome Perrin authored
-
Jérome Perrin authored
-
Jérome Perrin authored
The old name was Zuite_viewZeleniumTestLauncher which is an violation to erp5-Guideline.Form.Report.Dialog.Is.Postfixed.With.Dialog
-
Jérome Perrin authored
ErrorLog is not allowed prefix, this was flagged by coding style test, since the script is not used it's better to remove it
-
Jérome Perrin authored
We were installing erp5_upgrader with its test dependencies, so it was installing erp5_full_text_mroonga_catalog. We were also installing erp5_full_text_myisam_catalog, so we ended up with two full text business template installed (and the order of this installation was not deterministic). This was problematic, because we were installing all the test dependencies of erp5_upgrader, but we don't really need them here and one goal of CodingStyleTest is to install only the dependencies of tested business templates, as a way to verify that dependencies are correctly specified. This new approach hooks at another level, to install a full text business template only if the tested business template has a dependency to the virutal "erp5_full_text_catalog" bt, but no dependency to a concrete bt (which happens for example in erp5_base) and to install erp5_upgrader without its test dependencies. As a result, we also run without erp5_base unless it's an explicit dependency. This also reverts commit ab44309f ( full_text_myisam_catalog: skip coding style test) that is no longer needed with this new approach.
-
Jérome Perrin authored
Some other documents from erp5_core import RoundingModel, all this can not be in erp5_base
-
Jérome Perrin authored
-
Jérome Perrin authored
These forms use proxy fields from erp5_base, they can not be in erp5_core.
-