Commit Graph

9859 Commits

Author SHA1 Message Date
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 953b3619d4 Distinguish mysql/mysql2 adapters in Gemfile (#13270).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11494 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-28 17:20:28 +00:00
Toshi MARUYAMA a5c05435ab pt-BR "label_last_n_weeks" translation updated (#13310)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11491 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-28 07:22:01 +00:00
Toshi MARUYAMA 9a8f430db6 Ruby2.0: switch mysql2 platforms by RUBY_VERSION
It seems old bundler does not support :mri_20 and :mingw_20

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11490 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-26 12:20:45 +00:00
Toshi MARUYAMA 23941adee1 Ruby2.0: add platforms to Gemfile mysql2
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11489 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-26 11:41:20 +00:00
Toshi MARUYAMA bf917a61e7 Ruby2.0: add "require 'yaml'" to Gemfile
On ruby 2.0.0p0 (2013-02-24 revision 39474) [x86_64-linux]:
<pre>
$ ruby script/about
There was an error in your Gemfile, and Bundler cannot continue.
</pre>

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11488 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-26 11:41:09 +00:00
Toshi MARUYAMA 2ffbfacf5f back out r11486
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11487 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-26 11:40:58 +00:00
Jean-Philippe Lang 3f67ec4436 Require 'yaml'.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11486 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-25 17:31:58 +00:00
Toshi MARUYAMA 36da6d0f80 Russian translation updated by Kirill Bezrukov (#13281)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11483 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-25 14:22:24 +00:00
Toshi MARUYAMA 7d49d8b20e German translation changed by Filou Centrinov (#13280)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11482 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-25 13:41:16 +00:00
Toshi MARUYAMA fb0303ac1d Traditional Chinese translation updated by ChunChang Lo (#13279)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11480 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-25 10:50:20 +00:00
Toshi MARUYAMA 223f892742 Russian translation updated by Filou Centrinov (#13266)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11479 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-25 10:50:09 +00:00
Toshi MARUYAMA b32056b79d German translation updated by Filou Centrinov (#13265)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11478 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-25 10:49:58 +00:00
Toshi MARUYAMA 92532fb7b8 Bulgarian translation updated by Ivan Cenov (#13264)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11477 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-25 10:49:47 +00:00
Toshi MARUYAMA c22810ed51 German translation changed by Filou Centrinov (#13246)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11476 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-25 10:33:01 +00:00
Jean-Philippe Lang 870d9bad86 Removed deferred test, circular relations are unit tested.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11475 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-24 13:03:00 +00:00
Jean-Philippe Lang 5b4a9ac3b3 Restricts characters before auto links (#10277).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11474 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-24 12:56:50 +00:00
Jean-Philippe Lang dfca67d844 Fixed that www followed by a dot generates broken links in formatted text (#3676).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11473 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-24 12:39:06 +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 0a6a7f0ed7 Fixed that time entries report by week breaks on edge cases (#5329).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11471 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-24 12:18:29 +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 0cefb7716e Use https://rubygems.org as gem source (#13173).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11464 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-24 10:13:43 +00:00
Jean-Philippe Lang 6f21796c34 Missing fixtures.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11462 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-24 10:05:58 +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 85b872f340 Makes project custom fields available on spent time report (#1766).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11459 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-24 08:57:04 +00:00
Jean-Philippe Lang 3269fab34e Adds field_generate_password string to locales (#3872).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11458 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-23 17:00:53 +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
Jean-Philippe Lang 998928ecdf Set version to 2.3.0.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11450 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-23 11:51:56 +00:00
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