- 21 Nov, 2018 2 commits
-
-
Jérome Perrin authored
test_duplicatePersonUserId was already cover by test_MultipleUsers
-
Jérome Perrin authored
This is just refactoring of moving existing tests and removing minor useless things.
-
- 20 Nov, 2018 1 commit
-
-
Jérome Perrin authored
fixes from user feedback /reviewed-on nexedi/erp5!800
-
- 19 Nov, 2018 2 commits
-
-
Jérome Perrin authored
Assorted fixes: * Fix performance problems on the dashboard graphs by optimizing `SupportRequest_getSupportRequestStatisticsAsJson` * Fix performance problems on RSS by applying a limit correctly * Fix rendering of RSS in some corner cases security configurations (with documents user cannot view) /reviewed-on nexedi/erp5!795
-
Jérome Perrin authored
Using a cache cookie that is incremented each time an account is added or modified, we can keep an (almost) up to date list of accounts in the UI. Fixes #20170221-1812E21 /reviewed-on !796
-
- 16 Nov, 2018 2 commits
-
-
Jérome Perrin authored
<h1>, <h2> ... currently have a style applied by gadget_nojqm.css that does not make them look like header. Apply a local override for now.
-
Jérome Perrin authored
The vertial space between two <p> was not different from the vertical space between two lines in a <p> making it hard to visualize the boundaries of paragraphs.
-
- 15 Nov, 2018 4 commits
-
-
Ayush Tiwari authored
/reviewed-on nexedi/erp5!798
-
Jérome Perrin authored
On both the "create new support request" and "post new message on an existing support request", enable the "Maximize" button so that users can author their message in larger editor.
-
Jérome Perrin authored
If we have a dialog with an editor field in bottom group, then dialog action buttons does not fit on the screen. Until rjs_gadget_erp5_nojqm.css allows using editor in bottom groups of dialog, let's put them in center group, because editor in center group have "normal" size and the action button fits.
-
Jérome Perrin authored
This reverts commit 11b815bc. This approach was not enough to solve on all dialogs the problem that button is not always on the screen and it can still be confusing. nexedi/erp5!800 (comment 69514)
-
- 13 Nov, 2018 6 commits
-
-
Jérome Perrin authored
- introduce a `form_dialog` class on dialog gadget, so that we can apply different styles. - add a rule overriding the rule making "big" editors in bottom group so that in dialog mode they are not so big. - force the maximize class to apply its height as !important, because the added selector being more specific, it has priority over the one from maximize. http://lesscss.org/less-preview/ has been used to compile .less in .css
-
Jérome Perrin authored
The default "don't style list item" rules from gadget_erp5_nojqm where not good here, because user expects list items to be displayed in the "standard" way (like in the CKeditor)
-
Jérome Perrin authored
-
Jérome Perrin authored
-
Jérome Perrin authored
Listbox number of lines is not `limit` ... it's `list_lines` Also add the missing test that should have discovered this earlier.
-
Jérome Perrin authored
* Make it obvious that this script works with catalog brains and does not want to call getObject * Make two queries, one to get the "latest" support requests (by date) and another one to get the "current" (by state), making one big query will return too many results when the number of SR grow * backend directly returns the data in the format expected by graph library.
-
- 07 Nov, 2018 1 commit
-
-
Ayush Tiwari authored
Before this change, `index_html` for Catalog Tool was None that means trying to access view for CatalogTool from UI always make a function call to the ` __call__` which function was overridden with `searchResults`, which means everytime someone tried to access `portal_catalog/`, a useless query was being made and an undesirable query result was displyed on the UI. In this case, `index_html` is prefered whenever we try to access portal_catalog from UI. Also, add test for proper display of view when CatalogTool is accessed from XHTML UI /reviewed-on nexedi/erp5!793
-
- 05 Nov, 2018 1 commit
-
-
Jérome Perrin authored
This reverts commit 5b251ce6.
-
- 02 Nov, 2018 3 commits
-
-
Yusei Tahara authored
-
Jérome Perrin authored
* Problems with data migration ( some events had no source, the logic of using current user was anyway wrong ) * Problems with security * RSS too small ( see commits for details ) /reviewed-on nexedi/erp5!792
-
Jérome Perrin authored
.pop .popitem and .setdefault where returning None /reviewed-on nexedi/erp5!791
-
- 01 Nov, 2018 8 commits
-
-
Jérome Perrin authored
Security might be configured in a way that even if user can see the support request he cannot see all events related to that support request. We should handle this case by filtering out the event and not letting Unauthorized error happen.
-
Jérome Perrin authored
There was an issue that RSS was failing with Unauthorized errors when there was some events users cannot access. (once again, thank you zope security, it was not leaking information just causing error)
-
Jérome Perrin authored
default of 5 is not enough and must have caused people to miss messages ( when more than 5 messages are posted between 2 refreshes from their RSS reader)
-
Arnaud Fontaine authored
Project use case: Use modification_date instead of operation_date to export ATs modified the day before.
-
Arnaud Fontaine authored
erp5_accounting_l10n_fr: Allow to pass additional Catalog parameters to select Accounting Transaction to FEC export. Introduced for customer Unit Tests to be able to FEC export only ATs of the current Unit Test FEC based on 'title'.
-
Arnaud Fontaine authored
Called by TransformationSimulationRule and did not work with the following use case: BL(trade_phase=TP1, successor=trade_state/TS1): * child_BL1(predecessor=trade_state/TS1, trade_phase=TP1/InventoryAccounting) * child_BL2(predecessor=trade_state/TS1, trade_phase=Transforming)
-
Jérome Perrin authored
.. not the current logged in user. This way, it's possible to run the post ingestion as another user, for example running by an alarm or as a data migration.
-
Yusei Tahara authored
bt5/erp5_scalability_test: Remove a Permission Configurator Item. It depends on standard_module_permission_access.ods, but it was already removed from erp5_configurator_standard skin folder.
-
- 31 Oct, 2018 6 commits
-
-
Tristan Cavelier authored
in accounting_module and sale_order_module listbox. The "Sale Trade Condition" column was showing first found specialise title instead of the Sale Trade Condition one. This adds z_related_specialise_trade_condition with related key specialise_trade_condition_title and an accessor getSpecialiseTradeConditionTitle
-
Jérome Perrin authored
We edited the HTML, but did not include the accompanying increase of modification date. See nexedi/erp5!662 (comment 65953) for more on this issue. /reviewed-on nexedi/erp5!790
-
Tristan Cavelier authored
When a workflow transition was not used by any state, calling some_module.Module_listWorkflowTransitionItemList was raising: [..] Module script, line 49, in Module_listWorkflowTransitionItemList - <PythonScript at /tsxx/Module_listWorkflowTransitionItemList used for /tsxx/some_module> - Line 49 result['listbox_parameter_dict'][transition_id] = [(state_variable, allowed_state_dict[transition_id])] Module AccessControl.ZopeGuards, line 83, in guarded_getitem v = object[index] KeyError: 'some_action' Now, pick transition among the allowed_state_dict instead of workflow.transitions. This also fixes mass change state dialog "??? ()" issue. This commit adds a transition that allows to reproduce that issue. And this line covers the case : bt5/erp5_web_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_zuite/testMassWorkflowTransition.zpt (line 61) /reviewed-on nexedi/erp5!788
-
Jérome Perrin authored
-
Jérome Perrin authored
-
Jérome Perrin authored
Some things in support request app where working apparently a bit by chance and they no longer work with new erp5_hal_json ( 09d00cae ) This aims at using erp5_hal_json as intended and simplifying the customisations by customising "only" the header gadget and not the page gadget. /reviewed-on !787
-
- 30 Oct, 2018 4 commits
-
-
Arnaud Fontaine authored
-
Arnaud Fontaine authored
-
Arnaud Fontaine authored
-
Arnaud Fontaine authored
-