- 13 Nov, 2017 12 commits
-
-
Georgios Dagkakis authored
with its reference and containing trailing slash. 301 redirection should be raised to the url without slash. Also, fix test_WebSection_add_trailing_slash_in_url since now it expects permanent redirection (301)
-
Georgios Dagkakis authored
Also, url that is published in test_14_AccessWebSiteForWithDifferentUserPreferences iotherwise the response is the redirect, making the test fail
-
Georgios Dagkakis authored
from double slashes. This to give compatibility with definition in actions on Web Section and Web Site portal types, for which now absolute_url returns a trailing slash, so definitions like: string:${object_url}/WebSection_xxx would create a url with double slashes
-
Georgios Dagkakis authored
in case we publish with different languages
-
Georgios Dagkakis authored
raise 301 redirect to the url excluding the slash This is different than Web Section. But in Web Page we need no-slash since we would render all other sources in the container Web Section, so keeping the caches
-
Georgios Dagkakis authored
- Make redirect to the url with slash as permanent (301) Better for Search Engine Optimization - Raise redirect only if request is GET - Raise redirect only if redirect_to_added_slash property is true - Fixup consistenct in quotes
-
Georgios Dagkakis authored
-
Georgios Dagkakis authored
As acquired property, that is Boolean to define if the 301 redirect would happen when publishing the url without slash
-
Gabriel Monnerat authored
-
Gabriel Monnerat authored
renderJS gadget HTML uses relative URLs to link to there javascript/CSS files. Absolute URL calculation is resolved dynamically by the browser when loading the gadget. When accessing an ERP5 web section without a trailing / in the URL, the browser will calculate absolute URL from the parent document and not the web site itself. Example: In http://foo.com/web_site_module/bar , the relative URL couscous.js will be resolved http://foo.com/web_site_module/couscous.js If couscous.js is a document from DMS (Web Page for example), such URL can not be resolved and leads to a 404 error. One solution to solve this is to redirect (302) the browser when accessing a Web Section (Web Site is a web section) directly in ERP5. Example: http://foo.com/web_site_module/bar -> http://foo.com/web_site_module/bar/ But http://foo.com/web_site_module/bar/view should not redirect
-
Georgios Dagkakis authored
Note: This is not a complete work, i.e. it is not supposed to update all url calculations of generic ERP5. It is done so that: - Other pending work can use it - Demonstrate how the API should be used and test it
-
Georgios Dagkakis authored
for a base document, given the form_id, document_reference and GET parameters Commit contains also a test in testERP5Type
-
- 10 Nov, 2017 7 commits
-
-
Alain Takoudjou authored
-
Alain Takoudjou authored
Use Jio 3.26.0 in erp5_web_renderjs_ui and erp5_core /reviewed-on nexedi/erp5!491
-
Vincent Bechu authored
-
Vincent Bechu authored
/reviewed-on nexedi/erp5!490
-
Vincent Bechu authored
fix attachment parallel synchronization issue
-
Vincent Bechu authored
-
Vincent Bechu authored
-
- 09 Nov, 2017 2 commits
-
-
Vincent Bechu authored
-
Vincent Bechu authored
-
- 08 Nov, 2017 3 commits
-
-
Julien Muchembled authored
inotifyx is has no support for Python 3 and it does not seem to be maintained anymore.
-
Tomáš Peterka authored
/reviewed-on nexedi/erp5!484
-
Cédric Le Ninivin authored
-
- 07 Nov, 2017 3 commits
-
-
Roque Porchetto authored
The erp5 site creation fails due to a dependency error. Dependency to erp5_full_text_myisam_catalog was added to the erp5_scalability_test business template. /reviewed-on nexedi/erp5!483
-
Vincent Bechu authored
-
Vincent Bechu authored
-
- 06 Nov, 2017 5 commits
-
-
Vincent Bechu authored
-
Vincent Bechu authored
-
Vincent Bechu authored
-
Vincent Bechu authored
fast synchro is not ready.
-
Sebastien Robin authored
-
- 04 Nov, 2017 5 commits
-
-
Jérome Perrin authored
-
Romain Courteaud authored
-
Rafael Monnerat authored
-
Rafael Monnerat authored
Allow to overwrite this inside project to init Properties like reference.
-
Rafael Monnerat authored
-
- 03 Nov, 2017 3 commits
-
-
Julien Muchembled authored
-
Julien Muchembled authored
Because it is mainly used from the 'initsite' zope.conf section, the passed value is often a string, hence the automatic cast to integer. The default is defined in erp5_core: 1 The specific value '0' disables storage in ZODB. Another other value sets the interval.
-
Tristan Cavelier authored
- Use unrestricted _edit method on reportTaskStatus - restrictedTraverse applies security anyway - Remove some useless code - Fix TypeError: stopUnitTest() takes exactly 3 arguments (4 given)
-