Commit Graph

33 Commits

Author SHA1 Message Date
Bofh ce2fa9ce9f Locale changes + some little design changes 2021-11-28 23:55:21 +01:00
Bofh ff59a48ee1 Added locales for login flow + some css improvements on /web 2021-11-28 19:39:30 +01:00
Bofh 697204fe7b Added logout button on profile menu 2021-11-28 19:25:28 +01:00
Bofh 684e169b70 Added modal system + added profile menu 2021-11-28 18:37:26 +01:00
Bofh 8ca3a6c051 Designing /web layout + user nav 2021-11-28 03:04:53 +01:00
Bofh 5f219304a2 Add a css loader on every async API call
TODO: maybe be able to select not to show it by arg?
2021-11-27 22:42:27 +01:00
Bofh 4f73dddc73 Finish mastodon login flow 2021-11-27 20:44:46 +01:00
Bofh 415becc496 Layouts and css for /login and /login/mastodon 2021-11-27 20:41:40 +01:00
Bofh 85af815d99 Changed hero and start messages 2021-11-27 15:12:22 +01:00
Bofh 4590975b96 Get user profile data into $user variable 2021-11-27 03:04:22 +01:00
Bofh 349ee5fa42 Add even more data to auth_more
We need to know the instance of the token to revoke it
2021-11-27 02:47:51 +01:00
Bofh adff3cc36f Add auth_more field for more authentication data needed 2021-11-27 02:45:18 +01:00
Bofh 418d4f3371 Refactor /signup to /login to be more clear
(Actually the signup and login process is the same)
2021-11-27 02:18:09 +01:00
Bofh a2f03869d1 Add cookie validation on base.php and include web/index.php if ok 2021-11-27 02:03:34 +01:00
Bofh f65402204e Solved bug or typo in oauth mastodon 2021-11-27 01:42:51 +01:00
Bofh 564f81d5d5 Removed mocks for oauth mastodon 2021-11-27 01:38:41 +01:00
Bofh bfc0bde05d Added session creation on Mastodon + Add migration 2021-11-27 01:36:34 +01:00
Bofh 77e398f253 Added check acct correct and exists on database (still TODO) 2021-11-26 01:40:43 +01:00
Bofh 498627051c Changed http code parameter order 2021-11-26 01:40:12 +01:00
Bofh 6171363041 Change database to a simple PDO object 2021-11-26 01:39:17 +01:00
Bofh c4745f0519 Implemented a default config system 2021-11-26 01:10:36 +01:00
Bofh ff33fd7bcf Join things together to postgres 2021-11-26 01:02:27 +01:00
Bofh 5282b5cabb Tigthen permissions + implement mocks for OAuth testing
* We are testing the OAuth final step
2021-11-25 20:52:46 +01:00
Bofh d9b0013329 Half-implemented OAuth system for Mastodon 2021-11-25 20:01:30 +01:00
Bofh 0b28014597 Added some base methods (utils) 2021-11-25 20:00:18 +01:00
Bofh b889e008a4 Change hardcoded DEV HOST 2021-11-25 19:18:00 +01:00
Bofh 96d6b5f083 hres and hres_json for responses 2021-11-25 16:43:35 +01:00
Bofh 6338397650 Added base methods + change l to bootstrap lr()
* Created resolve_instance function
2021-11-25 15:52:37 +01:00
Bofh 15751325be Added config system 2021-11-25 14:33:49 +01:00
Bofh 381a188082 Fixed bug REDIRECT_URL not exists + views base Layout 2021-11-25 13:54:55 +01:00
Bofh 077d030757 fix typo 2021-11-25 01:03:09 +01:00
Bofh 91f6dd2a8b Implemented locale system (without lang detection) 2021-11-25 01:01:05 +01:00
Bofh adda2114e5 Implement base env detection + simple templating 2021-11-24 21:50:30 +01:00