Michael
89e7420237
Friendica copyright changed from 2023 to 2034
2024-01-02 20:57:26 +00:00
Hypolite Petovan
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
Philipp Holzer
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 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
489cd0884a
Make BaseModule methods dynamic
2021-11-14 23:49:06 +01:00
Philipp Holzer
714f0febc4
Replace $parameters
argument per method with static::$parameters
2021-11-14 23:49:05 +01:00
Philipp Holzer
5bfcc8b91c
Transform ApiResponse::unspported() into dynamic method
2021-11-12 20:07:05 +01:00
Philipp Holzer
319f91301d
Move API Response methods into an own class to make them mockable
2021-11-12 19:52:01 +01:00
Michael
432206bc5b
Use router constants
2021-07-30 06:19:02 +00:00
Michael
6236870aa4
Add all required HTTP methods
2021-05-08 09:14:19 +00:00
Balázs Úr
054c301ef0
Update copyright
2021-03-29 08:40:20 +02:00
Michael Vogel
615eece22f
Update src/Module/Api/Mastodon/Unimplemented.php
...
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2020-11-26 14:35:06 +01:00
Michael
db5cd6e66c
API: Mastodon endpoints added as "unimplemented"
2020-11-26 07:02:31 +00:00