Commit Graph

38 Commits

Author SHA1 Message Date
Bofh 4590975b96 Get user profile data into $user variable 2021-11-27 03:04:22 +01:00
Bofh 9745fe5a9f Implement logout system 2021-11-27 02:52:54 +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 40374fa3a7 Add migrations 2021-11-26 23:49:17 +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 49016345da Add docker image to support Apache rewrites and PSQL 2021-11-26 01:03:07 +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 a549dff9d6 Fix typo in config.php.example 2021-11-25 17:19:17 +01:00
Bofh 96d6b5f083 hres and hres_json for responses 2021-11-25 16:43:35 +01:00
Bofh 3ad1d22f46 Add API to get Mastodon new Authorization OAUTH URL 2021-11-25 15:53:32 +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 edd8ffb317 Added base signup page 2021-11-25 13:34:40 +01:00
Bofh f243b08ec9 Added routing system (/user/@ and /@) + custom css 2021-11-25 13:26:50 +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
Bofh e6bf477386 Added skeleton css lib 2021-11-24 21:49:42 +01:00
Bofh 1e4426c5d1 Add ENV=dev on docker-compose 2021-11-24 21:48:01 +01:00
Bofh fd491cae8c Add docker-compose for dev 2021-11-24 20:49:27 +01:00
Bofh e0ec06c197 Actualizar 'README.md' 2021-11-24 18:30:11 +00:00
Bofh 363096021e More explanations 2021-11-24 18:23:08 +00:00
Bofh 75ba22c3ae Actualizar 'README.md' 2021-11-24 15:06:36 +00:00
Bofh 277763b5b6 Initial commit 2021-11-24 14:54:32 +00:00