Philipp Holzer
fe8f0e0045
Add Monolog
2 years ago
Hypolite Petovan
895b3abf32
Remove/replace killme() with *exit()
2 years ago
Hypolite Petovan
ed7bada71e
Move Composer autoload require out of boot.php
2 years ago
Philipp Holzer
ffbad2dc81
moved check_db($via_worker) to Update::check($via_worker)
2 years ago
Hypolite Petovan
c6f0bea51d
Move $strings from App to Core\L10n
- Add L10n::init() call in App constructor
- Improve pushLang/popLang
- Remove no longer needed references to App
2 years ago
Hypolite Petovan
e2ac36e43e
Simplify bin/worker
- Remove duplicate calls to Addon::loadHooks and Config::load
- Remove useless killme() call
2 years ago
Philipp Holzer
5a02e39a65
Rename App Methods
- renamed a lot of App methods to CamelCase
- replaced direct public variables with get-/set-Methods
2 years ago
Michael
d244290d1f
Issue 5486: Fix for non translated notifications
2 years ago
Michael
432eec770b
Issue 5467: Cron jobs hadn't been executed
2 years ago
Michael
716b959e33
Some code cleanup
2 years ago
Philipp
cd52d0b3e9
Using getopt for CLI arguments ( #5446 )
* Adding Argument class to Friendica
* Adding Argument class to Friendica
* Adding Argument class to Friendica
* fixing arguments for `spawnWorker`
* Adding `use Friendica\BaseObject` to `ApiTest.php`
* Refactoring the argument-usages of Friendica
* Refactoring the argument-usages of Friendica
* removing superfluous []
2 years ago
Hypolite Petovan
3985a4bc43
Remove extraneous dba::connect calls
2 years ago
Hypolite Petovan
decfc553f7
Set BaseObject::setApp in App
2 years ago
Michael
3cb7a7606e
workaround for stalling worker processes when running the daemon
2 years ago
Tobias Diekershoff
f63be91bd5
Revert "Moved .htconfig.php file & extracted Install business logic"
2 years ago
Philipp Holzer
346697d771
Moved .htconfig file
Extracted install business functions to new Class `Install.php`
2 years ago
Hypolite Petovan
4e33f7f458
Restore executable permissions in bin/
2 years ago
Hypolite Petovan
1c2deac7e5
Move scripts/worker.php to bin/
2 years ago
Hypolite Petovan
354bec58c0
Ensure BaseObject::setApp() whenever App is instantiated
2 years ago
Michael
13df527d62
Bugfix: Don't cache when looking for maintenance mode
2 years ago
Adam Magness
11cf36105c
Update Addon functions and calls
Update function names and calls for Addon class.
3 years ago
Hypolite Petovan
f193f01a7d
Fix issues in changed files
- Initializes $return in Process::insert
- Update the type hint of dba::fetch
- Remove unused $a parameter in worker_init()
- Fix uses
3 years ago
Hypolite Petovan
78ac7afe9c
Move process functions to Model\Process
- Add start|endProcess functions to Core\Worker
3 years ago
Michael
5417099f72
Spawn now spawns
3 years ago
Michael
611c38b3e3
The daemon now works fine
3 years ago
Michael
c1b064c643
Some more poller are noe a worker
3 years ago
Michael
cabfcfc904
We now are having a "scripts" folder
3 years ago
Michael
01362461cf
poller.php is cleaned up, unneeded stuff has been removed
3 years ago
Michael
70c08dee1d
Some more improvements
3 years ago
Michael
478e363967
proc_run was replaced
3 years ago
Michael
da212a28a2
New worker class that does all the work
3 years ago
Michael
225eea2ca6
Avoid undefined class variables
3 years ago
Michael
a29b7e7153
"dba" is now a static class
3 years ago
Michael
3354f01ed5
Doxygen and bugfix
3 years ago
Michael
2971501f63
The direct structure call is now only executed when called via the poller.php
3 years ago
Michael
bd88179419
Add additional checks for the worker
3 years ago
Michael
03c9e22334
Poller: A limit of 1 seems to be better
3 years ago
Michael
c44448dd57
We should reset the session variable
3 years ago
Michael
5adfeb0bd5
App::get_baseurl is now replaced with System::baseUrl
3 years ago
Michael
3c24bed412
New class "System"
3 years ago
Michael
0ac725dc47
Some more updated queries
3 years ago
Michael
a80329b416
Speed up of OStatus transmission/Ignoring "created" with remote self
3 years ago
Michael
30b0a035f9
Split expire.php in several processes / small worker changes
3 years ago
Michael
0ab7915810
Only kill the first stale process
3 years ago
Michael
bae4569a0b
Avoid the killing of the wrong process
3 years ago
Michael
0cd9db9cb7
Degrade priority step by step
3 years ago
Michael
7726353601
Prevent soon killings
3 years ago
Michael
99b86c9fd9
Just found the handbrake ...
3 years ago
Michael
18d6eba8d0
Some more performance stuff
3 years ago
Michael
526db18f5c
Hopefully a fix for semaphore warnings and for the missing field in the workerqueue
3 years ago