- 27 May, 2020 1 commit
-
-
Arnaud Fontaine authored
-
- 25 May, 2020 6 commits
-
-
Vincent Pelletier authored
Receiving name & password parameters does not prevent us from also receiving the authentication cookie. It must not be kept in the request. And likewise for requests also containing an HTTP authentication header. And likewise for requests for which CookieCrumbler disables itself on.
-
Vincent Pelletier authored
The reason why root document is being used as serialization_tag is to cover document which get recursively reindexed: such indexation activity would not be able to be validated against all the the serializatio_tag of documents it will process. But here, fulltext indexations are all spawned per-document anyway, so we can use such per-document values.
-
Vincent Pelletier authored
-
Vincent Pelletier authored
-
Vincent Pelletier authored
-
Vincent Pelletier authored
Spawn fulltext indexation activity with the same priority as the top-priority activity part of current activity group. And expose the priority of current activity (top-priority for grouped activities). Ideally, the priority of each spawned activity should be the top-priority of all activities member of this activity group for corresponding document. But there is no obvious way to achieve that through indexation API without increasing complexity significantly.
-
- 22 May, 2020 3 commits
-
-
Jérome Perrin authored
-
Jérome Perrin authored
plus a few python3 fixes for problem that appeared now that we have more test coverage See merge request !1128
-
Jérome Perrin authored
and a few cleanups in test suite See merge request !1126
-
- 21 May, 2020 1 commit
-
-
Jérome Perrin authored
This removes some logs happening a lot during tests, when installing business templates or indexing documents. See merge request !1105
-
- 19 May, 2020 5 commits
-
-
Jérome Perrin authored
-
Jérome Perrin authored
-
Jérome Perrin authored
-
Jérome Perrin authored
Updater was using this command to find the latest revision modifying a path: git log -1 -- $PATH but because of git log's history simplificiation [1] when the head of the branch is a merge commit, the considered revision was not the merge commit but its parent. Use --full-history so that git does not simplify history and return the merge commit if the latest commit is a merge. [1]: https://git-scm.com/docs/git-log#_history_simplification See also https://stackoverflow.com/a/50724301/7607763
-
Jérome Perrin authored
instead of randomly truncating the existing file, which sometimes does not cause an invalid index, create an invalid index from scratch. I used this blog post https://mincong.io/2018/04/28/git-index/#2-inside-gitindex for a description of the index format.
-
- 18 May, 2020 1 commit
-
-
Romain Courteaud authored
-
- 15 May, 2020 4 commits
-
-
Xiaowu Zhang authored
See merge request !1123
-
Jérome Perrin authored
These tests are calling runUnitTest twice, first to save then to run test. On the second run the directory is already created.
-
Nicolas Wavrant authored
Causing the browser time to be used instead of the calculated time of the server, which was incoherent with previous behavior (fix 5c4a03f6) Display the timezone (if the field is configured like that) in both editable and non-editable mode See merge request !1113
-
Jérome Perrin authored
Using the test class name was causing conflicts on some test classes. CodingStyleTest was a case, all test use CodingStyleTest class with an environment variable to control which business template is tested. In this case, we want one log directory for each business template. Introduce a getLogDirectoryPath method that's supposed to create and return the path of the directory to use for log and override this method for the special case of coding style test.
-
- 14 May, 2020 8 commits
-
-
Xiaowu Zhang authored
-
Xiaowu Zhang authored
-
Gabriel Monnerat authored
This test will guarantee that the issue of PyPdf2 overwrite warnings.showwarning method. By default, overwriteWarnings is True in PyPdf2 and we don't want change in many place in ERP5. Then, this issue should be fixed in PyPdf2 package.
-
Romain Courteaud authored
As header h* and link a use the same color, keep the underline to differenciate links See merge request !1120
-
Romain Courteaud authored
-
Jérome Perrin authored
Now that .spawn is called in tests, we can see that getSupportedParameterList needs to take into account that on python3 the program output is captured as bytes.
-
Jérome Perrin authored
These logs are public and the URL can include credentials. Fixes #20200514-E3304
-
Jérome Perrin authored
we don't want to patch spawn for all tests
-
- 13 May, 2020 5 commits
-
-
Romain Courteaud authored
Substitution mapping can be used on the web section default document to include a list of documents. The documents will match the web section predicates and a category defined on the web section layout configuration parameter. The substitution key will look like: ${basecategory[__parentcategory]__category}
-
Romain Courteaud authored
-
Nicolas Wavrant authored
IN non-editable mode the timezone was never shown even if the field was configured to display it.
-
Vincent Pelletier authored
To benefit from activity deduplication. This may also improve same-processing-node behaviour when SQLDict is crowded while SQLQueue is not, making these activities behaviour more consistent with non-fulltext catalog indexation activities.
-
- 12 May, 2020 6 commits
-
-
Xiaowu Zhang authored
fix also can't get parameter thought request for current url format
-
Roque authored
-
Roque authored
- web site modification date is used as etag value for caching purposes - add 304 response status support
-
Roque authored
-
Roque authored
- image editor - web table editor
-
Roque authored
- text editor - spreadsheet editor - presentation editor
-