1
0
mirror of https://github.com/meineerde/redmine.git synced 2025-12-22 16:31:12 +00:00

13294 Commits

Author SHA1 Message Date
Jean-Philippe Lang
ddef0ad7c1 Moves redcloth3.rb to lib/redmine/wiki_formatting/textile.
git-svn-id: http://svn.redmine.org/redmine/trunk@16358 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-03-03 17:16:53 +00:00
Jean-Philippe Lang
e9d2c2dd96 Missing fixtures.
git-svn-id: http://svn.redmine.org/redmine/trunk@16357 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-03-02 23:17:11 +00:00
Jean-Philippe Lang
2676167adb Missing fixtures.
git-svn-id: http://svn.redmine.org/redmine/trunk@16356 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-03-02 23:14:31 +00:00
Jean-Philippe Lang
2d21ca082e Ruby 2.4: Fixed "Fixnum is deprecated" warning in QueryTest. (#25048).
Patch by Go MAEDA.

git-svn-id: http://svn.redmine.org/redmine/trunk@16355 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-03-02 22:48:48 +00:00
Jean-Philippe Lang
eaf8fb9885 Ruby 2.4: Fixed "key must be 32 bytes" error of OpenSSL::Cipher (#25048).
Patch by Go MAEDA.

git-svn-id: http://svn.redmine.org/redmine/trunk@16354 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-03-02 22:48:11 +00:00
Jean-Philippe Lang
df90907dc7 Ruby 2.4: Fixed "Fixnum is deprecated" warning of nokogiri (#25048).
Patch by Go MAEDA.

git-svn-id: http://svn.redmine.org/redmine/trunk@16353 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-03-02 22:47:36 +00:00
Jean-Philippe Lang
7fe4a76f4c Adds an index to attachments.disk_filename (#25022).
Patch by Jens Kraemer.

git-svn-id: http://svn.redmine.org/redmine/trunk@16352 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-03-02 19:51:19 +00:00
Jean-Philippe Lang
18f431acc0 Allow to disable description field in tracker setting (#25052).
Patch by Go MAEDA and Mischa The Evil.

git-svn-id: http://svn.redmine.org/redmine/trunk@16351 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-03-02 19:47:58 +00:00
Jean-Philippe Lang
502376f8ee Filter out current issue from the related issues autocomplete (#25055).
Patch by Marius BALTEANU.

git-svn-id: http://svn.redmine.org/redmine/trunk@16350 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-03-02 19:43:36 +00:00
Jean-Philippe Lang
64b30de787 Turns @@languages_lookup into a cache by using ||= (#25014).
Patch by Jens Kraemer.

git-svn-id: http://svn.redmine.org/redmine/trunk@16349 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-03-02 19:42:18 +00:00
Jean-Philippe Lang
125d8e26b6 Flash messages on CustomFields destroy (#24801).
Patch by Javier Menéndez.

git-svn-id: http://svn.redmine.org/redmine/trunk@16348 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-03-02 19:41:00 +00:00
Jean-Philippe Lang
7741263ab6 ThemesTest#test_without_theme_js may fail if third-party theme is installed (#25118).
Patch by Go MAEDA.

git-svn-id: http://svn.redmine.org/redmine/trunk@16347 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-03-02 18:20:17 +00:00
Jean-Philippe Lang
27ebd84309 Priority should always be preloaded as it's used to render issue links.
git-svn-id: http://svn.redmine.org/redmine/trunk@16346 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-03-02 18:16:54 +00:00
Jean-Philippe Lang
7d04dca697 Prevent warning about already defined constant.
git-svn-id: http://svn.redmine.org/redmine/trunk@16345 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-03-02 18:16:13 +00:00
Jean-Philippe Lang
2b0e910cd5 Adds a filter on issue attachments (#2783).
git-svn-id: http://svn.redmine.org/redmine/trunk@16344 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-03-02 18:13:59 +00:00
Toshi MARUYAMA
2b33756e9a use Monday for general_first_day_of_week in Turkish (#24938)
Contributed by ozgur yazilimas.

git-svn-id: http://svn.redmine.org/redmine/trunk@16343 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-03-01 03:54:09 +00:00
Jean-Philippe Lang
dac7903da3 Fixes uploading of empty files (#25115).
- prevents creation of attachment records without existing diskfile and empty
  digest
- adds test case to check file upload API response
- also removes the file size check in ActsAsAttachable which still prevented
  attachment of zero size attachments to containers but only for clients
  without Javascript (where save_attachments is called with the actual file
  upload).
  
Patch by Jens Kraemer.

git-svn-id: http://svn.redmine.org/redmine/trunk@16341 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-02-28 18:05:17 +00:00
Toshi MARUYAMA
dcc216002d upgrade Rails to 4.2.8 (#25048)
Ruby 2.4 tests fail.

git-svn-id: http://svn.redmine.org/redmine/trunk@16340 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-02-23 02:31:08 +00:00
Toshi MARUYAMA
7816a4025a remove trailing white space from test/fixtures/workflows.yml
git-svn-id: http://svn.redmine.org/redmine/trunk@16339 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-02-21 11:19:23 +00:00
Toshi MARUYAMA
359d7e43a0 remove empty lines including trailing white space from test/unit/time_entry_activity_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@16338 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-02-21 11:03:39 +00:00
Toshi MARUYAMA
dc2991d6e2 Remove unused "label_more" from locale files (#24901)
Contributed by Go MAEDA.

git-svn-id: http://svn.redmine.org/redmine/trunk@16337 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-02-21 10:41:06 +00:00
Toshi MARUYAMA
88da2159b4 Remove unused "label_planning" from locale files (#24900)
Contributed by Go MAEDA.

git-svn-id: http://svn.redmine.org/redmine/trunk@16336 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-02-21 10:40:25 +00:00
Toshi MARUYAMA
648d27e978 Remove unused "description_date_*" from locale files (#24899)
Contributed by Go MAEDA.

git-svn-id: http://svn.redmine.org/redmine/trunk@16335 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-02-21 10:29:24 +00:00
Toshi MARUYAMA
1aa32dfd37 remove empty lines including trailing white space from test/unit/search_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@16334 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-02-16 05:49:08 +00:00
Toshi MARUYAMA
3da129ddcf remove trailing white space from test/unit/setting_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@16333 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-02-12 14:09:07 +00:00
Toshi MARUYAMA
e20adb0532 remove trailing white space from app/controllers/issues_controller.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@16332 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-02-09 04:08:36 +00:00
Toshi MARUYAMA
79fb434fec Mercurial 4.1 compatibility (#24999)
git-svn-id: http://svn.redmine.org/redmine/trunk@16329 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-02-05 05:22:29 +00:00
Toshi MARUYAMA
76e1c919e2 Traditional Chinese translation updated by ChunChang Lo (#24993)
git-svn-id: http://svn.redmine.org/redmine/trunk@16328 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-02-04 10:39:25 +00:00
Toshi MARUYAMA
65e22a4c27 Japanese translation updated by Go MAEDA (#24971)
git-svn-id: http://svn.redmine.org/redmine/trunk@16327 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-02-04 10:39:15 +00:00
Toshi MARUYAMA
64c6779eaa Gemfile: pin i18n version 0.7.0
i18n 0.8.0 causes error.

<pre>
Redmine::I18nTest#test_languages_options_should_ignore_locales_without_general_lang_name_key:
I18n::InvalidLocale: "foo" is not a valid locale
    lib/redmine/i18n.rb:58:in `ll'
    lib/redmine/i18n.rb:122:in `block in languages_options'
    lib/redmine/i18n.rb:122:in `map'
    lib/redmine/i18n.rb:122:in `languages_options'
    test/unit/lib/redmine/i18n_test.rb:203:in `test_languages_options_should_ignore_locales_without_general_lang_name_key'
</pre>

git-svn-id: http://svn.redmine.org/redmine/trunk@16324 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-02-02 05:41:57 +00:00
Toshi MARUYAMA
5a86f95d29 revert r16322 (#24970)
Some tests fail.

git-svn-id: http://svn.redmine.org/redmine/trunk@16323 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-02-02 03:01:19 +00:00
Toshi MARUYAMA
d37125dfe9 replace depricated Net::LDAP::LdapError by Net::LDAP::Error (#24970)
git-svn-id: http://svn.redmine.org/redmine/trunk@16322 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-02-02 02:24:50 +00:00
Jean-Philippe Lang
fe906e4fb6 Clean up sort orders.
git-svn-id: http://svn.redmine.org/redmine/trunk@16321 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-01-31 18:31:25 +00:00
Jean-Philippe Lang
1b911e51f9 Time entry queries should be copied and deleted too.
git-svn-id: http://svn.redmine.org/redmine/trunk@16320 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-01-31 18:15:32 +00:00
Jean-Philippe Lang
10ebed3b97 Removes default order on Project#versions association.
git-svn-id: http://svn.redmine.org/redmine/trunk@16319 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-01-31 17:54:46 +00:00
Jean-Philippe Lang
7cab59d220 Reverts unwanted change (#24769).
git-svn-id: http://svn.redmine.org/redmine/trunk@16318 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-01-30 21:35:23 +00:00
Jean-Philippe Lang
252804f7da Redirect to the parent issue after adding a subtask.
git-svn-id: http://svn.redmine.org/redmine/trunk@16317 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-01-30 21:24:18 +00:00
Jean-Philippe Lang
be6199add3 Set thumbnail width on image tag to avoid too wide white boxes on Firefox (#24927).
Patch by Jan Schulz-Hofen.

git-svn-id: http://svn.redmine.org/redmine/trunk@16316 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-01-30 19:42:36 +00:00
Jean-Philippe Lang
ef3833b465 Whitespace-only reorg of ApplicationHelper#thumbnail_tag (#24927).
Patch by Jan Schulz-Hofen.

git-svn-id: http://svn.redmine.org/redmine/trunk@16315 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-01-30 19:42:04 +00:00
Jean-Philippe Lang
721843a548 Hires (2x DPR) image support for Thumbnails (#24927).
Patch by Jan Schulz-Hofen.

git-svn-id: http://svn.redmine.org/redmine/trunk@16314 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-01-30 19:41:31 +00:00
Jean-Philippe Lang
79d5d30705 Hires (2x DPR) image support for Gravatars (#24927).
Patch by Jan Schulz-Hofen.

git-svn-id: http://svn.redmine.org/redmine/trunk@16313 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-01-30 19:40:57 +00:00
Jean-Philippe Lang
6ef7a0fc2d Adds a test for #24922.
git-svn-id: http://svn.redmine.org/redmine/trunk@16312 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-01-30 19:37:55 +00:00
Jean-Philippe Lang
65804c34f3 Add support for @2x, @3x, etc. hires images (#24922).
Patch by Jan Schulz-Hofen.

git-svn-id: http://svn.redmine.org/redmine/trunk@16311 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-01-30 19:37:38 +00:00
Jean-Philippe Lang
df4564bbd4 Show all members in user custom field filter on the cross project issue list (#24769).
git-svn-id: http://svn.redmine.org/redmine/trunk@16310 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-01-30 18:37:17 +00:00
Jean-Philippe Lang
1fefa970d6 Disable description and columns when checking "Default columns" (#24907).
git-svn-id: http://svn.redmine.org/redmine/trunk@16304 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-01-29 13:11:37 +00:00
Jean-Philippe Lang
56159412b3 Issues API does not respect time_entries_visibility (#24875).
Patch by Go MAEDA.

git-svn-id: http://svn.redmine.org/redmine/trunk@16293 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-01-29 10:31:04 +00:00
Jean-Philippe Lang
cb985627e2 Show visible spent time link for users allowed to view time entries (#20661).
Patch by Go MAEDA.

git-svn-id: http://svn.redmine.org/redmine/trunk@16292 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-01-29 10:28:48 +00:00
Jean-Philippe Lang
0554e1f3cb Fix integration tests for r16287 (#24416).
git-svn-id: http://svn.redmine.org/redmine/trunk@16289 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-01-29 09:14:14 +00:00
Jean-Philippe Lang
a1846a2d4a Fix tests for r16287 (#24416).
git-svn-id: http://svn.redmine.org/redmine/trunk@16288 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-01-29 09:12:05 +00:00
Jean-Philippe Lang
9e1723c537 Redirect with token in session (#24416).
git-svn-id: http://svn.redmine.org/redmine/trunk@16287 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-01-29 08:58:40 +00:00