Commit Graph

120 Commits

Author SHA1 Message Date
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
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
Go MAEDA
ee31bf8fe9 Add an option to render Integer and Float custom fields with thousands delimiters (#39997).
Patch by Go MAEDA (user:maeda).


git-svn-id: https://svn.redmine.org/redmine/trunk@22935 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-07-18 04:56:20 +00:00
Marius Balteanu
7b911245d3 Updates Rails to 7.1.2 (#36320).
Patch by Takashi Kato.

git-svn-id: https://svn.redmine.org/redmine/trunk@22488 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-11-27 20:58:55 +00:00
Go MAEDA
099a9adcb3 Add description field to custom fields API (#37617).
Patch by Holger Just and Go MAEDA.


git-svn-id: https://svn.redmine.org/redmine/trunk@21793 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-09-01 05:25:04 +00:00
Go MAEDA
972f00eb47 Create custom field by copy (#34307).
Patch by Takenori TAKAKI.


git-svn-id: http://svn.redmine.org/redmine/trunk@20692 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-12-26 01:36:19 +00:00
Go MAEDA
3643378899 Possible values field in list format custom field form is not marked as required (#33275).
Patch by Go MAEDA.


git-svn-id: http://svn.redmine.org/redmine/trunk@19742 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-05-02 23:52:03 +00:00
Go MAEDA
22165fd071 Per role visibility settings for version custom fields (#23997).
Patch by Jens Krämer and Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@18386 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-08-24 08:50:17 +00:00
Go MAEDA
3495cba92b Per role visibility settings for project custom fields (#31925).
Patch by Jens Krämer and Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@18379 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-08-20 01:44:44 +00:00
Go MAEDA
79a47823b2 Refactor custom fields form (#31859).
Patch by Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@18376 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-08-18 03:26:19 +00:00
Go MAEDA
6a871fdcfc Fix that "New custom field" button does not work if there are no custom fields (#31896, #31320).
Patch by Mizuki ISHIKAWA.


git-svn-id: http://svn.redmine.org/redmine/trunk@18372 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-08-17 02:01:19 +00:00
Go MAEDA
3c91a3d5b2 Per role visibility settings for spent time custom fields (#31859).
Patch by Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@18358 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-08-09 09:31:16 +00:00
Go MAEDA
d046da0d85 Set an appropriate default type in New custom field page depending on the current tab (#31320).
Patch by Mizuki ISHIKAWA.


git-svn-id: http://svn.redmine.org/redmine/trunk@18156 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-05-11 02:06:28 +00:00
Go MAEDA
7cf16d4abd "Create and continue" button for custom fields (#31159).
Patch by Mizuki ISHIKAWA.


git-svn-id: http://svn.redmine.org/redmine/trunk@18054 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-04-09 14:53:55 +00:00
Go MAEDA
ca043789fd Wrap "splitcontentright" and "splitcontentleft" containers with a flexbox (#30168).
Patch by Max Johansson.


git-svn-id: http://svn.redmine.org/redmine/trunk@17790 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-01-12 02:51:41 +00:00
Go MAEDA
c9c4a8c153 Replace check_all_links in new custom field form with toogle_checkboxes_link (#27807).
Patch by Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@17319 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-04-29 09:58:56 +00:00
Jean-Philippe Lang
3d3192b187 Use ids for testing inclusion.
git-svn-id: http://svn.redmine.org/redmine/trunk@16261 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-01-25 16:23:22 +00:00
Jean-Philippe Lang
b40d66f39f Option for long text custom fields to be displayed under the description field (#21705).
Based on patch by Marius BALTEANU.

git-svn-id: http://svn.redmine.org/redmine/trunk@16251 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-01-25 14:55:36 +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
9b08365ea5 Make it work for 0 projects (#24587).
git-svn-id: http://svn.redmine.org/redmine/trunk@16070 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-12-13 19:47:29 +00:00
Jean-Philippe Lang
9d1d3b825f Improve custom fields list performance (#24587).
Patch by Thomas Löber.

git-svn-id: http://svn.redmine.org/redmine/trunk@16069 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-12-13 19:46:31 +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
826e978806 Removes calls to #reset_cycle (#15361).
git-svn-id: http://svn.redmine.org/redmine/trunk@16051 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-12-03 09:21:12 +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
f94711ea8c Option to specify allowed extensions for a file custom field (#6719).
git-svn-id: http://svn.redmine.org/redmine/trunk@15921 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-10-23 11:00:02 +00:00
Jean-Philippe Lang
362a001725 Don't query for each role and tracker.
git-svn-id: http://svn.redmine.org/redmine/trunk@15919 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-10-23 10:53:42 +00:00
Jean-Philippe Lang
33fc5a3f0a Issue custom field form layout.
git-svn-id: http://svn.redmine.org/redmine/trunk@15918 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-10-23 09:35:23 +00:00
Jean-Philippe Lang
ef45304817 Adds file custom field format (#6719).
git-svn-id: http://svn.redmine.org/redmine/trunk@15917 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-10-23 09:16:14 +00:00
Jean-Philippe Lang
60bb7565dd Include value and label of possible values in custom fields API (#22745).
git-svn-id: http://svn.redmine.org/redmine/trunk@15401 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-05-08 08:44:53 +00:00
Jean-Philippe Lang
c418fab8a7 Use HTML5 date input fields instead of text fields with jquery ui date pickers (#19468).
Patch by Jan Schulz-Hofen.

git-svn-id: http://svn.redmine.org/redmine/trunk@15375 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-05-07 08:05:43 +00:00
Jean-Philippe Lang
42b5c332b2 Lists can be reordered with drag and drop (#12909).
git-svn-id: http://svn.redmine.org/redmine/trunk@15336 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-04-17 07:40:39 +00:00
Jean-Philippe Lang
aa490a70b3 Speeds up the custom field edit view when having hundreds of projects.
git-svn-id: http://svn.redmine.org/redmine/trunk@15084 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-01-21 05:15:45 +00:00
Jean-Philippe Lang
227594481e Moving a custom field value in the order switches in the edit view (#21535).
git-svn-id: http://svn.redmine.org/redmine/trunk@14985 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-12-20 10:40:30 +00:00
Jean-Philippe Lang
8584ab80f2 Enlarge custom field name input.
git-svn-id: http://svn.redmine.org/redmine/trunk@14752 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-10-25 10:55:00 +00:00
Jean-Philippe Lang
57a22c3464 Helper method for custom field title.
git-svn-id: http://svn.redmine.org/redmine/trunk@14751 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-10-25 10:54:09 +00:00
Jean-Philippe Lang
2f51dc11cf Adds Enumeration custom field format (#21060).
Similar to List format but stores possible values as records.

git-svn-id: http://svn.redmine.org/redmine/trunk@14745 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-10-25 08:32:47 +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
b91cbcaa03 Option to render boolean custom fields as a single check box or radio buttons (#17003).
git-svn-id: http://svn.redmine.org/redmine/trunk@13216 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-07-05 09:59:17 +00:00
Jean-Philippe Lang
9fdd0862f7 Missing type=array attributes in custom fields API (#16739).
git-svn-id: http://svn.redmine.org/redmine/trunk@13109 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-04-26 07:56:00 +00:00
Jean-Philippe Lang
4a2114c73b Move the field format at the top of the form.
git-svn-id: http://svn.redmine.org/redmine/trunk@12897 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-02-15 10:04:25 +00:00
Jean-Philippe Lang
7b127ee489 Show tabs for existing custom field types only and adds a view for choosing the type when adding a new custom field.
git-svn-id: http://svn.redmine.org/redmine/trunk@12849 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-02-07 07:57:59 +00:00
Toshi MARUYAMA
251e3cc7fa remove unneeded Relation#all from app/views/custom_fields/_form.html.erb
git-svn-id: http://svn.redmine.org/redmine/trunk@12517 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-08 05:36:34 +00:00
Jean-Philippe Lang
4333a80bc1 Adds support for links on values for various custom field formats (#1358).
git-svn-id: http://svn.redmine.org/redmine/trunk@12442 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-12-22 14:09:33 +00:00
Jean-Philippe Lang
e715c4b847 Removed default values on custom field min and max length.
git-svn-id: http://svn.redmine.org/redmine/trunk@12405 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-12-14 10:01:45 +00:00
Jean-Philippe Lang
a59dc1658b Removed hardcoded format in API response.
git-svn-id: http://svn.redmine.org/redmine/trunk@12403 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-12-14 09:00:05 +00:00
Jean-Philippe Lang
2e2e2cfe42 Merged custom fields format refactoring.
git-svn-id: http://svn.redmine.org/redmine/trunk@12400 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-12-14 08:22:43 +00:00
Jean-Philippe Lang
967564cba0 Removed deprecated align and width html attributes (#15307).
git-svn-id: http://svn.redmine.org/redmine/trunk@12268 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-11-11 21:01:21 +00:00
Jean-Philippe Lang
8525e56c33 Adds a CSS class for reorder links (#15307).
git-svn-id: http://svn.redmine.org/redmine/trunk@12265 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-11-10 13:24:07 +00:00
Jean-Philippe Lang
13e381d31d Projects selection on custom field form (#15136).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@12225 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-10-20 08:29:55 +00:00
Jean-Philippe Lang
886284b33f REST API: custom fields definition (#11159).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@12165 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-09-29 10:08:30 +00:00