eafcf3592d
Config FollowUp
...
- New Configuration (Config is now only holding the instance)
- New PConfiguration (PConfig is now only holding the instance)
- Config & PConfig-Adapter don't need "ConfigCache" anymore
- DB-Connection is now outside App->reload() for better dependency-chaining
2019-02-17 20:40:27 +01:00
cb1ad4287d
adding parameter to App
2019-02-16 23:18:24 +01:00
5e6e1a8025
Introducing Profiler
2019-02-16 23:11:30 +01:00
6a9d73f7d9
Refactoring ConfigCacheLoader methods
2019-02-05 22:27:57 +01:00
1e0e1674f2
4) Adding Factories to other entrypoints
2019-02-03 22:46:50 +01:00
2e602afd3e
Add Monolog
2019-01-21 10:10:40 -05:00
2f49c4a058
Revert "Add monolog"
2019-01-21 10:08:09 -05:00
8f9c0fe149
Adding Develop and normal Logging instances
2019-01-21 09:59:08 -05:00
fe8f0e0045
Add Monolog
2019-01-21 09:58:05 -05:00
895b3abf32
Remove/replace killme() with *exit()
2019-01-21 09:49:17 -05:00
0c3f123d9a
remove empty lines
2019-01-14 07:02:05 +01:00
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.
2019-01-14 06:57:37 +01:00
7efde8e334
Merge pull request #6209 from MrPetovan/task/move-config-to-php-array
...
Remove util/ folder
2018-12-29 11:43:55 +01:00
7b8441101f
Delete friendica-to-smarty-tpl.py
2018-12-27 01:51:59 -05:00
f9db5e32e7
Delete updatetpl.py
2018-12-27 01:51:50 -05:00
ed7bada71e
Move Composer autoload require out of boot.php
2018-12-24 09:56:48 -05:00
acaee626f5
Remove include/ requires that are now done directly from Composer
2018-12-24 09:56:25 -05:00
1c5a19e245
Update path to friendica-to-smarty-tpl.py
2018-11-28 23:10:33 -05:00
e02295e8e8
Move testargs to bin
2018-11-28 23:10:05 -05:00
c0b3b73c88
Move files from util to mods
...
- Move local.config.vagrant.php
- Move fpostit
- Move bookmarklet-share2friendica
- Updated Readme file
2018-11-28 23:08:43 -05:00
b42760b0e6
Move credits out of util/
2018-11-28 22:59:06 -05:00
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
2018-11-28 22:57:55 -05:00
c964e193b9
Replace *.ini.php by *.config.php in comments
2018-11-25 01:44:51 -05:00
98d90e131d
Update install to generate config/local.config.php
2018-11-25 01:44:09 -05:00
d81366bff4
cp htaccess in Vagrant VM on setup
2018-11-16 23:09:54 +01:00
ffbad2dc81
moved check_db($via_worker) to Update::check($via_worker)
2018-10-31 14:44:23 +01:00
Adam Magness
50da89d861
Logger Levels
...
update logger levels in calls
2018-10-30 09:58:45 -04:00
Adam Magness
14fde5dc9b
Log function
...
implement log() function.
2018-10-30 09:57:14 -04:00
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
2018-10-22 15:58:42 -04:00
e2ac36e43e
Simplify bin/worker
...
- Remove duplicate calls to Addon::loadHooks and Config::load
- Remove useless killme() call
2018-10-21 22:25:53 -04:00
5a02e39a65
Rename App Methods
...
- renamed a lot of App methods to CamelCase
- replaced direct public variables with get-/set-Methods
2018-10-10 00:16:06 +02:00
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
2018-10-06 16:27:20 +02:00
3ed9e7fe1d
Replace remaining $a->isInstallMode() instances
2018-10-05 20:31:32 -04:00
065340dc32
Creating Friendica\App\Mode for encapsulating the App Mode
2018-10-05 22:36:09 +02:00
b285135ec0
Update composer binary to version 1.7.2
2018-10-03 01:34:48 -04:00
d244290d1f
Issue 5486: Fix for non translated notifications
2018-07-30 01:01:26 +00:00
432eec770b
Issue 5467: Cron jobs hadn't been executed
2018-07-24 06:15:58 +00:00
716b959e33
Some code cleanup
2018-07-24 04:15:19 +00:00
de984cdaa1
Issue 5467: Fix worker and daemon
2018-07-24 03:42:44 +00:00
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 []
2018-07-23 07:40:52 -04:00
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
2018-07-22 12:28:39 -04:00
Hypolite Petovan
af6dbc654f
Rename Friendica\Database\dba to Friendica\Database\DBA
2018-07-20 08:19:26 -04:00
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
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
3cb7a7606e
workaround for stalling worker processes when running the daemon
2018-07-11 06:05:22 +00:00
e97a3c25e7
Multiple daemon improvements (foreground, faster spawning)
2018-06-15 18:18:20 +00:00
8584e09e12
Store the database credentials for reconnect
2018-06-11 03:45:45 +00:00
aa3f8ec09d
Force a database reconnection in the daemon to prevent lost connections
2018-06-10 22:04:09 +00:00
e005312b87
Should be just a debug log entry
2018-06-06 05:32:06 +00:00
83243800b5
Ensure that cron workers are called even at busy times
2018-06-06 05:26:22 +00:00
1304dae0d3
Bugfix: In the daemon mode we forgot to call the cron jobs
2018-06-06 03:48:04 +00:00
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
48aafe4662
fixing the base path detection
2018-05-20 14:56:33 +02:00
fb4f9eb875
dont parse the addons directory for translateable strings
2018-05-17 22:41:06 +02:00
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
f63be91bd5
Revert "Moved .htconfig.php file & extracted Install business logic"
2018-04-21 16:28:22 +02:00
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
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
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