Commit Graph

1263 Commits

Author SHA1 Message Date
Philipp 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 150e3a6f42
Add DEVELOP flag for StorageManager for testing purpose only 2022-01-23 20:40:38 +01:00
Philipp 9bcd0ffac8
Fix Addons-Load for StorageManager 2022-01-23 20:23:44 +01:00
Philipp 71c7669066
Fix config usage during install process 2022-01-23 20:08:48 +01:00
Philipp 5fcb3e4901
Remove unused field 2022-01-23 20:08:33 +01:00
Philipp 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 35a2fd45af
Make Response even more compatible .. 2022-01-04 20:59:28 +01:00
Philipp 543e4be0a6
Replace 'REQUEST_METHOD' with App\Arguments::getMethod() 2022-01-04 20:59:28 +01:00
Philipp 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 6ca5668ac1
Migrate distributed cache config value 2021-12-14 10:14:24 +01:00
Philipp 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 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 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 c7be395e6a
use static table-variable 2021-11-06 20:33:02 +01:00
Philipp 5350e0852d
Add hostname to Process entity 2021-11-06 20:21:01 +01:00
Philipp 9a5e6642b6
Add Unique-Id for each worker execution 2021-11-05 21:07:14 +01:00
Philipp da86581bf2
Deactivating isMinMemoryReached() 2021-11-05 20:52:45 +01:00
Philipp 62bacbb833
Remove 'maxloadavg_frontend' restriction in Friendica 2021-11-05 20:52:43 +01:00
Philipp 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 a7487ee50d
Fix PID at forking 2021-11-05 20:52:31 +01:00
Philipp 32f0c3fb9c
Adds DI::flushLogger() to renew Logger instances 2021-11-05 20:52:31 +01:00
Philipp 7637ae1dcc
Fixup command argument 2021-11-05 20:52:31 +01:00
Philipp 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
Michael 516018861e Merge remote-tracking branch 'upstream/develop' into error-handling 2021-10-31 05:25:39 +00:00
Michael 4236a9a105 Improved http error handling 2021-10-29 23:21:07 +00:00
Philipp 22663c4ae5
Move Introspection to Logger package 2021-10-29 12:37:22 +02:00
Philipp f4ea74447e
Add Feedback :-) 2021-10-29 11:37:09 +02:00
Philipp 409d909d0f
Restructure HTTPClient for new paradigm 2021-10-28 20:01:03 +02:00
Philipp fa55928ea3
Replace own VoidLogger with PSR-Standard NullLogger() 2021-10-28 20:01:03 +02:00
Philipp 184f6cc255
Restructure Logger to new paradigm 2021-10-28 20:01:02 +02:00
Philipp 7c38647573
Cleanup namespace 2021-10-27 20:06:04 +02:00
Philipp 2ab0d06996
Restructure Storage to new paradigm 2021-10-27 20:00:19 +02:00
Philipp 58eea1adaa
Cleanup namespaces 2021-10-26 22:11:10 +02:00
Philipp b216317477
Refactoring Core class structures ... 2021-10-26 22:11:09 +02:00
Philipp 57b4c008cb
Restructure Session to follow new paradigm 2021-10-26 22:11:07 +02:00
Philipp ff1a812e1a
Restructure Lock to follow new paradigm 2021-10-26 22:11:06 +02:00
Philipp ab83d0dd27
Restructure (P)Config to follow new paradigm 2021-10-26 22:11:06 +02:00
Philipp 68046573a4
Restructure Cache to follow new paradigm 2021-10-26 22:11:06 +02:00
Hypolite Petovan 8af86af3d9 Add new developer test console command 2021-10-26 11:42:22 -04:00
Hypolite Petovan bcd3cf0bc0
Merge pull request #10923 from nupplaphil/feat/error_handling
Add extended ErrorHandling
2021-10-24 22:41:38 -04:00
Philipp 8f688b2a89
Update ErrorHandler 2021-10-24 19:44:38 +02:00
Philipp 5d92713a8e Rename Depository to Repository 2021-10-23 21:45:36 -04:00
Philipp acb06af28d
Add extended ErrorHandling 2021-10-23 20:58:38 +02:00
Philipp 5fecc9ecf7
Adapt ProfileField & Fix current PermissionSet Usage at ProfileFields 2021-10-18 23:32:44 +02:00
Philipp 838cdac5d1
Move ProfileFieldRepository::migrateFromLegacyProfile() & delete old repository 2021-10-18 23:32:41 +02:00
Philipp 5d0b7fd87b
Merge pull request #10882 from MrPetovan/task/10865-contact-purge
Add new purge contact content option to admin contact blocklist
2021-10-17 23:44:28 +02:00
Hypolite Petovan f80478f262 Improve argument handling in Core\Worker::add
- The argument name made it unclear the first argument is supposed to be a priority number
2021-10-16 19:19:56 -04:00
Hypolite Petovan 66c0431144 Switch available contact selection to private-supporting networks in ACL 2021-10-16 16:00:41 -04:00
Michael 27b9da3df5 replace "p" with higher level database functions 2021-10-12 05:53:29 +00:00
Hypolite Petovan 880c2148c2 Fix overly strict return value for revokeFollow methods 2021-10-09 02:08:04 -04:00
Hypolite Petovan 201d728b9e Fix addon reloading
- The wrong variable was used to uninstall/install addons, which led to absolutely nothing done
2021-10-09 00:12:11 -04:00
Hypolite Petovan 80a8cd86c4
Merge pull request #10836 from nupplaphil/feat/depository_permissionset
Migrate PermissionSet to Depository paradigm
2021-10-08 09:39:39 -04:00
Philipp 62eb16e9ad
Migrate PermissionSet to Depository paradigm 2021-10-07 19:53:38 +02:00
Hypolite Petovan 456ae169ab Fix overly strict return value for terminateFriendship methods 2021-10-06 20:18:44 -04:00
Hypolite Petovan c0f03889c5 Pass correct hook data for support_follow and support_revoke_follow 2021-10-06 12:07:48 -04:00
Philipp 065b46c721
Split Storage usage and Storage configuration 2021-10-05 20:07:12 +02:00
Hypolite Petovan 6db211568a Remove most calls to date_default_timezone_* calls
- It was wrongly used to set the node-wide ot user-specific timezone
- It is now fully managed from the App object
- Add a static variable to DateTimeFormat maintain the convenient local() method
2021-10-03 13:42:31 -04:00
Michael Vogel 2a442952b6
Merge pull request #10800 from MrPetovan/task/10739-block
Add block and unblock hooks
2021-10-02 23:39:06 +02:00
Hypolite Petovan 66fec8944f Add block and unblock hooks 2021-10-02 17:30:40 -04:00
Philipp 80753ed1b6
Remove disturbing/superfluous logging messages 2021-10-02 23:11:33 +02:00
Hypolite Petovan c4a4473cd0 Remove the obsolete parameter $two_way from terminateFriendship methods
- Follow revokation is now done independently
2021-10-02 16:14:22 -04:00
Hypolite Petovan 72fae04e97 Add revoke follow feature
- Add new follow revoke module
- Add new hooks: revoke_follow, support_follow, support_revoke_follow
- Add link in contact page action menu
2021-10-02 14:01:46 -04:00
Hypolite Petovan 797391e1d8 Rework contact termination to separate protocol-level and contact-level
- Mail and Feed contacts are now removed automatically on relationship termination
- Added logging and notice messages for different results
2021-10-02 08:31:59 -04:00
Michael 19d5987c9d Sanitize the addon author if it is not a valid URL but a handle 2021-10-01 13:25:00 +00:00
Michael 80b13ec232 Fix translations for singular/plural strings 2021-08-31 05:51:08 +00:00
Philipp 13a91e63aa
Rename DI::httpRequest() into DI::httpClient() 2021-08-25 21:54:54 +02:00
Philipp 505100bdd7
Rename HTTPRequestOptions to HTTPClientOptions 2021-08-25 21:45:15 +02:00
Philipp 0cafa871f1
Use HTTPRequestOptions constants for HTTPClient::get() 2021-08-25 21:31:30 +02:00
Philipp 2356221aba
Fixup HTTP headers for httpClient requests 2021-08-25 14:22:43 +02:00
Tobias Diekershoff ae6e13815d rewording the encouragement and regen of the messages.po 2021-08-17 08:38:06 +02:00
Tobias Diekershoff 6cd9f26771 add encuragement 2021-08-17 08:38:06 +02:00
Tobias Diekershoff e16e9bd929 typo 2021-08-17 08:38:06 +02:00
Tobias Diekershoff cafb91ec62 Issue 10514: add TLS check to the installer
This PR adds a check to the installer which tries to determine whether the
request to the installer was made over an HTTPS line or not.

I've only tested it with an Apache2 server, but there it works.

Addresses #10514
2021-08-17 08:38:06 +02:00
Philipp db6fded5d2
Update src/Core/StorageManager.php
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2021-08-16 23:32:32 +02:00
Philipp 99239e3d99
Fix usage 2021-08-16 23:27:43 +02:00
Philipp 1901716479
Lower complexity for valid backends (replace hashmap with a "simple" name array) 2021-08-16 23:27:43 +02:00
Philipp c17bc55158
Introduce InvalidClassStorageException and adapt the code for it 2021-08-16 23:27:42 +02:00