1
0
Fork 0
Commit graph

26 commits

Author SHA1 Message Date
Philipp Holzer
9682cc440c
Using method-chaining for DICE 2019-08-05 09:03:12 +02:00
Philipp Holzer
930ce855f8
Use BaseObject in auth_ejabberd because of static dependencies inside ExAuth 2019-07-28 00:02:51 +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
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
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
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
065340dc32
Creating Friendica\App\Mode for encapsulating the App Mode 2018-10-05 22:36:09 +02: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
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
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
542ff9b082 Move scripts/auth_ejabberd.php to bin/ 2018-03-18 23:17:31 -04:00
Renamed from scripts/auth_ejabberd.php (Browse further)