Commit History

Author SHA1 Message Date
  Diogo Cordeiro db3253e5d2 [CORE] Bump PHP requirement to PHP7.3+ 5 years ago
  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
  Miguel Dantas 4863bd30d7 [CORE] Fixed Media tests 5 years ago
  Miguel Dantas 7070a14480 [CORE][StoreRemoteMedia] Fixed bug where sometimes images were written outside the site root 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 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 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 b9a0733062 [MEDIA][CORE] Add common function for converting a string with a size unit to an int and MediaFile uses file_quota 5 years ago
  Miguel Dantas 5961b45140 [MEDIA][UI] In case an attachment preview isn't possible, the name is displayed anyway 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 71afb5be75 If the file is text/plain, see if we accept the extension 8 years ago
  Mikael Nordfeldth 7ca0ff9a19 MediaFile::fromUpload handles missing local file better 8 years ago
  Mikael Nordfeldth 1db02d7f36 filename_base option isn't optimal 8 years ago
  Mikael Nordfeldth 57d57b8d8f Handle reuploads via filehandle better if original is missing 8 years ago
  Mikael Nordfeldth 952f68fed5 File upload logging for dummies 8 years ago
  Mikael Nordfeldth e6e1705852 Make uploads work properly if we accept _all_ attachment types 8 years ago
  Mikael Nordfeldth 0dfafe2567 NewnoticeAction now uses Notice::saveActivity(...) 8 years ago
  Mikael Nordfeldth fe6498e7c8 Send objects instead of integers to File_to_post::processNew 9 years ago
  Mikael Nordfeldth ff6969302b Some SVG files are "text/html" according to 'file' 9 years ago
  Mikael Nordfeldth 325e784ccd Don't store duplicates of files. 9 years ago
  Mikael Nordfeldth 5b940f255f Mediafile updated to insert urlhash and lookup properly 9 years ago
  Mikael Nordfeldth 45dc76de26 File and File_redirection adhoc storage methods updated for urlhash 9 years ago
  Mikael Nordfeldth 015e95829b MediaFile->getFile() instead of accessing fileRecord 9 years ago
  Mikael Nordfeldth 9f87359d04 Non-ajax file submissions should throw NoUploadedMediaException 9 years ago
  Mikael Nordfeldth 8b585ff647 MediaFile upload simplifying 9 years ago
  Hannes Mannerheim 5a72a25905 Bug, attachments stored double in file table 10 years ago