3ebd19a8cf
remove app/config/config.php
2018-06-18 20:11:50 +02:00
d490e928d9
public/index.php: skip debug code here. also call Httpcb\Bootstrap::prepare()
2018-06-18 20:11:38 +02:00
2e7c67ba8a
app/library/Bootstrap.php: use debugger if configured.
2018-06-18 20:11:09 +02:00
9dd712045a
app/library/Services.php: adding debugger service.
2018-06-18 20:03:21 +02:00
e85d935734
Create a Bootstrap class and move bootstrap code from public/index.php
2018-06-18 17:42:30 +02:00
b3254e1f6c
app/library/Services.php: database: no need for $di in closure.
2018-06-18 17:39:42 +02:00
f9050181d0
app/library/Bootstrap.php: revove "Application" and add "Services" class with the services definitions.
...
Had some wierd problem with closures an $this when being defined in one class and used in another
(defined in Application, used in Phalcon\Di\FactoryDefault).
So we move all of this to "Services" class that directly extends FactoryDefault DI.
And therefore, we don't need a Application class anymore.
2018-06-18 16:46:40 +02:00
e591c79133
update composer.lock
2018-06-18 11:22:05 +02:00
683ebae35b
public/index.php: use new Application class and remove services.php
2018-06-17 12:55:56 +02:00
38950d8244
adding app/library/Application.php
2018-06-17 12:55:56 +02:00
a68b5bc4aa
app/views/error/error.volt: adding a funny message.
2018-06-13 21:58:21 +02:00
e9c6d1c863
app/views/error/show404.volt: adding some weird message.
2018-06-13 21:52:45 +02:00
f82382fdaa
app/listeners/DispatchListener.php: need "use Exception" to make php know that i want the base class without any namespaces.
2018-06-13 21:33:12 +02:00
daa8803f5e
Merge branch '10-user-confirm-email-when-creating-new-password'
2018-06-12 23:51:52 +02:00
a2abf940b5
app/controllers/UserController.php: in settingsAction() send the activation email :)
2018-06-12 23:51:04 +02:00
9432f189aa
adding app/templates/mail/password_activation.volt
2018-06-12 23:50:39 +02:00
823f6d2e3f
app/config/services.php: adding template service.
2018-06-12 23:32:03 +02:00
eb62be5d86
Merge branch '16-email-api' into 10-user-confirm-email-when-creating-new-password
2018-06-12 23:04:32 +02:00
313ba55098
Merge branch '15-settings-oauth-connect-disconnect'
2018-06-12 23:04:01 +02:00
97e00c0c28
app/config/services.php: adding sendgrid
2018-06-12 21:57:26 +02:00
7b9ae5c381
app/config/conf.local.sample.yml: adding sendgrid.
2018-06-12 21:57:07 +02:00
5cf31430c7
app/controllers/UserController.php: adding activationLinkAction()
2018-06-12 00:34:49 +02:00
b6074cf3ef
app/controllers/UserController.php: in settingsAction() create password link for new passwords.
2018-06-12 00:34:22 +02:00
552af58c7f
app/config/services.php: adding "activation-link" route.
2018-06-12 00:33:10 +02:00
f312ae83ce
adding app/models/Data/PasswordLink.php
2018-06-12 00:31:55 +02:00
fec9e5e656
app/library/Mvc/Model/Behavior/RandomId.php: add support for extending the expression used to find unique rows.
2018-06-12 00:31:55 +02:00
58377273cc
migration: adding password_link table.
2018-06-12 00:31:54 +02:00
a25261cd13
composer: adding sendgrid.
2018-06-11 22:12:47 +02:00
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
b925752021
app/controllers/UserController.php: fire onOAuthDisconnect() event.
2018-06-10 22:52:14 +02:00
f8018c6f73
app/listeners/ActivityLog.php: adding onOAuthDisconnect()
2018-06-10 22:51:57 +02:00
3172f8d4b1
app/controllers/UserController.php: fix provider name.
2018-06-10 22:42:03 +02:00
4d073468ca
app/controllers/AuthController.php: fire onOAuthConnected event.
2018-06-10 22:40:07 +02:00
c270bfab0e
app/listeners/ActivityLog.php: adding onOAuthConnected() event handler.
2018-06-10 22:39:47 +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
b293502774
app/config/services.php: remove unused route.
2018-06-10 20:55:30 +02:00
95190aa7ab
app/views/user/settings.volt: link to the right place for oauth connect.
2018-06-10 20:55:30 +02:00
adb98241c7
app/controllers/AuthController.php: in oauthAction() if we have an authed user then we should connect accounts.
2018-06-10 20:55:29 +02:00
29e42c7641
app/controllers/UserController.php: adding oauthDisconnectAction()
2018-06-10 20:55:29 +02:00
9ded2f36ad
app/views/user/settings.volt: adding social sign-in section
2018-06-10 20:55:29 +02:00
0db9f91a3e
app/config/services.php: adding routes for oauth connect/disconnect
2018-06-10 20:55:29 +02:00
4c100d23b3
app/models/Data/User.php: adding getSocialLinks()
2018-06-10 20:55:29 +02:00
ddf18fedb9
Merge branch '9-improve-oauth' into 'master'
...
Resolve "Improve OAuth"
Closes #9
See merge request pnx/httpcb!9
2018-06-07 22:29:36 +00: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