summaryrefslogtreecommitdiffstats
path: root/test/functional/issues_controller_test.rb
Commit message (Collapse)AuthorAgeFilesLines
* Add configurable setting for copying attachments when copying an issue (#36197).Go MAEDA2024-07-141-0/+82
| | | | | | | Patch by Yuichi HARADA (user:yui.har). git-svn-id: https://svn.redmine.org/redmine/trunk@22926 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Improve watcher list permissions check to explicitly require ↵Marius Balteanu2024-07-081-0/+11
| | | | | | | | | | @view_issue_watchers@ permission (#40946). Patch by Felix Schäfer (@felix). git-svn-id: https://svn.redmine.org/redmine/trunk@22913 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Spent hours ignoring "Time Span Format" Setting on several pages (#40924).Go MAEDA2024-06-301-7/+9
| | | | | | | Patch by Go MAEDA (@maeda). git-svn-id: https://svn.redmine.org/redmine/trunk@22902 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix "ArgumentError: Invalid response name: unprocessable_entity" with Rack ↵Go MAEDA2024-06-121-1/+1
| | | | | | | | | | | | 3.1.0+ in assert_response (#39889). Rack 3.1.0 changed the symbol for HTTP status code 422 from `:unprocessable_entity` to `:unprocessable_content`. Due to the change, `assert_response(:unprocessable_entity, ...)` raises ArgumentError with Rack 3.1.0+. This fix is a follow-up to r22837. git-svn-id: https://svn.redmine.org/redmine/trunk@22876 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds description field to custom queries (#9309).Marius Balteanu2024-06-041-1/+2
| | | | | | | Patch by Go MAEDA (@maeda). git-svn-id: https://svn.redmine.org/redmine/trunk@22855 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Introduce configuration for done ratio options interval (#31756).Go MAEDA2024-05-291-0/+15
| | | | | | | Patch by Go MAEDA (@maeda). git-svn-id: https://svn.redmine.org/redmine/trunk@22849 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix RuboCop offense Rails/HttpStatus (#39889).Go MAEDA2024-05-181-49/+49
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22837 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixes failing tests on postgresql (#29894).Marius Balteanu2024-05-031-1/+7
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22808 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds Watcher list to the list of available query columns for issues (#29894).Marius Balteanu2024-04-281-0/+61
| | | | | | Patch by Felix Schäfer (@felix). git-svn-id: https://svn.redmine.org/redmine/trunk@22793 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixes that watcher groups on new issue form get dereferenced on validation ↵Marius Balteanu2024-04-281-0/+18
| | | | | | | | error (#40410, #40555). Patch by Felix Schäfer (@felix) and Kenta Kumojima (@kumojima). git-svn-id: https://svn.redmine.org/redmine/trunk@22792 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Revert r22764 (#33829).Go MAEDA2024-03-061-10/+0
| | | | | | | It breaks activities_controller_test.rb. git-svn-id: https://svn.redmine.org/redmine/trunk@22770 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix Atom feed for issues to correctly use the updated time for "updated" ↵Go MAEDA2024-03-041-0/+10
| | | | | | | | | element instead of the created time (#33829). Patch by Go MAEDA. git-svn-id: https://svn.redmine.org/redmine/trunk@22764 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Remove current year from source file copyright headers and update year in ↵Marius Balteanu2024-02-261-1/+1
| | | | | | footer to 2024 (#40043). git-svn-id: https://svn.redmine.org/redmine/trunk@22746 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix RuboCop offense Layout/SpaceAfterComma due to r22418 (#39534).Go MAEDA2023-11-161-1/+1
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22435 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix undefined method error in issue list PDF export when export contains a ↵Marius Balteanu2023-11-111-0/+23
| | | | | | custom field block column with full width layout enabled that is not part of the tracker of the exported ticket(s) (#39534). git-svn-id: https://svn.redmine.org/redmine/trunk@22418 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix RuboCop offense Style/RedundantFilterChain (#36919).Go MAEDA2023-10-121-1/+1
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22337 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add description for issue statuses and display them in issue new/edit form ↵Go MAEDA2023-08-311-0/+43
| | | | | | | | | (#2568). Patch by Takenori TAKAKI. git-svn-id: https://svn.redmine.org/redmine/trunk@22288 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix incorrect argument format for assert_select that causes ArgumentError ↵Go MAEDA2023-07-021-9/+6
| | | | | | | | | with rails-dom-testing >= 2.1.0 (#38797). Patch by Go MAEDA. git-svn-id: https://svn.redmine.org/redmine/trunk@22273 e93f8b46-1217-0410-a6f0-8f06a7374b81
* "Property changes" tab does not appear when all issue journals have both ↵Go MAEDA2023-02-011-8/+1
| | | | | | | | | notes and property changes (#38217). Patch by Go MAEDA. git-svn-id: https://svn.redmine.org/redmine/trunk@22085 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Ruby 2.7: Fix RuboCop offense Performance/MapCompact (#38134).Go MAEDA2023-01-171-2/+2
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22055 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use `require_relative` instead of `require File.expand_path(..., __FILE__)` ↵Go MAEDA2023-01-011-1/+1
| | | | | | | | | (#38093). Patch by Go MAEDA. git-svn-id: https://svn.redmine.org/redmine/trunk@22016 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
* Fix `{{thumbnail}}` macro in an issue note cannot fetch an image attached in ↵Go MAEDA2022-12-301-0/+16
| | | | | | | | | a different note (#37881). Patch by Mizuki ISHIKAWA. git-svn-id: https://svn.redmine.org/redmine/trunk@22012 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix groups added to watchers are not shown as links (#37958).Marius Balteanu2022-11-281-1/+1
| | | | | | | | Patch by Mizuki ISHIKAWA. git-svn-id: https://svn.redmine.org/redmine/trunk@21967 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Reverts r21958 and r21959 (#1739).Go MAEDA2022-11-181-1/+0
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@21960 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add the ability to change the author of an issue (#1739).Go MAEDA2022-11-161-0/+1
| | | | | | | Patch by Vladimir Kovacik, Jiri Stepanek, Aighan Pacobilch, Olivier Houdas, Takenori TAKAKI, and Mizuki ISHIKAWA. git-svn-id: https://svn.redmine.org/redmine/trunk@21958 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Read-only field permission for the project field is ignored if the current ↵Go MAEDA2022-10-311-0/+20
| | | | | | | | | project has subprojects (#37685). Patch by salman mp. git-svn-id: https://svn.redmine.org/redmine/trunk@21937 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Don't create two thumbnails of different resolutions for a single image ↵Go MAEDA2022-08-281-1/+1
| | | | | | | | | (#37597). Patch by Go MAEDA. git-svn-id: https://svn.redmine.org/redmine/trunk@21784 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use query name as the file name when exporting queries (#16207).Go MAEDA2022-08-241-0/+26
| | | | | | | Patch by Mizuki ISHIKAWA. git-svn-id: https://svn.redmine.org/redmine/trunk@21773 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Default query should not be applied if the query is not allowed to be set as ↵Go MAEDA2022-07-311-0/+51
| | | | | | | | | the default (#37499). Patch by Mizuki ISHIKAWA. git-svn-id: https://svn.redmine.org/redmine/trunk@21748 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Mark edited journal notes as "Edited" (#31505).Go MAEDA2022-07-171-0/+10
| | | | | | | Patch by Marius BALTEANU. git-svn-id: https://svn.redmine.org/redmine/trunk@21713 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Wiki notation `attachment:file_name` cannot make a link to a file attached ↵Go MAEDA2022-05-261-0/+15
| | | | | | | | | to other journals (#35462). Patch by Mizuki ISHIKAWA. git-svn-id: https://svn.redmine.org/redmine/trunk@21605 e93f8b46-1217-0410-a6f0-8f06a7374b81
* IssuesControllerTest randomly fails (#36716).Go MAEDA2022-03-031-1/+1
| | | | | | | Patch by Vincent Robert. git-svn-id: http://svn.redmine.org/redmine/trunk@21445 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Explicitly specify text formatting in the tests (#35952).Marius Balteanu2022-01-221-38/+42
| | | | | | Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@21386 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Display source project for cross-project associated revisions for issues ↵Go MAEDA2022-01-181-0/+1
| | | | | | | | | (#5242). Contributed by Felix Schäfer. git-svn-id: http://svn.redmine.org/redmine/trunk@21368 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Permission check of the setting button on the issues page mismatches button ↵Go MAEDA2022-01-101-0/+16
| | | | | | | | | semantics (#35090). Patch by Takenori TAKAKI. git-svn-id: http://svn.redmine.org/redmine/trunk@21357 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Change the default value for "Time span format" from "decimal" to "minutes" ↵Go MAEDA2022-01-081-19/+19
| | | | | | (#36391). git-svn-id: http://svn.redmine.org/redmine/trunk@21355 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Change Delete button name to Delete issue (#31278).Go MAEDA2022-01-051-4/+4
| | | | | | | Contributed by Frederico Camara. git-svn-id: http://svn.redmine.org/redmine/trunk@21346 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-3/+3
| | | | | | Performance 1.13.0 (#35142). git-svn-id: http://svn.redmine.org/redmine/trunk@21330 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use File.exist? instead of deprecated File.exists? (#36358).Go MAEDA2021-12-271-4/+4
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@21327 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Allow addition/removal of subtasks to show in parent's history (#6033).Go MAEDA2021-11-081-1/+31
| | | | | | | Patch by Yuichi HARADA. git-svn-id: http://svn.redmine.org/redmine/trunk@21273 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix RuboCop offense Naming/MethodName due to r21269 (#29076).Go MAEDA2021-11-081-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@21272 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds button to "Create and follow" when adding a subtask from the parent ↵Marius Balteanu2021-11-061-0/+24
| | | | | | | | | | | | issue. Now the user have the following options: * Create: redirects the user to the parent task (existing behaviour) * Create and follow: redirects the user to the newly created subtask (new behaviour) * Create and add another: redirects the user to new subtask (existing behaviour). (#29076). git-svn-id: http://svn.redmine.org/redmine/trunk@21269 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed "Layout/IndentationWidth: Use 2 (not 4) spaces for indentation." ↵Marius Balteanu2021-08-101-7/+7
| | | | | | introduced by r21141 (#35634). git-svn-id: http://svn.redmine.org/redmine/trunk@21152 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed attachments deletable by user without edit issue permission on tracker ↵Marius Balteanu2021-08-051-0/+13
| | | | | | (#35634). git-svn-id: http://svn.redmine.org/redmine/trunk@21142 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds tests for issue attachment edit by user without edit issue permission ↵Marius Balteanu2021-08-051-0/+13
| | | | | | on tracker (#35634). git-svn-id: http://svn.redmine.org/redmine/trunk@21141 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix that updating an issue from context menu to a none value do not set the ↵Marius Balteanu2021-08-051-0/+27
| | | | | | | | field to blank (#33521). Patch by Mizuki ISHIKAWA. git-svn-id: http://svn.redmine.org/redmine/trunk@21139 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Remove unused setting 'Blind carbon copy recipients (bcc)' (#30820).Marius Balteanu2021-08-011-2/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@21130 e93f8b46-1217-0410-a6f0-8f06a7374b81
* When updating an issue, allow adding time entry on an issue that was visible ↵Marius Balteanu2021-07-261-0/+23
| | | | | | for the previous assignee (#34856). git-svn-id: http://svn.redmine.org/redmine/trunk@21081 e93f8b46-1217-0410-a6f0-8f06a7374b81