1
0
mirror of https://github.com/meineerde/redmine.git synced 2025-12-25 09:51:14 +00:00

73 Commits

Author SHA1 Message Date
Marius Balteanu
1799ee49ce Use @.capitalize@ for button_save_object, button_edit_object, and button_delete_object labels in order to ensure that only the first character is converted to uppercase and the rest to lowercase (#37072).
git-svn-id: https://svn.redmine.org/redmine/trunk@23191 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-11-03 12:42:10 +00:00
Marius Balteanu
d1008280d8 Renames and improves methods provided by @IconsHelper@ (#23980).
git-svn-id: https://svn.redmine.org/redmine/trunk@23145 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-10-19 10:06:26 +00:00
Marius Balteanu
6d01d427e8 Switches all icons to Material Symbols (#23980).
git-svn-id: https://svn.redmine.org/redmine/trunk@23077 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-09-24 20:41:41 +00:00
Marius Balteanu
e8114b6a57 Replaces Users and Projects context menu icons with SVG icons (#23980).
git-svn-id: https://svn.redmine.org/redmine/trunk@23022 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-09-05 20:50:12 +00:00
Marius Balteanu
ffce07e785 Start working on replacing old icons with SVG icons (#23980):
* Introduces IconsHelper with methods to render SVG icon from a sprite file.
* Adds SVG sprite file with icons mainly from Font Awesome, but also from Material Design Icons and Fluent UI System Icons (based on the work made by Takashi Kato (@tohosaku)).
* Replaces specific icons with new SVG icons.
* Temporarily keep all old CSS icon definitions for backard compatibility.



git-svn-id: https://svn.redmine.org/redmine/trunk@22988 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-08-29 21:46:40 +00:00
Marius Balteanu
6322650728 Add bulk unlock to user list context menu (#40913).
git-svn-id: https://svn.redmine.org/redmine/trunk@22925 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-07-13 10:21:49 +00:00
Marius Balteanu
193ca9faee Add bulk lock feature to user list context menu (#40913).
Patch by Mizuki ISHIKAWA (@ishikawa999).


git-svn-id: https://svn.redmine.org/redmine/trunk@22898 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-06-25 19:03:36 +00:00
Go MAEDA
62f7551d57 User bulk destroy (#37674).
includes a confirmation page that also gives the opportunity to lock
users instead of deleting them.

Patch by Jens Krämer.


git-svn-id: https://svn.redmine.org/redmine/trunk@21824 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-09-20 03:36:40 +00:00
Go MAEDA
cd70187c2f Introduces a UserQuery model for admin/users (#37674).
Patch by Jens Krämer.


git-svn-id: https://svn.redmine.org/redmine/trunk@21823 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-09-20 03:16:05 +00:00
Marius Balteanu
e1d6bfbdcc Adds projects bulk delete (#36691).
Patch by Jens Krämer. 


git-svn-id: https://svn.redmine.org/redmine/trunk@21592 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-05-17 20:50:37 +00:00
Marius Balteanu
883aa3b5cc Background job for project deletion (#36691).
Due to the deletion of dependent objects (issues etc), project deletion may take a long time.

This patch moves the actual project deletion into an ActiveJob job. It also introduces a new project status (SCHEDULED_FOR_DELETION) that is used to effectively hide the project that is about to be deleted (and any potential descendant projects) from the system immediately.

A security notification is sent out to the user that deleted the project, informing about success / failure.

The projects list is extended to be able to filter for the new status, so in case of a failure, the project can still be accessed for examination.

Patch by Jens Krämer.


git-svn-id: https://svn.redmine.org/redmine/trunk@21591 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-05-17 20:45:41 +00:00
Marius Balteanu
9e8a7abddb Ask more specific confirmation questions when closing/reopening/archiving projects (#36891).
Patch by Holger Just.


git-svn-id: https://svn.redmine.org/redmine/trunk@21589 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-05-16 22:38:20 +00:00
Marius Balteanu
b1e4411c49 Add missing partial view (33422).
git-svn-id: https://svn.redmine.org/redmine/trunk@21521 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-04-01 15:30:23 +00:00
Go MAEDA
bcdb13f1fd Change Delete button name to Delete issue (#31278).
Contributed by Frederico Camara.


git-svn-id: http://svn.redmine.org/redmine/trunk@21346 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-01-05 00:05:45 +00:00
Go MAEDA
ac8aa6b1f3 Change the "Edit" label in the context menu to "Bulk Edit" when multiple issues are selected (#35770).
Patch by Mizuki ISHIKAWA.


git-svn-id: http://svn.redmine.org/redmine/trunk@21248 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-10-20 07:55:44 +00:00
Marius Balteanu
63e4dcf60a Fix update status path on the context menu (#33521).
Patch by Mizuki ISHIKAWA.

git-svn-id: http://svn.redmine.org/redmine/trunk@21132 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-08-03 20:21:41 +00:00
Marius Balteanu
7534775306 Use issue path instead of bulk update issues path when only one issue is selected in the context menu (#33521).
git-svn-id: http://svn.redmine.org/redmine/trunk@21089 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-07-26 21:46:43 +00:00
Go MAEDA
53b34f63c7 "Copy link" feature for issues list (#34932).
Patch by Mizuki ISHIKAWA.


git-svn-id: http://svn.redmine.org/redmine/trunk@20939 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-04-13 07:20:47 +00:00
Go MAEDA
f8bf009cd6 Allow to add subtask from context menu (#34303).
Patch by Go MAEDA and Takenori TAKAKI.


git-svn-id: http://svn.redmine.org/redmine/trunk@20617 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-12-10 15:18:49 +00:00
Toshi MARUYAMA
0b71c5432b shorten long line at app/views/context_menus/issues.html.erb
git-svn-id: http://svn.redmine.org/redmine/trunk@19826 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-06-16 11:45:48 +00:00
Jean-Philippe Lang
49efe66ff5 Filtering issues via context menu should not reset selected columns (#26836).
Patch by Vincent Robert.

git-svn-id: http://svn.redmine.org/redmine/trunk@17955 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-15 07:50:50 +00:00
Go MAEDA
1fbb2fa33a Move custom field classes to a method (#30994).
Patch by Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@17937 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-09 15:38:24 +00:00
Go MAEDA
f288ccb987 Add "icon" class to items in time entries context menu (#28605).
Patch by Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@17481 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-09-14 00:23:02 +00:00
Go MAEDA
1e0663de9d Add the missing icon class to the items with icons from the contextual menu (#28605).
Patch by Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@17457 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-08-01 02:25:57 +00:00
Go MAEDA
7ba1f889f8 Allow context-menu edit of % done and priority of parent issues if the fields are not derived (#28168).
Patch by Holger Just.


git-svn-id: http://svn.redmine.org/redmine/trunk@17204 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-02-18 12:08:58 +00:00
Go MAEDA
d389486e80 Fix: Cannot change the priority of the parent issue in issues context menu (#27533).
Patch by Vito Marolda.


git-svn-id: http://svn.redmine.org/redmine/trunk@17129 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-12-26 07:01:56 +00:00
Jean-Philippe Lang
180c81dbf1 Cannot set activity to None.
git-svn-id: http://svn.redmine.org/redmine/trunk@15925 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-10-23 12:03:25 +00:00
Jean-Philippe Lang
1903497c4b Remove open issues filter in context menu shortcut (#4806).
git-svn-id: http://svn.redmine.org/redmine/trunk@15373 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-05-06 19:01:28 +00:00
Jean-Philippe Lang
699a75910d Filter by issue id (#4806).
A shortcut is added to the context menu to filter the selected issues.

git-svn-id: http://svn.redmine.org/redmine/trunk@15371 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-05-06 18:59:36 +00:00
Jean-Philippe Lang
5adc1ddde9 Allow addition of watchers via bulk edit context menu (#5754).
git-svn-id: http://svn.redmine.org/redmine/trunk@15311 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-04-09 07:37:49 +00:00
Jean-Philippe Lang
b778c51e90 Removed unneeded #h calls in views.
git-svn-id: http://svn.redmine.org/redmine/trunk@14043 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-02-23 10:11:08 +00:00
Jean-Philippe Lang
01f673be08 Removed :move_issues permission (#18855).
This permission was wrongly used to allow bulk issue copy. To prevent user from moving an issue to another project, the project field should now be set to read-only in the workflow permissions. A migration does this automatically for roles that have the edit_issues permission without having the move_issues permission.

git-svn-id: http://svn.redmine.org/redmine/trunk@13981 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-02-08 10:20:53 +00:00
Jean-Philippe Lang
defd3f439f Removed :update key and use :edit instead.
git-svn-id: http://svn.redmine.org/redmine/trunk@13953 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-01-27 21:55:34 +00:00
Jean-Philippe Lang
efc05bc73c Add time entries custom fields to the context menu for quick bulk edit (#17484).
git-svn-id: http://svn.redmine.org/redmine/trunk@13335 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-07-29 17:52:27 +00:00
Toshi MARUYAMA
a1b24e0f65 remove trailing tabs from app/views/context_menus/issues.html.erb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11628 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-03-15 13:12:04 +00:00
Jean-Philippe Lang
856ef810b4 Bulk watch/unwatch issues from the context menu (#7159).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11339 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-10 10:31:12 +00:00
Jean-Philippe Lang
eece12ddfd Fixed: Can't clear custom field value through context menu in the issue list (#13075).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11331 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-07 18:35:51 +00:00
Jean-Philippe Lang
cd437b7e1d Code cleanup, use named routes.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11067 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-12-22 10:00:00 +00:00
Jean-Philippe Lang
3976d5e740 Use #assert_select instead of #assert_tag.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11066 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-12-22 09:35:35 +00:00
Jean-Philippe Lang
e74d4ecf5f Compute issue ids array only once.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9962 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-07-08 13:31:22 +00:00
Jean-Philippe Lang
23a1ef543f Show shared versions when editing issues from different projects with the context menu (#11345).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9961 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-07-08 13:19:46 +00:00
Jean-Philippe Lang
7b40767428 Deprecated :confirm => 'Text' option.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9937 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-07-07 14:36:49 +00:00
Jean-Philippe Lang
4cecc1beed Ability to disable standard fields on a per tracker basis (#1091).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9912 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-07-05 12:20:07 +00:00
Jean-Philippe Lang
daacea11dc Do not hide context menu when clicking on a folder menu item.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8829 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-09 20:25:01 +00:00
Jean-Philippe Lang
07a93c2731 Only show allowed statuses in context menu (#10181).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8825 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-09 19:34:56 +00:00
Jean-Philippe Lang
5e0c1cc5ce Bulk-edit custom fields through context menu (#6296).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8824 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-09 18:22:11 +00:00
Jean-Philippe Lang
f2a7f83c82 Adds a <<me>> option for assignee in the context menu (#1102).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8689 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-21 11:11:13 +00:00
Jean-Philippe Lang
121bc44cc5 Use the regular issue form to copy a single issue.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8552 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-08 11:16:54 +00:00
Jean-Philippe Lang
065376c160 Copy issues via bulk update action.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8538 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-07 17:27:47 +00:00
Jean-Philippe Lang
464cef8643 Removed the "Move" button for issues since they can be moved from the bulk edit form.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8537 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-07 16:26:12 +00:00