- 17 Oct, 2022 2 commits
-
-
Yusei Tahara authored
-
Yusei Tahara authored
-
- 13 Oct, 2022 1 commit
-
-
Jérome Perrin authored
ValidationFailed is now a "real" class from Products.ERP5Type.Core.Workflow
-
- 12 Oct, 2022 1 commit
-
-
Xiaowu Zhang authored
-
- 11 Oct, 2022 1 commit
-
-
Xiaowu Zhang authored
-
- 07 Oct, 2022 2 commits
-
-
Jérome Perrin authored
See merge request !1676
-
Jérome Perrin authored
this only supported http and never supported https, probably nobody is using this and it makes porting to python3 more complicated
-
- 06 Oct, 2022 3 commits
-
-
Jérome Perrin authored
we had a patch to close <input/> elements, but with HTML5 this is no longer recommended.
-
Jérome Perrin authored
template_keep_path_list, template_keep_workflow_path_list and template_keep_last_workflow_history_only_path_list were not sorted for no reason
-
Jérome Perrin authored
The _getOrderedList approach was not ideal, because the properties were saved when being displayed, so the typical workflow was: 1. enter the property as non sorted 2. click save (property is saved as non sorted) 3. the page displays the property again as sorted 4. click save again so that the property is saved as sorted by sorting the properties at save time, step 1 is enough This change back the accessors to be "standard" accessors, ie. returning lists, like every other list accessors, so a few tests and a few scripts had to be adjusted for the new API.
-
- 05 Oct, 2022 14 commits
-
-
Romain Courteaud authored
Lazy loading img are also not loaded, which speed up page rendering.
-
Jérome Perrin authored
-
Vincent Pelletier authored
This should evolve to become a browser-side OAuth2 client.
-
Vincent Pelletier authored
So every new instance is able to use self-contained oauh2 authentication. In turn, this triggers atomated migration of a few portal types, which cause the coding style tests to fail. So commit these as well.
-
Vincent Pelletier authored
Replace CookieCrumbler's cookie with OAuth2 tokens: - add the notion of authenticated sessions: period from a login action to either a logout or the expiration of tokens - avoids session fixation (knowing one token does not grant near-permanent access to the session) - reduces the per-request cost of authentication (removes the need to compute user's groups, and the need to cache these groups for a fixed period).
-
Vincent Pelletier authored
-
Vincent Pelletier authored
Also, to reliably open login_form, log out.
-
Vincent Pelletier authored
-
Vincent Pelletier authored
-
Vincent Pelletier authored
-
Vincent Pelletier authored
-
Vincent Pelletier authored
-
Vincent Pelletier authored
-
Jérome Perrin authored
This is a simplified version that works well enough for python 2. For Zope 4 and python 3 we are considering reusing publish.
-
- 04 Oct, 2022 1 commit
-
-
Kazuhiko Shiozaki authored
-
- 01 Oct, 2022 4 commits
-
-
Kazuhiko Shiozaki authored
-
Kazuhiko Shiozaki authored
-
Kazuhiko Shiozaki authored
-
Kazuhiko Shiozaki authored
-
- 30 Sep, 2022 11 commits
-
-
Kazuhiko Shiozaki authored
-
Kazuhiko Shiozaki authored
-
Kazuhiko Shiozaki authored
-
Kazuhiko Shiozaki authored
-
Kazuhiko Shiozaki authored
-
Kazuhiko Shiozaki authored
-
Kazuhiko Shiozaki authored
-
Kazuhiko Shiozaki authored
-
Vincent Pelletier authored
Pylint, at least our current version (still 1.4.4 as some more recent versions are apparently much slower), may choke on some imports on the first validation since Zope was started, only to later succeed. Hypothesis is that it fails to analyse some imported modules, leaving empty shells behind in some cache, making a second test avoid the error. Here is one such error: File "eggs/astroid-1.3.8-py2.7.egg/astroid/bases.py", line 86, in cache_generator for result in generator: File "eggs/astroid-1.3.8-py2.7.egg/astroid/bases.py", line 327, in wrapped for res in _func(node, context, **kwargs): File "eggs/astroid-1.3.8-py2.7.egg/astroid/bases.py", line 351, in wrapper for node in func(*args, **kwargs): File "eggs/astroid-1.3.8-py2.7.egg/astroid/inference.py", line 190, in infer_callfunc for callee in self.func.infer(context): File "eggs/astroid-1.3.8-py2.7.egg/astroid/bases.py", line 86, in cache_generator for result in generator: File "eggs/astroid-1.3.8-py2.7.egg/astroid/bases.py", line 327, in wrapped for res in _func(node, context, **kwargs): File "eggs/astroid-1.3.8-py2.7.egg/astroid/bases.py", line 351, in wrapper for node in func(*args, **kwargs): File "eggs/astroid-1.3.8-py2.7.egg/astroid/inference.py", line 247, in infer_getattr for obj in owner.igetattr(self.attrname, context): File "eggs/astroid-1.3.8-py2.7.egg/astroid/bases.py", line 187, in igetattr context.push((self._proxied, name)) File "eggs/astroid-1.3.8-py2.7.egg/astroid/raw_building.py", line 360, in _set_proxied return _CONST_PROXY[const.value.__class__] KeyError: <type 'CompiledFFI'>
-
Vincent Pelletier authored
The last navigation step is intended to pull an anonymous-accessible document. ERP5Site is too magic a document to have a representative behaviour.
-
Jérome Perrin authored
These are useless, git complain about them and they cause unnecessary diffs when having editor configured to automatically remove spaces at end of lines, so let's do a big commit to remove them all at once See merge request nexedi/erp5!1672
-