Commit graph

10 commits

Author SHA1 Message Date
Michael 56f8adcb80 Merge remote-tracking branch 'upstream/2021.12-rc' into api-fixes 2021-11-30 19:07:24 +00:00
Philipp Holzer f580d8e5c0 extract "BaseApi::checkDefaults()" method for later usage 2021-11-30 01:07:57 -05:00
Michael 6bd9c9f496 Merge remote-tracking branch 'upstream/2021.12-rc' into api-fixes 2021-11-29 12:52:00 +00:00
Hypolite Petovan cd63533e2c Fix remaining references to BaseModule->parameters 2021-11-29 07:24:32 -05:00
Michael 222b35684d API: Added more functions, fixed function names 2021-11-28 13:34:00 +00:00
Hypolite Petovan 9cc675233d Add a second parameter to BaseApi::getRequest to enable API tests 2021-11-27 18:38:09 -05:00
Philipp Holzer 537b74f307
Inherit ApiResponse from Response 2021-11-27 12:40:54 +01:00
Philipp Holzer 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 Holzer cca1be21a3
Fixed static leftovers from #10975 2021-11-14 23:49:07 +01:00
Michael 66db55f0cd
Some more API functions moved 2021-11-14 23:21:54 +01:00