Commit graph

1171 commits

Author SHA1 Message Date
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 Holzer 99239e3d99
Fix usage 2021-08-16 23:27:43 +02:00
Philipp Holzer 1901716479
Lower complexity for valid backends (replace hashmap with a "simple" name array) 2021-08-16 23:27:43 +02:00
Philipp Holzer c17bc55158
Introduce InvalidClassStorageException and adapt the code for it 2021-08-16 23:27:42 +02:00
Philipp Holzer d0536ebea7
Rename ISelectableStorage to IWritableStorage 2021-08-16 23:27:42 +02:00
Philipp Holzer 57438afbb3
- Moved the description for the specific storage exception first
- Introduced exceptions for try to get invalid storage
- ReferenceStorageException now extends StorageException
2021-08-16 23:27:42 +02:00
Philipp Holzer 29c7552df5
Refactor IStorage 2021-08-16 23:27:42 +02:00
Michael 28090bd793 Get rid of App->user completely 2021-08-08 19:30:21 +00:00
Michael fc283ab928 Remove direct calls to App->user 2021-08-08 10:14:56 +00:00
Michael 2951243b07 Preparation for delayed posts 2021-07-28 22:22:00 +00:00
Michael c89533a70b Support for stacked profiler analysis 2021-07-27 04:57:29 +00:00
Michael 5a87ccf026 Getter/Setter for theme info 2021-07-25 19:39:10 +00:00
Michael 0bbe954316 Getter/Setter for queue 2021-07-24 22:08:33 +00:00
Michael 2502a9192d Many more app-variables removed 2021-07-24 10:09:39 +00:00
Michael a06d699480 Item cache related functionality removed 2021-07-05 04:57:50 +00:00
Michael 8e9433f2e9 Fix: Fetching of non public photos 2021-07-01 18:05:54 +00:00
Hypolite Petovan 681c7c0187 Add ExternalStorage dependency to StorageManager
- Since ExternalStorage isn't instantiated automatically by Dice, we have to provide the dependency manually in StorageManager->getByName
- This requires StorageManager to take one one additional dependency
- Tests are updated with this additional dependency
2021-06-27 23:15:46 -04:00
Michael 9276f6823b New class for external resources 2021-06-24 17:30:22 +00:00
Michael fe07dc828b Fix noscrape publishing and pulling, added header 2021-06-17 11:23:32 +00:00
Michael ae5f57233e Issue 10392: Avoid "Friendica can't display this page at the moment" 2021-06-16 13:23:07 +00:00
Tobias Diekershoff 55dda47f39 Issue 10293: mention the required function in the error message 2021-05-23 07:50:32 +02:00
Michael 829a268faf Issue 10184: Fix directory search results 2021-05-07 18:38:04 +00:00
Matthew Exon ba4492ea81 Add console contact command 2021-05-03 18:00:36 +02:00
Philipp Holzer d1d5cb2857
Fixed new "user config" console feature
- Replaced "DI::" call with constructor injection
- Added return value for IPConfig::load() and PreloadPConfig::load()
2021-04-28 22:13:00 +02:00
Matthew Exon 5421f53a76 Add "user config" console command to administer user-specific configuration 2021-04-27 19:46:16 +02:00
Tobias Diekershoff 2a431b580f Merge branch 'develop' of https://github.com/friendica/friendica into develop 2021-04-26 09:49:48 +02:00
Philipp Holzer f10c24c83a
remove warning 2021-04-17 13:24:37 +02:00
Philipp Holzer 6a414b0543
Fix L10n in case of empty strings array 2021-04-17 13:24:37 +02:00
Hypolite Petovan d666b6cb42
Merge pull request #10116 from mexon/mat/addon-console-command
Add "addon" console command to enable and disable addons
2021-04-02 14:34:23 -04:00
Matthew Exon 3545e9cfa8 Add "addon" console command to enable and disable addons 2021-04-02 18:56:24 +02:00
Balázs Úr befc2af504
Merge branch '2021.03-rc' into copyright-2021 2021-03-29 08:45:21 +02:00
Balázs Úr 054c301ef0 Update copyright 2021-03-29 08:40:20 +02:00
Philipp Holzer b2a7c5ff6c
Fix JIT Config Adapter caching 2021-03-28 23:28:47 +02:00
Philipp Holzer 26bd1bb26d
FollowUp #10086 2021-03-27 22:42:11 +01:00
Philipp Holzer 3327e6d979
Add EOL to help string 2021-03-27 13:59:32 +01:00
Philipp Holzer a831242095
Workaround for cURL troubles in container environments
Addresses https://github.com/friendica/docker/issues/134
2021-03-27 13:52:05 +01:00
Michael adb0b460ef Fixes PHP Warning: " array_unshift() expects parameter 1 to be array, int given" 2021-03-24 19:52:53 +00:00
fabrixxm a861eb65af Storage: small fixes to 'storage move'
- stop command if current storage backend is still "legacy"
- write destination backend name in log
2021-03-12 18:24:45 +01:00
utzer e20e62ffd6
Part of bugfix for storage move problem
@fabrixxm is this already good to change?
2021-03-12 09:55:55 +01:00
Michael d2c734c025 Issue 9986: Improve contact search 2021-03-06 21:52:26 +00:00
Michael 99a145f7cf Fixes several database errors, removes "relation" handling 2021-02-25 05:13:49 +00:00
Tobias Diekershoff beccd12a2b Issue 9064: referring INSTALL.txt now points to doc/INSTALL.md 2021-02-23 09:57:33 +01:00
Michael 312c01a517 Several speed improvements (magiclink, caching, indexes) 2021-02-17 18:59:19 +00:00
Michael 6e1483545e Support for message delivering via uri-id 2021-02-14 14:24:48 +00:00
Michael c3398511b4 New table "post-content" 2021-01-30 22:03:53 +00:00
Michael 8eb3bddc2a Reduce the parameter chaos by splitting the update function 2021-01-30 13:31:59 +00:00
Michael 90f1175cf5 Setting "maintenance" for pre and post updates 2021-01-30 07:50:20 +00:00
Hypolite Petovan 9a9b43bd6c Fix wrong uses of DI::l10n() in Core\Update
- Fix typos in version number in translated messages
2021-01-21 10:36:52 -05:00
Michael 4157db5473 "item" is replaced by "post-view" / postupdate check added 2021-01-17 20:32:13 +00:00
Michael df135c31fe Merge remote-tracking branch 'upstream/develop' into no-frontend-worker 2021-01-07 10:44:12 +00:00
Michael 594b1a75b5 Use the correct pid 2021-01-05 21:48:29 +00:00
Michael 6ef0f9646f Set the new pid 2021-01-05 21:39:53 +00:00
Michael 2f8e873cc7 Wait for parent 2021-01-05 16:47:55 +00:00
Michael 17fbe5c299 Delete IPC entries 2021-01-05 16:01:05 +00:00
Michael 7e89bf5af8 Wait for child being ready 2021-01-05 10:18:25 +00:00
Michael 69c7e9af20 Let the worker run for an hour in daemon mode 2021-01-04 09:20:44 +00:00
Michael 74d7d7e164 Check for childf status 2021-01-03 22:57:25 +00:00
Michael d70d180e4b Merge remote-tracking branch 'upstream/2020.12-rc' into fork 2021-01-03 10:06:17 +00:00
Michael 10b035b51a Additional worker cooldown 2021-01-02 19:33:50 +00:00
Michael 7a03b72060 Improved daemon test 2021-01-02 08:43:55 +00:00
Michael 78f67c1e0e Check for reaching the memory limit 2021-01-01 23:10:38 +00:00
Michael a81ac835a1 The frontend worker is removed 2021-01-01 23:05:26 +00:00
Michael 9a6141dcbe Use "pcntl_fork" to fork processes 2021-01-01 19:35:29 +00:00
Michael 5dcc02594c Some more log levels 2020-12-31 20:44:33 +00:00
Michael d1ea529cfb Issue 9704: Improved log levels 2020-12-31 20:14:13 +00:00
Hypolite Petovan 5f148dcb42 Add temporary console command to fix workerqueue row with corrupted parameter data
- It should be reverted just before the 2020.12 release
2020-12-15 00:20:49 -05:00
Michael Vogel 33930b0bd9
Apply suggestions from code review
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2020-12-09 06:58:19 +01:00
Michael dd94fb1242 Check for bad worker priorities 2020-12-08 21:58:32 +00:00
Michael edbdfbae6b workerqueue now has a "command" field 2020-12-03 15:47:50 +00:00
Michael 3f3f56db57 Poll interval function moved to feed class, first steps for delayed posts 2020-11-30 05:39:12 +00:00
Michael 818c064c0a The notifications parameters are now simplified 2020-11-25 19:56:39 +00:00
Hypolite Petovan ca823244cc Don't assume addons must have an *_install function
- Module-only addons don't have any
2020-11-21 23:19:03 -05:00
Michael aec9f1ebf0 Remove unused config variable 2020-11-21 15:15:58 +00:00
Michael 1de6251627 Code cleaning 2020-11-21 14:58:48 +00:00
Michael Vogel b40218eb0b Immediately fail when lock hadn't been acquired to prevent stocked updates 2020-11-21 14:17:14 +01:00
Michael Vogel 2a1c82cf05 Avoid multiple database update mails, changed log level 2020-11-21 13:28:06 +01:00
Michael 1bc76fdb6d Watchdog mode to check if the daemon is running 2020-11-20 19:50:08 +00:00
Michael 0edc058a17 Ensure that the daemon is called faster and more reliably 2020-11-18 13:29:10 +00:00
Michael 4965d6aa54 The profile page does now shows reshared items 2020-11-03 19:24:47 +00:00
Michael fd0e5cfe48 Added logging for executing child processes 2020-10-24 18:40:15 +00:00
Michael 592ac53ffc Worker priority / no shadow worker 2020-10-24 08:05:03 +00:00
Philipp Holzer a6fc9cd32e
Remove $binary flag for HTTPRequest::get(), HTTPRequest::fetch(), HTTPRequest::fetchAll() (deprecated since PHP 5.1.3) 2020-10-18 20:56:31 +02:00
Michael Vogel 2c0db7546b
Update src/Core/Worker.php
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2020-10-17 15:54:52 +02:00
Michael 7efd01880c Define a maintenance window 2020-10-17 12:39:42 +00:00
Hypolite Petovan 9537a6d0f7 Remove unused App->force_max_items property 2020-10-13 07:52:13 -04:00
Philipp Holzer d39ee428f0
Introduce "static/env.config.php" for environment variable mapping to config cache entries
- Added new database.port config value (used for MYSQL_PORT)
- Removed now obsolete db environment variable functionality
- Added functionality to load env variables (overwrites DB based cached)
2020-10-06 20:43:29 +02:00
Philipp Holzer 0f3e4255ca
Introduce Config\Cache Source indicators (File, DB, Server Env) 2020-10-04 20:41:31 +02:00
Hypolite Petovan a852455d0e Merge remote-tracking branch 'friendica/stable' into develop
# Conflicts:
#	composer.lock
2020-09-20 15:32:58 -04:00
Philipp Holzer c9e510d4fd
Use getmypid() as dependency (improve testing) 2020-09-19 20:28:01 +02:00
Michael c36bfcf17d Changed loglevels in the worker 2020-09-17 17:57:41 +00:00
Michael Vogel 0fe2146338
Apply suggestions from code review
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2020-09-17 06:33:31 +02:00
Michael 178455928a We can now manage relay servers and can send content to them 2020-09-15 17:45:19 +00:00
Philipp Holzer cdb61be06f
Rewrite Process Model/Core 2020-09-15 18:16:44 +02:00
Hypolite Petovan 043e04f484 Remove confirm template obsolete uses (except for contacts)
- Remove obsolete explode_querystring() function
- Remove $extra_inputs template variable
2020-09-12 09:09:15 -04:00
Hypolite Petovan 5f5b97dad6 Create self-only ACL template and helper method 2020-09-07 19:27:32 -04:00
Hypolite Petovan 4a4d0f04cb Fix new private message recipient input
- Add new private message recipient ACL template
- Remove now redundant theme private message templates
2020-09-03 10:01:58 -04:00