summaryrefslogtreecommitdiffstats
path: root/app/controllers/projects_controller.rb
Commit message (Collapse)AuthorAgeFilesLines
* Fixed: roadmap show subprojects issues even if subprojects is unchecked (#4761).Jean-Philippe Lang2010-02-101-5/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3408 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Refactor: Pull up several #find_project methods to ApplicationControllerEric Davis2010-02-051-9/+0
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3370 e93f8b46-1217-0410-a6f0-8f06a7374b81
* XML REST API for Projects (#296).Jean-Philippe Lang2010-01-141-10/+46
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3313 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Do not display the copy form when project copy is created.Jean-Philippe Lang2009-12-261-1/+7
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3242 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds a 'Add subprojects' permission.Jean-Philippe Lang2009-12-241-3/+18
| | | | | | | * '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
* Roadmap: sort issues by project and prepend project name if different (#4373).Jean-Philippe Lang2009-12-121-2/+2
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3163 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Removes changelog view.Jean-Philippe Lang2009-12-121-31/+4
| | | | | | All trackers can now be displayed on the roadmap. By default, only those marked as displayed on the roadmap are displayed. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3162 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Ability to add a new version from the issue form (#4315).Jean-Philippe Lang2009-12-061-3/+22
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3126 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Version sharing (#465) + optional inclusion of subprojects in the roadmap ↵Jean-Philippe Lang2009-12-061-7/+54
| | | | | | | | | | | | | | | | 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
* Fixed: no error message when creating a category from the issue form fails ↵Jean-Philippe Lang2009-12-021-10/+19
| | | | | | (#1477). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3118 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds a setting for new projects default modules (#1797).Jean-Philippe Lang2009-11-151-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3068 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Allow non admin users to add subprojects (#2963).Jean-Philippe Lang2009-11-151-3/+3
| | | | | | 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 a test failure.Jean-Philippe Lang2009-10-291-2/+3
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2992 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add etag check on the activity view to avoid rendering when not modified.Jean-Philippe Lang2009-10-251-14/+16
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2982 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Display stats about objects that can be copied.Jean-Philippe Lang2009-10-251-4/+5
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2975 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Do not ignore parent project setting on project copy (#3386).Jean-Philippe Lang2009-10-251-0/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2974 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Project copy: let the user choose what to copy from the source project ↵Jean-Philippe Lang2009-10-241-1/+1
| | | | | | (everything by default). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2966 e93f8b46-1217-0410-a6f0-8f06a7374b81
* When a specific TimeEntryActivity are change, associated TimeEntries will beEric Davis2009-10-211-4/+5
| | | | | | | | | | | | | | | 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-211-0/+18
| | | | | | | | | | | | | | | | | | | | | | | | * 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
* Keep status filter on the projects list when un/archiving a project (#3530).Jean-Philippe Lang2009-07-041-2/+2
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2806 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds a setting to choose which role is given to a non-admin user who creates ↵Jean-Philippe Lang2009-05-171-1/+2
| | | | | | a project (#1007). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2754 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Ability to allow non-admin users to create projects (#1007).Jean-Philippe Lang2009-05-171-3/+9
| | | | | | | This can be enabled in permissions settings. A non-admin user who creates a project is automatically added as a project member (the first role is given, TODO: make this given role configurable). Projects can be added from the public projects list. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2750 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Display all users roles on project overview (#3339).Jean-Philippe Lang2009-05-121-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2734 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Allows multiple roles on the same project (#706). Prerequisite for user ↵Jean-Philippe Lang2009-05-101-1/+1
| | | | | | groups feature. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2726 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Added the ability to copy a project in the Project Administration panel.Eric Davis2009-05-031-3/+27
| | | | | | | | | | | | | | | | * Added Copy project button. * Added Project#copy_from to duplicate a project to be modified and saved by the user * Added a ProjectsController#copy based off the add method ** Used Project#copy_from to create a duplicate project in memory * Implemented Project#copy to copy data for a project from another and save it. ** Members ** Project level queries ** Project custom fields * Added a plugin hook for Project#copy. #1125 #1556 #886 #309 git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2704 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds (a maximum of 3) links to project ancestors in the page title (#2788).Jean-Philippe Lang2009-02-201-1/+0
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2485 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Removes Issue.visible_byJean-Philippe Lang2009-01-311-4/+4
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2342 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Replaces the obsolete robots.txt with a cached action (#2491).Jean-Philippe Lang2009-01-271-0/+6
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2319 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged nested projects branch. Removes limit on subproject nesting (#594).Jean-Philippe Lang2009-01-241-14/+8
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2304 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Move PDF stuff to a single helper.Jean-Philippe Lang2009-01-041-2/+0
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2226 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Jump to the current tab when using the project quick-jump combo (#2364).Jean-Philippe Lang2008-12-301-0/+5
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2210 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Validates sort_key and sort_order params (#2378).Jean-Philippe Lang2008-12-241-2/+6
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2171 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Files module: makes version field non required (#1053).Jean-Philippe Lang2008-12-091-4/+8
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2117 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed: 404 when "Apply" clicked on activity page (#2251).Jean-Philippe Lang2008-12-011-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2082 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Replaces User.find_active with a named scope.Jean-Philippe Lang2008-11-301-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2079 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Makes activity view accept a user_id param to show user's activity (#1002).Jean-Philippe Lang2008-11-301-3/+14
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2067 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixes activity date param.Jean-Philippe Lang2008-11-091-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2001 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds support for free ticket filtering and custom queries on Calendar.Jean-Philippe Lang2008-09-111-29/+1
| | | | | | ProjectsController#calendar moved to IssuesController. git-svn-id: http://redmine.rubyforge.org/svn/trunk@1798 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds support for free ticket filtering and custom queries on Gantt chart.Jean-Philippe Lang2008-09-101-63/+0
| | | | | | ProjectsController#gantt moved to IssuesController. git-svn-id: http://redmine.rubyforge.org/svn/trunk@1797 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds an option to generate sequential project identifiers.Jean-Philippe Lang2008-08-311-0/+1
| | | | | | Disabled by default, it can be enabled on the 'Projects' tab in application settings. git-svn-id: http://redmine.rubyforge.org/svn/trunk@1777 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Moves @layout 'base'@ to ApplicationController.Jean-Philippe Lang2008-08-101-1/+0
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@1727 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed: activity atom feed broken by r1701 (#1703).Jean-Philippe Lang2008-07-301-1/+1
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@1711 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Activity refactoring.Jean-Philippe Lang2008-07-271-82/+10
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@1701 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Better naming of activity feed if only one kind of event is displayed (#1323).Jean-Philippe Lang2008-07-061-1/+4
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@1642 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged Rails 2.1 compatibility branch.Jean-Philippe Lang2008-07-041-1/+1
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@1623 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Custom fields refactoring: most of code moved from controllers to models ↵Jean-Philippe Lang2008-06-271-12/+2
| | | | | | (using new module ActsAsCustomizable). git-svn-id: http://redmine.rubyforge.org/svn/trunk@1592 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Display issue notes in the activity view (#1509).Jean-Philippe Lang2008-06-211-1/+2
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@1567 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds new projects atom feed (#1290).Jean-Philippe Lang2008-05-271-2/+10
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@1465 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Moved ProjectsController#list to ProjectsController#index.Jean-Philippe Lang2008-05-261-6/+1
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@1464 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Gantt chart: display issues that don't have a due date if they are assigned ↵Jean-Philippe Lang2008-05-251-0/+7
| | | | | | to a version with a date (#184). git-svn-id: http://redmine.rubyforge.org/svn/trunk@1455 e93f8b46-1217-0410-a6f0-8f06a7374b81