- 07 Jul, 2020 23 commits
-
-
Jérome Perrin authored
This is required to be able to use solve divergence action
-
Jérome Perrin authored
-
Jérome Perrin authored
-
Jérome Perrin authored
-
Jérome Perrin authored
-
Jérome Perrin authored
-
Jérome Perrin authored
-
Jérome Perrin authored
-
Jérome Perrin authored
When using checkPythonSourceCode integrated in the source code editor, for a scenario where developer edit a component and save we can benefit from caching the check message for the source code content, because the same check that the one happening in the editor will happen when the component is saved. This cache varies on: - "component_packages" cache cookie which is reset every time some component code is edited. - zope startup time to take into account editions of file system code. This assumes that after reseting file system code zope will be restarted. - portal_type, because the checks performed by this function also depend on portal type.
-
Jérome Perrin authored
-
Jérome Perrin authored
-
Jérome Perrin authored
this makes completions works when using Ctrl+space
-
Jérome Perrin authored
This makes "Format Document" / "Format Selection" work.
-
Jérome Perrin authored
because pylint is a bit slow on large components, debounce every 2 seconds. TODO: this is too slow.
-
Jérome Perrin authored
For now this is just the portal_url, but I'm thinking it could be a proper tool.
-
Jérome Perrin authored
-
Jérome Perrin authored
IIRC the only thing needed is that ERP5TypeTestCase.getPortal is an ERP5Site
-
Jérome Perrin authored
-
Jérome Perrin authored
on very large python files (>1000 lines) sometimes they queue up and we have to wait for all requests that were queued by zope. XXX maybe this does not happen when accessing through haproxy/apache, I am observing this when hitting zope directly
-
Jérome Perrin authored
because title is acquire from id, we want to edit title first for the case where we change ID, otherwise saving would save the old ID as title.
-
Jérome Perrin authored
* don't set "hide rows on no search criterion", this should not display too much and search is broken. * use preference to get number of lines
-
Jérome Perrin authored
This can hide bugs, especially when updating business templates. TODO: if we drop this we can also drop the command line flag
-
Arnaud Fontaine authored
Until now, a reset was performed even though ZODB Components were not created or replaced. Introduce a new installation hook to avoid those useless resets. When installing bootstrap bt5s, erp5_base, erp5_simulation: 33 => 12 resets.
-
- 06 Jul, 2020 8 commits
-
-
Romain Courteaud authored
Improve consistency with document view
-
Romain Courteaud authored
-
Arnaud Fontaine authored
-
Jérome Perrin authored
The changes from nexedi/erp5!1158 were not so good in ERP5JS, it was good to have the action here: ![stock browser dialog showing Stock as a view action](/uploads/0e9495858295016926da484b6c5fa68f/image.png) and not under "Exports", because this is not an export, it's an interactive report. Also, the "Stock" button is not easy to understand, this is not an action, so we use only an update button now: ![stock browser dialog with only an update action, no action](/uploads/71f40b3e2e951f3c95f7ff885dd91090/image.png) Also, the action button in movement history was confusing, it's not a button where user have to click. It was like this, with a confusing button (but this button was sometimes useful, because with this button we can go back to stock browser): ![movement history before](/uploads/75450d7fbfe1f208ca17e14b22059b38/image.png) Now it's like this, the button is not here, but since the action is now listed in Views, it's easy to go back to stock browser: ![movement history after](/uploads/d66d28f1fc66b69b84baba6d88574afc/image.png) See merge request nexedi/erp5!1179
-
Jérome Perrin authored
Since 5eb06085 (erp5_web_renderjs_ui: do not display submit and cancel if action is empty in form_dialog., 2020-06-10) ERP5JS does not display submit button, this continues in this direction to: - Apply the same possibility in xhtml_style to not show a submit button when there's no action. In xhtml_style we show the cancel button using the same rules as everywhere else. - Fix error in ERP5JS for dialogs with only an update action but no action. See merge request nexedi/erp5!1181
-
Jérome Perrin authored
Change login button to comply with Google's branding guidelines. Add support for google login in ERP5JS. See merge request nexedi/erp5!1166
-
Jérome Perrin authored
See merge request nexedi/erp5!1171
-
Jérome Perrin authored
There's nothing wrong in having more than one listbox in a dialog
-
- 03 Jul, 2020 9 commits
-
-
Jérome Perrin authored
The initial intention was to "disallow invalidated", without forcing users to validate everything, but it was probably a mistake, if users don't need to validate then validation workflow would be a bit meaningless. This is made after an incident where a user mistakenly cloned a validated currency and the cloned currency was available everywhere in the system. Change to not return draft currencies by default and also change so that all items are tuple, for consistency. That should have no impact and is a bit easier for the test. Also adjust accounting_ui_test, we need to validate currencies for the tests and clear cache if we validated some (but we don't need to clear cache if we validate accounts, because account caches is more clever and does not need to clear all cache)
-
Jérome Perrin authored
-
Jérome Perrin authored
also, we don't send passwords by email
-
Jérome Perrin authored
Since the workflow is linear, make sure the states and transitions are sorted in the listboxs in same order as workflow, this makes re-configuring the workflow a bit easier.
-
Jérome Perrin authored
The views for States and Transitions have an `int_index` field, but the property sheet was missing.
-
Jérome Perrin authored
The term is "Region", not "Country"
-
Jérome Perrin authored
Unused aq_base imported from Acquisition (unused-import)
-
Rafael Monnerat authored
See merge request nexedi/erp5!1176
-
Arnaud Fontaine authored
WebDAVSupport module was migrated to ZODB Components in 21becf4c. This module contains a monkey patch (5c7d50d5) on webdav.NullResource.PUT which should really be in Products.ERP5Type.patches and was not applied anymore since the migration.
-