- 02 Sep, 2016 7 commits
-
-
Ayush Tiwari authored
We try to move from using SQLCatalog to ERP5Catalog as the default Catalog inside ERP5. The major difference is use of Folder class as the base for Catalog from Products.ERP5Type.Core Significant changes: -Add dtml form for creating ERP5Catalog object -Inherit from Catalog class from Products.ZSQLCatalog.SQLCatalog instead of copy-pasting the whole code again. -Add allowed_types for ERP5Catalog tool -Monkey patch some property setters and getters to maintain consistency -Update id and title for ERP5Catlog while class initialization -Set declarative securities and solve some inheritance conflicts -Add isRADContent for ERP5Catalog Class -Solve inheritence conflict for _setPropValue function in ERP5Catalog class -Add SQL Method portal_type in allowed_types for ERP5Catalog class -Override getCatalogMethodIds cause it uses global variable in SQLCatalog.Catalog -Redefine security declarations -Add functions for object_actions of Catalog portal_type in ERP5Catalog object -Add filter_dict and _properties attributes for compatibilty
-
Ayush Tiwari authored
-
Romain Courteaud authored
-
Kazuhiko Shiozaki authored
-
Jérome Perrin authored
because objects will be lost. At same time, simplify code a bit : - Just use _migration_in_progress attribute directly instead of a variable. - Set a default value on class, so that we do not have to getattr. - Do not use aq_base, this is useless for attributes starting with _
-
Romain Courteaud authored
-
Romain Courteaud authored
-
- 01 Sep, 2016 3 commits
-
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Yusei Tahara authored
-
- 31 Aug, 2016 9 commits
-
-
Sebastien Robin authored
With previous algorithm, work was given to additional test nodes only when: - we were previously below the needed capacity - when another test node was dying Now, as soon as a new test node is added, we move work of overloaded test nodes to idle test nodes. We try to move only test suite using many test nodes to avoid having to wait for building time. This allows to have better distribution of the work with the idea to have more quickly test results. This will avoid cases where we have several testnodes assigned to no work at all. Finally, fixed distribution algorithm to avoid some unfair cases where a test suite might have more test node than another while they both ask for the same number of test nodes.
-
Jérome Perrin authored
Documentation says this step is done in one transaction, so implement this as documented. Detecting developer mistake and automagically running this step in smaller transactions if more than 100 documents seems unnecessary. At least, it contredicts documentation.
-
Jérome Perrin authored
now that we use alarm sense method, another `notify` call is activated
-
Jérome Perrin authored
-
Jérome Perrin authored
This should fix some race conditions which made post-upgrade steps not executed sometimes. * each steps use an defaultActivateParameterDict so that activity they may create inherits the same tag, so that next step also runs after this). This makes it possible for example to use post-upgrade step on documents newly installed in upgrade step. * use tag / after tag between upgrader steps instead of checking if previous alarm had errors. We also now allow force running only one step regardless of the previous step completion state, there was no strong reason to prevernt this. * do not use two different active sense and fix method for alarms, just use an active sense method understanding `fixit` parameter
-
Nicolas Wavrant authored
It allows idempotent result on any test node
-
Kazuhiko Shiozaki authored
replace method_name:method parameter instead of replacing form action, otherwise method_name like listbox_setPage does not work.
-
Kazuhiko Shiozaki authored
-
Kazuhiko Shiozaki authored
-
- 30 Aug, 2016 3 commits
- 29 Aug, 2016 1 commit
-
-
Romain Courteaud authored
unescape_chr is executed with such string: "C:\Program Files\1234.jpg". Prevent failing, and return original string in such case.
-
- 24 Aug, 2016 4 commits
-
-
Tristan Cavelier authored
-
Tristan Cavelier authored
Previous behavior was to generate reference this way : `sanitized title` if reference was not already existing else `random "-" sanitized title`. Now it generates `sanitized title "-" random` with: - `random` at the end to maximize search engine optimization; - `random` every time present to prevent creating document with the same reference by mistake. + update tests
-
Tristan Cavelier authored
added possibly by mistake. see 1cb54350
-
Georgios Dagkakis authored
-
- 23 Aug, 2016 4 commits
-
-
Jérome Perrin authored
We now use URL only, old address + port way is obsolete.
-
Jérome Perrin authored
host and port configuration is obsoleted by URL configuration
-
Jérome Perrin authored
Build a conversion_server_url from conversion_server_(hostname/port), so that we can already stop using the old parameters
-
Aurel authored
-
- 22 Aug, 2016 8 commits
-
-
Sven Franck authored
-
Sven Franck authored
-
Sven Franck authored
-
Tristan Cavelier authored
-
Tristan Cavelier authored
-
Tristan Cavelier authored
-
Tristan Cavelier authored
-
Tristan Cavelier authored
-
- 19 Aug, 2016 1 commit
-
-
Yusei Tahara authored
-