]>
source.dussan.org Git - redmine.git/log
Marius Balteanu [Sun, 25 Feb 2024 20:53:52 +0000 (20:53 +0000)]
Add tests for @HelpController@ (#39111, #40137).
git-svn-id: https://svn.redmine.org/redmine/trunk@22731
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Marius Balteanu [Sun, 25 Feb 2024 20:12:27 +0000 (20:12 +0000)]
Add tests for @/help/wiki_syntax@ route (#39111, #40137).
git-svn-id: https://svn.redmine.org/redmine/trunk@22730
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Marius Balteanu [Wed, 21 Feb 2024 06:36:06 +0000 (06:36 +0000)]
Deletes @Redmine::WikiFormatting::CommonMark::HelperTest@ tests that are no longer required after wiki syntax help files refactor (#39111, #40137).
git-svn-id: https://svn.redmine.org/redmine/trunk@22729
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Marius Balteanu [Mon, 19 Feb 2024 21:37:48 +0000 (21:37 +0000)]
Cleanup empty directories (#39111, #40137).
git-svn-id: https://svn.redmine.org/redmine/trunk@22728
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Marius Balteanu [Mon, 19 Feb 2024 21:28:05 +0000 (21:28 +0000)]
Replaces static link to detailed version with the new route (#39111, #40137).
git-svn-id: https://svn.redmine.org/redmine/trunk@22727
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Marius Balteanu [Mon, 19 Feb 2024 21:09:59 +0000 (21:09 +0000)]
Replaces static img tag from wiki syntax help files with @image_tag@ (#39111, #40137).
git-svn-id: https://svn.redmine.org/redmine/trunk@22726
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Marius Balteanu [Mon, 19 Feb 2024 21:03:45 +0000 (21:03 +0000)]
Includes CSS files from the asset pipeline (#39111, #40137).
git-svn-id: https://svn.redmine.org/redmine/trunk@22725
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Marius Balteanu [Mon, 19 Feb 2024 21:02:39 +0000 (21:02 +0000)]
Cleanup wiki syntax files by moving inline style for img border to CSS (#39111, #40137).
git-svn-id: https://svn.redmine.org/redmine/trunk@22724
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Marius Balteanu [Mon, 19 Feb 2024 21:00:46 +0000 (21:00 +0000)]
Adds erb extension to all wiki syntax help files (#39111, #40137).
git-svn-id: https://svn.redmine.org/redmine/trunk@22723
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Marius Balteanu [Mon, 19 Feb 2024 20:58:13 +0000 (20:58 +0000)]
Updates JS toolbar help button to use the new route (#39111, #40137).
git-svn-id: https://svn.redmine.org/redmine/trunk@22722
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Marius Balteanu [Mon, 19 Feb 2024 20:54:01 +0000 (20:54 +0000)]
* Remove languages from wiki syntax help files that are identical with en language.
* Fall back to the english help page if there is none for the current language.
(#39111, #40137).
git-svn-id: https://svn.redmine.org/redmine/trunk@22721
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Marius Balteanu [Mon, 19 Feb 2024 20:51:34 +0000 (20:51 +0000)]
Reorganize all the wiki syntax help files per text formatter (@markdown@, @common_mark@ and @textile@) (#39111, #40137).
git-svn-id: https://svn.redmine.org/redmine/trunk@22720
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Marius Balteanu [Mon, 19 Feb 2024 20:41:41 +0000 (20:41 +0000)]
* Introduces @HelpController@ and a new route @help/wiki_syntax/(:type)@ to serve wiki syntax help files.
* Moves all wiki syntax help files to @app/views/help@ and CSS files to asset pipeline.
(#39111, #40137).
git-svn-id: https://svn.redmine.org/redmine/trunk@22719
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Marius Balteanu [Mon, 19 Feb 2024 20:28:15 +0000 (20:28 +0000)]
Reverts r22717 (#39111, #40137).
git-svn-id: https://svn.redmine.org/redmine/trunk@22718
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Marius Balteanu [Mon, 19 Feb 2024 20:24:33 +0000 (20:24 +0000)]
* Moves all wiki syntax files from @public/help@ to @app/views/help/wiki_syntax@.
* Adds route to serve wiki syntax help files.
* Moves wiki syntax CSS files to asset pipeline.
(#39111, #40137).
git-svn-id: https://svn.redmine.org/redmine/trunk@22717
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Marius Balteanu [Sun, 18 Feb 2024 19:39:08 +0000 (19:39 +0000)]
Add svn:ignore property on new themes directory (#39111).
git-svn-id: https://svn.redmine.org/redmine/trunk@22716
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Go MAEDA [Thu, 15 Feb 2024 12:22:22 +0000 (12:22 +0000)]
Catalan translation update for 5.1-stable (#40240).
Patch by Joan J (@aseques).
git-svn-id: https://svn.redmine.org/redmine/trunk@22714
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Go MAEDA [Wed, 14 Feb 2024 01:48:05 +0000 (01:48 +0000)]
Remove an empty file (#40190).
git-svn-id: https://svn.redmine.org/redmine/trunk@22713
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Marius Balteanu [Tue, 13 Feb 2024 23:26:33 +0000 (23:26 +0000)]
Update .gitignore with the new location for themes directory (#39111).
git-svn-id: https://svn.redmine.org/redmine/trunk@22712
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Marius Balteanu [Tue, 13 Feb 2024 23:23:00 +0000 (23:23 +0000)]
Updates UPGRADING doc to include the new themes directory location from [redmine_root] (#39111).
git-svn-id: https://svn.redmine.org/redmine/trunk@22711
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Marius Balteanu [Tue, 13 Feb 2024 23:17:09 +0000 (23:17 +0000)]
Replaces @URI.parse@ with @Addressable::URI.parse(url)@ to enhance robustness of @validate_back_url@ (#31831).
Patch by Go MAEDA (@maeda).
git-svn-id: https://svn.redmine.org/redmine/trunk@22710
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Marius Balteanu [Tue, 13 Feb 2024 23:13:49 +0000 (23:13 +0000)]
Stop appending the utf8 checkmark parameter to form URLs (#40190).
Patch by Go MAEDA (@maeda).
git-svn-id: https://svn.redmine.org/redmine/trunk@22709
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Marius Balteanu [Tue, 13 Feb 2024 23:11:28 +0000 (23:11 +0000)]
Custom themes are now loaded from "/themes" directory from project root. The themes provided by Redmine (alternate and classic) remains in "app/assets/themes" (#39111).
git-svn-id: https://svn.redmine.org/redmine/trunk@22708
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Marius Balteanu [Tue, 13 Feb 2024 22:58:30 +0000 (22:58 +0000)]
Fix ThemesTest may fail if a third-party theme having theme.js is installed (#40205).
git-svn-id: https://svn.redmine.org/redmine/trunk@22707
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Marius Balteanu [Tue, 13 Feb 2024 22:54:36 +0000 (22:54 +0000)]
Fix one more failing test related to favicon after r22692 (#39111).
git-svn-id: https://svn.redmine.org/redmine/trunk@22706
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Marius Balteanu [Tue, 13 Feb 2024 22:14:34 +0000 (22:14 +0000)]
Fix failing tests related to favicon in themes after r22692 (#39111).
git-svn-id: https://svn.redmine.org/redmine/trunk@22705
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Marius Balteanu [Tue, 13 Feb 2024 21:55:57 +0000 (21:55 +0000)]
Fix failing tests related to favicon after r22692 (#39111).
git-svn-id: https://svn.redmine.org/redmine/trunk@22704
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Go MAEDA [Mon, 12 Feb 2024 06:58:41 +0000 (06:58 +0000)]
Add informative default welcome text for new installations (#33638).
Patch by Go MAEDA (@maeda).
git-svn-id: https://svn.redmine.org/redmine/trunk@22703
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Marius Balteanu [Sat, 10 Feb 2024 10:32:44 +0000 (10:32 +0000)]
Remove appveyor.yml (#40211).
Patch by Go MAEDA (maeda).
git-svn-id: https://svn.redmine.org/redmine/trunk@22702
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Marius Balteanu [Sat, 10 Feb 2024 10:28:35 +0000 (10:28 +0000)]
Remove overrides that inserts a non-breaking space (nbsp) to empty option elements (#40210).
Patch by Go MAEDA (maeda).
git-svn-id: https://svn.redmine.org/redmine/trunk@22701
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Go MAEDA [Fri, 9 Feb 2024 04:46:13 +0000 (04:46 +0000)]
Fix robots.txt route to enforce .txt format (#40208).
Contributed by Liane Hampe (@liane_hampe).
git-svn-id: https://svn.redmine.org/redmine/trunk@22698
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Go MAEDA [Thu, 8 Feb 2024 00:57:07 +0000 (00:57 +0000)]
Principal.not_member_of scope does not accept ActiveRecord::Relation (#28243).
git-svn-id: https://svn.redmine.org/redmine/trunk@22697
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Marius Balteanu [Wed, 7 Feb 2024 20:55:00 +0000 (20:55 +0000)]
Move public assets (images, javascripts, stylesheets, themes) to app/assets (#39111).
git-svn-id: https://svn.redmine.org/redmine/trunk@22696
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Marius Balteanu [Wed, 7 Feb 2024 20:48:26 +0000 (20:48 +0000)]
Reverts r22694 (#39111).
git-svn-id: https://svn.redmine.org/redmine/trunk@22695
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Marius Balteanu [Wed, 7 Feb 2024 20:44:44 +0000 (20:44 +0000)]
Move public assets (images, javascripts, stylesheets, themes) to app/assets (#39111).
git-svn-id: https://svn.redmine.org/redmine/trunk@22694
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Marius Balteanu [Wed, 7 Feb 2024 20:42:50 +0000 (20:42 +0000)]
Replaces @public/plugin_assets@ with @public/assets@ in installation docs (#39111).
git-svn-id: https://svn.redmine.org/redmine/trunk@22693
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Marius Balteanu [Wed, 7 Feb 2024 20:41:23 +0000 (20:41 +0000)]
Includes favicon in assets pipeline (#39111).
git-svn-id: https://svn.redmine.org/redmine/trunk@22692
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Marius Balteanu [Wed, 7 Feb 2024 19:55:42 +0000 (19:55 +0000)]
Removes configuration flag example related to @redmine:plugins:assets@ (#40204, #39111).
git-svn-id: https://svn.redmine.org/redmine/trunk@22691
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Marius Balteanu [Wed, 7 Feb 2024 19:53:58 +0000 (19:53 +0000)]
Removes @redmine:plugins:assets@ from @redmine:plugins@ task (#40204).
git-svn-id: https://svn.redmine.org/redmine/trunk@22690
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Go MAEDA [Wed, 7 Feb 2024 04:27:01 +0000 (04:27 +0000)]
Raise the maximum length of the title element in the Atom feed from 100 to 300 characters (#34025).
Patch by Go MAEDA (@maeda).
git-svn-id: https://svn.redmine.org/redmine/trunk@22685
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Go MAEDA [Wed, 7 Feb 2024 01:27:10 +0000 (01:27 +0000)]
Fix performance issue with email address auto-linking in the default ("none") formatter (#40193).
Patch by Go MAEDA (@maeda).
git-svn-id: https://svn.redmine.org/redmine/trunk@22684
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Go MAEDA [Wed, 7 Feb 2024 00:59:58 +0000 (00:59 +0000)]
Fix RuboCop offense Layout/EmptyLineAfterGuardClause (#38155).
git-svn-id: https://svn.redmine.org/redmine/trunk@22683
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Go MAEDA [Tue, 6 Feb 2024 09:13:36 +0000 (09:13 +0000)]
Fix cutoff of user select element in activity sidebar when displaying long user names (#39780).
Patch by Go MAEDA (@maeda).
git-svn-id: https://svn.redmine.org/redmine/trunk@22682
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Go MAEDA [Mon, 5 Feb 2024 13:39:02 +0000 (13:39 +0000)]
Fix RuntimeError on `reload!` in the Rails console (#38155).
Patch by Thomas Löber (@tloeber).
git-svn-id: https://svn.redmine.org/redmine/trunk@22681
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Go MAEDA [Mon, 5 Feb 2024 07:55:34 +0000 (07:55 +0000)]
Remove trailing whitespaces from test/unit/lib/redmine/unified_diff_test.rb (#31507).
git-svn-id: https://svn.redmine.org/redmine/trunk@22680
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Go MAEDA [Mon, 5 Feb 2024 07:53:11 +0000 (07:53 +0000)]
Ensure tests remain robust against trailing whitespace removal (#31507).
git-svn-id: https://svn.redmine.org/redmine/trunk@22679
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Go MAEDA [Sun, 4 Feb 2024 13:33:27 +0000 (13:33 +0000)]
Hungarian translation update (#33413).
Patch by Greg T (@greggae).
git-svn-id: https://svn.redmine.org/redmine/trunk@22678
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Go MAEDA [Sat, 3 Feb 2024 08:59:26 +0000 (08:59 +0000)]
Add spaces around the slash for consistency and better readability (#40166).
git-svn-id: https://svn.redmine.org/redmine/trunk@22676
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Go MAEDA [Sat, 3 Feb 2024 08:57:06 +0000 (08:57 +0000)]
Internationalize "Check all / Uncheck all" tooltip in project list for admins (#40166).
git-svn-id: https://svn.redmine.org/redmine/trunk@22675
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Go MAEDA [Fri, 2 Feb 2024 00:54:48 +0000 (00:54 +0000)]
Fix click event handling in mobile view after closing flyout menu (#39802).
Patch by salman mp (@salmanmp) and Mizuki ISHIKAWA (@ishikawa999).
git-svn-id: https://svn.redmine.org/redmine/trunk@22670
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Go MAEDA [Thu, 1 Feb 2024 12:33:50 +0000 (12:33 +0000)]
Optimize queries visibility check (#39852).
Patch by Pavel Rosický (@ahorek).
git-svn-id: https://svn.redmine.org/redmine/trunk@22669
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Go MAEDA [Thu, 1 Feb 2024 11:45:48 +0000 (11:45 +0000)]
Fix RuboCop offense Layout/SpaceAroundBlockParameters (#23307).
git-svn-id: https://svn.redmine.org/redmine/trunk@22668
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Go MAEDA [Thu, 1 Feb 2024 08:46:41 +0000 (08:46 +0000)]
Add support for IDN (internationalized domain name) email addresses in user accounts (#29208).
Patch by Go MAEDA (@maeda).
git-svn-id: https://svn.redmine.org/redmine/trunk@22667
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Marius Balteanu [Wed, 31 Jan 2024 03:24:44 +0000 (03:24 +0000)]
Include auth_source in /users API response if request includes auth_source (#23307).
git-svn-id: https://svn.redmine.org/redmine/trunk@22666
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Go MAEDA [Tue, 30 Jan 2024 03:35:12 +0000 (03:35 +0000)]
Update activerecord-sqlserver-adapter to 7.1 (#40148, #36320).
Patch by Yuichi HARADA (@yui.har).
git-svn-id: https://svn.redmine.org/redmine/trunk@22665
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Go MAEDA [Tue, 30 Jan 2024 01:41:38 +0000 (01:41 +0000)]
Fix ScmData.binary? method not to consider UTF-8 text as binary (#40020).
Patch by Go MAEDA (@maeda).
git-svn-id: https://svn.redmine.org/redmine/trunk@22664
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Go MAEDA [Mon, 29 Jan 2024 07:36:54 +0000 (07:36 +0000)]
Extraneous whitespace when selecting and copying issue number on Chrome/Windows (#37390).
Patch by Thomas Löber (@tloeber).
git-svn-id: https://svn.redmine.org/redmine/trunk@22663
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Marius Balteanu [Mon, 29 Jan 2024 01:28:00 +0000 (01:28 +0000)]
Use absolute URL (propshaft default format) for images in application.css from classic theme (#39111).
git-svn-id: https://svn.redmine.org/redmine/trunk@22662
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Marius Balteanu [Mon, 29 Jan 2024 01:21:51 +0000 (01:21 +0000)]
Import application.css in themes using absolute url (#39111).
git-svn-id: https://svn.redmine.org/redmine/trunk@22661
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Marius Balteanu [Mon, 29 Jan 2024 01:16:06 +0000 (01:16 +0000)]
Use absolute URL (propshaft default format) for images in application.css (#39111).
git-svn-id: https://svn.redmine.org/redmine/trunk@22660
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Marius Balteanu [Mon, 29 Jan 2024 01:11:56 +0000 (01:11 +0000)]
Use absolute URL (propshaft default format) for images in rtl and scm css files (#39111).
git-svn-id: https://svn.redmine.org/redmine/trunk@22659
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Marius Balteanu [Mon, 29 Jan 2024 01:05:28 +0000 (01:05 +0000)]
Use absolute URL (propshaft default format) for images in jstoolbar.css (#39111).
git-svn-id: https://svn.redmine.org/redmine/trunk@22658
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Marius Balteanu [Mon, 29 Jan 2024 01:03:17 +0000 (01:03 +0000)]
Ensure url in context_menu css files is absolute (#39111).
git-svn-id: https://svn.redmine.org/redmine/trunk@22657
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Go MAEDA [Sun, 28 Jan 2024 07:32:53 +0000 (07:32 +0000)]
Update Rails to 7.1.3 (#36320).
git-svn-id: https://svn.redmine.org/redmine/trunk@22656
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Go MAEDA [Sun, 28 Jan 2024 00:59:35 +0000 (00:59 +0000)]
Drop FastCGI support (#40092).
git-svn-id: https://svn.redmine.org/redmine/trunk@22655
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Go MAEDA [Sat, 27 Jan 2024 06:23:38 +0000 (06:23 +0000)]
Set TargetRubyVersion of RuboCop to 3.0 (#38585).
git-svn-id: https://svn.redmine.org/redmine/trunk@22654
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Go MAEDA [Sat, 27 Jan 2024 06:18:38 +0000 (06:18 +0000)]
Fix RuboCop offense Style/ArgumentsForwarding (#38585).
git-svn-id: https://svn.redmine.org/redmine/trunk@22653
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Go MAEDA [Sat, 27 Jan 2024 06:06:29 +0000 (06:06 +0000)]
Fix RuboCop offense Style/RedundantFreeze (#38585).
git-svn-id: https://svn.redmine.org/redmine/trunk@22652
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Go MAEDA [Sat, 27 Jan 2024 06:01:10 +0000 (06:01 +0000)]
Fix RuboCop offense Lint/RedundantDirGlobSort (#38585).
git-svn-id: https://svn.redmine.org/redmine/trunk@22651
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Go MAEDA [Sat, 27 Jan 2024 05:43:11 +0000 (05:43 +0000)]
Fix RuboCop offense "Lint/Syntax: invalid escape character syntax" (#38585).
git-svn-id: https://svn.redmine.org/redmine/trunk@22650
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Marius Balteanu [Sat, 27 Jan 2024 03:55:12 +0000 (03:55 +0000)]
Use images generated by the asset pipeline in context_menu CSS files (#39111).
git-svn-id: https://svn.redmine.org/redmine/trunk@22649
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Go MAEDA [Sat, 27 Jan 2024 02:20:50 +0000 (02:20 +0000)]
Drop Ruby 2.7 support (#38585).
git-svn-id: https://svn.redmine.org/redmine/trunk@22648
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Go MAEDA [Sat, 27 Jan 2024 01:47:10 +0000 (01:47 +0000)]
Fix RuboCop offense Layout/SpaceAfterComma (#40099).
git-svn-id: https://svn.redmine.org/redmine/trunk@22647
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Go MAEDA [Sat, 27 Jan 2024 01:44:09 +0000 (01:44 +0000)]
Fix RuboCop offense Layout/EmptyLineAfterMagicComment (#39111).
git-svn-id: https://svn.redmine.org/redmine/trunk@22646
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Go MAEDA [Sat, 27 Jan 2024 01:41:44 +0000 (01:41 +0000)]
Fix RuboCop offense Style/BlockDelimiters, Layout/MultilineBlockLayout, and Layout/BlockEndNewline (#39111).
git-svn-id: https://svn.redmine.org/redmine/trunk@22645
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Go MAEDA [Fri, 26 Jan 2024 08:29:59 +0000 (08:29 +0000)]
Fix RuboCop offense Style/MapToHash (#39111).
git-svn-id: https://svn.redmine.org/redmine/trunk@22644
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Go MAEDA [Fri, 26 Jan 2024 08:19:24 +0000 (08:19 +0000)]
Fix RuboCop offense Style/ReturnNilInPredicateMethodDefinition (#39111).
git-svn-id: https://svn.redmine.org/redmine/trunk@22643
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Go MAEDA [Fri, 26 Jan 2024 08:02:50 +0000 (08:02 +0000)]
Fix RuboCop offense Performance/RedundantEqualityComparisonBlock (#39111).
git-svn-id: https://svn.redmine.org/redmine/trunk@22642
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Marius Balteanu [Fri, 26 Jan 2024 02:52:57 +0000 (02:52 +0000)]
Fix failing test by ignoring the directories that start with a dot (#39111).
git-svn-id: https://svn.redmine.org/redmine/trunk@22641
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Marius Balteanu [Fri, 26 Jan 2024 02:42:09 +0000 (02:42 +0000)]
Removes debug code added in r22638 (#39111).
git-svn-id: https://svn.redmine.org/redmine/trunk@22640
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Marius Balteanu [Fri, 26 Jan 2024 02:39:47 +0000 (02:39 +0000)]
Fixes multiple RuboCop offenses (#39111).
git-svn-id: https://svn.redmine.org/redmine/trunk@22639
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Marius Balteanu [Fri, 26 Jan 2024 02:20:39 +0000 (02:20 +0000)]
Adds debug code to investigate test fail on CI (#39111).
git-svn-id: https://svn.redmine.org/redmine/trunk@22638
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Marius Balteanu [Thu, 25 Jan 2024 16:40:13 +0000 (16:40 +0000)]
Adds user status to users list API (#38948).
git-svn-id: https://svn.redmine.org/redmine/trunk@22637
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Marius Balteanu [Thu, 25 Jan 2024 16:13:08 +0000 (16:13 +0000)]
Include @auth_source@ in /users/:id API response if auth_source is requested (include=auth_source) and request is made by an administrator (#23307).
Patch by Go MAEDA (@maeda) and Marius BĂLTEANU (@marius.balteanu).
git-svn-id: https://svn.redmine.org/redmine/trunk@22636
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Marius Balteanu [Thu, 25 Jan 2024 15:38:39 +0000 (15:38 +0000)]
Remove deprecated @status=@ param used to get all users. @status=*@ should be used now. (#40124).
git-svn-id: https://svn.redmine.org/redmine/trunk@22635
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Marius Balteanu [Thu, 25 Jan 2024 15:31:49 +0000 (15:31 +0000)]
Adds deprecation warning when an empty status param (status=) is used to get all users from API (#40099).
git-svn-id: https://svn.redmine.org/redmine/trunk@22633
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Marius Balteanu [Thu, 25 Jan 2024 07:32:22 +0000 (07:32 +0000)]
Fixes javascript file name by removing ujs reference (#39111).
git-svn-id: https://svn.redmine.org/redmine/trunk@22631
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Marius Balteanu [Thu, 25 Jan 2024 05:45:31 +0000 (05:45 +0000)]
Removes @redmine:plugins:assets@ task which is no longer needed after asset pipeline implementation (#39111).
git-svn-id: https://svn.redmine.org/redmine/trunk@22630
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Marius Balteanu [Thu, 25 Jan 2024 05:44:07 +0000 (05:44 +0000)]
Remove hardcoded version of rails-ujs and include the one provided by the asset pipeline (#39111).
git-svn-id: https://svn.redmine.org/redmine/trunk@22629
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Marius Balteanu [Thu, 25 Jan 2024 05:41:50 +0000 (05:41 +0000)]
Fix tests after asset pipeline implementation (#39111).
Patch by Takashi Kato (@tohosaku).
git-svn-id: https://svn.redmine.org/redmine/trunk@22628
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Marius Balteanu [Thu, 25 Jan 2024 05:40:45 +0000 (05:40 +0000)]
Remove code that is no longer needed as a result of asset pipeline implementation (#39111).
Patch by Takashi Kato (@tohosaku).
git-svn-id: https://svn.redmine.org/redmine/trunk@22627
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Marius Balteanu [Thu, 25 Jan 2024 05:38:33 +0000 (05:38 +0000)]
Add Propshaft library to enable the asset pipeline without modifying existing assets (#39111).
Patch by Takashi Kato (@tohosaku).
git-svn-id: https://svn.redmine.org/redmine/trunk@22626
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Marius Balteanu [Thu, 25 Jan 2024 05:10:51 +0000 (05:10 +0000)]
Restores API compatibility to legacy status when status param is sent blank (@status=@) and it should return all users (#40099).
git-svn-id: https://svn.redmine.org/redmine/trunk@22625
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Marius Balteanu [Thu, 25 Jan 2024 05:08:12 +0000 (05:08 +0000)]
Enable "any" and "none" operators for status filter in User listing (#40099).
Patch by Jens Krämer (@jkraemer).
git-svn-id: https://svn.redmine.org/redmine/trunk@22624
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Marius Balteanu [Thu, 25 Jan 2024 04:58:00 +0000 (04:58 +0000)]
Add test cases for @status=*@, @status=@ and @status=|1|3@ (#40099).
Patch by Jens Krämer (@jkraemer) and Marius BĂLTEANU (@marius.balteanu).
git-svn-id: https://svn.redmine.org/redmine/trunk@22623
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Go MAEDA [Wed, 24 Jan 2024 02:49:38 +0000 (02:49 +0000)]
Remove unnecessary use of instance variables in CSV and Atom response handlers (#32985).
Contributed by Ko Nagase (@sanak).
git-svn-id: https://svn.redmine.org/redmine/trunk@22622
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Go MAEDA [Wed, 24 Jan 2024 02:32:44 +0000 (02:32 +0000)]
Fix RuboCop offense Layout/EmptyLinesAroundModuleBody (#38975).
git-svn-id: https://svn.redmine.org/redmine/trunk@22621
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Go MAEDA [Wed, 24 Jan 2024 02:29:55 +0000 (02:29 +0000)]
Fix RuboCop offense Layout/EmptyLineAfterMagicComment (#38975).
git-svn-id: https://svn.redmine.org/redmine/trunk@22620
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Marius Balteanu [Tue, 23 Jan 2024 11:52:38 +0000 (11:52 +0000)]
Use ApplicationRecord instead of ActiveRecord::Base (#38975).
Patch by Minoru Maeda (@maeda-m).
git-svn-id: https://svn.redmine.org/redmine/trunk@22619
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Marius Balteanu [Tue, 23 Jan 2024 01:23:29 +0000 (01:23 +0000)]
Use @image_url@ for @favicon_url@ (#40087).
Patch by Go Maeda (@maeda).
git-svn-id: https://svn.redmine.org/redmine/trunk@22618
e93f8b46 -1217-0410-a6f0-
8f06a7374b81