summaryrefslogtreecommitdiffstats
path: root/app/models/attachment.rb
Commit message (Expand)AuthorAgeFilesLines
* Fix RuboCop offenses Style/NegatedIf and Style/NegatedWhile (#39887, #7770).Go MAEDA2024-08-251-2/+2
* Use anonymous block forwarding introduced in Ruby 3.1 (#38585).Go MAEDA2024-08-211-2/+2
* Fix RuboCop offense Rails/ActiveRecordCallbacksOrder (#39889).Go MAEDA2024-06-171-1/+1
* Replaces use of Digest::MD5 / Digest::SHA1 with ActiveSupport::Digest (#35217).Marius Balteanu2024-05-071-2/+2
* Remove current year from source file copyright headers and update year in foo...Marius Balteanu2024-02-261-1/+1
* Use ApplicationRecord instead of ActiveRecord::Base (#38975).Marius Balteanu2024-01-231-1/+1
* Updates Rails to 7.1.2 (#36320).Marius Balteanu2023-11-271-5/+5
* 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