Commit graph

1287 commits

Author SHA1 Message Date
4c52772d84 Use class constant 2022-09-26 13:33:31 +00:00
5e51ab95fb Merge remote-tracking branch 'upstream/2022.09-rc' into worker-timeout 2022-09-26 13:26:56 +00:00
3911c9450b (Hopefully) SQL improvements 2022-09-24 17:56:07 +00:00
Michael Vogel
98a4c7a56c We can now configure the worker runtime limits 2022-09-24 10:00:41 +02:00
97e5477bde static cooldown moved to the cooldown function 2022-09-22 22:46:59 +00:00
e1341b6ad3 Fallback for load detection, additional checks 2022-09-22 05:45:42 +00:00
Michael Vogel
0fa281247d More cooldown calls for worker processes 2022-09-21 21:03:07 +02:00
bdd80eeaaf Fix wrong parameter name in Core\System::httpExit 2022-09-11 02:36:05 -04:00
075638c0ae Pause the worker execution when the load is too high 2022-09-04 13:54:32 +00:00
cc43b567cb Some changes after code review 2022-08-31 19:03:37 +00:00
757a5c2de9 Loglevels are adjusted 2022-08-30 19:45:30 +00:00
4a885a13a6 Remove poke feature 2022-08-09 14:55:55 -04:00
Philipp
e0ec304d2a
Merge pull request #11830 from MrPetovan/task/11826-pluralization
Use L10n->tt instead of t() for plural strings
2022-08-08 15:35:54 +02:00
7634fc2425 added Gàidhlig language translation
This adds the initial translation of Friendica core into Gàidhlig by @gunchleoc

redo of #11818
2022-08-08 11:37:39 +02:00
bff6a5a9ee Add support for additional interpolated variables in L10n->tt() 2022-08-08 01:51:42 -04:00
067f06b166 Rework return_path session key handling
- Add new IHandleSessions::pop() method
- Remove redirection from Authentication::setForUser()
- Add explicit return_path form parameter to Login::form()
2022-08-01 12:10:43 -04:00
3c540517e7
Ops 2022-07-19 23:40:29 +02:00
4e5179a7b3
Changes:
- added some missing type-hints
- fixed some documentation (e.g. empty * line between @param and @return/throws)
2022-07-19 18:02:38 +02:00
42d411712b
Merge pull request #11742 from annando/server-detection
Improved server detection
2022-07-18 08:50:59 -04:00
f2a4aecc05 Check for GMP module 2022-07-17 06:34:37 +00:00
8b7cb5d9ef Merge remote-tracking branch 'upstream/develop' into server-detection 2022-07-16 12:44:21 +00:00
4cb5cadba8
Added returned type-int "int" 2022-07-13 21:10:50 +02:00
d74e57ef2c
include suggested changes 2022-07-13 00:23:12 +02:00
a910fd8864
Split DBStructure & View to avoid DB-calls and dependencies for basic operations
- new "Definition" classes vor DB and Views
- new "Writer" classes to create SQL definitions for DB and Views
- DBStructure & View are responsible to execute DB-querys
2022-07-12 23:40:31 +02:00
34f2b2f558
Add the right exceptions for BaseUrl::redirect and respect them when catching exceptions at the Trust page 2022-07-07 21:47:39 +02:00
cc75eb5d18 Improved server detection 2022-07-05 05:04:05 +00:00
e33f5612ab
Changes:
- added some type-hints
- added some documentation
- changed some double-quotes to single
2022-06-27 15:16:18 +02:00
91f5a7cc6b Convert potential spaces in Memcache(d) key names
- Address https://github.com/friendica/friendica/issues/11630#issuecomment-1166475036
- Add test for space in cache keys
2022-06-26 07:30:30 -04:00
d441b90bda
Respect Forwarded-For headers 2022-06-23 22:42:35 +02:00
2f358607c7
Changes:
- renamed Logger::getLogger() to getInstance() (@MrPetovan)
2022-06-22 01:50:10 +02:00
cdcfb4064b
Changes:
- added type-hints
- added missing documentation
- renamed Logger::getWorker() to Logger::getLogger() as there is no worker class
  returned but the actual (inner) logger
2022-06-21 21:22:16 +02:00
44a9ec9b17
Rewrite:
- avoid having array|string for $table to have a "string" type-hint for $table
- you now have to do it for yourself by giving 'schema.table' as parameter
2022-06-21 13:47:38 +02:00
94a594eeb2
Ops, wrong type-hint 2022-06-20 03:36:36 +02:00
14bf72e4fe
Changes:
- added some documentation
- added type-hints
2022-06-20 02:48:05 +02:00
a0c8fc6d6e
Changes:
- added more type-hints
2022-06-20 02:48:02 +02:00
7bb0cb5323
Changes:
- added more type-hints
- DBStructure::existsTable() does no longer need array support for table name
  because this is no longer used (good work!)
2022-06-19 02:11:12 +02:00
8756d92316
Continued:
- prevents a "Return value of Friendica\Core\Worker::workerProcess() must be of the type array, bool returned"
2022-06-18 15:57:31 +02:00
af8cd5ca86 Worker::getWaitingJobForPID() can also return FALSE on failure ... :-( 2022-06-17 17:18:31 +02:00
f7c1eaa858 Continued:
- added type-hints
- removed out-dated documentation
- added some missing documentation
2022-06-17 17:18:31 +02:00
7e747b2f41 API: Speed improvements when fetching posts 2022-06-10 18:49:03 +00:00
e46354a522 New command to merge duplicated contacts 2022-06-01 22:11:03 +00:00
1301a53f20 Remove relocation form from Admin Site settings 2022-05-29 13:15:23 -04:00
f1630ebb05 Add relocate console command 2022-05-29 13:13:59 -04:00
7d09ce86c4 Move relocation feature in its separate class
- Create Database->replaceInTableFields method
2022-05-29 12:11:18 -04:00
d6242aacf6 Console command to move avatars to the avatar cache 2022-05-23 12:15:30 +00:00
9ded39eff6 Renamed variable 2022-05-20 15:49:59 +00:00
2fc5957abb Spelling error fixed 2022-05-20 05:46:38 +00:00
653af77e5f Further formatting fixes 2022-05-20 04:52:18 +00:00
6ce23bd9ca Fixed code structure 2022-05-20 04:42:10 +00:00
dc16e6d471 The worker is split into several classes 2022-05-19 19:24:21 +00:00