- 14 Apr, 2020 1 commit
-
-
Jérome Perrin authored
tables() method of ZMySQLDA returns also views, which are not deleted with DROP TABLE but with DROP VIEW instruction.
-
- 13 Apr, 2020 6 commits
-
-
Jérome Perrin authored
This is a dependency of erp5_credential, it should be installed in the test. This fixes a test failure, portal_notification.sendNotification(store_as_event=True) is now an error when erp5_crm is not installed.
-
Jérome Perrin authored
Add some features to restricted python and fix problems revealed by running Zope's test suites. # Bug fixes - Disallow access to old style classes without security declarations. This is not allowed in vanilla zope, but we allowed this accidentally about two years ago. This branch includes some fixes for cases where we accessed not protected classes in a way that should not have been allowed - ERP5 test suite pass, but there might be more cases in code not covered by ERP5 test suite. - Fix iterating on `reversed(iterable)` which was unauthorized, maybe since python 2.7 - Disallow new style classes in container access (iteration, `{}.get` etc). Only classes had this problem, not instances, so this probably has no impact for us, but it allows running AccessControl test suite. - Disallow attribute names ending in `__roles__` in class name. This probably does not impact us either, but also for AccessControl tests suite. # New features - Allow iterating on a generator. It's still not possible to use `yield` statement in restricted python, but iterating is now possible - Allow `cStringIO.StringIO("initial value")`, only `cStringIO.StringIO()` was allowed - Enable `collections.namedtuple` and add a few tests for other members of `collections` ( not `collections.deque` because we never used it so far ) See merge request !1090
-
Jérome Perrin authored
This uses the new "only ERP5JS" actions to enable components editor in ERP5JS, so that we can edit components on ERP5JS . This does not change anything in the old UI (erp5_xhml_style), where the editor field will still be used. See merge request !982
-
Jérome Perrin authored
This test loads a reference Data.fs, but we don't want to connect to the mysql referenced in the mariadb, because it might be used by another test node. Before the beginning of the test, rewrite the connection string to the one this test node is using. This relies on an updated dump produced in nexedi/erp5-bin@8310e4e4 See merge request !1098
-
Jérome Perrin authored
Allow to set more categories (funding and function) Allow to configure a script to "unset" categories, to address this issue that sometimes we do not want to keep categories from input movements. ![image](/uploads/d2676cc15d5a85c33dc66df2138d57eb/image.png) See merge request !1082
-
Jérome Perrin authored
`erp5_authentication_policy` can be configured to automatically create `Credential Recovery` for user once login expire. This was no longer working since we switched to `ERP5 Login`, `Credential Recovery` ticket was created with a relation to `ERP5 Login`, but it should be related to the `Person`. See merge request !1096
-
- 10 Apr, 2020 4 commits
-
-
Arnaud Fontaine authored
-
Xiaowu Zhang authored
This is the loyalty programme for commerce. Idea is to use modelled trade model lines, at least three lines are needed: + One trade model line to define how to collect loyalty point + One trade model line to define how to use loyalty point + One trade model line for discount + ..... New loyalty transaction is added to record loyalty point. See merge request !1078
-
Jérome Perrin authored
This test loads a reference Data.fs, but we don't want to connect to the mysql referenced in the mariadb, because it might be used by another test node. Before the beginning of the test, rewrite the connection string to the one this test node is using.
-
Yusei Tahara authored
testERP5Simulation: Improve test_02_splitAndDeferAfterAcceptDecision. After SplitAndDefer, expand the root applied rule and make sure that two SPLs are not diverged.
-
- 08 Apr, 2020 12 commits
-
-
Jérome Perrin authored
using the solution from https://stackoverflow.com/a/45753938 and also a rule to disable body margin from user agent stylesheet, in chrome there's a 8px margin.
-
Jérome Perrin authored
Some new components were introduced, but that list was not updated
-
Jérome Perrin authored
-
Xiaowu Zhang authored
-
Arnaud Fontaine authored
Tool/ContributionOpener: Moved its content (DirectoryFileHandler class) to ContributionTool as this is not a Tool. As this is only used in ContributionTool, it does not seem necessary to create a separate module for that. Also: * Fix undefined variable `splitport`. * Use cStringIO instead of StringIO (as the rest of ContributionTool code does).
-
Arnaud Fontaine authored
-
Jérome Perrin authored
-
Jérome Perrin authored
-
Jérome Perrin authored
This allows editing components in ERP5JS, while keeping the same behavior in erp5_xhtml_style
-
Jérome Perrin authored
-
Arnaud Fontaine authored
erp5_demo_maxma_rule: Add depend on erp5_accounting as it uses AccountingTransactionRootSimulationRule Document migrated from FS (a0c2b666). This fixes CodingStyleTest tests.
-
Arnaud Fontaine authored
erp5_simulation: Move Solver-related Python Scripts not used in erp5_base to erp5_simulation (a7d6edba). This fixes test_SkinCodingStyle for erp5_base: 'Wrong prefix Solver for python script Solver_getDefaultConfiguration...' as a result of ISolver migration from filesystem).
-
- 07 Apr, 2020 17 commits
-
-
Xiaowu Zhang authored
Idea is to use modelled trade model lines, at least three lines are needed: one trade model line to define how to collect loyalty point one trade model line to define how to use loyalty point one trade model line for discount&coupon New loyalty transaction is added to record loyalty point.
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
Allow user to reuse the same cropper area in a session.
-
Romain Courteaud authored
It is unexpected that the scanner device is untouched between multiple scan sessions.
-
Romain Courteaud authored
Limit the media height. Patch cropperjs to force it rendering when resizing the window.
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
Use the GPU to speed up the image manipulation process.
-
Romain Courteaud authored
-
Romain Courteaud authored
-