summaryrefslogtreecommitdiffstats
path: root/test/unit
Commit message (Collapse)AuthorAgeFilesLines
* Added unit tests for IssuesHelper#show_detailEric Davis2010-03-081-0/+159
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3552 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Moves scm adapters unit tests to a dedicated folder.Jean-Philippe Lang2010-03-064-4/+4
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3551 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed: no email notification on new project/version file added (#4966).Jean-Philippe Lang2010-03-031-0/+14
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3532 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixes git annotate (#3832).Jean-Philippe Lang2010-03-031-2/+3
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3531 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds a test for not sending email without recipient (#4920).Jean-Philippe Lang2010-02-281-0/+21
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3518 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed: Git blame/annotate fails on moved files (#3832).Jean-Philippe Lang2010-02-281-0/+14
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3513 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed: attachments with the same name at the same time overwrite (#3691).Jean-Philippe Lang2010-02-281-0/+10
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3511 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixes a test failure due to a default custom field value.Jean-Philippe Lang2010-02-281-4/+2
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3509 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds missing fixtures.Jean-Philippe Lang2010-02-281-0/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3508 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed: journal details duplicated when an issue is saved twice (#3690).Jean-Philippe Lang2010-02-281-0/+26
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3499 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Makes AuthSource.authenticate return a hash instead of an array.Jean-Philippe Lang2010-02-261-4/+2
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3492 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Test that AuthSourceLdap#authenticate returns valid User attributes only.Jean-Philippe Lang2010-02-261-16/+9
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3491 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Moves the LDAP test server to a fixture.Jean-Philippe Lang2010-02-262-22/+5
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3490 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix LDAP on the fly creation. The User object doesn't have a :dn attribute.Eric Davis2010-02-251-0/+30
| | | | | | Fixes #4918 and adds a test for the behavior. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3485 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Removes --find-copies-harder git option to retrieve commits which was way to ↵Jean-Philippe Lang2010-02-211-1/+1
| | | | | | slow (#4547). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3468 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Remove invalid utf8 sequences from commit comments and author name (#4773).Jean-Philippe Lang2010-02-201-2/+18
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3466 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Cleanup.Jean-Philippe Lang2010-02-201-8/+0
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3459 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed: Links in Forum mails should redirect to message, not topic (#4884).Jean-Philippe Lang2010-02-201-2/+14
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3458 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed: Pound (#) followed by number with leading zero (0) removes leading ↵Jean-Philippe Lang2010-02-181-0/+2
| | | | | | zero when rendered in wiki (#4872). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3451 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix an IndexError if all the :last menu items are deleted from a menu. #4718Eric Davis2010-02-181-1/+18
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3447 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed: Deselecting textile text formatting causes interning empty string ↵Jean-Philippe Lang2010-02-171-0/+10
| | | | | | errors (#4867). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3446 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds a test for emission address with phrase (#4855).Jean-Philippe Lang2010-02-171-0/+10
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3443 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Refactor: Extract method from AuthSourceLdap#authenticateEric Davis2010-02-161-3/+6
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3439 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Added some tests for the LDAP authentication.Eric Davis2010-02-161-0/+58
| | | | | | Includes an export of an LDAP database to use in testing. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3438 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds projects links (#4812).Jean-Philippe Lang2010-02-131-2/+9
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3422 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed: Project copy loses wiki pages hierarchy (#4797).Jean-Philippe Lang2010-02-111-4/+12
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3412 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds filter for system shared versions on the cross project issue list (#4792).Jean-Philippe Lang2010-02-101-0/+7
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3409 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed: parent project field doesn't include blank value when a member with ↵Jean-Philippe Lang2010-02-101-0/+42
| | | | | | 'add subproject' permission edits a child project (#4790). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3405 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Updated object_daddy to a newer version (bugfixes)Eric Davis2010-02-081-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3398 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Added tests for Issue#by_X findersEric Davis2010-02-041-0/+42
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3364 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Change Role#anonymous and #non_member so they generate the record as needed.Eric Davis2010-02-031-0/+51
| | | | | | | | While creating tests, it was a common occurrence to lost the builtin roles because they are only created in the migrations. This makes them behave like User#anonymous. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3363 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Allow commits to reference issues of parent projects and subprojects (#4674).Jean-Philippe Lang2010-01-311-0/+23
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3357 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed: deleting a project with subprojects breaks the project tree (#4701).Jean-Philippe Lang2010-01-311-0/+58
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3354 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed: tests with ruby1.9 broken by r3322 (#4607).Jean-Philippe Lang2010-01-301-0/+2
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3346 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds unit test for #3645.Jean-Philippe Lang2010-01-171-0/+6
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3327 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds a test with Japanese keywords in a ISO-2002-JP encoded email (#4576).Jean-Philippe Lang2010-01-171-0/+8
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3322 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed: email notifications may affect language of notices on the UI (#4086).Jean-Philippe Lang2010-01-101-1/+15
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3307 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Auto-detect attachment content type when blank (#3782).Jean-Philippe Lang2009-12-291-0/+8
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3258 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Enlarge wiki content for MySQL databases (#1071).Jean-Philippe Lang2009-12-271-0/+8
| | | | | | Limit changed from 64KB to 16MB. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3254 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed: project copy doesn't copy group memberships (#3975).Jean-Philippe Lang2009-12-261-5/+5
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3250 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Project#activities should check all overridden activities, not just active ones.Eric Davis2009-12-241-0/+11
| | | | | | Fixes #4084 git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3239 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds a 'Add subprojects' permission.Jean-Philippe Lang2009-12-241-1/+1
| | | | | | | * 'Add project' permission will let user create a root project * 'Add subprojects' permission will let project members create subprojects git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3238 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Force TimeEntry#hours default to nil (#3075, #4449).Jean-Philippe Lang2009-12-231-0/+4
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3232 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds a setting to remove incoming emails body after a delimiter (#4409).Jean-Philippe Lang2009-12-231-0/+52
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3226 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Added an API token for each User to use when making API requests. (#3920)Eric Davis2009-12-231-1/+51
| | | | | | | | The API key will be displayed on My Account page with a link to reset or generate a new one. All existing users will have a token generated by the migration. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3217 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixes a test failure.Jean-Philippe Lang2009-12-211-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3214 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed the view_hook_helper test, it was reading all of the log files intoEric Davis2009-12-211-1/+1
| | | | | | memory and would throw a NoMemoryError (2GB+ used). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3211 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Speeds up very slow tests.Jean-Philippe Lang2009-12-191-15/+21
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3197 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds a 'no_permission_check' option to the MailHandler.Jean-Philippe Lang2009-12-191-0/+20
| | | | | | Used with the 'project' option, it allows anyone to submit emails to a private inbox project (#4407). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3195 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixes 'follows' relation validation.Jean-Philippe Lang2009-12-181-0/+11
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3191 e93f8b46-1217-0410-a6f0-8f06a7374b81