Philipp
d441b90bda
Respect Forwarded-For headers
2022-06-23 22:42:35 +02:00
Roland Häder
2f358607c7
Changes:
...
- renamed Logger::getLogger() to getInstance() (@MrPetovan)
2022-06-22 01:50:10 +02:00
Roland Häder
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
Roland Häder
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
Roland Häder
94a594eeb2
Ops, wrong type-hint
2022-06-20 03:36:36 +02:00
Roland Häder
14bf72e4fe
Changes:
...
- added some documentation
- added type-hints
2022-06-20 02:48:05 +02:00
Roland Häder
a0c8fc6d6e
Changes:
...
- added more type-hints
2022-06-20 02:48:02 +02:00
Roland Häder
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
Roland Häder
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
Roland Häder
af8cd5ca86
Worker::getWaitingJobForPID() can also return FALSE on failure ... :-(
2022-06-17 17:18:31 +02:00
Roland Häder
f7c1eaa858
Continued:
...
- added type-hints
- removed out-dated documentation
- added some missing documentation
2022-06-17 17:18:31 +02:00
Michael
7e747b2f41
API: Speed improvements when fetching posts
2022-06-10 18:49:03 +00:00
Michael
e46354a522
New command to merge duplicated contacts
2022-06-01 22:11:03 +00:00
Hypolite Petovan
1301a53f20
Remove relocation form from Admin Site settings
2022-05-29 13:15:23 -04:00
Hypolite Petovan
f1630ebb05
Add relocate console command
2022-05-29 13:13:59 -04:00
Hypolite Petovan
7d09ce86c4
Move relocation feature in its separate class
...
- Create Database->replaceInTableFields method
2022-05-29 12:11:18 -04:00
Michael
d6242aacf6
Console command to move avatars to the avatar cache
2022-05-23 12:15:30 +00:00
Michael
9ded39eff6
Renamed variable
2022-05-20 15:49:59 +00:00
Michael
2fc5957abb
Spelling error fixed
2022-05-20 05:46:38 +00:00
Michael
653af77e5f
Further formatting fixes
2022-05-20 04:52:18 +00:00
Michael
6ce23bd9ca
Fixed code structure
2022-05-20 04:42:10 +00:00
Michael
dc16e6d471
The worker is split into several classes
2022-05-19 19:24:21 +00:00
Michael
4622814e5f
Configuration for logging added
2022-05-18 03:10:38 +00:00
Michael
f6167b4cfd
New function to exit the program
2022-05-18 02:13:54 +00:00
Michael
4016a576d5
Log the execution time
2022-05-17 20:47:23 +00:00
Michael
a8839517fe
Fix workerqueue entries with wrong priority
2022-05-14 06:36:43 +00:00
Hypolite Petovan
4729fca5d9
Merge pull request #11457 from annando/performance
...
Improve page performance
2022-05-06 11:11:05 -04:00
Balázs Úr
4171ff7563
Add Danish language to list of native language names
2022-05-03 21:13:47 +02:00
Michael
6e394ac6ff
Whitespaces removed
2022-05-02 14:36:21 +00:00
Michael
a9990db98c
Clean the worker queue directly from cron
2022-05-02 05:16:02 +00:00
Michael
13e4144ba6
Use a centralized function to check the priority
2022-05-01 09:29:31 +00:00
Michael
f7b6507438
More checks for strange priorities
2022-05-01 08:58:48 +00:00
Michael
e19681684b
Fix worker priorities
2022-05-01 06:57:29 +00:00
Michael
171354181d
Use central function to fetch the global directory
2022-04-26 18:33:58 +00:00
Hypolite Petovan
3842f02b02
Merge pull request #11402 from annando/featured-endpoint
...
We now offer an endpoint for featured posts
2022-04-11 11:17:56 -04:00
Michael
4a22034be6
Unified output via the "httpExit" function
2022-04-10 08:31:55 +00:00
Michael
d15023fe4b
Unified JSON exit
2022-04-09 11:58:01 +00:00
Philipp
e299fc67c8
Introduce "accept_header" as specific argument to the http client
2022-04-02 21:16:53 +02:00
Philipp
73c3b21665
Move ACCEPT constants to own "enum" class
2022-04-02 20:26:11 +02:00
Michael
908d2594ed
Use "HttpClientOptions"
2022-03-29 08:57:38 +00:00
Michael
1fae0123ec
Some more "accept" parameters are added
2022-03-29 06:24:20 +00:00
Hypolite Petovan
49971b1465
Switch data source from notify to notification in Module\Notifications\Ping
...
- Change unused FormattedNotification classes to FormattedNavNotification classes
2022-03-14 07:58:38 -04:00
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
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