tadhgboyle
|
0c80570609
|
Enable StyleCI (#3475)
* Create StyleCI config file
* Disable `phpdoc_separation`
* Apply fixes from StyleCI (#3476)
Co-authored-by: StyleCI Bot <bot@styleci.io>
* style: styleci fixes
---------
Co-authored-by: StyleCI Bot <bot@styleci.io>
Co-authored-by: Sam <samerton@users.noreply.github.com>
|
2024-03-09 11:19:55 +00:00 |
|
tadhgboyle
|
fcaa51708c
|
Use Symfony Response HTTP status code constants (#3472)
|
2023-12-16 09:23:59 -08:00 |
|
Tadhg Boyle
|
d0fba0cbe9
|
Replace Util::getSetting/Util::setSetting usages (#3387)
|
2023-06-12 10:30:49 -06:00 |
|
Robin
|
20639d0ee1
|
Add X-API-Key fallback header if Authorization is missing (#3217)
|
2023-01-21 22:26:14 +01:00 |
|
Robin
|
9de500467e
|
Use strict equality for null checking
|
2022-07-03 20:56:15 +02:00 |
|
Robin
|
ba33533398
|
Case insensitive header handling
|
2022-06-25 10:00:17 +02:00 |
|
Tadhg Boyle
|
d5f55bc2fa
|
Style fixes
|
2022-06-09 12:49:42 -06:00 |
|
Robin
|
4be06eabe2
|
New API error for missing API key
This makes troubleshooting easier if a web server or proxy strips the Authorization header
|
2022-06-09 20:14:12 +02:00 |
|
Robin
|
4ed51b974d
|
Remove some manual settings queries
Also remove social media and API key cache
|
2022-06-01 00:20:38 +02:00 |
|
Tadhg Boyle
|
eb8841149d
|
Remove unneeded = in where clauses
|
2022-05-01 23:22:19 -07:00 |
|
Robin
|
13ff63bc49
|
Use getallheaders() instead
suggested by Jerino, apparently apache removes the Authorization header from $_SERVER sometimes
|
2022-04-30 20:53:26 +02:00 |
|
Robin
|
c89c158045
|
Use standard Authorization header (#2712)
|
2022-04-24 12:15:48 -07:00 |
|
Robin
|
127455a83a
|
Use Output::getClean
|
2022-03-31 21:56:57 +02:00 |
|
Robin
|
64a723c3db
|
time safe equals
|
2022-03-31 21:50:33 +02:00 |
|
Tadhg Boyle
|
b585a84de7
|
Add never return typehints to API methods
|
2022-03-20 11:33:38 -07:00 |
|
Tadhg Boyle
|
94e64c1207
|
Add PHPDocs to core classes for new class docs site (#2602)
|
2022-02-14 20:48:15 -08:00 |
|
Tadhg Boyle
|
c6a9f86f4d
|
API auth revamp (#2564)
|
2022-01-15 11:48:52 -08:00 |
|