Michael
171354181d
Use central function to fetch the global directory
2022-04-26 18:33:58 +00:00
Michael
772294494e
API: Fix display of reshares / return value of activities
2022-02-28 20:10:42 +00:00
Michael
bf5c8a2c43
API: several fixes to the Twitter/Statusnet API
2022-02-25 19:16:40 +00:00
Michael
615c6ca696
Issue 10935: Improved "GROUP BY" handling
2022-01-18 06:35:18 +00:00
Hypolite Petovan
babbdf58e6
Fix wrong default value in Module\Api\Friendica\Photo\Create::post
...
- The underlying Model\Photo::upload doesn't accept a null value for description
2022-01-17 16:46:43 -05:00
Michael
51dcfe134e
fixing some more tests
2022-01-16 20:58:58 +00:00
Michael
55679a6021
Possibly fixing one test
2022-01-16 20:54:14 +00:00
Michael Vogel
b38c9bed6f
Apply suggestions from code review
...
Co-authored-by: Philipp <admin+Github@philipp.info>
2022-01-16 21:47:12 +01:00
Michael
dc48f9b8f0
White spaces
2022-01-16 20:17:31 +00:00
Michael
0e15715088
Simplifying extension access
2022-01-16 19:38:59 +00:00
Michael
fd4926b0f3
More parameter handling improved
2022-01-16 18:04:05 +00:00
Michael
720a43461d
Fixed max value check, improved request value fetching
2022-01-16 15:22:35 +00:00
Michael
4724000d06
Unify request value handling
2022-01-16 14:04:20 +00:00
Michael
7b68a5956e
Improved handling of boolean input values
2022-01-16 09:24:35 +00:00
Michael
7c15d0160a
Coding styles / "require_once" for removed file removed
2022-01-16 09:01:04 +00:00
Michael
af18e2f2a9
$_POST replaced
2022-01-16 07:41:26 +00:00
Michael
f11bf08a7b
Use the $request variable
2022-01-16 07:35:20 +00:00
Michael
8ff2cc3976
Superflous spaces
2022-01-16 07:14:09 +00:00
Michael
c55c42b303
"DI" calls are replaced
2022-01-16 07:07:46 +00:00
Michael
f68c94db04
Some standards
2022-01-15 21:45:08 +00:00
Michael
95f085b7ac
API: The legacy API finally moved
2022-01-15 21:38:19 +00:00
Philipp
c588b280d7
Fix all license header & be less aggressive
2022-01-07 00:35:28 +01: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
Philipp
5d69f7411d
Add MessageDirect\Search tests
2021-12-27 20:02:37 +01:00
Michael
465ee3718d
Use dynamic functions
2021-12-19 08:22:16 +00:00
Michael
b7a460485a
API: Direct Messages moved to new place
2021-12-16 22:44:50 +00:00
Michael
03d2160690
Removed second ppst parameter
2021-11-30 21:41:10 +00:00
Michael
56f8adcb80
Merge remote-tracking branch 'upstream/2021.12-rc' into api-fixes
2021-11-30 19:07:24 +00:00
Philipp
a88cc8d5c8
Replace DI::apiResponse()->exit()
with $this->response->exit()
2021-11-30 01:08:00 -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
f580d8e5c0
extract "BaseApi::checkDefaults()" method for later usage
2021-11-30 01:07:57 -05:00
Michael
33c8872c65
Merge remote-tracking branch 'upstream/2021.12-rc' into api-fixes
2021-11-30 05:00:46 +00:00
Hypolite Petovan
2ba3b7f771
Merge pull request #11037 from MrPetovan/bug/11023-api-photo-delete
...
Fix Api\Friendica\Photo|album\Delete endpoints
2021-11-29 08:44:33 -05:00
Michael
6bd9c9f496
Merge remote-tracking branch 'upstream/2021.12-rc' into api-fixes
2021-11-29 12:52:00 +00:00
Hypolite Petovan
cd63533e2c
Fix remaining references to BaseModule->parameters
2021-11-29 07:24:32 -05:00
Hypolite Petovan
c7a40906bf
Fix Photoalbum delete endpoint
...
- Fix condition on a removed Item field
2021-11-29 06:29:38 -05:00
Hypolite Petovan
e2016bc67d
Fix Photo delete endpoint
...
- Set the request variable type
- Fix the condition on a nonexistant item field
2021-11-29 06:29:38 -05:00
Michael
477b8a91db
Added endpoint
2021-11-29 06:09:28 +00:00
Michael
222b35684d
API: Added more functions, fixed function names
2021-11-28 13:34:00 +00:00
Michael
e381ca6ba0
Added group update
2021-11-27 22:25:40 -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
056702c1e0
Fixing wrong inherited methodsyntax
2021-11-27 19:58:24 +01:00
Philipp
537b74f307
Inherit ApiResponse
from Response
2021-11-27 12:40:54 +01: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
Michael
fb47389c69
API: Fix profile_url handling / missing constant
2021-11-26 07:55:02 +00:00
Michael
bd1306d020
Removed whitespace
2021-11-24 23:20:42 +00:00
Michael
242fd646d2
Formatting
2021-11-24 23:06:28 +00:00
Michael
c4d52feea5
Many API calls moved
2021-11-24 23:03:34 +00:00
Michael
d576e920d5
Fix legacy API
2021-11-19 20:15:12 +00:00