Hypolite Petovan
97642e770b
Treat unsupported API call as HTTP error
2023-01-07 22:47:52 -05:00
Hypolite Petovan
8bbf9e93c6
Remove dependency to the second parameter of XML::fromArray
2023-01-01 19:20:42 -05:00
Hypolite Petovan
1874a32728
Happy New Year 2023!
2023-01-01 09:36:24 -05:00
Roland Häder
b3906326a4
Changed:
...
- changed double-quotes to single
- added some empty lines for better readability
2022-08-19 19:12:29 +02:00
Roland Häder
cfa575b8e5
Changes:
...
- added missing type-hints
- added documentation
- removed parameter $baseURL while it can be locally get the same way but
lesser parameter
- used ActivityNamespace::SALMON_ME
- changed double-quotes to single
2022-08-12 14:01:40 +02:00
Balázs Úr
733f3de9ed
Add missing copyright text
2022-01-02 10:49:50 +01:00
Philipp
fb1e8e75f5
Add response for JSON only
2021-12-06 00:12:18 +01:00
Hypolite Petovan
ecaed2a845
Update DateTimeFormat documentation
...
- Remove an explicit default value parameter
2021-12-04 17:52:01 -05:00
Philipp
2e4d654c0a
Make $_REQUEST processing independent of sub-calls
...
- Move HTTPInputData::process() into App::runFrontend()
- Pass $_REQUEST (including processed Input) to every Module method
- Delete $_POST parameters at Module post() calls because of $_REQUEST
2021-11-30 01:07:58 -05:00
Philipp
6a9fff5100
Fixing Response
2021-11-27 12:40:57 +01:00
Philipp
537b74f307
Inherit ApiResponse
from Response
2021-11-27 12:40:54 +01:00
Michael
c4d52feea5
Many API calls moved
2021-11-24 23:03:34 +00:00
Michael
0e5f876680
function moved
2021-11-21 09:55:42 +00:00
Michael
647ecd4bd3
Relocate RSS header stuff, cleaning up the code
2021-11-20 13:44:12 +00:00
Philipp
e7f84d4934
Move Api\unsupported tests and remove dependency to System::jsonExit()
2021-11-12 22:44:59 +01:00
Philipp
7797c3a0a8
Migrate API\error tests and fix ApiResponse for RSS/atom
2021-11-12 22:29:58 +01:00
Philipp
6725f05ab2
Moved API\Notification tests
2021-11-12 21:35:21 +01:00
Philipp
a0c5c91886
Simplify code
2021-11-12 20:13:04 +01:00
Philipp
a9ddd6687b
Replace Logger:: with logger property
2021-11-12 20:08:30 +01:00
Philipp
5bfcc8b91c
Transform ApiResponse::unspported() into dynamic method
2021-11-12 20:07:05 +01:00
Philipp
ebf56674f1
Transform ApiResponse::error() into dynamic method
2021-11-12 20:04:47 +01:00
Philipp
ea0f41ecf0
Transform ApiResponse::exit() into dynamic method
2021-11-12 20:03:27 +01:00
Philipp
4309f814e0
Transform ApiResponse::formatData() into dynamic method
2021-11-12 19:59:16 +01:00
Philipp
f28e64299e
Transform ApiResponse::createXML() into dynamic method
2021-11-12 19:56:37 +01:00
Philipp
319f91301d
Move API Response methods into an own class to make them mockable
2021-11-12 19:52:01 +01:00