Commit Graph

18279 Commits

Author SHA1 Message Date
Go MAEDA
7ed8183290 Remove redundant ApplicationHelper inclusions (#40506).
Patch by Takuya Kodama (@otegami).


git-svn-id: https://svn.redmine.org/redmine/trunk@22777 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-04-02 09:18:12 +00:00
Go MAEDA
17d15a7f6b Update RuboCop Performance to 1.21 (#39888).
git-svn-id: https://svn.redmine.org/redmine/trunk@22776 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-03-31 01:25:50 +00:00
Marius Balteanu
466a8aa78e Fixes missing fixture: add :groups_users fixture to @Redmine::ApiTest::UsersTest@
git-svn-id: https://svn.redmine.org/redmine/trunk@22774 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-03-21 21:12:26 +00:00
Go MAEDA
c3fe224762 Update RuboCop Rails to 2.24 (#39889).
git-svn-id: https://svn.redmine.org/redmine/trunk@22772 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-03-08 07:24:33 +00:00
Go MAEDA
bcb2ebb6a0 Fix RuboCop offense Layout/SpaceInsideStringInterpolation (#39111, #40137).
git-svn-id: https://svn.redmine.org/redmine/trunk@22771 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-03-08 07:13:18 +00:00
Go MAEDA
4506524ea5 Revert r22764 (#33829).
It breaks activities_controller_test.rb.


git-svn-id: https://svn.redmine.org/redmine/trunk@22770 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-03-06 14:09:21 +00:00
Marius Balteanu
fb449c77bc Updates for 5.1.2 release.
git-svn-id: https://svn.redmine.org/redmine/trunk@22765 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-03-04 19:43:56 +00:00
Go MAEDA
c94d7c5a57 Fix Atom feed for issues to correctly use the updated time for "updated" element instead of the created time (#33829).
Patch by Go MAEDA.


git-svn-id: https://svn.redmine.org/redmine/trunk@22764 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-03-04 14:25:49 +00:00
Marius Balteanu
e1ffdb2316 Fix rubocop warning (#38975).
git-svn-id: https://svn.redmine.org/redmine/trunk@22759 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-03-03 22:27:07 +00:00
Marius Balteanu
805e51464e Fix rubocop warning (#39995).
git-svn-id: https://svn.redmine.org/redmine/trunk@22758 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-03-03 22:26:24 +00:00
Marius Balteanu
54aa810240 Fix rubocop warning (#39111, #40137).
git-svn-id: https://svn.redmine.org/redmine/trunk@22757 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-03-03 22:24:58 +00:00
Marius Balteanu
18cb44684b Introduces Redmine::Plugin#attachment_object_type to provide better API for registering plugin models having attachments (#39948, #39862).
Patch by Jens Krämer (@jkraemer).

git-svn-id: https://svn.redmine.org/redmine/trunk@22747 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-02-27 07:06:47 +00:00
Marius Balteanu
38d950df55 Remove current year from source file copyright headers and update year in footer to 2024 (#40043).
git-svn-id: https://svn.redmine.org/redmine/trunk@22746 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-02-26 22:55:54 +00:00
Marius Balteanu
d757b4aea7 Update condition to check for @view_issues@ permission (#39995).
Patch by Holger Just (@hjust).

git-svn-id: https://svn.redmine.org/redmine/trunk@22745 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-02-26 22:16:48 +00:00
Marius Balteanu
127331d58f Adds Tamil translations for CommonMark wiki syntax help files (#39751).
Path by Dhana Lakshmi (@dhanalakshmi).

git-svn-id: https://svn.redmine.org/redmine/trunk@22742 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-02-26 22:06:27 +00:00
Marius Balteanu
dd2f80bd24 Fixes error in autocomplete (@ActionController::BadRequest (Invalid query parameters: invalid %-encoding (%)@) (#40237).
Patch by Abe Tomoaki (@abetomo).

git-svn-id: https://svn.redmine.org/redmine/trunk@22740 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-02-26 21:32:54 +00:00
Marius Balteanu
0c31799517 Subprojects checkbox should be shown in Activity and Roadmap sidebars only if the project has visible descendants (#39995).
Patch by Holger Just (@hjust) and Marius BALTEANU (@marius.balteanu).

git-svn-id: https://svn.redmine.org/redmine/trunk@22739 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-02-26 21:14:47 +00:00
Marius Balteanu
16504df934 Reverts r22656 until Rails 7.1.4 is released (#36320).
git-svn-id: https://svn.redmine.org/redmine/trunk@22736 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-02-26 06:17:08 +00:00
Marius Balteanu
89e1d165a9 Adds @:user_preference@ fixture to @Redmine::ApiTest::IssuesTest@ (#40239).
Patch by Vincent Robert (@Nanego).

git-svn-id: https://svn.redmine.org/redmine/trunk@22734 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-02-25 23:22:02 +00:00
Marius Balteanu
7ad881aeb4 Use @assert_select@ to assert text from h1 element of wiki syntax pages (#39111, #40137).
git-svn-id: https://svn.redmine.org/redmine/trunk@22733 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-02-25 21:42:51 +00:00
Marius Balteanu
eef8f625c8 Adds route for code highlighting languages page (#39111, #40137).
git-svn-id: https://svn.redmine.org/redmine/trunk@22732 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-02-25 21:41:14 +00:00
Marius Balteanu
0d9700268a Add tests for @HelpController@ (#39111, #40137).
git-svn-id: https://svn.redmine.org/redmine/trunk@22731 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-02-25 20:53:52 +00:00
Marius Balteanu
e002d26e55 Add tests for @/help/wiki_syntax@ route (#39111, #40137).
git-svn-id: https://svn.redmine.org/redmine/trunk@22730 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-02-25 20:12:27 +00:00
Marius Balteanu
259a394513 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
2024-02-21 06:36:06 +00:00
Marius Balteanu
381124b03e Cleanup empty directories (#39111, #40137).
git-svn-id: https://svn.redmine.org/redmine/trunk@22728 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-02-19 21:37:48 +00:00
Marius Balteanu
c557cbfaa2 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
2024-02-19 21:28:05 +00:00
Marius Balteanu
f664f9152b 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
2024-02-19 21:09:59 +00:00
Marius Balteanu
d335dc5a3c Includes CSS files from the asset pipeline (#39111, #40137).
git-svn-id: https://svn.redmine.org/redmine/trunk@22725 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-02-19 21:03:45 +00:00
Marius Balteanu
a46ed1aa71 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
2024-02-19 21:02:39 +00:00
Marius Balteanu
9490154ec5 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
2024-02-19 21:00:46 +00:00
Marius Balteanu
4607e90b43 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
2024-02-19 20:58:13 +00:00
Marius Balteanu
56f3a4dac3 * 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
2024-02-19 20:54:01 +00:00
Marius Balteanu
e80a8bd877 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
2024-02-19 20:51:34 +00:00
Marius Balteanu
74a691de19 * 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
2024-02-19 20:41:41 +00:00
Marius Balteanu
ec77fe4e3a Reverts r22717 (#39111, #40137).
git-svn-id: https://svn.redmine.org/redmine/trunk@22718 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-02-19 20:28:15 +00:00
Marius Balteanu
609cc9221e * 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
2024-02-19 20:24:33 +00:00
Marius Balteanu
2ead468f5b Add svn:ignore property on new themes directory (#39111).
git-svn-id: https://svn.redmine.org/redmine/trunk@22716 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-02-18 19:39:08 +00:00
Go MAEDA
00786eb7a3 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
2024-02-15 12:22:22 +00:00
Go MAEDA
e8c373e559 Remove an empty file (#40190).
git-svn-id: https://svn.redmine.org/redmine/trunk@22713 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-02-14 01:48:05 +00:00
Marius Balteanu
4df8e5f7f1 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
2024-02-13 23:26:33 +00:00
Marius Balteanu
f1f3f86c60 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
2024-02-13 23:23:00 +00:00
Marius Balteanu
b010054d69 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
2024-02-13 23:17:09 +00:00
Marius Balteanu
353ac52d47 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
2024-02-13 23:13:49 +00:00
Marius Balteanu
9155b777e6 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
2024-02-13 23:11:28 +00:00
Marius Balteanu
17a0ec4c9a 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
2024-02-13 22:58:30 +00:00
Marius Balteanu
f486091b24 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
2024-02-13 22:54:36 +00:00
Marius Balteanu
437e46aa45 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
2024-02-13 22:14:34 +00:00
Marius Balteanu
d896a2d546 Fix failing tests related to favicon after r22692 (#39111).
git-svn-id: https://svn.redmine.org/redmine/trunk@22704 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-02-13 21:55:57 +00:00
Go MAEDA
854d19cc9f 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
2024-02-12 06:58:41 +00:00
Marius Balteanu
32cf059bfe Remove appveyor.yml (#40211).
Patch by Go MAEDA (maeda).

git-svn-id: https://svn.redmine.org/redmine/trunk@22702 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-02-10 10:32:44 +00:00