Commit Graph

23 Commits

Author SHA1 Message Date
Michael 9414edd64a API: Functionality moved to new places 2022-01-06 07:34:16 +00:00
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
Philipp dbfe918a8b
Fix tests 2021-12-05 20:34:01 +01:00
Philipp 6b03ee2922
Re enable UpdateProfile test 2021-12-05 20:34:00 +01:00
Michael 03d2160690 Removed second ppst parameter 2021-11-30 21:41:10 +00:00
Michael 56f8adcb80 Merge remote-tracking branch 'upstream/2021.12-rc' into api-fixes 2021-11-30 19:07:24 +00:00
Philipp a88cc8d5c8 Replace `DI::apiResponse()->exit()` with `$this->response->exit()` 2021-11-30 01:08:00 -05:00
Michael 71f7679204 Fix function name 2021-11-28 21:40:38 +00:00
Philipp 056702c1e0
Fixing wrong inherited methodsyntax 2021-11-27 19:58:24 +01:00
Philipp 537b74f307
Inherit `ApiResponse` from `Response` 2021-11-27 12:40:54 +01: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
Michael 299d70ca1d Standards 2021-11-24 23:31:10 +00:00
Michael 260ee13d07 Standards 2021-11-24 23:24:35 +00:00
Michael 242fd646d2 Formatting 2021-11-24 23:06:28 +00:00
Michael c4d52feea5 Many API calls moved 2021-11-24 23:03:34 +00:00
Michael 1f79d25ffc Replaced "api_date" 2021-11-18 21:43:13 +00: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
Philipp ea0f41ecf0
Transform ApiResponse::exit() into dynamic method 2021-11-12 20:03:27 +01:00
Philipp 319f91301d
Move API Response methods into an own class to make them mockable 2021-11-12 19:52:01 +01:00
Michael 1518ad33ad API: Classes moved to the correct places according to their origin 2021-11-10 07:31:39 +00:00