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
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
Hypolite Petovan
b3c576b9ce
Fix request parameter mapping to selectByBoundaries() in Api\Mastodon\Notifications
2021-10-12 21:17:19 -04:00
Hypolite Petovan
7a2d5f6a8e
Move notification to the new paradigm
2021-10-02 18:15:45 -04:00
Hypolite Petovan
3e6fea30f2
Create constants for Mastodon notification types
2021-10-02 18:15:44 -04:00
Hypolite Petovan
bf81f21001
Rename Model\Post\UserNotifications type constants
2021-10-02 18:15:43 -04:00
Michael
78d4aff878
Set the "Link" header
2021-06-16 15:02:33 +00:00
Michael
2a440c0bae
Use "checkAllowedScope" instead of "login"
2021-06-08 12:00:22 +00:00
Michael
842cbbaf09
Added notifications for follow requests
2021-06-01 21:13:16 +00:00
Michael
49459821be
Renamed function
2021-06-01 14:23:12 +00:00
Michael
3f0937dd42
API: Show activity notifications
2021-06-01 05:51:03 +00:00
Michael
e3d227f3c9
API: Parameter cleanup
2021-05-19 06:18:42 +00:00
Michael
e5c1b90668
API: Reworked request parameter handling
2021-05-18 19:26:46 +00:00
Michael
ce427b248e
Central function to process request parameters
2021-05-18 06:31:22 +00:00
Michael
49207a8624
Added scope check
2021-05-16 07:37:11 +00:00
Michael
b34ee320b0
API: Many item related endpoints added
2021-05-15 10:08:47 +00:00
Michael
8a5560ec8f
Simplified null check
2021-05-12 12:40:45 +00:00
Michael
a696b7f427
Renamed functions
2021-05-09 18:44:08 +00:00
Michael
6ac74f9cc9
Unused use removed
2021-05-09 12:05:22 +00:00
Michael
6cd7215d87
Formatting ...
2021-05-09 12:04:00 +00:00
Michael
cc5d4db6a3
Notifications are now supported as well
2021-05-09 11:50:05 +00:00