- 10 Sep, 2019 8 commits
-
-
Jérome Perrin authored
Optimize edit by calculating the set of restricted accessors only once at class generation instead of calculating it each call. Optimize edit by using the same technique to decide if getattr or guarded_getattr has to be used to get the property. TempBase had to be special-cased to keep compatibility with some existing usages of calling TempBase.edit(modification_date=...) where somewhere in CMF classes a protected setModificationDate exists. Instead of rewriting existing cases to use something lighter (why do we need TempBase anyway ?), we do minimal compatibility fix for TempBase only. Reuse the INFINITE_SET from matrix after moving it to a shared place, since this is also useful here.
-
Jérome Perrin authored
-
Jérome Perrin authored
-
Jérome Perrin authored
-
Jérome Perrin authored
- introduce protected property (ie. with a specific "read permission" / "write permission" ) on Foo - add a Foo_viewSecurity which displays this protected property
-
Jérome Perrin authored
Constraints are supposed to have a getReference and getConstraintType methods.
-
Jérome Perrin authored
for compatibility with Base.checkProperty.
-
Jérome Perrin authored
This introduce a `_getProperty` method that's not really part of public API, but could be called to get a property without security check. Because some classes were already using internally a _getProperty method for a different meaning, these methods have been renamed. This also re-enable parts of test_PropertySheetSecurityOnAccessors that are supposed to work (security is checked on accessors) and split what's currently not supposed to work (security on accessors does not work in the corner case of using the default read permission, 'Access contents information' as a write permission) to another expected failure test.
-
- 02 Sep, 2019 1 commit
-
-
Jérome Perrin authored
maybe a little to strict. I don't know how we can check that fields does not display value without checking the markup in a so low level way
-
- 16 Aug, 2019 5 commits
-
-
Yusei Tahara authored
-
Yusei Tahara authored
-
Yusei Tahara authored
-
Yusei Tahara authored
[erp5_ui_test_core, erp5_dms_ui_test, erp5_km_ui_test, erp5_configurator_standard_ui_test] setFile command does not need pause command now.
-
Yusei Tahara authored
-
- 15 Aug, 2019 7 commits
-
-
Yusei Tahara authored
-
Yusei Tahara authored
-
Yusei Tahara authored
[erp5_web_renderjs_ui] Show select column in view dialog if listbox's select column checkbox is checked.
-
Yusei Tahara authored
[erp5_configurator_standard_ui_test] Fix file uploading tests. Use setFile selenium command to avoid security error.
-
Yusei Tahara authored
-
Yusei Tahara authored
-
Yusei Tahara authored
-
- 13 Aug, 2019 4 commits
-
-
Rafael Monnerat authored
-
Julien Muchembled authored
-
Rafael Monnerat authored
-
Bryton Lacquement authored
31804f68 was merged too soon. /reviewed-on nexedi/erp5!913
-
- 09 Aug, 2019 8 commits
-
-
Bryton Lacquement authored
It was possible that the previous server socket did not have enough time to expire, which could cause an "Address already in use" exception.
-
Roque authored
url - corresponding test added
-
Roque authored
-
Roque authored
-
Roque authored
- improve OfficeJS applications by reducing the quantity of code to be written and reuse the ERP5 configuration (portal_type, actions, forms, etc.) instead to generate the app
-
Roque authored
-
Roque authored
-
Rafael Monnerat authored
-
- 08 Aug, 2019 3 commits
-
-
Rafael Monnerat authored
The API changed on the slap, this commit follow up the changes.
-
Nicolas Wavrant authored
-
Nicolas Wavrant authored
Which is useful when debugging tests
-
- 07 Aug, 2019 2 commits
-
-
Bryton Lacquement authored
-
Boxiang Sun authored
Some files in the Skin Folder was not deleted by mistake /reviewed-on nexedi/erp5!914
-
- 06 Aug, 2019 2 commits
-
-
Julien Muchembled authored
-
Romain Courteaud authored
-