Jean-Philippe Lang
2fdf4426cd
Moves @layout 'base'@ to ApplicationController.
...
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1727 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-08-10 15:22:54 +00:00
Jean-Philippe Lang
9f92554319
Redirect user to the previous page after logging in ( #1679 ).
...
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1695 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-07-26 08:46:33 +00:00
Jean-Philippe Lang
9894a3781e
Fixed: browser's accept-language subcodes ignored ( #1320 ).
...
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1481 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-05-30 18:40:02 +00:00
Jean-Philippe Lang
faf1f1e812
Fixed: Feed content limit setting has no effect ( closes #954 ).
...
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1310 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-03-30 08:33:04 +00:00
Jean-Philippe Lang
d4429a544c
Fixes #820 : invalid project id causes a NoMethodError in SearchController (Angel Dobbs-Sciortino).
...
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1237 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-03-12 20:50:48 +00:00
Jean-Philippe Lang
9daf39ec52
Adds an optional description to attachments.
...
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1180 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-02-29 19:46:58 +00:00
Jean-Philippe Lang
8adb320978
Fixed a bug in localization introduced by r1131 (anonymous users inherit the language of the first anonymous user).
...
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1144 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-02-13 20:47:27 +00:00
Jean-Philippe Lang
14b3d6d012
Fixed: Anonymous users may not see the issue list headers in the correct language.
...
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1131 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-02-10 14:14:18 +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
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
941f9bf3dd
Non-ascii attachement filename fix for IE.
...
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1053 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-01-10 22:42:41 +00:00
Jean-Philippe Lang
9072753489
Moved current user management to a dedicated method for modularity.
...
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1029 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-12-30 10:51:34 +00:00
Jean-Philippe Lang
9a1b46fe42
New setting added to specify how many objects should be displayed on most paginated lists.
...
Default is: 25, 50, 100 (users can choose one of these values).
If one value only is entered in this setting (eg. 25), the 'per page' links are not displayed (prior behaviour).
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1026 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-12-29 11:36:30 +00:00
Jean-Philippe Lang
86319feef2
Added ApplicationController#attach_files as a common method to attach files in all actions.
...
git-svn-id: http://redmine.rubyforge.org/svn/trunk@990 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-12-14 17:33:05 +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
9a3d743ae5
Some slight improvements in AJAX errors handling.
...
git-svn-id: http://redmine.rubyforge.org/svn/trunk@874 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-10-28 15:04:17 +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
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
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
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
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
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
7eb6471559
Added autologin feature (disabled by default).
...
To enable this feature, go to administration settings and choose a duration for autologin.
When enabled, a checkbox on the login form lets users activate autologin.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@514 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-05-06 12:49:32 +00:00
Jean-Philippe Lang
d94bcd285a
A 403 error page is now displayed (instead of a blank page) when trying to access a protected page.
...
git-svn-id: http://redmine.rubyforge.org/svn/trunk@495 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-04-30 19:47:28 +00:00
Jean-Philippe Lang
8e6d575d4e
Modified logged_in_user_membership controller method so that it returns a role
...
git-svn-id: http://redmine.rubyforge.org/svn/trunk@415 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-04-04 17:32:23 +00:00
Jean-Philippe Lang
e227b92972
Various code cleaning, mainly on User, Permission and IssueStatus models.
...
git-svn-id: http://redmine.rubyforge.org/svn/trunk@414 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-04-04 17:26:05 +00:00
Jean-Philippe Lang
027bf93849
added svn:eol-style native property on /app files
...
git-svn-id: http://redmine.rubyforge.org/svn/trunk@333 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-03-12 17:59:02 +00:00
Jean-Philippe Lang
c514316a2e
wiki branch merged into trunk
...
git-svn-id: http://redmine.rubyforge.org/svn/trunk@323 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-03-10 15:09:49 +00:00
Jean-Philippe Lang
8cbb78bb1d
patch #9104 Disable cleartext logging of passwords in log files
...
git-svn-id: http://redmine.rubyforge.org/svn/trunk@310 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-03-07 17:59:41 +00:00
Jean-Philippe Lang
4e03668eec
* replaced :controller => '' broken statements by :controller => 'welcome'
...
* request_uri method no more used
git-svn-id: http://redmine.rubyforge.org/svn/trunk@175 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-01-25 18:27:42 +00:00
Jean-Philippe Lang
0b4d4db131
settings are now stored in the database (config_custom.rb no more used) and editable through the application in: Admin -> Settings
...
git-svn-id: http://redmine.rubyforge.org/svn/trunk@167 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-01-21 11:50:22 +00:00
Jean-Philippe Lang
e3becc7c3c
ActiveRecord::RecordNotFound exceptions handled more gracefully
...
git-svn-id: http://redmine.rubyforge.org/svn/trunk@133 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-01-02 08:47:07 +00:00
Jean-Philippe Lang
95cc65f14e
replaced deprecated controller instance variables: @params, @session, @request
...
git-svn-id: http://redmine.rubyforge.org/svn/trunk@127 e93f8b46-1217-0410-a6f0-8f06a7374b81
2006-12-26 21:33:44 +00:00
Jean-Philippe Lang
3e28dc669b
various eager loadings added
...
git-svn-id: http://redmine.rubyforge.org/svn/trunk@98 e93f8b46-1217-0410-a6f0-8f06a7374b81
2006-12-16 17:33:31 +00:00
Jean-Philippe Lang
2b0142580f
"queries" branch merged
...
git-svn-id: http://redmine.rubyforge.org/svn/trunk@95 e93f8b46-1217-0410-a6f0-8f06a7374b81
2006-12-16 13:37:32 +00:00
Jean-Philippe Lang
96f83cc8f0
trunk moved from /trunk/redmine to /trunk
...
git-svn-id: http://redmine.rubyforge.org/svn/trunk@67 e93f8b46-1217-0410-a6f0-8f06a7374b81
2006-12-05 20:45:04 +00:00