Commit Graph

136 Commits

Author SHA1 Message Date
Go MAEDA
e0e0be4928 "For all projects" checkbox should be disabled when editing an existing query in which the checkbox is already checked (#42458).
Patch by [Agileware] nusohiro (user:nusohiro).


git-svn-id: https://svn.redmine.org/redmine/trunk@23573 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-03-27 01:07:48 +00:00
Marius Balteanu
1f46b0b236 Extract project query for admins to a separate ProjectAdminQuery model (#42352).
Patch by Holger Just (user:hjust).

git-svn-id: https://svn.redmine.org/redmine/trunk@23531 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-03-09 23:25:12 +00:00
Go MAEDA
11b949c574 Replace legacy PNG icons with SVG icons for multiselect toggles (#42130).
Patch by Mizuki ISHIKAWA (user:ishikawa999).


git-svn-id: https://svn.redmine.org/redmine/trunk@23464 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-01-28 05:32:21 +00:00
Marius Balteanu
bb06d7e39f Marks name field in custom query creation/edit form as required (#41778).
Patch by Go MAEDA (user:maeda).

git-svn-id: https://svn.redmine.org/redmine/trunk@23288 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-11-17 11:38:39 +00:00
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
166540d743 Replaces icon-expanded and icon-collapsed with SVG icons (#23980).
git-svn-id: https://svn.redmine.org/redmine/trunk@23041 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-09-08 17:25:02 +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
38a8adb2a2 Adds description field to custom queries (#9309).
Patch by Go MAEDA (@maeda).


git-svn-id: https://svn.redmine.org/redmine/trunk@22855 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-06-04 20:04:45 +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
5eccab9295 Improves filter rendering on narrow screens by replacing the layout tables with a flex layout.
(#39806).

Patch by Jens Krämer (@jkraemer).

git-svn-id: https://svn.redmine.org/redmine/trunk@22574 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-12-28 04:16:49 +00:00
Marius Balteanu
83ed32e8d7 Reuse ProjectQuery filters on the admin project list (#33422).
Patch by Takenori TAKAKI.


git-svn-id: https://svn.redmine.org/redmine/trunk@21519 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-04-01 15:08:52 +00:00
Marius Balteanu
1245708ba7 Fix typo in class 'icon-expended' (#36149).
Patch by Bernhard Rohloff.

git-svn-id: http://svn.redmine.org/redmine/trunk@21275 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-11-08 20:14:49 +00:00
Go MAEDA
33b5cf1c73 Rename the save, edit and delete buttons on the query form to clarify the scope (#34494).
Patch by Mizuki ISHIKAWA.


git-svn-id: http://svn.redmine.org/redmine/trunk@21191 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-08-17 12:41:58 +00:00
Go MAEDA
be183e58b9 Fix that selected gantt columns are not displayed with MS Edge Legacy (#33724).
Patch by Yuichi HARADA.


git-svn-id: http://svn.redmine.org/redmine/trunk@19899 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-07-13 12:24:16 +00:00
Go MAEDA
ca751980e5 Fix indentation in app/views/queries/_form.html.erb (#32194).
Patch by Mizuki ISHIKAWA.


git-svn-id: http://svn.redmine.org/redmine/trunk@19323 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-30 01:05:50 +00:00
Go MAEDA
f33d6177fe Add buttons to save/edit/delete a custom query to calendar view (#32194).
Patch by Mizuki ISHIKAWA.


git-svn-id: http://svn.redmine.org/redmine/trunk@19322 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-30 00:58:45 +00:00
Jean-Philippe Lang
977bbea725 Only admin users should be able to manage public queries on the project list (#29482).
Like for issues, project members with the "Manage public" queries are allowed to manage public queries inside their projects, not public global queries that are proposed on /issues.

git-svn-id: http://svn.redmine.org/redmine/trunk@19091 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-20 15:01:24 +00:00
Go MAEDA
360fb2bf43 Removes duplicated 'group_by' id (#29482).
Patch by Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@18791 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-22 05:04:37 +00:00
Go MAEDA
5b9cede709 Fix display type in query form view (#29482).
Patch by Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@18790 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-22 05:03:02 +00:00
Jean-Philippe Lang
49b96a935b Use radio buttons to choose display type (#29482).
git-svn-id: http://svn.redmine.org/redmine/trunk@18767 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-19 12:14:21 +00:00
Jean-Philippe Lang
45f039187d Option to switch between table list and board list (#29482).
Patch by Marius BALTEANU.

git-svn-id: http://svn.redmine.org/redmine/trunk@18765 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-19 11:42:20 +00:00
Jean-Philippe Lang
6c5440a21b Filters for Projects page (#29482).
Patch by Marius BALTEANU.

git-svn-id: http://svn.redmine.org/redmine/trunk@18761 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-19 11:36:13 +00:00
Go MAEDA
580e2f669a Use the regular "icon icon-*" classes for collapsible fields (#31433).
Patch by Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@18204 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-05-27 21:24:24 +00:00
Go MAEDA
0328b5671a Show selected columns in gantt chart (#27672).
Patch by Mizuki ISHIKAWA.


git-svn-id: http://svn.redmine.org/redmine/trunk@18171 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-05-16 21:54:33 +00:00
Jean-Philippe Lang
56742e65de Cannot uncheck Gantt chart options of a custom query (#31063).
Patch by Mizuki ISHIKAWA.

git-svn-id: http://svn.redmine.org/redmine/trunk@18015 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-30 06:19:04 +00:00
Jean-Philippe Lang
8a1e09d17b Use CSS selector to find move left/right buttons.
git-svn-id: http://svn.redmine.org/redmine/trunk@16865 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-07-23 12:41:31 +00:00
Jean-Philippe Lang
f654c84c8f Removes hardcoded width.
git-svn-id: http://svn.redmine.org/redmine/trunk@16816 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-07-12 18:19:08 +00:00
Jean-Philippe Lang
081e8a8932 Render columns selection using spans instead of a table.
git-svn-id: http://svn.redmine.org/redmine/trunk@16815 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-07-12 18:17:48 +00:00
Jean-Philippe Lang
8c7898bb5d Let user choose columns and sort order of issue lists on "My page" (#1565).
git-svn-id: http://svn.redmine.org/redmine/trunk@16400 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-03-14 18:18:19 +00:00
Jean-Philippe Lang
71d88e5535 Get rid of sort_helper when using queries.
git-svn-id: http://svn.redmine.org/redmine/trunk@16390 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-03-13 19:17:59 +00:00
Jean-Philippe Lang
1fefa970d6 Disable description and columns when checking "Default columns" (#24907).
git-svn-id: http://svn.redmine.org/redmine/trunk@16304 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-01-29 13:11:37 +00:00
Jean-Philippe Lang
9814dcf231 Use css pseudo-classes instead of cycle("odd", "even") (#15361).
Patch by Marius BALTEANU.

git-svn-id: http://svn.redmine.org/redmine/trunk@16249 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-01-25 11:44:12 +00:00
Jean-Philippe Lang
4ac9dc3075 Reset sort criteria when clearing filters.
git-svn-id: http://svn.redmine.org/redmine/trunk@16230 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-01-19 20:34:12 +00:00
Jean-Philippe Lang
fd3c08aaa1 Don't preload all query filters (#24787).
git-svn-id: http://svn.redmine.org/redmine/trunk@16170 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-01-09 19:59:54 +00:00
Jean-Philippe Lang
49fcec80b7 Reverts r16051 and r16050 for now (#15361).
git-svn-id: http://svn.redmine.org/redmine/trunk@16052 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-12-03 09:59:03 +00:00
Jean-Philippe Lang
48f72a3d15 Use css pseudo-classes instead "odd", "even" classes (#15361).
Patch by Marius BALTEANU.

git-svn-id: http://svn.redmine.org/redmine/trunk@16050 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-12-03 09:15:31 +00:00
Jean-Philippe Lang
793cb16764 Make time entries groupable (#16843).
git-svn-id: http://svn.redmine.org/redmine/trunk@15649 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-07-13 19:02:48 +00:00
Jean-Philippe Lang
beb5e60391 Makes spent time queries savable (#14790).
git-svn-id: http://svn.redmine.org/redmine/trunk@15639 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-07-12 17:40:19 +00:00
Jean-Philippe Lang
06dec37f49 Add id to query create and edit form to ease theme (#22277).
Patch by Gregor Schmidt.

git-svn-id: http://svn.redmine.org/redmine/trunk@15261 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-03-19 09:30:43 +00:00
Jean-Philippe Lang
a0a7e9d001 Add id and class for easier styling of query filters (#22018).
Patch by Felix Schäfer.

git-svn-id: http://svn.redmine.org/redmine/trunk@15255 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-03-19 09:07:08 +00:00
Jean-Philippe Lang
2239816344 Extract the "Add filter" drop-down from the table (#19097).
git-svn-id: http://svn.redmine.org/redmine/trunk@14831 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-11-07 14:22:15 +00:00
Jean-Philippe Lang
90259f4f73 Give numbers in query sort criteria consistent width for non-monospaced fonts (#21119).
Patch by Felix Gliesche.

git-svn-id: http://svn.redmine.org/redmine/trunk@14790 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-11-01 09:06:58 +00:00
Jean-Philippe Lang
446f70f584 Adds options to display totals on the issue list (#1561).
Works for estimated hours, spent hours and any numeric custom field.

git-svn-id: http://svn.redmine.org/redmine/trunk@14642 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-10-04 19:42:37 +00:00
Jean-Philippe Lang
004fc8b84b Fixed that user with "Manage public queries" permission, can create global public query (#19842).
git-svn-id: http://svn.redmine.org/redmine/trunk@14388 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-06-29 16:06:37 +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
a7559e669f Moved select_list_move.js content to application.js.
git-svn-id: http://svn.redmine.org/redmine/trunk@13618 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-18 22:14:34 +00:00
Jean-Philippe Lang
ff0a91d97d Use an handler instead of onsubmit attribute.
git-svn-id: http://svn.redmine.org/redmine/trunk@13616 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-18 21:53:25 +00:00
Jean-Philippe Lang
b189d85dde Remove useless settings when editing a query from the gantt (#16747).
git-svn-id: http://svn.redmine.org/redmine/trunk@13168 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-05-24 17:01:16 +00:00
Jean-Philippe Lang
54830abd6b Custom queries: buttons to move column to top and bottom (#16326).
git-svn-id: http://svn.redmine.org/redmine/trunk@12991 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-03-21 02:20:56 +00:00