summaryrefslogtreecommitdiffstats
path: root/test/unit
Commit message (Collapse)AuthorAgeFilesLines
* Added three new notifiable events based on issue attributesEric Davis2010-09-284-2/+122
| | | | | | | | * issue_note_added * issue_status_updated * issue_priority_updated git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4221 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Refactor the hardcoded event actions (notifiables) to use a classEric Davis2010-09-281-0/+38
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4220 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add a default mail notification setting for new usersEric Davis2010-09-281-0/+12
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4219 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Added User#notify_about? to check when a user should be notified about an eventEric Davis2010-09-283-2/+89
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4218 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Added tests for Issue#recipientsEric Davis2010-09-281-1/+25
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4217 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Converted User#mail_notification from a boolean to a string.Eric Davis2010-09-281-4/+4
| | | | | | The string will now store which type of notification option to use. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4216 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Support leading and trailing spaces in filenames or directories in the git ↵Eric Davis2010-09-262-5/+13
| | | | | | | | adapter. #6499 Contributed by Felix Schäfer git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4189 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Support spaces in the files or directories in the git adapter. #6054Eric Davis2010-09-262-9/+21
| | | | | | Contributed by Felix Schäfer git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4188 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Parse the timezone in #last_rev for git to correct display the Age diplay. #6346Eric Davis2010-09-261-0/+8
| | | | | | Contributed by Felix Schäfer git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4187 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixes reverting an issue to a status with a done_ratio of 0%. #5170Eric Davis2010-09-261-3/+15
| | | | | | Contributed by Felix Schäfer git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4186 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Workaround for i18n 0.4.x with the old style syntax. #6428 #5608Eric Davis2010-09-261-4/+4
| | | | | | | | This will also silance the whole trace with the deprecation warning. Contributed by Felix Schäfer git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4183 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Project tests updated.Jean-Philippe Lang2010-09-261-0/+4
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4179 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Added a users options to the reminders emailEric Davis2010-09-201-0/+10
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4167 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix failing test.Eric Davis2010-09-201-1/+1
| | | | | | | | See http://ci.finn.de/builds/1-8-7_redmine-trunk_postgres/4100 Contributed by Holger Just git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4106 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Change the TimelogController's to/from dates based on the project time entriesEric Davis2010-09-141-6/+39
| | | | | | | | Instead of looking for the earliest and latest time entry system wide for the dates in the form, now TimelogController will only look at the time entries for the current project (and parent/sub projects). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4087 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Refactor: move method to Model.Eric Davis2010-09-141-0/+15
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4086 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Added a "Member of Role" to the issues filters. #5869Eric Davis2010-09-101-1/+67
| | | | | | | This filter will check an issue's assigned to field for users who have (or don't have) a specific Role(s). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4078 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Added a "Member of Group" to the issues filter. #5869Eric Davis2010-09-101-2/+88
| | | | | | | This filter will check an issue's assigned to field for users in (or not in) specific groups. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4077 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Rewrite the Gantt chart. #6276Eric Davis2010-09-105-2/+895
| | | | | | | | | | | | | | | | | | | | | | | | This version of the Gantt chart supports nested charts. So Projects, Versions, and Issues will be nested underneath their parents correctly. Additional features: * Move all Gantt code to Redmine::Helpers::Gantt class instead of having it in the Gantt class, controller, and view * Recursive and nest sub-projects * Recursive and nest versions * Recursive and nest issues * Draw a line showing when a Project is active and it's progress * Draw a line showing when a Version is active and it's progress * Show a version's % complete * Change the color of Projects, Versions, and Issues if they are late or behind schedule * Added Project#start_date and #due_date * Added Project#completed_percent * Use a mini-gravatar on the Gantt chart * Added tests for the Gantt rendering git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4072 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Change link_to_if_authorized to allow url paths. (Fixes #6195)Eric Davis2010-09-061-0/+29
| | | | | | | | | Both url paths (/issues/1234) and params hashes (:controller => 'issues') are now supported by link_to_if_authorized. The authorize_for method requires a controller/action pair so urls need to be parsed against the routes to find their controller/action. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4064 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use the built in Rails ActionView::TestCase for testing helpers.Eric Davis2010-09-061-4/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4063 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Added missing tests for User#allowed_to? #6291Jean-Baptiste Barth2010-09-031-0/+43
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4058 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Treat Calendar and Gantt pages as separate modules. #6153Eric Davis2010-08-221-1/+3
| | | | | | | | | | This will let the Issue Tracking, Gantt, and Calendar modules be enabled or disabled as needed. A database migration will enable the Gantt and Calendar for all existing projects that have Issue Tracking enabled. Contributed by Adam Soltys git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4013 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Refactor: Extract a new IssueMovesController from IssuesController.Eric Davis2010-08-111-0/+4
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3936 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Added project filter when viewing all issues. #5084Jean-Baptiste Barth2010-08-081-0/+9
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3927 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Replace Test::Unit::TestCase with ActiveSupport::TestCase. #5477Jean-Baptiste Barth2010-08-083-7/+3
| | | | | | Contributed by Alexey Palazhchenko git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3926 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed wrong commit range in git log command. #5628Jean-Baptiste Barth2010-08-081-0/+4
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3925 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Refactor: added link_to_project helper to handle links to projectsJean-Baptiste Barth2010-08-081-0/+12
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3924 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed: assigned_to and author filters in cross project issues view should be ↵Jean-Baptiste Barth2010-08-041-0/+9
| | | | | | based on user's project visibility. #5760 git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3916 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Show the number of days in the subject line of Reminder emails.Eric Davis2010-08-031-0/+1
| | | | | | i18n check needed. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3907 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed: Deleting statuses doesn't delete all workflow entries (#5811).Jean-Philippe Lang2010-07-251-3/+5
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3881 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Strips user email (#5834).Jean-Philippe Lang2010-07-251-0/+6
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3873 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Extend changes.path and changes.from_path to support longer paths. #5771Eric Davis2010-07-062-5/+5
| | | | | | | | | Long paths to SCM files would be truncated or wouldn't insert into some databases. This extends those fields to support arbitrary length filenames. Contributed by Holger Just git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3828 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Recalculate inherited attributes on parents when a child is moved under a ↵Eric Davis2010-06-301-0/+9
| | | | | | | | new parent. #5524 Contributed by Jean-Baptiste Barth. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3821 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add some tests for User#try_to_login with LDAP. #5592Eric Davis2010-06-301-0/+15
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3819 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Sanitize image links and handle nils in the toc formatter. #5445Eric Davis2010-06-241-1/+5
| | | | | | Based on contribution by Yuki Kita. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3811 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Change User#login to be case-insensitive. #2473Eric Davis2010-06-201-0/+34
| | | | | | | | | This change also overrides User#find_by_login to give priority to exact matches in the login. Contributed by Greg Mefford git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3807 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Truncate incoming email subject lines to 255 characters. #5698Eric Davis2010-06-201-0/+6
| | | | | | Contributed by Jan git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3801 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Support listing directories in svn which include square brackets. #5548Eric Davis2010-06-201-4/+30
| | | | | | Contributed by Gregor Schmidt git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3800 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Display the link name when external links are used in the toc macro. #5445Eric Davis2010-06-191-0/+2
| | | | | | Contributed by Yuki Kita and Jean-Baptiste Barth git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3786 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Accept email from anonymous users with an empty from address. #5604Eric Davis2010-06-191-0/+9
| | | | | | Contributed by Andrew Fenn git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3783 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Refactor: extract test methodEric Davis2010-06-191-9/+2
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3773 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix a nil error when a Project cannot save attachments.Eric Davis2010-06-191-0/+26
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3772 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add an "Assigned To" keyword to receiving email. #5594Eric Davis2010-05-291-0/+2
| | | | | | Will take a user's email address, login, or full name. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3764 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add 'Start date' and 'End date' keywords for incoming email. #5595Eric Davis2010-05-281-1/+5
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3763 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Show subproject versions on the Roadmap.Eric Davis2010-05-271-0/+53
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3760 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Allow AuthSources to control if they allow password changes.Eric Davis2010-05-231-0/+26
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3745 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds issue relations to individual issue XML (#5305).Jean-Philippe Lang2010-05-011-0/+9
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3729 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds test helpers for test repositories.Jean-Philippe Lang2010-05-012-9/+4
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3720 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixes random test failure.Jean-Philippe Lang2010-04-301-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3707 e93f8b46-1217-0410-a6f0-8f06a7374b81