summaryrefslogtreecommitdiffstats
path: root/app/controllers/my_controller.rb
Commit message (Collapse)AuthorAgeFilesLines
* Merged r15238.Jean-Philippe Lang2016-03-131-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/branches/3.2-stable@15239 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Keep track of valid user sessions (#21058).Jean-Philippe Lang2015-10-241-3/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@14735 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Require password re-entry for sensitive actions (#19851).Jean-Philippe Lang2015-06-191-0/+7
| | | | | | Patch by Jens Krämer. git-svn-id: http://svn.redmine.org/redmine/trunk@14333 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Workaround for timestamps rounding issues with Rails4.2 and mysql5.7 that ↵Jean-Philippe Lang2015-02-151-1/+1
| | | | | | may kill user session after password is changed (#17460). git-svn-id: http://svn.redmine.org/redmine/trunk@14011 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Copyright update.Jean-Philippe Lang2015-01-111-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13872 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged rails-4.1 branch (#14534).Jean-Philippe Lang2014-10-221-2/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13482 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Expire other sessions on password change (#17796).Jean-Baptiste Barth2014-09-161-0/+3
| | | | | | | Contributed by Jan Schulz-Hofen. git-svn-id: http://svn.redmine.org/redmine/trunk@13412 e93f8b46-1217-0410-a6f0-8f06a7374b81
* update copyright year (#15977)Toshi MARUYAMA2014-01-291-1/+1
| | | | | | Contributed by Daniel Felix. git-svn-id: http://svn.redmine.org/redmine/trunk@12736 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Code cleanup (#14766).Jean-Philippe Lang2014-01-111-1/+1
| | | | | | Patch by Daniel Felix. git-svn-id: http://svn.redmine.org/redmine/trunk@12658 e93f8b46-1217-0410-a6f0-8f06a7374b81
* gender neutral source comment at app/controllers/my_controller.rbToshi MARUYAMA2013-08-061-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@12088 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Removed hardcoded string (#3872).Jean-Philippe Lang2013-08-051-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@12083 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Option to force a user to change his password (#3872).Jean-Philippe Lang2013-08-051-3/+8
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@12081 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update notified_project_ids while saving record.Jean-Philippe Lang2013-05-131-1/+0
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11840 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed that locking and unlocking a user resets the email notification ↵Jean-Philippe Lang2013-05-131-1/+0
| | | | | | checkbox (#14020). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11839 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed that adding a blank/invalid block to my page renders a blank page ↵Jean-Philippe Lang2013-01-201-9/+10
| | | | | | (#12838). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11225 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Copyright for 2013 (#12788).Jean-Philippe Lang2013-01-121-1/+1
| | | | | | Patch by Daniel Felix. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11169 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use named routes in controllers.Jean-Philippe Lang2012-12-111-8/+8
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10983 e93f8b46-1217-0410-a6f0-8f06a7374b81
* JQuery in, Prototype/Scriptaculous out (#11445).Jean-Philippe Lang2012-07-221-1/+2
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10068 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Removes most of the ajax stuff on my page layout.Jean-Philippe Lang2012-07-181-3/+7
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10033 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Copyright update.Jean-Philippe Lang2012-05-051-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9636 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds the ability for users to delete their own account (#10664). Can be ↵Jean-Philippe Lang2012-04-151-0/+18
| | | | | | disabled in application settings. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9417 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Removes all #verify calls in controllers. Verification is handled at routing ↵Jean-Philippe Lang2012-03-031-3/+0
| | | | | | 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
* remove trailing white-spaces from app/controllers/my_controller.rb.Toshi MARUYAMA2011-08-301-11/+11
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6800 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Code cleanup.Jean-Philippe Lang2010-12-121-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4497 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Moves mail_notification param to user hash param so that it can be set using ↵Jean-Philippe Lang2010-12-121-3/+1
| | | | | | the User API. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4496 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Declare safe attributes for User and Projects models.Jean-Philippe Lang2010-12-121-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4492 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Refactor: move method to modelEric Davis2010-09-281-7/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4224 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Converted User#mail_notification from a boolean to a string.Eric Davis2010-09-281-6/+8
| | | | | | 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
* Allow AuthSources to control if they allow password changes.Eric Davis2010-05-231-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3745 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Added an API token for each User to use when making API requests. (#3920)Eric Davis2009-12-231-0/+13
| | | | | | | | 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
* Make sure the RSS token is getting destroyed and created.Eric Davis2009-12-211-2/+6
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3210 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixes block reordering on my page (#2971).Jean-Philippe Lang2009-12-191-17/+16
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3194 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Removes "xxx and return" calls (#4446).Jean-Philippe Lang2009-12-181-2/+6
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3185 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Set a default scope for 'My page' block names translations (#3057).Jean-Philippe Lang2009-04-051-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2659 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixes that "My Page" personalization was not storing reordered blocks (#2971).Jean-Philippe Lang2009-03-261-2/+2
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2634 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Allow My Page blocks to be added to from a plugin (#2840).Jean-Philippe Lang2009-02-261-4/+4
| | | | | | | 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
* Allow underscore in block partial name (#2840).Jean-Philippe Lang2009-02-261-10/+12
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2528 e93f8b46-1217-0410-a6f0-8f06a7374b81
* User custom fields can now be set as editable so that users can edit them on ↵Jean-Philippe Lang2009-01-171-0/+1
| | | | | | | | | | '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
* Moves @layout 'base'@ to ApplicationController.Jean-Philippe Lang2008-08-101-3/+2
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@1727 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add a time tracking block for 'My page' (#615).Jean-Philippe Lang2008-03-161-1/+2
| | | | | | 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
* Anonymous users can now be allowed to create, edit, comment issues, comment ↵Jean-Philippe Lang2007-11-201-5/+5
| | | | | | | | 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
* Added an option on 'My account' for users who don't want to be notified of ↵Jean-Philippe Lang2007-11-121-0/+1
| | | | | | changes that they make. git-svn-id: http://redmine.rubyforge.org/svn/trunk@899 e93f8b46-1217-0410-a6f0-8f06a7374b81
* More flexible mail notifications settings at user level. A user has now 3 ↵Jean-Philippe Lang2007-10-201-17/+29
| | | | | | | | | | 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
* Calendar:Jean-Philippe Lang2007-10-071-0/+2
| | | | | | | * 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
* Added the ability to reset its own RSS access key on "My account".Jean-Philippe Lang2007-08-291-4/+12
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@677 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Applied the flash notices patch by Matt Jones (slightly edited).Jean-Philippe Lang2007-08-021-2/+2
| | | | | | 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
* Added a new block available for my page: "Watched issues"Jean-Philippe Lang2007-04-211-0/+1
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@456 e93f8b46-1217-0410-a6f0-8f06a7374b81
* fixed: error when clicking "add" with no block selected on my/page_layoutJean-Philippe Lang2007-02-181-1/+2
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@261 e93f8b46-1217-0410-a6f0-8f06a7374b81
* fixed: crash on my/page_layout (trying to modify a frozen hash)Jean-Philippe Lang2007-02-181-1/+1
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@258 e93f8b46-1217-0410-a6f0-8f06a7374b81
* fixed: hide mail preference not saved (my/account)Jean-Philippe Lang2007-02-181-1/+1
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@257 e93f8b46-1217-0410-a6f0-8f06a7374b81