Commit Graph

4873 Commits

Author SHA1 Message Date
Toshi MARUYAMA 3749e4eb98 replace tabs to spaces and code cleanup at app/views/repositories/_form.html.erb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11633 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-03-15 14:57:49 +00:00
Toshi MARUYAMA 544bbba046 replace tabs to spaces and code cleanup at app/views/issues/bulk_edit.html.erb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11632 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-03-15 14:57:38 +00:00
Toshi MARUYAMA a97a2fec3f replace tabs to spaces and code cleanup at app/views/versions/_overview.html.erb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11631 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-03-15 14:15:57 +00:00
Toshi MARUYAMA 4e62001154 replace tabs to spaces at app/views/versions/index.html.erb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11630 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-03-15 14:15:46 +00:00
Toshi MARUYAMA ab9f201302 replace tabs to spaces at app/views/documents/index.html.erb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11629 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-03-15 14:15:34 +00:00
Toshi MARUYAMA a1b24e0f65 remove trailing tabs from app/views/context_menus/issues.html.erb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11628 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-03-15 13:12:04 +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
Toshi MARUYAMA d78d83f553 replace tabs to spaces and fix indents at app/views/settings/_repositories.html.erb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11625 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-03-15 10:51:24 +00:00
Toshi MARUYAMA 1f4e3af192 replace tabs to spaces at app/views/settings/_issues.html.erb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11624 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-03-15 10:51:13 +00:00
Toshi MARUYAMA c950adfe82 Fixing HTML in groups index view
Contributed by Gregor Schmidt.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11613 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-03-12 23:17:16 +00:00
Jean-Philippe Lang 1d48ab201b Log errors when bulk edit/copy fails (#13440).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11611 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-03-12 19:43:46 +00:00
Jean-Philippe Lang 83d7761998 Always instanciate a relation.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11610 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-03-12 18:35:59 +00:00
Jean-Philippe Lang 6d20cfe831 Moves Project#users to a regular method.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11609 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-03-12 18:32:36 +00:00
Jean-Philippe Lang 3528343863 Moves Project#principals to a regular method.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11608 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-03-12 18:07:37 +00:00
Jean-Philippe Lang 248d983a7d Don't verify method.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11607 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-03-12 17:25:49 +00:00
Jean-Philippe Lang 447e15d6cb Prevent one query per User#member_of? call after r11508 (#13301).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11605 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-03-12 17:08:50 +00:00
Jean-Philippe Lang bca9a8431e Mail handler: set mail_notification to only_my_events when creating a new user (#13341).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11590 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-03-11 17:50:18 +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 9c2561b59d Preserve gantt options when changing filters (#12122).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11571 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-03-09 10:44:39 +00:00
Toshi MARUYAMA b19a6d06d9 move utf8 encoding from view to UnifiedDiff (#12641)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11545 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-03-07 08:31:58 +00:00
Toshi MARUYAMA 8e92ffc191 remove unnecessary h() from diff filename (#12641)
On Rails3, escaping is default.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11544 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-03-07 07:24:46 +00:00
Toshi MARUYAMA b53b7b1acd use %r{} instead of // at app/models/repository/subversion.rb
Syntax highlight is broken in gedit 2.28.4 on CentOS 6.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11543 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-03-07 04:07:20 +00:00
Toshi MARUYAMA 5984adc3df code layout cleanup AccountController#open_id_authenticate
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11539 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-03-06 08:42:00 +00:00
Jean-Philippe Lang f77ed4a7c3 Mail handler: adds --no-notification option to disable notifications to the created user (#13341).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11526 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-03-03 08:57:00 +00:00
Jean-Philippe Lang 6cffab9919 Mail handler: adds --no-account-notice option for not sending account information to the created user (#11498).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11525 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-03-03 08:41:52 +00:00
Jean-Philippe Lang b25d496c24 Mail handler: adds --default-group option to add created user to one or more groups (#13340).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11522 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-03-03 07:59:29 +00:00
Jean-Philippe Lang d5ca514688 Adds autologin param in openid return_to url (#3371).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11521 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-03-02 20:38:25 +00:00
Jean-Philippe Lang a010372458 Fixed that autologin cookie is not deleted when using custom cookie name (#13335).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11520 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-03-02 20:30:57 +00:00
Jean-Philippe Lang 08ef201cec Fixed that autologin is broken when using a custom cookie name (#13335).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11519 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-03-02 20:28:21 +00:00
Jean-Philippe Lang 80807a8c49 Add user's API key to /users/current.format (#8529).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11518 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-03-01 16:32:30 +00:00
Jean-Philippe Lang caf61dc923 Fixed that copying an issue as a child of itself creates an extra issue (#13328).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11513 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-03-01 12:26:06 +00:00
Jean-Philippe Lang cfcc9069e5 Performance: avoid one "SELECT 1 ..." query per project on user memberships form.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11510 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-03-01 10:54:31 +00:00
Jean-Philippe Lang a140a03a35 Adds "tracker-[id]" CSS class to issues (#13309).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11509 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-03-01 10:42:05 +00:00
Jean-Philippe Lang 6803d95a32 Performance: avoid querying all memberships in User#roles_for_project (#13301).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11508 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-03-01 10:24:23 +00:00
Jean-Philippe Lang 5f0509435a Regexp not working as expected with ruby 2.0.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11506 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-03-01 08:57:01 +00:00
Jean-Philippe Lang 5c1e1ee4bb Fixed that #reload raises a Stack too deep error with ruby 2.0.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11497 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-28 18:47:25 +00:00
Jean-Philippe Lang f544dd682b Code cleanup.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11496 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-28 17:52:29 +00:00
Jean-Philippe Lang 5bf647f290 Don't reload the issue in after_save callback.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11495 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-28 17:47:58 +00:00
Jean-Philippe Lang 458800c1d5 Time entry with 2 digits year should not validate (#3107).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11472 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-24 12:28:44 +00:00
Jean-Philippe Lang e37ee0d21b Use li tags for issue links in the sidebar (#13242).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11470 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-24 11:33:27 +00:00
Jean-Philippe Lang de716bd024 Code cleanup.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11469 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-24 11:25:52 +00:00
Jean-Philippe Lang cd9de0837f Code cleanup.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11468 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-24 11:10:12 +00:00
Jean-Philippe Lang 0082e36b60 Code cleanup.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11467 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-24 11:08:14 +00:00
Jean-Philippe Lang ace19cc20f Use ti tags for sidebar queries (#13242).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11466 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-24 11:06:08 +00:00
Jean-Philippe Lang 8e17c2aeac Fixed that relations may not be refreshed when adding a follows relation (#13251).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11461 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-24 09:59:45 +00:00
Jean-Philippe Lang e14caf8e33 Use User#generate_password in MailHandler.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11457 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-23 16:57:45 +00:00
Jean-Philippe Lang fac4a79d4c Option to generate a random password on user creation/update.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11456 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-23 16:50:07 +00:00
Jean-Philippe Lang 78997eea16 Typo.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11453 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-23 13:53:47 +00:00
Jean-Philippe Lang d255e98023 Adds an helper for rendering query columns selection.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11452 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-23 12:14:22 +00:00
Jean-Philippe Lang 1ac8fd8c42 Adds helpers for query columns selection.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11451 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-23 12:04:29 +00:00