- 30 Jan, 2025 2 commits
- 29 Jan, 2025 8 commits
-
-
Roque authored
-
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.
-
Jérome Perrin authored
This does not validate against the schema: Element 'ecriture': Missing child element(s). Expected is ( ligne ).
-
Jérome Perrin authored
-
Jérome Perrin authored
See merge request !2051
-
Titouan Soulard authored
-
Titouan Soulard authored
-
Titouan Soulard authored
As reported on the forum, using this function displays some weird characters when exporting, such as `!`. This is due to a double-escape, first by the `WebPage_viewAsBook` script, and second by Page Template without `structure` option. /cc @xiaowu.zhang /reviewed-by @jerome @Nicolas /reviewed-on !2023
-
- 27 Jan, 2025 2 commits
-
-
Rafael Monnerat authored
This aims to allow the admin know if there is or not an activity failure on ERP5. It outputs at most one entry if there is at least one activity failure, based on the standard sort, (which consider priority and date) and using uid as guid, if provides a stable output even if other activities fail later on (so we dont have a flickeing output). DateTime.earliestTime is used to refresh dates daily (leading to new entry on most of rss readers) and to not expose when the activity was created, This requires no authentication.
-
Rafael Monnerat authored
Create temp objects requires to be manage, so protect the method to raise a proper exception
-
- 26 Jan, 2025 4 commits
-
-
Jérome Perrin authored
-
Jérome Perrin authored
Simplified version which fails on the first error
-
Jérome Perrin authored
This was a regression from 9a7e3383 (Do not overwrite `output.write` in live tests., 2024-04-10), we missed that `output` was also passed to TestRunner to run the suite Now that we actually print on stderr, adjust the tests to verify it and also to not let the output from running a test in test be included in the test output, because it confuses the real test output parser.
-
Jérome Perrin authored
-
- 24 Jan, 2025 6 commits
-
-
Jérome Perrin authored
-
Jérome Perrin authored
We were applying str() to PData or bytes, resulting on broken image inserted, something like "b'PNG'" instead of the expected "PNG"
-
Jérome Perrin authored
This was not correct on python3
-
Jérome Perrin authored
-
Jérome Perrin authored
from 031408c6 (erp5_full_text_mroonga_catalog: defer fulltext index and unindex using dedicated catalog keys., 2025-01-13) Co-Authored-by: Kazuhiko SHIOZAKI <kazuhiko@nexedi.com>
-
Jérome Perrin authored
when fixing coding style in 0b8b8475 (administration,core: wrong location when reporting pylint errors, 2024-05-25) it became wrong here.
-
- 23 Jan, 2025 1 commit
-
-
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 4 commits
-
-
Xiaowu Zhang authored
See merge request !2042
-
Kazuhiko Shiozaki authored
See merge request !2043
-
Kazuhiko Shiozaki authored
-
Kazuhiko Shiozaki authored
-