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
Hypolite Petovan
e1d6de757f
Add expected second parameter to BaseApi::getRequest in a few put() methods
2021-12-03 18:00:54 -05:00
Philipp
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
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
5879535822
Switch static::$parameters
to $this->parameters
2021-11-14 23:49:07 +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
2a440c0bae
Use "checkAllowedScope" instead of "login"
2021-06-08 12:00:22 +00:00
Michael
11c8dfe73a
Unified request for uid
2021-06-08 08:28:14 +00:00
Michael Vogel
1ca58968f2
Apply suggestions from code review
...
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2021-05-29 14:32:31 +02:00
Michael
97356ed617
API: Unified request parameter handling
2021-05-28 06:10:32 +00:00
Michael
e3d227f3c9
API: Parameter cleanup
2021-05-19 06:18:42 +00:00
Michael
49207a8624
Added scope check
2021-05-16 07:37:11 +00:00
Michael
3aa883f1e3
API: List handling, dummy endpoints
2021-05-13 21:15:32 +00:00
Michael
a696b7f427
Renamed functions
2021-05-09 18:44:08 +00:00
Michael
5bb5c44bd9
API: added account related endpoints
2021-05-09 09:35:51 +00:00