1
0
mirror of https://github.com/meineerde/redmine.git synced 2025-10-17 17:01:01 +00:00

18140 Commits

Author SHA1 Message Date
Go MAEDA
ae971404cc Fix RuboCop offense Lint/RedundantDirGlobSort (#38585).
git-svn-id: https://svn.redmine.org/redmine/trunk@22651 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-01-27 06:01:10 +00:00
Go MAEDA
bac1e2213a 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
2024-01-27 05:43:11 +00:00
Marius Balteanu
f3021e67ad 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
2024-01-27 03:55:12 +00:00
Go MAEDA
f54defe80c Drop Ruby 2.7 support (#38585).
git-svn-id: https://svn.redmine.org/redmine/trunk@22648 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-01-27 02:20:50 +00:00
Go MAEDA
4b1b6ce1db Fix RuboCop offense Layout/SpaceAfterComma (#40099).
git-svn-id: https://svn.redmine.org/redmine/trunk@22647 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-01-27 01:47:10 +00:00
Go MAEDA
7c1d3b6740 Fix RuboCop offense Layout/EmptyLineAfterMagicComment (#39111).
git-svn-id: https://svn.redmine.org/redmine/trunk@22646 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-01-27 01:44:09 +00:00
Go MAEDA
352decdb1e 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
2024-01-27 01:41:44 +00:00
Go MAEDA
a547662ad0 Fix RuboCop offense Style/MapToHash (#39111).
git-svn-id: https://svn.redmine.org/redmine/trunk@22644 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-01-26 08:29:59 +00:00
Go MAEDA
14e35236ad Fix RuboCop offense Style/ReturnNilInPredicateMethodDefinition (#39111).
git-svn-id: https://svn.redmine.org/redmine/trunk@22643 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-01-26 08:19:24 +00:00
Go MAEDA
f6db14c733 Fix RuboCop offense Performance/RedundantEqualityComparisonBlock (#39111).
git-svn-id: https://svn.redmine.org/redmine/trunk@22642 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-01-26 08:02:50 +00:00
Marius Balteanu
71620e9048 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
2024-01-26 02:52:57 +00:00
Marius Balteanu
8d26675083 Removes debug code added in r22638 (#39111).
git-svn-id: https://svn.redmine.org/redmine/trunk@22640 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-01-26 02:42:09 +00:00
Marius Balteanu
9b271611f7 Fixes multiple RuboCop offenses (#39111).
git-svn-id: https://svn.redmine.org/redmine/trunk@22639 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-01-26 02:39:47 +00:00
Marius Balteanu
c88bcfbbee 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
2024-01-26 02:20:39 +00:00
Marius Balteanu
1e71db421a Adds user status to users list API (#38948).
git-svn-id: https://svn.redmine.org/redmine/trunk@22637 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-01-25 16:40:13 +00:00
Marius Balteanu
479c54bf1d 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
2024-01-25 16:13:08 +00:00
Marius Balteanu
5676499ceb 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
2024-01-25 15:38:39 +00:00
Marius Balteanu
7ad46f7e04 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
2024-01-25 15:31:49 +00:00
Marius Balteanu
fcad042ed3 Fixes javascript file name by removing ujs reference (#39111).
git-svn-id: https://svn.redmine.org/redmine/trunk@22631 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-01-25 07:32:22 +00:00
Marius Balteanu
63b89a254c 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
2024-01-25 05:45:31 +00:00
Marius Balteanu
308e1c522f 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
2024-01-25 05:44:07 +00:00
Marius Balteanu
88a8234513 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
2024-01-25 05:41:50 +00:00
Marius Balteanu
e07452e921 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
2024-01-25 05:40:45 +00:00
Marius Balteanu
c99bb27e27 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
2024-01-25 05:38:33 +00:00
Marius Balteanu
f803778cde 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
2024-01-25 05:10:51 +00:00
Marius Balteanu
60adf42c08 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
2024-01-25 05:08:12 +00:00
Marius Balteanu
c196f4e2b9 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
2024-01-25 04:58:00 +00:00
Go MAEDA
63391766a9 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
2024-01-24 02:49:38 +00:00
Go MAEDA
84c1558be3 Fix RuboCop offense Layout/EmptyLinesAroundModuleBody (#38975).
git-svn-id: https://svn.redmine.org/redmine/trunk@22621 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-01-24 02:32:44 +00:00
Go MAEDA
8a0bbe3d1d Fix RuboCop offense Layout/EmptyLineAfterMagicComment (#38975).
git-svn-id: https://svn.redmine.org/redmine/trunk@22620 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-01-24 02:29:55 +00:00
Marius Balteanu
13aeb797cf 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
2024-01-23 11:52:38 +00:00
Marius Balteanu
28061fbcdb 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
2024-01-23 01:23:29 +00:00
Marius Balteanu
2cd7198dc8 Reverts r22439 (#35189).
git-svn-id: https://svn.redmine.org/redmine/trunk@22617 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-01-23 01:17:25 +00:00
Marius Balteanu
c517664985 Reverts r22438 (#35189).
git-svn-id: https://svn.redmine.org/redmine/trunk@22616 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-01-23 01:05:38 +00:00
Go MAEDA
6ea1fd551d Remove backported Rack::RewindableInput.size method due to Rack 3.0 migration (#36320).
git-svn-id: https://svn.redmine.org/redmine/trunk@22615 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-01-21 03:58:09 +00:00
Go MAEDA
a004863ce8 Update RuboCop to 1.60 (#39887).
git-svn-id: https://svn.redmine.org/redmine/trunk@22614 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-01-18 01:43:51 +00:00
Go MAEDA
f9f183a4c9 Regenerate .rubocop_todo.yml (#39887).
git-svn-id: https://svn.redmine.org/redmine/trunk@22613 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-01-18 01:36:46 +00:00
Go MAEDA
c452f00763 Fix RuboCop offense Style/ArgumentsForwarding (#39887).
git-svn-id: https://svn.redmine.org/redmine/trunk@22612 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-01-18 01:31:55 +00:00
Go MAEDA
77ec59cd50 Update csv, net-imap, and net-smtp gems to the same versions shipped with Ruby 3.3.0 (#39761).
git-svn-id: https://svn.redmine.org/redmine/trunk@22611 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-01-17 03:00:03 +00:00
Marius Balteanu
e749ac5136 Fix query columns selection in custom query form (#39806).
Patch by Mizuki ISHIKAWA.

git-svn-id: https://svn.redmine.org/redmine/trunk@22610 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-01-17 00:50:02 +00:00
Go MAEDA
6f4357b0a7 Add Ruby 3.3 to supported Ruby versions (#39761).
git-svn-id: https://svn.redmine.org/redmine/trunk@22609 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-01-17 00:19:03 +00:00
Marius Balteanu
dc1f6002a0 Fix query columns selection in time tracking settings page from admin (#39806).
Patch by Mizuki ISHIKAWA.

git-svn-id: https://svn.redmine.org/redmine/trunk@22608 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-01-16 16:48:39 +00:00
Marius Balteanu
bf129f0387 Indentation fixes (#39806).
Patch by Jens Krämer.

git-svn-id: https://svn.redmine.org/redmine/trunk@22607 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-01-16 16:47:17 +00:00
Marius Balteanu
c33bad5031 Fix query columns selection in admin and my page (#39806).
Patch by Jens Krämer.

git-svn-id: https://svn.redmine.org/redmine/trunk@22606 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-01-16 16:35:00 +00:00
Go MAEDA
5b77092be4 Replace regular expression matches with String#start_with? / end_with? (#40010).
Patch by Go MAEDA (@maeda).


git-svn-id: https://svn.redmine.org/redmine/trunk@22605 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-01-11 11:27:25 +00:00
Marius Balteanu
b57a3a187c Remove copyright headers from tribute.css file (#37730).
git-svn-id: https://svn.redmine.org/redmine/trunk@22604 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-01-11 08:13:17 +00:00
Marius Balteanu
f09d991991 Shorten copyright headers for JS files (#37730).
git-svn-id: https://svn.redmine.org/redmine/trunk@22603 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-01-11 06:37:49 +00:00
Marius Balteanu
bdec8a3a24 Shorten copyright headers for JS toolbar files (#37730).
git-svn-id: https://svn.redmine.org/redmine/trunk@22602 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-01-11 06:36:47 +00:00
Marius Balteanu
277b79f9f5 Shorten copyright headers for css files (#37730).
git-svn-id: https://svn.redmine.org/redmine/trunk@22601 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-01-11 06:32:08 +00:00
Marius Balteanu
c83c6a6750 Remove wrong copyright headers from acts_as_tree plugin (#37730).
git-svn-id: https://svn.redmine.org/redmine/trunk@22600 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-01-11 06:22:37 +00:00