summaryrefslogtreecommitdiffstats
path: root/test/object_helpers.rb
Commit message (Collapse)AuthorAgeFilesLines
* Fix RuboCop offense Lint/SendWithMixinArgument (#39887).Go MAEDA2024-08-241-2/+2
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22980 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use anonymous block forwarding introduced in Ruby 3.1 (#38585).Go MAEDA2024-08-211-6/+6
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22973 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix RuboCop offense Rails/RedundantActiveRecordAllMethod (#37248).Go MAEDA2023-10-121-1/+1
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22340 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Reverts r21958 and r21959 (#1739).Go MAEDA2022-11-181-1/+1
| | | | 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-1/+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
* Fix "ActiveRecord::StaleObjectError: Attempted to update a stale object: ↵Go MAEDA2021-04-011-1/+1
| | | | | | | | | Issue." (#29914, #32912). Patch by Pavel Rosický. git-svn-id: http://svn.redmine.org/redmine/trunk@20884 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Allow import time entries for other users (#32196).Jean-Philippe Lang2019-11-021-0/+8
| | | | | | Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@18890 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add support for customization by block to IssueCustomField.generate! (#31402).Go MAEDA2019-05-201-0/+1
| | | | | | | Patch by Kouhei Sutou. git-svn-id: http://svn.redmine.org/redmine/trunk@18179 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Support frozen_string_literal in test/**/*.rb (#26561).Go MAEDA2019-03-211-13/+13
| | | | | | | Contributed by Pavel Rosický. git-svn-id: http://svn.redmine.org/redmine/trunk@17996 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
* Adds a permission to log time for another user (#3848).Jean-Philippe Lang2018-12-161-0/+1
| | | | | | Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@17755 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Don't send notifications when using Issue.generate! in tests in order to ↵Jean-Philippe Lang2018-12-021-1/+3
| | | | | | speed up tests. git-svn-id: http://svn.redmine.org/redmine/trunk@17680 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Allow to copy documents along with projects (#26621).Go MAEDA2018-04-281-0/+8
| | | | | | | Patch by Holger Just. git-svn-id: http://svn.redmine.org/redmine/trunk@17314 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds settings for time entry hours validation (#24005).Jean-Philippe Lang2017-07-191-1/+6
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16832 e93f8b46-1217-0410-a6f0-8f06a7374b81
* use symbol instead of string for 'position' (#24013)Toshi MARUYAMA2016-11-281-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16008 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use a single hash as argument.Jean-Philippe Lang2016-09-011-13/+13
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15805 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Dup @generated_changeset_rev.Jean-Philippe Lang2016-07-161-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15682 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Make Tracker map-able for CSV import (#22951).Jean-Philippe Lang2016-06-071-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15490 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Replaces acts_as_list with an implementation that handles #position= (#12909).Jean-Philippe Lang2016-04-171-1/+6
| | | | | | Objects are reordered using the regular attribute writer #position= and AR callbacks. git-svn-id: http://svn.redmine.org/redmine/trunk@15335 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds tests for default custom field value (#21074).Jean-Philippe Lang2015-10-301-0/+7
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@14768 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Error message when editing a child project without add project/subprojects ↵Jean-Philippe Lang2015-09-211-1/+4
| | | | | | permissions (#20282). git-svn-id: http://svn.redmine.org/redmine/trunk@14619 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Import issues from CSV file (#950).Jean-Philippe Lang2015-08-141-0/+19
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@14493 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Disallow users to delete a version referenced by a custom field (#20159).Jean-Philippe Lang2015-06-271-0/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@14376 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds settings to control start/due dates and priority on parent tasks (#5490).Jean-Philippe Lang2015-05-251-0/+6
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@14269 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Cleans up parent project assignment in ProjectsController.Jean-Philippe Lang2015-01-071-2/+4
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13847 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Default status per tracker (#5991).Jean-Philippe Lang2014-11-021-1/+32
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13535 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Restores commits reverted when rails-4.1 branch was merged (#18174).Jean-Philippe Lang2014-10-241-0/+8
| | | | | | Patch by Mischa The Evil. git-svn-id: http://svn.redmine.org/redmine/trunk@13504 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged rails-4.1 branch (#14534).Jean-Philippe Lang2014-10-221-9/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13482 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed that query roles are not copied when copying a project (#17202).Jean-Philippe Lang2014-07-141-0/+8
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13329 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds some test helpers to cleanup tests.Jean-Philippe Lang2014-01-311-0/+13
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@12746 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Ability to define commit keywords per tracker (#7590).Jean-Philippe Lang2013-10-131-0/+12
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@12208 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Don't validate start date when updating an issue without changing it (#14086).Jean-Philippe Lang2013-06-051-1/+8
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11931 e93f8b46-1217-0410-a6f0-8f06a7374b81
* backout r11865 test/object_helpers.rb changesToshi MARUYAMA2013-05-181-1/+0
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11867 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Removed some shoulda context.Jean-Philippe Lang2013-05-181-0/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11865 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed that deleting a system activity with children in use raises an error ↵Jean-Philippe Lang2013-05-011-1/+2
| | | | | | (#13783). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11763 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed: Unable to set custom fields for versions using the REST API (#13850).Jean-Philippe Lang2013-05-011-0/+11
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11760 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Dup generated attributes.Jean-Philippe Lang2013-02-031-11/+11
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11322 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Optionaly inherit members from parent project (#5605).Jean-Philippe Lang2013-02-021-0/+6
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11298 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Link to attachment should return latest attachment (#7510).Jean-Philippe Lang2013-01-151-0/+12
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11196 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds issue custom fields to time entries filters (#10191).Jean-Philippe Lang2013-01-121-0/+11
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11171 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Makes Issue.generate_with_descendants! helper accept attributes only.Jean-Philippe Lang2012-10-121-6/+6
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10612 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Remove Issue.generate_for_project! test helper and use Issue.generate! instead.Jean-Philippe Lang2012-10-121-17/+6
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10611 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Private issue notes (#1554).Jean-Philippe Lang2012-10-031-0/+9
| | | | | | Adds 2 new permissions for viewing/adding private comments to issues. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10547 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Option to copy subtasks when copying issue(s) (#6965).Jean-Philippe Lang2012-09-081-0/+9
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10327 e93f8b46-1217-0410-a6f0-8f06a7374b81
* MailHandler: Match assignee on the full display name (#11552).Jean-Philippe Lang2012-08-261-1/+2
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10236 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Support for subforums (#3831).Jean-Philippe Lang2012-07-311-0/+11
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10142 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Replaced group[lastname] parameter with group[name].Jean-Philippe Lang2012-06-011-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9745 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Methods moved.Jean-Philippe Lang2012-04-221-18/+18
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9473 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Removed Query.generate_default! helper.Jean-Philippe Lang2012-04-221-8/+0
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9472 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Removed #generate_with_protected helper methods.Jean-Philippe Lang2012-04-221-14/+0
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9471 e93f8b46-1217-0410-a6f0-8f06a7374b81