summaryrefslogtreecommitdiffstats
path: root/lib/redmine/views
Commit message (Collapse)AuthorAgeFilesLines
* Add placeholder "h:mm" to hours field for better user guidance (#2464).Go MAEDA2024-08-211-0/+1
| | | | | | | Patch by Go MAEDA (user:maeda). git-svn-id: https://svn.redmine.org/redmine/trunk@22977 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use anonymous block forwarding introduced in Ruby 3.1 (#38585).Go MAEDA2024-08-212-5/+5
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22973 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Replace BlankSlate with BasicObject for Builder 3.0.0 compatibility (#40802).Go MAEDA2024-06-072-11/+9
| | | | | | | Patch by Pavel Rosický (@ahorek). git-svn-id: https://svn.redmine.org/redmine/trunk@22863 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Remove current year from source file copyright headers and update year in ↵Marius Balteanu2024-02-267-7/+7
| | | | | | footer to 2024 (#40043). git-svn-id: https://svn.redmine.org/redmine/trunk@22746 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix RuboCop offense Performance/BlockGivenWithExplicitBlock (#38146).Go MAEDA2023-01-112-3/+3
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22027 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright year to 2023 (#38141).Go MAEDA2023-01-017-7/+7
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22013 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Return 406 status code instead of 500 when API request has an invalid format ↵Marius Balteanu2022-01-301-1/+3
| | | | | | | | | (#34766). Patch by Felix Schäfer. git-svn-id: http://svn.redmine.org/redmine/trunk@21392 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright year in source files to 2022 (#36379).Go MAEDA2022-01-027-7/+7
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@21342 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix "ActionView::Template::Error (wrong number of arguments (given 2, ↵Go MAEDA2021-04-011-1/+1
| | | | | | | | | expected 1))" (#29914). Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@20886 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright year in source files to 2021 (#33069).Go MAEDA2021-03-257-7/+7
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@20846 e93f8b46-1217-0410-a6f0-8f06a7374b81
* remove spaces inside {} of lib/redmine/views/other_formats_builder.rbToshi MARUYAMA2020-11-211-3/+3
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@20461 e93f8b46-1217-0410-a6f0-8f06a7374b81
* add empty line after guard clause to lib/redmine/views/labelled_form_builder.rbToshi MARUYAMA2020-11-031-0/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@20238 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright year in source files to 2020 (#33069).Go MAEDA2020-03-037-7/+7
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@19553 e93f8b46-1217-0410-a6f0-8f06a7374b81
* cleanup: rubocop: fix Layout/EmptyLinesAroundClassBody in ↵Toshi MARUYAMA2019-11-211-1/+0
| | | | | | lib/redmine/views/builders/structure.rb git-svn-id: http://svn.redmine.org/redmine/trunk@19113 e93f8b46-1217-0410-a6f0-8f06a7374b81
* cleanup: rubocop: fix Layout/AlignArguments in ↵Toshi MARUYAMA2019-11-091-2/+2
| | | | | | lib/redmine/views/labelled_form_builder.rb git-svn-id: http://svn.redmine.org/redmine/trunk@19043 e93f8b46-1217-0410-a6f0-8f06a7374b81
* code cleanup: rubocop: fix Performance/RedundantBlockCall in ↵Toshi MARUYAMA2019-10-221-1/+1
| | | | | | lib/redmine/views/builders.rb git-svn-id: http://svn.redmine.org/redmine/trunk@18819 e93f8b46-1217-0410-a6f0-8f06a7374b81
* use "class << self" syntax for Redmine::Views::Builders#for (#32308)Toshi MARUYAMA2019-10-221-10/+12
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@18817 e93f8b46-1217-0410-a6f0-8f06a7374b81
* use "if block_given?" instead of "if block" in lib/redmine/views/builders.rb ↵Toshi MARUYAMA2019-10-221-1/+1
| | | | | | (#32308) git-svn-id: http://svn.redmine.org/redmine/trunk@18816 e93f8b46-1217-0410-a6f0-8f06a7374b81
* use "if block_given?" instead of "if block" in ↵Toshi MARUYAMA2019-10-221-2/+1
| | | | | | lib/redmine/views/builders/structure.rb (#32308) git-svn-id: http://svn.redmine.org/redmine/trunk@18815 e93f8b46-1217-0410-a6f0-8f06a7374b81
* code cleanup: rubocop: fix Performance/RedundantBlockCall in ↵Toshi MARUYAMA2019-10-221-2/+2
| | | | | | lib/redmine/views/builders/structure.rb git-svn-id: http://svn.redmine.org/redmine/trunk@18813 e93f8b46-1217-0410-a6f0-8f06a7374b81
* code cleanup: rubocop: fix Layout/CaseIndentation in ↵Toshi MARUYAMA2019-10-171-2/+3
| | | | | | lib/redmine/views/builders.rb git-svn-id: http://svn.redmine.org/redmine/trunk@18723 e93f8b46-1217-0410-a6f0-8f06a7374b81
* code cleanup: rubocop: fix Style/WhenThen in lib/redmine/views/builders.rbToshi MARUYAMA2019-10-171-3/+4
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@18722 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright year.Go MAEDA2019-05-257-7/+7
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@18198 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Enable frozen_string_literal for some files under app and lib directory ↵Go MAEDA2019-03-167-7/+7
| | | | | | (#26561). git-svn-id: http://svn.redmine.org/redmine/trunk@17977 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add "frozen_string_literal: false" for all files (#26561).Go MAEDA2019-03-157-0/+14
| | | | | | | This will be changed to true in the future. git-svn-id: http://svn.redmine.org/redmine/trunk@17947 e93f8b46-1217-0410-a6f0-8f06a7374b81
* REST API with JSON content missing false values (#20788).Jean-Philippe Lang2018-11-281-1/+1
| | | | | | Patch by Yuichi HARADA. git-svn-id: http://svn.redmine.org/redmine/trunk@17643 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Removes request and response accessors from Structure class (#28564).Go MAEDA2018-11-032-4/+3
| | | | | | | Patch by Jens Krämer. git-svn-id: http://svn.redmine.org/redmine/trunk@17617 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Support of default ActiveRecord I18n scopes in LabelledFormBuilder (#26618).Go MAEDA2018-06-041-1/+1
| | | | | | | Patch by Dmitry Lisichkin. git-svn-id: http://svn.redmine.org/redmine/trunk@17365 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright.Jean-Philippe Lang2017-06-257-7/+7
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16685 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Errors#get is deprecated in Rails 5.Jean-Philippe Lang2017-06-011-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16595 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use #get instead of #[] to read errors on the attribute.Jean-Philippe Lang2016-11-191-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15988 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Show the entered value when it's not valid (#23996).Jean-Philippe Lang2016-11-181-0/+9
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15971 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Moves blocks definition to Redmine::MyPage.Jean-Philippe Lang2016-10-291-32/+0
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15930 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Don't generate urls with params.Jean-Philippe Lang2016-07-101-0/+10
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15631 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Updates copyright for 2016.Jean-Philippe Lang2016-03-138-8/+8
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15238 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Accept dots in JSONP callback (#13718).Jean-Philippe Lang2016-01-161-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15066 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Don't include milliseconds in JSON API responses (#19354).Jean-Philippe Lang2015-03-151-3/+14
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@14101 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed that timestamps may not be formatted as expected in XML responses ↵Jean-Philippe Lang2015-02-161-2/+3
| | | | | | (#19065). git-svn-id: http://svn.redmine.org/redmine/trunk@14015 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Copyright update.Jean-Philippe Lang2015-01-118-8/+8
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13872 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed: LabelledFormBuilder#label outputs 2 label elements (#18679).Jean-Philippe Lang2014-12-211-1/+1
| | | | | | Patch by Masato NODA. git-svn-id: http://svn.redmine.org/redmine/trunk@13786 e93f8b46-1217-0410-a6f0-8f06a7374b81
* fix source indent of lib/redmine/views/labelled_form_builder.rbToshi MARUYAMA2014-03-111-7/+7
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@12958 e93f8b46-1217-0410-a6f0-8f06a7374b81
* fix source indent of lib/redmine/views/labelled_form_builder.rbToshi MARUYAMA2014-03-111-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@12957 e93f8b46-1217-0410-a6f0-8f06a7374b81
* update copyright year (#15977)Toshi MARUYAMA2014-01-298-8/+8
| | | | | | Contributed by Daniel Felix. git-svn-id: http://svn.redmine.org/redmine/trunk@12736 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged custom fields format refactoring.Jean-Philippe Lang2013-12-141-1/+5
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@12400 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Make JSONP support optional and disabled by default (#12992).Jean-Philippe Lang2013-01-261-1/+4
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11272 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Copyright for 2013 (#12788).Jean-Philippe Lang2013-01-128-8/+8
| | | | | | Patch by Daniel Felix. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11169 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Explicitly load dependencies for when running with config.threadsafe! (#12097).Jean-Philippe Lang2012-12-022-1/+4
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10909 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds JSONP support to the API (#11469).Jean-Philippe Lang2012-07-275-8/+24
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10088 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use time_zone_select specific helper.Etienne Massip2012-06-011-0/+4
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9744 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Copyright update.Jean-Philippe Lang2012-05-058-8/+8
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9636 e93f8b46-1217-0410-a6f0-8f06a7374b81