- 04 Aug, 2020 3 commits
-
-
Jérome Perrin authored
Since 248f59e5 (Business Template: Likewise ERP5Site.addERP5Tool(), do not re-create Tool if it already exists., 2020-06-22) we no longer update tools, because of the problem that business template does not currently handle updating objects with lots of sub-objects. But we realized that we really need to update tools when they contain configuration as object attributes, like mimetypes_registry where the problem was observed. Instead of unconditionnally skipping any tool during update, we skip only portal_simulation, because we know that it will contain lots of applied rules and portal_preferences, because we know it contain user preferences. Other candidates were: - portal_trash/portal_templates: contain lots of documents, proportional to the number of business template updates, but is not managed in business template (for bootstrap issues) - portal_activities: contain a lot of active processes, but is not managed in business template
-
Jérome Perrin authored
See merge request nexedi/erp5!1220
-
Jérome Perrin authored
Install more business templates such as erp5_web or erp5_dms, to confirm that we can also update these business templates. Run the tests with "full indexing", to be more realistic and to be sure that we don't hide problem that would happen when reindexing action definitions or property sheets. See merge request nexedi/erp5!1228
-
- 03 Aug, 2020 9 commits
-
-
Romain Courteaud authored
See nexedi/erp5@981f2e61
-
Romain Courteaud authored
-
Jérome Perrin authored
In a real ERP5 actions, roles etc are all indexed, so it's more realistic to simulate update with full indexing.
-
Romain Courteaud authored
-
Jérome Perrin authored
We are using html2canvas to render the page in a canvas element, but because the canvas element was created in the selenium runner frame (and not the tested frame), if some extra css fonts were loaded in the custom page they did not apply. To make the snapshot use proper fonts, we create the canvas in the tested page.
-
Jérome Perrin authored
Selenium asynchronicity does not use Promise, but calls function while it returns true, we were implementing this logic in two places and implementing wrongly because some case of errors where not reported. Introduce a wrapper that makes turns Promise into a function returning a boolean like selenium is using and use it in setFile and verifyImageMatchSnapshot commands Also a bit more of jsdoc comments for typescript.
-
Jérome Perrin authored
-
Jérome Perrin authored
This can help debugging test failures on test nodes
-
Jérome Perrin authored
-
- 31 Jul, 2020 8 commits
-
-
Arnaud Fontaine authored
-
Arnaud Fontaine authored
-
Arnaud Fontaine authored
-
Arnaud Fontaine authored
-
Arnaud Fontaine authored
ERP5: Remove Capacity/GLPK: never used and broken since glpk Python module is not in ERP5 Software Release neither.
-
Arnaud Fontaine authored
-
Arnaud Fontaine authored
-
Arnaud Fontaine authored
* Properly override WebSite Document in erp5_web_shadir by creating a new version_priority. * Keep Web{Section,Site}TraversalHook in Product/ERP5/Document as these are not ERP5 objects. Also, add `kept_for_backward_compatibility_only` to importLocalDocument() to handle pattern where the Document class has been migrated but some code remains. * Move WebSection_get*PrecacheManifestList Python Script from bt5 not depending on erp5_web to erp5_web_renderjs as this is required by CodingStyleTest (WebSection being now in erp5_web).
-
- 29 Jul, 2020 5 commits
-
-
Julien Muchembled authored
When a first migration was reverted for any reason (e.g. ConflictError), the assertion failed because __setstate__ was not called yet to fix the class back to the old one.
-
Kazuhiko Shiozaki authored
-
Kazuhiko Shiozaki authored
-
Jérome Perrin authored
See merge request nexedi/erp5!1212
-
Vincent Pelletier authored
Fixes Active Process' "hasActivity" method when that document's uid is >2**32.
-
- 28 Jul, 2020 1 commit
-
-
Gabriel Monnerat authored
erp5_officejs_support_request_ui: Add begin date to the query when user click on "Last Month Activity" The filter when the user click on the "Last Month Activity" chart filter Support Request only by status (Submitted / Open / Suspended / Closed). So on the table "Recent updates", all the support request with the chosen status appear. There is no filter by "Begin Date" for the last 30 days, which is no coherent with the "Last Month Activity". => It should appear only the support request with the chosen status with a begin date < D - 30 days
-
- 24 Jul, 2020 1 commit
-
-
Kazuhiko Shiozaki authored
-
- 23 Jul, 2020 3 commits
-
-
Xiaowu Zhang authored
See merge request nexedi/erp5!1214
-
Xiaowu Zhang authored
See merge request nexedi/erp5!1216
-
Xiaowu Zhang authored
-
- 22 Jul, 2020 7 commits
-
-
Lu Xu authored
-
Jérome Perrin authored
-
Jérome Perrin authored
-
Jérome Perrin authored
Base_viewDict does not produce valid html, showing the dict using showDict is enough
-
Jérome Perrin authored
- use html5 doctype - don't use i18n: tags where they are not processed - use class instead of id for elements that are repeated - remove Content-*-Type meta that are reported as invalid by nvu
-
Jérome Perrin authored
this class does nothing and does not seem used
-
Jérome Perrin authored
-
- 21 Jul, 2020 3 commits
-
-
Arnaud Fontaine authored
-
Arnaud Fontaine authored
-
Arnaud Fontaine authored
-