- 31 Jul, 2020 1 commit
-
-
Arnaud Fontaine authored
* Properly override WebSite Document in erp5_web_shadir by creating a new version_priority. * Keep Web{Section,Site}TraversalHook in Product/ERP5/Document as these are not ERP5 objects. Also, add `kept_for_backward_compatibility_only` to importLocalDocument() to handle pattern where the Document class has been migrated but some code remains. * Move WebSection_get*PrecacheManifestList Python Script from bt5 not depending on erp5_web to erp5_web_renderjs as this is required by CodingStyleTest (WebSection being now in erp5_web).
-
- 02 Jul, 2020 1 commit
-
-
Arnaud Fontaine authored
Move BusinessProcess Document from erp5_trade to erp5_core as CompositionMixin depends on it and this Mixin is used by several Documents in erp5_core.
-
- 12 Jun, 2020 1 commit
-
-
Jérome Perrin authored
-
- 06 Apr, 2020 1 commit
-
-
Arnaud Fontaine authored
-
- 15 Nov, 2019 1 commit
-
-
Jérome Perrin authored
We'll gradually enable the business templates as we fix them.
-
- 22 May, 2019 1 commit
-
-
Thomas Gambier authored
old key was simply "id" so when a container is a VirtualFolder (like Web Site), container._getOb("id") can return any object with id "id" including an object outside the container. Change the key to contain PhysicalPath of the container to get only objects inside the container. This actually fixes installation of some business templates with Web Site inside. /reviewed-on !867
-
- 06 Jun, 2016 1 commit
-
-
Julien Muchembled authored
We should have done before committing 76ecef89 but doing it now with a dummy merge also works. Unfortunately, this is not really useful for blame, because all lines are rewritten, at least to remove the trailing '\n'. Files that have already been modified in 'master' branch are excluded.
-
- 07 Mar, 2016 1 commit
-
-
Georgios Dagkakis authored
All business templates migrated to new format with files like Python Scripts, Web Pages, Web Scripts etc. separate to xml
-
- 03 Feb, 2016 1 commit
-
-
Kazuhiko Shiozaki authored
-
- 26 May, 2015 1 commit
-
-
Kazuhiko Shiozaki authored
that will raise an exception with Python 2.7.10.
-
- 08 Nov, 2014 1 commit
-
-
Kazuhiko Shiozaki authored
* to quickly setup catalog_full_text table, you can use the following SQL. REPLACE INTO catalog_full_text SELECT uid, title, description FROM catalog; * non fulltext queries like '=abc', '>abc', '%abc%' are supported. * now erp5_full_text_mroonga_catalog is used for unit tests thus I recommend using it instead of erp5_full_text_myisam_catalog. * to migrate existing MyISAM full_text table into Mroonga, you can use the following SQL. ALTER TABLE full_text DROP KEY SearchableText, ENGINE = mroonga, ADD FULLTEXT KEY SearchableText (`SearchableText`) COMMENT 'parser "TokenBigramSplitSymbolAlpha"'; * fulltext search score is no longer provided as (column_name) but now provided as (column_name)__score__. * (category)_title, like source_title, related keys are automatically generated. (category)_description keys as well.
-
- 16 Oct, 2014 1 commit
-
-
Julien Muchembled authored
-
- 11 Sep, 2014 1 commit
-
-
Julien Muchembled authored
-
- 30 Jan, 2014 1 commit
-
-
- 10 Sep, 2013 3 commits
-
-
Arnaud Fontaine authored
ZODB Components: Revert 'Allow to execute runUnitTest for bt5 Test Components' (a771dca4) to fix tests bootstrap. The new syntax to load ZODB Tests Components is: runUnitTest BT_TITLE:TEST_NAME That commit was too adhoc as it was relying upon filesystem to load Tests Components and was not behaving like any other Components (versions was not available and other Components were not importable). At the end, it would have meant that a Test Component ran through runUnitTest and Live Tests (in ERP5 itself) would have behaved differently, thus instead: 1/ Install BT_TITLE dependencies and its test dependencies (new bt property to specify bt to be installed only for tests on a fresh instance). 2/ The site is loaded. 3/ Load the test by importing it like any other Components.
-
Arnaud Fontaine authored
Avoid an extra step for developers by keeping the last Workflow History for Components by default.
-
Arnaud Fontaine authored
-
- 24 Jun, 2013 1 commit
-
-
Julien Muchembled authored
-
- 27 Feb, 2013 1 commit
-
-
Kazuhiko Shiozaki authored
-
- 15 May, 2012 1 commit
-
-
Julien Muchembled authored
This is a followup to commit 8995b645 ("always start transactions with begin() and make tic() commit automatically"): there is now no need to use self.stepTic() instead of self.tic()
-
- 11 May, 2012 1 commit
-
-
Julien Muchembled authored
-
- 16 Nov, 2011 1 commit
-
-
Arnaud Fontaine authored
-
- 05 Sep, 2011 1 commit
-
-
Łukasz Nowak authored
-
- 02 Sep, 2011 1 commit
-
-
Łukasz Nowak authored
-
- 01 Sep, 2011 8 commits
-
-
Łukasz Nowak authored
If data are posted twice with the same coordinates only one data set document is begin created, not two. This was changed in 33a5a2be
-
Łukasz Nowak authored
-
Łukasz Nowak authored
-
Łukasz Nowak authored
-
Łukasz Nowak authored
-
Łukasz Nowak authored
-
Łukasz Nowak authored
-
Łukasz Nowak authored
-
- 30 Aug, 2011 1 commit
-
-
Łukasz Nowak authored
During usage of shacache and shadir it was possible to publish document immediately. If there is problem with such scenario, it shall be fixed in correct place with a test proving issue.
-
- 25 Aug, 2011 1 commit
-
-
Łukasz Nowak authored
Follow the specification of shacache and shadir: PUT is used in shadir, POST is used in shacache in order to create new content. erp5_web can be used without any modification to serve fully restfull POST interface. Create special action for Web Site which reacts on POST type of request and support it by low level functionality. This action is available in web view only and affects only Web Sites configured for shacache. Other changes: * do not check uploaded content, just return calculated sha * break compatibility during upload (better now then later) * avoid hiding errors during publishing content by hiding exceptions in WebSite_publishDocumentByActivity * do randomisation in tests and make them live test safe * connect to running web server in tests in order to use all stacks during uploading and downloading content * cleanup erp5_web_shacache and erp5_web_shadir business templates and remove not needed scripts * during testing treat running site as blackbox and do not try to be too smart
-
- 18 Jul, 2011 2 commits
-
-
Lucas Carvalho authored
-
Lucas Carvalho authored
-
- 05 Jul, 2011 2 commits
-
-
Lucas Carvalho authored
-
Lucas Carvalho authored
ShaDir reuses the code of ShaCache. WebSection_putFactory takes care about publishing the document.
-
- 04 Jul, 2011 1 commit
-
-
Lucas Carvalho authored
-