Commit Graph

440 Commits

Author SHA1 Message Date
Jean-Philippe Lang fdf842a4c4 Improved Redmine links:
* issue and changeset links generated only if the object exists
* issue subject and status appear in the link title
* strike issue link if issue is closed
* red wiki page link if page doesn't exist
* new icon for external links

Wiki page cache had to be disabled.

git-svn-id: http://redmine.rubyforge.org/svn/trunk@714 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-09-07 20:07:54 +00:00
Jean-Philippe Lang b812705976 Fixed: 'Move' button always visible on issues list.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@713 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-09-07 17:26:14 +00:00
Jean-Philippe Lang 98a01d62c2 Automatically scroll down to the preview when previewing wiki page.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@712 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-09-06 21:56:40 +00:00
Jean-Philippe Lang 42db3cac06 Added code highlighting support in wiki, using this syntax:
<pre><code> <-- cut here

  <pre><code class="ruby">
    Place you code here.
  </code></pre>  

cut here --> </pre></code>

git-svn-id: http://redmine.rubyforge.org/svn/trunk@710 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-09-06 17:06:07 +00:00
Jean-Philippe Lang 22c5e0d614 'current week' filter fix.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@709 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-09-06 16:24:12 +00:00
Jean-Philippe Lang 22ad806a43 Removed RedCloth checks since it's now supplied with the application.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@708 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-09-05 20:51:11 +00:00
Jean-Philippe Lang 0803e6fcaa Search field automatically focused.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@707 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-09-05 20:13:06 +00:00
Jean-Philippe Lang 1b2e80545a Fixed: custom field displayed as deleted in the issue history even if no value was set.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@706 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-09-05 19:56:33 +00:00
Jean-Philippe Lang 8dcc041244 Issue notes are now included in search.
Fixed: search results too long when there are many matches.
Fixed: search results not escaped.

git-svn-id: http://redmine.rubyforge.org/svn/trunk@705 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-09-05 19:37:13 +00:00
Jean-Philippe Lang c27106d859 Added a new value for date filters: 'this week'
git-svn-id: http://redmine.rubyforge.org/svn/trunk@704 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-09-05 17:47:17 +00:00
Jean-Philippe Lang a19a0d7b92 Subprojects are now grouped by projects in the 'Projects' top navigation drop-down menu.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@703 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-09-05 17:24:22 +00:00
Jean-Philippe Lang f16ab838d8 Small fix in Mailer.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@701 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-09-04 16:58:30 +00:00
Jean-Philippe Lang 6260892949 'Due in' label removed from the changelog view.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@700 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-09-02 20:47:41 +00:00
Jean-Philippe Lang 8a3e713f2f Added Redmine::WikiFormatting module and tests for wiki links.
RedCloth librairy is now present in Redmine lib directory.

git-svn-id: http://redmine.rubyforge.org/svn/trunk@699 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-09-02 20:41:47 +00:00
Jean-Philippe Lang 324b904ed5 Fix: Inline image links broken in rev 690.
TODO: Fix urls with &

git-svn-id: http://redmine.rubyforge.org/svn/trunk@698 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-09-02 15:06:29 +00:00
Jean-Philippe Lang b1cafef07a Buttons (edit, watch...) on issues/show are now located in the upper-right corner.
Pdf export link is at the bottom of the screen.

git-svn-id: http://redmine.rubyforge.org/svn/trunk@697 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-09-02 14:34:13 +00:00
Jean-Philippe Lang 3ae8c53cba Small fix in issue history display.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@695 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-09-02 12:20:05 +00:00
Jean-Philippe Lang 521f4a6ddb Fixed: auto-generated links corrupted when url contains & characters in the query string.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@690 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-09-01 20:17:45 +00:00
Jean-Philippe Lang c6ac590d17 Added 'reported by me' and 'assigned to me' issue feeds on 'My page'.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@688 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-08-31 21:43:13 +00:00
Jean-Philippe Lang 1281d99f30 Added the ability to move issues (to another project) without changing their trackers.
Added length validation for homepage project attribute.

git-svn-id: http://redmine.rubyforge.org/svn/trunk@687 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-08-31 20:56:14 +00:00
Jean-Philippe Lang c68dac7e9a Added atom feed on the new cross-project issue list.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@686 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-08-31 20:22:36 +00:00
Jean-Philippe Lang 6bdc13b33d Added cache for application settings (Setting model).
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
2007-08-31 17:45:32 +00:00
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