]> git.mxchange.org Git - friendica.git/log
friendica.git
17 months agoApply suggestions from code review
Philipp [Fri, 6 Jan 2023 11:46:06 +0000 (12:46 +0100)]
Apply suggestions from code review

Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
17 months agoUpdate src/Core/Config/ValueObject/Cache.php
Philipp [Fri, 6 Jan 2023 11:43:04 +0000 (12:43 +0100)]
Update src/Core/Config/ValueObject/Cache.php

Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
17 months agoUpdate src/Core/Update.php
Philipp [Fri, 6 Jan 2023 11:42:56 +0000 (12:42 +0100)]
Update src/Core/Update.php

Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
17 months agoUpdate src/Core/Config/Util/ConfigFileManager.php
Philipp [Fri, 6 Jan 2023 11:42:43 +0000 (12:42 +0100)]
Update src/Core/Config/Util/ConfigFileManager.php

Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
17 months agoAdd doc
Philipp [Fri, 6 Jan 2023 02:06:11 +0000 (03:06 +0100)]
Add doc

17 months agoadd description
Philipp [Fri, 6 Jan 2023 01:53:23 +0000 (02:53 +0100)]
add description

17 months agoremove print_r
Philipp [Fri, 6 Jan 2023 01:54:28 +0000 (02:54 +0100)]
remove print_r

17 months agoUpdate src/Core/Config/Util/ConfigFileManager.php
Philipp [Fri, 6 Jan 2023 01:16:35 +0000 (02:16 +0100)]
Update src/Core/Config/Util/ConfigFileManager.php

Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
17 months agoAdd license
Philipp [Fri, 6 Jan 2023 00:12:54 +0000 (01:12 +0100)]
Add license

17 months agoConfig fixing
Philipp [Fri, 6 Jan 2023 00:10:57 +0000 (01:10 +0100)]
Config fixing
- unlock/close the `node.config.php` in every circumstances

17 months agoConfig fixings
Philipp [Fri, 6 Jan 2023 00:02:47 +0000 (01:02 +0100)]
Config fixings
- Delete now really overwrites static default/setting.config.php keys
- Delete now really overwrites static default/setting.config.php categories
- The Update::check() routine is added to different places
- Merge the given config file with the new config before writing
- Remove ConfigTransaction::get() because it's no more reliable

17 months agoSome improvements
Philipp [Thu, 5 Jan 2023 21:13:10 +0000 (22:13 +0100)]
Some improvements
- Move $_SERVER into ConfigFileManager constructor
- Rename "creatConfigFileLoader" to "createConfigFileManager"
- Rename variable "loader" to "manager" in all tests

17 months agoCheck 'config' table as fallback for migrations
Philipp [Thu, 5 Jan 2023 20:42:35 +0000 (21:42 +0100)]
Check 'config' table as fallback for migrations

17 months agoMerge pull request #12621 from MrPetovan/bug/12620-api-push-boolean
Philipp [Thu, 5 Jan 2023 17:28:39 +0000 (18:28 +0100)]
Merge pull request #12621 from MrPetovan/bug/12620-api-push-boolean

Cast alert types to boolean in Api\Mastodon\Subscription

17 months agoCast alert types to boolean in Api\Mastodon\Subscription
Hypolite Petovan [Thu, 5 Jan 2023 16:54:01 +0000 (11:54 -0500)]
Cast alert types to boolean in Api\Mastodon\Subscription

17 months agoMerge pull request #12615 from MrPetovan/task/12601-update-gserver-block
Michael Vogel [Thu, 5 Jan 2023 11:37:00 +0000 (12:37 +0100)]
Merge pull request #12615 from MrPetovan/task/12601-update-gserver-block

Drop UpdateGServer worker task if domain is blocked

17 months agoMerge pull request #12618 from nupplaphil/no_config_purge
Hypolite Petovan [Thu, 5 Jan 2023 03:36:51 +0000 (22:36 -0500)]
Merge pull request #12618 from nupplaphil/no_config_purge

Don't wipe `config` or `addon` data

17 months agoDon't wipe `config` or `addon` data
Philipp [Thu, 5 Jan 2023 01:40:38 +0000 (02:40 +0100)]
Don't wipe `config` or `addon` data

17 months agoMerge pull request #12605 from nupplaphil/feat/addons_load
Hypolite Petovan [Wed, 4 Jan 2023 22:13:52 +0000 (17:13 -0500)]
Merge pull request #12605 from nupplaphil/feat/addons_load

Move table `addons` into `node.config.php`

17 months agoUpdate src/Core/Addon.php
Philipp [Wed, 4 Jan 2023 22:12:41 +0000 (23:12 +0100)]
Update src/Core/Addon.php

Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
17 months agosort addon array
Philipp [Wed, 4 Jan 2023 00:05:02 +0000 (01:05 +0100)]
sort addon array

17 months agoUse addons config entries instead of the addon table
Philipp [Tue, 3 Jan 2023 19:24:48 +0000 (20:24 +0100)]
Use addons config entries instead of the addon table

17 months agoMove 'addon' table into config
Philipp [Tue, 3 Jan 2023 18:54:05 +0000 (19:54 +0100)]
Move 'addon' table into config

17 months agoDrop UpdateContact worker task if contact is blocked
Hypolite Petovan [Wed, 4 Jan 2023 16:42:54 +0000 (11:42 -0500)]
Drop UpdateContact worker task if contact is blocked

17 months agoDrop UpdateGServer worker task if domain is blocked
Hypolite Petovan [Wed, 4 Jan 2023 16:39:22 +0000 (11:39 -0500)]
Drop UpdateGServer worker task if domain is blocked

17 months agoAdd UriInterface-enabled isUriBlocked method in Util\Network
Hypolite Petovan [Wed, 4 Jan 2023 16:38:46 +0000 (11:38 -0500)]
Add UriInterface-enabled isUriBlocked method in Util\Network

17 months agoAdd UriInterface-enabled cleanUri method in Model\GServer
Hypolite Petovan [Wed, 4 Jan 2023 16:38:08 +0000 (11:38 -0500)]
Add UriInterface-enabled cleanUri method in Model\GServer

- Tests!

17 months agoMerge pull request #12606 from nupplaphil/bug/file_put
Hypolite Petovan [Wed, 4 Jan 2023 19:40:31 +0000 (14:40 -0500)]
Merge pull request #12606 from nupplaphil/bug/file_put

Fix config read/write locking

17 months agoJust commit config transactions if something changed
Philipp [Wed, 4 Jan 2023 18:55:22 +0000 (19:55 +0100)]
Just commit config transactions if something changed

17 months agoMerge pull request #12614 from haheute/photo-view-direction
Hypolite Petovan [Wed, 4 Jan 2023 16:45:12 +0000 (11:45 -0500)]
Merge pull request #12614 from haheute/photo-view-direction

improve previous / next function in photo gallery

17 months agoremove parentheses
Hannes Heute [Wed, 4 Jan 2023 15:58:45 +0000 (16:58 +0100)]
remove parentheses

17 months agoimprove previous / next function in photo gallery
Hannes Heute [Wed, 4 Jan 2023 13:25:33 +0000 (14:25 +0100)]
improve previous / next function in photo gallery

17 months agoMerge pull request #12611 from haheute/photo-view-typo
Philipp [Wed, 4 Jan 2023 08:47:29 +0000 (09:47 +0100)]
Merge pull request #12611 from haheute/photo-view-typo

small typo

17 months agosmall typo
Hannes Heute [Wed, 4 Jan 2023 08:18:24 +0000 (09:18 +0100)]
small typo

17 months agoMake flock writing easier
Philipp [Wed, 4 Jan 2023 07:16:40 +0000 (08:16 +0100)]
Make flock writing easier

17 months agoMake BaseURL check/save transactional and make the whole process easier
Philipp [Wed, 4 Jan 2023 07:14:00 +0000 (08:14 +0100)]
Make BaseURL check/save transactional and make the whole process easier

17 months agoFix config read/write locking
Philipp [Tue, 3 Jan 2023 22:06:17 +0000 (23:06 +0100)]
Fix config read/write locking

17 months agoAdd more special chars at tests
Philipp [Tue, 3 Jan 2023 22:58:55 +0000 (23:58 +0100)]
Add more special chars at tests

17 months agoFix keyValue() call at daemon.php
Philipp [Tue, 3 Jan 2023 22:58:33 +0000 (23:58 +0100)]
Fix keyValue() call at daemon.php

17 months agoReduce config->set() load for worker executions
Philipp [Tue, 3 Jan 2023 22:55:51 +0000 (23:55 +0100)]
Reduce config->set() load for worker executions

17 months agoMerge pull request #12604 from nupplaphil/bug/marco_r
Hypolite Petovan [Tue, 3 Jan 2023 20:14:15 +0000 (15:14 -0500)]
Merge pull request #12604 from nupplaphil/bug/marco_r

Some Bugfixings (thx to Marco R.)

17 months agoFix empty fetchResult curResult at Link::fetchMimeType (thx to Marco R.)
Philipp [Tue, 3 Jan 2023 20:06:16 +0000 (21:06 +0100)]
Fix empty fetchResult curResult at Link::fetchMimeType (thx to Marco R.)

17 months agoFix empty fetchResult at ExternalStorage (thx to Marco R.)
Philipp [Tue, 3 Jan 2023 20:05:58 +0000 (21:05 +0100)]
Fix empty fetchResult at ExternalStorage (thx to Marco R.)

17 months agoMerge pull request #12593 from nupplaphil/feat/node.config.php
Hypolite Petovan [Tue, 3 Jan 2023 16:43:55 +0000 (11:43 -0500)]
Merge pull request #12593 from nupplaphil/feat/node.config.php

Replace `config` with `node.config.php`

17 months agoUpdate src/Core/Config/Model/ConfigTransaction.php
Philipp [Tue, 3 Jan 2023 16:39:32 +0000 (17:39 +0100)]
Update src/Core/Config/Model/ConfigTransaction.php

Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
17 months agoRemove get() from config transaction interface
Philipp [Tue, 3 Jan 2023 16:26:48 +0000 (17:26 +0100)]
Remove get() from config transaction interface

17 months agoApply suggestions
Philipp [Tue, 3 Jan 2023 16:24:05 +0000 (17:24 +0100)]
Apply suggestions

17 months agoMake PHP-CS happy
Philipp [Tue, 3 Jan 2023 14:40:57 +0000 (15:40 +0100)]
Make PHP-CS happy

17 months agoEscape single quotes and backslashes
Philipp [Tue, 3 Jan 2023 14:36:36 +0000 (15:36 +0100)]
Escape single quotes and backslashes

17 months agoIntroduce ISetConfigValuesTransactional for transactional config behaviour
Philipp [Tue, 3 Jan 2023 13:18:53 +0000 (14:18 +0100)]
Introduce ISetConfigValuesTransactional for transactional config behaviour

17 months agoRevert BaseURL
Philipp [Tue, 3 Jan 2023 12:16:19 +0000 (13:16 +0100)]
Revert BaseURL

17 months agoFix Admin\Site
Philipp [Mon, 2 Jan 2023 01:27:05 +0000 (02:27 +0100)]
Fix Admin\Site

17 months agoApply suggestions from code review
Philipp [Mon, 2 Jan 2023 01:25:41 +0000 (02:25 +0100)]
Apply suggestions from code review

Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
17 months agoadd another test
Philipp [Sun, 1 Jan 2023 21:18:57 +0000 (22:18 +0100)]
add another test

17 months agoCheck if table exists
Philipp [Sun, 1 Jan 2023 21:09:40 +0000 (22:09 +0100)]
Check if table exists

17 months agoUse toConfigValue in case of serialized, legacy data
Philipp [Wed, 28 Dec 2022 02:32:52 +0000 (03:32 +0100)]
Use toConfigValue in case of serialized, legacy data

17 months agoRemove deprecated Mode::DBCONFIGAVAILABLE
Philipp [Wed, 28 Dec 2022 01:57:57 +0000 (02:57 +0100)]
Remove deprecated Mode::DBCONFIGAVAILABLE

17 months agoRefactor IManageConfigValues interface
Philipp [Wed, 28 Dec 2022 01:07:38 +0000 (02:07 +0100)]
Refactor IManageConfigValues interface

17 months agoadapt tests
Philipp [Sun, 1 Jan 2023 20:10:41 +0000 (21:10 +0100)]
adapt tests

17 months agoRemove unnecessary classes
Philipp [Tue, 27 Dec 2022 23:20:20 +0000 (00:20 +0100)]
Remove unnecessary classes

17 months agoIntroduce lightweight Config model
Philipp [Tue, 27 Dec 2022 23:18:29 +0000 (00:18 +0100)]
Introduce lightweight Config model

17 months agoIntroduce ConfigFileManager for config files
Philipp [Sun, 1 Jan 2023 20:10:37 +0000 (21:10 +0100)]
Introduce ConfigFileManager for config files

17 months agoIntroduce ConfigFileTransformer for Config files
Philipp [Sun, 1 Jan 2023 17:50:02 +0000 (18:50 +0100)]
Introduce ConfigFileTransformer for Config files

17 months agoMerge pull request #12585 from MrPetovan/task/4090-mod-oexchange
Michael Vogel [Mon, 2 Jan 2023 12:15:32 +0000 (13:15 +0100)]
Merge pull request #12585 from MrPetovan/task/4090-mod-oexchange

Remove obsolete OExchange module and reference

17 months agoRemove obsolete OExchange module and reference
Hypolite Petovan [Sat, 31 Dec 2022 17:55:13 +0000 (12:55 -0500)]
Remove obsolete OExchange module and reference

- Protocol looks unsupported for a decade now

17 months agoRemove dependency to the second parameter of XML::fromArray
Hypolite Petovan [Sat, 31 Dec 2022 16:59:19 +0000 (11:59 -0500)]
Remove dependency to the second parameter of XML::fromArray

17 months agoMerge pull request #12597 from annando/activity-distribution
Hypolite Petovan [Mon, 2 Jan 2023 00:19:25 +0000 (19:19 -0500)]
Merge pull request #12597 from annando/activity-distribution

Don't distribute unsigned remote activities

17 months agoMerge pull request #12586 from MrPetovan/task/entitize-delivery-queue
Michael Vogel [Sun, 1 Jan 2023 23:56:13 +0000 (00:56 +0100)]
Merge pull request #12586 from MrPetovan/task/entitize-delivery-queue

Add Entity-Factory-Repository for deliver-queue

17 months agoMerge pull request #12589 from MrPetovan/bug/warnings
Michael Vogel [Sun, 1 Jan 2023 23:53:26 +0000 (00:53 +0100)]
Merge pull request #12589 from MrPetovan/bug/warnings

Address a few warnings in Search\Acl

17 months agoRemove unused static methods related to delivery-queue
Hypolite Petovan [Sat, 31 Dec 2022 19:37:04 +0000 (14:37 -0500)]
Remove unused static methods related to delivery-queue

17 months agoReplace direct database calls and anonymous arrays by repository calls and entity...
Hypolite Petovan [Sat, 31 Dec 2022 19:36:47 +0000 (14:36 -0500)]
Replace direct database calls and anonymous arrays by repository calls and entity objects

17 months agoCreate entity-related classes for delivery-queue table
Hypolite Petovan [Sat, 31 Dec 2022 19:27:42 +0000 (14:27 -0500)]
Create entity-related classes for delivery-queue table

17 months agoConvert Directory Search results into contact-looking records
Hypolite Petovan [Sun, 1 Jan 2023 04:13:50 +0000 (23:13 -0500)]
Convert Directory Search results into contact-looking records

- Address https://github.com/friendica/friendica/issues/12488#issuecomment-1368216631

17 months agoRemove dependency to DI in Search\Acl module
Hypolite Petovan [Sun, 1 Jan 2023 03:42:37 +0000 (22:42 -0500)]
Remove dependency to DI in Search\Acl module

17 months agoDon't distribute unsigned remote activities
Michael [Sun, 1 Jan 2023 23:37:17 +0000 (23:37 +0000)]
Don't distribute unsigned remote activities

17 months agoMerge pull request #12562 from MrPetovan/bug/notices
Philipp [Sun, 1 Jan 2023 23:34:21 +0000 (00:34 +0100)]
Merge pull request #12562 from MrPetovan/bug/notices

Ward againt contact_id = 0 in UpdateContact worker

17 months agoMerge pull request #12596 from nupplaphil/bug/errors
Michael Vogel [Sun, 1 Jan 2023 21:54:55 +0000 (22:54 +0100)]
Merge pull request #12596 from nupplaphil/bug/errors

Checks if the Photo order argument is a valid column

17 months agoFix https://github.com/friendica/friendica/issues/12486#issuecomment-1368540088
Philipp [Sun, 1 Jan 2023 21:34:01 +0000 (22:34 +0100)]
Fix https://github.com/friendica/friendica/issues/12486#issuecomment-1368540088

17 months agoMerge pull request #12594 from annando/diaspora-communication
Hypolite Petovan [Sun, 1 Jan 2023 20:13:45 +0000 (15:13 -0500)]
Merge pull request #12594 from annando/diaspora-communication

Fix communication to Diaspora when not in bulk mode

17 months agoFix communication to Diaspora when not in bulk mode
Michael [Sun, 1 Jan 2023 19:52:08 +0000 (19:52 +0000)]
Fix communication to Diaspora when not in bulk mode

17 months agoMerge pull request #12592 from annando/server-status
Hypolite Petovan [Sun, 1 Jan 2023 17:42:18 +0000 (12:42 -0500)]
Merge pull request #12592 from annando/server-status

Set the server status directly after transmission

17 months agoSet the server status directly after transmission
Michael [Sun, 1 Jan 2023 17:34:05 +0000 (17:34 +0000)]
Set the server status directly after transmission

17 months agoMerge pull request #12587 from annando/inbox-gsid
Hypolite Petovan [Sun, 1 Jan 2023 15:49:32 +0000 (10:49 -0500)]
Merge pull request #12587 from annando/inbox-gsid

The inbox-status can now be archived for a whole server

17 months agoClose the database
Michael [Sun, 1 Jan 2023 15:37:47 +0000 (15:37 +0000)]
Close the database

17 months agoMerge remote-tracking branch 'upstream/develop' into inbox-gsid
Michael [Sun, 1 Jan 2023 15:25:28 +0000 (15:25 +0000)]
Merge remote-tracking branch 'upstream/develop' into inbox-gsid

17 months agoMerge pull request #12591 from MrPetovan/task/2023-licence
Michael Vogel [Sun, 1 Jan 2023 15:19:04 +0000 (16:19 +0100)]
Merge pull request #12591 from MrPetovan/task/2023-licence

Happy New Year 2023!

17 months agoIncrease another forgotten year
Michael [Sun, 1 Jan 2023 15:15:16 +0000 (15:15 +0000)]
Increase another forgotten year

17 months agoIncrease the year
Michael [Sun, 1 Jan 2023 15:14:45 +0000 (15:14 +0000)]
Increase the year

17 months agoUse server id on direct delivery
Michael [Sun, 1 Jan 2023 15:13:44 +0000 (15:13 +0000)]
Use server id on direct delivery

17 months agoHappy New Year 2023!
Hypolite Petovan [Sun, 1 Jan 2023 14:36:24 +0000 (09:36 -0500)]
Happy New Year 2023!

17 months agoAdd the server id for all Diaspora contacts
Michael [Sun, 1 Jan 2023 10:52:22 +0000 (10:52 +0000)]
Add the server id for all Diaspora contacts

17 months agoLicense updated
Michael [Sun, 1 Jan 2023 07:52:28 +0000 (07:52 +0000)]
License updated

17 months agoSet "archive" status
Michael [Sun, 1 Jan 2023 00:18:01 +0000 (00:18 +0000)]
Set "archive" status

17 months agoThe inbox-status can now be archived for a whole server
Michael [Sat, 31 Dec 2022 23:42:00 +0000 (23:42 +0000)]
The inbox-status can now be archived for a whole server

17 months agoMerge pull request #12584 from annando/avoid-undefined
Hypolite Petovan [Sat, 31 Dec 2022 16:55:45 +0000 (11:55 -0500)]
Merge pull request #12584 from annando/avoid-undefined

Avoid undefined variable "$rendered"

17 months agoAvoid undefined variable "$rendered"
Michael [Sat, 31 Dec 2022 16:47:33 +0000 (16:47 +0000)]
Avoid undefined variable "$rendered"

17 months agoMerge pull request #12583 from annando/delivery-queue
Hypolite Petovan [Sat, 31 Dec 2022 16:36:54 +0000 (11:36 -0500)]
Merge pull request #12583 from annando/delivery-queue

Bulk delivery added for all protocols

17 months agoChanges after review
Michael [Sat, 31 Dec 2022 16:20:18 +0000 (16:20 +0000)]
Changes after review

17 months agoNew "Defunct" check
Michael [Sat, 31 Dec 2022 16:01:40 +0000 (16:01 +0000)]
New "Defunct" check

17 months agoRemove blank
Michael [Sat, 31 Dec 2022 12:47:48 +0000 (12:47 +0000)]
Remove blank