Michael
6965614f00
API: Only search for direct hit without offset
2022-12-06 18:47:43 +00:00
Hypolite Petovan
db987999b5
Return only one result in case of exact match in Api\Mastodon\Search
2022-11-27 08:28:52 -05:00
Michael
40fb820aef
Unused use removed
2022-11-06 06:00:19 +00:00
Michael
56ac879c92
Issue 2657: Mentions will now be recognized by clients
2022-11-06 05:43:34 +00:00
Michael
db12814f3b
Improved url detection
2022-11-05 22:32:56 +00:00
Michael
70d0f087b7
Issue 12096: Improve account search
2022-11-05 22:08:28 +00:00
Michael
3911c9450b
(Hopefully) SQL improvements
2022-09-24 17:56:07 +00:00
Michael
171354181d
Use central function to fetch the global directory
2022-04-26 18:33:58 +00:00
Philipp
322b7c856c
Merge pull request #11129 from urbalazs/copyright-2022
...
Update copyright
2022-01-02 09:45:35 +01:00
Balázs Úr
e56a53647b
Update copyright
2022-01-02 08:27:47 +01:00
Michael
d57cb05a24
Fix: array_reverse returns the reversed content as return value
2021-12-05 06:22:04 +00: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
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
Michael
b5f59d5be0
API: Support for deprecated API endpoints and OAuth removal
2021-07-20 20:48:37 +00: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
e3d227f3c9
API: Parameter cleanup
2021-05-19 06:18:42 +00:00
Michael
f935c1cf73
Restructured variable handling
2021-05-18 08:38:04 +00:00
Michael
724a61390f
Coding standards
2021-05-18 07:23:18 +00:00
Michael
2252949bca
Style stuff ...
2021-05-18 07:18:31 +00:00
Michael
f31fdf4391
Spaces
2021-05-18 07:13:32 +00:00
Michael
8ae29eabe8
Min is max
2021-05-18 07:02:50 +00:00
Michael
0a6127ea6e
Set maximum value
2021-05-18 07:01:23 +00:00
Michael
ce427b248e
Central function to process request parameters
2021-05-18 06:31:22 +00:00
Michael
32e7ddf21b
Improved parameter assignment
2021-05-18 04:54:37 +00:00
Michael
71a398277d
Improved query
2021-05-17 22:44:42 +00:00
Michael
59cff3511b
Standards
2021-05-17 22:31:35 +00:00
Michael
c9110e03e1
API: Search endpoint
2021-05-17 22:22:51 +00:00