Jean-Philippe Lang
09e55e3e3a
Adds a few tests.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@16940 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-07-31 16:44:06 +00:00
Jean-Philippe Lang
d74f0bfd5c
Merged rails-5.1 branch ( #23630 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@16859 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-07-23 11:26:04 +00:00
Toshi MARUYAMA
d73f437f06
Update remaining copyrights.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@16734 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-07-02 07:08:12 +00:00
Jean-Philippe Lang
7fd04e1f8d
Update copyright.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@16685 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-06-25 08:40:31 +00:00
Jean-Philippe Lang
b21af3eaa4
Preview files by default instead of downloading them ( #25988 ).
...
Patch by Go MAEDA.
git-svn-id: http://svn.redmine.org/redmine/trunk@16665 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-06-17 07:28:10 +00:00
Jean-Philippe Lang
966f238da4
Use Rails 5 syntax for integration tests.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@16586 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-06-01 18:17:27 +00:00
Jean-Philippe Lang
23dc616850
Moves project quick search to a dedicated action.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@16550 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-05-13 09:20:29 +00:00
Jean-Philippe Lang
73dc7256c6
Adds a test for #25526 .
...
git-svn-id: http://svn.redmine.org/redmine/trunk@16492 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-04-05 16:10:16 +00:00
Jean-Philippe Lang
8fe94c30fe
Adds a link back to the issue list that we are coming from.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@16478 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-04-04 17:49:40 +00:00
Jean-Philippe Lang
df347c5c01
Restore timestamp in asset paths ( #24617 ).
...
Patch by Hiroshi Shirosaki.
git-svn-id: http://svn.redmine.org/redmine/trunk@16448 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-04-03 05:49:16 +00:00
Toshi MARUYAMA
21f8ce885d
add missing fixtures to test/integration/attachments_test.rb
...
git-svn-id: http://svn.redmine.org/redmine/trunk@16427 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-03-21 11:41:00 +00:00
Toshi MARUYAMA
749e260980
add missing fixtures to test/integration/api_test/api_test.rb
...
git-svn-id: http://svn.redmine.org/redmine/trunk@16426 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-03-21 11:29:56 +00:00
Jean-Philippe Lang
eb0a93d353
Removes MyControllerTest#page_layout ( #25297 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@16385 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-03-09 19:08:02 +00:00
Jean-Philippe Lang
ba788c336d
REST API: option to get the project activities for time entries ( #7506 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@16365 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-03-03 19:12:51 +00:00
Jean-Philippe Lang
331c1f674d
Add attachment information to issues.xml in REST API ( #12181 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@16360 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-03-03 17:18:58 +00:00
Jean-Philippe Lang
2676167adb
Missing fixtures.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@16356 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-03-02 23:14:31 +00:00
Jean-Philippe Lang
7741263ab6
ThemesTest#test_without_theme_js may fail if third-party theme is installed ( #25118 ).
...
Patch by Go MAEDA.
git-svn-id: http://svn.redmine.org/redmine/trunk@16347 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-03-02 18:20:17 +00:00
Jean-Philippe Lang
dac7903da3
Fixes uploading of empty files ( #25115 ).
...
- prevents creation of attachment records without existing diskfile and empty
digest
- adds test case to check file upload API response
- also removes the file size check in ActsAsAttachable which still prevented
attachment of zero size attachments to containers but only for clients
without Javascript (where save_attachments is called with the actual file
upload).
Patch by Jens Kraemer.
git-svn-id: http://svn.redmine.org/redmine/trunk@16341 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-02-28 18:05:17 +00:00
Jean-Philippe Lang
56159412b3
Issues API does not respect time_entries_visibility ( #24875 ).
...
Patch by Go MAEDA.
git-svn-id: http://svn.redmine.org/redmine/trunk@16293 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-01-29 10:31:04 +00:00
Jean-Philippe Lang
0554e1f3cb
Fix integration tests for r16287 ( #24416 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@16289 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-01-29 09:14:14 +00:00
Jean-Philippe Lang
fd3c08aaa1
Don't preload all query filters ( #24787 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@16170 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-01-09 19:59:54 +00:00
Jean-Philippe Lang
a4f167ec1a
Don't render memberships forms, use #edit instead.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@16149 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-01-07 10:26:36 +00:00
Jean-Philippe Lang
514d9bad9e
Fixed that project settings should show locked members ( #22034 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@16116 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-12-31 13:33:02 +00:00
Jean-Philippe Lang
aef4a8a65b
Fixed that X-Sendfile header is never set ( #24646 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@16114 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-12-31 12:45:36 +00:00
Jean-Philippe Lang
e8cffd614e
Fixed that reported test duration can be wrong.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@16112 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-12-31 12:18:54 +00:00
Jean-Philippe Lang
e068f855dc
Files REST API ( #19116 ).
...
Patch by Lucile Quirion and Jake Kemme.
git-svn-id: http://svn.redmine.org/redmine/trunk@16109 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-12-21 10:05:55 +00:00
Jean-Philippe Lang
3186130966
Don't use assert_equal nil.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@16064 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-12-12 21:36:14 +00:00
Jean-Philippe Lang
bf5dade8df
Use assert_nil instead of assert_equal.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@16060 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-12-11 15:26:41 +00:00
Jean-Philippe Lang
3a2b6c7c96
Enforce issue assignee validation ( #23921 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@16055 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-12-10 12:02:37 +00:00
Jean-Philippe Lang
124a459d55
Use the main menu for project related actions that support cross-project display.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15983 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-11-19 10:30:02 +00:00
Jean-Philippe Lang
4df50bc66b
Adds a test for #24297 .
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15956 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-11-18 08:37:24 +00:00
Jean-Philippe Lang
2544fe6e15
Issue subject is not updated when you select another issue on time entry form ( #24041 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15951 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-11-18 08:11:11 +00:00
Jean-Philippe Lang
db5bd2b2de
My page - Spent time: configurable number of days to display ( #8761 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15942 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-10-30 08:32:31 +00:00
Jean-Philippe Lang
f94711ea8c
Option to specify allowed extensions for a file custom field ( #6719 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15921 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-10-23 11:00:02 +00:00
Jean-Philippe Lang
ef45304817
Adds file custom field format ( #6719 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15917 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-10-23 09:16:14 +00:00
Jean-Philippe Lang
be11a2048b
Test failure.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15888 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-10-04 20:31:32 +00:00
Jean-Philippe Lang
51227270bd
Test failures.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15863 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-10-01 14:34:38 +00:00
Jean-Philippe Lang
30fc03ac32
Adds a routing test for deleting attachment via the API.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15862 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-10-01 13:24:18 +00:00
Jean-Philippe Lang
696c510852
Add support for updating attachments over REST API ( #22356 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15861 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-10-01 13:22:35 +00:00
Jean-Philippe Lang
d478785aea
Let the API accept project identifier for creating issues ( #23766 ).
...
Patch by Holger Just.
git-svn-id: http://svn.redmine.org/redmine/trunk@15855 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-10-01 09:06:17 +00:00
Jean-Philippe Lang
1810283a66
Error with MS SQL when displaying an issue from a list grouped and sorted by fixed version ( #23839 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15852 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-10-01 08:53:31 +00:00
Jean-Philippe Lang
7daa5b750f
Previous/Next navigation on a issue is not displayed on r15639 and later ( #23781 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15850 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-10-01 08:13:40 +00:00
Jean-Philippe Lang
009b383a37
Adds a test for #23346 .
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15776 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-08-31 17:08:21 +00:00
Jean-Philippe Lang
baaa15ebdd
Return attachment id in api response to attachment upload ( #23566 ).
...
Patch by Jan Schulz-Hofen.
git-svn-id: http://svn.redmine.org/redmine/trunk@15762 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-08-30 21:15:13 +00:00
Jean-Philippe Lang
8b107b6058
Don't use render :text => "".
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15731 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-07-21 20:49:14 +00:00
Jean-Philippe Lang
e1da6de36f
Removes calls to #assert_template and #assigns in integration tests.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15727 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-07-21 17:50:00 +00:00
Jean-Philippe Lang
d2f7e31951
Use .distinct instead of .uniq.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15654 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-07-14 07:15:13 +00:00
Jean-Philippe Lang
03dbf8abb8
Remove special behaviour for listing issue time entries, use a filter for that.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15644 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-07-12 19:28:49 +00:00
Jean-Philippe Lang
b2044e6dfc
Don't generate urls with params.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15631 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-07-10 19:18:12 +00:00
Jean-Philippe Lang
fc6ee69490
Don't generate sort links with params.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15628 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-07-10 16:58:43 +00:00