Commit Graph

179 Commits

Author SHA1 Message Date
Jean-Philippe Lang 0153954ebb Added a simple rake task to fetch changesets from the repositories:
rake redmine:fetch_changesets

git-svn-id: http://redmine.rubyforge.org/svn/trunk@1155 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-02-16 16:25:58 +00:00
Jean-Philippe Lang 0582337372 Added:
* the 'include' macro to include a wiki page
* macro escaping support (with exclamation mark)

git-svn-id: http://redmine.rubyforge.org/svn/trunk@1153 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-02-16 15:34:17 +00:00
Jean-Philippe Lang 1c8cf4ef83 Added the following permissions (#527, #585, #627):
* edit_issue_notes: let user edit any notes
* edit_own_issue_notes: let user edit his own notes only

git-svn-id: http://redmine.rubyforge.org/svn/trunk@1152 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-02-16 13:19:33 +00:00
Jean-Philippe Lang 29e297d273 Make Mantis importer preserve bug ids.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1146 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-02-15 16:41:44 +00:00
Jean-Philippe Lang c5d998528f The following menus can now be extended by plugins: top_menu, account_menu, application_menu (empty by default).
Sligth layout change: links in the top menu are now li elements.

git-svn-id: http://redmine.rubyforge.org/svn/trunk@1137 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-02-12 17:58:46 +00:00
Jean-Philippe Lang 4155c97222 Issue list now supports bulk edit/move/delete (#563, #607). For now, issues from different projects can not be bulk edited/moved/deleted at once.
There are 2 ways to select a set of issues on the issue list:
* by using checkbox and/or the little pencil that will select/unselect all issues (#567)
* by clicking on the rows (but not on the links), Ctrl and Shift keys can be used to select multiple issues

Context menu was disabled on links so that the default context menu of the browser is displayed when right-clicking on a link (#545).
All this was tested with Firefox 2, IE 6/7, Opera 8 (use Alt+Click instead of Right-click) and Safari 2/3.

git-svn-id: http://redmine.rubyforge.org/svn/trunk@1130 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-02-10 13:17:41 +00:00
Jean-Philippe Lang 43a6f312ed Merged IssuesController #edit and #update into a single actions.
Users with 'edit issues' permission can now update any property including custom fields when adding a note or changing the status (#519, #581, #587).

git-svn-id: http://redmine.rubyforge.org/svn/trunk@1129 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-02-09 16:11:18 +00:00
Jean-Philippe Lang 6d109258c9 Added a few extensions/mimetypes.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1128 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-02-07 18:06:35 +00:00
Jean-Philippe Lang 9a2ec76a81 Mantis importer: few fixes in user mapping.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1127 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-02-06 20:43:31 +00:00
Jean-Philippe Lang 943ba3e34f Trac importer: handle nil usernames.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1125 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-02-06 19:05:42 +00:00
Jean-Philippe Lang a3dda6dc4a Use Postgresql's reset_pk_sequence in Trac importer to reset issue id sequence (#595).
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1119 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-02-04 18:01:38 +00:00
Jean-Philippe Lang 2920daf2c8 Do not use RedCloth's glyphs (#210).
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1113 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-02-03 15:34:58 +00:00
Jean-Philippe Lang 1ecef3a95a ProjectsController#add_news moved to NewsController#new.
Preview added when adding/editing a news (#590).

git-svn-id: http://redmine.rubyforge.org/svn/trunk@1111 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-02-03 14:38:04 +00:00
Jean-Philippe Lang 12c0f5f66e Do not show Roadmap menu item if the project doesn't define any versions.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1107 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-02-02 11:08:04 +00:00
Jean-Philippe Lang 7a1e928b8d Mantis importer:
* do not truncate projects descriptions
* encode attachment filenames to utf8

git-svn-id: http://redmine.rubyforge.org/svn/trunk@1100 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-01-23 22:31:26 +00:00
Jean-Philippe Lang b0f3de5c3b Fixed: PostgreSQL issues_seq_id not updated when using Trac importer.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1099 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-01-23 22:19:24 +00:00
Jean-Philippe Lang 91dc13f4b2 Show explicit error message when the scm command failed (eg. when svn binary is not available).
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1094 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-01-23 17:25:11 +00:00
Jean-Philippe Lang 16e9ffce0d Added a 'New issue' link in the main menu (accesskey 7).
The drop-down lists to add an issue on the project overview and the issue list are removed.

git-svn-id: http://redmine.rubyforge.org/svn/trunk@1081 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-01-20 13:07:19 +00:00
Jean-Philippe Lang 44ac1a0deb ProjectsController#add_issue moved to IssuesController#new.
Tracker can now be changed/selected on the new issue form. This action can be invoked without the tracker_id parameter (the first enabled tracker will be used by default).

git-svn-id: http://redmine.rubyforge.org/svn/trunk@1080 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-01-20 11:30:57 +00:00
Jean-Philippe Lang 0faa4568a0 Highlight the current item of the main menu.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1076 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-01-19 11:53:43 +00:00
Jean-Philippe Lang 18066ba8bf Added a couple of mime types so that corresponding files can be viewed in the browser.
Added a simple (and not perfect) CodeRay scanner for php.

git-svn-id: http://redmine.rubyforge.org/svn/trunk@1070 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-01-16 20:45:13 +00:00
Jean-Philippe Lang 702b521b45 Redmine links can be used to link to documents, versions and attachments.
For now, attachments of the current object can be referenced only (if you're on an issue, it's possible reference attachments of this issue only).

git-svn-id: http://redmine.rubyforge.org/svn/trunk@1064 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-01-15 18:12:12 +00:00
Jean-Philippe Lang b2b56adbfa Fixed: Themes are not applied with Rails 2.0
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1047 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-01-07 20:14:50 +00:00
Jean-Philippe Lang 78d9ae9754 Fixed: crash when fetching Mercurial changesets if changeset[:files] is nil (same fix as r921).
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1045 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-01-06 17:33:41 +00:00
Jean-Philippe Lang 976a31e941 Merged IssuesController change_status and add_note actions.
The 'Change status' specific form removed and now accessible from issue/show view with no additional request (click on 'Update' to show the form).
The 'Change issue status' permission is removed. To change the status, the user just needs to have either 'Edit' or 'Add note' permissions and some workflow transitions allowed.

git-svn-id: http://redmine.rubyforge.org/svn/trunk@1043 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-01-06 17:06:14 +00:00
Jean-Philippe Lang c9fd7513ed Default configuration data can now be loaded from the administration screen.
A message is automatically displayed on this screen if roles, trackers,... have not been configured yet.
The rake task is still available and the data loading code is wrapped in a transaction.

git-svn-id: http://redmine.rubyforge.org/svn/trunk@1040 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-01-05 11:33:49 +00:00
Jean-Philippe Lang 6ae87d7c4c Moved redmine:load_default_data code to a module so that it can be called from the application.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1037 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-01-04 18:27:05 +00:00
Jean-Philippe Lang 832c7eaaa5 Fixed: undefined local variable or method 'log' in CvsAdapter when a cvs command fails.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1034 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-01-03 18:28:14 +00:00
Jean-Philippe Lang 66420fe4b7 TabularFormBuilder moved out of application_helper.rb
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1028 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-12-30 10:48:11 +00:00
Jean-Philippe Lang 9595029709 Trunk version changed to 0.6.devel
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1021 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-12-20 19:44:16 +00:00
Jean-Philippe Lang 31c6ebb310 Added wiki annotate view. It's accessible for each version from the page history view.
Slight style change: pre-wrap added on file/diff contents.

git-svn-id: http://redmine.rubyforge.org/svn/trunk@1020 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-12-20 19:10:24 +00:00
Jean-Philippe Lang 5f871e9657 Fixed: Textile image with style attribute cause internal server error.
Also added tests for inline images with attributes and moved auto_link and auto_mailto rules after textile rules.

git-svn-id: http://redmine.rubyforge.org/svn/trunk@1017 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-12-19 21:06:06 +00:00
Jean-Philippe Lang e219af1fbd Ignore empty diffs.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1014 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-12-19 20:11:44 +00:00
Jean-Philippe Lang 8e00f57a88 Moved ProjectsController#list_documents and add_document to DocumentsController#index and new.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1011 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-12-18 18:50:41 +00:00
Jean-Philippe Lang b4eafd9ea8 Changes for 0.6.2 release.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1004 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-12-16 14:03:26 +00:00
Jean-Philippe Lang ea35fff5bf SCM adapters: moved Errno::ENOENT exception rescuing to the abstract adapter.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1001 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-12-15 12:14:40 +00:00
Jean-Philippe Lang d1a3fbea40 Fixed Trac importer error with Rails 2.0: readonly? is defined by ActiveRecord.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@995 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-12-14 21:31:30 +00:00
Jean-Philippe Lang c00b8fd12e Doc and version changes for 0.6.1 release.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@976 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-12-10 18:39:57 +00:00
Jean-Philippe Lang 7fae4b0892 Bazaar adapter: fixed log with partial revisions parsing.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@962 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-12-07 17:51:54 +00:00
Jean-Philippe Lang 3c44aac1f5 Added version details view accessible from the roadmap.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@955 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-12-07 10:26:07 +00:00
Jean-Philippe Lang 056e3703da Added Bazaar adapter.
Fixed 'quick jump to a revision' form on the revisions list.

git-svn-id: http://redmine.rubyforge.org/svn/trunk@950 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-12-03 17:40:43 +00:00
Jean-Philippe Lang 92a23c05bb Project name format limitation removed (name can now contain any character).
Project identifier maximum length changed from 12 to 20.

git-svn-id: http://redmine.rubyforge.org/svn/trunk@949 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-12-03 10:28:08 +00:00
Jean-Philippe Lang 8c65cc4712 Added Annotate/Blame view for Subversion, CVS and Mercurial repositories.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@947 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-12-02 20:58:02 +00:00
Jean-Philippe Lang e4724c7626 Trac importer:
* should now support mysql and postgresql Trac database
* minor fixes

git-svn-id: http://redmine.rubyforge.org/svn/trunk@946 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-12-02 15:09:43 +00:00
Jean-Philippe Lang 2cf11bd64e Fixed Mantis importer: projects trackers and modules assignment
Fixed Trac and Mantis importers: roles assignments

git-svn-id: http://redmine.rubyforge.org/svn/trunk@936 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-11-29 20:08:14 +00:00
Jean-Philippe Lang 3937caeb3c Trac importer improvements (by Mat Trudel):
* better support for wiki internal links (still not perfect, but much improved)
* support for unordered lists
* support for most of trac's highlighting tags (underline, bold, etc)
* import progress dots now flush to stdout on every dot, so the import doesn't look frozen
* support for migration of multiple trac instances into a single Redmine install (as separate projects)

git-svn-id: http://redmine.rubyforge.org/svn/trunk@931 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-11-25 12:11:40 +00:00
Jean-Philippe Lang 29b3614bcb Forums enhancements:
* 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
2007-11-24 12:25:07 +00:00
Jean-Philippe Lang 0634591b3d Themes:
* Fixed: themes are not found when running Apache+fastcgi
* Added 'Classic' theme (inspired from the v0.51 design)

git-svn-id: http://redmine.rubyforge.org/svn/trunk@922 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-11-22 18:03:02 +00:00
Jean-Philippe Lang 5e6fa147da * Fixed: Error when displaying the issue list if a float custom field is marked as 'used as filter'
* Fixed: Mercurial adapter breaks on missing :files entry in changeset hash (James Britt)
* Fixed: Wrong feed URLs on the home page

git-svn-id: http://redmine.rubyforge.org/svn/trunk@921 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-11-21 18:45:18 +00:00
Jean-Philippe Lang 987a5aa221 Anonymous users can now be allowed to create, edit, comment issues, comment 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
2007-11-20 15:40:16 +00:00
Jean-Philippe Lang 1469a4c8df Fixed (CVS adapter): changes not recorded when using :pserver string.
Updated Russian js calendar (iGor kMeta).

git-svn-id: http://redmine.rubyforge.org/svn/trunk@907 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-11-16 21:24:22 +00:00
Jean-Philippe Lang 8a8f819d27 Added wiki macros support. 2 builtin macros are defined: hello_world (sample macro that displays the arguments) and macro_list (display the list of installed macros).
git-svn-id: http://redmine.rubyforge.org/svn/trunk@897 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-11-12 14:36:33 +00:00
Jean-Philippe Lang b0bb1baeaa Trac importer: user can now choose between sqlite and sqlite3 adapter for Trac database.
Trac importer: issues and wiki modules are enabled by default for the imported project.
Fixed: 404 error when trying to save a custom query under certain circumstance.


git-svn-id: http://redmine.rubyforge.org/svn/trunk@894 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-11-09 13:32:14 +00:00
Jean-Philippe Lang ad68a82be1 Moved ProjectsController#list_news to NewsController#index.
Removed FeedsController, issues and news feeds are now handled by issues and news controllers.

git-svn-id: http://redmine.rubyforge.org/svn/trunk@888 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-11-05 22:22:51 +00:00
Jean-Philippe Lang 8509cf80f0 ProjectsController#list_issues, #export_issues_csv and #export_issues_pdf merged into IssuesController#index
git-svn-id: http://redmine.rubyforge.org/svn/trunk@887 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-11-05 18:38:42 +00:00
Jean-Philippe Lang d0af24870e Slight changes for 0.6.0 release.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@883 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-11-04 13:19:42 +00:00
Jean-Philippe Lang 7535c211d5 Removed IssueStatus html_color attribute.
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
2007-11-04 11:40:17 +00:00
Jean-Philippe Lang bb4acc02d0 Added AJAX based context menu on the project issue list that provide shortcuts for editing, re-assigning, changing the status or the priority, moving or deleting an issue.
The context menu shows up when right-clicking an issue (Opera users have to use Ctrl + left-click instead since right-click can't be reassigned for this browser).
Works with Firefox 2, IE 7 (not perfect), Opera 9 and Safari 2. IE 6 doesn't display submenus.

git-svn-id: http://redmine.rubyforge.org/svn/trunk@872 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-10-28 10:55:59 +00:00
Jean-Philippe Lang ecfc40629f Quote subversion username and password in svn commands.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@852 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-10-19 17:59:59 +00:00
Jean-Philippe Lang a53c86f063 Removed inconsistent user manual stuff (html/docbook content and controller). Help link now points to the Redmine guide which will be more easy to maintain.
Also removed the useless components directory.

git-svn-id: http://redmine.rubyforge.org/svn/trunk@835 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-10-13 10:30:24 +00:00
Jean-Philippe Lang 2ce184d1de Added revision number in Redmine::VERSION (the revision number is read from .svn/entries if it exists).
git-svn-id: http://redmine.rubyforge.org/svn/trunk@824 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-10-11 16:59:08 +00:00
Jean-Philippe Lang 824a67ab5a Added basic Theme support.
Theme is set at application level (in Admin -> Settings).
For now, themes can override stylesheets only (application.css).

git-svn-id: http://redmine.rubyforge.org/svn/trunk@818 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-10-10 17:17:37 +00:00
Jean-Philippe Lang 2c4647f8c6 Added 'Bulk edit' functionality.
This can be done by clicking on the edit link (little pen icon) at the upper-left corner of the issue list.
Most properties can be set (priority, assignee, category, fixed version, start and due dates, done ratio) and a note can be entered.
Only issues of the current project can be selected for bulk edit (subproject issues can't).

git-svn-id: http://redmine.rubyforge.org/svn/trunk@817 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-10-09 19:07:19 +00:00
Jean-Philippe Lang df631e8c06 Set enumeration positions and default priority (Normal) in default configuration data.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@816 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-10-08 16:58:52 +00:00
Jean-Philippe Lang ec51cdd0f9 Calendar:
* added an helper and moved the rendering code to a shared partial (used by project calendar and my calendar)
* first day of week can now be set in lang files (general_first_day_of_week)

git-svn-id: http://redmine.rubyforge.org/svn/trunk@815 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-10-07 20:07:11 +00:00
Jean-Philippe Lang fa094a3fe5 Merged IssuesController#export_pdf into IssuesController#show.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@810 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-10-05 23:17:49 +00:00
Jean-Philippe Lang 26528d1004 'Manage repository' permission requires to be a project member.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@807 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-10-05 20:08:46 +00:00
Jean-Philippe Lang 586231067b Fixed: URL with ~ broken in wiki formatting.
All RedCloth quick phrase modifiers are now limited to a single line.

git-svn-id: http://redmine.rubyforge.org/svn/trunk@796 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-10-03 18:00:50 +00:00
Jean-Philippe Lang 47e7ceacd7 Better handling of external link style assignment.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@792 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-10-01 17:45:40 +00:00
Jean-Philippe Lang 48fb20f540 Fixed TOC positionning in wiki pages.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@791 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-10-01 16:46:46 +00:00
Jean-Philippe Lang 0fc93a1197 Span caps turned off in textile formatting.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@790 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-10-01 15:25:31 +00:00
Jean-Philippe Lang 50096526bc Removed ProjectsController#feeds. This view was incomplete and inconsistent with permissions.
Feeds can still be accessed from the corresponding screens (eg. news feed is accessible from the news view).

git-svn-id: http://redmine.rubyforge.org/svn/trunk@787 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-10-01 13:13:04 +00:00
Jean-Philippe Lang c2220cffcf Added svn command output to error log when SubversionAdapter#entries parsing fails.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@780 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-09-30 17:38:07 +00:00
Jean-Philippe Lang 665497f5fb Fixed: Manage pu(b)lic queries typo (Thomas Lecavelier).
As this fix modifies manage_public_queries permission symbol, this permission has to re-entered.

git-svn-id: http://redmine.rubyforge.org/svn/trunk@778 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-09-30 15:32:03 +00:00
Jean-Philippe Lang b4d66593ef Fixed: Links get chopped by punctuation marks in anchors.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@775 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-09-30 15:16:58 +00:00
Jean-Philippe Lang cae547a7ea Redmine acts_as_* plugins moved to vendor/plugins.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@774 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-09-29 10:37:08 +00:00
Jean-Philippe Lang e1bb4a5baa Fixed: Links to other wiki pages in headings get corrupted (class attributes shown).
git-svn-id: http://redmine.rubyforge.org/svn/trunk@769 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-09-27 19:44:23 +00:00
Jean-Philippe Lang a96421019f Search engines now supports pagination.
Results are sorted in reverse chronological order.

git-svn-id: http://redmine.rubyforge.org/svn/trunk@766 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-09-27 17:28:22 +00:00
Jean-Philippe Lang e4f0864e3a Basic plugin support.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@752 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-09-23 17:19:27 +00:00
Jean-Philippe Lang 827e998afe Application layout refactored.
The project menu is now the main menu.

git-svn-id: http://redmine.rubyforge.org/svn/trunk@747 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-09-22 13:17:49 +00:00
Jean-Philippe Lang 83eed09109 Added 2 log messages in SubversionAdapter#entries.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@743 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-09-18 21:22:28 +00:00
Jean-Philippe Lang eb371db5b9 Fixed: RMagick not loaded on case sensitive filesystems.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@741 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-09-17 16:56:11 +00:00
Jean-Philippe Lang 780d5fa070 Fixed: lines in wiki content containing just a single wiki link are not displayed.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@735 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-09-15 17:17:09 +00:00
Jean-Philippe Lang 21c97c6a13 Added project module concept.
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
2007-09-14 11:34:08 +00:00
Jean-Philippe Lang 29348fafb7 Fixed: watchers should be notified even if they uncheck 'mail notifications'
git-svn-id: http://redmine.rubyforge.org/svn/trunk@724 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-09-11 18:13:32 +00:00
Jean-Philippe Lang b4d9ca8875 Added the ability to rename wiki pages (specific permission required).
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
2007-09-09 17:05:38 +00:00
Jean-Philippe Lang f6fe15716e Small fix to TOC regexp.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@719 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-09-09 10:41:02 +00:00
Jean-Philippe Lang f3364b9dce Added automatic table of content support on wiki pages, based on h1., h2. and h3. headings.
To display the page TOC, insert a line with this tag:
{{toc}} or {{<toc}} => left aligned toc
{{>toc}} => right aligned toc

git-svn-id: http://redmine.rubyforge.org/svn/trunk@718 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-09-09 10:16:59 +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 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 eb6ab2af50 Trac importer: 'resolution' field imported with history as a custom field.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@694 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-09-02 12:00:48 +00:00
Jean-Philippe Lang 72b5cd3889 Trac importer now migrates status changes.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@693 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-09-02 10:07:04 +00:00
Jean-Philippe Lang a2439f3b34 Trac importer now checks the existence of trac.db and attachments directory before processing.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@692 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-09-02 09:12:49 +00:00
Jean-Philippe Lang e76d153064 Added namespace for Redmine specific rake tasks.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@691 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-09-02 08:08:10 +00:00
Jean-Philippe Lang 296b6aee5a Trac importer initial commit. The script migrates:
* users (default password = 'trac')
* components
* milestones
* tickets
* ticket comments, files, custom fields
* wiki

git-svn-id: http://redmine.rubyforge.org/svn/trunk@689 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-09-01 20:03:34 +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 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 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 0a629237fd Mantis importer: small fix in categories mapping.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@661 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-08-25 15:53:40 +00:00
Jean-Philippe Lang f44f6c7876 Mantis importer:
* validation skip on issue assignement (assignee must be a project member in Redmine)
* Mantis bugs with severity 'feature' are imported as 'Feature request' in Redmine

git-svn-id: http://redmine.rubyforge.org/svn/trunk@660 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-08-25 15:45:12 +00:00