An error occurred fetching the project authors.
- 05 Mar, 2024 1 commit
-
-
Jérome Perrin authored
This probably happened only in the test, but it's safer not to retry for ever.
-
- 04 May, 2022 1 commit
-
-
Arnaud Fontaine authored
Done through various 2to3 fixers (zope.fixers, modernize, future) and manual changes. This is a single commit so that we have a clearer picture of how code converted with my2to3 should look like. Except straightforward @implementer decorator 2to3 fixer, only product/ folder was considered as the goal was to be able to create an ERP5Site. * Use @implementer decorator introduced in zope.interface 3.6.0 (2010): The implements syntax used under Python 2.X does not work under 3.X, since it depends on how metaclasses are implemented and this has changed. Instead it now supports a decorator syntax (also under Python 2.X). Applied thanks to 2to3 `zope.fixers` package. * Use `six.moves` rather than `future` install_aliases() feature because the latter use unicode_literals and "wraps" module aliases so that unicode() are returned for text rather than str() (Python2 standard library). This notably breaks BusinessTemplate code which uses urllib quote() for filesystem paths... * No more unbound methods in python3 so use six.get_unbound_function(). * dict.(iteritems,iterkeys,itervalues)() => six.\1(dict) thanks to `dict_six` 2to3 fixer from `modernize`: $ python-modernize -w -f dict_six product/ * Manually make sure that dict.{items,values,keys}() returns a real list when it is latter modified rather than a dict_{items,values,keys} (ensure_list()). By default, 2to3 blindly does list(dict.{items,values,keys}()) which is not acceptable from performances point of view. With my2to3, this will be possible to handle such case automatically. * Replace cStringIO.StringIO() by six.moves.cStringIO() (a module alias for cStringIO.StringIO() on py2 and io.StringIO() on py3). * Use six.text_type which maps to unicode() on py2 and str() on py3. This also makes a clearer difference between text and binary strings. * Replace map()/filter() with lambda function by list comprehension (this has the benefit to avoid casting to list for py3 as it returns iterators).
-
- 02 Jul, 2021 1 commit
-
-
Jérome Perrin authored
It seems this never worked, it was comparing a string received from the client with a number from the session.
-
- 29 Apr, 2021 1 commit
-
-
Aurel authored
-
- 01 Jul, 2015 1 commit
-
-
Kazuhiko Shiozaki authored
CaptchaField: set no-store cache-control header to be consistent with our caching policy manager configuration.
-
- 04 Sep, 2014 1 commit
-
-
Gabriel Monnerat authored
-
- 28 Oct, 2013 1 commit
-
-
Arnaud Fontaine authored
Before, the field value cache was only invalidated on the node where a field has been modified, so similarly to reset of ZODB Components, implement synchronization on all nodes through ZODB Cache Cookie.
-
- 07 Jan, 2013 1 commit
-
-
Kazuhiko Shiozaki authored
-
- 29 Feb, 2012 1 commit
-
-
Tatuya Kamada authored
Stop assignment into the instance variable when CaptchaField.render() is called.
-
- 17 Oct, 2011 1 commit
-
-
Julien Muchembled authored
Checked following occurrences in comments: - "Python 2.[456]" - "Zope 2.[891]" - "BBB" - "BACK" Checked uses of: - email, hashlib, numpy & tarfile (modules) - ImportError - string.Template - suppress_events (parameter of _setObject) Excluded: - some forked modules (MailTemplates, PortalTransforms...) - some i18n compatibility code
-
- 20 Jun, 2011 1 commit
-
-
François-Xavier Algrain authored
Implement https to get the images Some browser alert user on external http when browse on https)
-
- 20 May, 2011 2 commits
-
-
Ivan Tyagov authored
-
Ivan Tyagov authored
-
- 18 May, 2011 1 commit
-
-
Ivan Tyagov authored
proper cache plugin) rather than local dict.
-
- 17 May, 2011 1 commit
-
-
Ivan Tyagov authored
-
- 05 Apr, 2010 1 commit
-
-
Tatuya Kamada authored
Accessing self.values[property_id] skips all TALES/override computations, only do it for properties that are set by the Captcha Provider. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@34286 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 27 Jan, 2010 1 commit
-
-
Aurel authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@32007 20353a03-c40f-0410-a6d1-a30d3c3de9de
-