summaryrefslogtreecommitdiffstats
path: root/db
Commit message (Collapse)AuthorAgeFilesLines
* Change projects homepage limit to 255 chars (#663, #1095).Jean-Philippe Lang2008-05-251-0/+9
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@1457 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Wiki page protection (#851, patch #1146 by Mateo Murphy with slight changes).Jean-Philippe Lang2008-05-041-0/+9
| | | | | | New permission added: protect wiki pages. Once a page is protected, it can be edited/renamed/deleted only by users who have this permission. git-svn-id: http://redmine.rubyforge.org/svn/trunk@1415 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged Git support branch (r1200 to r1226).Jean-Philippe Lang2008-03-122-0/+18
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@1236 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixes migrations that change string limits for sqlite.Jean-Philippe Lang2008-03-093-3/+3
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@1222 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Allow longer version names (#711, closes #712).Jean-Philippe Lang2008-03-091-0/+9
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@1220 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixes migration 87 error when running MySQL with STRICT_TRANS_TABLES on (#771).Jean-Philippe Lang2008-03-051-1/+1
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@1189 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds an optional description to attachments.Jean-Philippe Lang2008-02-291-0/+9
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@1180 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed: not null constraints not removed with Postgresql.Jean-Philippe Lang2008-02-123-7/+7
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@1140 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed migration 87 (mysql: TEXT column can't have a default value).Jean-Philippe Lang2008-01-221-1/+1
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@1093 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Missing migration for r1090.Jean-Philippe Lang2008-01-201-0/+9
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@1091 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Unlimited and optional project description. The project list will show ↵Jean-Philippe Lang2008-01-201-0/+8
| | | | | | truncated descriptions only (the first fews lines). git-svn-id: http://redmine.rubyforge.org/svn/trunk@1088 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed error on migration 85 with Oracle (index name can not be more than 30 ↵Jean-Philippe Lang2008-01-151-2/+2
| | | | | | characters long). git-svn-id: http://redmine.rubyforge.org/svn/trunk@1069 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Search engine: issue custom fields can now be searched.Jean-Philippe Lang2007-12-141-0/+9
| | | | | | Each issue custom field (excepting numeric, date and boolean fields) can be marked as "Searchable" (default to false). git-svn-id: http://redmine.rubyforge.org/svn/trunk@994 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Performance improvement on workflow setup screen.Jean-Philippe Lang2007-12-071-0/+9
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@957 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Changed the maximum length of LDAP account to 255 characters.Jean-Philippe Lang2007-12-021-0/+9
| | | | | | Added length validations on AuthSource model. git-svn-id: http://redmine.rubyforge.org/svn/trunk@948 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Forums enhancements:Jean-Philippe Lang2007-11-242-0/+18
| | | | | | | | * messages can now be edited/deleted (explicit permissions need to be given) * topics can be locked so that no reply can be added (only by users allowed to edit messages) * topics can be marked as sticky so that they always appear at the top of the list (only by users allowed to edit messages) git-svn-id: http://redmine.rubyforge.org/svn/trunk@926 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Added per-project tracker selection. Trackers can be selected on project ↵Jean-Philippe Lang2007-11-201-0/+19
| | | | | | settings. git-svn-id: http://redmine.rubyforge.org/svn/trunk@920 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Anonymous users can now be allowed to create, edit, comment issues, comment ↵Jean-Philippe Lang2007-11-201-0/+10
| | | | | | | | news and post messages in the forums. These permissions need to be explicitly given to the Anonymous role (Admin -> Roles & Permissions -> Anonymous). git-svn-id: http://redmine.rubyforge.org/svn/trunk@919 e93f8b46-1217-0410-a6f0-8f06a7374b81
* * Added time zone support: users can select their time zone on their account ↵Jean-Philippe Lang2007-11-191-0/+9
| | | | | | | | | view. * Updated Polish translation (Mariusz Olejnik). * Fixed: Projects should be listed with case mixed. git-svn-id: http://redmine.rubyforge.org/svn/trunk@917 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Custom fields can now be reordered.Jean-Philippe Lang2007-11-121-0/+15
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@901 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Removed IssueStatus html_color attribute.Jean-Philippe Lang2007-11-041-0/+9
| | | | | | Issue list colorization can be done using a custom theme. Each row is given a class that correspond to the issue status (eg. status-1 where 1 is the status position). git-svn-id: http://redmine.rubyforge.org/svn/trunk@881 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Removed 'not null' constraint on position fields.Jean-Philippe Lang2007-10-221-0/+14
| | | | | | Previous migrations updated for new sqlite databases. git-svn-id: http://redmine.rubyforge.org/svn/trunk@865 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Removed 'not null' constraint on position fields.Jean-Philippe Lang2007-10-225-5/+5
| | | | | | Previous migrations updated for new sqlite databases. git-svn-id: http://redmine.rubyforge.org/svn/trunk@864 e93f8b46-1217-0410-a6f0-8f06a7374b81
* More flexible mail notifications settings at user level. A user has now 3 ↵Jean-Philippe Lang2007-10-202-1/+10
| | | | | | | | | | options: * notification on any event on all his projects * notification on any event on selected projects only (if the user belongs to more than 1 project) * notification only for things that he watches or he is involded in (eg. issues that he watches or he is author or assignee) git-svn-id: http://redmine.rubyforge.org/svn/trunk@855 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Added LDAPS support migration and fixed connection test flash messages.Jean-Philippe Lang2007-10-161-0/+9
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@845 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed: Migration 71 broken if run with code >= r803 (Enumeration#before_save ↵Jean-Philippe Lang2007-10-051-2/+5
| | | | | | relies on an attribute added in migration 72). git-svn-id: http://redmine.rubyforge.org/svn/trunk@809 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Added default value for enumerations.Jean-Philippe Lang2007-10-051-0/+9
| | | | | | Only default issue priority is actually used. git-svn-id: http://redmine.rubyforge.org/svn/trunk@803 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Added position on Enumeration model.Jean-Philippe Lang2007-10-041-0/+12
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@800 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Added the ability to customize columns of a saved query.Jean-Philippe Lang2007-10-011-0/+9
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@782 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed: error when uploading a file with a content type longer than 60 chars.Jean-Philippe Lang2007-09-171-0/+9
| | | | | | (Maximum size changed to 255. Mime type not saved if longer) git-svn-id: http://redmine.rubyforge.org/svn/trunk@739 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Added 'Estimated hours' attribute on issues.Jean-Philippe Lang2007-09-151-0/+9
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@731 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Added project module concept.Jean-Philippe Lang2007-09-141-0/+18
| | | | | | | | | | A project module (eg. issue tracking, news, wiki,...) is a set of permissions that can enabled/disabled at project level. For each project, modules can be enabled on the project settings view ('Modules' tab). This requires a specific permission: 'Select project modules' (if this permission is turned off, only Redmine administrators can choose which modules a project uses). When applying this migration, all modules are enabled for all existing projects. git-svn-id: http://redmine.rubyforge.org/svn/trunk@725 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Added the ability to rename wiki pages (specific permission required).Jean-Philippe Lang2007-09-091-0/+15
| | | | | | Existing links that point to the old page are preserved and automatically redirected to the new page (this behaviour can be disabled when renaming the page). git-svn-id: http://redmine.rubyforge.org/svn/trunk@720 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Added an index on custom_values table (customized_type + customized_id ↵Jean-Philippe Lang2007-09-041-0/+9
| | | | | | columns) to speed up issue queries that use custom field filters. git-svn-id: http://redmine.rubyforge.org/svn/trunk@702 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Added cache for application settings (Setting model).Jean-Philippe Lang2007-08-311-0/+11
| | | | | | Once the values are cached, only one database query is done at each user request (to check if the cache is still valid). git-svn-id: http://redmine.rubyforge.org/svn/trunk@685 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged 0.6 branch into trunk.Jean-Philippe Lang2007-08-2923-0/+100
| | | | | | | | | Permissions management was rewritten. Some permissions can now be specifically defined for non member and anonymous users. This migration: * is irreversible (please, don't forget to *backup* your database before upgrading) * resets role's permissions (go to "Admin -> Roles & Permissions" to set them after upgrading) git-svn-id: http://redmine.rubyforge.org/svn/trunk@674 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Committer field in the Changesets table is now varchar 255.Jean-Philippe Lang2007-08-251-0/+9
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@656 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Added a 'Assignable' boolean on Role model.Jean-Philippe Lang2007-08-161-0/+9
| | | | | | If unchecked, issues can not be assigned to users having this role. git-svn-id: http://redmine.rubyforge.org/svn/trunk@649 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Changed 'versions' table creation to allow null values for 'effective_date' ↵Jean-Philippe Lang2007-08-121-1/+1
| | | | | | | | field. This change was done in migration 048 but seems to have no effect with SQLite. git-svn-id: http://redmine.rubyforge.org/svn/trunk@611 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Each category can now be associated to a user, so that new issues in that ↵Jean-Philippe Lang2007-06-291-0/+9
| | | | | | category are automatically assigned to that user. git-svn-id: http://redmine.rubyforge.org/svn/trunk@577 e93f8b46-1217-0410-a6f0-8f06a7374b81
* A wiki page can now be attached to each version.Jean-Philippe Lang2007-06-141-0/+9
| | | | | | | For that, edit the version and set the wiki page name (project wiki must be enabled). The wiki page content is displayed for each version on the roadmap view. git-svn-id: http://redmine.rubyforge.org/svn/trunk@564 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Added basic support for CVS and Mercurial SCMs.Jean-Philippe Lang2007-06-125-0/+47
| | | | | | | | | Browsing, changesets fetching and diff viewing are implemented. Only tested with local repositories. Thanks to Ralph Vater for CVS specific code. git-svn-id: http://redmine.rubyforge.org/svn/trunk@559 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Added the ability to archive projects:Jean-Philippe Lang2007-05-271-0/+9
| | | | | | | | | * Only administrators can archive/unarchive projects. * Once archived, the project is visible on the admin project listing only. It doesn't show up anywhere else in the app. Subprojects are also archived. * Archive/unarchive preserve everything on the project (issues, members, ...). * A subproject can not be unarchived if its parent project is archived. git-svn-id: http://redmine.rubyforge.org/svn/trunk@549 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Attachments can now be added to wiki pages (original patch by Pavol Murin). ↵Jean-Philippe Lang2007-05-261-0/+11
| | | | | | | | Only authorized users can add/delete attachments. Attached images can be displayed inline, using textile image tag (for wiki pages, issue descriptions and forum messages). git-svn-id: http://redmine.rubyforge.org/svn/trunk@541 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Added the ability to destroy wiki pages (content and its history are deleted ↵Jean-Philippe Lang2007-05-251-0/+9
| | | | | | | | from the database). This permission has to be explicitly given (Roles & Permissions -> Wiki pages/Delete). git-svn-id: http://redmine.rubyforge.org/svn/trunk@540 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Versions can now be created with no date.Jean-Philippe Lang2007-05-201-0/+9
| | | | | | Versions with no date appear at the end of the roadmap, sorted by name. git-svn-id: http://redmine.rubyforge.org/svn/trunk@536 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Per project forums added.Jean-Philippe Lang2007-05-133-0/+52
| | | | | | | | | Permissions for forums management can be set in "Admin -> Roles & Permissions". Forums can be created on the project settings screen ("Forums" tab). Once a project has a forum, a "Forums" link appears in the project menu. For now, posting messages in forums requires to be logged in. Files can be attached to messages. git-svn-id: http://redmine.rubyforge.org/svn/trunk@529 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Changed the length of 'language' column in users table from 2 to 5, to allow ↵Jean-Philippe Lang2007-05-081-0/+9
| | | | | | | | | | long language codes like pt-br. Updated portuguese translation (Arthur Zapparoli). Current pt translation moved to pt-br. git-svn-id: http://redmine.rubyforge.org/svn/trunk@518 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Issue relations first commit (not thoroughly tested). 4 kinds of relation ↵Jean-Philippe Lang2007-05-052-0/+25
| | | | | | | | | | | | | | are available: * relates to: do nothing special. Just to know that the 2 issues are related... * duplicates: will close the related issue with the same status when closing the issue (not implemented yet) * blocks: will require to close the blocking issue before closing the blocked issue (not implemented yet) * precedes (end to start relation): start date of the related issue depends on the due date of the preceding issue (implemented). A delay can be set so that the related issue can only start n days after the end of the preceding issue. When setting dates for an issue, dates of all downstream issues are set according to these relations. To set a relation, the 2 issues have to belong to the same project (may change in the future). So if an issue is moved to another project, all its relations are removed. Circular dependencies are checked when creating a relation. git-svn-id: http://redmine.rubyforge.org/svn/trunk@506 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Updated migration 41 to support table name prefix/sufix.Jean-Philippe Lang2007-04-251-5/+5
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@482 e93f8b46-1217-0410-a6f0-8f06a7374b81