Commit graph

32226 commits

Author SHA1 Message Date
Philipp
9482ef3c34
Update messages.po 2021-11-12 21:55:02 +01:00
Philipp
bfe925aabe
Make PHP-CS happy and add (c) header 2021-11-12 21:50:02 +01:00
Philipp
2c407a7323
Small improvement 2021-11-12 21:38:38 +01:00
Philipp
6725f05ab2
Moved API\Notification tests 2021-11-12 21:35:21 +01:00
Philipp
f2ca21935e
Move API\Photo testcases 2021-11-12 21:12:00 +01:00
Philipp
e477cf215d
Make API testable & move PhotoAlbum tests to new destination 2021-11-12 21:08:36 +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
Hypolite Petovan
893b8e5df3
Merge pull request #10968 from annando/api2
API: some more converted functions
2021-11-11 13:54:06 -05:00
Michael Vogel
4587cef677
Update src/Module/Api/Friendica/DirectMessages/Setseen.php
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2021-11-11 18:46:04 +01:00
Michael
293775ab4a Photo delete is moved as well 2021-11-10 23:31:42 +00:00
Michael
02210f285b API: some more converted functions 2021-11-10 23:07:46 +00:00
Hypolite Petovan
fca9379348
Merge pull request #10967 from annando/api
API: some Functionality is transferred to new places
2021-11-10 08:45:50 -05:00
Michael
17fafd37dd Removed spaces 2021-11-10 07:38:48 +00:00
Michael
1518ad33ad API: Classes moved to the correct places according to their origin 2021-11-10 07:31:39 +00: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
0b7cad5cb5 Fix tests 2021-11-09 23:14:32 +00:00
Michael
be5988af41 Fixing tests 2021-11-09 23:10:20 +00: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
28a28517e5 Fix code standards 2021-11-09 21:50:56 +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
b4fc1da045 Allow "POST" for all "DELETE" calls as well. 2021-11-09 06:56:40 +00:00
Michael
fb6c3e2912 Simplify the output of api results 2021-11-09 06:42:59 +00:00
Michael Vogel
83056df565
Update src/Util/Arrays.php
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2021-11-09 06:23:04 +01:00
Michael
da9d1e828b Commented out test functions 2021-11-08 22:12:10 +00:00
Michael
a66bb09b40 Moved function to Arrays.php 2021-11-08 22:10:07 +00:00
Michael
fbde999d0d Removed unneeded parameter 2021-11-08 21:58:21 +00:00
Michael
ac1b8b7b3a Remove space 2021-11-08 21:54:55 +00:00
Michael
3e676f9cf0 Fixed tabs 2021-11-08 21:53:34 +00:00
Michael
f5b47fccce API: spme Functionality is transferred to new places 2021-11-08 21:35:41 +00:00
Hypolite Petovan
6ce1e1e7f8
Merge pull request #10965 from tobiasd/20211108-lng
DE, RU translation updates
2021-11-08 05:36:35 -05:00
Hypolite Petovan
e5f878c767
Merge pull request #10964 from annando/api
The API is now using the router
2021-11-08 05:36:13 -05:00
Hypolite Petovan
7c145accdd
Improve formatting in routes definition file 2021-11-08 05:31:18 -05:00
Tobias Diekershoff
8013712069 DE translation updates 2021-11-08 11:03:51 +01:00
Tobias Diekershoff
dbb912aca0 RU translations THX Alexander An 2021-11-08 11:03:12 +01:00
Michael
e2ff7aef66 Switched to another legacy module 2021-11-08 07:32:46 +00:00
Michael
0353a8f2cb Updated messages.po 2021-11-08 07:28:53 +00:00
Michael
413acdfbc9 Merge remote-tracking branch 'upstream/develop' into api 2021-11-08 07:27:11 +00:00
Michael
789361de5f The API is now using the router 2021-11-08 07:23:18 +00:00
Michael Vogel
cd27762dc1
Merge pull request #10963 from nupplaphil/feat/drone_checkdb
Drone | check database.sql
2021-11-07 23:59:33 +01:00
Philipp
84133845a1
Fixed drone script 2021-11-07 23:47:29 +01:00
Philipp
cda6ed6f05
Restore database.sql 2021-11-07 23:42:23 +01:00