- 26 Jun, 2019 1 commit
-
-
Jérome Perrin authored
We want to search for what user entered, if we strip whitespaces we would not match trailing or leading spaces
-
- 25 Jun, 2019 1 commit
-
-
Jérome Perrin authored
This will apply to newly created relation fields.
-
- 24 Jun, 2019 1 commit
-
-
Georgios Dagkakis authored
Since BankAccount_view already has a my_comment field
-
- 22 Jun, 2019 1 commit
-
-
Bryton Lacquement authored
Example for erp5_web_renderjs_ui_test:testFunctionalRJSRelationField, which was failing randomly (fixed in ca229c3e): ====================================================================== FAIL: testFunctionalTestRunner (erp5.component.test.erp5_version.testFunctionalRJSRelationField.TestRenderJSUIRelationField) ---------------------------------------------------------------------- Traceback (most recent call last): File ".../product/ERP5Type/tests/ERP5TypeFunctionalTestCase.py", line 372, in testFunctionalTestRunner self.fail('\n'.join(error)) AssertionError: These messages are pending: [('/erp5_portal_faeed2c6ad773e8de11c3b643708ad55/portal_catalog', 'unindexObject', -1, 0), ('/erp5_portal_faeed2c6ad773e8de11c3b643708ad55/foo_module', 'immediateReindexObject', -1, 0), ('/erp5_portal_faeed2c6ad773e8de11c3b643708ad55/bar_module', 'immediateReindexObject', -1, 0), ('/erp5_portal_faeed2c6ad773e8de11c3b643708ad55/foo_bar_module', 'immediateReindexObject', -1, 0), ('/erp5_portal_faeed2c6ad773e8de11c3b643708ad55/portal_preferences/erp5_ui_test_preference', 'immediateReindexObject', -1, 0), ('/erp5_portal_faeed2c6ad773e8de11c3b643708ad55/foo_module/2', 'immediateReindexObject', -1, 0), ('/erp5_portal_faeed2c6ad773e8de11c3b643708ad55/foo_module/2', 'immediateReindexObject', -1, 0), ('/erp5_portal_faeed2c6ad773e8de11c3b643708ad55/foo_module/3', 'immediateReindexObject', -1, 0), ('/erp5_portal_faeed2c6ad773e8de11c3b643708ad55/foo_module', 'immediateReindexObject', -2, 1), ('/erp5_portal_faeed2c6ad773e8de11c3b643708ad55/bar_module', 'immediateReindexObject', -2, 1), ('/erp5_portal_faeed2c6ad773e8de11c3b643708ad55/foo_bar_module', 'immediateReindexObject', -2, 1), ('/erp5_portal_faeed2c6ad773e8de11c3b643708ad55/portal_preferences/erp5_ui_test_preference', 'immediateReindexObject', -2, 1)] Last error message: RuntimeError tic is looping forever. Traceback (innermost last): Module ZPublisher.Publish, line 138, in publish request, bind=1) Module ZPublisher.mapply, line 77, in mapply if debug is not None: return debug(object,args,context) Module ZPublisher.Publish, line 48, in call_object result=apply(object,args) # Type s<cr> to step into published object. Module Products.ERP5Type.patches.ExternalMethod, line 113, in __call__ return _f[0](self.aq_parent, *args, **kw) Module erp5.component.extension.erp5_version.ERP5Zuite, line 21, in waitForActivities raise RuntimeError('tic is looping forever.') RuntimeError: tic is looping forever. testAccessUnauthorizedRelationValue testBreadcrumbCanNotAccessRelationSearchPage testMultiRelationDefaultSortAndParameterList testMultiRelationFieldEmptySearchWithListbox testMultiRelationFieldHomonyms testMultiRelationFieldSearchWithListbox testMultiRelationFieldSearchWithProxyListbox testMultiRelationFieldUnknownIcon testMultiRelationFieldWithNonSavedPageContent testProxyListBox testRelationDefaultSortAndParameterList testRelationFieldEmptySearchWithListbox testRelationFieldRefresh testRelationFieldSearchWithListbox testRelationFieldWithNonSavedPageContent testSimpleMultiRelationField ---------------------------------------------------------------------- Ran 1 test in 199.267s
-
- 21 Jun, 2019 11 commits
-
-
Romain Courteaud authored
-
Romain Courteaud authored
Ensure permission removal is done after the indexation
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
Stop using the update action as the default action.
-
Romain Courteaud authored
[erp5_base] Allow Manager to solve the divergency Pass the transition ID as the other workflow actions [erp5_simulation] Prevent duplicated keep_items Fix request value modifications Do not mark fields as required The RJS field marks it as required, and user can't submit anymore. Instead, use an external validator to only require the field when the user submit
-
Romain Courteaud authored
clicked on the update button
-
Romain Courteaud authored
Do not crash if the form can not be fetched. Formbox context can be a listbox cell.
-
- 20 Jun, 2019 1 commit
-
-
Vincent Pelletier authored
These are very outdated stuff (pre-Business Templates), they do not scale and (except ImportExportSkins) try to write to a paths which should not exist.
-
- 18 Jun, 2019 1 commit
-
-
Vincent Pelletier authored
-
- 17 Jun, 2019 2 commits
-
-
Jérome Perrin authored
Especially in chrome (75), it's very hard to see selected text in erp5 xhtml style interface, especially in listboxs. Chrome adds a background color to selected text, but this background is almost same color as ERP5 background. This uses https://developer.mozilla.org/en-US/docs/Web/CSS/::selection to make it visually clear what is selected. /reviewed-on nexedi/erp5!889
-
Jérome Perrin authored
https://microsoft.github.io/monaco-editor/ as an ERP5 source code editor. /reviewed-on !687
-
- 13 Jun, 2019 1 commit
-
-
Sebastien Robin authored
-
- 12 Jun, 2019 2 commits
-
-
Vincent Pelletier authored
Simplifies activity spawning when dependencies are conditionally set: activate( after_tag=some_value if some_condition else None, ) instead of having to do a ** dance. All columns involved in dependency checking are declared NOT NULL, so providing "None" and expecting a dependency to happen was already not working. This change pushes this one step further by allowing activity auto-validation also happen on these activities. Also, simplify getOrderValidationText: avoid iterating on keys and then retrieving values, use a list-comprehension, simplify condition. Add a test for after_tag, also covering activity auto-validation.
-
Arnaud Fontaine authored
Unit Tests: login*() with a non-ERP5TypeTestCase user was adding ERP5TypeTestCase user anyway and failure was silently ignored.
-
- 11 Jun, 2019 2 commits
-
-
Romain Courteaud authored
-
Romain Courteaud authored
checkValidity calls getContent, which uses the same mutex
-
- 10 Jun, 2019 1 commit
-
-
Tristan Cavelier authored
-
- 07 Jun, 2019 8 commits
-
-
Romain Courteaud authored
-
Romain Courteaud authored
Improve the query speed by using the default listbox sort.
-
Nicolas Wavrant authored
-
Nicolas Wavrant authored
-
Romain Courteaud authored
OfficeJS's user blocking third party cookie will at least stop entering their credentials many times for nothing
-
Romain Courteaud authored
Followup of nexedi/erp5@340accd1
-
Romain Courteaud authored
-
Vincent Pelletier authored
-
- 06 Jun, 2019 7 commits
-
-
Valentin Benozillo authored
Conflicts: bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_nojqm_css.xml
-
Jérome Perrin authored
In ERP5 software release we now have `mock` egg installed, so we can use it in tests instead of doing manually like this: ```python saved_method = Class.method def patched_method(): ... try: Class.method = patched_method ... finally: Class.method = saved_method ``` /reviewed-on !882
-
Romain Courteaud authored
-
Romain Courteaud authored
Change the caching policy to one hour. Use the CDN to publish the page if the backend is down Cache the manifest like the HTML page but force refreshing the manifest to prevent CDN cache inconsistency.
-
Romain Courteaud authored
Defining it inside portal_components ledds to business template update issue. Bypass it by defining the expected behaviour into the web section hook.
-
Romain Courteaud authored
Allow the CDN to cache the content. Use stale_if_error to allow the CDN to return content if backend is down Unify Vary Header.
-
Xiaowu Zhang authored
-