summaryrefslogtreecommitdiffstats
path: root/app/models/attachment.rb
Commit message (Expand)AuthorAgeFilesLines
* Merged r22746 from trunk to 5.1-stable (#40043).Marius Balteanu2024-02-271-1/+1
* Support for WebP images (#38168).Go MAEDA2023-01-161-1/+1
* Update copyright year to 2023 (#38141).Go MAEDA2023-01-011-1/+1
* Fix RuboCop offense Lint/NonAtomicFileOperation (#36919).Go MAEDA2022-06-301-3/+1
* Attachment activity provider SQL optimization (#37057).Go MAEDA2022-05-141-0/+1
* Update copyright year in source files to 2022 (#36379).Go MAEDA2022-01-021-1/+1
* Fix that binmode specified twice (#35539, #35720).Go MAEDA2021-08-181-1/+1
* Ensure unique attachment filenames (#35539).Go MAEDA2021-07-191-13/+18
* Validate attachment filenames on every change (#34367).Go MAEDA2021-04-161-6/+5
* The result of Attachment.latest_attach is unstable if attachments have the sa...Go MAEDA2021-04-071-1/+1
* Update copyright year in source files to 2021 (#33069).Go MAEDA2021-03-251-1/+1
* Case-insensitive matching fails for Unicode filenames when referring to attac...Go MAEDA2021-03-201-1/+3
* Introduces an additional check before removing a deduplicated file (#34479).Go MAEDA2021-03-171-5/+4
* Reverts r20654.Go MAEDA2021-03-171-6/+6
* remove redundant 'return' from app/models/attachment.rbToshi MARUYAMA2020-12-191-1/+1
* place the '.' on the previous line of the method call at app/models/attachmen...Toshi MARUYAMA2020-12-171-6/+6
* shorten long line of app/models/attachment.rbToshi MARUYAMA2020-12-091-5/+22
* 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