- 11 Jul, 2024 40 commits
-
-
Jérome Perrin authored
to make sure test terminates in case of problems with webdav server
-
Jérome Perrin authored
When a test needs to login as manager again, the best way is to use ${manager_username} and ${manager_password} set in cookies before running tests. This is continuation of 445e8fa8 (ERP5TypeTestCase: rework default manager password generation, 2024-05-27)
-
Titouan Soulard authored
-
Georgios Dagkakis authored
-
Georgios Dagkakis authored
as it is done in other places of this file
-
Georgios Dagkakis authored
Otherwise, we may get error if we have special characters
-
Kazuhiko Shiozaki authored
-
Kazuhiko Shiozaki authored
-
Titouan Soulard authored
When pasting an image in CKEditor, the image was displayed twice. This behaviour is due to the new paste-as-base64 feature implemented in CKE, which conflict with existing plugins implementing the same feature. To solve it, add `clipboard_handleImages` option to the CKE configuration object, which disables its own image-pasting feature. See https://github.com/ckeditor/ckeditor4/issues/4874 for the corresponding issue on CKEditor’s repository. /cc @jerome @romain @tomo /reviewed-by @jerome /reviewed-on !1951
-
Kazuhiko Shiozaki authored
-
Kazuhiko Shiozaki authored
-
Kazuhiko Shiozaki authored
fix convertToERP5Workflow() for the case where permission_roles is not yet configured.
-
Kazuhiko Shiozaki authored
if acquire_permission is not yet set in a Workflow State, we should consider it as 'acquire all permissions', like DCWorkflow implementation.
-
Kazuhiko Shiozaki authored
If state_permission_role_list_dict is not yet set in a Workflow State, the UI displays permission/role table with all unchecked. Once we save it in Permissions tab without checking anything, state_permission_role_list_dict will become like {'Access contents information': (), 'Add portal content': (), 'Modify portal content': (), 'View': ()} This commit will make the behaviour same for these 'before save' and 'after save' cases as the UI displays exactly same.
-
Jérome Perrin authored
-
Jérome Perrin authored
for same reason as the xhtml_style version, there is no problem with having more than one listbox, see d2dedca3 (core: remove useless log in Base_callDialogMethod, 2020-07-03)
-
Jérome Perrin authored
-
Jérome Perrin authored
If preferences are not set, this causes a non existant style to be used
-
Jérome Perrin authored
In Check Source Code report on business template and CodingStyle tests, the lines were off by 1 and column off by 2 for python scripts.
-
Jérome Perrin authored
The default manager user (ERP5TypeTestCase) now have a random password generated at the beginning of test. The password is stored as a class attribute of the test case instance. Many tests have been updated to not generate manager user and use the existing one instead. When tests need to create users (for example users in the root acl_users), we try to give them a random password and to delete the users afterward. For functional tests, the approach is that ERP5TypeFunctionalTestCase sets cookies with manager username and password before running zelenium tests, so that in case tests want to log in again as manager, they can read the username and password from cookies. Another significant changes is that we no longer have the same user in ERP5/acl_users and /acl_users, some tests were logging in as the root user in ways that never seemed intentional. This also revealed (through test_manager_actions_on_portal from testERP5Core) that some tests were running with a user without all the expected permissions and the "Manager Components" actions was not visible for the default manager user. Fixing this also revealed that two actions ("Manage Components" and "Manage Callables") had the same priority, so the later was modified to use a different priority.
-
Jérome Perrin authored
pycrypto is unmaintained and the python3 version no longer work with buildout 3 (it uses a tricky way to run 2to3 in setup.py that no longer happens with pip based buildout3) Also make the rest of this file python3 compatible.
-
Jérome Perrin authored
only the case without an URL column was properly handled
-
Roque authored
-
Gabriel Monnerat authored
If erp5_credential is installed in ERP5, we will use the dialog from erp5_credential instead of accessing portal_password directly.
-
Roque authored
- setting configurator header link - allow auto_sync when adding opml - update form title - fix landing page - fix dispatch - fix form naming - fix form and fields naming (coding style tests)
-
Rafael Monnerat authored
-
Rafael Monnerat authored
Otherwise, alarms to fetch what was paid (status) don't work.
-
Rafael Monnerat authored
Mistake was probably there because copy and paste
-
Jérome Perrin authored
Raise an exception instead of casting to string unhandled search values, because it's more likely that caller accidentally passed a wrong value.
-
Roque authored
-
Roque authored
- site web section changes - update app router - update app panel - adapt monitoring jio gadget and jio storage - add form views configuration - add new portal types, views and actions - migration_version check - update precache manifest - sync checks and redirection - refactor dispatch page according to new monitor urls - add opml redirects to front page - slapos portal types - drop obsolete files - drop auto-sync on add OPML page - parameters gadget field for instance tree view - custom views for software instance resources and processes - options header gadget (custom header options) - custom submit gadgets - graph gadget field
-
Roque authored
- allow custom app configurator - render listbox form field extra configuration - fix date format rendering - allow configuration form fields to have extra js code - allow to customize listbox column styles - allow to customize listbox jio_alldocs - fix custom view handling - fix gadget field rendering - allow dev user to set custom header options - truncate long string fields - add custom submit gadget option - improve renderjs_extra - update graph gadget
-
Roque authored
-
Jérome Perrin authored
This prevents one failing test to make all subsequent tests to fail
-
Jérome Perrin authored
this is removed from python3, it was not so useful here either
-
Kazuhiko Shiozaki authored
-
Kazuhiko Shiozaki authored
-
Jérome Perrin authored
-
Jérome Perrin authored
use sys.maxsize, see discussion on !1751 (comment 203735)
-
Jérome Perrin authored
-