Philipp
|
714f0febc4
|
Replace $parameters argument per method with static::$parameters
|
2021-11-14 23:49:05 +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 Vogel
|
58ffded0c8
|
Update src/Module/BaseApi.php
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
|
2021-11-10 04:44:59 +01:00 |
|
Michael
|
1c84928727
|
Fix test
|
2021-11-09 23:04:07 +00:00 |
|
Michael
|
bbc4fe851b
|
"init" removed, moved error function
|
2021-11-09 22:59:58 +00:00 |
|
Michael
|
b6943aff36
|
API call rate_limit_status moved
|
2021-11-09 21:41:37 +00: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 |
|
Michael
|
a66bb09b40
|
Moved function to Arrays.php
|
2021-11-08 22:10:07 +00:00 |
|
Michael
|
f5b47fccce
|
API: spme Functionality is transferred to new places
|
2021-11-08 21:35:41 +00:00 |
|
Michael
|
28090bd793
|
Get rid of App->user completely
|
2021-08-08 19:30:21 +00:00 |
|
Michael
|
fc283ab928
|
Remove direct calls to App->user
|
2021-08-08 10:14:56 +00:00 |
|
Michael
|
178bc543e3
|
New founction to count threads
|
2021-07-08 17:32:41 +00:00 |
|
Michael
|
f29bd23ea8
|
New function to convert BBCode for a given ID
|
2021-07-08 13:47:46 +00:00 |
|
Michael
|
6e789ec19a
|
No need for +1 and -1
|
2021-06-16 17:57:01 +00:00 |
|
Michael
|
78d4aff878
|
Set the "Link" header
|
2021-06-16 15:02:33 +00:00 |
|
Michael
|
385c03364f
|
The function is now protected again
|
2021-06-08 20:45:58 +00:00 |
|
Michael
|
e4be1e0cd5
|
Get rid of "api_user()" function
|
2021-06-08 20:41:46 +00:00 |
|
Michael
|
2a440c0bae
|
Use "checkAllowedScope" instead of "login"
|
2021-06-08 12:00:22 +00:00 |
|
Michael
|
9720ee2c20
|
Rearranged scope check
|
2021-06-08 09:11:56 +00:00 |
|
Michael
|
11c8dfe73a
|
Unified request for uid
|
2021-06-08 08:28:14 +00:00 |
|
Michael
|
85217941e3
|
Simplified code
|
2021-06-08 08:04:12 +00:00 |
|
Michael
|
126e281165
|
Improved documentation
|
2021-06-08 06:39:23 +00:00 |
|
Michael
|
acbe9ebf9e
|
API: New classes for OAuth and basic auth
|
2021-06-08 06:32:24 +00:00 |
|
Michael
|
9c59bcb6a5
|
Support OAuth for the legacy API
|
2021-06-02 22:11:21 +00:00 |
|
Michael
|
c3c6f3c8d3
|
Code style conventions
|
2021-05-29 10:40:47 +00:00 |
|
Michael
|
97356ed617
|
API: Unified request parameter handling
|
2021-05-28 06:10:32 +00:00 |
|
Michael
|
b3b9c51dbe
|
Reduced log level
|
2021-05-19 07:02:12 +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
|
1cc341033f
|
API: We now can post statuses via API
|
2021-05-15 22:40:57 +00:00 |
|
Michael
|
3aa883f1e3
|
API: List handling, dummy endpoints
|
2021-05-13 21:15:32 +00:00 |
|
Michael
|
b18073d5a8
|
Repurposed OAuth frontend handling, store the scope
|
2021-05-13 14:58:55 +00:00 |
|
Michael
|
132e08edb8
|
Whitespaces ...
|
2021-05-13 11:33:07 +00:00 |
|
Michael
|
7975bc244d
|
Refine OAuth flow
|
2021-05-13 11:26:56 +00:00 |
|
Michael
|
8a5560ec8f
|
Simplified null check
|
2021-05-12 12:40:45 +00:00 |
|
Michael
|
4a6d33e182
|
HTTP_AUTHORIZATION should be enough
|
2021-05-12 12:34:55 +00:00 |
|
Michael
|
19a81d25d5
|
Added documentation headers
|
2021-05-12 12:08:30 +00:00 |
|
Michael
|
6ca42512e9
|
OAuth connections now have to be ackknowledged
|
2021-05-12 06:50:27 +00:00 |
|
Michael
|
c22846339a
|
Improved error reporting
|
2021-05-12 05:30:21 +00:00 |
|
Michael
|
bade0a2345
|
Improved cards handling, simplified Bearer handling
|
2021-05-11 19:15:05 +00:00 |
|
Michael
|
7d8c152aaf
|
Check the start of the string
|
2021-05-11 13:17:48 +00:00 |
|
Michael
|
74f3c885bf
|
use "random_bytes" instead of "openssl_random_pseudo_bytes"
|
2021-05-11 13:12:12 +00:00 |
|
Michael
|
cfb9b73205
|
Store creation date
|
2021-05-11 08:16:40 +00:00 |
|
Michael
|
82003bbe47
|
Login prototype
|
2021-05-11 06:30:20 +00:00 |
|
Michael
|
3bbf543d25
|
API: Some more endpoints
|
2021-05-08 19:21:52 +00:00 |
|
Michael Vogel
|
31d70e02e0
|
Update src/Module/BaseApi.php
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
|
2021-05-08 14:23:47 +02:00 |
|
Michael
|
6236870aa4
|
Add all required HTTP methods
|
2021-05-08 09:14:19 +00:00 |
|
Michael
|
10a6f0a98f
|
API: New function to fetch current user id
|
2021-05-03 05:25:54 +00:00 |
|
Balázs Úr
|
054c301ef0
|
Update copyright
|
2021-03-29 08:40:20 +02:00 |
|