summaryrefslogtreecommitdiffstats
path: root/app/controllers
Commit message (Collapse)AuthorAgeFilesLines
...
* Filters for Projects page (#29482).Jean-Philippe Lang2019-10-192-5/+19
| | | | | | Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@18761 e93f8b46-1217-0410-a6f0-8f06a7374b81
* code layout clean up app/controllers/issues_controller.rbToshi MARUYAMA2019-10-171-1/+3
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@18718 e93f8b46-1217-0410-a6f0-8f06a7374b81
* code cleanup: rubocop: fix Layout/SpaceAroundBlockParameters in ↵Toshi MARUYAMA2019-10-171-1/+1
| | | | | | app/controllers/issues_controller.rb git-svn-id: http://svn.redmine.org/redmine/trunk@18716 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix that "Associated revisions" tab has no content when the user displays ↵Go MAEDA2019-10-051-1/+1
| | | | | | | | | comments in reverse chronological order (#32198, #3058). Patch by José Esteves. git-svn-id: http://svn.redmine.org/redmine/trunk@18598 e93f8b46-1217-0410-a6f0-8f06a7374b81
* code cleanup: rubocop: fix Layout/LeadingCommentSpace in ↵Toshi MARUYAMA2019-09-151-2/+2
| | | | | | app/controllers/repositories_controller.rb git-svn-id: http://svn.redmine.org/redmine/trunk@18473 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Code cleanup: RuboCop: Fix Performance/RedundantMatch and ↵Go MAEDA2019-09-111-2/+2
| | | | | | Rails/DynamicFindBy in app/controllers/auto_completes_controller.rb git-svn-id: http://svn.redmine.org/redmine/trunk@18451 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Issue auto complete should return last 10 issues (#31994).Go MAEDA2019-09-111-8/+6
| | | | | | | Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@18449 e93f8b46-1217-0410-a6f0-8f06a7374b81
* REST API for updating news (#13468).Go MAEDA2019-09-091-6/+14
| | | | | | | Patch by Takenori TAKAKI. git-svn-id: http://svn.redmine.org/redmine/trunk@18443 e93f8b46-1217-0410-a6f0-8f06a7374b81
* REST API for deleting news (#13468).Go MAEDA2019-09-091-2/+5
| | | | | | | Patch by Takenori TAKAKI. git-svn-id: http://svn.redmine.org/redmine/trunk@18442 e93f8b46-1217-0410-a6f0-8f06a7374b81
* REST API for retrieving news (#13468).Go MAEDA2019-09-091-1/+1
| | | | | | | Patch by Takenori TAKAKI. git-svn-id: http://svn.redmine.org/redmine/trunk@18441 e93f8b46-1217-0410-a6f0-8f06a7374b81
* REST API for creating news (#13468).Go MAEDA2019-09-091-6/+14
| | | | | | | Patch by Takenori TAKAKI. git-svn-id: http://svn.redmine.org/redmine/trunk@18440 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Code cleanup: RuboCop: Rails/ActiveRecordAliasesGo MAEDA2019-08-171-1/+1
| | | | | | | update_attributes is deprecated in Rails 6.0 and will be removed in Rails 6.1 (#29914). git-svn-id: http://svn.redmine.org/redmine/trunk@18375 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Replace RMagick with MiniMagick (#30492).Go MAEDA2019-08-141-1/+1
| | | | | | | Patch by Yuichi HARADA. git-svn-id: http://svn.redmine.org/redmine/trunk@18366 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Set the first status as a default status in "New tracker" form (#29589).Jean-Philippe Lang2019-06-201-1/+1
| | | | | | Patch by Yuichi HARADA. git-svn-id: http://svn.redmine.org/redmine/trunk@18293 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Load changesets and time entries tabs async (#3058).Jean-Philippe Lang2019-06-201-7/+22
| | | | | | Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@18275 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add time entries tab to issue history tabs (#3058).Jean-Philippe Lang2019-06-201-0/+1
| | | | | | Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@18274 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Enables API access to /my/account for updating user account data (#31399).Go MAEDA2019-06-161-4/+16
| | | | | | | Patch by Jens Krämer. git-svn-id: http://svn.redmine.org/redmine/trunk@18257 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Remove trailing whitespaces from app (#31506).Go MAEDA2019-06-062-2/+2
| | | | | | | Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@18230 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Send the journal_indice as param in order to get rid of extra queries (#31427).Go MAEDA2019-06-021-2/+1
| | | | | | | Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@18218 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Insert a link to the source to the attribution line when quoting a note or a ↵Go MAEDA2019-06-022-2/+8
| | | | | | | | | message (#31427). Patch by Mizuki ISHIKAWA. git-svn-id: http://svn.redmine.org/redmine/trunk@18217 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: fix error when *.yml and *.txt show (#31141, #30850)Toshi MARUYAMA2019-05-301-0/+1
| | | | | | Contributed by Mizuki ISHIKAWA. git-svn-id: http://svn.redmine.org/redmine/trunk@18211 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: early return in diff if diff is nil as same as show, changes, and etc. ↵Toshi MARUYAMA2019-05-301-1/+1
| | | | | | | | (#31141, #30850) Contributed by Mizuki ISHIKAWA. git-svn-id: http://svn.redmine.org/redmine/trunk@18206 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright year.Go MAEDA2019-05-2550-50/+50
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@18198 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Don't rescue Exception class (#31387).Go MAEDA2019-05-253-4/+4
| | | | | | | Patch by Go MAEDA and Pavel Rosický. git-svn-id: http://svn.redmine.org/redmine/trunk@18197 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Custom Exception classes should inherit StandardError instead of Exception ↵Go MAEDA2019-05-212-3/+3
| | | | | | | | | (#31387). Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@18187 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds favorites and recently used projects lists to project jump box (#31355).Go MAEDA2019-05-202-0/+21
| | | | | | | 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-191-0/+3
| | | | | | | | | | | | | * 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
* Include a reason in the error message when an issue status cannot be deleted ↵Go MAEDA2019-05-161-2/+2
| | | | | | | | | (#31361). Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@18168 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Do not lose submitted content when attempting to update a wiki page that has ↵Go MAEDA2019-05-151-1/+3
| | | | | | | | | been renamed in the meantime (#31334). Patch by Jens Krämer. git-svn-id: http://svn.redmine.org/redmine/trunk@18165 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Render PDF thumbnail using ImageMagick/GhostScript (#22481).Go MAEDA2019-05-122-5/+14
| | | | | | | 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-4/+40
| | | | | | | | | 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
* Fix that Content-Type header field is empty when sending a file of unknown ↵Go MAEDA2019-04-301-1/+1
| | | | | | | | | type (#31275). Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@18098 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use HTTP status code 403 instead of 401 when REST API is disabled (#30086).Go MAEDA2019-04-101-2/+7
| | | | | | | Patch by Yuichi HARADA. git-svn-id: http://svn.redmine.org/redmine/trunk@18055 e93f8b46-1217-0410-a6f0-8f06a7374b81
* "Create and continue" button for custom fields (#31159).Go MAEDA2019-04-091-1/+5
| | | | | | | Patch by Mizuki ISHIKAWA. git-svn-id: http://svn.redmine.org/redmine/trunk@18054 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use Regexp#match? to reduce allocations of MatchData object (#28940).Go MAEDA2019-03-273-6/+6
| | | | | | | Patch by Pavel Rosický. git-svn-id: http://svn.redmine.org/redmine/trunk@18011 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix FrozenError in RepositoriesController#diff (#31052, #26561).Go MAEDA2019-03-191-1/+1
| | | | | | | Patch by Mizuki ISHIKAWA. git-svn-id: http://svn.redmine.org/redmine/trunk@17990 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Support frozen_string_literal in app/**/*.rb (#26561).Go MAEDA2019-03-174-7/+6
| | | | | | | Contributed by Pavel Rosický. git-svn-id: http://svn.redmine.org/redmine/trunk@17987 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Support frozen_string_literal in issue, journal, and query (#26561).Go MAEDA2019-03-171-2/+2
| | | | | | | Patch by Pavel Rosický. git-svn-id: http://svn.redmine.org/redmine/trunk@17980 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Enable frozen_string_literal for some files under app and lib directory ↵Go MAEDA2019-03-1645-45/+45
| | | | | | (#26561). git-svn-id: http://svn.redmine.org/redmine/trunk@17977 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Show recent documents first (#29725).Jean-Philippe Lang2019-03-151-1/+2
| | | | | | Patch by Yuichi HARADA. git-svn-id: http://svn.redmine.org/redmine/trunk@17972 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add a description for trackers (#442).Jean-Philippe Lang2019-03-151-0/+1
| | | | | | Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@17970 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Display details about inheritance when editing a member roles (#31032).Jean-Philippe Lang2019-03-151-0/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@17968 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Support issue[assigned_to_id]=me when prefilling issues (#28502).Jean-Philippe Lang2019-03-151-0/+2
| | | | | | Patch by Mizuki ISHIKAWA. git-svn-id: http://svn.redmine.org/redmine/trunk@17964 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Send columns as a param to context menu instead of parsing back_url (#26836).Jean-Philippe Lang2019-03-151-2/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@17956 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Filtering issues via context menu should not reset selected columns (#26836).Jean-Philippe Lang2019-03-151-0/+3
| | | | | | Patch by Vincent Robert. git-svn-id: http://svn.redmine.org/redmine/trunk@17955 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Searching for issue number with REST API redirects to issue HTML page (#29055).Jean-Philippe Lang2019-03-151-1/+1
| | | | | | Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@17949 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add "frozen_string_literal: false" for all files (#26561).Go MAEDA2019-03-1550-0/+100
| | | | | | | This will be changed to true in the future. git-svn-id: http://svn.redmine.org/redmine/trunk@17947 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Drop Ruby 2.2 support (#30356).Go MAEDA2019-02-191-2/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@17887 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Issues autocomplete should response with content type json and not html ↵Go MAEDA2019-02-181-5/+15
| | | | | | | | | (#30818). Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@17881 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Ajax Request Returns 200 but an error event is fired instead of success ↵Go MAEDA2019-02-051-2/+2
| | | | | | | | | (#30073). Patch by Pavel Rosický. git-svn-id: http://svn.redmine.org/redmine/trunk@17849 e93f8b46-1217-0410-a6f0-8f06a7374b81