- 14 Mar, 2016 4 commits
-
-
Tristan Cavelier authored
-
Romain Courteaud authored
Documents are by default sorted by modification date to ease user search.
-
Romain Courteaud authored
-
Xiaowu Zhang authored
-
- 11 Mar, 2016 2 commits
-
-
Georgios Dagkakis authored
-
Sebastien Robin authored
-
- 10 Mar, 2016 3 commits
-
-
Julien Muchembled authored
This is a follow-up of commit 8712c638 which fixed the following case: A B C D # transactions r r A r r R1 R2 A3 where A stands for Append, R for Rotate, and uppercase for conflict resolution A3 contained duplicated elements from both R1 & R2 (those added by B) This commit fixes the same issue during rotation: A B C a a A r A R R (elements added by A were duplicated)
-
Georgios Dagkakis authored
from erp5_core to erp5_forge. Also, rename field from my_repository_list to your_repository_list. /reviewed-on nexedi/erp5!74
-
Jérome Perrin authored
To me, it seems a bit strange from user experience point of view to have suggestions for what login / password to use. /reviewed-on nexedi/erp5!67
-
- 09 Mar, 2016 6 commits
-
-
Kazuhiko Shiozaki authored
fixup! ListBox: support rendering empty item as user's input in multi item widget having default values.
-
Kazuhiko Shiozaki authored
fixup! ListBox: support rendering empty item as user's input in multi item widget having default values.
-
Julien Muchembled authored
This is currently required for NEO.
-
Kazuhiko Shiozaki authored
-
Georgios Dagkakis authored
so that it follows naming convention ('To' is a closed-class word and should not be titlecased)
-
Yusei Tahara authored
/reviewed-on nexedi/erp5!69
-
- 08 Mar, 2016 3 commits
-
-
Georgios Dagkakis authored
-
Georgios Dagkakis authored
where the actual Python code or Test content is exported separately from the xml metadata
-
Georgios Dagkakis authored
to use content_type or reference even if the object is broken.
-
- 07 Mar, 2016 20 commits
-
-
Georgios Dagkakis authored
to the Portal Types for which the data is exported separately to the meta-data. Tests added to testBusinessTemplateTwoFileExport.py
-
Sebastien Robin authored
-
Georgios Dagkakis authored
testTemplateTool.test_revision: Change hard-coded hashes. test_core file structure has changed since SkinTemplateItem/portal_skins/erp5_test/test_file has been separated to two files
-
Georgios Dagkakis authored
All business templates migrated to new format with files like Python Scripts, Web Pages, Web Scripts etc. separate to xml
-
Georgios Dagkakis authored
erp5_web_renderjs: Set init script for Web Script and Web Style so that it sets content_type as 'text/javascript' and 'text/css' respectively
-
Georgios Dagkakis authored
-
Georgios Dagkakis authored
-
Georgios Dagkakis authored
erp5_core: TemplateTool: Add a view in import/export dialog, so that migration to new format can be automatic
-
Georgios Dagkakis authored
TemplateTool: importAndReExportBusinessTemplatesFromPath renamed to importAndReExportBusinessTemplateListFromPath
-
Sebastien Robin authored
-
Sebastien Robin authored
-
Georgios Dagkakis authored
-
Georgios Dagkakis authored
BusinessTemplates: Allow export of files like Python Script, Web Page, Web Script etc. separately from the xml
-
Georgios Dagkakis authored
MessageTranslationTemplateItem: fix in _import so that the path of the .po files are the same as in build
-
Georgios Dagkakis authored
BusinessTemplate.py: Class CatalogKeyTemplateItemBase: fix so that in export the items are exported in the correct folder
-
Sebastien Robin authored
Fix unit test errors due to data remaining from other tests
-
Sebastien Robin authored
Like we already do for Documents, Tests and Extension, we are soon going to export as two files various types of document. It's usually one file for metadata, and one file for the content (code, text). Sometimes, we might want such kind of two file export for some bt having portal type and instance of such portal type in the same time. In such case, we have some intermediate steps where we have broken objects, and we need to change theses broken objets before portal type is fully initialized and installed.
-
Sebastien Robin authored
Such error was raised : BrokenModified: Can't change broken objects We were installing a broken object even though the portal type was just installed. This was due to a missing reset of components.
-
Sebastien Robin authored
-
Sebastien Robin authored
Following code, with foo having portal type Foo which is not installed yet (thus it is broken) : connection = self.getConnection(portal) foo = connection.importFile(file_obj) => this does a savepoint foo._p_changed = 1 Then next savepoint was raising : PicklingError: Can't pickle <class 'erp5.portal_type.Foo'>: it's not the same object as erp5.portal_type.Foo ) This was because we had : foo.__class__.mro() : (<class 'erp5.portal_type.Foo'>, <class 'ZODB.broken.PersistentBroken'>, <class 'ZODB.broken.Broken'>, <type 'persistent.Persistent'>, <class 'erp5.portal_type.Foo'>, <class 'Products.ERP5Type.dynamic.lazy_class.GhostBase'>, <class 'Products.ERP5Type.dynamic.lazy_class.ERP5BaseBroken'>, <class 'Products.ERP5Type.Base.Base'>, *TAIL) and erp5.portal_type.__getattribute__("Foo").mro() : (<class 'erp5.portal_type.Foo'>, <class 'Products.ERP5Type.dynamic.lazy_class.ERP5BaseBroken'>, <class 'ZODB.broken.Broken'>, <class 'Products.ERP5Type.Base.Base'>, *TAIL) Classes where different because new class with new inheritance was created by ZODB.serialize.ObjecReader.load_persistent which does : if issubclass(klass, Broken): # We got a broken class. We might need to make it # PersistentBroken if not issubclass(klass, broken.PersistentBroken): klass = broken.persistentBroken(klass) Since ERP5BaseBroken is patched to mostly be like a PersistentBroken, make sure we allow serialization to identify ERP5BaseBroken as a PersistenBroken class.
-
- 04 Mar, 2016 2 commits
-
-
Kazuhiko Shiozaki authored
-
Kazuhiko Shiozaki authored
erp5_discussion: make Discussion Post content fulltext searchable See merge request !66
-