1
0
mirror of https://github.com/meineerde/redmine.git synced 2025-12-27 10:51:15 +00:00

8343 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
Go MAEDA
52a55f407b Replace String#sub with delete_prefix / delete_suffix (#40008).
Patch by Go MAEDA (@maeda).


git-svn-id: https://svn.redmine.org/redmine/trunk@22596 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-01-08 01:04:37 +00:00
Go MAEDA
f7d2f9f00b Support localized decimal separators for hours in the web UI (#21677).
Patch by Go MAEDA (@maeda).


git-svn-id: https://svn.redmine.org/redmine/trunk@22593 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-01-04 07:01:09 +00:00
Go MAEDA
1ab44859fe Support localized decimal separators for float values (#22024).
Patch by Liane Hampe (@liane_hampe).


git-svn-id: https://svn.redmine.org/redmine/trunk@22592 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-01-04 06:55:14 +00:00
Go MAEDA
02fbe55855 Optimize Project#notified_users to improve issue create/update speed (#23328).
Patch by Holger Just (@hjust).


git-svn-id: https://svn.redmine.org/redmine/trunk@22590 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-01-04 01:23:25 +00:00
Marius Balteanu
fe9fd97f6d Explicitly render a 404 on non-JS requests to messages#quote (#39999).
Patch by Holger Just (@hjust).

git-svn-id: https://svn.redmine.org/redmine/trunk@22584 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-01-03 01:19:25 +00:00
Go MAEDA
73477b41eb Fix "any" operator for text filters to exclude empty text values (#39991).
Patch by Go MAEDA (@maeda).


git-svn-id: https://svn.redmine.org/redmine/trunk@22583 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-01-02 00:41:00 +00:00