Marius Balteanu
c15c754589
Introduces @valid_watcher?@ check on watchables (@40946).
...
Patch by Jens Krämer (@jkraemer).
git-svn-id: https://svn.redmine.org/redmine/trunk@22916 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-07-08 21:33:50 +00:00
Marius Balteanu
57743c4145
Permission check based on the type of @watchables@ ( #40946 ).
...
Patch by Jens Krämer (@jkraemer).
git-svn-id: https://svn.redmine.org/redmine/trunk@22915 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-07-08 21:32:15 +00:00
Marius Balteanu
f9f486bdd0
Check view watchers permission when copying issues ( #40946 ).
...
Patch by Jens Kraemer (@jkraemer).
git-svn-id: https://svn.redmine.org/redmine/trunk@22914 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-07-08 21:30:36 +00:00
Marius Balteanu
2d20811f40
Improve watcher list permissions check to explicitly require @view_issue_watchers@ permission ( #40946 ).
...
Patch by Felix Schäfer (@felix).
git-svn-id: https://svn.redmine.org/redmine/trunk@22913 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-07-08 21:28:24 +00:00
Marius Balteanu
fe38f5e83f
Update all locales for @notice_invalid_watcher@ that are using the english translation ( #40950 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22912 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-07-08 20:52:03 +00:00
Marius Balteanu
86185dc55e
Improve english translation for @notice_invalid_watcher@ ( #40950 ).
...
Patch by Holger Just (@hjust).
git-svn-id: https://svn.redmine.org/redmine/trunk@22911 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-07-08 20:44:00 +00:00
Marius Balteanu
c1eff66f68
Truncate git authors to 255 characters ( #40948 ).
...
The committer column in the database allows max 255 characters. With longer authors, this would result in a schema violation. By manually truncating the author field, we can avoid this.
Patch by Holger Just (@hjust).
git-svn-id: https://svn.redmine.org/redmine/trunk@22910 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-07-08 20:35:16 +00:00
Go MAEDA
b2b2c52b78
Galician translation update ( #40940 ).
...
Patch by Guillermo ML (user:guillermoml).
git-svn-id: https://svn.redmine.org/redmine/trunk@22909 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-07-08 02:06:45 +00:00
Go MAEDA
e15db65a90
Disable RuboCop Style/PerlBackrefs ( #39887 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22908 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-07-06 08:04:22 +00:00
Go MAEDA
baf32a3fa4
Add test for r22906 ( #40716 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22907 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-07-06 07:46:47 +00:00
Go MAEDA
c0dc6ef4d0
Prevent issue links with double hash (##nnn) from being recognized as ATX headings ( #40716 ).
...
Patch by daijiro fukuda (user:daipom).
git-svn-id: https://svn.redmine.org/redmine/trunk@22906 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-07-06 07:44:05 +00:00
Go MAEDA
f143314584
Fix RuboCop offense Style/RedundantRegexpEscape in lib/redmine/wiki_formatting/section_helper.rb ( #40716 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22905 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-07-06 07:35:10 +00:00
Go MAEDA
2b786a6f48
Spent hours ignoring "Time Span Format" Setting on several pages ( #40924 ).
...
Patch by Go MAEDA (@maeda).
git-svn-id: https://svn.redmine.org/redmine/trunk@22902 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-06-30 14:37:12 +00:00
Go MAEDA
578c53a932
Disable custom query links while loading to prevent multiple requests ( #40901 ).
...
Patch by Mizuki ISHIKAWA (@ishikawa999).
git-svn-id: https://svn.redmine.org/redmine/trunk@22901 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-06-27 08:41:45 +00:00
Go MAEDA
f82d8314d9
Expose project updated_on column and filter in project query ( #40829 ).
...
Patch by Felix Schäfer (@felix).
git-svn-id: https://svn.redmine.org/redmine/trunk@22899 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-06-27 04:46:27 +00:00
Marius Balteanu
193ca9faee
Add bulk lock feature to user list context menu ( #40913 ).
...
Patch by Mizuki ISHIKAWA (@ishikawa999).
git-svn-id: https://svn.redmine.org/redmine/trunk@22898 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-06-25 19:03:36 +00:00
Go MAEDA
0afa535765
Remove unused "label_browse" from all locales ( #40882 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22897 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-06-25 05:52:23 +00:00
Go MAEDA
61eeefb7dc
Add test for r22895 ( #40860 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22896 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-06-25 02:15:35 +00:00
Go MAEDA
b5078e314a
Creating a new issue fails with an internal error if no issue priorities are defined ( #40860 ).
...
Patch by Holger Just (@hjust).
git-svn-id: https://svn.redmine.org/redmine/trunk@22895 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-06-25 02:09:40 +00:00
Go MAEDA
ccec22eaad
Japanese translation update ( #40880 ).
...
Patch by Go MAEDA.
git-svn-id: https://svn.redmine.org/redmine/trunk@22894 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-06-23 01:06:25 +00:00
Go MAEDA
52716785fa
Update locales ( #37279 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22893 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-06-22 07:35:47 +00:00
Go MAEDA
12e6cf7d0c
Improve Czech translation for "two-factor authentication" ( #40875 ).
...
Patch by Karel Pičman (@picman).
git-svn-id: https://svn.redmine.org/redmine/trunk@22890 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-06-21 23:35:34 +00:00
Go MAEDA
280cf91fa6
Czech translation update ( #40876 ).
...
Patch by Karel Pičman (@picman).
git-svn-id: https://svn.redmine.org/redmine/trunk@22889 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-06-21 23:32:05 +00:00
Go MAEDA
719b0ce615
Reject passwords that are the same as login, first name, last name, or email ( #37279 ).
...
Patch by Go MAEDA (@maeda).
git-svn-id: https://svn.redmine.org/redmine/trunk@22888 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-06-21 05:32:46 +00:00
Go MAEDA
2706019f09
Upgrade jQuery to 3.7.1 and jQuery UI to 1.13.3 ( #40853 , #40864 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22887 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-06-20 04:11:39 +00:00
Go MAEDA
5a96997f6a
Support multiple multi-word phrases in the search engine ( #38446 ).
...
Patch by Go MAEDA (@maeda).
git-svn-id: https://svn.redmine.org/redmine/trunk@22886 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-06-19 14:27:20 +00:00
Go MAEDA
07307140b9
Fix misalignment issue when displaying the table of contents (TOC) on the right of wiki page ( #34473 ).
...
Patch by Mizuki ISHIKAWA (@ishikawa999).
git-svn-id: https://svn.redmine.org/redmine/trunk@22885 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-06-19 14:06:08 +00:00
Go MAEDA
b3308d126a
Optimize Version#behind_schedule? by avoiding the call to completed_percent when due_date or start_date is nil ( #40798 ).
...
Patch by Go MAEDA (@maeda).
git-svn-id: https://svn.redmine.org/redmine/trunk@22882 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-06-17 07:10:29 +00:00
Go MAEDA
35aa00f7ac
Optimize FixedIssuesExtension#closed_percent by bypassing issues_progress when all issues are closed ( #40798 ).
...
Patch by Go MAEDA (@maeda).
git-svn-id: https://svn.redmine.org/redmine/trunk@22881 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-06-17 06:57:57 +00:00
Go MAEDA
c132b178a1
Optimize Version model by reducing redundant SQL count queries ( #40798 ).
...
Patch by Go MAEDA (@maeda).
git-svn-id: https://svn.redmine.org/redmine/trunk@22880 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-06-17 06:55:36 +00:00
Go MAEDA
ddde0ff47d
Fix RuboCop offense Rails/ActiveRecordCallbacksOrder ( #39889 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22879 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-06-17 03:11:08 +00:00
Go MAEDA
b6fe864770
Update MiniMagick to 4.13 ( #40849 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22878 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-06-17 02:22:50 +00:00
Go MAEDA
af6a627d20
Revisions count is wrong on the wiki content page ( #40655 ).
...
Contributed by Karel Pičman (@picman).
git-svn-id: https://svn.redmine.org/redmine/trunk@22877 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-06-13 03:06:04 +00:00
Go MAEDA
b803bddb1f
Fix "ArgumentError: Invalid response name: unprocessable_entity" with Rack 3.1.0+ in assert_response ( #39889 ).
...
Rack 3.1.0 changed the symbol for HTTP status code 422 from `:unprocessable_entity` to `:unprocessable_content`.
Due to the change, `assert_response(:unprocessable_entity, ...)` raises ArgumentError with Rack 3.1.0+.
This fix is a follow-up to r22837.
git-svn-id: https://svn.redmine.org/redmine/trunk@22876 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-06-12 16:09:37 +00:00
Go MAEDA
e41bc39322
Add LICENSE.txt in the root directory ( #40202 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22875 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-06-12 09:39:06 +00:00
Go MAEDA
abacac918b
Add missing fixture journal_details to JournalsHelperTest ( #40801 ).
...
Patch by Mizuki ISHIKAWA (@ishikawa999).
git-svn-id: https://svn.redmine.org/redmine/trunk@22874 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-06-12 07:19:58 +00:00
Go MAEDA
cda357eed1
Updates for 5.1.3 release.
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22869 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-06-12 00:27:41 +00:00
Go MAEDA
e7cae22dfb
chmod +x bin/changelog.rb to make it executable.
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22868 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-06-11 08:37:15 +00:00
Go MAEDA
d909b82d32
Replace BlankSlate with BasicObject for Builder 3.0.0 compatibility ( #40802 ).
...
Patch by Pavel Rosický (@ahorek).
git-svn-id: https://svn.redmine.org/redmine/trunk@22863 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-06-07 04:47:53 +00:00
Go MAEDA
c1335f5126
Suppress RuboCop false positive for Security/Open ( #39887 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22862 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-06-06 01:20:23 +00:00
Go MAEDA
8e7dce288b
Disable RuboCop Style/NumericPredicate ( #39887 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22861 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-06-06 00:53:06 +00:00
Go MAEDA
f9eb77227a
Fix RuboCop offense Naming/MemoizedInstanceVariableName ( #37862 , #1671 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22860 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-06-05 08:21:59 +00:00
Go MAEDA
5159d31a8b
Remove unsupported :after option from add_column in AddQueriesDescription migration ( #9309 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22859 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-06-05 07:55:45 +00:00
Marius Balteanu
82c88b3700
Adds estimated remaining time to version page ( #37862 , #1671 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22858 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-06-04 20:17:01 +00:00
Marius Balteanu
d9ca32b9d1
Move logic for estimated remaining hours from @QueryColumn@ to @Issue@ ( #37862 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22857 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-06-04 20:16:08 +00:00
Marius Balteanu
7710d005f2
Set migration version to 7.1 ( #9309 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22856 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-06-04 20:05:26 +00:00
Marius Balteanu
38a8adb2a2
Adds description field to custom queries ( #9309 ).
...
Patch by Go MAEDA (@maeda).
git-svn-id: https://svn.redmine.org/redmine/trunk@22855 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-06-04 20:04:45 +00:00
Go MAEDA
c19176a5c4
Reduce an extra SQL query in IssuesController#retrieve_default_query ( #40775 ).
...
Patch by Go MAEDA (@maeda).
git-svn-id: https://svn.redmine.org/redmine/trunk@22854 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-06-04 09:37:34 +00:00
Go MAEDA
7090378756
Bulgarian translation update ( #40771 ).
...
Patch by Ivan Cenov (@jwalker).
git-svn-id: https://svn.redmine.org/redmine/trunk@22853 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-06-02 02:04:05 +00:00
Go MAEDA
508ee8a858
Traditional Chinese translation update ( #40762 ).
...
Patch by ChunChang (Nagaharu) Lo (@shortie).
git-svn-id: https://svn.redmine.org/redmine/trunk@22852 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-06-02 01:55:18 +00:00