summaryrefslogtreecommitdiffstats
path: root/app/models/journal.rb
Commit message (Collapse)AuthorAgeFilesLines
* Merged r22746 from trunk to 5.1-stable (#40043).Marius Balteanu2024-02-271-1/+1
| | | | git-svn-id: https://svn.redmine.org/redmine/branches/5.1-stable@22755 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Disable auto watch for the anonymous user (#38238).Go MAEDA2023-02-261-2/+2
| | | | | | | Patch by Felix Schäfer. git-svn-id: https://svn.redmine.org/redmine/trunk@22116 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright year to 2023 (#38141).Go MAEDA2023-01-011-1/+1
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22013 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds visible? method to journal (#37772).Go MAEDA2022-10-201-0/+4
| | | | | | | Patch by Jens Krämer. git-svn-id: https://svn.redmine.org/redmine/trunk@21905 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Unify duplicate codes (#37687).Go MAEDA2022-09-231-1/+1
| | | | | | | Patch by Go MAEDA. git-svn-id: https://svn.redmine.org/redmine/trunk@21832 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Retrieve attachments with a single query when rendering a journal (#37687).Go MAEDA2022-09-231-1/+2
| | | | | | | Patch by Go MAEDA. git-svn-id: https://svn.redmine.org/redmine/trunk@21831 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Mark edited journal notes as "Edited" (#31505).Go MAEDA2022-07-171-0/+2
| | | | | | | Patch by Marius BALTEANU. git-svn-id: https://svn.redmine.org/redmine/trunk@21713 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Automatically add the user to the watchers list after contributing to an ↵Marius Balteanu2022-03-191-0/+10
| | | | | | | | | issue (#4347). User can enable/disable this feature from My Account. Patch by Takenori TAKAKI and Jens Krämer. git-svn-id: http://svn.redmine.org/redmine/trunk@21469 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Allow users to be mentioned using @ in issues and wiki pages (#13919):Marius Balteanu2022-02-231-4/+14
| | | | | | | | | | * the user must have add watchers permission on that object in order to mention other users * mentioned user will receive a notification email * only visible users who can view the object can be mentioned git-svn-id: http://svn.redmine.org/redmine/trunk@21435 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright year in source files to 2022 (#36379).Go MAEDA2022-01-021-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@21342 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixes for Performance/StringIdentifierArgument introduced in RuboCop ↵Go MAEDA2021-12-291-1/+1
| | | | | | Performance 1.13.0 (#35142). git-svn-id: http://svn.redmine.org/redmine/trunk@21330 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Download all attachments in a journal (#35462).Go MAEDA2021-11-221-1/+1
| | | | | | | Patch by Takenori TAKAKI. git-svn-id: http://svn.redmine.org/redmine/trunk@21292 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Ruby 3.0: Fix `super` calls (#34992, #34986).Go MAEDA2021-04-031-1/+1
| | | | | | | Patch by Pavel Rosický. git-svn-id: http://svn.redmine.org/redmine/trunk@20912 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright year in source files to 2021 (#33069).Go MAEDA2021-03-251-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@20846 e93f8b46-1217-0410-a6f0-8f06a7374b81
* use "do end" instead of {} at ActiveRecord scope lambda of app/models/journal.rbToshi MARUYAMA2020-11-091-2/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@20319 e93f8b46-1217-0410-a6f0-8f06a7374b81
* shorten long line of app/models/journal.rbToshi MARUYAMA2020-10-221-16/+29
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@20159 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Evaluate acts_as_activity_provider's scope lazily (#33664).Go MAEDA2020-10-171-1/+3
| | | | | | | Patch by Pavel Rosický. git-svn-id: http://svn.redmine.org/redmine/trunk@20148 e93f8b46-1217-0410-a6f0-8f06a7374b81
* remove spaces inside {} of app/models/journal.rbToshi MARUYAMA2020-07-111-2/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@19881 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright year in source files to 2020 (#33069).Go MAEDA2020-03-031-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@19553 e93f8b46-1217-0410-a6f0-8f06a7374b81
* cleanup: rubocop: fix Layout/ClosingParenthesisIndentation in ↵Toshi MARUYAMA2019-11-261-7/+9
| | | | | | app/models/journal.rb git-svn-id: http://svn.redmine.org/redmine/trunk@19313 e93f8b46-1217-0410-a6f0-8f06a7374b81
* cleanup: rubocop: fix Layout/IndentFirstArgument in app/models/journal.rbToshi MARUYAMA2019-11-251-3/+6
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@19307 e93f8b46-1217-0410-a6f0-8f06a7374b81
* cleanup: rubocop: fix Layout/EmptyLineAfterGuardClause in app/models/journal.rbToshi MARUYAMA2019-11-221-0/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@19171 e93f8b46-1217-0410-a6f0-8f06a7374b81
* cleanup: rubocop: fix Layout/AlignArguments in app/models/journal.rbToshi MARUYAMA2019-11-081-4/+6
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@18936 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Option to send email notification on "Target version updated" (#17840).Go MAEDA2019-10-051-1/+2
| | | | | | | Patch by Yuichi HARADA. git-svn-id: http://svn.redmine.org/redmine/trunk@18595 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright year.Go MAEDA2019-05-251-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@18198 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Support frozen_string_literal in issue, journal, and query (#26561).Go MAEDA2019-03-171-2/+2
| | | | | | | Patch by Pavel Rosický. git-svn-id: http://svn.redmine.org/redmine/trunk@17980 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add "frozen_string_literal: false" for all files (#26561).Go MAEDA2019-03-151-0/+2
| | | | | | | This will be changed to true in the future. git-svn-id: http://svn.redmine.org/redmine/trunk@17947 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Send emails asynchronously (#26791).Jean-Philippe Lang2018-10-101-1/+1
| | | | | | Custom async_* delivery methods are removed in favor of ActiveJob (Async by default). git-svn-id: http://svn.redmine.org/redmine/trunk@17588 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Cleanup: Remove Issue#each_notification and Journal#each_notification (#26791).Jean-Philippe Lang2018-10-061-13/+0
| | | | | | Patch by Holger Just. git-svn-id: http://svn.redmine.org/redmine/trunk@17584 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged rails-5.1 branch (#23630).Jean-Philippe Lang2017-07-231-1/+0
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16859 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright.Jean-Philippe Lang2017-06-251-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16685 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Send journal notification after commit (#25794).Jean-Philippe Lang2017-05-271-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16573 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds updated_by and last_updated_by filters on issues (#17720).Jean-Philippe Lang2017-01-191-3/+10
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16228 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Let user always see his private notes (#17632).Jean-Philippe Lang2017-01-141-1/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16181 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Allow Journal to return empty Array instead nil in Journal#attachments (#24308).Jean-Philippe Lang2016-11-181-1/+1
| | | | | | Patch by Roman Shipiev. git-svn-id: http://svn.redmine.org/redmine/trunk@15957 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Journalize values that are cleared after project or tracker change (#21623).Jean-Philippe Lang2016-09-031-12/+20
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15811 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use .distinct instead of .uniq.Jean-Philippe Lang2016-07-141-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15654 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Wrap journal attributes with a journal parameter and use safe_attributes ↵Jean-Philippe Lang2016-07-101-0/+7
| | | | | | (#22575). git-svn-id: http://svn.redmine.org/redmine/trunk@15621 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Updates copyright for 2016.Jean-Philippe Lang2016-03-131-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15238 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed that journals are shown multiple times in activity (#19168).Jean-Philippe Lang2015-04-121-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@14163 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Set :inverse_of on details association.Jean-Philippe Lang2015-01-241-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13936 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Copyright update.Jean-Philippe Lang2015-01-111-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13872 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Don't create a journal when creating an issue.Jean-Philippe Lang2014-12-081-3/+6
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13732 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Moved journal details generation to Journal model.Jean-Philippe Lang2014-12-051-0/+102
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13703 e93f8b46-1217-0410-a6f0-8f06a7374b81
* remove unneeded "references" of joinsToshi MARUYAMA2014-10-241-1/+0
| | | | | | "references" is needed for includes, but not needed for joins. git-svn-id: http://svn.redmine.org/redmine/trunk@13501 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged rails-4.1 branch (#14534).Jean-Philippe Lang2014-10-221-5/+7
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13482 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds an option to send email on "Assignee updated" in application settings ↵Jean-Philippe Lang2014-03-171-1/+1
| | | | | | (#16362). git-svn-id: http://svn.redmine.org/redmine/trunk@12975 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds an option to send email on "Assignee updated" in application settings ↵Jean-Philippe Lang2014-03-171-4/+10
| | | | | | (#16362). git-svn-id: http://svn.redmine.org/redmine/trunk@12974 e93f8b46-1217-0410-a6f0-8f06a7374b81
* update copyright year (#15977)Toshi MARUYAMA2014-01-291-1/+1
| | | | | | Contributed by Daniel Felix. git-svn-id: http://svn.redmine.org/redmine/trunk@12736 e93f8b46-1217-0410-a6f0-8f06a7374b81
* remove unneeded Relation#all from Journal modelToshi MARUYAMA2014-01-271-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@12727 e93f8b46-1217-0410-a6f0-8f06a7374b81