- 20 Apr, 2017 2 commits
-
-
Jérome Perrin authored
just importing this test would break google login XXX I did not check test result. I'm just being paranoïd
-
Gabriel Monnerat authored
The interaction should also be triggered if a Calendar Exception is changed.
-
- 17 Apr, 2017 3 commits
-
-
Jérome Perrin authored
If exception happens when contacting google server, just propagate it, PAS will handle it.
-
Jérome Perrin authored
fixup! erp5_oauth_google_login: Set access_type as offline to be possible refresh token in background and automatically refreshing token was not working because of incorrect API usage
-
Jérome Perrin authored
Happens when user has a __ac_google_hash cookie but token cannot be found in token storage. In that case login wouldn't be possible anyway, but we should not pollute the logs.
-
- 14 Apr, 2017 1 commit
-
-
Jérome Perrin authored
-
- 13 Apr, 2017 9 commits
-
-
Jérome Perrin authored
-
Jérome Perrin authored
-
Jérome Perrin authored
Base.edit has this feature of not actually modifying the properties when the new property value is same as the current one, so when we do `movement.edit(price=x)`, this will cause an implicit getPrice. As price lookup is a bit slow, do not lookup price in this case.
-
Jérome Perrin authored
-
Jérome Perrin authored
-
Jérome Perrin authored
-
Jérome Perrin authored
tell business template to keep z_catalog_stock_list when upgrading erp5_calendar
-
Jérome Perrin authored
Because CatalogTemplateItem uses a special preinstall method, their way of computing modified objet did not support template_keep_path_list. To support template_keep_path_list, we must give priority to ObjectTemplateItem.preinstall, because BaseTemplateItem.preinstall does not work with path.
-
Jérome Perrin authored
-
- 31 Mar, 2017 2 commits
-
-
Gabriel Monnerat authored
Google Logins are created manually in the backend instead of automatically through Base_createOAuth2User
-
Jérome Perrin authored
If updating business templates brings new tables that are required for catalog / alarm system to work, then we may not be able to execute the post upgrade alarm, so TemplateToolTableConsistencyConstraint won't be able to update the schema. (cherry picked from commit 4b15663c)
-
- 29 Mar, 2017 1 commit
-
-
Gabriel Monnerat authored
erp5_oauth_google_login: Set access_type as offline to be possible refresh token in background and automatically access_type as offline indicates whether your application can refresh access tokens when the user is not present at the browser. This value instructs the Google authorization server to return a refresh token and an access token the first time that your application exchanges an authorization code for tokens state. Also the code was simplied to use oauth2client rather than http requests directly use persistent cache instead of ram cache to lose token if we restart all nodes
-
- 21 Feb, 2017 1 commit
-
-
Jérome Perrin authored
-
- 20 Feb, 2017 5 commits
-
-
Jérome Perrin authored
No need to use a opaque user id. If we use mail address, to enable google login for an existing user, we just have to "create google login with email address and validate google login".
-
Jérome Perrin authored
-
Jérome Perrin authored
A more apporpriate place would be a dedicated "signup using oauth" page, relying on erp5_credential for the actual user creation.
-
Jérome Perrin authored
-
Jérome Perrin authored
ERP5ExternalOauth2ExtractionPlugin: document a bit how this plugin and ERP5LoginUserManager interact
-
- 16 Feb, 2017 1 commit
-
-
Jérome Perrin authored
Merge remote-tracking branch 'gabriel/support_google_login' into master_calendar_wip_patches_extend_security
-
- 06 Feb, 2017 3 commits
-
-
Gabriel Monnerat authored
-
Gabriel Monnerat authored
erp5_oauth_google_login: Zope user should not see this action because to create a Google login is required that a person in ERP5 exists
-
Gabriel Monnerat authored
We are expecting user_id instead of username
-
- 05 Feb, 2017 1 commit
-
-
Gabriel Monnerat authored
erp5_oauth_google_login: s/erp5_username/user_id/g to be with consistent with Base_getUserValueByUserId
-
- 03 Feb, 2017 1 commit
-
-
Gabriel Monnerat authored
ERP5ExternalOauth2ExtractionPlugin: Fix query to find logins properly. It should be squashed in 4089f516
-
- 02 Feb, 2017 10 commits
-
-
Gabriel Monnerat authored
-
Gabriel Monnerat authored
login_form: Use ERP5Site_getAvailableOAuthLoginList to know if google login is supported or not. With this, we can extend to other oauth easily
-
Gabriel Monnerat authored
-
Gabriel Monnerat authored
erp5_credential: Add link to login in ERP5 with Google Account and use zocial.min.css to display it nicely
-
Gabriel Monnerat authored
erp5_xhtml_style: Add link to login in ERP5 with Google Account and use zocial.min.css to display it nicely Add margin-top to display zocial buttons not too close from other buttons or links
-
Gabriel Monnerat authored
-
Gabriel Monnerat authored
Google Login follow the same implementation of ERP5 Login(subobject of Person) and with an action in preferences, the user can add Google Login to his person.
-
Gabriel Monnerat authored
-
Gabriel Monnerat authored
-
Jérome Perrin authored
instead of implementing this logic in ZSQL's DTML
-