]>
git.mxchange.org Git - friendica.git/log
Michael [Tue, 30 Nov 2021 21:41:14 +0000 (21:41 +0000)]
Merge branch 'api-fixes' of github.com:annando/friendica into api-fixes
Michael [Tue, 30 Nov 2021 21:41:10 +0000 (21:41 +0000)]
Removed second ppst parameter
Philipp [Tue, 30 Nov 2021 19:53:47 +0000 (20:53 +0100)]
Fix test
Michael [Tue, 30 Nov 2021 19:17:33 +0000 (19:17 +0000)]
Possibly fixing tests
Michael [Tue, 30 Nov 2021 19:07:24 +0000 (19:07 +0000)]
Merge remote-tracking branch 'upstream/2021.12-rc' into api-fixes
Tobias Diekershoff [Tue, 30 Nov 2021 14:15:21 +0000 (15:15 +0100)]
Merge pull request #11050 from MrPetovan/task/10990-api-photo-visibility
Prevent API-submitted public pictures to be published as statuses
Hypolite Petovan [Tue, 30 Nov 2021 13:24:09 +0000 (08:24 -0500)]
Prevent API-submitted public pictures to be published as statuses
Hypolite Petovan [Tue, 30 Nov 2021 06:13:20 +0000 (01:13 -0500)]
Merge pull request #11044 from nupplaphil/feat/api-tests_2
Module Fixings&FollowUps
Michael [Tue, 30 Nov 2021 06:11:58 +0000 (06:11 +0000)]
Use function to fetch all valid extensions
Philipp [Sun, 28 Nov 2021 14:27:39 +0000 (15:27 +0100)]
Fix Introduction user selection
Philipp [Sun, 28 Nov 2021 14:05:42 +0000 (15:05 +0100)]
Replace `DI::apiResponse()->exit()` with `$this->response->exit()`
Philipp [Sun, 28 Nov 2021 13:10:40 +0000 (14:10 +0100)]
Make API call permission checks more reliable
- don't need to inherit every Module method anymore
Philipp [Sun, 28 Nov 2021 13:01:13 +0000 (14:01 +0100)]
Make HTTPInputData dynamic
- Removing DI:: dependency inside App class
- Making testability easier & adapting tests
Philipp [Sun, 28 Nov 2021 12:44:42 +0000 (13:44 +0100)]
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
Philipp [Sun, 28 Nov 2021 12:22:27 +0000 (13:22 +0100)]
extract "BaseApi::checkDefaults()" method for later usage
Michael [Tue, 30 Nov 2021 06:05:37 +0000 (06:05 +0000)]
Possibly Avoid database error when storing photo item
Michael [Tue, 30 Nov 2021 05:49:38 +0000 (05:49 +0000)]
messages.po updated
Michael [Tue, 30 Nov 2021 05:48:03 +0000 (05:48 +0000)]
Merge remote-tracking branch 'upstream/2021.12-rc' into api-fixes
Michael Vogel [Tue, 30 Nov 2021 05:45:51 +0000 (06:45 +0100)]
Merge pull request #11014 from MrPetovan/task/10978-settings-keyboard-actionable
[frio] Make accordions keyboard actionable
Michael [Tue, 30 Nov 2021 05:43:06 +0000 (05:43 +0000)]
Tests
Michael [Tue, 30 Nov 2021 05:38:59 +0000 (05:38 +0000)]
Fixing tests?
Michael [Tue, 30 Nov 2021 05:20:01 +0000 (05:20 +0000)]
Standards
Michael Vogel [Tue, 30 Nov 2021 05:17:56 +0000 (06:17 +0100)]
Merge pull request #11045 from MrPetovan/bug/11029-contact-group
Use user-specific id to fetch the list of group appartenance in Module\Contact\Profile
Michael Vogel [Tue, 30 Nov 2021 05:09:14 +0000 (06:09 +0100)]
Merge pull request #11048 from MrPetovan/bug/10990-prepare_photo_data
Add expected field uri-id to Post query in prepare_photo_data()
Michael [Tue, 30 Nov 2021 05:07:03 +0000 (05:07 +0000)]
Standards
Michael [Tue, 30 Nov 2021 05:00:46 +0000 (05:00 +0000)]
Merge remote-tracking branch 'upstream/2021.12-rc' into api-fixes
Hypolite Petovan [Tue, 30 Nov 2021 04:51:04 +0000 (23:51 -0500)]
Add expected field uri-id to Post query in prepare_photo_data()
Michael [Mon, 29 Nov 2021 18:03:34 +0000 (18:03 +0000)]
Fix posting pictures
Hypolite Petovan [Mon, 29 Nov 2021 13:44:33 +0000 (08:44 -0500)]
Merge pull request #11037 from MrPetovan/bug/11023-api-photo-delete
Fix Api\Friendica\Photo|album\Delete endpoints
Michael [Mon, 29 Nov 2021 12:52:00 +0000 (12:52 +0000)]
Merge remote-tracking branch 'upstream/2021.12-rc' into api-fixes
Michael Vogel [Mon, 29 Nov 2021 12:48:27 +0000 (13:48 +0100)]
Merge pull request #11046 from MrPetovan/bug/11040-module-parameters
Fix remaining references to BaseModule->parameters
Hypolite Petovan [Mon, 29 Nov 2021 12:24:32 +0000 (07:24 -0500)]
Fix remaining references to BaseModule->parameters
Hypolite Petovan [Mon, 29 Nov 2021 12:06:41 +0000 (07:06 -0500)]
Use user-specific id to fetch the list of group appartenance in Module\Contact\Profile
Hypolite Petovan [Mon, 29 Nov 2021 11:16:20 +0000 (06:16 -0500)]
Fix Photoalbum delete endpoint
- Fix condition on a removed Item field
Hypolite Petovan [Sat, 27 Nov 2021 22:05:58 +0000 (17:05 -0500)]
Fix Photo delete endpoint
- Set the request variable type
- Fix the condition on a nonexistant item field
Philipp [Sun, 28 Nov 2021 13:52:13 +0000 (14:52 +0100)]
Add tests to prove error https://github.com/friendica/friendica/issues/11023
- Use `$request` instead of `$post` in `BaseModule->run`
Hypolite Petovan [Mon, 22 Nov 2021 00:12:52 +0000 (19:12 -0500)]
Update translation file after strings were moved
Hypolite Petovan [Sun, 21 Nov 2021 23:49:07 +0000 (18:49 -0500)]
[frio] Make connector settings panels keyboard activated
- Keep the connector panel open after form was submitted
Hypolite Petovan [Sat, 20 Nov 2021 09:46:45 +0000 (04:46 -0500)]
[frio] Make addon settings panels keyboard actionable
- Keep the addon panel open after form was submitted
Hypolite Petovan [Sat, 20 Nov 2021 07:16:30 +0000 (02:16 -0500)]
[frio] Make accordions keyboard actionable
Michael [Mon, 29 Nov 2021 06:09:28 +0000 (06:09 +0000)]
Added endpoint
Michael [Mon, 29 Nov 2021 04:38:58 +0000 (04:38 +0000)]
Set item permissions on reshare
Michael [Sun, 28 Nov 2021 21:40:38 +0000 (21:40 +0000)]
Fix function name
Michael [Sun, 28 Nov 2021 13:58:26 +0000 (13:58 +0000)]
Standards
Michael [Sun, 28 Nov 2021 13:52:39 +0000 (13:52 +0000)]
Standards
Michael [Sun, 28 Nov 2021 13:46:30 +0000 (13:46 +0000)]
Fixes standards
Michael [Sun, 28 Nov 2021 13:44:02 +0000 (13:44 +0000)]
Merge remote-tracking branch 'upstream/2021.12-rc' into api-fixes
Michael [Sun, 28 Nov 2021 13:42:07 +0000 (13:42 +0000)]
Updates messages.po
Michael [Sun, 28 Nov 2021 13:34:00 +0000 (13:34 +0000)]
API: Added more functions, fixed function names
Hypolite Petovan [Sun, 28 Nov 2021 13:27:10 +0000 (08:27 -0500)]
Merge pull request #11042 from nupplaphil/feat/api-tests_2
Some Fixings
Hypolite Petovan [Sun, 28 Nov 2021 13:26:53 +0000 (08:26 -0500)]
Improve comment wording in ApiTest
Philipp [Sun, 28 Nov 2021 12:11:12 +0000 (13:11 +0100)]
Fix BaseApi and corresponding tests
Philipp [Sun, 28 Nov 2021 11:59:42 +0000 (12:59 +0100)]
Fix BBCode::expandTags() & Remove AppMockTrait
Philipp [Sun, 28 Nov 2021 11:51:20 +0000 (12:51 +0100)]
Bump version string to 2021.12-rc
Tobias Diekershoff [Sun, 28 Nov 2021 09:17:04 +0000 (10:17 +0100)]
pump version to 2021.12-rc
Hypolite Petovan [Sun, 28 Nov 2021 03:33:53 +0000 (22:33 -0500)]
Merge pull request #11035 from annando/api-next
API: Next bunch of functions transformed
Philipp [Sat, 27 Nov 2021 18:03:01 +0000 (19:03 +0100)]
Fix tests
Michael [Sat, 27 Nov 2021 13:41:49 +0000 (13:41 +0000)]
Deprecated upload function relocates to a replacement
Michael [Sat, 27 Nov 2021 12:55:13 +0000 (12:55 +0000)]
Added group update
Michael [Sat, 27 Nov 2021 09:45:42 +0000 (09:45 +0000)]
Tests deactivated
Michael [Sat, 27 Nov 2021 09:42:05 +0000 (09:42 +0000)]
API: Next bunch of functions transformed
Hypolite Petovan [Sat, 27 Nov 2021 23:30:41 +0000 (18:30 -0500)]
Add a second parameter to BaseApi::getRequest to enable API tests
Hypolite Petovan [Sat, 27 Nov 2021 22:24:46 +0000 (17:24 -0500)]
Merge pull request #11036 from nupplaphil/bug/module_di
Bugfixing Module Method syntax
Philipp [Sat, 27 Nov 2021 19:41:11 +0000 (20:41 +0100)]
Make PHP-CS happy :)
Philipp [Sat, 27 Nov 2021 18:58:24 +0000 (19:58 +0100)]
Fixing wrong inherited methodsyntax
Philipp [Sat, 27 Nov 2021 18:50:52 +0000 (19:50 +0100)]
Move all (inactive) API endpoint specific tests to new structure
Hypolite Petovan [Sat, 27 Nov 2021 14:41:23 +0000 (09:41 -0500)]
Merge pull request #11005 from nupplaphil/feat/module_di
Introduce PSR-7 `ResponseInterface` for Modules executions
Philipp [Sat, 27 Nov 2021 13:11:48 +0000 (14:11 +0100)]
Fix Tos Module
Philipp [Sat, 27 Nov 2021 12:57:00 +0000 (13:57 +0100)]
Respect the Dollar(notation :-))
Philipp [Sat, 27 Nov 2021 12:48:05 +0000 (13:48 +0100)]
Fixing https://github.com/friendica/friendica/issues/11033
Philipp [Sat, 27 Nov 2021 12:41:37 +0000 (13:41 +0100)]
Fix that (raw)content is always executed during Module::run()
Philipp [Sat, 27 Nov 2021 12:19:26 +0000 (13:19 +0100)]
Fix Contact modules
Philipp [Sat, 27 Nov 2021 12:03:04 +0000 (13:03 +0100)]
Update messages.po
Philipp [Sun, 21 Nov 2021 23:13:02 +0000 (00:13 +0100)]
Fix Page Header usage
Philipp [Sun, 21 Nov 2021 23:07:09 +0000 (00:07 +0100)]
Fixing Response
Philipp [Sun, 21 Nov 2021 22:46:57 +0000 (23:46 +0100)]
Fixing Response
Philipp [Sun, 21 Nov 2021 22:37:17 +0000 (23:37 +0100)]
Replace IRespondToRequests with PSR-7 ResponseInterface
Philipp [Sun, 21 Nov 2021 21:41:18 +0000 (22:41 +0100)]
Delete deprecated ApiResponseDouble
Philipp [Sun, 21 Nov 2021 21:23:35 +0000 (22:23 +0100)]
Replace `header()` with `$response->setHeader()` at `BaseModule`
Philipp [Sun, 21 Nov 2021 21:07:23 +0000 (22:07 +0100)]
Add NodeInfo Module test as an example
Philipp [Sun, 21 Nov 2021 20:52:36 +0000 (21:52 +0100)]
Inherit `ApiResponse` from `Response`
Philipp [Sun, 21 Nov 2021 19:06:36 +0000 (20:06 +0100)]
Introduce `Response` for Modules to create a testable way for module responses
Philipp [Sat, 20 Nov 2021 19:37:41 +0000 (20:37 +0100)]
Fix LegacyModule content return
Philipp [Sat, 20 Nov 2021 14:38:03 +0000 (15:38 +0100)]
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)
Philipp [Sat, 20 Nov 2021 12:26:01 +0000 (13:26 +0100)]
Add feedback :)
Philipp [Fri, 19 Nov 2021 21:47:49 +0000 (22:47 +0100)]
Split and delete `ModuleController`
- $moduleName is part of the argument string => App\Arguments
- $isBackend boolean already part of App\Mode::isBackend()
- $module is now the direct return of App\Router::getModule()
- ModuleController::run() moved to BaseModule::run()
Philipp [Sat, 27 Nov 2021 11:37:47 +0000 (12:37 +0100)]
Merge pull request #11025 from MrPetovan/task/11022-improve-connector-hooks
Improve connector hooks
Philipp [Sat, 27 Nov 2021 11:37:18 +0000 (12:37 +0100)]
Merge pull request #11030 from MrPetovan/bug/11029-add-remove-group
Add backward compatibility with user contacts in Module\Group
Hypolite Petovan [Sat, 27 Nov 2021 02:48:52 +0000 (21:48 -0500)]
Merge pull request #11032 from annando/api-lists
API: moved several lists
Michael [Fri, 26 Nov 2021 21:57:18 +0000 (21:57 +0000)]
Standards
Michael [Fri, 26 Nov 2021 21:54:25 +0000 (21:54 +0000)]
Code standards
Michael [Fri, 26 Nov 2021 21:48:13 +0000 (21:48 +0000)]
API: moved several lists
Michael Vogel [Fri, 26 Nov 2021 19:42:50 +0000 (20:42 +0100)]
Merge pull request #11031 from MrPetovan/bug/9720-share-preg_replace
Escape dollar sign in replace string to prevent placeholder replacement in Model\Item::addShareDataFromOriginal
Hypolite Petovan [Fri, 26 Nov 2021 17:38:34 +0000 (12:38 -0500)]
Escape dollar sign in replace string to prevent placeholder replacement in Model\Item::addShareDataFromOriginal
Hypolite Petovan [Fri, 26 Nov 2021 14:55:47 +0000 (09:55 -0500)]
Update translation file after adding strings
Hypolite Petovan [Fri, 26 Nov 2021 14:48:37 +0000 (09:48 -0500)]
Add backward compatibility with user contacts in Module\Group
Hypolite Petovan [Fri, 26 Nov 2021 14:48:05 +0000 (09:48 -0500)]
Replace args call with parameter from router in Module\Group
Hypolite Petovan [Fri, 26 Nov 2021 13:52:55 +0000 (08:52 -0500)]
Merge pull request #11028 from annando/fix-api
API: Fix profile_url handling / missing constant
Michael [Fri, 26 Nov 2021 11:13:12 +0000 (11:13 +0000)]
Fixing tests
Michael [Fri, 26 Nov 2021 10:54:02 +0000 (10:54 +0000)]
Fixing (some) tests