Hypolite Petovan
9e71610711
Make BaseApi->checkAllowedScope into an object method
...
- It isn't called from static contexts anymore
2023-10-11 09:43:57 -04:00
Hypolite Petovan
81279dad9e
Move System::jsonExit to BaseModule->jsonExit
...
- This will ensure headers set in BaseModule->run will be carried in jsonExit scenarios
- Deprecate jsonExit() method in Core\System
2023-09-24 07:08:15 -04:00
Hypolite Petovan
1874a32728
Happy New Year 2023!
2023-01-01 09:36:24 -05:00
Michael
f31e617f5d
Contact suggestions are now cached
2022-11-30 05:59:27 +00:00
Michael
8879d93aad
Issue 12266: APISuggestions should now work
2022-11-26 02:08:34 +00: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
2a440c0bae
Use "checkAllowedScope" instead of "login"
2021-06-08 12:00:22 +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
d842a4ff87
Suggestions are now supported as well
2021-05-08 11:03:50 +00:00