summaryrefslogtreecommitdiffstats
path: root/app/models/attachment.rb
Commit message (Expand)AuthorAgeFilesLines
* add empty line after guard clause to app/models/attachment.rbToshi MARUYAMA2020-11-051-0/+1
* shorten long line of app/models/attachment.rbToshi MARUYAMA2020-10-221-20/+30
* Evaluate acts_as_activity_provider's scope lazily (#33664).Go MAEDA2020-10-171-2/+6
* When creating more than two identical attachments in a single transaction, th...Go MAEDA2020-09-281-1/+2
* Fix that bulk download raises Errno::EACCES on Windows (#7056).Go MAEDA2020-04-111-5/+8
* Replace File#readable? with Attachment#readable? (#7056).Go MAEDA2020-04-011-1/+1
* Download all attachments at once (#7056).Go MAEDA2020-03-211-0/+25
* Update copyright year in source files to 2020 (#33069).Go MAEDA2020-03-031-1/+1
* Don't try to generate thumbnails if convert command is not available (#32289).Go MAEDA2019-10-311-1/+3
* code cleanup: rubocop: fix Style/WhileUntilModifier in app/models/attachment.rbToshi MARUYAMA2019-10-191-1/+2
* code cleanup: rubocop: fix Lint/IneffectiveAccessModifier in app/models/attac...Toshi MARUYAMA2019-10-191-15/+18
* code cleanup: rubocop: fix Layout/IndentationConsistency in app/models/attach...Toshi MARUYAMA2019-10-091-8/+8
* Use Redmine::MimeType.of instead of regexp to check if the attachment is Text...Go MAEDA2019-10-031-1/+1
* Render Textile and Markdown attachments on the preview page (#29752).Go MAEDA2019-10-031-0/+8
* code cleanup: rubocop: fix Layout/EmptyLinesAroundBlockBody in app/models/att...Toshi MARUYAMA2019-09-301-5/+0
* Update copyright year.Go MAEDA2019-05-251-1/+1
* Render PDF thumbnail using ImageMagick/GhostScript (#22481).Go MAEDA2019-05-121-2/+2
* Attachment preview does not work for some source files such as JavaScript and...Go MAEDA2019-05-041-1/+1
* Use Regexp#match? to reduce allocations of MatchData object (#28940).Go MAEDA2019-03-271-2/+2
* Support frozen_string_literal in app/**/*.rb (#26561).Go MAEDA2019-03-171-1/+1
* Add "frozen_string_literal: false" for all files (#26561).Go MAEDA2019-03-151-0/+2
* Makes sure the generated thumbnail is always of at least the requested size (...Go MAEDA2019-02-051-1/+1
* Deletes thumbnails when the attachment diskfile is deleted (#30177).Go MAEDA2018-12-151-1/+9
* Allows re-use of thumbnails for identical attachments (#30177).Go MAEDA2018-12-151-1/+1
* Use find_by instead of where.first to remove unnecessary sorting (#26747).Go MAEDA2018-10-061-1/+1
* "thumbnail" macro may break filename attribute of the attachment (#29038).Go MAEDA2018-07-021-1/+1
* Adds previews for audio / video attachments (#27336).Go MAEDA2018-05-171-1/+9
* Merged rails-5.1 branch (#23630).Jean-Philippe Lang2017-07-231-1/+0
* Update copyright.Jean-Philippe Lang2017-06-251-1/+1
* Preview files by default instead of downloading them (#25988).Jean-Philippe Lang2017-06-101-1/+5
* Prevent deadlocks by only locking the exact records we need to have locked (#...Jean-Philippe Lang2017-04-131-8/+14
* Delete the file after the change is committed (#25215).Jean-Philippe Lang2017-04-031-2/+6
* Adds file equality check to deduplication hook (#25215).Jean-Philippe Lang2017-04-031-3/+10
* Reuse existing identical disk files for new attachments (#25215).Jean-Philippe Lang2017-04-031-0/+19
* Change MD5 table header to Checksum (#25240).Jean-Philippe Lang2017-04-031-0/+5
* Adds a rake task to update attachments digests to SHA256 (#25240).Jean-Philippe Lang2017-04-031-1/+22
* Changes the digest used for attachments to SHA256 (#25240).Jean-Philippe Lang2017-04-031-5/+5
* Fixes uploading of empty files (#25115).Jean-Philippe Lang2017-02-281-3/+1
* Restrict the length attachment filenames on disk (#24186).Jean-Philippe Lang2016-12-161-1/+1
* Option to specify allowed extensions for a file custom field (#6719).Jean-Philippe Lang2016-10-231-6/+21
* Add support for updating attachments over REST API (#22356).Jean-Philippe Lang2016-10-011-0/+3
* Don't force download of PDF (#22483).Jean-Philippe Lang2016-05-091-0/+4
* Add inline image preview/display for attachments and repository entries (#220...Jean-Philippe Lang2016-04-111-0/+4
* Updates copyright for 2016.Jean-Philippe Lang2016-03-131-1/+1
* Removes attachment from disk after rollback on create (#21125).Jean-Philippe Lang2016-01-211-0/+1
* Files upload restriction by files extensions (#20008).Jean-Philippe Lang2015-11-011-1/+26
* Remove attachment after transaction commit (#20388).Jean-Philippe Lang2015-09-301-1/+1
* Wrong syntax for resizing inline images may throw a 500 error (#20278).Jean-Philippe Lang2015-08-021-1/+1
* Copyright update.Jean-Philippe Lang2015-01-111-1/+1
* Attachment content type not set when uploading attachment (#18667).Jean-Philippe Lang2014-12-211-4/+5