Commit Graph

468 Commits

Author SHA1 Message Date
Jean-Philippe Lang 404bfce446 Added a cross-project issue list. It displays the issues of all the projects 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
2007-08-31 17:02:44 +00:00
Jean-Philippe Lang 1187ad96ac Fixed: autologin broken.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@683 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-08-30 16:33:50 +00:00
Jean-Philippe Lang 840f18b1c7 Added Redmine::Info to store various information about the application.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@682 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-08-29 22:27:43 +00:00
Jean-Philippe Lang 088563db3e Fixed: "new issue" drop-down only visible by admin users.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@681 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-08-29 21:52:50 +00:00
Jean-Philippe Lang 05ff26c141 Fixed: "subproject of" list should not show archived projects.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@678 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-08-29 20:13:02 +00:00
Jean-Philippe Lang 39c9874a41 Added the ability to reset its own RSS access key on "My account".
git-svn-id: http://redmine.rubyforge.org/svn/trunk@677 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-08-29 20:07:28 +00:00
Jean-Philippe Lang 317b460d96 Some deprecation fixes (end_form_tag and count API).
git-svn-id: http://redmine.rubyforge.org/svn/trunk@676 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-08-29 17:25:22 +00:00
Jean-Philippe Lang c8b3c8dfec Fix: error when posting to projects/add or users/add with no custom_fields parameter.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@675 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-08-29 17:07:28 +00:00
Jean-Philippe Lang 603e11d7a5 Merged 0.6 branch into trunk.
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
2007-08-29 16:52:35 +00:00
Jean-Philippe Lang 8da5bad295 Fixed: queries with multiple custom fields return no result.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@668 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-08-26 12:29:53 +00:00
Jean-Philippe Lang edba1f692b Gantt chart can now be exported to a graphic file (png).
This functionality is only available if RMagick is present.

git-svn-id: http://redmine.rubyforge.org/svn/trunk@666 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-08-26 07:55:57 +00:00
Jean-Philippe Lang c1eb587c6d Fixed: calendar and gantt not updated when adding/editing/deleting a project version.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@665 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-08-25 20:19:19 +00:00
Jean-Philippe Lang db4781d068 Replaced hard-coded urls in Mailer#attachments_add
git-svn-id: http://redmine.rubyforge.org/svn/trunk@664 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-08-25 20:09:33 +00:00
Jean-Philippe Lang 4fa51992b5 Automatic closing of duplicate issues.
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
2007-08-25 17:45:51 +00:00
Jean-Philippe Lang b96dc97d15 Fixed: Bad url to project forums from the wiki home page.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@662 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-08-25 16:40:52 +00:00
Jean-Philippe Lang 72714d86f6 Fixed: wiki preview doesn't work on long entries.
POST is now used for previews instead of GET.

git-svn-id: http://redmine.rubyforge.org/svn/trunk@658 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-08-25 14:51:06 +00:00
Jean-Philippe Lang c754e017dc Changeset comments are now stripped before being stored in the database (patch by Nicholas Wieland).
git-svn-id: http://redmine.rubyforge.org/svn/trunk@657 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-08-25 14:41:55 +00:00
Jean-Philippe Lang d1780270da Small change to ApplicationHelper#textilizable to allow links to other wikis main page with custom text (eg. project:|mytext).
git-svn-id: http://redmine.rubyforge.org/svn/trunk@653 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-08-17 12:06:50 +00:00
Jean-Philippe Lang 00238738b1 Application welcome text is now textilized.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@652 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-08-17 11:32:58 +00:00
Jean-Philippe Lang 7b366758fd Textilized project descriptions on project list and home page.
Added jsToolbar on project form.

git-svn-id: http://redmine.rubyforge.org/svn/trunk@651 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-08-17 11:21:58 +00:00
Jean-Philippe Lang a7033c8bac Code improvement in ProjectsController#activity (Nicolas Chuche)
git-svn-id: http://redmine.rubyforge.org/svn/trunk@650 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-08-16 21:23:54 +00:00
Jean-Philippe Lang 446889b3f0 Added a 'Assignable' boolean on Role model.
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
2007-08-16 17:47:41 +00:00
Jean-Philippe Lang 4cedecad4d Added a link to add a new category when creating or editing an issue.
The user is prompted for the category name. The new category is created and the drop-down list updated using an ajax call.

git-svn-id: http://redmine.rubyforge.org/svn/trunk@648 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-08-16 16:45:06 +00:00
Jean-Philippe Lang 1f991c6a79 Added feeds auto discovery links on projects/show (patch by Nicolas Chuche).
Also fixed 'issue changes details' feed title.

git-svn-id: http://redmine.rubyforge.org/svn/trunk@647 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-08-16 11:01:00 +00:00
Jean-Philippe Lang 2f0edb0b61 Activity view improvements:
* 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
2007-08-16 10:38:23 +00:00
Jean-Philippe Lang 5b35bfd434 Fixed: nil error on 'commits per month' graph.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@645 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-08-15 23:04:14 +00:00
Jean-Philippe Lang 889d50089d Added syntax highlightment for repository files (using CodeRay).
Supported languages: c, ruby, rhtml, yaml, html, xml.

git-svn-id: http://redmine.rubyforge.org/svn/trunk@644 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-08-15 20:20:18 +00:00
Jean-Philippe Lang a5849ee044 Wiki links can now refer other project wikis, using this syntax:
[[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
2007-08-15 17:31:01 +00:00
Jean-Philippe Lang 38e0c237a4 Image attachments are now sent inline to be viewed directly in the browser.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@642 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-08-15 15:36:15 +00:00
Jean-Philippe Lang c4239a4fd2 Removed hard-coded URLs in mail templates.
Untranslated templates were deleted.

git-svn-id: http://redmine.rubyforge.org/svn/trunk@641 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-08-15 15:16:15 +00:00
Jean-Philippe Lang f94be4f8ab Fixed: SQL error on roadmap and changelog if there is no tracker to display.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@636 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-08-15 10:45:46 +00:00
Jean-Philippe Lang 0061a3f04a Added 'email sending test' functionality.
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
2007-08-14 10:36:19 +00:00
Jean-Philippe Lang 7e755a53b8 Firstname, lastname and email LDAP attributes are now required if "on-the-fly register" is checked.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@631 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-08-14 09:14:33 +00:00
Jean-Philippe Lang ecf208f660 Issue history is now 'oldest first' sorted.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@630 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-08-14 09:02:40 +00:00
Jean-Philippe Lang b3f3634df3 On the issue report page, 0 issue counts are now displayed as dashes.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@629 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-08-13 17:00:59 +00:00
Jean-Philippe Lang a8b202c9bc Fixed: non-active users can be viewed with account/show
git-svn-id: http://redmine.rubyforge.org/svn/trunk@622 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-08-13 10:28:55 +00:00
Jean-Philippe Lang 79b8bd0a38 Added an option to be able to relate issues in different projects.
It can be set in Admin -> Settings (default: false).

git-svn-id: http://redmine.rubyforge.org/svn/trunk@620 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-08-12 15:31:04 +00:00
Jean-Philippe Lang cf4e216502 Project name is now displayed in news titles when not inside the project (eg. home page).
git-svn-id: http://redmine.rubyforge.org/svn/trunk@619 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-08-12 14:47:54 +00:00
Jean-Philippe Lang 1eff42eda6 Translated 'Sort by' label on table headers.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@618 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-08-12 14:42:15 +00:00
Jean-Philippe Lang 5478e5cbae Attachment content-type is now chomped before being saved.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@617 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-08-12 14:32:07 +00:00
Jean-Philippe Lang 29f25601bb Fixed: versions not sorted correctly in drop down lists.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@616 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-08-12 14:27:40 +00:00
Jean-Philippe Lang e4f2e0fd37 Removed deprecated Object#type in CustomFieldsController.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@615 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-08-12 14:24:04 +00:00
Jean-Philippe Lang 4e65be9ed1 Fixed: the link to delete issue relations is displayed even if the user is not authorized to delete relations
git-svn-id: http://redmine.rubyforge.org/svn/trunk@614 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-08-12 14:22:02 +00:00
Jean-Philippe Lang 6862b97909 Removed IssuesController#history, all changes are now displayed on issues/show (not only the last 15).
Added anchor links to issue notes, eg: /issues/show/1#note-3

git-svn-id: http://redmine.rubyforge.org/svn/trunk@613 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-08-12 13:57:29 +00:00
Jean-Philippe Lang 64e91b2e13 Fixed custom fields alignment on issues/show (Balazs Dan)
git-svn-id: http://redmine.rubyforge.org/svn/trunk@612 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-08-12 12:59:05 +00:00
Jean-Philippe Lang e9ba8a4494 Changed AR error messages style (same as flash errors).
Fixed flash styles for IE6.

git-svn-id: http://redmine.rubyforge.org/svn/trunk@610 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-08-12 11:25:25 +00:00
Jean-Philippe Lang 7681487af4 Fixed: Roadmap percentages not being calculated correctly (Nick Read).
The roadmap percentages are now calculated using floating point.

git-svn-id: http://redmine.rubyforge.org/svn/trunk@608 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-08-12 10:23:07 +00:00
Jean-Philippe Lang c4fee11969 Forum notifications are now also sent to the authors of the thread, even if they don't watch the board.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@607 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-08-12 10:16:30 +00:00
Jean-Philippe Lang 3c8e7c79b6 Overdue versions (date reached and open issues > 0) are now always displayed on the roadmap.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@604 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-08-12 09:58:38 +00:00
Jean-Philippe Lang 3be226d0c4 Added a confirmation dialog box for project archiving
git-svn-id: http://redmine.rubyforge.org/svn/trunk@603 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-08-02 20:10:37 +00:00
Jean-Philippe Lang dfaf8f7e6a Changed the footer link from http://redmine.rubyforge.org to http://www.redmine.org/
git-svn-id: http://redmine.rubyforge.org/svn/trunk@602 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-08-02 19:44:38 +00:00
Jean-Philippe Lang acebceb1d7 Applied 'register notice' patch by Matt Jones.
The user is now redirected to the login screen after having registered.

git-svn-id: http://redmine.rubyforge.org/svn/trunk@601 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-08-02 17:54:35 +00:00
Jean-Philippe Lang 2d5ac54d2e Applied the flash notices patch by Matt Jones (slightly edited).
flash[:notice] and flash[:error] are now used for notice/error messages.

git-svn-id: http://redmine.rubyforge.org/svn/trunk@600 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-08-02 17:42:20 +00:00
Jean-Philippe Lang 7701de9ae4 Fixed: on spent time details view, the h3 issue link now links back to the issue
git-svn-id: http://redmine.rubyforge.org/svn/trunk@599 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-08-01 20:04:31 +00:00
Jean-Philippe Lang 46745614b4 Fixed: error when creating a tracker without copying an existing wokflow
git-svn-id: http://redmine.rubyforge.org/svn/trunk@598 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-08-01 19:51:02 +00:00
Jean-Philippe Lang efbe29249c Added icon on external wiki links
git-svn-id: http://redmine.rubyforge.org/svn/trunk@597 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-08-01 19:38:13 +00:00
Jean-Philippe Lang 188077d634 History box on issues/show is now hidden if there's no history
git-svn-id: http://redmine.rubyforge.org/svn/trunk@596 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-08-01 18:59:39 +00:00
Jean-Philippe Lang f8da6fb679 Fixed a bug in CVS model (clash when 2 projects point to the same repository)
git-svn-id: http://redmine.rubyforge.org/svn/trunk@595 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-08-01 17:53:05 +00:00
Jean-Philippe Lang 6edfcd83c1 Removed a line break on news/show
git-svn-id: http://redmine.rubyforge.org/svn/trunk@594 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-07-18 17:22:19 +00:00
Jean-Philippe Lang fcefdb22bf Added several validates_length_of
git-svn-id: http://redmine.rubyforge.org/svn/trunk@593 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-07-16 17:16:49 +00:00
Jean-Philippe Lang 7363428703 Fixed mailer (error when no assignee)
git-svn-id: http://redmine.rubyforge.org/svn/trunk@592 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-07-15 12:01:53 +00:00
Jean-Philippe Lang fd2839c833 Now, when a user turns mail notifications off, he will still receive 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
2007-07-15 11:12:08 +00:00
Jean-Philippe Lang 4670426e4e Hours displayed using %.2f on time report.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@588 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-07-14 19:07:35 +00:00
Jean-Philippe Lang e94e88e3ad Added the ability to log time when changing an issue status.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@586 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-07-14 14:37:22 +00:00
Jean-Philippe Lang 9c38458f8b Added an option to choose the date format: language based (as defined in each lang file) or ISO 8601 (YYYY-MM-DD).
This option can be set in Admin -> Settings.

git-svn-id: http://redmine.rubyforge.org/svn/trunk@585 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-07-14 13:29:20 +00:00
Jean-Philippe Lang 98cf33070f Fixed: Error when editing the wokflow after deleting a status
git-svn-id: http://redmine.rubyforge.org/svn/trunk@584 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-07-14 11:31:43 +00:00
Jean-Philippe Lang 5e20417e6d Added wiki diff.
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
2007-07-14 11:25:03 +00:00
Jean-Philippe Lang 384aa50be3 Fixed: issue_id not nullified on time entries when deleting the issue
git-svn-id: http://redmine.rubyforge.org/svn/trunk@581 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-07-02 15:59:35 +00:00
Jean-Philippe Lang 8687401d65 Fixed: trash icon not visible on files list.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@580 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-07-02 15:32:42 +00:00
Jean-Philippe Lang 7eba6786d3 Changesets stored in the database are now displayed on the repository page even if the repository can not be reached (eg. svnserve down).
git-svn-id: http://redmine.rubyforge.org/svn/trunk@579 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-06-29 18:50:48 +00:00
Jean-Philippe Lang 65be9d3c86 Removed User#display_name (replaced by User#name).
git-svn-id: http://redmine.rubyforge.org/svn/trunk@578 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-06-29 17:27:27 +00:00
Jean-Philippe Lang 87bad767c6 Each category can now be associated to a user, so that new issues in that category are automatically assigned to that user.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@577 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-06-29 17:21:37 +00:00
Jean-Philippe Lang f816d4f378 Fixed: Long text custom fields displayed without line breaks
Added wiki toolbar for issue notes

git-svn-id: http://redmine.rubyforge.org/svn/trunk@576 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-06-27 19:12:52 +00:00
Jean-Philippe Lang 184be9d0e3 Fixed: time report doesn't take account of the project for time calculations
git-svn-id: http://redmine.rubyforge.org/svn/trunk@575 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-06-27 18:59:36 +00:00
Jean-Philippe Lang 7eb3b186c4 Fixed an error when trying to delete a project (versions/issues dependency)
git-svn-id: http://redmine.rubyforge.org/svn/trunk@574 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-06-25 19:17:58 +00:00
Jean-Philippe Lang ba1b857197 Added Darcs basic support.
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
2007-06-24 19:30:38 +00:00
Jean-Philippe Lang faa3d984ab Added time report.
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
2007-06-24 16:07:06 +00:00
Jean-Philippe Lang 6d7a855ca2 Added pagination on wiki page history.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@571 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-06-23 18:53:45 +00:00
Jean-Philippe Lang 600018d5ad Fixed Iconv::IllegalSequence errors in csv exports
git-svn-id: http://redmine.rubyforge.org/svn/trunk@570 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-06-23 16:55:17 +00:00
Jean-Philippe Lang ec44c94c12 Fixed an error on welcome screen for users with no membership
git-svn-id: http://redmine.rubyforge.org/svn/trunk@569 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-06-23 16:36:01 +00:00
Jean-Philippe Lang 48c2a690c2 Don't show "Projects" label if projects list is empty.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@568 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-06-23 14:10:13 +00:00
Jean-Philippe Lang 1a2aee84b2 Fixed confidentiality issue on account/show.
Only public projects or private projects that the logged in user belongs to are displayed.

git-svn-id: http://redmine.rubyforge.org/svn/trunk@567 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-06-23 14:06:21 +00:00
Jean-Philippe Lang 1c44600c62 Added per user custom queries.
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
2007-06-23 13:49:29 +00:00
Jean-Philippe Lang 5332c4362c Added page association on versioned WikiContent
git-svn-id: http://redmine.rubyforge.org/svn/trunk@565 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-06-17 19:32:58 +00:00
Jean-Philippe Lang f2acb56041 A wiki page can now be attached to each version.
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
2007-06-14 18:26:27 +00:00
Jean-Philippe Lang ff1343882a Swedish mail templates added (Thomas Habets)
git-svn-id: http://redmine.rubyforge.org/svn/trunk@563 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-06-13 16:56:37 +00:00
Jean-Philippe Lang 2dbb397818 Fixed version field on issue view page now links to the corresponding version in the roadmap.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@562 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-06-12 23:07:00 +00:00
Jean-Philippe Lang 136a2a614b Applied this fix http://dev.rubyonrails.org/ticket/4967 to solve namespaced models dependencies problem.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@561 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-06-12 23:03:38 +00:00
Jean-Philippe Lang a681d8bf4d Added an error message when trying to create an issue with no default status defined.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@560 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-06-12 22:31:05 +00:00
Jean-Philippe Lang 438161ad1f Added basic support for CVS and Mercurial SCMs.
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
2007-06-12 20:12:05 +00:00
Jean-Philippe Lang 4dddb606a6 Added :dependent => :delete_all on IssueStatus Workflow association.
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
2007-05-31 17:19:01 +00:00
Jean-Philippe Lang 7fb03b1ca3 Fixed: error on csv/pdf export and feeds (oracle)
git-svn-id: http://redmine.rubyforge.org/svn/trunk@556 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-05-29 22:20:43 +00:00
Jean-Philippe Lang 97f6315bd0 Fixed: SQL error when a non-admin user displays the project list
git-svn-id: http://redmine.rubyforge.org/svn/trunk@555 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-05-29 19:48:50 +00:00
Jean-Philippe Lang e7ff47cff5 Fixed date query filters (wrong results and sql error with postgresql)
git-svn-id: http://redmine.rubyforge.org/svn/trunk@554 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-05-29 19:40:48 +00:00
Jean-Philippe Lang 4a20ece43e Added Swedish translation supplied by Thomas Habets.
English email templates suffix removed so that they are used when translated template is not available.

git-svn-id: http://redmine.rubyforge.org/svn/trunk@553 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-05-29 17:57:10 +00:00
Jean-Philippe Lang b2d4666bf1 Attachments can be displayed inline in Documents
git-svn-id: http://redmine.rubyforge.org/svn/trunk@552 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-05-28 12:15:19 +00:00
Jean-Philippe Lang 515caa8f37 Fixed: open/closed issue counts are always 0 on reports view (postgresql)
git-svn-id: http://redmine.rubyforge.org/svn/trunk@551 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-05-28 09:09:37 +00:00
Jean-Philippe Lang 4cf1b68969 Added filename header when sending an image inline
git-svn-id: http://redmine.rubyforge.org/svn/trunk@550 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-05-27 18:45:48 +00:00
Jean-Philippe Lang 413247ee5b Added the ability to archive projects:
* 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
2007-05-27 17:42:04 +00:00
Jean-Philippe Lang 70374d084e Slight views refactoring
git-svn-id: http://redmine.rubyforge.org/svn/trunk@548 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-05-27 12:38:29 +00:00