- 06 Feb, 2014 4 commits
-
-
Arnaud Fontaine authored
So, Relation Fields in ListBox were ignored during validation as the input value is compared with the current (default), thus the field could not be cleared as the value from the actual object was not retrieved at all.
-
Arnaud Fontaine authored
-
Arnaud Fontaine authored
erp5_jquery_ui: As jquery-ui is imported straightaway, license should have always been jquery-ui one.
-
Arnaud Fontaine authored
-
- 03 Feb, 2014 2 commits
-
-
Kazuhiko Shiozaki authored
-
Vincent Pelletier authored
This reverts commit 3f8b6a39. Also revert "fix a typo. potral -> portal." (commit fa7113c9) *_path parameters are preferred at SimulationTool level over UIDs, and may not work as intended.
-
- 31 Jan, 2014 3 commits
-
-
Kazuhiko Shiozaki authored
-
Kazuhiko Shiozaki authored
so that we can call it from restricted environment.
-
Kazuhiko Shiozaki authored
-
- 30 Jan, 2014 4 commits
-
-
Kazuhiko Shiozaki authored
-
Kazuhiko Shiozaki authored
* now Selection for anonymous is stored per its content and its key is embedded in ListBox rendering. * we no longer provide cookie to each anonymous user. * thus same URL (i.e. same parameter) for any anonymous user should have the same result. * Selection storage for anonymous can be still different from the storage for the normal users.
-
-
Kazuhiko Shiozaki authored
-
- 27 Jan, 2014 4 commits
-
-
Tatuya Kamada authored
(thanks Rafael)
-
Aurel authored
-
Arnaud Fontaine authored
-
Tatuya Kamada authored
-
- 24 Jan, 2014 7 commits
-
-
Jérome Perrin authored
-
Jérome Perrin authored
-
Aurel authored
-
Julien Muchembled authored
-
Aurel authored
-
Arnaud Fontaine authored
-
Tatuya Kamada authored
-
- 23 Jan, 2014 9 commits
-
-
Julien Muchembled authored
Simulation Movements use 'causality' to link to different portal types: - Business Link - Trade Model Path - amount generator line/cell Only Business Links implement getCompletedStateList.
-
Arnaud Fontaine authored
-
Arnaud Fontaine authored
-
Arnaud Fontaine authored
The initial 'exec' traceback was not passed when raising ImportError (following PEP-302), thus it displayed traceback in component_package instead of the actual location of the error. Also, Caching source code retrieved from traceback/(i)pdb (through get_source()) was done after the actual 'exec', whereas it should have always been *before* obviously... Steps to reproduce: 1/ Create and validate a Test Component A importing another Component B. 2/ Invalidate Component B or add a typo not handled by pylint (because of exceptions).
-
Arnaud Fontaine authored
-
Arnaud Fontaine authored
Using DeadlockDebugguer lead to a deadlock when trying to debug a deadlock on ZODB Component as it was trying to load the Component. Moreover, this required accessing to ERP5 Site whereas DeadlockDebugguer is used outside. Steps to reproduce: 1. Create an Extension Component with a sleep and run it. 2. Call manage_debug_threads.
-
Arnaud Fontaine authored
This is much faster, eg defining a max function is about 39 times faster and even more on more complicated code: $ python -mtimeit -s 'code = "def max(a, b): return a > b and a or b"' 'exec code' 10000 loops, best of 3: 25.2 usec per loop $ python -mtimeit -s 'code = compile("def max(a, b): return a > b and a or b", "<string>", "exec")' 'exec code' 1000000 loops, best of 3: 0.632 usec per loop Another reason is for traceback/pdb readability as __file__ is displayed in the backtrace, but with 'exec' __file__ equals to '<string>', compile() allows to specify a readable name easily without having to override __file__. Also, set __file__ to the Component relative URL instead of the ID for readability sake.
-
Arnaud Fontaine authored
Signed-off-by: Julien Muchembled <jm@nexedi.com>
-
Mame Coumba Sall authored
-
- 21 Jan, 2014 3 commits
-
-
Julien Muchembled authored
-
Julien Muchembled authored
-
Julien Muchembled authored
-
- 17 Jan, 2014 4 commits
-
-
Vincent Pelletier authored
Fixes unittest.expectedFailure usage, allowing phasing out backportUnittest gradually (at least for the backport part).
-
Vincent Pelletier authored
-
Ivan Tyagov authored
-
Jérome Perrin authored
-