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

8367 Commits

Author SHA1 Message Date
Go MAEDA
fb9bc74dd4 Fix RuboCop offense Style/RedundantSelfAssignment (#40412).
git-svn-id: https://svn.redmine.org/redmine/trunk@22826 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-05-13 07:45:20 +00:00
Marius Balteanu
47099ccd3a Fixes issue list filter "Watched by: me" only shows issues watched via group for projects with the @view_issue_watchers@ permission (#40412).
git-svn-id: https://svn.redmine.org/redmine/trunk@22819 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-05-11 08:35:27 +00:00
Marius Balteanu
b4bfb6b581 Replaces use of Digest::MD5 / Digest::SHA1 with ActiveSupport::Digest (#35217).
Patch by Jens Krämer (@jkraemer).

git-svn-id: https://svn.redmine.org/redmine/trunk@22816 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-05-07 18:36:46 +00:00
Marius Balteanu
8b57ffc3c7 Adds the date of the last activity to the list of available columns for Projects (#23954).
Patch by Frederico Camara (@fredsdc) and Marius BĂLTEANU (@marius.balteanu).

git-svn-id: https://svn.redmine.org/redmine/trunk@22811 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-05-03 13:14:18 +00:00
Marius Balteanu
1a96ee225d Fixes RuboCop offense Performance/Sum (#24457, #4682).
git-svn-id: https://svn.redmine.org/redmine/trunk@22805 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-05-02 21:35:16 +00:00
Marius Balteanu
cd8d4fe444 Progress of version should be calculated the same way as parent tasks (#24457, #4682).
git-svn-id: https://svn.redmine.org/redmine/trunk@22803 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-05-02 20:58:03 +00:00
Go MAEDA
6f82abf463 Fix RuboCop offense Style/SuperWithArgsParentheses (#37862).
git-svn-id: https://svn.redmine.org/redmine/trunk@22801 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-05-01 09:21:47 +00:00
Marius Balteanu
6fa12a95ab Adds estimated remaining hours issue query column calculated based on estimated time and done ratio (#37862).
Patch by Jens Krämer (@jkraemer).

git-svn-id: https://svn.redmine.org/redmine/trunk@22800 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-05-01 07:49:29 +00:00
Marius Balteanu
61c7d539dc Adds Watcher list to the list of available query columns for issues (#29894).
Patch by Felix Schäfer (@felix).

git-svn-id: https://svn.redmine.org/redmine/trunk@22793 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-04-28 07:26:29 +00:00
Marius Balteanu
ab2f00f2eb Fixes that watcher groups on new issue form get dereferenced on validation error (#40410, #40555).
Patch by Felix Schäfer (@felix) and Kenta Kumojima (@kumojima).

git-svn-id: https://svn.redmine.org/redmine/trunk@22792 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-04-28 07:12:32 +00:00
Marius Balteanu
f94370962a Focus on the textarea after clicking the Edit Journal button (#40556).
Patch by Yasu Saku (@skys).

git-svn-id: https://svn.redmine.org/redmine/trunk@22791 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-04-28 06:53:52 +00:00
Marius Balteanu
b5c48c1d97 Adds an option to send email notification when an attachment is added (#40569).
Patch by  Mizuki ISHIKAWA (#ishikawa999).

git-svn-id: https://svn.redmine.org/redmine/trunk@22790 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-04-28 06:40:12 +00:00
Go MAEDA
e4fcfc6990 Fix issue where descriptions in the issues list ignore CommonMark Markdown table alignment (#40515).
Contributed by Takenori TAKAKI (@takenory).


git-svn-id: https://svn.redmine.org/redmine/trunk@22787 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-04-23 02:58:55 +00:00
Marius Balteanu
d03009e9a0 Fix incorrect icon image path for DatePicker button (#40559, #39111).
Patch by Katsuya HIDAKA (hidakatsuya).

git-svn-id: https://svn.redmine.org/redmine/trunk@22784 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-04-16 18:58:45 +00:00
Marius Balteanu
49b7b30c5d Fix incorrect icon image paths on Textile help page (#40559, #40137, #39111).
Patch by Katsuya HIDAKA (hidakatsuya).

git-svn-id: https://svn.redmine.org/redmine/trunk@22783 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-04-16 18:57:48 +00:00
Marius Balteanu
9184e1f998 Fix incorrect icon image paths on Markdown help page (#40559, #40137, #39111).
Patch by Katsuya HIDAKA (hidakatsuya).

git-svn-id: https://svn.redmine.org/redmine/trunk@22782 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-04-16 18:56:59 +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
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
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
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
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
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
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
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
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
Go MAEDA
b61ee85e4d 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
2024-02-08 00:57:07 +00:00
Marius Balteanu
34f1c52e23 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
2024-02-07 20:55:00 +00:00
Marius Balteanu
a0035ba52a Includes favicon in assets pipeline (#39111).
git-svn-id: https://svn.redmine.org/redmine/trunk@22692 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-02-07 20:41:23 +00:00
Go MAEDA
cb6a1ec9ea 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
2024-02-07 04:27:01 +00:00
Go MAEDA
ca64a92f1a 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
2024-02-03 08:59:26 +00:00
Go MAEDA
5d324bdd45 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
2024-02-03 08:57:06 +00:00
Go MAEDA
164153e819 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
2024-02-01 12:33:50 +00:00
Go MAEDA
4517a4684e 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
2024-02-01 08:46:41 +00:00
Marius Balteanu
c1fa75386c 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
2024-01-31 03:24:44 +00:00
Go MAEDA
2829ba6c57 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
2024-01-29 07:36:54 +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