- 23 Dec, 2016 28 commits
-
-
Vincent Pelletier authored
-
Kazuhiko Shiozaki authored
-
Kazuhiko Shiozaki authored
-
Kazuhiko Shiozaki authored
-
Kazuhiko Shiozaki authored
-
Kazuhiko Shiozaki authored
This adds a new portal type category, "login", and corresponding getPortalLoginTypeList portal-level getter. Now that a user can have multiple logins, create_user_action becomes always available.
-
Vincent Pelletier authored
In addition to ERP5 Login-based authentication and enumeration support, reserve special Zope users.
-
Vincent Pelletier authored
And simplify.
-
Kazuhiko Shiozaki authored
patches/DCWorkflow: use 'user/getIdOrUserName' as workflow actor expression instead of 'user/getUserName'. so that ID is used for ERP5 user case, that should never change, and User Name is used for system users like Anonymous User or System Processes, without changing all workflow definitions.
-
Kazuhiko Shiozaki authored
so that getId() is used for ERP5 users and getUserName() is used for special users like Anonyous User or System Processes whose id is None.
-
Vincent Pelletier authored
-
Vincent Pelletier authored
-
Vincent Pelletier authored
To prepare for moving user id to a different property. Mostly replacing getReference on Persons with Person_getUserId, and catalog searches with PAS API when it is meant to search for a user and not really a person by reference.
-
Vincent Pelletier authored
-
Kazuhiko Shiozaki authored
Because unit tests were used to choosing a login and setting a password, making them use such method seems easier than adapting them to use the existing "login" method, which really works by user id and not by login.
-
Vincent Pelletier authored
-
Kazuhiko Shiozaki authored
-
Vincent Pelletier authored
-
Kazuhiko Shiozaki authored
-
Kazuhiko Shiozaki authored
use getId() instead of getUserName() where user is supposed to be neither Anonyous User nor System Processes.
-
Kazuhiko Shiozaki authored
-
Kazuhiko Shiozaki authored
-
Kazuhiko Shiozaki authored
-
Kazuhiko Shiozaki authored
-
Kazuhiko Shiozaki authored
-
Kazuhiko Shiozaki authored
-
Vincent Pelletier authored
Verify there is a single line per use. Test summary lines on per-category level. Always compare use by uid available on lines, not by fetching a random document on each aggregate line.
-
Vincent Pelletier authored
Facilitates pinpointing faulty related key declarations.
-
- 22 Dec, 2016 2 commits
-
-
Sebastien Robin authored
-
Sebastien Robin authored
Also by default this user will have random password
-
- 21 Dec, 2016 6 commits
-
-
Vincent Pelletier authored
Should improve indexation performance ever so slightly.
-
Vincent Pelletier authored
Also, stop passing ignored "spec" parameter.
-
Vincent Pelletier authored
-
Vincent Pelletier authored
Drop overly descriptive comments. Simplify code. Fix coding style.
-
Vincent Pelletier authored
Backward compatibility was not implemented everywhere, and it is masking bugs: not all parameters were provided to these ZSQLMethods, which can cause all sorts of bugs and performance issues because of DTML defaulting to acquisition context for missing arguments. Drop this overcomplex code.
-
Vincent Pelletier authored
-
- 20 Dec, 2016 4 commits
-
-
Tristan Cavelier authored
by adding Base_downloadWithCors that acts like Base_download but adds CORS headers according to Base_prepareCorsResponse.
-
Tristan Cavelier authored
By using Event_generateReference from erp5_crm /reviewed-on !214
-
Vincent Pelletier authored
Allows accessing any catalog column after parent relation, instead of only pre-configured columns. Allows reverse relation lookup (for the non-parent part of the relation, as child relationship is not supported). Also, drop now-redundant related keys.
-
Vincent Pelletier authored
Simplifies extension. Also, factorise constants a bit.
-