Commit Graph

1913 Commits

Author SHA1 Message Date
Go MAEDA
2158e3f2c6 Fix that "Associated revisions" tab has no content when the user displays 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
2019-10-05 23:57:33 +00:00
Toshi MARUYAMA
217b091143 code cleanup: rubocop: fix Layout/LeadingCommentSpace in app/controllers/repositories_controller.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18473 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-09-15 15:08:49 +00:00
Go MAEDA
e54f1b23ec Code cleanup: RuboCop: Fix Performance/RedundantMatch and Rails/DynamicFindBy in app/controllers/auto_completes_controller.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18451 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-09-11 08:08:38 +00:00
Go MAEDA
3ba5e04f5e Issue auto complete should return last 10 issues (#31994).
Patch by Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@18449 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-09-11 06:39:00 +00:00
Go MAEDA
89739876d1 REST API for updating news (#13468).
Patch by Takenori TAKAKI.


git-svn-id: http://svn.redmine.org/redmine/trunk@18443 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-09-09 09:03:41 +00:00
Go MAEDA
780e64a100 REST API for deleting news (#13468).
Patch by Takenori TAKAKI.


git-svn-id: http://svn.redmine.org/redmine/trunk@18442 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-09-09 08:57:29 +00:00
Go MAEDA
3ca75647df REST API for retrieving news (#13468).
Patch by Takenori TAKAKI.


git-svn-id: http://svn.redmine.org/redmine/trunk@18441 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-09-09 08:55:43 +00:00
Go MAEDA
c22469838d REST API for creating news (#13468).
Patch by Takenori TAKAKI.


git-svn-id: http://svn.redmine.org/redmine/trunk@18440 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-09-09 08:52:13 +00:00
Go MAEDA
0d4ed12388 Code cleanup: RuboCop: Rails/ActiveRecordAliases
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
2019-08-17 08:14:36 +00:00
Go MAEDA
beeacb2c2a Replace RMagick with MiniMagick (#30492).
Patch by Yuichi HARADA.


git-svn-id: http://svn.redmine.org/redmine/trunk@18366 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-08-14 02:40:56 +00:00
Jean-Philippe Lang
cbc537de0a Set the first status as a default status in "New tracker" form (#29589).
Patch by Yuichi HARADA.

git-svn-id: http://svn.redmine.org/redmine/trunk@18293 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-06-20 13:34:48 +00:00
Jean-Philippe Lang
94c2356f38 Load changesets and time entries tabs async (#3058).
Patch by Marius BALTEANU.

git-svn-id: http://svn.redmine.org/redmine/trunk@18275 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-06-20 07:12:30 +00:00
Jean-Philippe Lang
0714ced815 Add time entries tab to issue history tabs (#3058).
Patch by Marius BALTEANU.

git-svn-id: http://svn.redmine.org/redmine/trunk@18274 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-06-20 07:11:26 +00:00
Go MAEDA
9cdd8bf039 Enables API access to /my/account for updating user account data (#31399).
Patch by Jens Krämer.


git-svn-id: http://svn.redmine.org/redmine/trunk@18257 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-06-16 09:34:49 +00:00
Go MAEDA
2e0ec5b0e6 Remove trailing whitespaces from app (#31506).
Patch by Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@18230 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-06-06 14:47:34 +00:00
Go MAEDA
1a4ff9eb49 Send the journal_indice as param in order to get rid of extra queries (#31427).
Patch by Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@18218 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-06-02 15:58:32 +00:00
Go MAEDA
2d475288e4 Insert a link to the source to the attribution line when quoting a note or a message (#31427).
Patch by Mizuki ISHIKAWA.


git-svn-id: http://svn.redmine.org/redmine/trunk@18217 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-06-02 13:29:54 +00:00
Toshi MARUYAMA
f76a85dc5a scm: fix error when *.yml and *.txt show (#31141, #30850)
Contributed by Mizuki ISHIKAWA.

git-svn-id: http://svn.redmine.org/redmine/trunk@18211 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-05-30 12:49:07 +00:00
Toshi MARUYAMA
e0738ac6e9 scm: early return in diff if diff is nil as same as show, changes, and etc. (#31141, #30850)
Contributed by Mizuki ISHIKAWA.

git-svn-id: http://svn.redmine.org/redmine/trunk@18206 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-05-30 06:57:09 +00:00
Go MAEDA
4082069c75 Update copyright year.
git-svn-id: http://svn.redmine.org/redmine/trunk@18198 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-05-25 07:36:06 +00:00
Go MAEDA
b0e17e8199 Don't rescue Exception class (#31387).
Patch by Go MAEDA and Pavel Rosický.


git-svn-id: http://svn.redmine.org/redmine/trunk@18197 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-05-25 06:50:25 +00:00
Go MAEDA
6d6ea928c8 Custom Exception classes should inherit StandardError instead of Exception (#31387).
Patch by Go MAEDA.


git-svn-id: http://svn.redmine.org/redmine/trunk@18187 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-05-21 23:53:10 +00:00
Go MAEDA
29403e710a Adds favorites and recently used projects lists to project jump box (#31355).
Patch by Jens Krämer.


git-svn-id: http://svn.redmine.org/redmine/trunk@18181 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-05-20 22:26:30 +00:00
Go MAEDA
f992df684f Small refactorization of avatar methods (#31391).
* 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
2019-05-19 22:27:41 +00:00
Go MAEDA
26171fc5f7 Include a reason in the error message when an issue status cannot be deleted (#31361).
Patch by Go MAEDA.


git-svn-id: http://svn.redmine.org/redmine/trunk@18168 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-05-16 00:17:47 +00:00
Go MAEDA
8eb5f2c605 Do not lose submitted content when attempting to update a wiki page that has 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
2019-05-15 13:21:35 +00:00
Go MAEDA
c4a4133178 Render PDF thumbnail using ImageMagick/GhostScript (#22481).
Patch by Gregor Schmidt.


git-svn-id: http://svn.redmine.org/redmine/trunk@18158 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-05-12 03:55:56 +00:00
Go MAEDA
b540046ed7 Generalize issues imports (#28234).
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
2019-05-09 07:40:06 +00:00
Go MAEDA
6732ce9a93 Fix that Content-Type header field is empty when sending a file of unknown type (#31275).
Patch by Go MAEDA.


git-svn-id: http://svn.redmine.org/redmine/trunk@18098 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-04-30 01:37:25 +00:00
Go MAEDA
6ef0a4c4cc Use HTTP status code 403 instead of 401 when REST API is disabled (#30086).
Patch by Yuichi HARADA.


git-svn-id: http://svn.redmine.org/redmine/trunk@18055 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-04-10 02:51: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
72e1451159 Use Regexp#match? to reduce allocations of MatchData object (#28940).
Patch by Pavel Rosický.


git-svn-id: http://svn.redmine.org/redmine/trunk@18011 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-27 02:15:24 +00:00
Go MAEDA
7d2f10ccac Fix FrozenError in RepositoriesController#diff (#31052, #26561).
Patch by Mizuki ISHIKAWA.


git-svn-id: http://svn.redmine.org/redmine/trunk@17990 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-19 02:42:58 +00:00
Go MAEDA
bd5977d97e Support frozen_string_literal in app/**/*.rb (#26561).
Contributed by Pavel Rosický.


git-svn-id: http://svn.redmine.org/redmine/trunk@17987 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-17 13:36:03 +00:00
Go MAEDA
d4daf4e23b Support frozen_string_literal in issue, journal, and query (#26561).
Patch by Pavel Rosický.


git-svn-id: http://svn.redmine.org/redmine/trunk@17980 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-17 00:29:58 +00:00
Go MAEDA
07b3087fda Enable frozen_string_literal for some files under app and lib directory (#26561).
git-svn-id: http://svn.redmine.org/redmine/trunk@17977 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-16 09:37:35 +00:00
Jean-Philippe Lang
e26ab0d4a2 Show recent documents first (#29725).
Patch by Yuichi HARADA.

git-svn-id: http://svn.redmine.org/redmine/trunk@17972 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-15 10:51:22 +00:00
Jean-Philippe Lang
84f322b2af Add a description for trackers (#442).
Patch by Marius BALTEANU.

git-svn-id: http://svn.redmine.org/redmine/trunk@17970 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-15 10:38:56 +00:00
Jean-Philippe Lang
b4c23f066e Display details about inheritance when editing a member roles (#31032).
git-svn-id: http://svn.redmine.org/redmine/trunk@17968 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-15 10:09:28 +00:00
Jean-Philippe Lang
7a11864812 Support issue[assigned_to_id]=me when prefilling issues (#28502).
Patch by Mizuki ISHIKAWA.

git-svn-id: http://svn.redmine.org/redmine/trunk@17964 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-15 09:37:04 +00:00
Jean-Philippe Lang
8d7386c3fa Send columns as a param to context menu instead of parsing back_url (#26836).
git-svn-id: http://svn.redmine.org/redmine/trunk@17956 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-15 07:52:21 +00:00
Jean-Philippe Lang
49efe66ff5 Filtering issues via context menu should not reset selected columns (#26836).
Patch by Vincent Robert.

git-svn-id: http://svn.redmine.org/redmine/trunk@17955 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-15 07:50:50 +00:00
Jean-Philippe Lang
fa8984f36a Searching for issue number with REST API redirects to issue HTML page (#29055).
Patch by Go MAEDA.

git-svn-id: http://svn.redmine.org/redmine/trunk@17949 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-15 07:28:25 +00:00
Go MAEDA
5861160ffc Add "frozen_string_literal: false" for all files (#26561).
This will be changed to true in the future.


git-svn-id: http://svn.redmine.org/redmine/trunk@17947 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-15 01:32:57 +00:00
Go MAEDA
158392ae93 Drop Ruby 2.2 support (#30356).
git-svn-id: http://svn.redmine.org/redmine/trunk@17887 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-02-19 10:11:07 +00:00
Go MAEDA
b68dcfc930 Issues autocomplete should response with content type json and not html (#30818).
Patch by Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@17881 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-02-18 14:56:19 +00:00
Go MAEDA
29063283da Ajax Request Returns 200 but an error event is fired instead of success (#30073).
Patch by Pavel Rosický.


git-svn-id: http://svn.redmine.org/redmine/trunk@17849 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-02-05 08:33:29 +00:00
Go MAEDA
fe7e3e7df5 Add issue tracking table on the user profile page (#30421).
Patch by Go MAEDA.


git-svn-id: http://svn.redmine.org/redmine/trunk@17844 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-02-01 23:46:05 +00:00
Go MAEDA
bb17ee5295 Show estimated time on the overview page as well as spent time (#30464).
Patch by Go MAEDA.


git-svn-id: http://svn.redmine.org/redmine/trunk@17838 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-01-22 23:34:57 +00:00
Go MAEDA
c9f460bb7d Add "nwday" class to non-working days in calendar (#27096).
Patch by Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@17798 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-01-14 05:19:31 +00:00