Archived
1
0
Fork 0
Commit graph

113 commits

Author SHA1 Message Date
e6290e7fdc app/views/callback/created.volt: fix icon. 2018-06-11 08:45:33 +02:00
0e3fb9a6e8 app/library/Mvc/Model/Behavior/RandomId.php; minor stuff. 2018-06-11 08:45:05 +02:00
df261d968e app/library/OAuth/Adapter/League.php: __construct() should trow the correct exception. 2018-06-10 22:02:25 +02:00
ba90c7190d adding app/library/OAuth/Adapter/Exception.php 2018-06-10 22:02:05 +02:00
cdf4a73c56 app/models/Data/User.php: remove github_user field. 2018-06-10 20:56:36 +02:00
3d5481ed80 dbmigrate: 20180607222058_user_remove_github_user.php 2018-06-08 00:22:40 +02:00
25d8e712e4 app/models/Data/User.php: add gitlab_id and google_id 2018-06-08 00:12:30 +02:00
22627a811c app/controllers/AuthController.php: in oauthAction() show flash message if account creation failed. 2018-06-08 00:12:05 +02:00
03a0fa3cb7 app/library/Auth.php: make loginOauth() return validation messages if User::save() fails. 2018-06-08 00:07:42 +02:00
d14741a171 app/models/Data/User.php: add uniqueness validation for username and email. 2018-06-08 00:07:05 +02:00
bbcf6d2644 app/library/Auth.php: in loginAuth() lookup by OAuth provider id. 2018-06-07 23:41:44 +02:00
643387b3f3 app/models/Data/User.php: adding createFromOAuthData() 2018-06-07 23:40:58 +02:00
d62914c764 app/models/Data/User.php: adding findFirstByOAuthID() 2018-06-07 23:27:13 +02:00
481c6c206e migration: 20180419133825_user_oauth_ids.php 2018-06-07 23:27:13 +02:00
72713308c4 app/library/OAuth/Adapter/League.php: make sure the exception class is found. 2018-06-07 23:27:13 +02:00
e7f1029d62 app/library/OAuth/Adapter/League.php: adding Google 2018-06-07 23:27:13 +02:00
fffe53c97d adding app/library/OAuth/UserData/Google.php 2018-06-07 23:27:13 +02:00
3d20c90360 app/library/Auth.php: in loginOauth() $email does not exist. 2018-06-07 23:26:53 +02:00
d81c1f4423 app/models/Data/User.php: fixing a bug with snapshots and new rows in beforeSave() 2018-06-07 23:23:58 +02:00
2efebfbfef app/models/Data/RequestMeta.php: in getBody() prettyprint some json :) 2018-04-19 13:45:47 +02:00
8a18d56b5f app/view/* change to font awesome icon names. 2018-04-11 20:44:41 +02:00
023bead0d9 app/library/ViewHelper/Icon.php: rewritten for Font Awesome 2018-04-11 20:44:15 +02:00
fcabc45602 adding Font Awesome JS files. 2018-04-11 20:42:11 +02:00
ee58c343e7 app/views/auth/index.volt: adding a gitlab button. 2018-04-09 00:52:40 +02:00
ab8ebbc093 less: adding the gitlab button 2018-04-09 00:52:17 +02:00
e62a93e021 adding app/library/OAuth/UserData/Gitlab.php 2018-04-09 00:07:11 +02:00
4042b36422 app/library/OAuth/Adapter/League.php: add support for non-standard providers. 2018-04-09 00:06:57 +02:00
52ea0c7531 app/config/services.php: in router, change /oauth/{strategy} to /login/{strategy} for oauth route. 2018-04-06 11:55:30 +02:00
deed1c5318 app/library/Auth.php: in loginOAuth() we pass a UserDataInterface now. 2018-04-06 11:55:30 +02:00
ef8e78084e app/controllers/AuthController.php: in oauthAction() use the new implementation of OAuth. 2018-04-06 11:55:30 +02:00
adfeb97f1a app/config/conf.local.sample.yml: update to reflect the new OAuth implementation. 2018-04-06 11:55:29 +02:00
f966cfb911 app/config/services.php: setup "oauth" using the new implementation 2018-04-06 11:55:29 +02:00
b3eb25d221 rename app/library/OAuth.php to app/library/OAuth/Client.php and change implementation to use Adapter classes. 2018-04-06 11:55:29 +02:00
21c869a06a adding app/library/OAuth/UserData classes (interface and Github implementation) 2018-04-06 11:52:29 +02:00
556a62b34b adding app/library/OAuth/Adapter classes (interface and League adapter) 2018-04-06 11:37:01 +02:00
08ad47caf7 app/controllers/AuthController.php: in oauthAction() do not show error message when in fact oauth succeeded. 2018-04-05 19:06:06 +02:00
a3ac12bc2d Merge branch '11-logg-user-actions' into 'master'
Resolve "Logg user actions."

Closes #11

See merge request pnx/httpcb!8
2018-04-05 15:39:51 +00:00
89d1edb131 app/assets/less/layout/navigation.less: some fixes with icons/text in dropdown menu. 2018-04-05 01:10:34 +02:00
16c8bf5c0c app/views/_templates/navigation.volt: adding activity link 2018-04-05 01:09:36 +02:00
bebb0ba5f9 app/models/Data/User.php: implement beforeSave() and trigger "user:onPasswordCreated" and "user:onPasswordChanged" 2018-04-05 00:19:11 +02:00
8061c674f4 app/models/Data/User.php: set default event manager from DI 2018-04-05 00:18:53 +02:00
a3c6ae4429 app/models/Data/User.php: keep snapshots. 2018-04-05 00:18:53 +02:00
ae6bf194b1 app/config/services.php: add default event manager to Auth. 2018-04-05 00:18:18 +02:00
b2ca9e3fba app/config/services.php: adding "eventsManager" 2018-04-05 00:18:18 +02:00
aab77e9608 app/library/Auth.php: fire events when users log in. 2018-04-05 00:18:17 +02:00
8666e3b707 adding app/listeners/ActivityLog.php 2018-04-05 00:18:17 +02:00
5890337179 app/controllers/UserController.php: adding activity action 2018-04-05 00:09:13 +02:00
3f99105588 adding app/models/Data/ActivityLog.php 2018-04-05 00:08:06 +02:00
05095a9c8e DB Migration: 20180401083402_create_activity_log.php 2018-04-04 23:57:49 +02:00
2b6da6453b Change form namespace to App\Form 2018-04-02 23:37:50 +02:00