nupplaPhil
23c64b9a11
Add license info at Friendica classes
2020-02-09 15:45:36 +01:00
a7a38da62d
Remove yesno option from Storage backend
2020-02-05 21:37:32 -05:00
cb80108957
Shorten "Configuration" to "Config" again, since the Wrapper is gone
2020-01-19 21:29:36 +01:00
2838635d64
Move L10n class from L10n subdir to Core (replacing old wrapper)
2020-01-19 16:31:30 +01:00
0a4119adaf
@brief is removed completely
2020-01-19 06:05:23 +00:00
14c97f7b62
avoid exception throwing because of false-like return
2020-01-17 23:55:17 +01:00
b68d0516ea
remove not working code for checking writable files ("is_writable()" uses a different user)
2020-01-10 13:22:01 +01:00
dbd5b5bb6e
- Fixing SystemResource
...
- Adding tests for StorageManager
- Updating doc
2020-01-10 13:21:58 +01:00
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
146646c4d4
Replace deprecated calls to defaults() by ?? and ?: in src/
2019-10-16 08:38:52 -04:00
9fa812b35d
Rewrites:
...
- converted single-line if() block to multi-line and with curly braces
- "imported" SPL classes to have unified code style
- always initialize your variables ... :-/
- added some empty lines/spaces for better readability
Signed-off-by: Roland Häder <roland@mxchange.org>
2019-02-19 01:56:41 +01:00
marcin mikołajczak
12a44c7bb9
fix typo
2019-02-09 08:42:55 +01:00
fabrixxm
a7d45682e7
Filesystem storage: handle basepath with trailing slash
2019-01-29 12:36:23 +01:00
fabrixxm
ec94318a35
Filesystem storage: set permission on folders and files
...
files are set 0660 and folders 0770.
fix #6545
2019-01-29 12:35:30 +01:00
4a95ca280d
Remove unused code
...
- Remove commented code
- Remove unused/immediately overwritten variables
- Remove extraneous parameters
- Remove unreachable code
- Remove duplicate array keys
2019-01-21 10:48:40 -05:00
cb3f09ae4f
Refactor namespaces
...
- Remove unused use statements
- Add required use statements
- Escape global classes
2019-01-21 10:43:42 -05:00
3282ce5389
Fix PHPDoc comments project-wide
2019-01-21 10:35:51 -05:00
578a391393
Add missing methods to Storage\SystemResource
...
Part of #6263
2019-01-21 09:12:31 -05:00
fabrixxm
d549787bc1
Remove empty line before code
2019-01-21 09:11:41 -05:00
fabrixxm
fdc6608af8
Add storage options form in admin/site page
2019-01-21 09:11:39 -05:00
fabrixxm
e5c2d4e2f8
Add Database storage backend
...
This storage store files data in a separate database table
2019-01-21 09:11:33 -05:00
fabrixxm
6e85a18678
Storage: throw StorageException on errors
2019-01-21 09:10:47 -05:00
fabrixxm
cbb5124d59
Code standards
2019-01-21 09:02:57 -05:00
fabrixxm
ea0cd6c919
Filesystem storage: add "index.html" files in dirs
2019-01-21 09:02:57 -05:00
fabrixxm
9317a1c054
Address code standards issues
2019-01-21 08:57:30 -05:00
fabrixxm
12dd7b552f
Add Filesystem storage backend and store photo via backend
2019-01-21 08:57:29 -05:00
fabrixxm
9b2e3fa916
Add IStorage interface
...
storage classes should implement this interface
2019-01-21 08:57:29 -05:00
fabrixxm
3b3c4e8cc7
Pluggable storage backends: first steps
...
- add backend related columns in photo table
- add system resource storage class
- add code to load image data from backend class
- return "nosign" image as photo meta with SystemResource backend
2019-01-21 08:57:28 -05:00