summaryrefslogtreecommitdiffstats
path: root/app/models
Commit message (Collapse)AuthorAgeFilesLines
* Versions can now be created with no date.Jean-Philippe Lang2007-05-202-2/+12
| | | | | | 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
* Fixed: performance issue on RepositoriesController#revisions when a ↵Jean-Philippe Lang2007-05-151-1/+3
| | | | | | | | changeset has a great number of changes (eg. 100,000). Also added pagination for changes on changeset details view. git-svn-id: http://redmine.rubyforge.org/svn/trunk@535 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Added mail notification when a new message is posted in the forums.Jean-Philippe Lang2007-05-142-0/+32
| | | | | | | | | | Only users who "watch" the board receive notifications. To watch a board, go to the board and click on the "Watch" link. Notifications are sent by MessageObserver observer. GLoc was modified to use the mail template without language suffix when translated template (with language suffix) doesn't exist. Usefull when there's no hard coded text in the mail tempate. git-svn-id: http://redmine.rubyforge.org/svn/trunk@531 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Added watchers for message boards (watchers controller modified to support ↵Jean-Philippe Lang2007-05-131-0/+1
| | | | | | | | any watchable model). No notification yet when a new message is posted. git-svn-id: http://redmine.rubyforge.org/svn/trunk@530 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Per project forums added.Jean-Philippe Lang2007-05-134-1/+68
| | | | | | | | | 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
* Added a test for the mail handler.Jean-Philippe Lang2007-05-091-3/+3
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@524 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Added a simple mail handler.Jean-Philippe Lang2007-05-091-0/+40
| | | | | | | | | | | | It lets users add notes to an existing issue by replying to the initial notification email. Permissions are checked in the same way as in the application (the user is identified by its mail address). Information about configuring the application so that it receives emails can be found here: http://wiki.rubyonrails.com/rails/pages/HowToReceiveEmailsWithActionMailer RedMine mail hander is MailHandler#receive git-svn-id: http://redmine.rubyforge.org/svn/trunk@523 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed: files with an apostrophe in their names can't be accessed in the ↵Jean-Philippe Lang2007-05-091-1/+1
| | | | | | repository git-svn-id: http://redmine.rubyforge.org/svn/trunk@522 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Text files can now be viewed online when browsing the repository.Jean-Philippe Lang2007-05-081-0/+5
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@521 e93f8b46-1217-0410-a6f0-8f06a7374b81
* "me" value is now available in queries for "assigned to" and "author" filters.Jean-Philippe Lang2007-05-081-3/+18
| | | | | | When executing the query, it is replaced by the currently logged in user. git-svn-id: http://redmine.rubyforge.org/svn/trunk@520 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Added an option to see all versions in the roadmap view (including completed ↵Jean-Philippe Lang2007-05-071-0/+4
| | | | | | | | | | ones). On calendar and gantt, versions are now clickable and link to the corresponding entry in the roadmap. Since calendar and gantt are now cached, don't forget to empty your cache before restarting the application. git-svn-id: http://redmine.rubyforge.org/svn/trunk@516 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Added autologin feature (disabled by default).Jean-Philippe Lang2007-05-062-1/+6
| | | | | | | To enable this feature, go to administration settings and choose a duration for autologin. When enabled, a checkbox on the login form lets users activate autologin. git-svn-id: http://redmine.rubyforge.org/svn/trunk@514 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Issue#long_id no more used and removedJean-Philippe Lang2007-05-051-4/+0
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@510 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Issue relations first commit (not thoroughly tested). 4 kinds of relation ↵Jean-Philippe Lang2007-05-052-15/+113
| | | | | | | | | | | | | | 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
* Fixed: 10342 Creation of Schema in OracleJean-Philippe Lang2007-04-256-9/+14
| | | | | | | | | | | | Comment is a reserved keyword for Oracle. The five 'Comment' columns are renamed to 'Commments'. Migration scripts were modified to let oracle users create the database. For the others, migration 41 will rename the columns (only if columns have the 'old' name). Fixed also a few oracle specific issues. Note: currently (in Rails 1.2.3), there's bug in Rails oracle adapter. See: http://dev.rubyonrails.org/ticket/7344 Attached patch is required for redMine to work properly. git-svn-id: http://redmine.rubyforge.org/svn/trunk@479 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Journal details truncated only if values are stringsJean-Philippe Lang2007-04-241-2/+2
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@478 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed 10335 Error in journalizing an issue with longtext custom fields ↵Jean-Philippe Lang2007-04-241-0/+5
| | | | | | (Postgresql) git-svn-id: http://redmine.rubyforge.org/svn/trunk@477 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Removed an old, no longer used, model.Jean-Philippe Lang2007-04-241-24/+0
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@476 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed: default status not showing in new issueJean-Philippe Lang2007-04-241-2/+2
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@475 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed 10337 Regression: Admin raises issue in project not assigned toJean-Philippe Lang2007-04-241-2/+2
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@474 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Commit messages are now scanned for referenced or fixed issue IDs.Jean-Philippe Lang2007-04-243-1/+49
| | | | | | | | | | | | | Keywords and the status to apply to fixed issues can be defined in Admin -> Settings. Default keywords: - for referencing issues: refs, references, IssueID - for fixing issues: fixes,closes There's no default status defined for fixed issue. You'll have to specify it if you want to enable auto closure of issues. Example of a working commit message: "This commit references #1, #2 and fixes #3" git-svn-id: http://redmine.rubyforge.org/svn/trunk@473 e93f8b46-1217-0410-a6f0-8f06a7374b81
* The ability to change the issue status to the same status is no longer forced.Jean-Philippe Lang2007-04-221-4/+2
| | | | | | This behaviour can be defined in workflow setup. git-svn-id: http://redmine.rubyforge.org/svn/trunk@470 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed 10211 Wiki names can't have periods in them.Jean-Philippe Lang2007-04-222-2/+3
| | | | | | Same validations as WikiPage model now applied to wiki start page. git-svn-id: http://redmine.rubyforge.org/svn/trunk@463 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Projects menu item now shows the list of public projects and projects for ↵Jean-Philippe Lang2007-04-211-1/+3
| | | | | | | | which the user is a member (marked with a star). If current user is admin, private projects are also listed. git-svn-id: http://redmine.rubyforge.org/svn/trunk@460 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Added "Watch" functionality on issues. It allows users to receive mail ↵Jean-Philippe Lang2007-04-213-0/+27
| | | | | | | | notifications about issue changes. For now, it's only usefull for users who are not members of the project, since members receive notifications for each issue (this behaviour will change). git-svn-id: http://redmine.rubyforge.org/svn/trunk@453 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Custom fields for issues can now be used as filters on issue list.Jean-Philippe Lang2007-04-171-16/+53
| | | | | | To use a custom field as a filter, check "Used as a filter" on the custom field edit screen. git-svn-id: http://redmine.rubyforge.org/svn/trunk@447 e93f8b46-1217-0410-a6f0-8f06a7374b81
* User#<=> modified to sort on firstname if same lastnameJean-Philippe Lang2007-04-121-1/+1
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@446 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Various changes on views. On project summary, members are now grouped by ↵Jean-Philippe Lang2007-04-082-1/+9
| | | | | | role and subprojects are listed inline. git-svn-id: http://redmine.rubyforge.org/svn/trunk@434 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Added versions due dates on gantt chart.Jean-Philippe Lang2007-04-071-0/+8
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@428 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Added the ability to easily rollback to a previous version of a wiki page.Jean-Philippe Lang2007-04-051-0/+6
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@424 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed a regression (crash when an admin with no role on the project try to ↵Jean-Philippe Lang2007-04-041-4/+6
| | | | | | create an issue) git-svn-id: http://redmine.rubyforge.org/svn/trunk@420 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed User role_for_project methodJean-Philippe Lang2007-04-041-1/+2
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@416 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Various code cleaning, mainly on User, Permission and IssueStatus models.Jean-Philippe Lang2007-04-043-14/+15
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@414 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Feature 9784 Set status when raising issue.Jean-Philippe Lang2007-04-031-1/+1
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@407 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Added some attributes length validations.Jean-Philippe Lang2007-04-022-2/+7
| | | | | | Also added some information about attribute length constraints on forms. git-svn-id: http://redmine.rubyforge.org/svn/trunk@400 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Added the ability to include subprojects issues on calendar & gantt (options ↵Jean-Philippe Lang2007-04-021-0/+13
| | | | | | box) git-svn-id: http://redmine.rubyforge.org/svn/trunk@398 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Initial commit for svn repository management and access control:Jean-Philippe Lang2007-04-011-4/+14
| | | | | | | * Identifier attribute added on Project model. Used as the unix group name for the project * Web services (disabled by default) and scripts for repository management on a remote svn host git-svn-id: http://redmine.rubyforge.org/svn/trunk@396 e93f8b46-1217-0410-a6f0-8f06a7374b81
* patch #9627 Add Side by Side in Diff view (Cyril Mougel)Jean-Philippe Lang2007-03-291-2/+166
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@390 e93f8b46-1217-0410-a6f0-8f06a7374b81
* fixed bug 9537 fetch_changesets brokenJean-Philippe Lang2007-03-251-9/+1
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@382 e93f8b46-1217-0410-a6f0-8f06a7374b81
* added pagination on revisions listJean-Philippe Lang2007-03-251-0/+9
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@381 e93f8b46-1217-0410-a6f0-8f06a7374b81
* added simple svn statistics graphs, rendered using SVG::GraphJean-Philippe Lang2007-03-252-1/+7
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@380 e93f8b46-1217-0410-a6f0-8f06a7374b81
* SVN commits are now stored in the database, and added to the activity view ↵Jean-Philippe Lang2007-03-254-15/+134
| | | | | | | | | | | and the search engine. New commits are automatically retrieved and stored when consulting the repository in the app. This behaviour can be disabled by unchecking 'Autofecth commits' in configuration settings. Commits can be fetched offline by running (recommanded at least for the initial import of past commits): ruby script/runner "Repository.fetch_changesets" It will load commits for all of the repositories. git-svn-id: http://redmine.rubyforge.org/svn/trunk@377 e93f8b46-1217-0410-a6f0-8f06a7374b81
* patch #9429 Display Wiki edits in activity log (Nick Read)Jean-Philippe Lang2007-03-231-1/+5
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@370 e93f8b46-1217-0410-a6f0-8f06a7374b81
* added 999 as a maximum for time entry hoursJean-Philippe Lang2007-03-231-1/+1
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@369 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Simple time tracking functionality added. Time can be logged at issue or ↵Jean-Philippe Lang2007-03-235-3/+45
| | | | | | | | | | project level. There's no aggregation reports for now, it's just possible to see all time entries for a project or an issue. A new "activities" enumeration is added. Permission for a role to log time must be set (new "Time tracking" section in role permissions screen). git-svn-id: http://redmine.rubyforge.org/svn/trunk@368 e93f8b46-1217-0410-a6f0-8f06a7374b81
* added back "subproject" filter on issue listJean-Philippe Lang2007-03-191-2/+17
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@350 e93f8b46-1217-0410-a6f0-8f06a7374b81
* fixed problems when svn path doesn't point to the root directory of the ↵Jean-Philippe Lang2007-03-182-5/+42
| | | | | | | | repository. a root_url property has been added on the repository. it's automatically retrieved the first time the repository is browsed git-svn-id: http://redmine.rubyforge.org/svn/trunk@344 e93f8b46-1217-0410-a6f0-8f06a7374b81
* added rss/atom feeds at project levels for:Jean-Philippe Lang2007-03-173-1/+15
| | | | | | | | | | * news * new issues reported * details of issue changes issue cutom queries can be used as feeds git-svn-id: http://redmine.rubyforge.org/svn/trunk@339 e93f8b46-1217-0410-a6f0-8f06a7374b81
* fixed #9308 table_name pre/suffix supportJean-Philippe Lang2007-03-155-33/+30
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@337 e93f8b46-1217-0410-a6f0-8f06a7374b81
* removed project_id presence validation on wiki model which was failing when ↵Jean-Philippe Lang2007-03-141-1/+1
| | | | | | creating a project with a wiki git-svn-id: http://redmine.rubyforge.org/svn/trunk@335 e93f8b46-1217-0410-a6f0-8f06a7374b81