Commit Graph

87 Commits

Author SHA1 Message Date
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
2018-07-19 22:15:21 -04:00
Tobias Diekershoff 9518145377 switch the Vagrant VM to the new config system (#5396) 2018-07-18 15:32:24 -04:00
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
2018-07-16 19:38:15 -04:00
Hypolite Petovan 3fc21f0d64 Fix config mentions (no doc) 2018-07-16 19:38:14 -04:00
Hypolite Petovan fd7179ee6c Prevent infinite loops with Config when App is in install mode 2018-07-16 19:38:13 -04:00
Hypolite Petovan 46b34574d9 Update support for daemon pidfile config 2018-07-16 19:38:13 -04:00
Hypolite Petovan 3985a4bc43 Remove extraneous dba::connect calls 2018-07-16 19:38:13 -04:00
Hypolite Petovan decfc553f7 Set BaseObject::setApp in App 2018-07-16 19:38:13 -04:00
Michael 3cb7a7606e workaround for stalling worker processes when running the daemon 2018-07-11 06:05:22 +00:00
Michael e97a3c25e7 Multiple daemon improvements (foreground, faster spawning) 2018-06-15 18:18:20 +00:00
Michael 8584e09e12 Store the database credentials for reconnect 2018-06-11 03:45:45 +00:00
Michael aa3f8ec09d Force a database reconnection in the daemon to prevent lost connections 2018-06-10 22:04:09 +00:00
Michael e005312b87 Should be just a debug log entry 2018-06-06 05:32:06 +00:00
Michael 83243800b5 Ensure that cron workers are called even at busy times 2018-06-06 05:26:22 +00:00
Michael 1304dae0d3 Bugfix: In the daemon mode we forgot to call the cron jobs 2018-06-06 03:48:04 +00:00
Michael 28f8beebfc Workers can now be started exclusively from the daemon and other workers 2018-06-01 22:09:27 +00:00
Hypolite Petovan 93daf7883e Merge branch 'master' into develop
- Updated new develop version label
- Incremented database build number
2018-06-01 07:30:04 -04:00
Tobias Diekershoff 48aafe4662 fixing the base path detection 2018-05-20 14:56:33 +02:00
Tobias Diekershoff fb4f9eb875 dont parse the addons directory for translateable strings 2018-05-17 22:41:06 +02:00
Roland Häder 7a29944836
Fixes/cleanup:
- added missing curly braces (and some absent caused parser errors)
- <include|require>[_once] are keywords, so don't use them as such
- removed/added empty lines

Signed-off-by: Roland Häder <roland@mxchange.org>
2018-05-14 22:49:59 +02:00
Tobias Diekershoff f63be91bd5
Revert "Moved .htconfig.php file & extracted Install business logic" 2018-04-21 16:28:22 +02:00
Philipp Holzer 346697d771 Moved .htconfig file
Extracted install business functions to new Class `Install.php`
2018-04-21 14:10:53 +02:00
Hypolite Petovan 2d9f32c3df Move dev executables from util/ to bin/dev/ 2018-04-07 09:00:52 -04:00
Hypolite Petovan 3b81c66150 Use $argv instead of $_SERVER['argv'] 2018-03-30 22:56:04 -04:00
Tobias Diekershoff acb1a082b9 messages.po output file needs to be in /util 2018-03-28 08:45:42 +02:00
Hypolite Petovan cf56db9185 Use correct /bin/bash hashbang in bin/console 2018-03-24 08:40:43 -04:00
Hypolite Petovan 4e33f7f458 Restore executable permissions in bin/ 2018-03-23 20:47:58 -04:00
Hypolite Petovan 27d94023ee Merge branch 'master' into develop 2018-03-23 06:15:55 -04:00
Tobias Diekershoff 4d8d5ca6a5
Merge pull request #4630 from MrPetovan/task/4629-move-executable-to-bin
Move executable scripts to bin/ (part 1)
2018-03-19 15:05:53 +01:00
Hypolite Petovan 7cd3b5d629 Move util/run_xgettext.sh to bin/ 2018-03-18 23:27:41 -04:00
Hypolite Petovan 1c2deac7e5 Move scripts/worker.php to bin/ 2018-03-18 23:25:21 -04:00
Hypolite Petovan e7e497e244 Move scripts/daemon.php to bin/ 2018-03-18 23:24:09 -04:00
Hypolite Petovan 542ff9b082 Move scripts/auth_ejabberd.php to bin/ 2018-03-18 23:17:31 -04:00
Hypolite Petovan 3f71cdf8be Move util/composer.ohar to bin/ 2018-03-18 23:15:31 -04:00
Hypolite Petovan c5c60d3d05 Make bin/console executable 2018-03-18 19:51:22 -04:00
Hypolite Petovan 0b542d0654 Fix hashbang line in bin/console 2018-03-18 13:26:51 -04:00
Hypolite Petovan dcf2ed26bb Add console executables 2018-03-18 05:12:39 -04:00