Commit graph

1217 commits

Author SHA1 Message Date
Hypolite Petovan cddead2343 Move follow revoke protocol to worker task
- Switch to public contact for revoke_follow hook
2022-02-24 09:35:55 -05:00
Hypolite Petovan 6a1f9a7fa3 Move unfollow protocol to worker task
- Add uid parameter to unfollow hook
- Rework and unify Contact::unfollow, Contact::removeSharer and Contact::terminateFriendship
- Add missing twitterUser property to Twitter\Friendships\Destroy module
2022-02-24 09:35:54 -05:00
Hypolite Petovan 48e2963ac7 Remove unused variable in Core\Worker::defer 2022-02-24 09:35:54 -05:00
Hypolite Petovan 1d779c6193 Ensure the private message recipient is valid in Mail::send
- Arbitrary input could be used to circumvent most restrictions regarding recipients (except contact relationship)
2022-02-23 21:30:18 -05:00
Philipp Holzer 4e58c6981c
Don't use empty, but not null values for redis password and port 2022-02-15 23:04:43 +01:00
Philipp 3d8e82d95d
Merge pull request #11141 from urbalazs/language-names
Add native language names to language selector & fix config during install
2022-01-23 20:55:40 +01:00
Philipp Holzer 150e3a6f42
Add DEVELOP flag for StorageManager for testing purpose only 2022-01-23 20:40:38 +01:00
Philipp Holzer 9bcd0ffac8
Fix Addons-Load for StorageManager 2022-01-23 20:23:44 +01:00
Philipp Holzer 71c7669066
Fix config usage during install process 2022-01-23 20:08:48 +01:00
Philipp Holzer 5fcb3e4901
Remove unused field 2022-01-23 20:08:33 +01:00
Philipp Holzer b123762459
Move language names to constant 2022-01-23 20:08:12 +01:00
Michael 9414edd64a API: Functionality moved to new places 2022-01-06 07:34:16 +00:00
Balázs Úr b08718fcc3 Add native language names to language selector 2022-01-05 00:33:04 +01:00
Philipp Holzer 35a2fd45af
Make Response even more compatible .. 2022-01-04 20:59:28 +01:00
Philipp Holzer 543e4be0a6
Replace 'REQUEST_METHOD' with App\Arguments::getMethod() 2022-01-04 20:59:28 +01:00
Philipp Holzer 71272e07ee
temporary merge response header into static *exit() methods because of compatibility issues 2022-01-04 20:59:27 +01:00
Balázs Úr 733f3de9ed Add missing copyright text 2022-01-02 10:49:50 +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 Holzer 6ca5668ac1
Migrate distributed cache config value 2021-12-14 10:14:24 +01:00
Philipp Holzer 5b5cea9335
Add explicit Session caching 2021-12-13 20:09:00 +01:00
Philipp ab960e8596
Update src/Core/Logger/Type/SyslogLogger.php
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2021-12-13 07:29:21 +01:00
Philipp Holzer 2413627de9
Enhance syslog logging 2021-12-12 22:45:22 +01:00
Michael 33f080d118 Remove obsolete network guessing function 2021-12-07 07:28:55 +00:00
Hypolite Petovan 423892b814 Replace references to NOW() in SQL queries with a DateTimeFormat generated parameter 2021-12-04 17:53:16 -05:00
Hypolite Petovan 80da47921e Replace references to UTC_TIMESTAMP in SQL queries with a DateTimeFormat generated parameter 2021-12-04 17:53:08 -05:00
Philipp Holzer b5d2d32b44
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()
2021-11-27 12:39:45 +01:00
Hypolite Petovan 84e7f65d52 Move sending follow message to remote server to Protocol class 2021-11-21 18:59:36 -05:00
Hypolite Petovan 8d550ad4e8
Merge pull request #10961 from annando/deprecated
Removed and replaced deprecated functionalities
2021-11-07 10:53:17 -05:00
Michael eb1b2256a0 Removed and replaced deprecated functionalities 2021-11-07 14:00:47 +00:00
Philipp 882925b824
Update src/Core/Worker/Repository/Process.php
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2021-11-07 13:29:38 +01:00
Philipp fb908aca6d
Update src/Core/Worker/Factory/Process.php
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2021-11-07 13:29:33 +01:00
Philipp Holzer c7be395e6a
use static table-variable 2021-11-06 20:33:02 +01:00
Philipp Holzer 5350e0852d
Add hostname to Process entity 2021-11-06 20:21:01 +01:00
Philipp Holzer 9a5e6642b6
Add Unique-Id for each worker execution 2021-11-05 21:07:14 +01:00
Philipp Holzer da86581bf2
Deactivating isMinMemoryReached() 2021-11-05 20:52:45 +01:00
Philipp Holzer 62bacbb833
Remove 'maxloadavg_frontend' restriction in Friendica 2021-11-05 20:52:43 +01:00
Philipp Holzer c2b5eb2838
Improve repository usage 2021-11-05 20:52:34 +01:00
Philipp 7c6554451e
Update src/Core/System.php
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2021-11-05 20:52:33 +01:00
Philipp 63960bca05
Update src/Core/Worker.php
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2021-11-05 20:52:33 +01:00
Philipp 807c95b314
Update src/Core/System.php
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2021-11-05 20:52:32 +01:00
Philipp Holzer a7487ee50d
Fix PID at forking 2021-11-05 20:52:31 +01:00
Philipp Holzer 32f0c3fb9c
Adds DI::flushLogger() to renew Logger instances 2021-11-05 20:52:31 +01:00
Philipp Holzer 7637ae1dcc
Fixup command argument 2021-11-05 20:52:31 +01:00
Philipp Holzer 38f70cc55a
Refactor Process for new paradigm 2021-11-05 20:52:28 +01:00
Michael 99a93a422b todo removed 2021-11-04 23:01:41 +00:00
Michael 63da4a75e9 The boot.php had been cleared of most functions 2021-11-04 20:29:59 +00:00
Michael 24ee87224f Replaced deprecated "log" function call 2021-11-03 23:19:24 +00:00
Michael d56fc6d18f Improve the JSON output of the log entries 2021-11-02 08:06:55 +00:00
Michael c3964a8735 Using internal redirect in case of missing scheme 2021-11-01 21:21:03 +00:00