Philipp Holzer
8f9c0fe149
Adding Develop and normal Logging instances
2 years ago
Philipp Holzer
fe8f0e0045
Add Monolog
2 years ago
Hypolite Petovan
895b3abf32
Remove/replace killme() with *exit()
2 years ago
Tobias Diekershoff
0c3f123d9a
remove empty lines
2 years ago
Tobias Diekershoff
8b586e9d6c
Updated the CREDITS.TXT file for 2019.01
Additionally Transifex started to add lines to the header that confused the detection of "Translatorname, year" detection so the make_credits script had to be updated.
2 years ago
Hypolite Petovan
7b8441101f
Delete friendica-to-smarty-tpl.py
2 years ago
Hypolite Petovan
f9db5e32e7
Delete updatetpl.py
2 years ago
Hypolite Petovan
ed7bada71e
Move Composer autoload require out of boot.php
2 years ago
Hypolite Petovan
acaee626f5
Remove include/ requires that are now done directly from Composer
2 years ago
Hypolite Petovan
1c5a19e245
Update path to friendica-to-smarty-tpl.py
2 years ago
Hypolite Petovan
e02295e8e8
Move testargs to bin
2 years ago
Hypolite Petovan
c0b3b73c88
Move files from util to mods
- Move local.config.vagrant.php
- Move fpostit
- Move bookmarklet-share2friendica
- Updated Readme file
2 years ago
Hypolite Petovan
b42760b0e6
Move credits out of util/
2 years ago
Hypolite Petovan
9102a37b37
Move master translation file away from util
- Rewrite translation documentation
- Delete unused util/strings.php
- Updated references to util/messages.po and util/strings.php
2 years ago
Hypolite Petovan
c964e193b9
Replace *.ini.php by *.config.php in comments
2 years ago
Hypolite Petovan
98d90e131d
Update install to generate config/local.config.php
2 years ago
Tobias Diekershoff
d81366bff4
cp htaccess in Vagrant VM on setup
2 years ago
Philipp Holzer
ffbad2dc81
moved check_db($via_worker) to Update::check($via_worker)
3 years ago
Adam Magness
50da89d861
Logger Levels
update logger levels in calls
3 years ago
Adam Magness
14fde5dc9b
Log function
implement log() function.
3 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
3 years ago
Hypolite Petovan
e2ac36e43e
Simplify bin/worker
- Remove duplicate calls to Addon::loadHooks and Config::load
- Remove useless killme() call
3 years ago
Philipp Holzer
5a02e39a65
Rename App Methods
- renamed a lot of App methods to CamelCase
- replaced direct public variables with get-/set-Methods
3 years ago
Philipp Holzer
31148e25cf
Changing Friendica\App\Mode from static methods to public methods
- Changing from static methods to public methods
- Adding dev-composer-dependency Mockery for static method mocking (f.e. Config, DBA)
- Adding ModeTest with Mocking
- removing bootstrap from phpunit.xml because of double loading tests\bootstrap.php
3 years ago
Hypolite Petovan
3ed9e7fe1d
Replace remaining $a->isInstallMode() instances
3 years ago
Philipp Holzer
065340dc32
Creating Friendica\App\Mode for encapsulating the App Mode
3 years ago
Hypolite Petovan
b285135ec0
Update composer binary to version 1.7.2
3 years ago
Michael
d244290d1f
Issue 5486: Fix for non translated notifications
3 years ago
Michael
432eec770b
Issue 5467: Cron jobs hadn't been executed
3 years ago
Michael
716b959e33
Some code cleanup
3 years ago
Michael
de984cdaa1
Issue 5467: Fix worker and daemon
3 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 []
3 years ago
Roland Häder
2970a976d5
Fixes: ( #5447 )
- rewrote to first check if PID file is readable, then if found load it
- next addition is to cast it's content to int. Any non-integer content will
result in 0 (as I know).
- Give warnings a voice! (xdebug's scream option showed a warning)
- added some spaces for better readability
3 years ago
Hypolite Petovan
af6dbc654f
Rename Friendica\Database\dba to Friendica\Database\DBA
3 years ago
Hypolite Petovan
daa1177e3a
Update use statement lists with new Friendica\Database\dba class
- Remove unused use statement
- Remove superfluous use statements (classes in the same namespace)
- Add missing use statements
3 years ago
Tobias Diekershoff
9518145377
switch the Vagrant VM to the new config system ( #5396 )
3 years ago
Hypolite Petovan
cd9b864045
Rework App modes
- Replace App mode constants with capability-based flags
- Add App->isInstallMode()
- Add file config fallback in (P)Config abstraction
- Removed logger disabling code
3 years ago
Hypolite Petovan
3fc21f0d64
Fix config mentions (no doc)
3 years ago
Hypolite Petovan
fd7179ee6c
Prevent infinite loops with Config when App is in install mode
3 years ago
Hypolite Petovan
46b34574d9
Update support for daemon pidfile config
3 years ago
Hypolite Petovan
3985a4bc43
Remove extraneous dba::connect calls
3 years ago
Hypolite Petovan
decfc553f7
Set BaseObject::setApp in App
3 years ago
Michael
3cb7a7606e
workaround for stalling worker processes when running the daemon
3 years ago
Michael
e97a3c25e7
Multiple daemon improvements (foreground, faster spawning)
3 years ago
Michael
8584e09e12
Store the database credentials for reconnect
3 years ago
Michael
aa3f8ec09d
Force a database reconnection in the daemon to prevent lost connections
3 years ago
Michael
e005312b87
Should be just a debug log entry
3 years ago
Michael
83243800b5
Ensure that cron workers are called even at busy times
3 years ago
Michael
1304dae0d3
Bugfix: In the daemon mode we forgot to call the cron jobs
3 years ago
Michael
28f8beebfc
Workers can now be started exclusively from the daemon and other workers
3 years ago