Commit graph

115 commits

Author SHA1 Message Date
Hypolite Petovan 8bbf9e93c6 Remove dependency to the second parameter of XML::fromArray 2023-01-01 19:20:42 -05:00
Hypolite Petovan 1874a32728 Happy New Year 2023! 2023-01-01 09:36:24 -05:00
Michael 5298cd73b3 We now store the violation as well 2022-12-25 10:44:06 +00:00
Hypolite Petovan 43aa9cddc5 Trim terms of service rules before turning them to an array 2022-12-17 21:13:52 -05:00
Hypolite Petovan 22e2578b23
Merge pull request #12322 from annando/api-rules
API: Central way to fetch the system rules
2022-12-03 17:24:52 -05:00
Michael 16b76919c0 Rules added 2022-12-03 21:15:08 +00:00
Michael b6f7d31036 API: Central way to fetch the system rules 2022-12-03 20:18:19 +00:00
Michael fa80c69d94 Only fetch the processes if needed 2022-12-03 19:44:50 +00:00
Zane C. Bowers-Hadley 8f82fb9a22 now with g 2022-12-03 04:34:17 -06:00
Zane C. Bowers-Hadley edaff99307 derp, minor fix 2022-12-03 04:31:04 -06:00
Zane C. Bowers-Hadley f664208157 get the load average in a portable manner 2022-12-03 04:24:49 -06:00
Michael 196dda9487 Suppress warning on load check 2022-10-19 04:49:57 +00:00
Michael d43122c6d8 Check the readability before acessing /proc/loadavg 2022-10-18 08:02:55 +00:00
Michael e1341b6ad3 Fallback for load detection, additional checks 2022-09-22 05:45:42 +00:00
Hypolite Petovan bdd80eeaaf Fix wrong parameter name in Core\System::httpExit 2022-09-11 02:36:05 -04:00
Michael 075638c0ae Pause the worker execution when the load is too high 2022-09-04 13:54:32 +00:00
Michael 757a5c2de9 Loglevels are adjusted 2022-08-30 19:45:30 +00:00
Philipp Holzer 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
Michael 7e747b2f41 API: Speed improvements when fetching posts 2022-06-10 18:49:03 +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 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
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
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 e56a53647b Update copyright 2022-01-02 08:27:47 +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 7c6554451e
Update src/Core/System.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 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 c3964a8735 Using internal redirect in case of missing scheme 2021-11-01 21:21:03 +00:00
Michael 4236a9a105 Improved http error handling 2021-10-29 23:21:07 +00:00
Michael a06d699480 Item cache related functionality removed 2021-07-05 04:57:50 +00:00
Balázs Úr 054c301ef0 Update copyright 2021-03-29 08:40:20 +02:00
Michael 6e1483545e Support for message delivering via uri-id 2021-02-14 14:24:48 +00:00
Michael Vogel 74bc3de472
Merge pull request #8931 from MrPetovan/task/2020-performance-improvements
Various performance improvements
2020-07-28 07:15:02 +02:00
Michael fd1da74980 Fix fatal error because of unknown function "fetchUrl" 2020-07-27 11:50:36 +00:00
Hypolite Petovan 19141b1bcf Add offset parameter to System::callstack
- Enable its use in centralized methods without polluting the stack
2020-07-27 02:31:42 -04:00
Michael bbb2f1fcf5 Use "0" as default 2020-07-13 16:24:44 +00:00
Michael 5a6887fb2e Use "jsonexit" 2020-07-13 13:26:09 +00:00
Michael fcb37449f3 Fix unneeded database functions in the callstack 2020-07-10 07:01:28 +00:00
Michael 7ee9aad6ca Some more unneeded settings removed 2020-02-19 19:31:55 +00:00
Hypolite Petovan 5d169a4098 Add System::htmlUpdateExit() method to refactor update modules 2020-02-16 04:32:56 -05:00