Hypolite Petovan
642baa1f2a
Rename ApipResponse->exit* methods to better show their meaning
2023-09-24 07:08:16 -04:00
Hypolite Petovan
4f7740264e
Replace "group" with "circle" in the rest of the code
...
- Remaining mentions already mean "forum"
2023-05-27 22:01:45 -04:00
Hypolite Petovan
1874a32728
Happy New Year 2023!
2023-01-01 09:36:24 -05:00
Michael
9115ec5f0d
Adjust class references to the new location
2022-12-30 21:20:28 +00:00
Michael
018858934b
The priority is now a class constant
2022-10-17 05:49:55 +00:00
Hypolite Petovan
2cbc11403e
Fix parameter names before being passed to Model\Event::store
...
- Partial revert of 946db2ab45
2022-10-07 17:20:22 -04:00
Hypolite Petovan
946db2ab45
Normalize start_time and end_time parameter names in Friendica API event endpoints
2022-08-13 23:28:20 -04:00
pankraz
bd02340162
new event APIs
2022-08-13 23:28:19 -04:00
Michael
bf5c8a2c43
API: several fixes to the Twitter/Statusnet API
2022-02-25 19:16:40 +00:00
Philipp
c588b280d7
Fix all license header & be less aggressive
2022-01-07 00:35:28 +01: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
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
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
a6db8df92d
Using the "extension" parameter
2021-11-09 19:40:39 +00:00
Michael
fb6c3e2912
Simplify the output of api results
2021-11-09 06:42:59 +00:00
Hypolite Petovan
9935e8e711
Remove event.adjust field
...
- It was confusing and introduced complexity that wasn't worth the unclear gain
2021-10-03 13:42:32 -04:00
Michael
07d2dfcd60
Some more "convertForUriId" replacements
2021-07-10 12:58:48 +00:00
Michael
2a440c0bae
Use "checkAllowedScope" instead of "login"
2021-06-08 12:00:22 +00:00
Michael
acbe9ebf9e
API: New classes for OAuth and basic auth
2021-06-08 06:32:24 +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
Balázs Úr
054c301ef0
Update copyright
2021-03-29 08:40:20 +02:00
Hypolite Petovan
d3b3f716f8
[API] Add new endpoint api/friendica/events
2020-02-16 12:07:39 -05:00