summaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* 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-163-2/+40
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3071 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds a 'Move and follow' button on Move/Copy view to be redirected to the ↵Jean-Philippe Lang2009-11-151-0/+13
| | | | | | created issue(s) rather than the source project issue list (#1847). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3063 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Allow non admin users to add subprojects (#2963).Jean-Philippe Lang2009-11-152-0/+26
| | | | | | 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
* Fix 500 errors with a POST request that requires a login. #4216Eric Davis2009-11-141-0/+6
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3050 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-143-1/+67
| | | | | | | 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
* Adding the body of the feed to the failure message. #4204Eric Davis2009-11-121-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3033 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
* Fixes diff parser for when lines starting with multiple dashes are removed ↵Jean-Philippe Lang2009-11-111-0/+26
| | | | | | (#4186). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3028 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixes ApplicationHelper#link_to_userJean-Philippe Lang2009-11-112-1/+21
| | | | | | | * No link to a locked user page (closes #4182) * Translate Anonymous string git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3024 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds a link to automatically close completed versions in project settings ↵Jean-Philippe Lang2009-11-092-0/+19
| | | | | | (#1245). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3023 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Ignore emails received from the application emission address to avoid hell ↵Jean-Philippe Lang2009-11-082-0/+26
| | | | | | cycles (#4139). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3022 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds version status to limit issue assignments (#1245).Jean-Philippe Lang2009-11-084-0/+87
| | | | | | | | | Available version statuses are: * open: no restriction * locked: can not assign new issues to the version * closed: can not assign new issues and can not reopen assigned issues git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3020 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixes distance of date in words calculation.Jean-Philippe Lang2009-11-071-2/+2
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3016 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds a few functional tests.Jean-Philippe Lang2009-11-074-7/+100
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3013 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed a typo in Object daddyEric Davis2009-11-052-1/+7
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3010 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed: first day of date range is not included in time report with SQLite ↵Jean-Philippe Lang2009-11-041-0/+16
| | | | | | (#3112). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3009 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use FasterCSV or ruby1.9 CSV instead of ruby1.8 builtin CSV.Jean-Philippe Lang2009-11-041-0/+3
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3007 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed: inline images in wiki headings (#4112).Jean-Philippe Lang2009-11-041-0/+13
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2999 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Unified UsersController#list and #index.Jean-Philippe Lang2009-10-291-16/+15
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2991 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Include missing fixtures.Jean-Philippe Lang2009-10-291-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2989 e93f8b46-1217-0410-a6f0-8f06a7374b81
* AccountController#show (/account/show/:id) moved to UsersController#show ↵Jean-Philippe Lang2009-10-292-30/+43
| | | | | | (/users/:id). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2988 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Do not show user profile if no visible project or activity (#4129, #3720).Jean-Philippe Lang2009-10-291-0/+5
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2986 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add a permission to remove issue watchers (#2450).Jean-Philippe Lang2009-10-252-0/+11
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2977 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Allow project forums copy.Jean-Philippe Lang2009-10-252-0/+18
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2976 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add a test that breaks before r2967 (broken project wiki copy).Jean-Philippe Lang2009-10-252-3/+8
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2968 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Project copy: let the user choose what to copy from the source project ↵Jean-Philippe Lang2009-10-241-0/+12
| | | | | | (everything by default). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2966 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds a test for attached image inside a link (#4033).Jean-Philippe Lang2009-10-241-1/+3
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2962 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Sets proper content type for plain text mails (#3970).Jean-Philippe Lang2009-10-241-1/+2
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2961 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Reverts r2770 (#3391).Jean-Philippe Lang2009-10-241-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2960 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed some merge bugs. #4077Eric Davis2009-10-211-2/+2
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2952 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Added all list and boolean custom data fields to the Time Report. #4077Eric Davis2009-10-211-2/+4
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2951 e93f8b46-1217-0410-a6f0-8f06a7374b81
* When a specific TimeEntryActivity are change, associated TimeEntries will beEric Davis2009-10-212-2/+63
| | | | | | | | | | | | | | | re-assigned to the correct record. * Renamed build to create since the methods now create objects. * Removed call to Project#save that isn't needed since objects are saved directly now. * Wrapped the activity creation and updates in a SQL transaction so TimeEntries will remain in a consistent state if there is an error. * When a Project's TimeEntryActivities are destroyed, they are now reassigned to the parent TimeEntryActivity. #4077 git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2950 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Added a Activities tab to Project SettingsEric Davis2009-10-214-2/+151
| | | | | | | | | | | | | | | | | | | | | | | | * Changed Project#activities to allow getting inactive Activities also: * Changed the Enumeration#all named_scope to exclude project specific Activities * Changed the Project has_many time_entry_activities to include all by default and provided an #active method to filter them to active ones only * Split Project#activities to two methods and gave it a parameter that is used to determine if inactive activities are included (default is no) * Added a reset button to delete all project specific activities. * Added ProjectsController#reset_activities to remove the project specific activities * Added a HTTP DELETE route for reset_activities * Changed the permissions for managing project activities to have access to the ProjectsController#reset_activities action * Added a way to bulk save Project specific Activities in ProjectsController * #save_activities will save all the changed activities, including update the existing records * Added helper methods to the controller which will be refactored later * Allow the same TimeEntryActivity names on different projects #4077 git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2949 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Changed the Timelogs to use both the Systemwide and Project specific ↵Eric Davis2009-10-212-0/+103
| | | | | | | | | | | | TimeEntryActivities * Added Project#activities to return all the Systemwide and Project specific activities, excluding Systemwide ones that are overridden. * Added some tests for TimelogHelper. #4077 git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2948 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Added project specific Enumeration overrides.Eric Davis2009-10-211-0/+22
| | | | | | | | | | These will be used to track if Enumeration's custom data or active state is overridden on a project. An overridden Enumeration is one that is associated with a parent Enumeration. #4077 git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2947 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Added an active field track if an Enumeration is active on the frontend view.Eric Davis2009-10-212-0/+42
| | | | | | | | | | | * Changed TimelogHelper#activity_collection_for_select_options to only use active TimeEntryActivities. * Changed TimelogHelper#activity_collection_for_select_options to return a blank option if the time_entry's current activity is inactive. #4077 git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2946 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Enumerations can now have custom fields defined on them. #4077Eric Davis2009-10-214-3/+75
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2945 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Updated the unit test so Enumerations are tested separately from the subclasses.Eric Davis2009-10-211-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2944 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Contextual quick search (#3263).Jean-Philippe Lang2009-10-211-0/+7
| | | | | | Eg. when viewing issues, the quick search will search issues only. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2943 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Moved object daddy helpers to their own module.Eric Davis2009-10-202-30/+35
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2938 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Updated some object_daddy exemplars for the Models.Eric Davis2009-10-203-1/+42
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2937 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Added shoulda macros to test Project's associationsEric Davis2009-10-191-0/+24
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2936 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Replaced a custom test with a shoulda macro.Eric Davis2009-10-191-8/+7
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2935 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Improved Project#copy to copy more data from the source Project. #3367Eric Davis2009-10-194-2/+105
| | | | | | | | | | | * Versions * Associate the copied issues with the new versions * Wiki * WikiPages * WikiContents * IssueCategories git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2934 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Refactored duplicated test code to a setup.Eric Davis2009-10-191-42/+26
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2932 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Converted Project#copy test to use shouldaEric Davis2009-10-191-52/+55
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2931 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Configured object_daddy to help generate test data instead of fixtures. #4004Eric Davis2009-10-1813-0/+133
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2930 e93f8b46-1217-0410-a6f0-8f06a7374b81