Commit Graph

20 Commits

Author SHA1 Message Date
Balázs Úr 733f3de9ed Add missing copyright text 2022-01-02 10:49:50 +01:00
Philipp Holzer 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 Holzer 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 Holzer 6a9fff5100
Fixing Response 2021-11-27 12:40:57 +01:00
Philipp Holzer 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 Holzer e7f84d4934
Move Api\unsupported tests and remove dependency to System::jsonExit() 2021-11-12 22:44:59 +01:00
Philipp Holzer 7797c3a0a8
Migrate API\error tests and fix ApiResponse for RSS/atom 2021-11-12 22:29:58 +01:00
Philipp Holzer 6725f05ab2
Moved API\Notification tests 2021-11-12 21:35:21 +01:00
Philipp Holzer a0c5c91886
Simplify code 2021-11-12 20:13:04 +01:00
Philipp Holzer a9ddd6687b
Replace Logger:: with logger property 2021-11-12 20:08:30 +01:00
Philipp Holzer 5bfcc8b91c
Transform ApiResponse::unspported() into dynamic method 2021-11-12 20:07:05 +01:00
Philipp Holzer ebf56674f1
Transform ApiResponse::error() into dynamic method 2021-11-12 20:04:47 +01:00
Philipp Holzer ea0f41ecf0
Transform ApiResponse::exit() into dynamic method 2021-11-12 20:03:27 +01:00
Philipp Holzer 4309f814e0
Transform ApiResponse::formatData() into dynamic method 2021-11-12 19:59:16 +01:00
Philipp Holzer f28e64299e
Transform ApiResponse::createXML() into dynamic method 2021-11-12 19:56:37 +01:00
Philipp Holzer 319f91301d
Move API Response methods into an own class to make them mockable 2021-11-12 19:52:01 +01:00