summaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* 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
* 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
* Refactor AuthSourcesController to support non-LDAP sources. #1131Eric Davis2010-05-232-0/+107
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3744 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Refactor: move Project Calendar to it's own controller.Eric Davis2010-05-033-18/+24
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3732 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
* Fixes strange random test failures with Mysql.Jean-Philippe Lang2010-05-011-0/+4
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3724 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds test helpers for test repositories.Jean-Philippe Lang2010-05-014-13/+15
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3720 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixes EOL style related test failures.Jean-Philippe Lang2010-04-301-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3719 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
* Fixed: watchers selection lost when issue creation fails (#5406). ↵Jean-Philippe Lang2010-04-301-0/+6
| | | | | | #watched_by? was fixed in order to work with #watcher_user_ids= used in controllers on unsaved objects. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3705 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixes URLs in atom feeds broken by r3681 (#5403).Jean-Philippe Lang2010-04-301-0/+3
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3703 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixes some parameters in functional tests.Jean-Philippe Lang2010-04-302-2/+2
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3701 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixes an object instantiation in tests.Jean-Philippe Lang2010-04-301-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3700 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Refactor: Move gantts to a separate controller.Eric Davis2010-04-283-56/+60
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3695 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds an assertion on issues deletion when deleting a project (#5381).Jean-Philippe Lang2010-04-271-2/+3
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3693 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Refactor: Split IssuesController#new to #new and #create to match REST pattern.Eric Davis2010-04-222-21/+22
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3688 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Refactor: Move the rest of the routing tests to RoutingTest.Eric Davis2010-04-2115-702/+167
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3687 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Move more routing tests into the routing integration test.Eric Davis2010-04-206-212/+46
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3686 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixes behaviour of move_issues permission for non member role (#5309).Jean-Philippe Lang2010-04-181-0/+17
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3683 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed: API 401 response does not include WWW-Authenticate header (#5322).Jean-Philippe Lang2010-04-171-0/+23
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3679 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Added missing Enumeration STI exemplars.Eric Davis2010-04-132-0/+20
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3670 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixes a test failure with SQLite3 due to transaction fixtures (#5290).Jean-Philippe Lang2010-04-122-26/+83
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3669 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixes Issue#save_issue_with_child_records so that time entry do not get ↵Jean-Philippe Lang2010-04-111-11/+14
| | | | | | saved if issue save fails. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3664 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed: issue optimistic locking broken by r3308 (#5280).Jean-Philippe Lang2010-04-112-0/+24
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3663 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Check that admin LDAP user is untouched after authentication (#5263).Jean-Philippe Lang2010-04-111-2/+14
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3634 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixes calculation of version estimated hours with subtasks (#5265).Jean-Philippe Lang2010-04-111-0/+28
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3633 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Makes the wiki sidebar editable (#5208).Jean-Philippe Lang2010-04-113-0/+37
| | | | | | The content of the wiki page named 'Sidebar' is rendered in the sidebar if it exists. Permission to edit protected pages is required to create this page. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3632 e93f8b46-1217-0410-a6f0-8f06a7374b81