Commit Graph

13225 Commits

Author SHA1 Message Date
Toshi MARUYAMA
f0b7991ee3 show Windows code page on appveyor
git-svn-id: http://svn.redmine.org/redmine/trunk@16514 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-04-06 21:45:09 +00:00
Jean-Philippe Lang
9506ff1f40 Fixed that watchers list is not updated when changing project on the new issue form (#17762).
git-svn-id: http://svn.redmine.org/redmine/trunk@16511 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-04-06 19:57:00 +00:00
Jean-Philippe Lang
1cd985dd6b Option to copy watchers when copying issues (#10460).
git-svn-id: http://svn.redmine.org/redmine/trunk@16509 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-04-06 17:34:45 +00:00
Jean-Philippe Lang
8ea86a8249 Let the context menu work on elements that are not tr.
git-svn-id: http://svn.redmine.org/redmine/trunk@16508 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-04-06 17:17:54 +00:00
Jean-Philippe Lang
2dfec42484 Reverts to rbpdf 1.19.0 for now.
Using rbpdf-font 1.19.1

Encoding::UndefinedConversionError: "\x81" to UTF-8 in conversion from Windows-1
252 to UTF-8
An error occurred while installing rbpdf (1.19.1), and Bundler cannot continue.
Make sure that `gem install rbpdf -v '1.19.1'` succeeds before bundling.

git-svn-id: http://svn.redmine.org/redmine/trunk@16507 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-04-06 17:16:36 +00:00
Jean-Philippe Lang
49a28df30d Set autocomplete to off on project quick search (#23310).
Patch by Marius BALTEANU.

git-svn-id: http://svn.redmine.org/redmine/trunk@16506 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-04-06 17:13:45 +00:00
Jean-Philippe Lang
dd37b8cfb6 Fixed that related to "no open issues" filter shows all issues (#25478).
Patch by Kevin Fischer.

git-svn-id: http://svn.redmine.org/redmine/trunk@16504 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-04-06 16:57:44 +00:00
Jean-Philippe Lang
8813de93b3 Rename @noborder@ CSS class to @wiki-class-noborder@ in order to be accessible from user-provided Textile markup (#25503).
Patch by Jan Schulz-Hofen.

git-svn-id: http://svn.redmine.org/redmine/trunk@16503 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-04-06 16:43:48 +00:00
Jean-Philippe Lang
4f2c5a9945 Filter arbitrary class names and ids in rendered HTML output (#25503).
* Disallow setting arbitrary classes and ids via Textile syntax
* Only allow valid/supported languages for syntax highlighted code blocks

Patch by Jan Schulz-Hofen.

git-svn-id: http://svn.redmine.org/redmine/trunk@16502 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-04-06 16:41:52 +00:00
Jean-Philippe Lang
281b26e2f5 Helper methods to find out if a given language is supported (#25503).
Patch by Jan Schulz-Hofen.

git-svn-id: http://svn.redmine.org/redmine/trunk@16501 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-04-06 16:37:18 +00:00
Jean-Philippe Lang
99fa41011f Add kbd to ALLOWED_TAGS (#25503).
Patch by Jan Schulz-Hofen.

git-svn-id: http://svn.redmine.org/redmine/trunk@16500 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-04-06 16:34:52 +00:00
Toshi MARUYAMA
36869efbd1 Russian "setting_timespan_format" translation updated by Kirill Bezrukov (#25349)
git-svn-id: http://svn.redmine.org/redmine/trunk@16499 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-04-05 17:07:08 +00:00
Toshi MARUYAMA
9ae19223d2 Bulgarian translation updated by Ivan Cenov (#25518)
git-svn-id: http://svn.redmine.org/redmine/trunk@16498 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-04-05 16:50:37 +00:00
Toshi MARUYAMA
e0d85267e1 Russian translation for label_user_mail_option_only_(assigned|owner) changed by Ilya Potapov (#25397, #24177)
git-svn-id: http://svn.redmine.org/redmine/trunk@16497 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-04-05 16:50:26 +00:00
Jean-Philippe Lang
73dc7256c6 Adds a test for #25526.
git-svn-id: http://svn.redmine.org/redmine/trunk@16492 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-04-05 16:10:16 +00:00
Jean-Philippe Lang
fc73a90740 Always set spent_hours instance variables to a Float in Issue instances (#25526).
Patch by Holger Just.

git-svn-id: http://svn.redmine.org/redmine/trunk@16491 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-04-05 16:09:58 +00:00
Jean-Philippe Lang
353914768e Code cleanup.
git-svn-id: http://svn.redmine.org/redmine/trunk@16490 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-04-05 15:59:43 +00:00
Toshi MARUYAMA
21887c742a Bulgarian translation updated by Ivan Cenov (#25518)
git-svn-id: http://svn.redmine.org/redmine/trunk@16489 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-04-05 13:35:07 +00:00
Toshi MARUYAMA
476c4f47d1 Japanese translation updated by Go MAEDA (#25507)
git-svn-id: http://svn.redmine.org/redmine/trunk@16488 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-04-05 13:34:56 +00:00
Toshi MARUYAMA
150380ed58 Gemfile: explicitly use rbpdf 1.19.1 (#22335, #24271)
git-svn-id: http://svn.redmine.org/redmine/trunk@16485 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-04-05 10:53:44 +00:00
Toshi MARUYAMA
b021eb648d remove trailing white space from Gemfile
git-svn-id: http://svn.redmine.org/redmine/trunk@16484 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-04-05 10:53:33 +00:00
Jean-Philippe Lang
3a4ce13b42 Use 2 queries that use an index.
git-svn-id: http://svn.redmine.org/redmine/trunk@16483 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-04-04 18:03:49 +00:00
Jean-Philippe Lang
fbde611f3f Use #to_sql to generate the subquery.
git-svn-id: http://svn.redmine.org/redmine/trunk@16482 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-04-04 18:00:20 +00:00
Jean-Philippe Lang
70b0bc5168 Adds a scope to left join the issue.
git-svn-id: http://svn.redmine.org/redmine/trunk@16481 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-04-04 17:54:39 +00:00
Jean-Philippe Lang
d8dec34ece Don't compare LOWER() with #downcase.
git-svn-id: http://svn.redmine.org/redmine/trunk@16480 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-04-04 17:53:48 +00:00
Jean-Philippe Lang
f604fe9460 SQL Cleanup.
git-svn-id: http://svn.redmine.org/redmine/trunk@16479 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-04-04 17:52:24 +00:00
Jean-Philippe Lang
8fe94c30fe Adds a link back to the issue list that we are coming from.
git-svn-id: http://svn.redmine.org/redmine/trunk@16478 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-04-04 17:49:40 +00:00
Jean-Philippe Lang
7b125bc292 Better handling of update failures when bulk editing time entries.
git-svn-id: http://svn.redmine.org/redmine/trunk@16477 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-04-04 17:22:08 +00:00
Jean-Philippe Lang
41cb7a3a55 Let the issue list be grouped by private flag.
git-svn-id: http://svn.redmine.org/redmine/trunk@16476 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-04-04 17:19:55 +00:00
Jean-Philippe Lang
88a3a351d0 Don't hardcode the groups on My page.
git-svn-id: http://svn.redmine.org/redmine/trunk@16475 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-04-04 17:17:47 +00:00
Jean-Philippe Lang
b9ee00a8c8 Adds methods to User model to handle tokens.
git-svn-id: http://svn.redmine.org/redmine/trunk@16474 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-04-04 17:15:07 +00:00
Jean-Philippe Lang
5c7aaa4d1e Makes Attachments column available on the issue list (#25515).
git-svn-id: http://svn.redmine.org/redmine/trunk@16473 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-04-04 17:07:13 +00:00
Toshi MARUYAMA
0a40b19c99 Russian translation for 3.2-stable updated by Kirill Bezrukov (#25349, #25505)
git-svn-id: http://svn.redmine.org/redmine/trunk@16470 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-04-03 16:30:02 +00:00
Toshi MARUYAMA
940db66eaf Fix Japanese mistranslation for field_base_dn by Go MAEDA (#25470)
git-svn-id: http://svn.redmine.org/redmine/trunk@16469 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-04-03 14:39:19 +00:00
Jean-Philippe Lang
6c4b73b448 Query through multiple projects by issue custom field not possible anymore (#25501).
git-svn-id: http://svn.redmine.org/redmine/trunk@16467 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-04-03 14:04:04 +00:00
Jean-Philippe Lang
857696c3c6 Russian translation update (#25397).
Patch by Ilya Potapov.

git-svn-id: http://svn.redmine.org/redmine/trunk@16466 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-04-03 13:34:01 +00:00
Jean-Philippe Lang
ebc9820877 Change Russian translation for field_due_date and label_relation_new (#25392).
Patch by Ilya Potapov.

git-svn-id: http://svn.redmine.org/redmine/trunk@16465 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-04-03 13:32:46 +00:00
Jean-Philippe Lang
3e787f7e7d Deny edit/update/delete for anonymous user (#25483).
Patch by Holger Just.

git-svn-id: http://svn.redmine.org/redmine/trunk@16464 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-04-03 12:59:55 +00:00
Jean-Philippe Lang
a8d8c213bb Use path instead of URL of image in preview (#25295).
Patch by Krzysztof Zielonka.

git-svn-id: http://svn.redmine.org/redmine/trunk@16463 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-04-03 12:53:51 +00:00
Jean-Philippe Lang
2660a2e5b3 Adds a test for when the file comparison fails (#25215).
git-svn-id: http://svn.redmine.org/redmine/trunk@16462 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-04-03 12:51:13 +00:00
Jean-Philippe Lang
1b81a030ce Cleanup tests with mock files.
git-svn-id: http://svn.redmine.org/redmine/trunk@16461 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-04-03 12:48:58 +00:00
Jean-Philippe Lang
0e407dcf46 Delete the file after the change is committed (#25215).
git-svn-id: http://svn.redmine.org/redmine/trunk@16460 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-04-03 12:13:07 +00:00
Jean-Philippe Lang
2f83c57be4 Adds file equality check to deduplication hook (#25215).
Patch by Jens Kraemer.

git-svn-id: http://svn.redmine.org/redmine/trunk@16459 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-04-03 11:55:40 +00:00
Jean-Philippe Lang
f0e5437d27 Reuse existing identical disk files for new attachments (#25215).
Patch by Jens Kraemer.

git-svn-id: http://svn.redmine.org/redmine/trunk@16458 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-04-03 11:54:29 +00:00
Jean-Philippe Lang
d65e920307 Adds :field_digest string to locales (#25240).
git-svn-id: http://svn.redmine.org/redmine/trunk@16457 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-04-03 11:42:53 +00:00
Jean-Philippe Lang
1e179a9bbc Change MD5 table header to Checksum (#25240).
Patch by Jens Krämer.

git-svn-id: http://svn.redmine.org/redmine/trunk@16456 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-04-03 11:41:52 +00:00
Jean-Philippe Lang
ee84b6b24c Adds a rake task to update attachments digests to SHA256 (#25240).
Patch by Jens Krämer.

git-svn-id: http://svn.redmine.org/redmine/trunk@16455 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-04-03 11:38:06 +00:00
Jean-Philippe Lang
30f7be9c19 Changes the digest used for attachments to SHA256 (#25240).
Patch by Jens Kraemer.

git-svn-id: http://svn.redmine.org/redmine/trunk@16454 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-04-03 11:11:36 +00:00
Jean-Philippe Lang
9441ab0ca8 Send email even if password is not changed (#7577).
git-svn-id: http://svn.redmine.org/redmine/trunk@16453 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-04-03 10:48:59 +00:00
Jean-Philippe Lang
91e2430301 Renaming "duplicates" and "duplicated by" to something less confusing (#10250).
git-svn-id: http://svn.redmine.org/redmine/trunk@16452 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-04-03 10:36:26 +00:00