- 11 Aug, 2020 1 commit
-
-
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 only skip the ones that were initially managed by ERP5Generator and are moved to business templates.
-
- 10 Aug, 2020 2 commits
-
-
Xiaowu Zhang authored
See merge request nexedi/erp5!1233
-
Xiaowu Zhang authored
organisation logo is not accessible for anonymous
-
- 07 Aug, 2020 10 commits
-
-
Gabriel Monnerat authored
upload document and run all activities around this upload takes time, so we use a larger timeout
-
Gabriel Monnerat authored
erp5_officejs_support_request_ui_test: Add test to make sure we have all expected actions to access support request web site * Check if each portal_type has the expected view action * add test to cover all possible attachments in a Support Request
-
Gabriel Monnerat authored
erp5_officejs_support_request_ui: Simplify code to render the expected action to preview any attachement document
-
Gabriel Monnerat authored
-
Gabriel Monnerat authored
Hard coding to select action_object_view we will never use web site configuration. If we always get links from action_object_view, Support Request will always break if we change View Action Category on web site.
-
Gabriel Monnerat authored
Having a big "Generate RSS" button on the front page is strange, because the front page button are for common use cases that users are supposed to execute a lot. For example, makes sense to have a "Submit new Support Request" button, because users are using this app to submit support requests, but generating RSS is very exceptional action, so we wanted to remove it from the front page. Also, we changed: - change the generate_rss_link action in Support Request Module, to directly call SupportRequestModule_generateRSSLinkUrl.py instead of the form. - change SupportRequestModule_generateRSSLinkUrl to display the form at the end. - Use Base_renderForm like for erp5_crm - Put the RSS url in the REQUEST - change the gadget field configuration to use the value from the REQUEST (if not found, put None) - change the gadget implementation to display the URL in an html5 string field + a button
-
Roque authored
See merge request nexedi/erp5!1227
-
Romain Courteaud authored
Without it, it is not possible to upgrade instances since: nexedi/erp5@48c45fbd [test/upgradeOldDataFS] use UI callables Ensure the admin will able to trigger the upgrader
-
Xiaowu Zhang authored
erp5_corporate_identity_test: test pdfs are only used to store data then check converted image, so one pdf is enough
-
Xiaowu Zhang authored
-
- 06 Aug, 2020 8 commits
-
-
Roque authored
- test updated
-
Roque authored
-
Roque authored
-
Romain Courteaud authored
-
Romain Courteaud authored
Do not limit by default
-
Romain Courteaud authored
Querying the catalog does not limit the result by default.. See nexedi/erp5@241a87a1
-
Romain Courteaud authored
-
Romain Courteaud authored
-
- 05 Aug, 2020 4 commits
-
-
Jérome Perrin authored
what's wrong with this anyway
-
Arnaud Fontaine authored
-
Arnaud Fontaine authored
-
Arnaud Fontaine authored
-
- 04 Aug, 2020 4 commits
-
-
Rafael Monnerat authored
See merge request nexedi/erp5!1226
-
Jérome Perrin authored
When a request got retried after a conflict error, a: TypeError: getPublisherDeadlineValue() takes exactly 1 argument (0 given) was raised. Instead of adding a new test to cover this, run all tests from ZPublisher module (except a few which had suspicious errors). This actual error happened when running ZPublisher.tests.testPublish.testPublisher before the fix.
-
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 2 commits
-
-
Thomas Gambier authored
-
Arnaud Fontaine authored
-