summaryrefslogtreecommitdiffstats
path: root/test/unit
Commit message (Collapse)AuthorAgeFilesLines
* Merged r3346 from trunk.Jean-Philippe Lang2010-01-301-0/+2
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/0.9-stable@3347 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged r3305, r3306, r3307, r3311 from trunk.Jean-Philippe Lang2010-01-161-1/+15
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/0.9-stable@3317 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged r3258 and r3281 from trunk.Jean-Philippe Lang2010-01-091-0/+8
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/0.9-stable@3286 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged r3249 to r3252 and r3254 from trunk.Jean-Philippe Lang2009-12-272-5/+13
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/0.9-stable@3255 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
* Adds 'follows' relation (#1432).Jean-Philippe Lang2009-12-181-0/+46
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3190 e93f8b46-1217-0410-a6f0-8f06a7374b81
* By default, only show statuses that are used by the tracker on the workflow ↵Jean-Philippe Lang2009-12-181-1/+17
| | | | | | edit view. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3188 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds a Plugin API to allow one plugin to depend on another.Eric Davis2009-12-161-0/+39
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3175 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Make sure users don't get notified for thing they can not view (#3589).Jean-Philippe Lang2009-12-131-3/+43
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3169 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Makes user unwatch what he can no longer view after its permissions have ↵Jean-Philippe Lang2009-12-132-4/+106
| | | | | | | | changed (#3589). A rake task (redmine:watchers:prune) is also added to prune existing watchers. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3167 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Project custom fields are already copied via the Copy form. (#3367)Eric Davis2009-12-131-2/+0
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3165 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Copy issue relations when copying a project. (#3367)Eric Davis2009-12-131-3/+35
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3164 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Search mail addresses in Principal#likeEric Davis2009-12-121-0/+66
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3152 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds a Setting to control how an Issue's done_ratio is calculated:Eric Davis2009-12-112-0/+96
| | | | | | | | | * Issue field (default) - the done_ratio field for the Issue * Issue status - uses the Issue Status's value #4274 git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3151 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add test for #4354.Jean-Philippe Lang2009-12-091-0/+4
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3142 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed: Bulk edit of issues throws 500 if no versions are defined on the ↵Jean-Philippe Lang2009-12-091-0/+5
| | | | | | project (#4366). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3140 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixes tracker_id and custom_field_values assignment order for issues (#4353).Jean-Philippe Lang2009-12-091-0/+17
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3139 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed: Subversion#latest_changesets ignores revision argument (#4360).Jean-Philippe Lang2009-12-081-7/+11
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3134 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixes Project#shared_versions for descendants sharing (#465).Jean-Philippe Lang2009-12-071-0/+50
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3130 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Version sharing (#465) + optional inclusion of subprojects in the roadmap ↵Jean-Philippe Lang2009-12-067-14/+250
| | | | | | | | | | | | | | | | view (#2666). Each version of a project can be shared with: * subprojects * projects in the project hierarchy: ancestors + descendants (needs versions management permission on the root project) * projects in the project tree: root project + all its descendants (same as above) * all projects (can be set by admin users only) Notes: * when sharing a version of a private project with others projects, its name will be visible within the other projects * a project with versions used by non descendant projects can not be archived git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3123 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Enhanced the Issue Bulk Copy feature:Eric Davis2009-12-041-0/+32
| | | | | | | | | | * Add a Copy option to the Context menu for multiple issues. * Added assigned to, status, start and due date options to the move/copy form. * Allow Issue#move_to to change attributes on the moved/copied issue. #4117 git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3122 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Do not notify users that are no longer allowed to view an issue (#3589, #4263).Jean-Philippe Lang2009-12-031-0/+17
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3121 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add assertion about email notification on issue creation via email (#4228).Jean-Philippe Lang2009-12-021-0/+5
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3115 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed: "None" category issue count is empty while grouping by category (#4308).Jean-Philippe Lang2009-12-021-0/+26
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3112 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Enable tracker update on issue edit form (#2405).Jean-Philippe Lang2009-11-291-0/+23
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3108 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Rescue invalid query statement error with an error message.Jean-Philippe Lang2009-11-281-0/+7
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3104 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixes a test failure.Jean-Philippe Lang2009-11-271-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3100 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Reverts r3072 (#4302: error raised when sorting on an association not ↵Jean-Philippe Lang2009-11-271-9/+0
| | | | | | included as column). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3097 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Show last update datetime (last attachment added) on document list (#4232).Jean-Philippe Lang2009-11-261-1/+13
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3095 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Updated menus from JPL's feedback.Eric Davis2009-11-253-35/+35
| | | | | | | | | | | | * Updated Mapper#push documentation * Renamed :parent_menu to :parent * Renamed the external API for :child_menus to :children. Internally it needs to stay :child_menus because Tree::TreeNode already defines a children method for another purpose #4250 git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3092 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add support for unattached menus (generated dynamically)Eric Davis2009-11-253-0/+119
| | | | | | | | | | A MenuItem can define a :child_menus option with a Proc. When the menus are rendered, the Proc will be run and the resulting MenuItems will be added to the page as child menus #4250 git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3091 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Converted Menus to a Tree structure to allow submenus.Eric Davis2009-11-255-0/+547
| | | | | | | | | | | | | | | | | * Bundle the rubytree gem * Patched RubyTree's TreeNode to add some additional methods. * Converted the menu rendering to walk the Tree of MenuItems to render each item * Added a menu option for :parent_menu to make this menu a child of the parent * Added a bunch of tests * Made MenuItem a subclass of Tree::TreeNode in order to use it's methods directly * Changed the exceptions in MenuItem#new to be ArgumentErrors instead of the generic RuntimeError #4250 git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3090 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed: error raised when rendering text that contains an email address with ↵Jean-Philippe Lang2009-11-241-0/+35
| | | | | | textile disabled (#4268). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3088 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Copy issue status on project copy (#3877).Jean-Philippe Lang2009-11-162-0/+20
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3075 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Optimize associations loading on the issue list.Jean-Philippe Lang2009-11-161-0/+9
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3072 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Allow issue grouping by custom field (#2679).Jean-Philippe Lang2009-11-161-0/+5
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3071 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Allow non admin users to add subprojects (#2963).Jean-Philippe Lang2009-11-151-0/+9
| | | | | | Subprojects can be added to the projects for which the user has add_project permission. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3059 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed some tests that where looking for specific issue urls but weren't matchingEric Davis2009-11-142-21/+28
| | | | | | the css classes for the link. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3049 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add view_issues permission (#3187).Jean-Philippe Lang2009-11-141-1/+42
| | | | | | | A migration adds this permission to all existing roles to preserve current behaviour. This permission controls access to issues, roadmap and changelog. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3039 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add test for i18n number_to_human_size (#4208).Jean-Philippe Lang2009-11-121-0/+10
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3034 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed pre tags containing "<pre*" (#4125).Jean-Philippe Lang2009-11-111-0/+22
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3030 e93f8b46-1217-0410-a6f0-8f06a7374b81