- 14 Sep, 2016 2 commits
-
-
Sebastien Robin authored
This code is useful to run any unit test in a live instance. Until all products tests (like ERP5/tests/*) are moved as components, this code is useful. This reverts commit 9240d498.
-
Kazuhiko Shiozaki authored
also stop casting select_language to str.
-
- 13 Sep, 2016 1 commit
-
-
Douglas authored
If ERP5 Jupyter kernel tried to persist an object created from a new-style class, it would crash because the object has no `_p_jar`. This makes the creation of the ObjectWriter fails. This kind of object needs to be handled by (c)Pickle. Related to bug report https://nexedi.erp5.net/bug_module/20160819-882FA2, created by @kasra. @Tyagov, please review when possible. /reviewed-on nexedi/erp5!162
-
- 08 Sep, 2016 1 commit
-
-
Sebastien Robin authored
erp5_item: the purpose of getTrackingList or getCurrentTrackingList is to avoid passing simulation states by hand
-
- 07 Sep, 2016 5 commits
-
-
Sebastian authored
-
Xueyun Qian authored
-
Sebastien Robin authored
Some tests where explicitely checking that transformation is not set in case several are found. It is indeed better to ask user decision in such case.
-
Sebastian authored
-
Sebastian authored
-
- 06 Sep, 2016 4 commits
-
-
Sven Franck authored
-
Jérome Perrin authored
-
Cédric Le Ninivin authored
-
Sebastien Robin authored
mrp: a production order has a specialise link for business template, so we have to look for transformations
-
- 05 Sep, 2016 4 commits
-
-
Tristan Cavelier authored
-
Yusei Tahara authored
erp5_travel_expense: Add excel download button as an example and rename megapixel javascript name to travel expense dependent one to avoid confliction.
-
Yusei Tahara authored
-
Yusei Tahara authored
-
- 02 Sep, 2016 5 commits
-
-
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 2 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
-