summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* Update copyright year.Go MAEDA2019-05-251-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@18199 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright year.Go MAEDA2019-05-2582-82/+82
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@18198 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Don't rescue Exception class (#31387).Go MAEDA2019-05-257-16/+12
| | | | | | | Patch by Go MAEDA and Pavel Rosický. git-svn-id: http://svn.redmine.org/redmine/trunk@18197 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Explicitly load redmine/info in order to avoid "uninitialized constant" ↵Go MAEDA2019-05-231-0/+1
| | | | | | | | | error (#31337). Contributed by Lluís Gili. git-svn-id: http://svn.redmine.org/redmine/trunk@18193 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Custom Exception classes should inherit StandardError instead of Exception ↵Go MAEDA2019-05-213-3/+3
| | | | | | | | | (#31387). Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@18187 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix an error "uninitialized constant Redmine::ProjectJumpBox" in the ↵Go MAEDA2019-05-211-0/+1
| | | | | | production environment (#31355). git-svn-id: http://svn.redmine.org/redmine/trunk@18183 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds favorites and recently used projects lists to project jump box (#31355).Go MAEDA2019-05-202-1/+95
| | | | | | | Patch by Jens Krämer. git-svn-id: http://svn.redmine.org/redmine/trunk@18181 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Small refactorization of avatar methods (#31391).Go MAEDA2019-05-192-8/+2
| | | | | | | | | | | | | * move existing methods from ApplicationHelper to a new helper file (AvatarsHelper) * change default avatar size from 50 to 24 because most of the avatars are using the size 24 * class 'gravatar' is always added and all custom classes are appended * added user name as default title for avatar images * added two new methods: @assignee_avatar@ and @author_avatar@ Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@18175 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Show selected columns in gantt chart (#27672).Go MAEDA2019-05-161-6/+28
| | | | | | | Patch by Mizuki ISHIKAWA. git-svn-id: http://svn.redmine.org/redmine/trunk@18171 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Render PDF thumbnail using ImageMagick/GhostScript (#22481).Go MAEDA2019-05-121-3/+30
| | | | | | | Patch by Gregor Schmidt. git-svn-id: http://svn.redmine.org/redmine/trunk@18158 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Generalize issues imports (#28234).Go MAEDA2019-05-091-1/+1
| | | | | | | | | Extend import controller to support arbitrary imports based on Import subclasses. This way, we may add other kinds of imports, by providing some views and a custom import class. This may also be done from within plugins. Patch by Gregor Schmidt. git-svn-id: http://svn.redmine.org/redmine/trunk@18145 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Remove the :ssl option which is not used anymore (#31022).Go MAEDA2019-05-081-3/+0
| | | | | | | Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@18139 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Allow a bigger range for the gantt timeline (#14654).Go MAEDA2019-05-081-1/+1
| | | | | | | Patch by Yuichi HARADA. git-svn-id: http://svn.redmine.org/redmine/trunk@18136 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Don't output ImageMagick version information to stdout (#31125).Go MAEDA2019-05-051-1/+6
| | | | | | | Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@18126 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add avatar_server_url configuration option in order to support Libravatar ↵Go MAEDA2019-05-042-1/+2
| | | | | | | | | (#9112). Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@18124 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Attachment preview does not work for some source files such as JavaScript ↵Go MAEDA2019-05-041-1/+13
| | | | | | | | | and Go (#29259). Patch by Go MAEDA with the help of Stephan Wenzel's contribution. git-svn-id: http://svn.redmine.org/redmine/trunk@18122 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Redmine::SyntaxHighlighting.highlight_by_filename may not be able to ↵Go MAEDA2019-05-031-1/+1
| | | | | | | | | determine the language by filename alone (#31285). Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@18118 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Code cleanup: use safe navigation operator in lib/redmine/mime_type.rbGo MAEDA2019-05-021-5/+4
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@18116 e93f8b46-1217-0410-a6f0-8f06a7374b81
* New My page block: Updated issues (#30975).Go MAEDA2019-04-301-0/+1
| | | | | | | Patch by Yuichi HARADA. git-svn-id: http://svn.redmine.org/redmine/trunk@18109 e93f8b46-1217-0410-a6f0-8f06a7374b81
* New Permission: Edit own issue (#1248).Go MAEDA2019-04-251-0/+1
| | | | | | | Patch by Yuichi HARADA. git-svn-id: http://svn.redmine.org/redmine/trunk@18081 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Code cleanup: Use Loofah.remove_extraneous_whitespace instead of deprecated ↵Go MAEDA2019-04-211-1/+1
| | | | | | Loofah::Helpers.remove_extraneous_whitespace. git-svn-id: http://svn.redmine.org/redmine/trunk@18070 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Raise an exception if the plugin directory name differs from the plugin id ↵Go MAEDA2019-04-191-0/+4
| | | | | | | | | (#31110). Patch by Mizuki ISHIKAWA. git-svn-id: http://svn.redmine.org/redmine/trunk@18064 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Garbage lines in the output of 'git branch' break git adapter (#31120).Go MAEDA2019-04-071-0/+1
| | | | | | | Contributed by Chad Petersen. git-svn-id: http://svn.redmine.org/redmine/trunk@18046 e93f8b46-1217-0410-a6f0-8f06a7374b81
* code clean up GitAdapterToshi MARUYAMA2019-04-051-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@18043 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: git: fix non ascii branch and tag browsing (#16881)Toshi MARUYAMA2019-04-051-5/+14
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@18042 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: git: add new one latin1 tag to test repository (#16881)Toshi MARUYAMA2019-04-051-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@18040 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: git: add new two latin1 branches to test repository (#16881)Toshi MARUYAMA2019-04-051-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@18039 e93f8b46-1217-0410-a6f0-8f06a7374b81
* code clean up GitAdapterToshi MARUYAMA2019-04-041-3/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@18038 e93f8b46-1217-0410-a6f0-8f06a7374b81
* code clean up GitAdapterToshi MARUYAMA2019-04-041-2/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@18037 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Updates for 4.0.3 release.Jean-Philippe Lang2019-03-311-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@18023 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use Regexp#match? to reduce allocations of MatchData object (#28940).Go MAEDA2019-03-2719-34/+34
| | | | | | | Patch by Pavel Rosický. git-svn-id: http://svn.redmine.org/redmine/trunk@18011 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Remove frozen_string_literal magic comment from files which are not used ↵Go MAEDA2019-03-2132-64/+0
| | | | | | when running the application or tests (#23630). git-svn-id: http://svn.redmine.org/redmine/trunk@17997 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Remove extra #dup (#26561).Go MAEDA2019-03-211-3/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@17995 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix FrozenError in BazaarAdapter.branch_conf_path (#26561).Go MAEDA2019-03-201-10/+3
| | | | | | | Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@17994 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use #b shortcut instead of #force_encoding (#31059).Go MAEDA2019-03-207-17/+11
| | | | | | | Patch by Pavel Rosický. git-svn-id: http://svn.redmine.org/redmine/trunk@17992 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Support frozen_string_literal in lib/**/*.rb (#26561).Go MAEDA2019-03-1740-98/+99
| | | | | | | Contributed by Pavel Rosický. git-svn-id: http://svn.redmine.org/redmine/trunk@17988 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Support frozen_string_literal in lib/redmine/export/*.rb (#26561).Go MAEDA2019-03-172-8/+9
| | | | | | | Contributed by Pavel Rosický. git-svn-id: http://svn.redmine.org/redmine/trunk@17985 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Remove trailing whitespaces from lib/redmine/export/pdf/issues_pdf_helper.rbGo MAEDA2019-03-171-23/+23
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@17984 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Enable frozen_string_literal for files which don't contain string literals ↵Go MAEDA2019-03-177-7/+7
| | | | | | (#26561). git-svn-id: http://svn.redmine.org/redmine/trunk@17981 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Enable frozen_string_literal for some files under app and lib directory ↵Go MAEDA2019-03-1651-51/+51
| | | | | | (#26561). git-svn-id: http://svn.redmine.org/redmine/trunk@17977 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Remove unnecessary encoding magic comment (#31034).Go MAEDA2019-03-165-9/+0
| | | | | | | | | The default script encoding is UTF-8 in Ruby 2.0 or later. Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@17976 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix RDMwriteFormattedCell destroying an argument (#26561).Go MAEDA2019-03-161-2/+2
| | | | | | | Patch by Pavel Rosický. git-svn-id: http://svn.redmine.org/redmine/trunk@17975 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix that methods in Redmine::CodesetUtil destroy the original string (#26561).Go MAEDA2019-03-161-5/+11
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@17974 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Include plugin name in the exception when the plugin required by ↵Jean-Philippe Lang2019-03-151-1/+5
| | | | | | | | requires_redmine_plugin is not found (#31030). Patch by Jérôme BATAILLE and Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@17960 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add plugin lib directory to rails autoload paths (#30753).Jean-Philippe Lang2019-03-151-0/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@17958 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Always use HTTPS when accessing gravatar.com (#31022).Go MAEDA2019-03-151-2/+2
| | | | | | | Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@17948 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add "frozen_string_literal: false" for all files (#26561).Go MAEDA2019-03-15139-3/+280
| | | | | | | This will be changed to true in the future. git-svn-id: http://svn.redmine.org/redmine/trunk@17947 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Remove trailing whitespaces from lib/plugins/gravatar/lib/gravatar.rbGo MAEDA2019-03-141-11/+11
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@17946 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Reverts r17891 (#30099).Go MAEDA2019-03-101-5/+4
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@17939 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Allow collapse/expand in gantt chart (#6417).Go MAEDA2019-03-051-10/+42
| | | | | | | Patch by Yuichi HARADA. git-svn-id: http://svn.redmine.org/redmine/trunk@17929 e93f8b46-1217-0410-a6f0-8f06a7374b81