1
0
mirror of https://github.com/meineerde/redmine.git synced 2025-12-29 19:59:38 +00:00

17537 Commits

Author SHA1 Message Date
Go MAEDA
47b17044d2 Fix RuboCop offense Style/RedundantStringEscape (#36919).
git-svn-id: https://svn.redmine.org/redmine/trunk@21920 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-10-26 13:14:08 +00:00
Go MAEDA
4cbb07ba43 Regenerate .rubocop_todo.yml (#36919).
git-svn-id: https://svn.redmine.org/redmine/trunk@21919 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-10-26 13:06:38 +00:00
Go MAEDA
58e85138da Fix swapped general_text_Yes and general_text_No in Polish translation (#37812).
Patch by Robert Korulczyk.


git-svn-id: https://svn.redmine.org/redmine/trunk@21917 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-10-22 06:54:39 +00:00
Go MAEDA
a4001d076b Disable RuboCop Rails/WhereExists (#36919).
git-svn-id: https://svn.redmine.org/redmine/trunk@21916 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-10-20 08:39:24 +00:00
Go MAEDA
2f81cb6b2a Fix RuboCop offense Layout/FirstHashElementIndentation due to r21894 (#37751).
git-svn-id: https://svn.redmine.org/redmine/trunk@21915 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-10-20 08:10:59 +00:00
Go MAEDA
00b4743e91 Fix RuboCop offenses Layout/EmptyLinesAroundClassBody and Layout/TrailingEmptyLines in html_sanitizer_test.rb (#37750).
git-svn-id: https://svn.redmine.org/redmine/trunk@21914 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-10-20 07:57:02 +00:00
Go MAEDA
3fe8a7575d Fix RuboCop offense Layout/FirstArrayElementIndentation in html_sanitizer.rb (#37750).
git-svn-id: https://svn.redmine.org/redmine/trunk@21913 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-10-20 07:48:27 +00:00
Go MAEDA
88cb98cda8 Fix RuboCop offenses Layout/EmptyLinesAroundModuleBody, Layout/EmptyLinesAroundClassBody, and Layout/TrailingEmptyLines in html_sanitizer.rb (#37750).
git-svn-id: https://svn.redmine.org/redmine/trunk@21912 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-10-20 07:34:21 +00:00
Go MAEDA
7c561362cf Add a copyright header (#37750).
git-svn-id: https://svn.redmine.org/redmine/trunk@21911 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-10-20 07:23:01 +00:00
Go MAEDA
8bc9d2abdf Simplify AttachmentsController#find_container (#37772).
Patch by  Jens Krämer.


git-svn-id: https://svn.redmine.org/redmine/trunk@21907 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-10-20 04:14:26 +00:00
Go MAEDA
aeabd4682a Constraints *_all attachments routes to actually supported values of container_type (#37772).
Patch by  Jens Krämer.


git-svn-id: https://svn.redmine.org/redmine/trunk@21906 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-10-20 04:13:21 +00:00
Go MAEDA
d726df660f Adds visible? method to journal (#37772).
Patch by  Jens Krämer.


git-svn-id: https://svn.redmine.org/redmine/trunk@21905 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-10-20 04:11:58 +00:00
Go MAEDA
1d9f5c6742 Escape tags that start with pre (#37767).
Patch by Holger Just.


git-svn-id: https://svn.redmine.org/redmine/trunk@21902 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-10-17 13:35:20 +00:00
Marius Balteanu
823080b45e Uses the new html sanitizer for links rendered by custom fields (#37750).
Patch by Jens Krämer.


git-svn-id: https://svn.redmine.org/redmine/trunk@21901 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-10-04 19:50:01 +00:00
Marius Balteanu
39151a89b6 Introduces a standalone html sanitizer class (#37750).
Patch by Jens Krämer.


git-svn-id: https://svn.redmine.org/redmine/trunk@21900 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-10-04 19:49:00 +00:00
Marius Balteanu
a561d23bd4 Always bundle html-pipeline and sanitizer gems (#37750).
Patch by Jens Krämer.


git-svn-id: https://svn.redmine.org/redmine/trunk@21899 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-10-04 19:46:11 +00:00
Marius Balteanu
9ef056d615 Mark legacy Markdown text formatting option as deprecated (#36807).
git-svn-id: https://svn.redmine.org/redmine/trunk@21898 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-10-04 19:41:07 +00:00
Marius Balteanu
9fc669a888 Make common_mark the default text formatting for new installations (#34863).
git-svn-id: https://svn.redmine.org/redmine/trunk@21897 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-10-04 19:19:15 +00:00
Marius Balteanu
ba635eace9 Escape blockquote citation in textile formatting (#37751).
Patch by Jens Krämer.


git-svn-id: https://svn.redmine.org/redmine/trunk@21894 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-10-04 18:58:37 +00:00
Marius Balteanu
0ab2bb8647 Delete orphaned query and role ids from habtm join table (#36844).
git-svn-id: https://svn.redmine.org/redmine/trunk@21893 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-10-02 20:39:06 +00:00
Marius Balteanu
da402cfe18 Updates for 5.0.3 release.
git-svn-id: https://svn.redmine.org/redmine/trunk@21888 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-10-02 19:58:58 +00:00
Marius Balteanu
5b78b045b1 Fix rubocop warning (#37626).
git-svn-id: https://svn.redmine.org/redmine/trunk@21886 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-10-02 12:47:33 +00:00
Marius Balteanu
e9adf8088d Add to do to fix the deprecation warning (#37626).
git-svn-id: https://svn.redmine.org/redmine/trunk@21884 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-10-02 09:59:11 +00:00
Marius Balteanu
dc54c7a721 Fix show diff of a javascript file in repository module is displayed without layout (#37626).
Patch by Trang Tran Thi Quynh. 


git-svn-id: https://svn.redmine.org/redmine/trunk@21883 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-10-02 08:53:09 +00:00
Marius Balteanu
8bab808928 Fix repository browser does not show \"+\" (plus sign) in filename (#37718).
Patch by Go MAEDA.


git-svn-id: https://svn.redmine.org/redmine/trunk@21880 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-10-02 07:14:37 +00:00
Go MAEDA
5b0e4a8e2d Add table header in Plugins page (#37692).
Patch by Go MAEDA.


git-svn-id: https://svn.redmine.org/redmine/trunk@21879 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-10-01 06:54:27 +00:00
Go MAEDA
ca516e8c25 Jump to project is misaligned in Safari 15.4 and later (#36901).
Patch by Vitaly vit9696.


git-svn-id: https://svn.redmine.org/redmine/trunk@21876 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-10-01 05:21:03 +00:00
Marius Balteanu
4e19aa64bd Remove comment (#37282).
git-svn-id: https://svn.redmine.org/redmine/trunk@21873 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-09-30 15:22:14 +00:00
Marius Balteanu
c699701668 Fix subtask list is not properly displayed (#37282).
git-svn-id: https://svn.redmine.org/redmine/trunk@21872 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-09-30 15:17:58 +00:00
Go MAEDA
df88b9c7dd Issue ID field does not get focus when adding a related issue (#37473).
Patch by Mizuki ISHIKAWA.


git-svn-id: https://svn.redmine.org/redmine/trunk@21867 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-09-28 09:18:31 +00:00
Go MAEDA
16c2c4a880 Fix RuboCop offense Layout/LineLength due to r21849 (#37713).
git-svn-id: https://svn.redmine.org/redmine/trunk@21865 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-09-28 09:00:45 +00:00
Go MAEDA
6a039db086 Fix Psych::DisallowedClass exception when loading plugin settings saved with Rails 4.2 (#37452, #37719).
Patch by Alexander Meindl.


git-svn-id: https://svn.redmine.org/redmine/trunk@21863 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-09-28 06:36:07 +00:00
Marius Balteanu
3179bee5a8 Fix random system test failure by adding a missing fixture.
git-svn-id: https://svn.redmine.org/redmine/trunk@21862 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-09-27 20:49:44 +00:00
Marius Balteanu
20baf029ba Fix undefined method when auth source name column is added as column (#37674).
git-svn-id: https://svn.redmine.org/redmine/trunk@21861 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-09-27 19:55:09 +00:00
Marius Balteanu
1678f0d57a Fix failing test on PostgreSQL by ordering by only non null values (#37674).
git-svn-id: https://svn.redmine.org/redmine/trunk@21860 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-09-27 19:36:52 +00:00
Go MAEDA
8cf28048a4 Adds missing join when ordering by authsource (#37674).
Patch by Jens Krämer.


git-svn-id: https://svn.redmine.org/redmine/trunk@21856 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-09-27 09:30:07 +00:00
Go MAEDA
f7e611dfd0 Disable RuboCop Style/SoleNestedConditional (#36919).
git-svn-id: https://svn.redmine.org/redmine/trunk@21855 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-09-27 09:11:10 +00:00
Go MAEDA
42854ad2ae Fix random test failure (#33953).
git-svn-id: https://svn.redmine.org/redmine/trunk@21854 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-09-27 08:23:53 +00:00
Marius Balteanu
5e70ebc4c3 Add a test for #37369.
git-svn-id: https://svn.redmine.org/redmine/trunk@21852 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-09-26 22:39:23 +00:00
Marius Balteanu
7dbdf5a88b Adds info about custom CSS to commonmark markdown help (#37237).
Patch by Jens Krämer.


git-svn-id: https://svn.redmine.org/redmine/trunk@21851 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-09-26 22:36:54 +00:00
Marius Balteanu
2faadcba8b Allow select custom CSS properties (#37237).
Patch by Jens Krämer.



git-svn-id: https://svn.redmine.org/redmine/trunk@21850 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-09-26 22:35:48 +00:00
Marius Balteanu
0bb977cb41 Add rel="noopener" to all external links with a target attribute (#37713).
Patch by Jens Krämer.


git-svn-id: https://svn.redmine.org/redmine/trunk@21849 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-09-26 22:34:44 +00:00
Go MAEDA
f733508d8a Regenerate .rubocop_todo.yml (#37614).
git-svn-id: https://svn.redmine.org/redmine/trunk@21846 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-09-25 05:22:32 +00:00
Go MAEDA
f92477a423 Cleanup Repository::Git#clear_extra_info_of_changesets (#37614).
Patch by Go MAEDA.


git-svn-id: https://svn.redmine.org/redmine/trunk@21845 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-09-25 05:08:32 +00:00
Go MAEDA
a1126aebd4 Use the safe navigation operator instead of checking if an object is nil (#37614).
Patch by Go MAEDA.


git-svn-id: https://svn.redmine.org/redmine/trunk@21844 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-09-25 05:07:09 +00:00
Go MAEDA
fa3a42d1de Fix RuboCop offense Style/GuardClause (#37614).
git-svn-id: https://svn.redmine.org/redmine/trunk@21843 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-09-25 05:00:29 +00:00
Go MAEDA
f17e8507c5 Fix RuboCop offense Style/IfUnlessModifier (#37614).
git-svn-id: https://svn.redmine.org/redmine/trunk@21842 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-09-25 04:58:53 +00:00
Go MAEDA
b7e477ea7f Fix RuboCop offense Style/SymbolProc (#37614).
git-svn-id: https://svn.redmine.org/redmine/trunk@21841 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-09-25 04:57:21 +00:00
Go MAEDA
02f17b6d2b Fix RuboCop offense Rails/Blank (#37614).
git-svn-id: https://svn.redmine.org/redmine/trunk@21840 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-09-25 04:56:16 +00:00
Go MAEDA
215f6d7449 Reorder keys in the same order as en.yml (#37698).
Patch by salman mp.


git-svn-id: https://svn.redmine.org/redmine/trunk@21839 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-09-25 02:46:57 +00:00