Commit graph

14 commits

Author SHA1 Message Date
Philipp Holzer 016cfcd846
Fixings
- Rename "facStorage" to "storageManager"
- Fix indentation
- Fix tests
2020-01-10 13:22:03 +01:00
Philipp Holzer 08edeae2f9
Make Storage testable & add tests
- Making StorageManager dynamic (DI::facStorage())
- Making concrete Storage dynamic (DI::storage())
- Add tests for Storage backend and failure handling
- Bumping Level-2/Dice to "dev-master" until new release
- Using Storage-Names instead of Storage-Classes in config (includes migration)
2020-01-10 13:21:57 +01:00
Hypolite Petovan 6b8db5ad13 Update the Introductions domain to use repository, model and collection 2020-01-06 21:39:05 -05:00
Hypolite Petovan 5a1abb8c7d Introduce Mastodon entity factories and API\Entity 2020-01-06 21:39:05 -05:00
Philipp Holzer 20f1ab05e6
clear cookie before session clear 2020-01-07 00:11:39 +01:00
Philipp Holzer df0c05d635
Add Model\Introduction class to DI registry 2019-12-29 20:18:25 +01:00
Philipp Holzer 2cb449a0d5
make the DI abstract so no instance is possible 2019-12-29 20:18:24 +01:00
Philipp Holzer 987b29d963
Alphabetic sort DI-container per namespace 2019-12-29 20:18:24 +01:00
Philipp Holzer c1dbb25656
Creating interfaces for Config/PConfig & fix tests 2019-12-29 20:18:19 +01:00
Philipp Holzer 5609e94b05
Refactor deprecated App - process methods to DI::process()->*() 2019-12-29 20:17:45 +01:00
Philipp Holzer 181529f3df
Refactor dynamic App::getProfiler() to static DI::profiler() 2019-12-29 20:17:42 +01:00
Philipp Holzer 2bb9e46be3
Optimize DI class (introduce method-mapping constant) 2019-12-29 20:17:40 +01:00
Philipp Holzer 388b963714
Replace BaseObject class with DI::* calls 2019-12-29 20:17:38 +01:00
Philipp Holzer 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