Jean-Philippe Lang
7e5bad993d
Removes most of the ajax stuff on my page layout.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10033 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-07-18 18:26:10 +00:00
Jean-Philippe Lang
ba5a052c8c
Copyright update.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9636 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-05-05 12:56:53 +00:00
Jean-Philippe Lang
28f0c4f131
Adds the ability for users to delete their own account ( #10664 ). Can be disabled in application settings.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9417 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-04-15 14:31:54 +00:00
Jean-Philippe Lang
b3866b05c1
Removes all #verify calls in controllers. Verification is handled at routing level now that the default route is removed.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9061 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-03 15:09:20 +00:00
Toshi MARUYAMA
b840af0db0
remove trailing white-spaces from app/controllers/my_controller.rb.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6800 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-30 13:05:53 +00:00
Jean-Philippe Lang
2066b2f666
Code cleanup.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4497 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-12-12 14:25:23 +00:00
Jean-Philippe Lang
9e2d401f43
Moves mail_notification param to user hash param so that it can be set using the User API.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4496 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-12-12 14:19:24 +00:00
Jean-Philippe Lang
a4d7a99c22
Declare safe attributes for User and Projects models.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4492 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-12-12 13:19:07 +00:00
Eric Davis
747b9ec568
Refactor: move method to model
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4224 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-09-28 22:13:11 +00:00
Eric Davis
0316af7f6b
Converted User#mail_notification from a boolean to a string.
...
The string will now store which type of notification option to use.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4216 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-09-28 18:22:00 +00:00
Eric Davis
908d44519c
Allow AuthSources to control if they allow password changes.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3745 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-05-23 03:16:37 +00:00
Eric Davis
aa9951b38b
Added an API token for each User to use when making API requests. ( #3920 )
...
The API key will be displayed on My Account page with a link to reset or
generate a new one. All existing users will have a token generated by the
migration.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3217 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-12-23 06:27:28 +00:00
Eric Davis
e1013c44a3
Make sure the RSS token is getting destroyed and created.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3210 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-12-21 02:24:49 +00:00
Jean-Philippe Lang
9d120c872c
Fixes block reordering on my page ( #2971 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3194 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-12-19 13:32:21 +00:00
Jean-Philippe Lang
488c192286
Removes "xxx and return" calls ( #4446 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3185 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-12-18 14:22:18 +00:00
Jean-Philippe Lang
dea072f506
Set a default scope for 'My page' block names translations ( #3057 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2659 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-04-05 13:33:54 +00:00
Jean-Philippe Lang
c77806738a
Fixes that "My Page" personalization was not storing reordered blocks ( #2971 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2634 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-03-26 18:11:56 +00:00
Jean-Philippe Lang
d40bf20131
Allow My Page blocks to be added to from a plugin ( #2840 ).
...
Partials must be placed under the app/views/my/blocks directory of the plugin.
An example can be found in the sample plugin.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2529 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-02-26 16:36:56 +00:00
Jean-Philippe Lang
5b96d1b083
Allow underscore in block partial name ( #2840 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2528 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-02-26 16:15:07 +00:00
Jean-Philippe Lang
12792d8068
User custom fields can now be set as editable so that users can edit them on 'My account'.
...
For existing user custom fields, this new attribute is set to false by default to preserve the prior behaviour (it can turned on by editing the custom field in admin area).
Note: on the registration form, *required* custom fields will be displayed even if they are not defined as editable so that the account can be created.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2276 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-01-17 11:18:04 +00:00
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
a8fcf8487d
Add a time tracking block for 'My page' ( #615 ).
...
It lists current user's time entries for the last 7 days across all projects, grouped by day with subtotals for each day, and a grand total.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1260 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-03-16 12:21:54 +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
0fe5c7b3e0
Added an option on 'My account' for users who don't want to be notified of changes that they make.
...
git-svn-id: http://redmine.rubyforge.org/svn/trunk@899 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-11-12 16:43:49 +00:00
Jean-Philippe Lang
90d33c3e51
More flexible mail notifications settings at user level. A user has now 3 options:
...
* notification on any event on all his projects
* notification on any event on selected projects only (if the user belongs to more than 1 project)
* notification only for things that he watches or he is involded in (eg. issues that he watches or he is author or assignee)
git-svn-id: http://redmine.rubyforge.org/svn/trunk@855 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-10-20 12:47:05 +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
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
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
77cfc1cc59
Added a new block available for my page: "Watched issues"
...
git-svn-id: http://redmine.rubyforge.org/svn/trunk@456 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-04-21 12:28:22 +00:00
Jean-Philippe Lang
4f2d74e25f
fixed: error when clicking "add" with no block selected on my/page_layout
...
git-svn-id: http://redmine.rubyforge.org/svn/trunk@261 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-02-18 20:20:17 +00:00
Jean-Philippe Lang
7b164b5cd4
fixed: crash on my/page_layout (trying to modify a frozen hash)
...
git-svn-id: http://redmine.rubyforge.org/svn/trunk@258 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-02-18 14:59:06 +00:00
Jean-Philippe Lang
dd54b1aacb
fixed: hide mail preference not saved (my/account)
...
git-svn-id: http://redmine.rubyforge.org/svn/trunk@257 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-02-18 13:56:35 +00:00
Jean-Philippe Lang
08ff4dfb21
removed underscores in block names (problem with scriptaculous sortables)
...
git-svn-id: http://redmine.rubyforge.org/svn/trunk@242 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-02-05 19:33:43 +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
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