6a2ca1a6b6
Move jsonError out of Factory\Api\Mastodon\Error->Unauthorized
2023-10-11 09:44:03 -04:00
9e71610711
Make BaseApi->checkAllowedScope into an object method
...
- It isn't called from static contexts anymore
2023-10-11 09:43:57 -04:00
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
1874a32728
Happy New Year 2023!
2023-01-01 09:36:24 -05:00
Balázs Úr
e56a53647b
Update copyright
2022-01-02 08:27:47 +01: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
6dc2988c0f
Return the application fields
2021-06-10 08:05:21 +00:00
2a440c0bae
Use "checkAllowedScope" instead of "login"
2021-06-08 12:00:22 +00:00
fcc18de9c5
Unneeded spaces removed
2021-05-19 16:09:09 +00:00
ab96e694df
Removed unused use
2021-05-19 16:07:37 +00:00
1c7d1c7c47
New endpoint "verify_credentials" added
2021-05-19 09:35:08 +00:00