- 01 Mar, 2024 1 commit
-
-
Nicolas Wavrant authored
I investigated a case where activities calling an external API were not retried after the initial failure, when it was caused by TimeoutReachedError: https://lab.nexedi.com/nexedi/erp5/-/blob/f41b33cd91348a800db3b95b30efd857f583bcde/bt5/erp5_web_service/MixinTemplateItem/portal_components/mixin.erp5.RESTAPIClientConnectorMixin.py#L142 The interesting thing is that these activities are written in a way that allow them to be retried (automatically, or manually) without causing un-intended side effects, like creating twice a document in the external API. So not having SQLBase retrying them automatically is a pity. The bug is that the use of TimeoutReachedError here was intended only for the activities that are aborted by CMFActivity itself, and not for the userland code that can also use TimeoutReachedError. This commit removes this special processing, as there is no need to especially not retry the activities that trigger the CMFActivity timeout. The max_retry decision should be taken by the calling code, and not by CMFActivity.
-
- 16 Feb, 2024 1 commit
-
-
Rafael Monnerat authored
See merge request nexedi/erp5!1875
-
- 15 Feb, 2024 1 commit
-
-
Kazuhiko Shiozaki authored
-
- 13 Feb, 2024 1 commit
-
-
Jérome Perrin authored
See merge request nexedi/erp5!1873
-
- 12 Feb, 2024 1 commit
-
-
Vincent Pelletier authored
This script has no reason to be an exception to user's title retrieval permissions. Non-ERP5 users do not have applicable access control, so handle those cases specifically. Such users may be: - since-deleted ERP5 users - coming from acl_users/zodb_users Use a generic placeholder when the user is not allowed to see a transition's actor.
-
- 09 Feb, 2024 7 commits
-
-
Jérome Perrin authored
This allows configuring what URLs can be ingested, by default, no URL can be ingested.
-
Jérome Perrin authored
-
Jérome Perrin authored
See merge request !1871
-
Jérome Perrin authored
This makes ERP5JS's datetime field behave same as python when using TALES expression for "date_only" and other less used field values.
-
Jérome Perrin authored
Co-authored-by: Romain Courteaud <romain@nexedi.com>
-
Jérome Perrin authored
- no more "false" string false - empty arrays are false "false" string evaluating as false allowed to use ?editable=false in the URL to force a page to render as non editable. This was probably used only in the tests. The support of this was moved to the form page gadget.
-
Jérome Perrin authored
-
- 08 Feb, 2024 3 commits
-
-
Rafael Monnerat authored
Include some symbols to allow this script to be more complaint with erp5_authentication_policy, and more common practices of password settings. I explicity didnt include string.ponctuation because it introduces some unusual charts that are not commonly found on passwords like brackets, braces, angle brackets...
-
Romain Courteaud authored
erp5_officejs_appstore_base: do not use deprecated script ERP5Site_getAuthenticatedMemberPersonValue
-
Romain Courteaud authored
Parameter `partial_text_match` added Fixup 84281a2a
-
- 07 Feb, 2024 1 commit
-
-
Jérome Perrin authored
-
- 06 Feb, 2024 5 commits
-
-
Jérome Perrin authored
-
Jérome Perrin authored
Correct the naming because this takes a zip file content as argument, so it expects bytes not string
-
Jérome Perrin authored
-
Jérome Perrin authored
-
Jérome Perrin authored
This improves readability when activity_kw, args or kw are big.
-
- 02 Feb, 2024 6 commits
-
-
Vincent Pelletier authored
Having a form which allows sending emails with arbitrary senders, recipients, and content, sent using the site's mail setup, is a recipe for sending spam and destroying one's mail system's reputation.
-
Valentin Benozillo authored
See merge request !1872
-
Valentin Benozillo authored
-
Valentin Benozillo authored
-
Valentin Benozillo authored
-
Valentin Benozillo authored
Should be kept enough abstract so it can be used to make any RESTAPI request
-
- 31 Jan, 2024 3 commits
-
-
Jérome Perrin authored
-
Jérome Perrin authored
Rename SQLCatalog_indexSyncMLDocumentList to ERP5Site_indexSyncMLDocumentList Rename SyncMLDocument_updateURLToCurrentSite to SyncMLSubscription_updateURLToCurrentSite Rename SyncML_searchFolder to SyncMLSubscription_searchFolder Rename SynchronizationTool_viewPointFixe to SynchronizationTool_viewPointFixeDialog
-
Jérome Perrin authored
-
- 25 Jan, 2024 10 commits
-
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
The purpose of this gadget is to display Event's texts as on a discussion forum.
-
Romain Courteaud authored
erp5_web_renderjs_ui: filter action panel to only show meaningful actions in the context of the web site
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
-