- 02 Jul, 2024 2 commits
-
-
Vincent Pelletier authored
Committing serves two purposes: - obviously: it makes any transactional data change persistent - less obviously: it releases the database transactional snapshot taken by any previously issued query, allowing that snapshot and all snapshots after it to be also freed (ex: garbage collecting the data records that no other transaction can see) In the current state of the code flow, this does not change much: after this method returns the code flow should quickly hit a commit anyway, either in dequeueMessage or before handing control back to timerserver, thereby ending the Zope-initiated transaction. But this will not be true in a future version of the code.
-
Vincent Pelletier authored
dequeueMessage used to return False when something was done, and True otherwise. The only caller which uses that value then reverses it, causing a double-negative which makes the code confusing to read. Inverse the meaning of the return value, getting rid of this double- negation.
-
- 01 Jul, 2024 3 commits
-
-
Romain Courteaud authored
-
Jérome Perrin authored
-
- 28 Jun, 2024 1 commit
-
-
Jérome Perrin authored
from 705e0beb (AppliedRule._checkExpand: add parameters to filter objects + better reporting, 2024-06-17)
-
- 27 Jun, 2024 5 commits
-
-
Julien Muchembled authored
-
Roque authored
- prepare import_export page to use multiple slapos-master urls (not fully implemented yet) - update queries, views, forms and gadgets to include slapos-master-url - drop gadget_erp5_jio, use jio gadget - minor graph refactoring - drop obsolete gadgets - fix and extend sync redirect options
-
Roque authored
-
Roque authored
-
- 26 Jun, 2024 2 commits
-
-
Romain Courteaud authored
-
Romain Courteaud authored
-
- 25 Jun, 2024 2 commits
-
-
Romain Courteaud authored
-
Romain Courteaud authored
Trigger activeSense on an alarm after an object is indexed. The idea is to use this script in an interaction workflow to trigger the alarm. If called multiple times, try to reduce the number of alarm execution.
-
- 24 Jun, 2024 1 commit
-
-
Romain Courteaud authored
-
- 20 Jun, 2024 1 commit
-
-
Romain Courteaud authored
Prevent potential errors to be returned with 201 status
-
- 19 Jun, 2024 4 commits
-
-
Romain Courteaud authored
Follow nexedi/erp5@a659b01c
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
Same behaviour than File/Image
-
- 18 Jun, 2024 3 commits
-
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
It is needed if a module contains multiple object's portal types.
-
- 17 Jun, 2024 1 commit
-
- 11 Jun, 2024 2 commits
-
-
Kazuhiko Shiozaki authored
Fix po_import behavior in Python 2. Newer versions of polib accept only unicode strings in the `pofile` function (because they check if they start by the decoded version of the BOM). I changed the `data` that is passed to `pofile` to be a unicode string in Python 2 too. This seems to work locally in my old version of polib, so that at least the old behavior should be kept the same. Co-authored-by: Carlos Ramos Carreño <carlos.ramos@nexedi.com> Co-authored-by: Jérome Perrin <jerome@nexedi.com>
-
Jérome Perrin authored
See merge request nexedi/erp5!1953
-
- 09 Jun, 2024 2 commits
-
-
Jérome Perrin authored
-
Jérome Perrin authored
Because the librairies used here were never ported to python3. Notable changes: - ERP5Site_createGoogleUserToOAuth is dropped - internal API changed radically, so customizations made by overriding scripts are broken. - the core logic is now implemented in a connector class (still in portal_oauth for simplicity, but it would be simpler to move it to portal_web_services) No changes required in the google console, the redirect uri is still ERP5Site_receiveGoogleCallback
-
- 06 Jun, 2024 3 commits
-
-
Kazuhiko Shiozaki authored
-
Jérome Perrin authored
See merge request nexedi/erp5!1949
-
Jérome Perrin authored
-
- 05 Jun, 2024 6 commits
-
-
Jérome Perrin authored
-
Jérome Perrin authored
-
Jérome Perrin authored
to make sure test terminates in case of problems with webdav server
-
Jérome Perrin authored
When a test needs to login as manager again, the best way is to use ${manager_username} and ${manager_password} set in cookies before running tests. This is continuation of 445e8fa8 (ERP5TypeTestCase: rework default manager password generation, 2024-05-27)
-
Jérome Perrin authored
form_dialog was different from form_render (that is used in form_view and form_list) regarding the <legend> element for form groups: - the element was unconditionally present, unlike form_render where it is only displayed if non empty - the text was not translated
-
Titouan Soulard authored
-
- 04 Jun, 2024 2 commits
-
-
Georgios Dagkakis authored
See merge request nexedi/erp5!1950
-
Kazuhiko Shiozaki authored
-