- 23 Jan, 2025 2 commits
-
-
Jérome Perrin authored
erp5_site_global_id was from the tiolive time, when we were using ERP5 with mariadb and memcached instances shared by many zope instances, this was used as a way to implement namespaces in memcached, to prevent conflicts such as two different zope using the same cache keys. Nowadays, we no longer share memcached, each ERP5 instance has its own memcached and this prefixing is no longer needed, but there is still one exception, when we run test using runTestSuite with --node_quantity higher than 1, we have multiple running test instances sharing the same mariadb and the same memcached. In that case, each test instance uses a different mariadb database, but the risk of conflict remain for memcached. To solve this, we introduce a prefix for keys, choosen randomly at test startup. This was more or less what the current implementation was trying to do, but we were setting erp5_site_global_id on the wrong object, so it was not working since 4889d523 (Define property's default value at class level., 2012-12-31). Also, this was only done at the level of SharedDict, but some APIs such as CacheTool or SessionTool use MemcachedDict directly. There was other problems that using the sql connection string encoded in base64 was a too long prefix, because memcached are limited in size. Also it was not preventing collisions when running tests on the same test node, each runUnitTest execution was still having pollution from the previous runUnitTest.
-
Kazuhiko Shiozaki authored
fixup! fixup! fixup! erp5_full_text_mroonga_catalog: defer fulltext index and unindex using dedicated catalog keys.
-
- 22 Jan, 2025 3 commits
-
-
Kazuhiko Shiozaki authored
-
Kazuhiko Shiozaki authored
-
Kazuhiko Shiozaki authored
fixup! fixup! erp5_full_text_mroonga_catalog: defer fulltext index and unindex using dedicated catalog keys.
-
- 21 Jan, 2025 1 commit
-
-
Léo-Paul Géneau authored
Add a Hateoas preference field to filter available actions through a custom script. See merge request !2039
-
- 20 Jan, 2025 6 commits
-
-
Kazuhiko Shiozaki authored
no need to wrap object list in case of deferred index, otherwise another security_uid can be issued.
-
Rafael Monnerat authored
-
Rafael Monnerat authored
Move tracking and submit URLs to proper settings using Link sub-object for store the values like in Payment Services when multiple urls are defined for a given service.
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
Kazuhiko Shiozaki authored
we should use a different grouped method id so that non-deferred and deferred activities will not be grouped at once.
-
- 17 Jan, 2025 2 commits
-
-
Kazuhiko Shiozaki authored
See merge request !2045
-
Kazuhiko Shiozaki authored
fixup! erp5_full_text_mroonga_catalog: defer fulltext index and unindex using dedicated catalog keys.
-
- 16 Jan, 2025 1 commit
-
-
Vincent Pelletier authored
-
- 15 Jan, 2025 5 commits
-
-
Xiaowu Zhang authored
See merge request nexedi/erp5!2042
-
Kazuhiko Shiozaki authored
See merge request nexedi/erp5!2043
-
Kazuhiko Shiozaki authored
-
Kazuhiko Shiozaki authored
-
Kazuhiko Shiozaki authored
-
- 14 Jan, 2025 2 commits
-
-
Xiaowu Zhang authored
actually it check objects in portal_skins and portal_workflow, you can extend it to check more
-
Kazuhiko Shiozaki authored
-
- 10 Jan, 2025 1 commit
-
-
Rafael Monnerat authored
Some GAP where removed (or missing), probably caused some bug while import from PDF.
-
- 09 Jan, 2025 5 commits
-
-
Titouan Soulard authored
The tests were broken after merge request nexedi/erp5!2035
-
Jérome Perrin authored
on python2, this sends an email with address like "Name <None>", on python3 this fails with an error like this: Module script, line 15, in Entity_sendEmail - <PythonScript at /portal_2664097758140587659/Entity_sendEmail used for /portal_2664097758140587659/person_module/20241227-13AB7> - Line 15 from_url = formataddr((sender.hasTitle() and sender.getTitle(), sender.getDefaultEmailText())) Module email.utils, line 92, in formataddr address.encode('ascii') better to fail early in such a case
-
Jérome Perrin authored
Base_renderForm was using request.set - which only sets in request.other, and this causes Base_renderForm to behaves differently from Base_redirect with forms looking explicitly in request.form, like for example listbox does before calling the list method. See merge request !2032
-
Jérome Perrin authored
-
Jérome Perrin authored
This was done by manually converting https://www.anc.gouv.fr/files/anc/files/1_Normes_fran%C3%A7aises/Plans%20comptables/Plan-de-comptes-PCG-2025.pdf to csv and importing it with CategoryTool_viewImportGapFileDialog [PCG2025.csv](/uploads/afb7eb0b386359f98dd5538bb24e81f3/PCG2025.csv) See merge request !2038
-
- 07 Jan, 2025 12 commits
-
-
Rafael Monnerat authored
- Missing init script: This script is declared on portal type, so we need a default value, even if we always overwrite it on sub projects. - Bad identation - Fixup proxy fields consistency - Prefer use assertIn instead assertTrue(a in b)
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
Rafael Monnerat authored
Fixup unused variable Listbox is an invalid suffix for python script, proper value is ListBox, this fixup coding style tests
-
Romain Courteaud authored
-
Titouan Soulard authored
Otherwise, a weird behaviour is observed with compound attributes (eg. `xmlns:inkscape`), where the second part of the attribute is replaced by `undefined`, giving a wrong SVG file when there are multiple attributes (duplicate attribute).
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
Otherwise, method draw enter an infinite loop if users selected some elements
-
Romain Courteaud authored
-
Romain Courteaud authored
-