]> git.mxchange.org Git - friendica.git/log
friendica.git
2 years agoAdd expected field uri-id to Post query in prepare_photo_data()
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()

2 years agoMerge pull request #11037 from MrPetovan/bug/11023-api-photo-delete
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

2 years agoMerge pull request #11046 from MrPetovan/bug/11040-module-parameters
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

2 years agoFix remaining references to BaseModule->parameters
Hypolite Petovan [Mon, 29 Nov 2021 12:24:32 +0000 (07:24 -0500)]
Fix remaining references to BaseModule->parameters

2 years agoFix Photoalbum delete endpoint
Hypolite Petovan [Mon, 29 Nov 2021 11:16:20 +0000 (06:16 -0500)]
Fix Photoalbum delete endpoint

- Fix condition on a removed Item field

2 years agoFix Photo delete endpoint
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

2 years agoAdd tests to prove error https://github.com/friendica/friendica/issues/11023
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`

2 years agoMerge pull request #11042 from nupplaphil/feat/api-tests_2
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

2 years agoImprove comment wording in ApiTest
Hypolite Petovan [Sun, 28 Nov 2021 13:26:53 +0000 (08:26 -0500)]
Improve comment wording in ApiTest

2 years agoFix BaseApi and corresponding tests
Philipp [Sun, 28 Nov 2021 12:11:12 +0000 (13:11 +0100)]
Fix BaseApi and corresponding tests

2 years agoFix BBCode::expandTags() & Remove AppMockTrait
Philipp [Sun, 28 Nov 2021 11:59:42 +0000 (12:59 +0100)]
Fix BBCode::expandTags() & Remove AppMockTrait

2 years agoBump version string to 2021.12-rc
Philipp [Sun, 28 Nov 2021 11:51:20 +0000 (12:51 +0100)]
Bump version string to 2021.12-rc

2 years agopump version to 2021.12-rc
Tobias Diekershoff [Sun, 28 Nov 2021 09:17:04 +0000 (10:17 +0100)]
pump version to 2021.12-rc

2 years agoMerge pull request #11035 from annando/api-next
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

2 years agoFix tests
Philipp [Sat, 27 Nov 2021 18:03:01 +0000 (19:03 +0100)]
Fix tests

2 years agoDeprecated upload function relocates to a replacement
Michael [Sat, 27 Nov 2021 13:41:49 +0000 (13:41 +0000)]
Deprecated upload function relocates to a replacement

2 years agoAdded group update
Michael [Sat, 27 Nov 2021 12:55:13 +0000 (12:55 +0000)]
Added group update

2 years agoTests deactivated
Michael [Sat, 27 Nov 2021 09:45:42 +0000 (09:45 +0000)]
Tests deactivated

2 years agoAPI: Next bunch of functions transformed
Michael [Sat, 27 Nov 2021 09:42:05 +0000 (09:42 +0000)]
API: Next bunch of functions transformed

2 years agoAdd a second parameter to BaseApi::getRequest to enable API tests
Hypolite Petovan [Sat, 27 Nov 2021 23:30:41 +0000 (18:30 -0500)]
Add a second parameter to BaseApi::getRequest to enable API tests

2 years agoMerge pull request #11036 from nupplaphil/bug/module_di
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

2 years agoMake PHP-CS happy :)
Philipp [Sat, 27 Nov 2021 19:41:11 +0000 (20:41 +0100)]
Make PHP-CS happy :)

2 years agoFixing wrong inherited methodsyntax
Philipp [Sat, 27 Nov 2021 18:58:24 +0000 (19:58 +0100)]
Fixing wrong inherited methodsyntax

2 years agoMove all (inactive) API endpoint specific tests to new structure
Philipp [Sat, 27 Nov 2021 18:50:52 +0000 (19:50 +0100)]
Move all (inactive) API endpoint specific tests to new structure

2 years agoMerge pull request #11005 from nupplaphil/feat/module_di
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

2 years agoFix Tos Module
Philipp [Sat, 27 Nov 2021 13:11:48 +0000 (14:11 +0100)]
Fix Tos Module

2 years agoRespect the Dollar(notation :-))
Philipp [Sat, 27 Nov 2021 12:57:00 +0000 (13:57 +0100)]
Respect the Dollar(notation :-))

2 years agoFixing https://github.com/friendica/friendica/issues/11033
Philipp [Sat, 27 Nov 2021 12:48:05 +0000 (13:48 +0100)]
Fixing https://github.com/friendica/friendica/issues/11033

2 years agoFix that (raw)content is always executed during Module::run()
Philipp [Sat, 27 Nov 2021 12:41:37 +0000 (13:41 +0100)]
Fix that (raw)content is always executed during Module::run()

2 years agoFix Contact modules
Philipp [Sat, 27 Nov 2021 12:19:26 +0000 (13:19 +0100)]
Fix Contact modules

2 years agoUpdate messages.po
Philipp [Sat, 27 Nov 2021 12:03:04 +0000 (13:03 +0100)]
Update messages.po

2 years agoFix Page Header usage
Philipp [Sun, 21 Nov 2021 23:13:02 +0000 (00:13 +0100)]
Fix Page Header usage

2 years agoFixing Response
Philipp [Sun, 21 Nov 2021 23:07:09 +0000 (00:07 +0100)]
Fixing Response

2 years agoFixing Response
Philipp [Sun, 21 Nov 2021 22:46:57 +0000 (23:46 +0100)]
Fixing Response

2 years agoReplace IRespondToRequests with PSR-7 ResponseInterface
Philipp [Sun, 21 Nov 2021 22:37:17 +0000 (23:37 +0100)]
Replace IRespondToRequests with PSR-7 ResponseInterface

2 years agoDelete deprecated ApiResponseDouble
Philipp [Sun, 21 Nov 2021 21:41:18 +0000 (22:41 +0100)]
Delete deprecated ApiResponseDouble

2 years agoReplace `header()` with `$response->setHeader()` at `BaseModule`
Philipp [Sun, 21 Nov 2021 21:23:35 +0000 (22:23 +0100)]
Replace `header()` with `$response->setHeader()` at `BaseModule`

2 years agoAdd NodeInfo Module test as an example
Philipp [Sun, 21 Nov 2021 21:07:23 +0000 (22:07 +0100)]
Add NodeInfo Module test as an example

2 years agoInherit `ApiResponse` from `Response`
Philipp [Sun, 21 Nov 2021 20:52:36 +0000 (21:52 +0100)]
Inherit `ApiResponse` from `Response`

2 years agoIntroduce `Response` for Modules to create a testable way for module responses
Philipp [Sun, 21 Nov 2021 19:06:36 +0000 (20:06 +0100)]
Introduce `Response` for Modules to create a testable way for module responses

2 years agoFix LegacyModule content return
Philipp [Sat, 20 Nov 2021 19:37:41 +0000 (20:37 +0100)]
Fix LegacyModule content return

2 years agoMake `BaseModule` a real entity
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)

2 years agoAdd feedback :)
Philipp [Sat, 20 Nov 2021 12:26:01 +0000 (13:26 +0100)]
Add feedback :)

2 years agoSplit and delete `ModuleController`
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()

2 years agoMerge pull request #11025 from MrPetovan/task/11022-improve-connector-hooks
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

2 years agoMerge pull request #11030 from MrPetovan/bug/11029-add-remove-group
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

2 years agoMerge pull request #11032 from annando/api-lists
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

2 years agoStandards
Michael [Fri, 26 Nov 2021 21:57:18 +0000 (21:57 +0000)]
Standards

2 years agoCode standards
Michael [Fri, 26 Nov 2021 21:54:25 +0000 (21:54 +0000)]
Code standards

2 years agoAPI: moved several lists
Michael [Fri, 26 Nov 2021 21:48:13 +0000 (21:48 +0000)]
API: moved several lists

2 years agoMerge pull request #11031 from MrPetovan/bug/9720-share-preg_replace
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

2 years agoEscape dollar sign in replace string to prevent placeholder replacement in Model...
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

2 years agoUpdate translation file after adding strings
Hypolite Petovan [Fri, 26 Nov 2021 14:55:47 +0000 (09:55 -0500)]
Update translation file after adding strings

2 years agoAdd backward compatibility with user contacts in Module\Group
Hypolite Petovan [Fri, 26 Nov 2021 14:48:37 +0000 (09:48 -0500)]
Add backward compatibility with user contacts in Module\Group

2 years agoReplace args call with parameter from router 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

2 years agoMerge pull request #11028 from annando/fix-api
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

2 years agoFixing tests
Michael [Fri, 26 Nov 2021 11:13:12 +0000 (11:13 +0000)]
Fixing tests

2 years agoFixing (some) tests
Michael [Fri, 26 Nov 2021 10:54:02 +0000 (10:54 +0000)]
Fixing (some) tests

2 years agoFixing tests
Michael [Fri, 26 Nov 2021 10:48:38 +0000 (10:48 +0000)]
Fixing tests

2 years agoFix test
Michael [Fri, 26 Nov 2021 08:45:37 +0000 (08:45 +0000)]
Fix test

2 years agoMixed parameter order
Michael [Fri, 26 Nov 2021 08:16:06 +0000 (08:16 +0000)]
Mixed parameter order

2 years agoUnneeded "use" removed
Michael [Fri, 26 Nov 2021 07:56:54 +0000 (07:56 +0000)]
Unneeded "use" removed

2 years agoAPI: Fix profile_url handling / missing constant
Michael [Fri, 26 Nov 2021 07:55:02 +0000 (07:55 +0000)]
API: Fix profile_url handling / missing constant

2 years agoMerge pull request #11018 from annando/api-status
Hypolite Petovan [Fri, 26 Nov 2021 01:27:15 +0000 (20:27 -0500)]
Merge pull request #11018 from annando/api-status

API: The status is now an object

2 years agoCoding standards
Michael [Thu, 25 Nov 2021 11:31:01 +0000 (11:31 +0000)]
Coding standards

2 years agoCoding standards
Michael [Thu, 25 Nov 2021 11:28:56 +0000 (11:28 +0000)]
Coding standards

2 years agoLists and tweet search moved
Michael [Thu, 25 Nov 2021 11:16:47 +0000 (11:16 +0000)]
Lists and tweet search  moved

2 years agoUse correct uri-id for attachments
Michael [Thu, 25 Nov 2021 10:07:25 +0000 (10:07 +0000)]
Use correct uri-id for attachments

2 years agoMoved routes
Michael [Thu, 25 Nov 2021 06:06:57 +0000 (06:06 +0000)]
Moved routes

2 years agoMore functions moved
Michael [Thu, 25 Nov 2021 06:00:58 +0000 (06:00 +0000)]
More functions moved

2 years agoStandards
Michael [Wed, 24 Nov 2021 23:36:41 +0000 (23:36 +0000)]
Standards

2 years agoStandards ...
Michael [Wed, 24 Nov 2021 23:35:01 +0000 (23:35 +0000)]
Standards ...

2 years agoStandards
Michael [Wed, 24 Nov 2021 23:31:10 +0000 (23:31 +0000)]
Standards

2 years agoSome more standards
Michael [Wed, 24 Nov 2021 23:28:06 +0000 (23:28 +0000)]
Some more standards

2 years agoStandards
Michael [Wed, 24 Nov 2021 23:24:35 +0000 (23:24 +0000)]
Standards

2 years agoRemoved whitespace
Michael [Wed, 24 Nov 2021 23:20:42 +0000 (23:20 +0000)]
Removed whitespace

2 years agoFixing tests
Michael [Wed, 24 Nov 2021 23:16:07 +0000 (23:16 +0000)]
Fixing tests

2 years agoFormatting
Michael [Wed, 24 Nov 2021 23:06:28 +0000 (23:06 +0000)]
Formatting

2 years agoMany API calls moved
Michael [Wed, 24 Nov 2021 23:03:34 +0000 (23:03 +0000)]
Many API calls moved

2 years agoRemove unneeded "unset"
Michael [Wed, 24 Nov 2021 21:30:11 +0000 (21:30 +0000)]
Remove unneeded "unset"

2 years agoReplaced "requestdata"
Michael [Wed, 24 Nov 2021 21:01:07 +0000 (21:01 +0000)]
Replaced "requestdata"

2 years agoAdded last status
Michael [Wed, 24 Nov 2021 20:47:37 +0000 (20:47 +0000)]
Added last status

2 years agoMerge pull request #11026 from MrPetovan/bug/11021-array-in-t
Tobias Diekershoff [Wed, 24 Nov 2021 16:50:14 +0000 (17:50 +0100)]
Merge pull request #11026 from MrPetovan/bug/11021-array-in-t

Add missing variable argument operator in BaseModule->t

2 years agoAdd missing variable argument operator in BaseModule->t
Hypolite Petovan [Wed, 24 Nov 2021 15:57:05 +0000 (10:57 -0500)]
Add missing variable argument operator in BaseModule->t

- This was causing to wrongly pass the variable arguments as an array of variable arguments to L10n->t

2 years agoTesting tests
Michael [Wed, 24 Nov 2021 07:29:29 +0000 (07:29 +0000)]
Testing tests

2 years agoTests
Michael [Wed, 24 Nov 2021 07:26:22 +0000 (07:26 +0000)]
Tests

2 years agoStandards
Michael [Wed, 24 Nov 2021 07:14:19 +0000 (07:14 +0000)]
Standards

2 years agoPartially fixing source detection
Michael [Wed, 24 Nov 2021 07:11:33 +0000 (07:11 +0000)]
Partially fixing source detection

2 years agoCoding standards
Michael [Wed, 24 Nov 2021 07:08:30 +0000 (07:08 +0000)]
Coding standards

2 years agoMoved acitivites
Michael [Wed, 24 Nov 2021 07:06:28 +0000 (07:06 +0000)]
Moved acitivites

2 years agoEntities, Source and api functions rearranged
Michael [Wed, 24 Nov 2021 06:44:25 +0000 (06:44 +0000)]
Entities, Source and api functions rearranged

2 years agoAdd item_by_link hook to allow connectors to import remote posts
Hypolite Petovan [Tue, 23 Nov 2021 22:47:02 +0000 (17:47 -0500)]
Add item_by_link hook to allow connectors to import remote posts

2 years agoImprove probe_detect hook
Hypolite Petovan [Tue, 23 Nov 2021 22:46:20 +0000 (17:46 -0500)]
Improve probe_detect hook

- Remove Twitter probe from core
- Allow hook function to better abort the probe_detect process

2 years agoFixing tests
Michael [Tue, 23 Nov 2021 22:02:46 +0000 (22:02 +0000)]
Fixing tests

2 years agoCoding standards
Michael [Tue, 23 Nov 2021 21:56:34 +0000 (21:56 +0000)]
Coding standards

2 years agoRemoving unused functions, added (deactivated) attachments
Michael [Tue, 23 Nov 2021 21:54:19 +0000 (21:54 +0000)]
Removing unused functions, added (deactivated) attachments

2 years agoFix return type
Michael [Tue, 23 Nov 2021 15:27:57 +0000 (15:27 +0000)]
Fix return type

2 years agoCode Standards
Michael [Tue, 23 Nov 2021 15:21:06 +0000 (15:21 +0000)]
Code Standards

2 years agoCoding standards
Michael [Tue, 23 Nov 2021 14:55:52 +0000 (14:55 +0000)]
Coding standards

2 years agoMore objects added
Michael [Tue, 23 Nov 2021 10:12:11 +0000 (10:12 +0000)]
More objects added