- 04 May, 2016 8 commits
-
-
Kazuhiko Shiozaki authored
* for bulk substitution, re.sub is much faster than join of dict lookup result per byte.
-
Kazuhiko Shiozaki authored
-
Georgios Dagkakis authored
Check that if only the code of a PythonScript (_body) is different, it will be identified as modified.
-
Kazuhiko Shiozaki authored
now it is like "<title>public - Revions 12345: /path</title>".
-
Kazuhiko Shiozaki authored
-
Vincent Pelletier authored
For scheduled workflow transition. Use in your workflow transition as: %(content_url)s/Base_viewScheduleWorkflowActionDialog?workflow_action=%(transition_id)s&next_workflow_action=SOME_ACTION (replacing SOME_ACTION with some appropriate value).
-
Vincent Pelletier authored
Delayed workflow transition works with 3 states: - initial state: where we are - final state: where we want to go - waiting state: where we wait for the right time to transition to final state The main advantages of the waiting state are: - prevents multiple transitions from being scheduled - allows customising object security (ex: preventing unwanted edits) - allows storing intended execution date in a transition comment
-
Vincent Pelletier authored
Do not require caller to cast between these types when they can all make sense to appear in the same list.
-
- 03 May, 2016 8 commits
-
-
Kazuhiko Shiozaki authored
in most cases, where ASCII-range characters are less than 80% of input non-utf8 string, the result is same but we can reduce needless string replacement calls. in rare case, for example wrongly iso-8859-1 encoded properties or PDF data, the result becomes different, i.e. before: ASCII-range characters + escaped characters => after: base64 encoding, but the meaning is still same.
-
Kazuhiko Shiozaki authored
* stop using deprecated string functions. * reduce lambda creation inside functions. * move import statements outside of function.
-
Kazuhiko Shiozaki authored
* remove needless copy of sub objects that are already recursively copied by their top most object. * remove needless manage_beforeDelete() calls when copying objects.
-
Cédric Le Ninivin authored
-
Sebastien Robin authored
-
Tristan Cavelier authored
- Document_viewSVGEditor/my_data changes web illustration content type - WebIllustration_viewSVGEditor/my_text_content does not change it
-
Georgios Dagkakis authored
Installation of business template may change the encoding of a document to utf-8. Nonetheless, export should preserve the original encoding. This test creates a ZopePageTemplate with output_encoding of 'iso-8859-15' and checks that while installed version becomes 'utf-8', when exported it keeps the original one.
-
Georgios Dagkakis authored
Only xml metadata should be exported in this case. In the previous version the check of hasattr could pass if attribute is defined as an attribute of the class and not of the instance, causing also AttributeError later when the code tries to invoke delattr. Also, restructure export. First try to delete property and then export as separate file. Test also added.
-
- 02 May, 2016 3 commits
-
-
Tristan Cavelier authored
-
Tristan Cavelier authored
also make it work for Image portal types
-
Xiaowu Zhang authored
each view has both editable and view mode, they can be accessed and switched Editable button bring to editable mode View button select view instead of Tabs which is meaningless /reviewed-on nexedi/erp5!108
-
- 29 Apr, 2016 3 commits
-
-
Tristan Cavelier authored
-
Julien Muchembled authored
About getSingleCategoryAcquiredMembershipList, getPhysicalPath is so slow that that cache was useless.
-
Georgios Dagkakis authored
/reviewed-on !103
-
- 28 Apr, 2016 6 commits
-
-
Sebastien Robin authored
Variations and industrial phases where not displayed at all
-
Sebastien Robin authored
-
Sebastien Robin authored
-
Sebastien Robin authored
Avoid the need to go through planned state before cancelling
-
Romain Courteaud authored
-
Douglas authored
@kirr, @Tyagov and @tatuya, please review. Now the ERP5 Jupyter kernel automatically renders errors that happens in the user-side code. Errors are captured during the AST tree creation (to be able to detect syntax errors) and at execution time. The current transaction is automatically aborted on error detection. /reviewed-on nexedi/erp5!85
-
- 27 Apr, 2016 8 commits
-
-
Gabriel Monnerat authored
/reviewed-on nexedi/erp5!107
-
Gabriel Monnerat authored
testXHTML: Accept non proxy field, because for some reason the developer probably have a good reason to not proxify it
-
Gabriel Monnerat authored
-
Julien Muchembled authored
-
Cédric Le Ninivin authored
Former version looked for a matching predicate on caching policy and a Enable304 property set to true. No we stop on first predicate, thus disabling 304 answer when enable 304 is not selected
-
Jérome Perrin authored
When running this alarm by hand, we do not want to wait.
-
Jérome Perrin authored
the .selected is too general and was applied to selected action tab in erp5_xhtml_style ui
-
Jérome Perrin authored
This was early designed replaced by Individual (Product|Service) Variation This conflicts with category accessors generated from variation base category
-
- 26 Apr, 2016 4 commits
-
-
Rafael Monnerat authored
-
Rafael Monnerat authored
The orginal method fail to check test_suite_title
-
Julien Muchembled authored
By default, Base._edit first tests each property with getProperty, not to modify the object when values don't change. Here, getProperty costs a lot (in particular for categories) and rarely/never avoids the use of setters. So here, the main gain is to do something like _edit(force_update=1). As an additional small optimization, we directly use _setProperty instead of _edit. We also stop copying int_index from the Amount Generator Line because it's not useful enough: - float_index may be used instead - or dependency-based sorting is enough - as a last resort, properties can be fetched directly from the causality value, or dynamically with asPredicate and mapped_value_property_list
-
Julien Muchembled authored
We could go further by changing the API to not cast the result into tuples.
-