Philipp
322b7c856c
Merge pull request #11129 from urbalazs/copyright-2022
...
Update copyright
2022-01-02 09:45:35 +01:00
Balázs Úr
e56a53647b
Update copyright
2022-01-02 08:27:47 +01:00
47e9aa6338
API: Fix for OAuth endpoints that mustn't be authorized
2021-12-17 15:25:04 +00:00
0a3026abce
Issue 11101: Fix API authentification
2021-12-17 07:04:52 +00:00
2e4d654c0a
Make $_REQUEST processing independent of sub-calls
...
- Move HTTPInputData::process() into App::runFrontend()
- Pass $_REQUEST (including processed Input) to every Module method
- Delete $_POST parameters at Module post() calls because of $_REQUEST
2021-11-30 01:07:58 -05:00
f580d8e5c0
extract "BaseApi::checkDefaults()" method for later usage
2021-11-30 01:07:57 -05:00
9cc675233d
Add a second parameter to BaseApi::getRequest to enable API tests
2021-11-27 18:38:09 -05:00
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
489cd0884a
Make BaseModule methods dynamic
2021-11-14 23:49:06 +01:00
714f0febc4
Replace $parameters
argument per method with static::$parameters
2021-11-14 23:49:05 +01:00
322f0b3ecf
Cleanup Mastodon Factories
2021-06-20 13:25:45 +02:00
c05c447d0f
Avoid warning "array_merge(): Expected parameter 2 to be an array, null given"
2021-05-29 22:48:06 +00:00
e5c1b90668
API: Reworked request parameter handling
2021-05-18 19:26:46 +00:00
49207a8624
Added scope check
2021-05-16 07:37:11 +00:00
b18073d5a8
Repurposed OAuth frontend handling, store the scope
2021-05-13 14:58:55 +00:00
7975bc244d
Refine OAuth flow
2021-05-13 11:26:56 +00:00
8a5560ec8f
Simplified null check
2021-05-12 12:40:45 +00:00
c22846339a
Improved error reporting
2021-05-12 05:30:21 +00:00
74f3c885bf
use "random_bytes" instead of "openssl_random_pseudo_bytes"
2021-05-11 13:12:12 +00:00
82003bbe47
Login prototype
2021-05-11 06:30:20 +00:00
6644d117f6
Indentions
2021-05-09 22:29:04 +00:00
585d283ff9
Preparation for Oauth client registration
2021-05-09 22:23:21 +00:00