Commit Graph

8823 Commits

Author SHA1 Message Date
Marius Balteanu
a524967fbc Adds the :use_webhooks permission in order to allow users to use webhooks only in projects where they have this permission. This is checked when a hook is saved, and before a hook runs (#29664).
Patch by Jens Krämer (user:jkraemer).



git-svn-id: https://svn.redmine.org/redmine/trunk@24035 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-10-07 06:51:33 +00:00
Marius Balteanu
d90d192f48 Introduces issue webhooks (#29664):
* users can set up hooks for issue creation, update and deletion events, for any number of projects
* hooks run in the context of the creating user, and only if the object in question is visible to that user
* the actual HTTP call is done in ActiveJob
* webhook calls are optionally signed the same way GitHub does

Patch by Jens Krämer (user:jkraemer).



git-svn-id: https://svn.redmine.org/redmine/trunk@24034 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-10-07 06:49:14 +00:00
Marius Balteanu
4837c0fbe3 Replaces the use of text_area with textarea (#43276).
git-svn-id: https://svn.redmine.org/redmine/trunk@24030 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-10-06 22:45:02 +00:00
Marius Balteanu
c1bb1edefb Removes deprecated CSS styles related to the legacy icons (#43206).
git-svn-id: https://svn.redmine.org/redmine/trunk@24029 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-10-06 21:01:29 +00:00
Go MAEDA
91ea0305b9 Improve visual distinction of link presence in SVG icons (#43280).
Patch by Go MAEDA (user:maeda).


git-svn-id: https://svn.redmine.org/redmine/trunk@24026 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-10-02 22:41:07 +00:00
Go MAEDA
6d2d02b7dd Replace rgb color values with Open Color rgb variables (#43256).
git-svn-id: https://svn.redmine.org/redmine/trunk@24025 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-10-02 08:03:56 +00:00
Go MAEDA
1051968f04 Replace hex color codes with Open Color variables in Wiki syntax help CSS files (#43256).
Patch by Go MAEDA (user:maeda).


git-svn-id: https://svn.redmine.org/redmine/trunk@24023 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-09-29 23:51:14 +00:00
Go MAEDA
851e303b2c Replace hex color codes with Open Color variables in application CSS files (#43256).
Patch by Go MAEDA (user:maeda).


git-svn-id: https://svn.redmine.org/redmine/trunk@24022 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-09-29 23:49:54 +00:00
Go MAEDA
cca7d9c7df Add Open Color CSS for consistent UI color scheme (#43256).
Patch by Go MAEDA (user:maeda).


git-svn-id: https://svn.redmine.org/redmine/trunk@24021 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-09-29 23:48:30 +00:00
Marius Balteanu
be07d4d01d Fixes "ArgumentError: wrong number of arguments (given 0, expected 1) in ApplicationController#find_model_object" in Rails 8 (#43205, #43230).
Patch by Katsuya HIDAKA (user:hidakatsuya).


git-svn-id: https://svn.redmine.org/redmine/trunk@24017 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-09-28 21:20:39 +00:00
Go MAEDA
3932ddc28c Remove unused files related to the quote reply feature (#43257).
Patch by Katsuya HIDAKA (user:hidakatsuya).


git-svn-id: https://svn.redmine.org/redmine/trunk@24015 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-09-28 01:43:31 +00:00
Go MAEDA
028b5f0ef0 Remove unused styles for div.action_M, div.action_D, and div.action_A (#43247).
Patch by Go MAEDA (user:maeda).


git-svn-id: https://svn.redmine.org/redmine/trunk@24014 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-09-26 10:56:11 +00:00
Go MAEDA
c8710e4b32 Remove unused style for div#issue-changesets (#43246).
Patch by Go MAEDA (user:maeda).


git-svn-id: https://svn.redmine.org/redmine/trunk@24012 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-09-24 09:20:03 +00:00
Go MAEDA
f1c8b370ff Remove unused style for td.revision_graph (#43244).
Patch by Go MAEDA (user:maeda).


git-svn-id: https://svn.redmine.org/redmine/trunk@24011 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-09-24 05:28:41 +00:00
Marius Balteanu
368a1532fd Fixes typo in JavaScript function name 'toggleExpendCollapseIcon' (#42408).
git-svn-id: https://svn.redmine.org/redmine/trunk@24010 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-09-21 20:41:31 +00:00
Marius Balteanu
0da90f00e1 Support automatic list marker insertion in textareas (#43095).
Patch by Mizuki ISHIKAWA (user:ishikawa999).



git-svn-id: https://svn.redmine.org/redmine/trunk@24003 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-09-21 16:42:07 +00:00
Marius Balteanu
98e7abfd06 Updates default avatar color scheme to open color (#43227, #29824).
Patch by Go MAEDA (user:maeda).


git-svn-id: https://svn.redmine.org/redmine/trunk@23992 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-09-21 09:26:25 +00:00
Marius Balteanu
d39ff6e666 Adds button to copy API access key to clipboard.
Patch by Mizuki ISHIKAWA (user:ishikawa999).



git-svn-id: https://svn.redmine.org/redmine/trunk@23991 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-09-20 07:41:50 +00:00
Go MAEDA
7c2d967bb1 Unify Activity date header color with the newly introduced issue journal header style (#43221).
Patch by Go MAEDA (user:maeda).


git-svn-id: https://svn.redmine.org/redmine/trunk@23990 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-09-20 03:28:05 +00:00
Marius Balteanu
cb4c41a4cc Replace ajax-indicator loading icon with SVG (#42966).
Patch by Mizuki ISHIKAWA (user:ishikawa999) committed with slight changes.

git-svn-id: https://svn.redmine.org/redmine/trunk@23988 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-09-18 19:03:23 +00:00
Marius Balteanu
81ee533651 Replaces loading and hourglass icons with SVG versions rendered in HTML on attachment upload (#42966).
Patch by Mizuki ISHIKAWA (user:ishikawa999).

git-svn-id: https://svn.redmine.org/redmine/trunk@23987 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-09-18 19:01:05 +00:00
Marius Balteanu
4cad9613d0 Reverts r23984 and r23985 due to wrong issue ID (#34709).
git-svn-id: https://svn.redmine.org/redmine/trunk@23986 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-09-18 18:57:36 +00:00
Marius Balteanu
544a4881ce Replace ajax-indicator loading icon with SVG (#34709).
Patch by Mizuki ISHIKAWA (user:ishikawa999).

git-svn-id: https://svn.redmine.org/redmine/trunk@23985 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-09-18 18:36:16 +00:00
Marius Balteanu
d59caced27 Replace loading and hourglass icons with SVG versions rendered in HTML on attachment upload (#34709).
Patch by Mizuki ISHIKAWA (user:ishikawa999).

git-svn-id: https://svn.redmine.org/redmine/trunk@23984 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-09-18 18:33:47 +00:00
Go MAEDA
d457914738 Update Textile help with Japanese translation of recent_pages macro from CommonMark Markdown help (#43215).
Patch by Takashi Kato (user:tohosaku).


git-svn-id: https://svn.redmine.org/redmine/trunk@23983 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-09-18 07:43:38 +00:00
Go MAEDA
13679b22a9 Add Japanese CommonMark Markdown help (#43215).
Patch by Takashi Kato (user:tohosaku).


git-svn-id: https://svn.redmine.org/redmine/trunk@23982 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-09-18 07:20:16 +00:00
Go MAEDA
f465577b78 Improve consistency and visibility of reaction buttons with reactions (#42630).
Patch by Katsuya HIDAKA (user:hidakatsuya).


git-svn-id: https://svn.redmine.org/redmine/trunk@23980 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-09-18 06:36:41 +00:00
Go MAEDA
be78fbb34c Replace multiple projects.status <> ... conditions with projects.status IN (...) for optimizer-friendliness in Project.allowed_to_condition (#43214).
Patch by Go MAEDA (user:maeda).


git-svn-id: https://svn.redmine.org/redmine/trunk@23979 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-09-17 01:02:16 +00:00
Go MAEDA
7d6224979f Reduce requests for issue ID, username, and Wiki page name autocomplete with debounce (#43208).
Patch by Katsuya HIDAKA (user:hidakatsuya).


git-svn-id: https://svn.redmine.org/redmine/trunk@23978 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-09-16 23:41:08 +00:00
Marius Balteanu
7b5eeb0cb4 Adds missing documentation for issue macro to fr and ru languages (#43204).
git-svn-id: https://svn.redmine.org/redmine/trunk@23975 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-09-13 08:56:58 +00:00
Marius Balteanu
b21e0513aa Adds documentation for recent_pages macro (#38501).
git-svn-id: https://svn.redmine.org/redmine/trunk@23974 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-09-13 08:51:04 +00:00
Go MAEDA
8b5562d350 Fix responsive layout issue when table headers are enabled in related and sub-issues lists (#42477, #43168).
Patch by Mizuki ISHIKAWA (user:ishikawa999).


git-svn-id: https://svn.redmine.org/redmine/trunk@23972 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-09-11 11:45:08 +00:00
Go MAEDA
e1129f237d Adjust scrolling to keep Edit heading visible (#42684, #43143).
Patch by Mizuki ISHIKAWA (user:ishikawa999).


git-svn-id: https://svn.redmine.org/redmine/trunk@23970 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-09-11 04:05:19 +00:00
Go MAEDA
8b0c5c0ba5 Improve spacing of checkboxes in CSV export options dialog (#43196).
Patch by Katsuya HIDAKA (user:hidakatsuya).


git-svn-id: https://svn.redmine.org/redmine/trunk@23969 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-09-11 03:39:21 +00:00
Marius Balteanu
f78c463043 Offer %done values in issue context menu based on Done ratio options interval setting (#43192).
Patch by Holger Just (user:hjust).

git-svn-id: https://svn.redmine.org/redmine/trunk@23959 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-09-08 19:58:19 +00:00
Marius Balteanu
2d44c48657 Makes 'auto watch issues' default user settings configurable (#42880).
Patch by Jan Catrysse (user:jcatrysse).

git-svn-id: https://svn.redmine.org/redmine/trunk@23956 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-09-07 08:02:04 +00:00
Marius Balteanu
5aba17319d Display group avatar on white background in avatar-child (#29824).
git-svn-id: https://svn.redmine.org/redmine/trunk@23955 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-09-07 07:00:21 +00:00
Marius Balteanu
343a2b4f2e Adds specific classes for anonymous and group avatars (#29824).
git-svn-id: https://svn.redmine.org/redmine/trunk@23954 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-09-07 06:59:25 +00:00
Marius Balteanu
283a7ed07a Mark accounts#register with Cache-Control: no-store (#42998).
Patch by Holger Just (user:hjust).

git-svn-id: https://svn.redmine.org/redmine/trunk@23947 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-09-07 06:21:11 +00:00
Marius Balteanu
66021a5be2 Reverts r23943 due to wrong commit message (#42998).
git-svn-id: https://svn.redmine.org/redmine/trunk@23946 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-09-07 06:20:12 +00:00
Marius Balteanu
bd034751bf Clear non-editable custom fields when creating an issue (43161).
This ensures that only editable custom fields are saved on a new issue
when copying an existing one. 

Patch by Holger Just (user:hjust).

git-svn-id: https://svn.redmine.org/redmine/trunk@23945 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-09-07 06:18:55 +00:00
Marius Balteanu
686f5b15c0 Mark sensitive repository forms with Cache-Control: no-store (#42998).
Patch by Holger Just (user:hjust).

git-svn-id: https://svn.redmine.org/redmine/trunk@23944 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-09-07 06:16:45 +00:00
Marius Balteanu
ddc61d80d7 Mark sensitive repository forms with Cache-Control: no-store (#42998).
Patch by Holger Just (user:hjust).

git-svn-id: https://svn.redmine.org/redmine/trunk@23943 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-09-07 06:16:09 +00:00
Marius Balteanu
e67680a694 Mark sensitive user forms with Cache-Control: no-store (#42998).
Patch by Holger Just (user:hjust).

git-svn-id: https://svn.redmine.org/redmine/trunk@23942 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-09-07 06:15:43 +00:00
Marius Balteanu
5f4ce0fe0e Mark sensitive auth_source forms with Cache-Control: no-store (#42998).
Patch by Holger Just (user:hjust).

git-svn-id: https://svn.redmine.org/redmine/trunk@23941 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-09-07 06:15:09 +00:00
Marius Balteanu
81d647e34d Render anonymous and group avatars also when gravatar is disabled (#29824).
git-svn-id: https://svn.redmine.org/redmine/trunk@23940 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-09-06 22:11:58 +00:00
Go MAEDA
e06b4a8435 CookieOverflow error when deleting a tracker used by many projects (#43174).
Patch by Go MAEDA (user:maeda).


git-svn-id: https://svn.redmine.org/redmine/trunk@23939 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-09-05 06:45:30 +00:00
Go MAEDA
9b4f905c78 Show the "Delete" item in the context menu only when opened from Issues#index, Gantts#show, or Calendars#show. (#35616).
Patch by Go MAEDA (user:maeda).


git-svn-id: https://svn.redmine.org/redmine/trunk@23938 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-09-04 05:31:22 +00:00
Go MAEDA
b1c25dfc8b Fix missing HTML closing tags in several views (#43175).
Patch by Takashi Kato (user:tohosaku).


git-svn-id: https://svn.redmine.org/redmine/trunk@23936 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-09-04 01:23:48 +00:00
Go MAEDA
47bfd69f33 Add svg icons sample view accessible at /rails/info/svg_icons in development mode (#41725).
Patch by Takashi Kato (user:tohosaku).


git-svn-id: https://svn.redmine.org/redmine/trunk@23934 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-08-30 07:45:27 +00:00