Commit History

Author SHA1 Message Date
  Miguel Dantas 6d552f15b6 [Embed] Resize thumbnails fetched by Embed to avoid keeping original images when we need only 128x128. Size configurable in config.php 5 years ago
  Diogo Cordeiro f67a93eddc [CORE] Bump Database requirement to MariaDB 10.3+ 5 years ago
  Miguel Dantas 7070a14480 [CORE][StoreRemoteMedia] Fixed bug where sometimes images were written outside the site root 5 years ago
  Miguel Dantas 3e5ce46e98 [CORE] Fixed bug where the http connection was using the wrong size for thumbnails, and returning the wrong one 5 years ago
  Miguel Dantas f746866b65 [StoreRemoteMedia] StoreRemoteMedia now uses the new filename format, which allows it to display correctly in the UI. Formatting fixes 5 years ago
  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... 5 years ago
  Miguel Dantas da82048d77 [MEDIA] Fix trying to display file wich is not available locally 5 years ago
  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 5 years ago
  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 5 years ago
  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 5 years ago
  Miguel Dantas ccebe536b3 [MEDIA] Removed blacklisted extensions, "trusts" upload extension (doesn't affect anything) and updated sysadmin documentation 5 years ago
  Miguel Dantas 5eb4a7d711 [MEDIA] File downloader now in PHP, added proper name in the UI and changed the format for new attachment file names 5 years ago
  Miguel Dantas 20c73f0596 [FORMATING] Ran php-cs-fixer on lib/mediafile.php, lib/imagefile.php and classes/File.php 5 years ago
  Miguel Dantas b224d93098 [MEDIA] ImageFile now extends MediaFile and validates images more aggressively. 5 years ago
  Mikael Nordfeldth 586aaa596e Quote URL on dupe search and better logging on upgrade 7 years ago
  Mikael Nordfeldth 979c525124 I like to throw exceptions instead of using if statements. 7 years ago
  Mikael Nordfeldth d84bf83419 Created function File->setTitle(str) 8 years ago
  Mikael Nordfeldth f02d32b718 Reworked File->getUrl to throw exception 8 years ago
  Mikael Nordfeldth b4a0bff740 Some mimetype madness! 8 years ago
  Mikael Nordfeldth 7978cd6d59 s/EmptyIdException/EmptyPkeyValueException/ 8 years ago
  Mikael Nordfeldth 1dfac3ad63 Allow getting filesize by function 8 years ago
  Mikael Nordfeldth 6d6db77f06 Documentation update in File class file 8 years ago
  Mikael Nordfeldth 87dd0fbdb6 UseFileAsThumbnailException uses direct File object now 8 years ago
  Mikael Nordfeldth 7aa9a69c2f Link to attachment page instead of big-ass image 8 years ago
  Mikael Nordfeldth 15c16ac54e Make sure File_thumbnail->getPath() doesn't throw NoResultException 8 years ago
  Mikael Nordfeldth a24c6fdb39 If our host matched in File lookup, it could throw exceptions on Router->map 8 years ago
  Mikael Nordfeldth 3b1181dae6 Display locally stored remote GIFs as thumbnails 8 years ago
  Mikael Nordfeldth 265fa12917 Relatively experimental change to store thumbnails in 'file/thumb/' (by default) 8 years ago
  Mikael Nordfeldth a3b265a477 Portability for filepath in File 8 years ago
  Mikael Nordfeldth 63c087a255 Consistent behaviour for ScopingNoticeStream $scoped 8 years ago