Commit Graph

154 Commits

Author SHA1 Message Date
Jean-Philippe Lang
374468e88a Merged r15772 (#23472).
git-svn-id: http://svn.redmine.org/redmine/branches/3.3-stable@15773 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-08-31 16:59:37 +00:00
Jean-Philippe Lang
ed50d42210 Replace Date.today with User.current.today (#22320).
Depending on the offset between a user's configured timezone and the server
timezone, Date.today may be more or less often wrong from the user's
perspective, leading to things like issues marked as overdue too early or too
late, or yesterday / tomorrow being displayed / selected where 'today' is
intended.

A test case illustrating the problem with Issue#overdue? is included

Patch by Jens Kraemer.

git-svn-id: http://svn.redmine.org/redmine/trunk@15379 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-05-07 10:42:22 +00:00
Jean-Philippe Lang
eaea4e9fee Improve accessibility for icon-only links by adding hidden text (#21805).
Patch by Daniel Ritz.

git-svn-id: http://svn.redmine.org/redmine/trunk@15271 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-03-20 09:34:26 +00:00
Jean-Philippe Lang
7467c145c0 Replace uses of image_tag() with CSS (#21256).
* Replace image_tag() with CSS classes
* Create some CSS classes where necessary
* Change "check all" positioned on the right in "Trackers -> Summary" and
  "Roles -> Permissions report" instead of left like in "Worfklow"
* Add missing title attribute in a few places
* Makes some lines shorter while at it

Patch by Daniel Ritz.

git-svn-id: http://svn.redmine.org/redmine/trunk@15068 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-01-20 08:50:39 +00:00
Jean-Philippe Lang
1251f9e9f5 Adds a Save button at the end of the account form for mobile devices (#19097).
git-svn-id: http://svn.redmine.org/redmine/trunk@14852 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-11-08 12:50:26 +00:00
Jean-Philippe Lang
d6c6c7ac62 Use the same scope for counting.
git-svn-id: http://svn.redmine.org/redmine/trunk@14719 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-10-21 16:45:42 +00:00
Jean-Philippe Lang
486a4dfbc8 Named routed for RSS/API keys (#20997).
git-svn-id: http://svn.redmine.org/redmine/trunk@14677 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-10-15 18:45:09 +00:00
Jean-Philippe Lang
bf2547db20 Add avatar and edit link to "My account" page (#5418).
git-svn-id: http://svn.redmine.org/redmine/trunk@14377 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-06-27 09:46:18 +00:00
Jean-Philippe Lang
c92a343951 Removed extra blank lines (#19851).
git-svn-id: http://svn.redmine.org/redmine/trunk@14343 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-06-19 20:20:53 +00:00
Jean-Philippe Lang
d6f389658b Require password re-entry for sensitive actions (#19851).
Patch by Jens Krämer.

git-svn-id: http://svn.redmine.org/redmine/trunk@14333 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-06-19 18:41:10 +00:00
Jean-Philippe Lang
c8fb0956d1 Code cleanup (#19458).
git-svn-id: http://svn.redmine.org/redmine/trunk@14265 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-05-10 10:30:10 +00:00
Jean-Philippe Lang
51f7060aa8 Add the ability to expire passwords after a configurable number of days (#19458).
Patch by Holger Just and Go MAEDA.

git-svn-id: http://svn.redmine.org/redmine/trunk@14264 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-05-10 10:26:55 +00:00
Jean-Philippe Lang
b778c51e90 Removed unneeded #h calls in views.
git-svn-id: http://svn.redmine.org/redmine/trunk@14043 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-02-23 10:11:08 +00:00
Jean-Philippe Lang
e3618bdbec Add support for multiple email addresses per user (#4244).
git-svn-id: http://svn.redmine.org/redmine/trunk@13886 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-01-17 14:14:12 +00:00
Jean-Philippe Lang
efdf2584b6 Adds a link to /time_entries/new from My Page Spent Time block (#17955).
git-svn-id: http://svn.redmine.org/redmine/trunk@13423 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-10-04 07:26:48 +00:00
Jean-Philippe Lang
e391be4086 Adds settings for disabling browser language detection and language preference (#2691).
git-svn-id: http://svn.redmine.org/redmine/trunk@12691 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-24 10:28:12 +00:00
Jean-Philippe Lang
bacc250816 Focus first text field automatically (#13134).
git-svn-id: http://svn.redmine.org/redmine/trunk@12670 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-19 08:57:47 +00:00
Jean-Philippe Lang
967564cba0 Removed deprecated align and width html attributes (#15307).
git-svn-id: http://svn.redmine.org/redmine/trunk@12268 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-11-11 21:01:21 +00:00
Jean-Philippe Lang
936ef250b4 Add hooks for user preferences (#14614).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@12085 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-08-05 18:29:29 +00:00
Jean-Philippe Lang
b764e39847 Option to force a user to change his password (#3872).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@12081 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-08-05 17:58:33 +00:00
Jean-Philippe Lang
5b29964512 User #where instead of :conditions.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11861 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-05-18 07:49:13 +00:00
Jean-Philippe Lang
2c67e9e0d7 Moved links to block titles on "My page".
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11860 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-05-18 07:47:34 +00:00
Jean-Philippe Lang
6b03c741ac Adds a link on "My Page" to view all my spent time (#13157).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11859 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-05-18 07:39:26 +00:00
Toshi MARUYAMA
eaa016bbc3 replace tabs to spaces and fix indents at app/views/my/destroy.html.erb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11627 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-03-15 11:30:36 +00:00
Jean-Philippe Lang
06a92fe0d0 Adds label_total_time string (#13337).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11582 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-03-10 13:01:46 +00:00
Jean-Philippe Lang
9230628953 Adds helpers for retrieving my page data.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10922 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-12-02 21:08:03 +00:00
Jean-Philippe Lang
3a77d543fd Code cleanup: removed the obsolete with_limit scope.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10243 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-08-27 10:54:01 +00:00
Jean-Philippe Lang
42fdc1d54d Fixed API key display on my account.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10091 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-07-28 15:14:56 +00:00
Jean-Philippe Lang
6a2ca5e034 JQuery in, Prototype/Scriptaculous out (#11445).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10068 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-07-22 13:29:26 +00:00
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
7b40767428 Deprecated :confirm => 'Text' option.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9937 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-07-07 14:36:49 +00:00
Jean-Philippe Lang
73500a349b Fixed that the issue link is escaped on my page spent time (#10991).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9709 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-05-25 16:34:40 +00:00
Jean-Philippe Lang
46400e355e Use content_tag helper.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9680 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-05-13 08:42:19 +00:00
Jean-Philippe Lang
5e57a1a9d9 Merged rails-3.2 branch.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9528 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-04-25 17:17:49 +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
e4ef0b04ef Adds specific css class for information in forms.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8754 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-02 20:07:37 +00:00
Toshi MARUYAMA
737655cebc Rails3: view: use explicit post method at my/account.html.erb
On Rails3, form_for generates hidden "put" input tag.
So, 'No route matches "/my/account"' error raises.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8481 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-03 10:13:00 +00:00
Toshi MARUYAMA
29edbd605b Rails3: view: html_safe for my/page_layout.html.erb
Contributed by Sylvain Utard.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8452 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-01 09:51:30 +00:00
Etienne Massip
7ba57e517b Explicitly declare all routes and deactivate default route.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8162 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-10 13:33:01 +00:00
Jean-Philippe Lang
ede9a03405 Removed TabularFormBuilder references in views.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8142 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-09 18:40:28 +00:00
Toshi MARUYAMA
84aca0cd61 replace tabs to spaces at app/views/my/_block.html.erb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7345 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-17 21:55:02 +00:00
Toshi MARUYAMA
78bc036ee3 replace tabs to spaces at app/views/my/page.html.erb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7342 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-17 13:14:54 +00:00
Toshi MARUYAMA
7481b13640 replace tabs to spaces at app/views/my/blocks/_issuesreportedbyme.html.erb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7338 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-17 12:05:58 +00:00
Toshi MARUYAMA
aff6fe1f7a replace tabs to spaces at app/views/my/blocks/_timelog.html.erb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7327 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-17 10:01:37 +00:00
Toshi MARUYAMA
d689abc491 replace tabs to spaces at app/views/my/page_layout.html.erb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7326 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-17 10:01:14 +00:00
Toshi MARUYAMA
30bbb3de1b replace tabs to spaces at app/views/my/blocks/_issueswatched.html.erb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7325 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-17 10:00:49 +00:00
Toshi MARUYAMA
b1071980e4 replace tabs to spaces at app/views/my/blocks/_issuesassignedtome.html.erb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7311 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-17 08:08:22 +00:00
Toshi MARUYAMA
06fb6bd807 remove trailing white-spaces from app/views/my/page.html.erb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7282 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-17 04:03:19 +00:00
Toshi MARUYAMA
7fa0957b0a remove trailing white-spaces from app/views/my/page_layout.html.erb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7281 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-17 04:02:49 +00:00
Toshi MARUYAMA
be3b867abb replace tabs to spaces and remove trailing white-spaces at app/views/my/account.html.erb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7261 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-16 23:55:26 +00:00