summaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* Refactor: merge IssuesController#update_form into IssuesController#newEric Davis2010-08-201-2/+2
| | | | | | | | The #update_form action was only refreshing the issue attributes form, so it's just a specialized JavaScript version of #new. This also removed old code that was extracted in other places (@issue.new_statuses_allowed_to). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4011 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix the mock_file test helper.Eric Davis2010-08-192-3/+7
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4010 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Refactor: move IssuesController#context_menu to a new controller.Eric Davis2010-08-193-83/+91
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4006 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Small test refactoring, extract method.Eric Davis2010-08-192-3/+7
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3951 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use the base layout for all 403, 404, and 500 pages. #6172Eric Davis2010-08-191-0/+26
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3949 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Refactor: move IssuesController#preview to a new controller.Eric Davis2010-08-183-16/+25
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3946 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Refactor: move IssuesController#auto_complete to a new controller. #4382Eric Davis2010-08-173-15/+21
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3945 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Refactor: move IssuesController#reply to JournalsControllerEric Davis2010-08-163-15/+15
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3941 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix path to test_helperEric Davis2010-08-121-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3937 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Refactor: Extract a new IssueMovesController from IssuesController.Eric Davis2010-08-114-95/+109
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3936 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Show projects depending on their visibility in user's profile. #6100Jean-Baptiste Barth2010-08-101-0/+10
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3935 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Prevent 500 error on login when there's a typo in OpenID URI scheme, such as ↵Jean-Baptiste Barth2010-08-101-0/+7
| | | | | | http;// or http.// git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3933 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
* Refactor: start to split IssuesController#move into two separate actions.Eric Davis2010-08-062-14/+14
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3918 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
* Fix a few requires for metric_fu's rcov.Eric Davis2010-08-043-3/+3
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3913 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
* Refactor: extract method to shoulda macro.Eric Davis2010-08-022-5/+10
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3905 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Added tests for AccountController#register POST with automatic registration.Eric Davis2010-08-021-1/+43
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3904 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Added tests for AccountController#register GET.Eric Davis2010-08-021-0/+23
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3903 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
* Force the test RAILS_ENV to help prevent purging data when mistyping. #4572Eric Davis2010-07-091-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3840 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Extend changes.path and changes.from_path to support longer paths. #5771Eric Davis2010-07-064-6/+7
| | | | | | | | | 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
* Typecast issue ids when searched for.Eric Davis2010-06-201-0/+6
| | | | | | | | Older Postgres versions don't allow searching over the id field's max size. Contributed by Holger Just git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3806 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Handle unsuccessful destroys in TimelogController. #5700Eric Davis2010-06-201-0/+18
| | | | | | Contributed by Jan git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3805 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add a link to the cross project time entries page to /projects. #4935Eric Davis2010-06-201-0/+27
| | | | | | Contributed by Jan. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3802 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Truncate incoming email subject lines to 255 characters. #5698Eric Davis2010-06-202-0/+63
| | | | | | 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-203-5/+31
| | | | | | Contributed by Gregor Schmidt git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3800 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add some assertions on the default data loading test to debug a Ruby 1.9 ↵Eric Davis2010-06-201-0/+2
| | | | | | failure. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3799 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Display the correct ISO week number on the project calendar.Eric Davis2010-06-191-0/+44
| | | | | | | | http://en.wikipedia.org/wiki/ISO_week Contributed by Holger Just git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3790 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Added tests for #5533's behavior.Eric Davis2010-06-191-0/+18
| | | | | | Contributed by Gregor Schmidt. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3788 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-192-0/+26
| | | | | | 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-193-14/+13
| | | | 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
* Added JSON support to the issues API. #1214Eric Davis2010-06-051-3/+155
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3766 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Convert tests to shouldaEric Davis2010-06-051-60/+115
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3765 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add an "Assigned To" keyword to receiving email. #5594Eric Davis2010-05-293-0/+5
| | | | | | 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-283-2/+10
| | | | 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-272-2/+57
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3760 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Somehow ran out of unique identifiers.Eric Davis2010-05-271-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3759 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add error messages to MembersController#new so a user is informed of missing ↵Eric Davis2010-05-241-0/+34
| | | | | | data. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3749 e93f8b46-1217-0410-a6f0-8f06a7374b81