Michael
89e7420237
Friendica copyright changed from 2023 to 2034
2024-01-02 20:57:26 +00:00
Hypolite Petovan
1b9ec3a214
Rename BaseApi->logErrorAndJsonExit to logAndJsonError to better match the functionality
...
- Also it's shorter and we're paying by the character
2023-10-11 09:44:03 -04:00
Hypolite Petovan
7486ebdc10
Move jsonError out of Factory\Api\Mastodon\Error->UnprocessableEntity
2023-10-11 09:44:03 -04:00
Michael
61af2e8006
Issue 13020: Fix OAuth connection with Buffer
2023-07-23 20:05:10 +00:00
Hypolite Petovan
1874a32728
Happy New Year 2023!
2023-01-01 09:36:24 -05:00
Philipp
eecc456e0c
UserSession class [5] - Refactor src/Module/ files with DI
2022-10-20 22:59:39 +02:00
Michael
ae6d67ed1f
old boot.php functions replaced in src/module (3)
2022-10-19 09:14:24 -04:00
Balázs Úr
e56a53647b
Update copyright
2022-01-02 08:27:47 +01:00
Philipp
f580d8e5c0
extract "BaseApi::checkDefaults()" method for later usage
2021-11-30 01:07:57 -05:00
Hypolite Petovan
9cc675233d
Add a second parameter to BaseApi::getRequest to enable API tests
2021-11-27 18:38:09 -05:00
Philipp
8bdd90066f
Make BaseModule
a real entity
...
- Add all dependencies, necessary to run the content (baseUrl, Arguments)
- Encapsulate all POST/GET/DELETE/PATCH/PUT methods as protected methods inside the BaseModule
- Return Module content ONLY per `BaseModule::run()` (including the Hook logic there as well)
2021-11-27 12:40:36 +01:00
Philipp
489cd0884a
Make BaseModule methods dynamic
2021-11-14 23:49:06 +01:00
Philipp
714f0febc4
Replace $parameters
argument per method with static::$parameters
2021-11-14 23:49:05 +01:00
Michael
5e22704f7e
API: Added OAuth revoke, adding documentation to parameters
2021-06-16 19:24:44 +00:00
Michael
0b9c934cad
Simplify the code
2021-06-10 07:02:06 +00:00
Michael
d917ed58a8
API: Tests with various clients, small fixes
2021-06-10 06:26:34 +00:00
Michael
acbe9ebf9e
API: New classes for OAuth and basic auth
2021-06-08 06:32:24 +00:00
Michael
a5c8c4d8b7
Fixes notice
2021-05-22 15:41:25 +00:00
Michael
e3d227f3c9
API: Parameter cleanup
2021-05-19 06:18:42 +00:00
Michael
3aa883f1e3
API: List handling, dummy endpoints
2021-05-13 21:15:32 +00:00
Michael
b18073d5a8
Repurposed OAuth frontend handling, store the scope
2021-05-13 14:58:55 +00:00
Michael
7975bc244d
Refine OAuth flow
2021-05-13 11:26:56 +00:00
Michael
9125d296a1
Improved error messages
2021-05-12 14:00:15 +00:00
Michael
8a5560ec8f
Simplified null check
2021-05-12 12:40:45 +00:00
Michael
8dccb66dec
Display the application name
2021-05-12 12:19:15 +00:00
Michael
87f7e26638
Added documentation
2021-05-12 12:00:24 +00:00
Michael
a23d108fa7
Session variable needs to be removed afterwards
2021-05-12 06:51:59 +00:00
Michael
6ca42512e9
OAuth connections now have to be ackknowledged
2021-05-12 06:50:27 +00:00
Michael Vogel
e99117ac22
Update src/Module/OAuth/Authorize.php
...
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2021-05-12 03:53:40 +02:00
Michael
f5e98c8ecf
Redirect at login does work
2021-05-11 21:04:45 +00:00
Michael
a3d1423562
unused use
2021-05-11 06:33:18 +00:00
Michael
82003bbe47
Login prototype
2021-05-11 06:30:20 +00:00