summaryrefslogtreecommitdiffstats
path: root/app/models
Commit message (Collapse)AuthorAgeFilesLines
...
* Small fix in Mailer.Jean-Philippe Lang2007-09-041-1/+1
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@701 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Added the ability to move issues (to another project) without changing their ↵Jean-Philippe Lang2007-08-311-0/+1
| | | | | | | | trackers. Added length validation for homepage project attribute. git-svn-id: http://redmine.rubyforge.org/svn/trunk@687 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Added cache for application settings (Setting model).Jean-Philippe Lang2007-08-311-10/+35
| | | | | | 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
* Added a cross-project issue list. It displays the issues of all the projects ↵Jean-Philippe Lang2007-08-312-13/+22
| | | | | | | | | | | visible by the user. The users list available in the filters ('assigned to' / 'created by') is made of the members of all projects the current user belongs to. For now, this view is only accessible from 'My page' ('issues assigned to me' or 'issues reported by me' blocks, to view the full lists) On 'My page', assigned issue are now sorted by priority. git-svn-id: http://redmine.rubyforge.org/svn/trunk@684 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix: error when posting to projects/add or users/add with no custom_fields ↵Jean-Philippe Lang2007-08-291-1/+1
| | | | | | parameter. git-svn-id: http://redmine.rubyforge.org/svn/trunk@675 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged 0.6 branch into trunk.Jean-Philippe Lang2007-08-2912-92/+172
| | | | | | | | | 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
* Fixed: queries with multiple custom fields return no result.Jean-Philippe Lang2007-08-261-12/+17
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@668 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Replaced hard-coded urls in Mailer#attachments_addJean-Philippe Lang2007-08-251-6/+6
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@664 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Automatic closing of duplicate issues.Jean-Philippe Lang2007-08-251-0/+22
| | | | | | When closing an issue, all related issues marked as duplicates are now also closed. git-svn-id: http://redmine.rubyforge.org/svn/trunk@663 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Changeset comments are now stripped before being stored in the database ↵Jean-Philippe Lang2007-08-251-0/+4
| | | | | | (patch by Nicholas Wieland). git-svn-id: http://redmine.rubyforge.org/svn/trunk@657 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Added a 'Assignable' boolean on Role model.Jean-Philippe Lang2007-08-161-0/+10
| | | | | | 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
* Activity view improvements:Jean-Philippe Lang2007-08-161-0/+1
| | | | | | | * issue status changes are now displayed * display options are kept when using previous/next month links git-svn-id: http://redmine.rubyforge.org/svn/trunk@646 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Wiki links can now refer other project wikis, using this syntax:Jean-Philippe Lang2007-08-151-3/+3
| | | | | | | | | [[project:]] -> wiki starting page [[project:page]] [[project:page|text]] where 'project' is the project name or identifier. git-svn-id: http://redmine.rubyforge.org/svn/trunk@643 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Image attachments are now sent inline to be viewed directly in the browser.Jean-Philippe Lang2007-08-151-0/+4
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@642 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Added 'email sending test' functionality.Jean-Philippe Lang2007-08-141-0/+7
| | | | | | | Go to Admin -> Mail notifications and click on 'Send a test email'. If an error occurs while sending the mail, the error message is displayed to the user. git-svn-id: http://redmine.rubyforge.org/svn/trunk@632 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Firstname, lastname and email LDAP attributes are now required if ↵Jean-Philippe Lang2007-08-141-1/+2
| | | | | | "on-the-fly register" is checked. git-svn-id: http://redmine.rubyforge.org/svn/trunk@631 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Added an option to be able to relate issues in different projects.Jean-Philippe Lang2007-08-121-1/+1
| | | | | | It can be set in Admin -> Settings (default: false). git-svn-id: http://redmine.rubyforge.org/svn/trunk@620 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Attachment content-type is now chomped before being saved.Jean-Philippe Lang2007-08-121-1/+1
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@617 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Forum notifications are now also sent to the authors of the thread, even if ↵Jean-Philippe Lang2007-08-121-2/+5
| | | | | | they don't watch the board. git-svn-id: http://redmine.rubyforge.org/svn/trunk@607 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Overdue versions (date reached and open issues > 0) are now always displayed ↵Jean-Philippe Lang2007-08-121-1/+15
| | | | | | on the roadmap. git-svn-id: http://redmine.rubyforge.org/svn/trunk@604 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed a bug in CVS model (clash when 2 projects point to the same repository)Jean-Philippe Lang2007-08-011-1/+1
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@595 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Added several validates_length_ofJean-Philippe Lang2007-07-1611-1/+14
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@593 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed mailer (error when no assignee)Jean-Philippe Lang2007-07-151-4/+4
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@592 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Now, when a user turns mail notifications off, he will still receive ↵Jean-Philippe Lang2007-07-151-1/+11
| | | | | | notifications about issue changes if he is the author or the assignee of the issue. git-svn-id: http://redmine.rubyforge.org/svn/trunk@590 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed: Error when editing the wokflow after deleting a statusJean-Philippe Lang2007-07-141-1/+1
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@584 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Added wiki diff.Jean-Philippe Lang2007-07-141-0/+27
| | | | | | | Diff can be viewed from the page history, or directly from the project activity page for each edit. Uses Lars Christensen's diff library. git-svn-id: http://redmine.rubyforge.org/svn/trunk@583 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed: issue_id not nullified on time entries when deleting the issueJean-Philippe Lang2007-07-021-1/+1
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@581 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Removed User#display_name (replaced by User#name).Jean-Philippe Lang2007-06-292-6/+2
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@578 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Each category can now be associated to a user, so that new issues in that ↵Jean-Philippe Lang2007-06-294-0/+14
| | | | | | category are automatically assigned to that user. git-svn-id: http://redmine.rubyforge.org/svn/trunk@577 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed an error when trying to delete a project (versions/issues dependency)Jean-Philippe Lang2007-06-251-1/+1
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@574 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Added Darcs basic support.Jean-Philippe Lang2007-06-243-0/+95
| | | | | | Files in the repository can not be viewed or downloaded since Darcs doesn't support cat-like command. git-svn-id: http://redmine.rubyforge.org/svn/trunk@573 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Added time report.Jean-Philippe Lang2007-06-241-0/+17
| | | | | | Report can be generated by member/activity/tracker/version and year/month/week for the selected period. git-svn-id: http://redmine.rubyforge.org/svn/trunk@572 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed an error on welcome screen for users with no membershipJean-Philippe Lang2007-06-231-1/+1
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@569 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Added per user custom queries.Jean-Philippe Lang2007-06-232-1/+13
| | | | | | | | Any logged in user can now save queries (they are not visible to the other users). Only users with explicit permission can manage queries that are visible to anyone. The queries list is removed from the "Reports" view. It can now be accessed from the issues list. git-svn-id: http://redmine.rubyforge.org/svn/trunk@566 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Added page association on versioned WikiContentJean-Philippe Lang2007-06-171-0/+1
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@565 e93f8b46-1217-0410-a6f0-8f06a7374b81
* A wiki page can now be attached to each version.Jean-Philippe Lang2007-06-141-0/+7
| | | | | | | 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-487/+327
| | | | | | | | | 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 :dependent => :delete_all on IssueStatus Workflow association.Jean-Philippe Lang2007-05-311-2/+2
| | | | | | Also added compact in find_new_statuses_allowed_to to remove nil statuses. git-svn-id: http://redmine.rubyforge.org/svn/trunk@558 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed: SQL error when a non-admin user displays the project listJean-Philippe Lang2007-05-291-1/+1
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@555 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed date query filters (wrong results and sql error with postgresql)Jean-Philippe Lang2007-05-291-7/+7
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@554 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Added the ability to archive projects:Jean-Philippe Lang2007-05-273-11/+37
| | | | | | | | | * 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
* Account information can now be sent to the user when creating an account.Jean-Philippe Lang2007-05-271-0/+8
| | | | | | ActionMailer logger set to nil for production environment to disable email contents output in production.log git-svn-id: http://redmine.rubyforge.org/svn/trunk@546 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Optimistic locking added for wiki edits.Jean-Philippe Lang2007-05-261-0/+1
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@545 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Attachments can now be added to wiki pages (original patch by Pavol Murin). ↵Jean-Philippe Lang2007-05-264-2/+16
| | | | | | | | 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/+1
| | | | | | | | 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
* User's projects alphabetically sorted in the Projects drop down menu.Jean-Philippe Lang2007-05-231-6/+6
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@538 e93f8b46-1217-0410-a6f0-8f06a7374b81
* 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