Commit Graph

7100 Commits

Author SHA1 Message Date
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
d953242e52 Show version status as badge in rodmap#index and roadmap#show (#29391).
Patch by Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@18053 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-04-09 14:48:15 +00:00
Go MAEDA
766452e841 Move styles for count and private to a new class named 'badge' (#29391).
Patch by Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@18052 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-04-09 14:45:52 +00:00
Go MAEDA
da2e42147b Remove trailing whitespaces from journals_helper.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18051 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-04-08 13:42:26 +00:00
Go MAEDA
ce6e9ca950 Don't raise an exception when the emission email address is not RFC compliant (#5913).
Patch by Go MAEDA.


git-svn-id: http://svn.redmine.org/redmine/trunk@18050 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-04-08 13:28:34 +00:00
Go MAEDA
25ec4a9366 Code cleanup: use safe navigation operator in app/models/mailer.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18045 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-04-06 06:17:03 +00:00
Go MAEDA
9d7595c35f Remove useless code in TimeEntryQuery#sql_for_activity_id_field (#31088).
Patch by Go MAEDA.


git-svn-id: http://svn.redmine.org/redmine/trunk@18034 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-04-03 04:00:12 +00:00
Jean-Philippe Lang
b46741f7fc Let user select a tracker from the modal (#442).
Patch by Marius BALTEANU.

git-svn-id: http://svn.redmine.org/redmine/trunk@18016 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-30 06:23:52 +00:00
Jean-Philippe Lang
56742e65de Cannot uncheck Gantt chart options of a custom query (#31063).
Patch by Mizuki ISHIKAWA.

git-svn-id: http://svn.redmine.org/redmine/trunk@18015 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-30 06:19:04 +00:00
Jean-Philippe Lang
805aef85de "View differences" buttons are shown in the repository page even without "Browse repository" permission (#30731).
Patch by Go MAEDA.

git-svn-id: http://svn.redmine.org/redmine/trunk@18013 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-30 06:13:08 +00:00
Go MAEDA
32dce42b71 Show projects using a table instead of an unordered list in the user profile page (#31066).
Patch by Takenori TAKAKI.


git-svn-id: http://svn.redmine.org/redmine/trunk@18012 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-28 23:44:28 +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
f0d579adeb Fix that deleting a version silently deletes its attachments (#31087).
Patch by Karel Pičman and Takenori TAKAKI.


git-svn-id: http://svn.redmine.org/redmine/trunk@18008 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-26 11:05:20 +00:00
Go MAEDA
391c069d87 Project search should select subprojects scope when the project has subprojects (#30923).
Patch by Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@18005 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-25 01:57:20 +00:00
Go MAEDA
ffa4e02817 Group time entries by created date (#30233).
Patch by Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@18003 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-24 06:14:33 +00:00
Go MAEDA
09b63e39ed Simpler link syntax "#note-123" to make a link to a note of the current issue (#30829).
Contributed by Marius BALTEANU and Yuichi HARADA.


git-svn-id: http://svn.redmine.org/redmine/trunk@17993 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-20 05:15:59 +00:00
Go MAEDA
606e75d12d Use #b shortcut instead of #force_encoding (#31059).
Patch by Pavel Rosický.


git-svn-id: http://svn.redmine.org/redmine/trunk@17992 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-20 01:36:44 +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
bf67729a28 Remove unused method ApplicationHelper#generate_csv (#31046).
Patch by Go MAEDA.


git-svn-id: http://svn.redmine.org/redmine/trunk@17989 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-18 14:23:47 +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
46208a6743 Enable frozen_string_literal for app/views/*/*.builder (#26561).
git-svn-id: http://svn.redmine.org/redmine/trunk@17979 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-17 00:23:17 +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
Go MAEDA
e70c283a22 Remove unnecessary encoding magic comment (#31034).
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
2019-03-16 06:26:33 +00:00
Jean-Philippe Lang
ccda34cac6 Display user's groups on profile (#12796).
Only for admins or when viewing its own profile.

git-svn-id: http://svn.redmine.org/redmine/trunk@17973 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-15 11:49:51 +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
8d6ecfa068 Update footer copyright to 2019 (#30872).
git-svn-id: http://svn.redmine.org/redmine/trunk@17952 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-15 07:35:49 +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
1fbb2fa33a Move custom field classes to a method (#30994).
Patch by Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@17937 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-09 15:38:24 +00:00
Go MAEDA
12968c0843 Add CSS class to user custom fields (#30985).
Patch by Go MAEDA.


git-svn-id: http://svn.redmine.org/redmine/trunk@17935 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-09 15:07:36 +00:00
Go MAEDA
bbacbd3353 "Last updated by" filter causes an SQL error with MariaDB (#30367).
Patch by Pavel Rosický.


git-svn-id: http://svn.redmine.org/redmine/trunk@17933 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-07 08:05:03 +00:00
Go MAEDA
7b5131a229 Add CSS class to project custom fields (#30977).
Patch by Go MAEDA.


git-svn-id: http://svn.redmine.org/redmine/trunk@17931 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-06 22:31:14 +00:00
Go MAEDA
bdcadb8ced Allow collapse/expand in gantt chart (#6417).
Patch by Yuichi HARADA.


git-svn-id: http://svn.redmine.org/redmine/trunk@17929 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-05 14:52:09 +00:00
Go MAEDA
959da1d3ea Issue emails cannot be threaded by some mailers due to inconsistent Message-ID and References field (#17096).
Patch by Go MAEDA.


git-svn-id: http://svn.redmine.org/redmine/trunk@17927 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-04 14:36:54 +00:00
Go MAEDA
54bffb5ed6 Reverted r17925 (#6417). The change breaks GanttHelperTest.
git-svn-id: http://svn.redmine.org/redmine/trunk@17926 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-04 12:47:07 +00:00
Go MAEDA
a925f9603d Allow collapse/expand in gantt chart (#6417).
Patch by Yuichi HARADA.


git-svn-id: http://svn.redmine.org/redmine/trunk@17925 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-04 12:07:17 +00:00
Go MAEDA
0f39eec9e0 "View all issues" link in email reminders points to issues list which does not include issues assigned to a group (#30955).
Patch by Go MAEDA.


git-svn-id: http://svn.redmine.org/redmine/trunk@17918 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-03 22:31:53 +00:00
Go MAEDA
3ce803e82b Parse author's name enclosed in parentheses in the From field when creating a user account from an email (#17699).
Patch by Go MAEDA.


git-svn-id: http://svn.redmine.org/redmine/trunk@17914 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-03 11:55:15 +00:00
Go MAEDA
77f35cb818 Option to parse HTML part of multipart (HTML) emails first (#30838).
Patch by Yuichi HARADA.


git-svn-id: http://svn.redmine.org/redmine/trunk@17913 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-03 08:17:59 +00:00
Go MAEDA
917f9d9442 Timeout for "Check for updates" on Plugins page is too short (#30939).
Contributed by Eric Gauthier.


git-svn-id: http://svn.redmine.org/redmine/trunk@17909 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-01 08:15:59 +00:00
Go MAEDA
40c894ff03 Multiple issue ids in "Subtasks" filter (#30808).
Patch by Yuichi HARADA.


git-svn-id: http://svn.redmine.org/redmine/trunk@17908 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-02-28 10:01:45 +00:00
Go MAEDA
8af0990073 New setting to include the status changes in issue mail notifications subject (#13111).
Patch by Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@17907 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-02-28 08:23:17 +00:00
Go MAEDA
0a23eabdce Cannot make cross-project wiki link if the project name includes square brackets (#30256).
Patch by Yuichi HARADA.


git-svn-id: http://svn.redmine.org/redmine/trunk@17906 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-02-27 23:44:16 +00:00