summaryrefslogtreecommitdiffstats
path: root/lib/redmine/wiki_formatting/macros.rb
Commit message (Collapse)AuthorAgeFilesLines
* Renames and improves methods provided by @IconsHelper@ (#23980).Marius Balteanu2024-10-191-2/+2
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@23145 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Replaces icon-expanded and icon-collapsed with SVG icons (#23980).Marius Balteanu2024-09-081-2/+2
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@23041 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add support for quoted arguments containing commas in wiki macros (#40014).Go MAEDA2024-08-201-2/+5
| | | | | | | Patch by Yasu Saku (user:skys). git-svn-id: https://svn.redmine.org/redmine/trunk@22959 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Remove current year from source file copyright headers and update year in ↵Marius Balteanu2024-02-261-1/+1
| | | | | | footer to 2024 (#40043). git-svn-id: https://svn.redmine.org/redmine/trunk@22746 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixes i18n call in macro error fallback (#37668).Go MAEDA2023-10-061-1/+1
| | | | | | | Patch by Jens Krämer. git-svn-id: https://svn.redmine.org/redmine/trunk@22331 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix exception raised during thumbnail macro to image tag conversion in ↵Go MAEDA2023-08-301-1/+1
| | | | | | | | | emails (#38697). Patch by Y saku and Mizuki ISHIKAWA. git-svn-id: https://svn.redmine.org/redmine/trunk@22285 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix RuboCop offense Performance/BlockGivenWithExplicitBlock (#38146).Go MAEDA2023-01-111-2/+2
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22027 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright year to 2023 (#38141).Go MAEDA2023-01-011-1/+1
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22013 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix `{{thumbnail}}` macro in an issue note cannot fetch an image attached in ↵Go MAEDA2022-12-301-1/+2
| | | | | | | | | a different note (#37881). Patch by Mizuki ISHIKAWA. git-svn-id: https://svn.redmine.org/redmine/trunk@22012 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Thumbnail macro does not work when a file is attached and preview is ↵Go MAEDA2022-07-191-2/+6
| | | | | | | | | displayed immediately (#37379). Patch by Mizuki ISHIKAWA. git-svn-id: https://svn.redmine.org/redmine/trunk@21716 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright year in source files to 2022 (#36379).Go MAEDA2022-01-021-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@21342 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix typo in class 'icon-expended' (#36149).Marius Balteanu2021-11-081-1/+1
| | | | | | Patch by Bernhard Rohloff. git-svn-id: http://svn.redmine.org/redmine/trunk@21275 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Remove deprecated WikiContent::Version (#35031).Go MAEDA2021-05-151-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@21002 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright year in source files to 2021 (#33069).Go MAEDA2021-03-251-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@20846 e93f8b46-1217-0410-a6f0-8f06a7374b81
* shorten long line of lib/redmine/wiki_formatting/macros.rbToshi MARUYAMA2020-12-121-7/+31
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@20638 e93f8b46-1217-0410-a6f0-8f06a7374b81
* add empty line after guard clause to lib/redmine/wiki_formatting/macros.rbToshi MARUYAMA2020-11-031-0/+6
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@20230 e93f8b46-1217-0410-a6f0-8f06a7374b81
* remove spaces inside {} of lib/redmine/wiki_formatting/macros.rbToshi MARUYAMA2020-09-211-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@20062 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Don't internationalize error messages used when defining a macro (#33426).Go MAEDA2020-09-111-2/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@20015 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Internationalize error messages for wiki macros (#33426).Go MAEDA2020-09-101-11/+11
| | | | | | | Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@20013 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright year in source files to 2020 (#33069).Go MAEDA2020-03-031-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@19553 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix missing arrow icon of collapse macro (#32754).Go MAEDA2020-01-071-2/+2
| | | | | | | Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@19413 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Reverts r19409 that breaks some tests (#32754).Go MAEDA2020-01-071-2/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@19410 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix that arrow icon for {{collapse}} macro is not shown (#32754).Go MAEDA2020-01-071-2/+2
| | | | | | | Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@19409 e93f8b46-1217-0410-a6f0-8f06a7374b81
* cleanup: rubocop: fix Layout/ClosingParenthesisIndentation in ↵Toshi MARUYAMA2019-11-231-1/+2
| | | | | | lib/redmine/wiki_formatting/macros.rb git-svn-id: http://svn.redmine.org/redmine/trunk@19192 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Wiki page collapse block image is not displayed in exported PDF (#30162).Jean-Philippe Lang2019-06-201-3/+11
| | | | | | Patch by Jun NAITOH. git-svn-id: http://svn.redmine.org/redmine/trunk@18307 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Issue macro for flexible linking to issues (#29489).Jean-Philippe Lang2019-06-201-0/+27
| | | | | | Patch by Jens Krämer. git-svn-id: http://svn.redmine.org/redmine/trunk@18297 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Remove trailing whitespaces from lib (#31506).Go MAEDA2019-06-061-4/+4
| | | | | | | Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@18231 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright year.Go MAEDA2019-05-251-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@18198 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use Regexp#match? to reduce allocations of MatchData object (#28940).Go MAEDA2019-03-271-2/+2
| | | | | | | Patch by Pavel Rosický. git-svn-id: http://svn.redmine.org/redmine/trunk@18011 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Support frozen_string_literal in lib/**/*.rb (#26561).Go MAEDA2019-03-171-1/+1
| | | | | | | Contributed by Pavel Rosický. git-svn-id: http://svn.redmine.org/redmine/trunk@17988 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add "frozen_string_literal: false" for all files (#26561).Go MAEDA2019-03-151-0/+2
| | | | | | | This will be changed to true in the future. git-svn-id: http://svn.redmine.org/redmine/trunk@17947 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Set a default size for macro thumbnails different from the preview thumbnails.Jean-Philippe Lang2017-07-191-2/+3
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16829 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright.Jean-Philippe Lang2017-06-251-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16685 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Modify circular inclusion test to use page.id instead of page.title (#24869).Jean-Philippe Lang2017-01-191-2/+2
| | | | | | Patch by Michael Esemplare. git-svn-id: http://svn.redmine.org/redmine/trunk@16227 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Updates copyright for 2016.Jean-Philippe Lang2016-03-131-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15238 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Typo "coma" (#20551).Jean-Philippe Lang2015-10-201-1/+1
| | | | | | Patch by budo kaiman. git-svn-id: http://svn.redmine.org/redmine/trunk@14712 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Don't process macro descriptions with text formatter (#18961).Jean-Philippe Lang2015-01-311-8/+14
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13955 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Copyright update.Jean-Philippe Lang2015-01-111-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13872 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use relative URL for thumbnails according to :only_path option (#18119).Jean-Philippe Lang2014-10-181-2/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13451 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Include host in macro generated thumbnails urls (#16989).Jean-Philippe Lang2014-07-051-2/+5
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13218 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed that collapse macro with headings breaks the table of contents (#16077).Jean-Philippe Lang2014-02-151-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@12899 e93f8b46-1217-0410-a6f0-8f06a7374b81
* update copyright year (#15977)Toshi MARUYAMA2014-01-291-1/+1
| | | | | | Contributed by Daniel Felix. git-svn-id: http://svn.redmine.org/redmine/trunk@12736 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Copyright for 2013 (#12788).Jean-Philippe Lang2013-01-121-1/+1
| | | | | | Patch by Daniel Felix. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11169 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed that macros with uppercase letters can not be called (#12744).Jean-Philippe Lang2013-01-051-2/+2
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11126 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed that #extract_macro_options should not be greedy (#12451).Jean-Philippe Lang2012-11-271-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10885 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds a macro for inserting collapsed text (#12167).Jean-Philippe Lang2012-10-201-0/+13
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10680 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Updates macro description (#10789).Jean-Philippe Lang2012-09-161-0/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10402 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds a "depth" option to the child_pages macro (#10789).Jean-Philippe Lang2012-09-161-2/+4
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10401 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Updated macro documentation.Jean-Philippe Lang2012-08-181-32/+47
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10212 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Validate macro name and options.Jean-Philippe Lang2012-08-181-1/+7
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10211 e93f8b46-1217-0410-a6f0-8f06a7374b81