Diogo Cordeiro
|
db3253e5d2
[CORE] Bump PHP requirement to PHP7.3+
|
преди 5 години |
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 години |
Miguel Dantas
|
4863bd30d7
[CORE] Fixed Media tests
|
преди 5 години |
Miguel Dantas
|
7070a14480
[CORE][StoreRemoteMedia] Fixed bug where sometimes images were written outside the site root
|
преди 5 години |
Miguel Dantas
|
f746866b65
[StoreRemoteMedia] StoreRemoteMedia now uses the new filename format, which allows it to display correctly in the UI. Formatting fixes
|
преди 5 години |
Miguel Dantas
|
da82048d77
[MEDIA] Fix trying to display file wich is not available locally
|
преди 5 години |
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 години |
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 години |
Miguel Dantas
|
ccebe536b3
[MEDIA] Removed blacklisted extensions, "trusts" upload extension (doesn't affect anything) and updated sysadmin documentation
|
преди 5 години |
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 години |
Miguel Dantas
|
5961b45140
[MEDIA][UI] In case an attachment preview isn't possible, the name is displayed anyway
|
преди 5 години |
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 години |
Miguel Dantas
|
20c73f0596
[FORMATING] Ran php-cs-fixer on lib/mediafile.php, lib/imagefile.php and classes/File.php
|
преди 5 години |
Miguel Dantas
|
b224d93098
[MEDIA] ImageFile now extends MediaFile and validates images more aggressively.
|
преди 5 години |
Mikael Nordfeldth
|
71afb5be75
If the file is text/plain, see if we accept the extension
|
преди 8 години |
Mikael Nordfeldth
|
7ca0ff9a19
MediaFile::fromUpload handles missing local file better
|
преди 9 години |
Mikael Nordfeldth
|
1db02d7f36
filename_base option isn't optimal
|
преди 9 години |
Mikael Nordfeldth
|
57d57b8d8f
Handle reuploads via filehandle better if original is missing
|
преди 9 години |
Mikael Nordfeldth
|
952f68fed5
File upload logging for dummies
|
преди 9 години |
Mikael Nordfeldth
|
e6e1705852
Make uploads work properly if we accept _all_ attachment types
|
преди 9 години |
Mikael Nordfeldth
|
0dfafe2567
NewnoticeAction now uses Notice::saveActivity(...)
|
преди 9 години |
Mikael Nordfeldth
|
fe6498e7c8
Send objects instead of integers to File_to_post::processNew
|
преди 9 години |
Mikael Nordfeldth
|
ff6969302b
Some SVG files are "text/html" according to 'file'
|
преди 10 години |
Mikael Nordfeldth
|
325e784ccd
Don't store duplicates of files.
|
преди 10 години |
Mikael Nordfeldth
|
5b940f255f
Mediafile updated to insert urlhash and lookup properly
|
преди 10 години |
Mikael Nordfeldth
|
45dc76de26
File and File_redirection adhoc storage methods updated for urlhash
|
преди 10 години |
Mikael Nordfeldth
|
015e95829b
MediaFile->getFile() instead of accessing fileRecord
|
преди 10 години |
Mikael Nordfeldth
|
9f87359d04
Non-ajax file submissions should throw NoUploadedMediaException
|
преди 10 години |
Mikael Nordfeldth
|
8b585ff647
MediaFile upload simplifying
|
преди 10 години |
Hannes Mannerheim
|
5a72a25905
Bug, attachments stored double in file table
|
преди 10 години |