Commit Graph

715 Commits

Author SHA1 Message Date
Go MAEDA
1e53dd7e11 Fixes not to call set_tmp_attachments_directory twice after each test (#32094).
Patch by Go MAEDA.


git-svn-id: http://svn.redmine.org/redmine/trunk@18484 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-09-20 01:31:13 +00:00
Go MAEDA
cab9053067 Add missing fixture (#13468).
git-svn-id: http://svn.redmine.org/redmine/trunk@18455 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-09-12 12:51:23 +00:00
Go MAEDA
6b6895fc42 Fix that Redmine::ApiTest::NewsTest fails when config.time_zone is set (#13468).
Patch by Yuichi HARADA.


git-svn-id: http://svn.redmine.org/redmine/trunk@18445 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-09-11 01:53: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
2782d4b9f9 Add inherit_members to projects API response (#32002).
Patch by Yuichi HARADA.


git-svn-id: http://svn.redmine.org/redmine/trunk@18431 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-09-05 04:08:30 +00:00
Go MAEDA
cd3c133eb2 Add missing fixtures to Redmine::ApiTest::VersionsTest (#31965).
Patch by Yuichi HARADA.


git-svn-id: http://svn.redmine.org/redmine/trunk@18407 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-08-28 04:35:19 +00:00
Go MAEDA
e03617881e ThemesTest may fail if a third-party theme with a favicon is installed (#31941).
Patch by Go MAEDA.


git-svn-id: http://svn.redmine.org/redmine/trunk@18395 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-08-25 21:57:41 +00:00
Go MAEDA
31e8e736f3 Code cleanup: RuboCop: Layout/TrailingBlankLines
git-svn-id: http://svn.redmine.org/redmine/trunk@18367 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-08-14 03:02:20 +00:00
Go MAEDA
5c9447fd63 Support "active" attribute in Enumerations REST API (#31559).
Patch by Go MAEDA.


git-svn-id: http://svn.redmine.org/redmine/trunk@18325 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-06-30 05:57:52 +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
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
7b40cac9ea Add missing frozen string literals and copyrights (#31508).
Patch by Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@18255 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-06-13 07:24:49 +00:00
Go MAEDA
299f7a40b7 ApiTest fails if config.time_zone is set (#31388).
Patch by Yuichi HARADA.


git-svn-id: http://svn.redmine.org/redmine/trunk@18237 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-06-08 06:44:20 +00:00
Go MAEDA
adebf4da1d Remove trailing whitespaces from test (#31506).
Patch by Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@18233 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-06-06 14:53:23 +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
dcb9d8c4a7 add *.yaml and *.txt to RoutingRepositoriesTest (#31141, #30850)
git-svn-id: http://svn.redmine.org/redmine/trunk@18207 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-05-30 06:57:20 +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
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
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
2a80dbfb76 Test for r18091 (#26237).
Patch by Mizuki ISHIKAWA.


git-svn-id: http://svn.redmine.org/redmine/trunk@18092 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-04-28 14:28:47 +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
b900ae6107 Support frozen_string_literal in test/**/*.rb (#26561).
Contributed by Pavel Rosický.


git-svn-id: http://svn.redmine.org/redmine/trunk@17996 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-21 03:27:53 +00:00
Go MAEDA
26509e7f4c Decode hexadecimal-encoded literals in order to be frozen string literals friendly (#31004).
Patch by Yuichi HARADA.


git-svn-id: http://svn.redmine.org/redmine/trunk@17991 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-19 15:43:55 +00:00
Go MAEDA
4f5a3a156c Enable frozen_string_literal for some files under test directory (#26561).
git-svn-id: http://svn.redmine.org/redmine/trunk@17978 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-16 15:03:47 +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
8daca338ed Unified diff link broken on specific file/revision diff view (#30850).
git-svn-id: http://svn.redmine.org/redmine/trunk@17962 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-15 08:51:48 +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
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
1d3e2006b1 Hide menu item in the cross-project menu if the module is not enabled in any project (#30207).
Patch by Yuichi HARADA.


git-svn-id: http://svn.redmine.org/redmine/trunk@17794 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-01-13 03:23:18 +00:00
Go MAEDA
039580b73d Display user logins on profiles (#26127).
Patch by Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@17721 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-12-12 00:10:09 +00:00
Go MAEDA
46b028b1b8 Fix that the following tests fail randomly due to uninitialized User.current (#29853):
* AttachmentsVisibilityTest#test_attachment_should_be_visible
*
Redmine::AttachmentFieldFormatTest#test_should_accept_a_hash_with_upload_on_create
*
Redmine::AttachmentFieldFormatTest#test_should_replace_attachment_on_update

Patch by Gilad Shanan.


git-svn-id: http://svn.redmine.org/redmine/trunk@17616 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-11-03 07:15:00 +00:00
Go MAEDA
57a4fedd34 Handles the case when an expired token is in the users session (#29781).
Patch by Jens Krämer.


git-svn-id: http://svn.redmine.org/redmine/trunk@17601 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-10-28 05:59:11 +00:00
Jean-Philippe Lang
b9fa262165 Adds preview option to the wiki toolbar (#27758).
Patch by Marius BALTEANU.

git-svn-id: http://svn.redmine.org/redmine/trunk@17521 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-09-26 07:27:30 +00:00
Go MAEDA
55ee0b8f7f Add assignable, issues_visibility, time_entries_visibility and users_visibility to Roles API response (#28191).
Patch by Alex Stanev.


git-svn-id: http://svn.redmine.org/redmine/trunk@17498 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-09-23 00:17:11 +00:00
Go MAEDA
0d29d3208d Expose the Admin flag on the users api to admin users (#29459).
Patch by Holger Just.


git-svn-id: http://svn.redmine.org/redmine/trunk@17496 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-09-20 14:54:38 +00:00
Go MAEDA
156b8e2ee6 Allow project bulk edit of time entries (#26534).
Patch by Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@17482 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-09-14 03:40:37 +00:00
Go MAEDA
cb5fce0442 Adds link to container to attachment view (#29190).
Patch by Gregor Schmidt.


git-svn-id: http://svn.redmine.org/redmine/trunk@17435 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-07-08 00:27:58 +00:00
Jean-Philippe Lang
4137ba8e81 Removes repository routes without repository_id (#26522).
git-svn-id: http://svn.redmine.org/redmine/trunk@17386 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-06-16 14:27:51 +00:00
Go MAEDA
43d9bea7c5 /users API accepts boolean strings for generate_password field (#28686).
Patch by Gregor Schmidt.


git-svn-id: http://svn.redmine.org/redmine/trunk@17327 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-05-06 08:31:23 +00:00
Go MAEDA
fe7e8f1d3b Add CSS to distinguish when a main menu is present or not (#28531).
Patch by Felix Schäfer.


git-svn-id: http://svn.redmine.org/redmine/trunk@17303 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-04-23 05:16:25 +00:00
Toshi MARUYAMA
d2298e419c source code comment slight change (#27865)
git-svn-id: http://svn.redmine.org/redmine/trunk@17136 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-12-29 15:09:57 +00:00
Toshi MARUYAMA
7a556764ef use relative url at robots.txt (#27865)
git-svn-id: http://svn.redmine.org/redmine/trunk@17135 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-12-29 14:56:51 +00:00
Toshi MARUYAMA
e438523e78 remove unused WikisController#edit (#26579)
git-svn-id: http://svn.redmine.org/redmine/trunk@17018 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-11-05 19:09:05 +00:00
Toshi MARUYAMA
aa5e49c37b fix element order (#26769)
git-svn-id: http://svn.redmine.org/redmine/trunk@16954 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-08-28 04:20:55 +00:00
Toshi MARUYAMA
7cb8ce8e40 add category_id to REST issue creation tests (#26769)
git-svn-id: http://svn.redmine.org/redmine/trunk@16953 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-08-28 04:15:55 +00:00
Jean-Philippe Lang
143cd53e78 Missing fixtures.
git-svn-id: http://svn.redmine.org/redmine/trunk@16946 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-08-02 18:38:40 +00:00