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
Michael
b67c10812a
Merge remote-tracking branch 'upstream/develop' into api4
2021-11-18 20:15:57 +00:00
Michael
7c03eba98e
Removed unused code
2021-11-18 14:49:12 +00:00
Philipp
cca1be21a3
Fixed static leftovers from #10975
2021-11-14 23:49:07 +01:00
Philipp
5879535822
Switch static::$parameters
to $this->parameters
2021-11-14 23:49:07 +01:00
Philipp
489cd0884a
Make BaseModule methods dynamic
2021-11-14 23:49:06 +01:00
Philipp
714f0febc4
Replace $parameters
argument per method with static::$parameters
2021-11-14 23:49:05 +01:00
Michael
66db55f0cd
Some more API functions moved
2021-11-14 23:21:54 +01:00
Philipp
2c407a7323
Small improvement
2021-11-12 21:38:38 +01:00
Philipp
e477cf215d
Make API testable & move PhotoAlbum tests to new destination
2021-11-12 21:08:36 +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
319f91301d
Move API Response methods into an own class to make them mockable
2021-11-12 19:52:01 +01: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
Michael
1518ad33ad
API: Classes moved to the correct places according to their origin
2021-11-10 07:31:39 +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
fb6c3e2912
Simplify the output of api results
2021-11-09 06:42:59 +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
Michael
789361de5f
The API is now using the router
2021-11-08 07:23:18 +00:00
Philipp
5d92713a8e
Rename Depository to Repository
2021-10-23 21:45:36 -04:00
Philipp
838cdac5d1
Move ProfileFieldRepository::migrateFromLegacyProfile() & delete old repository
2021-10-18 23:32:41 +02:00
Philipp
a9981c792e
Use ProfileField::selectPublicFieldsByUserId
2021-10-18 23:32:39 +02:00
Philipp
62eb16e9ad
Migrate PermissionSet to Depository paradigm
2021-10-07 19:53:38 +02:00
Hypolite Petovan
9935e8e711
Remove event.adjust field
...
- It was confusing and introduced complexity that wasn't worth the unclear gain
2021-10-03 13:42:32 -04:00
Michael
07d2dfcd60
Some more "convertForUriId" replacements
2021-07-10 12:58:48 +00:00
Michael
2a440c0bae
Use "checkAllowedScope" instead of "login"
2021-06-08 12:00:22 +00:00
Michael
acbe9ebf9e
API: New classes for OAuth and basic auth
2021-06-08 06:32:24 +00:00