nupplaPhil
016cfcd846
Fixings
...
- Rename "facStorage" to "storageManager"
- Fix indentation
- Fix tests
2020-01-10 13:22:03 +01:00
nupplaPhil
1b2ff54f66
Fix attach model
2020-01-10 13:22:00 +01:00
nupplaPhil
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
nupplaPhil
388b963714
Replace BaseObject class with DI::* calls
2019-12-29 20:17:38 +01:00
nupplaPhil
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
Hypolite Petovan
a61ce4fed0
Ensure *toArray returns an array
2019-07-28 00:03:42 -04:00
Michael
89454fabdb
Changed "Photo::select(" to "Photo::selectToArray("
2019-07-27 15:52:02 +00:00
Michael
ac6bfd3e4c
Changed Attach::select to Attach::selectToArray
2019-07-27 15:47:17 +00:00
Philipp Holzer
1e0e1674f2
4) Adding Factories to other entrypoints
2019-02-03 22:46:50 +01:00
Hypolite Petovan
64847e7cc8
Fix types in doc blocks/prototypes
2019-01-23 09:06:58 -05:00
Hypolite Petovan
d5ce74672e
Fix method scope in Model\Attach
2019-01-23 09:06:57 -05:00
Hypolite Petovan
28397fc5fc
Fix method parameter type in Model\Attach
2019-01-21 11:12:50 -05:00
Hypolite Petovan
57ab858486
Fix calls to DBA::select missing parameters
2019-01-21 11:12:50 -05:00
Hypolite Petovan
7f2dc40601
Fix potential bugs without expected behavior change
...
- Fix uninitialized variables
- Fix potentially not set variables
- Fix wrong parameter default value
- Fix method scope
- Fix missing return value
2019-01-21 11:04:19 -05:00
Hypolite Petovan
3282ce5389
Fix PHPDoc comments project-wide
2019-01-21 10:35:51 -05:00
fabrixxm
24d7ffa3fe
Update "storage" console command
...
add support to move data in 'attach' table
2019-01-21 10:00:48 -05:00
fabrixxm
906b7841d4
Fix Attach model store() and storeFile()
2019-01-21 10:00:45 -05:00
fabrixxm
b7b3086263
Attach: store, update, delete. Model and views
2019-01-21 10:00:44 -05:00
fabrixxm
fc2b804ccc
Move mod/attach to src, add Attach model, update attach table to use storage backends
2019-01-21 10:00:44 -05:00