Commit Graph

9572 Commits

Author SHA1 Message Date
Jean-Philippe Lang aca59db4cc Rename issues CSV and PDF exports.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11449 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-23 11:10:10 +00:00
Jean-Philippe Lang 797a9f1ea9 Refactor: #issues_to_csv and #entries_to_csv merged into QueriesHelper#query_to_csv.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11448 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-23 11:07:43 +00:00
Jean-Philippe Lang 9b1ebd6808 Refactor: makes issue id a regular QueryColumn.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11447 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-23 10:53:21 +00:00
Jean-Philippe Lang d1244b31a4 Fixed that requesting a message from an invalid forum should respond with 404 (#13232).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11446 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-20 20:59:52 +00:00
Jean-Philippe Lang 2ae7ddcb24 Asserts that the watchers list is updated.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11445 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-20 20:49:01 +00:00
Jean-Philippe Lang f88e4225c1 Removed hard-coded style in watchers list.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11444 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-20 20:46:42 +00:00
Jean-Philippe Lang aca31973c2 Fixed that delete watcher link was broken by r11290 (#13231).
Deleting a watcher now use DELETE /watchers instead of POST /watchers/destroy.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11443 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-20 20:43:28 +00:00
Jean-Philippe Lang f8c649320f Makes all time entry columns available in the CSV export.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11442 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-19 20:41:54 +00:00
Jean-Philippe Lang af92686c62 Fixed that float custom fields do not use CSV decimal separator (#10364).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11441 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-19 20:01:00 +00:00
Jean-Philippe Lang 59c704dcd2 Don't use iconv with ruby1.9 (#12787).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11440 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-18 21:39:17 +00:00
Jean-Philippe Lang b0de1b1908 Removed some shoulda context.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11439 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-18 17:30:11 +00:00
Jean-Philippe Lang 58c643b420 Code cleanup.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11438 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-18 17:29:31 +00:00
Jean-Philippe Lang 504116bfca Add login to /users/:id API for current user (#13155).
Patch by Jérôme Bataille.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11437 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-18 17:24:54 +00:00
Toshi MARUYAMA 661dd6dcf5 Portuguese translation for trunk updated by Rui Rebelo (#13206)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11434 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-18 13:02:37 +00:00
Toshi MARUYAMA bf6f3bfbe1 Portuguese translation changed by Rui Rebelo (#13206)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11433 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-18 13:01:44 +00:00
Toshi MARUYAMA d67ea67ded Portuguese translation for 2.2-stable updated by Rui Rebelo (#13207, #13206)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11432 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-18 13:01:05 +00:00
Toshi MARUYAMA b9de6a5ee9 German "label_follows" translation changed by Daniel Felix (#13203)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11431 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-18 11:42:03 +00:00
Toshi MARUYAMA 73c6a619e7 Traditional Chinese translation updated and changed by ChunChang Lo (#13198)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11430 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-18 11:01:45 +00:00
Toshi MARUYAMA d3bee90a35 Russian "almost_x_years" changed by Mikhail Velkin (#12645)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11429 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-18 11:01:19 +00:00
Toshi MARUYAMA 8bdd08fc34 German translation updated by Daniel Felix (#13202)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11428 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-18 11:00:51 +00:00
Toshi MARUYAMA f76dcf33ef fix typo at app/models/user.rb (#5719)
Contributed by Tom Copeland.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11427 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-18 11:00:21 +00:00
Jean-Philippe Lang 64bbf64fb6 Optimizes the SQL query behind Principal#member_of.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11426 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-17 12:41:31 +00:00
Jean-Philippe Lang d8e4a8fb32 Use #per_page instead of #items_per_page.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11425 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-17 11:35:42 +00:00
Jean-Philippe Lang c17ec1643c Fixed that messages are not sorted by last reply (#12243).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11424 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-17 11:10:17 +00:00
Toshi MARUYAMA dbf1fed6fb replace tabs to spaces at app/controllers/boards_controller.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11423 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-17 10:17:33 +00:00
Toshi MARUYAMA e79b232a02 replace tabs to spaces at app/models/issue.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11422 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-17 10:17:10 +00:00
Toshi MARUYAMA e478f3044e replace tabs to spaces at app/models/setting.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11421 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-17 10:16:46 +00:00
Toshi MARUYAMA a39f9bcec0 replace tabs to spaces at app/helpers/application_helper.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11420 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-17 10:16:21 +00:00
Toshi MARUYAMA e0215681b4 remove trailing tabs from app/controllers/users_controller.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11419 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-17 10:15:44 +00:00
Toshi MARUYAMA 51abe725ba remove trailing tabs from app/controllers/projects_controller.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11418 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-17 10:15:10 +00:00
Jean-Philippe Lang b4013dc9f2 Removed the default 0 value for issues foreign keys.
It prevents useless "... where id=0" queries and ensures that *_id attributes default to nil.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11417 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-17 10:14:58 +00:00
Toshi MARUYAMA c0a5796443 remove trailing tabs from app/controllers/admin_controller.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11416 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-17 10:14:35 +00:00
Toshi MARUYAMA e31a8e2cb3 remove trailing tabs from app/models/project.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11415 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-17 10:14:08 +00:00
Toshi MARUYAMA 14fcac8160 remove trailing tab from app/helpers/custom_fields_helper.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11414 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-17 10:13:40 +00:00
Toshi MARUYAMA 9ac2afec04 remove trailing tab and white-spaces from app/controllers/issue_statuses_controller.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11413 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-17 10:13:12 +00:00
Jean-Philippe Lang 7b7427b46e Adds Issue#status_was that returns the initial issue status.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11412 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-17 09:30:17 +00:00
Jean-Philippe Lang 7a1af68178 Adds closed_on to issues API responses (#824).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11411 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-16 15:32:44 +00:00
Jean-Philippe Lang 9dd8988638 Make sure that fields filled before tracker change are preserved.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11410 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-16 15:20:36 +00:00
Toshi MARUYAMA d01fe87a67 Russian "label_last_n_weeks" translation changed by Mikhail Velkin (#12645)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11409 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-16 13:04:36 +00:00
Toshi MARUYAMA da0598a029 Russian "label_x_issues" translation changed by Mikhail Velkin (#12645)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11408 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-16 13:04:23 +00:00
Toshi MARUYAMA dadad2f054 Bulgarian translation changed and updated by Ivan Cenov (#13190)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11407 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-16 13:04:09 +00:00
Toshi MARUYAMA 5778bdd4f7 replace tabs to spaces at app/helpers/timelog_helper.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11406 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-16 13:03:54 +00:00
Jean-Philippe Lang 7799788b3d Fixed that updating the issue form was broken by r4011 when user is not allowed to add issues (#13188).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11405 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-16 11:35:18 +00:00
Jean-Philippe Lang 1cf09a2d31 Adds field_closed_on to locales (#824).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11404 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-16 09:40:43 +00:00
Jean-Philippe Lang 98cd140a19 Makes closed_on available as column and filter on the issue list (#824).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11403 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-16 09:39:52 +00:00
Jean-Philippe Lang a45c0dc550 Adds closed_on column that stores the time of the last closing (#824).
The value is preserved when reopening the issue.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11402 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-16 09:38:01 +00:00
Jean-Philippe Lang 723e21243e Don't fail if new filter is added.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11401 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-16 09:12:21 +00:00
Toshi MARUYAMA d5f1e186f1 not use htmlentities gem in rfpdf plugin (#13138)
Contributed by Jun NAITOH.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11399 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-15 13:24:10 +00:00
Jean-Philippe Lang b5c2ca5666 Adds the date picker for the default value of date custom fields.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11398 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-15 10:45:34 +00:00
Jean-Philippe Lang 3277d59e5c Remove default for when changing custom field format.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11397 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-15 10:43:56 +00:00