Commit Graph

84 Commits

Author SHA1 Message Date
Jean-Philippe Lang dfabadf4f7 Adds an admin layout that displays the admin menu in the sidebar.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3176 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-12-17 18:21:02 +00:00
Jean-Philippe Lang 0b34755eb0 Moved charset meta tag before title (#4320).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3171 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-12-13 14:55:17 +00:00
Jean-Philippe Lang 07aa3c55bd Contextual quick search (#3263).
Eg. when viewing issues, the quick search will search issues only.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2943 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-10-21 17:07:18 +00:00
Eric Davis 7b0cb6aba8 Upgraded to Rails 2.3.4 (#3597)
* Ran the Rails upgrade
* Upgraded to Rails Engines 2.3.2
* Added a plugin to let Engines override application views.
* Converted tests to use the new classes:
** ActionController::TestCase for functional
** ActiveSupport::TestCase for units
* Converted ActiveRecord::Error message to a string.
* ActiveRecord grouping returns an ordered hash which doesn't have #sort!
* Updated the I18n storage_units format.
* Added some default initializers from a fresh rails app
* Changed the order of check_box_tags and hidden_field_tags.  The hidden tag
  needs to appear first in Rails 2.3, otherwise it will override any value in
  the check_box_tag.
* Removed the custom handler for when the cookie store is tampered with.
  Rails 2.3 removed the TamperedWithCookie exception and instead Rails will not
  load the data from it when it's been tampered with (e.g. no user login).
* Fixed mail layouts, 2.3 has problems with implicit multipart emails that
  use layouts.  Also removed some custom Redmine mailer code.
* Fixed a bug that occurred in tests where the "required" span tag would be
  added to the :field_status translation.  This resulted in an email string of:

    <li>Status<span class="required"> *</span><span class="required"> *</span>

  Instead of:

    <li>Status: New</li>

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2887 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-09-13 17:14:35 +00:00
Jean-Philippe Lang f1b5127cbb Fixes content vertical overflow (#3053).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2639 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-03-28 12:13:58 +00:00
Jean-Philippe Lang 33e7ae96ad Adds (a maximum of 3) links to project ancestors in the page title (#2788).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2485 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-02-20 18:34:57 +00:00
Eric Davis a3fa56d988 Added two new plugin hooks:
* :view_layouts_base_sidebar
* :view_layouts_base_content

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2428 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-02-10 01:24:32 +00:00
Jean-Philippe Lang bbe8326477 Updates footer year.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2341 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-01-31 12:42:02 +00:00
Jean-Philippe Lang c9906480d3 Merged nested projects branch. Removes limit on subproject nesting (#594).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2304 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-01-24 11:31:15 +00:00
Jean-Philippe Lang d1a1e25bb8 Project jump box fix.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2271 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-01-17 08:08:33 +00:00
Jean-Philippe Lang d25b6d4686 Moves flash messages rendering to a helper method.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2223 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-01-03 14:11:44 +00:00
Jean-Philippe Lang 2355324d73 Jump to the current tab when using the project quick-jump combo (#2364).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2210 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-12-30 14:24:51 +00:00
Jean-Philippe Lang 0ea3d150e1 Makes logged-in username in topbar linking to (#2291).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2109 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-12-07 13:12:19 +00:00
Jean-Philippe Lang a3b9a5aa5f Makes wiki text formatter pluggable.
Original patch #2025 by Yuki Sonoda slightly edited.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@1955 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-10-27 11:08:29 +00:00
Eric Davis f2f54a711d Adds :view_layouts_base_body_bottom hook
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@1921 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-09-30 05:18:50 +00:00
Eric Davis de7d367820 Reverting commit r1748 again. r1786 pulled in in again
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1795 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-09-10 00:14:38 +00:00
Jean-Philippe Lang f7acdd1afd Merged hooks branch @ r1785 into trunk.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1786 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-09-05 10:31:06 +00:00
Eric Davis 8f3a04ce69 Reverting commit r1748. Some environments are not allowing the cached file to
write to public, causing all JavaScript to fail.

Javascripts are now cached into a single file for downloads in production mode.

  #1186


git-svn-id: http://redmine.rubyforge.org/svn/trunk@1771 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-08-28 16:32:14 +00:00
Eric Davis a899904f63 Javascripts are now cached into a single file for downloads in production mode.
Thanks to Philippe Lafoucrière for the patch.  (#1186)


git-svn-id: http://redmine.rubyforge.org/svn/trunk@1748 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-08-20 04:26:46 +00:00
Jean-Philippe Lang d2ad4edc86 Fixed: page has no title when adding a project (#1436).
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1526 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-06-14 11:15:57 +00:00
Jean-Philippe Lang 64fb0a561a Removes the Redmine version from the footer (closes #794). It can still be viewed on admin -> info.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1225 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-03-09 22:24:38 +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 15ed53cf17 Footer update.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1135 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-02-11 18:08:36 +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 3d920c13b4 wrapper div added to the layout.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1044 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-01-06 17:28:20 +00:00
Jean-Philippe Lang 97f0da0b1a Moved login and logout links to ApplicationHelper methods for easier customization.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1030 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-12-30 11:44:46 +00:00
Jean-Philippe Lang bb8d360188 Set doctype to transitional. Fixed a few non matching tags in views.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1022 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-12-21 18:01:02 +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 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 0d605006a3 Fixed flashes style for IE6.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@859 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-10-21 14:30:01 +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 e8971e5f83 Added some accesskeys:
* e => edit
* r => preview
* f => quick search
* 4 => search


git-svn-id: http://redmine.rubyforge.org/svn/trunk@804 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-10-05 18:05:41 +00:00
Jean-Philippe Lang c6e8cf5c21 Moved media print specific styles to application.css (print.css removed).
git-svn-id: http://redmine.rubyforge.org/svn/trunk@786 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-10-01 12:36:38 +00:00
Jean-Philippe Lang d723bea502 Slight changes to the stylesheet and footer.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@765 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-09-25 16:44:09 +00:00
Jean-Philippe Lang 650888c73b Added a named route for the home page.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@760 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-09-24 18:38:45 +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 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 7e4611ad31 Removed @html_title assignments in controllers.
Views can now set the header title using set_htmh_title(title) method.

git-svn-id: http://redmine.rubyforge.org/svn/trunk@715 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-09-07 20:52:45 +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 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 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 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 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 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 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 8af6d24a36 Fixed "Projects" drop-down menu for IE.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@542 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-05-26 15:53:15 +00:00
Jean-Philippe Lang 777c9acae8 "My projects" are now listed under the drop-down "Projects" top menu item (20 projects max.).
The left menu section for "My projects" is removed.
Patch by Damien McKenna (slightly edited).

git-svn-id: http://redmine.rubyforge.org/svn/trunk@534 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-05-15 17:39:01 +00:00
Jean-Philippe Lang b90e84b9fe Per project forums added.
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
2007-05-13 17:09:56 +00:00
Jean-Philippe Lang a6a181c70c Issue filter no more reseted when clicking 'Issues' menu link
git-svn-id: http://redmine.rubyforge.org/svn/trunk@507 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-05-05 13:35:33 +00:00