Miguel Dantas
|
6d552f15b6
[Embed] Resize thumbnails fetched by Embed to avoid keeping original images when we need only 128x128. Size configurable in config.php
|
před 5 roky |
Diogo Cordeiro
|
f67a93eddc
[CORE] Bump Database requirement to MariaDB 10.3+
|
před 5 roky |
Miguel Dantas
|
7070a14480
[CORE][StoreRemoteMedia] Fixed bug where sometimes images were written outside the site root
|
před 5 roky |
Miguel Dantas
|
3e5ce46e98
[CORE] Fixed bug where the http connection was using the wrong size for thumbnails, and returning the wrong one
|
před 5 roky |
Miguel Dantas
|
f746866b65
[StoreRemoteMedia] StoreRemoteMedia now uses the new filename format, which allows it to display correctly in the UI. Formatting fixes
|
před 5 roky |
Miguel Dantas
|
8f31a1a820
[MEDIA][OEMBED] Fixed regression in OEmbed, because it relied on accessing the files directly, which previous commits broke. The File table really should have a bool...
|
před 5 roky |
Miguel Dantas
|
da82048d77
[MEDIA] Fix trying to display file wich is not available locally
|
před 5 roky |
Miguel Dantas
|
aa5c6bbf08
[CORE][UI] Made attachment actions and its subactions be able to identify attachments by id and by filehash. Changed the url stored in the DB to be attachment//view
|
před 5 roky |
Miguel Dantas
|
c7475d78b4
[CORE][UI][ROUTER] Added view action, which inlines images and videos but downloads everything else. Fixed File url to get an URL fromthe view action, so when a making a remote notice, the correct URL is used, not accessing directly to the file
|
před 5 roky |
Miguel Dantas
|
3c9a07677e
[CORE] Attachments and thumbnails aren't accessed directly by the file under the file storage folder, but indirectly from PHP, so that access to the file folder can be blocked in the server config
|
před 5 roky |
Miguel Dantas
|
ccebe536b3
[MEDIA] Removed blacklisted extensions, "trusts" upload extension (doesn't affect anything) and updated sysadmin documentation
|
před 5 roky |
Miguel Dantas
|
5eb4a7d711
[MEDIA] File downloader now in PHP, added proper name in the UI and changed the format for new attachment file names
|
před 5 roky |
Miguel Dantas
|
20c73f0596
[FORMATING] Ran php-cs-fixer on lib/mediafile.php, lib/imagefile.php and classes/File.php
|
před 5 roky |
Miguel Dantas
|
b224d93098
[MEDIA] ImageFile now extends MediaFile and validates images more aggressively.
|
před 5 roky |
Mikael Nordfeldth
|
586aaa596e
Quote URL on dupe search and better logging on upgrade
|
před 7 roky |
Mikael Nordfeldth
|
979c525124
I like to throw exceptions instead of using if statements.
|
před 7 roky |
Mikael Nordfeldth
|
d84bf83419
Created function File->setTitle(str)
|
před 8 roky |
Mikael Nordfeldth
|
f02d32b718
Reworked File->getUrl to throw exception
|
před 8 roky |
Mikael Nordfeldth
|
b4a0bff740
Some mimetype madness!
|
před 8 roky |
Mikael Nordfeldth
|
7978cd6d59
s/EmptyIdException/EmptyPkeyValueException/
|
před 8 roky |
Mikael Nordfeldth
|
1dfac3ad63
Allow getting filesize by function
|
před 8 roky |
Mikael Nordfeldth
|
6d6db77f06
Documentation update in File class file
|
před 8 roky |
Mikael Nordfeldth
|
87dd0fbdb6
UseFileAsThumbnailException uses direct File object now
|
před 8 roky |
Mikael Nordfeldth
|
7aa9a69c2f
Link to attachment page instead of big-ass image
|
před 8 roky |
Mikael Nordfeldth
|
15c16ac54e
Make sure File_thumbnail->getPath() doesn't throw NoResultException
|
před 8 roky |
Mikael Nordfeldth
|
a24c6fdb39
If our host matched in File lookup, it could throw exceptions on Router->map
|
před 8 roky |
Mikael Nordfeldth
|
3b1181dae6
Display locally stored remote GIFs as thumbnails
|
před 8 roky |
Mikael Nordfeldth
|
265fa12917
Relatively experimental change to store thumbnails in 'file/thumb/' (by default)
|
před 8 roky |
Mikael Nordfeldth
|
a3b265a477
Portability for filepath in File
|
před 8 roky |
Mikael Nordfeldth
|
63c087a255
Consistent behaviour for ScopingNoticeStream $scoped
|
před 8 roky |