ed9392469e
Remove unneeded Config namespace usages
2020-01-19 22:50:44 +01:00
6c36fd9e01
Move Config::get() to DI::config()->get()
2020-01-19 21:21:13 +01:00
0a4119adaf
@brief is removed completely
2020-01-19 06:05:23 +00:00
e57a87f224
Remove deprecated App::setBaseURL() - process methods to DI::baseUrl()->saveByURL()
2019-12-29 20:17:47 +01:00
9cec293ccc
Refactor dynamic App::getMode() to static DI::mode()
2019-12-29 20:17:42 +01:00
388b963714
Replace BaseObject class with DI::* calls
2019-12-29 20:17:38 +01:00
1de3f186d7
Introduce new DI container
...
- Adding Friendica\DI class for getting dynamic classes
- Replacing BaseObject::getApp() with this class
2019-12-29 20:16:55 +01:00
Philipp Holzer
b13dbb3dcb
Remove $_SERVER['PHP_SELF'] usage
2019-09-17 16:47:00 +02:00
Philipp Holzer
9682cc440c
Using method-chaining for DICE
2019-08-05 09:03:12 +02:00
Philipp Holzer
6c2cf494b5
Remove DependencyFactory
...
- Include all necessary classes in `dependencies.config.php`
- Add DI-reference to BaseObject (acts as a global registry)
- Refactor all static "init()" methods to use the global registry
- Refactor Logging for Worker-Logger a little bit
2019-07-27 23:54:12 +02:00
Philipp Holzer
55999730e0
Introduce DICE
...
- Adding dice library
- Adding dependency config
- Removing Factories
- Refactoring App\Mode constructor
- Refactoring App\Router constructor
- Refactoring BasePath for DI usage
- Refactoring ConfigFileLoader constructor
- Refactoring Profiler constructor
- Adjust entrypoints (index, console, worker, ..)
- Adding functional test for DI
- Fix tests because of refactorings
2019-07-21 01:22:10 +02:00
e0b1f4f251
Hardening ConfigUpgrade
2019-03-30 18:54:22 +01:00
cdcf1667d7
Adding DependencyFactory
2019-02-17 20:45:39 +01:00
80f1feabe5
Refactoring Logging to use Configuration
2019-02-17 20:43:52 +01:00
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
ed7bada71e
Move Composer autoload require out of boot.php
2018-12-24 09:56:48 -05:00
ffbad2dc81
moved check_db($via_worker) to Update::check($via_worker)
2018-10-31 14:44:23 +01: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
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
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
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
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
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
Hypolite Petovan
1c2deac7e5
Move scripts/worker.php to bin/
2018-03-18 23:25:21 -04:00