root
939364f9a0
API - /search #6274
- fixed: search result always return empty
- add hashtag search: friendica_tag params
- ApiTest & api.md updated
2 years ago
root
b43dd28b7a
closes #6272
2 years ago
root
d331e4e6e3
API - /media/upload - add return value #6272
image.preview: string (url for small image)
2 years ago
fabrixxm
8addcf9844
Fix storage backend class names
This should be tested on all supported PHP versions
2 years ago
fabrixxm
204c5a4d99
Don't try to save form for "None" backend.
2 years ago
fabrixxm
3f03f3b4b7
Don't try to build form for "None" backend.
Fix #6266
2 years ago
Hypolite Petovan
578a391393
Add missing methods to Storage\SystemResource
Part of #6263
2 years ago
fabrixxm
bbbc15a5eb
Method getPhoto of Photo model should return false on error
Instead of red circle image, which breaks proxy module
2 years ago
fabrixxm
4e38bc8a0d
Use DBA::exists() in Photo::exists()
2 years ago
fabrixxm
f8d2f81d81
Fix docs
2 years ago
fabrixxm
ce31ccaade
Add docs about storage backend
2 years ago
fabrixxm
2f935a1fbf
Fix unregister storage backend
2 years ago
fabrixxm
f2b29f6591
Fix moving stored data
2 years ago
fabrixxm
55292c954b
Remove resourceid parameter from Photo::exists()
2 years ago
fabrixxm
e7fbe04b11
Fix parse error
2 years ago
fabrixxm
8c75c26361
Use Model\Photo as much as possible
Most important is to use `Photo::delete()` to have backend
to remove data.
2 years ago
fabrixxm
d549787bc1
Remove empty line before code
2 years ago
fabrixxm
15a3fc05d3
Photo model: set edited and updated on update, fix exists(), docs
2 years ago
fabrixxm
36f30533b7
Code standards
2 years ago
fabrixxm
5fdc9097a2
Rewrite Proxy module
2 years ago
fabrixxm
a46cbfca3d
Fix Module\Photo exit with error
2 years ago
fabrixxm
fdc6608af8
Add storage options form in admin/site page
2 years ago
fabrixxm
f7b6fef197
Code standards
2 years ago
fabrixxm
682456c7d1
Add move function to storage manager and console command
2 years ago
fabrixxm
8dbedeee5e
Add 'addon' folder as 'Friendica\Addon' namespace for autoload
2 years ago
fabrixxm
4d9d62bcdb
Add 'storage' console command
- list registered backend
- set backend
2 years ago
fabrixxm
6a0ed7c298
Add storage backend manager class
2 years ago
fabrixxm
e5c2d4e2f8
Add Database storage backend
This storage store files data in a separate database table
2 years ago
fabrixxm
6e85a18678
Storage: throw StorageException on errors
2 years ago
fabrixxm
7df3f117ac
Photo model: fix docs, don't update "created" field
in store() if photo exists, don't update "created" timestamp
2 years ago
fabrixxm
6f59c82978
Code standards
2 years ago
fabrixxm
69fcdaf9ab
Photo model: set updated field in update()
2 years ago
fabrixxm
3e13799e70
Add update() to Photo model
Edit mod/photos.php to use Photo model
2 years ago
fabrixxm
06157c2ab0
Update database.sql
2 years ago
fabrixxm
b0acf4284d
Code standards
2 years ago
fabrixxm
cbb5124d59
Code standards
2 years ago
fabrixxm
ea0cd6c919
Filesystem storage: add "index.html" files in dirs
2 years ago
fabrixxm
76579e02cc
profile_photo: use Photo model function to get photo and image
2 years ago
fabrixxm
3ca0b0bf9d
photos: use model delete() to delete photos
2 years ago
fabrixxm
234c110d38
Model/Photo: use self select functions, reuse backend, fix quotes, add delete()
2 years ago
fabrixxm
9342888bd5
Remove default from backend columns
https://dev.mysql.com/doc/refman/8.0/en/blob.html
BLOB and TEXT columns cannot have DEFAULT values.
2 years ago
fabrixxm
75daf96590
Revert "Catch HTTPExceptions in App::runFrontend()"
This reverts commit 58bd75f8f3
.
2 years ago
fabrixxm
07d358adc1
More code standard
2 years ago
fabrixxm
9317a1c054
Address code standards issues
2 years ago
fabrixxm
12dd7b552f
Add Filesystem storage backend and store photo via backend
2 years ago
fabrixxm
0ada604c7d
Return default profile photo if no profile photo is set
2 years ago
fabrixxm
9b2e3fa916
Add IStorage interface
storage classes should implement this interface
2 years ago
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
2 years ago
fabrixxm
89eaf508f1
Catch HTTPExceptions in App::runFrontend()
Set correct http response header, display error message using "404.tpl"
2 years ago
fabrixxm
b96dbcd4cb
Move Photo module, update Photo model
2 years ago