- 02 Sep, 2020 40 commits
-
-
Rafael Monnerat authored
Only Person could include getFirstName and getLastName, so implement a fail-safe in case Login is inside a Computer or any other document.
-
Rafael Monnerat authored
-
Rafael Monnerat authored
The bug was already fixed on nexedi/erp5@e57dd4fb This change is for Production instances where corruption occured only.
-
Rafael Monnerat authored
Whenever used via activity nodes, it is not possible to discover IP of the server via portal absolute url.
-
Rafael Monnerat authored
If two open orders are validated on the same transaction, archivePrevious script will get the an already archived as catalog will be outdated.
-
Rafael Monnerat authored
This allow including more items to be ignored, preventing diffs from pure development.
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
Rafael Monnerat authored
This is required for multiple sites support and allow us write unit tests and not create a 100 lines mock.
-
Rafael Monnerat authored
This allow the administrator define which Login portal types are searched.
-
Rafael Monnerat authored
Prefer to use Login_checkExistence from this Skins over the version on erp5_base.
-
Rafael Monnerat authored
Also extend tests to cover recently changes
-
Rafael Monnerat authored
This is an alternetive way to login using Certificates. Probably this format will evolve into use caucase; however this only introduce some most basic features. Use Certificate Login for store login definitions Move test into the business template
-
Rafael Monnerat authored
Please squash me in future.
-
Rafael Monnerat authored
This optimisation aims reduce the potential activity leak when over launching accross multiple activities/transactions the updateSimulation. SubscriptionItem: Add a method to call updateSimulation from sqldict activities updateExpandableRootSimulation allow launch activities in a safer matter and have lower calls.
-
Rafael Monnerat authored
If the user wants actitivites, it should create multiples StandardBT5ConfiguratorItems, This should accellerate Tests based on ERP5Configurator. This should be recoded, but it should speed up bootstrap of a site, as get modified objects are not called.
-
Rafael Monnerat authored
It the user don't have fully permission on the object (already changed state), this set will fail to check if source should be defined.
-
Rafael Monnerat authored
Ignore list is usefull when you have old business templates in production (used to include data for example) and test business templates on test environment (ie;: erp5_test_ui_core). This allow us control the dump to assert changes easily.
-
Rafael Monnerat authored
1 minute is too agressive for general use.
-
Alain Takoudjou authored
The upgrade ordering seems buggy and requires to force reinstall it
-
Rafael Monnerat authored
This allow during a subscription process, create a user and them create all documents using that user w/o rely on proxy roles (keeping good ownership across the documents).
-
Rafael Monnerat authored
Without this (on slapos master ui) the redirection places value unquoted causing parser to fail later on when resolve {n.me}
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
Rafael Monnerat authored
The user can be present from diferent logins, password tool only works with ERP5LoginUserMager users.
-
Alain Takoudjou authored
-
Alain Takoudjou authored
Mixed commit: 43b1ae1b 2f05fe1b
-
Łukasz Nowak authored
Returning true allows to add movements to existing one, and this group shall always separate them.
-
Rafael Monnerat authored
-
Romain Courteaud authored
-
Łukasz Nowak authored
Note: Generic code shall have no constraints at all. Conflicts: bt5/erp5_accounting/bt/revision
-
Alain Takoudjou authored
If 2 lines have the same effective date (catalog has a 1 second precision), always return the validate and open first. Commit: 02d06501 Changes applied from history: http://git.erp5.org/gitweb/erp5.git/history/refs/heads/interaction-drop:/product/ERP5/Document/SubscriptionItem.py?js=1
-
Rafael Monnerat authored
Original commit from : Lukasz Nowak <luke@nexedi.com> 3e45ec35
-
Alain Takoudjou authored
From Lukasz Nowak: 1- Compensation is undesired. (51c8a250) Raise loudly with message. 2- Disallow any compensation. (3c74ed07) 3- Emit more informative log. (534b2e77)
-
Łukasz Nowak authored
Also minimise activity hurricane by calling expand directly. Open Orders are searched using indexation timestamp, which allows to see them in "windows", and does not repeat expand if not needed. Generate activities and allow to pass the tag. Use search and activate everywhere which will allow to walk through objects without killing the cluster even in case of really big documents. Avoid calling isDivergent which can take few minutes to finish. causality_state comes from well designed causality workflow, which informs enough about delivery state. Fetching causality_state property is extremely fast.
-
Rafael Monnerat authored
Notes: Do nothing on 'calculate' instead of disabling *_causality_interaction_workflow as these interaction workflows do not generate activities directly, and do work that can't be postponed. By contrast, 'calculate' transition of delivery_causality_workflow is modified so that no 'updateCausalityState' activity is created by default. This commit also update list of method_id which should not call calculate_causality
-
Romain Courteaud authored
Conflicts: bt5/erp5_crm/bt/revision
-
Romain Courteaud authored
-
Jérome Perrin authored
This reverts commit bc67c2c4. This is seem to stall testFunctionalAdvancedECommerce with this error: Module script, line 5, in Workflow_ensureUserId - <PythonScript at /erp5_portal_7f1517681f85de9695ca475d69c4d66f/portal_workflow/login_interaction_workflow/scripts/Workflow_ensureUserId> - Line 5 user = state_change['object'].getParentValue() Module AccessControl.ZopeGuards, line 87, in guarded_getitem if getSecurityManager().validate(object, object, None, v): Unauthorized: You are not allowed to access '2' in this context let's revert for now, we'll re-do this with more tests.
-
Romain Courteaud authored
New dependencies were added in 206a8e25
-