cordova-plugin-file-transfer.git
2 days agochore: remove use-permission WRITE_EXTERNAL_STORAGE (#335) master
エリス [Mon, 23 May 2022 07:41:35 +0000 (16:41 +0900)] 
chore: remove use-permission WRITE_EXTERNAL_STORAGE (#335)

4 months agochore: package-lock upgrade (#324)
Norman Breau [Thu, 6 Jan 2022 15:55:33 +0000 (11:55 -0400)] 
chore: package-lock upgrade (#324)

4 months agochore: .npmrc (#323)
Norman Breau [Thu, 6 Jan 2022 15:54:27 +0000 (11:54 -0400)] 
chore: .npmrc (#323)

7 months agoci(ios): update workflow w/ iOS 15 (#318)
エリス [Wed, 20 Oct 2021 04:26:59 +0000 (13:26 +0900)] 
ci(ios): update workflow w/ iOS 15 (#318)

7 months agoci: add action-badge (#315)
エリス [Fri, 24 Sep 2021 16:07:41 +0000 (01:07 +0900)] 
ci: add action-badge (#315)

8 months agoci: remove travis & appveyor (#314)
エリス [Fri, 24 Sep 2021 15:07:25 +0000 (00:07 +0900)] 
ci: remove travis & appveyor (#314)

8 months agofix(android): enable download functionality with Android Q (#310)
kpatfln [Fri, 24 Sep 2021 04:36:25 +0000 (14:36 +1000)] 
fix(android): enable download functionality with Android Q (#310)

8 months agotest: fix asset file paths (#313)
エリス [Fri, 24 Sep 2021 04:15:20 +0000 (13:15 +0900)] 
test: fix asset file paths (#313)

8 months agoci: add gh-actions workflows (#311)
エリス [Thu, 16 Sep 2021 13:18:47 +0000 (22:18 +0900)] 
ci: add gh-actions workflows (#311)

9 months agofeat!: remove deprecated whitelist usage (#307)
エリス [Tue, 27 Jul 2021 16:12:56 +0000 (01:12 +0900)] 
feat!: remove deprecated whitelist usage (#307)

15 months agochore: bump 'protective' entry for major release 2.0 to come (#299)
Alexis THOMAS [Sat, 20 Feb 2021 22:31:37 +0000 (23:31 +0100)] 
chore: bump 'protective' entry for major release 2.0 to come (#299)

18 months agofix(ios): remove hardcoded X-Requested-With header (#287)
Tim Brust [Tue, 27 Oct 2020 15:40:46 +0000 (16:40 +0100)] 
fix(ios): remove hardcoded X-Requested-With header (#287)

no other platform sets this header and it should be up to the user if it's desired to 'disguise' the HTTP call as an XMLHttpRequest

18 months agofix(ios): headers are not being sent (#284)
Christiaan Baartse [Tue, 27 Oct 2020 12:56:35 +0000 (13:56 +0100)] 
fix(ios): headers are not being sent (#284)

20 months agodoc: Improve progressEvent documentation (#280)
Norman Breau [Wed, 23 Sep 2020 10:20:22 +0000 (07:20 -0300)] 
doc: Improve progressEvent documentation (#280)

20 months agochore: adds package-lock file (#274)
Tim Brust [Tue, 1 Sep 2020 17:58:16 +0000 (17:58 +0000)] 
chore: adds package-lock file (#274)

20 months agorefactor(eslint): use cordova-eslint /w fix (#275)
Tim Brust [Tue, 1 Sep 2020 15:08:24 +0000 (15:08 +0000)] 
refactor(eslint): use cordova-eslint /w fix (#275)

20 months agochore: package cleanup (#272)
Tim Brust [Mon, 31 Aug 2020 15:40:17 +0000 (15:40 +0000)] 
chore: package cleanup (#272)

20 months agochore: bump version to 2.0.0-dev (#273)
Tim Brust [Mon, 31 Aug 2020 15:39:59 +0000 (15:39 +0000)] 
chore: bump version to 2.0.0-dev (#273)

20 months agofix!: remove deprecated platforms (#270)
Tim Brust [Mon, 31 Aug 2020 14:02:08 +0000 (14:02 +0000)] 
fix!: remove deprecated platforms (#270)

20 months agochore(npm): adds ignore list (#269)
Tim Brust [Wed, 26 Aug 2020 11:36:48 +0000 (11:36 +0000)] 
chore(npm): adds ignore list (#269)

20 months agofix(ios): re-implement user agent overwrite (#268)
Tim Brust [Tue, 25 Aug 2020 21:44:32 +0000 (21:44 +0000)] 
fix(ios): re-implement user agent overwrite (#268)

This closes #263 #258

20 months agodocs: undeprecate the plugin (#267)
Tim Brust [Tue, 25 Aug 2020 12:36:13 +0000 (12:36 +0000)] 
docs: undeprecate the plugin (#267)

Co-authored-by: エリス <erisu@users.noreply.github.com>
3 years agoAdd or update GitHub pull request and issue template
Jan Piotrowski [Mon, 11 Feb 2019 17:39:17 +0000 (18:39 +0100)] 
Add or update GitHub pull request and issue template

3 years agoremove outdated translations (#211)
Jan Piotrowski [Fri, 23 Nov 2018 21:16:22 +0000 (22:16 +0100)] 
remove outdated translations (#211)

3 years ago[windows] Fix js error "The parameter is incorrect" (#199)
Trong Tran [Mon, 1 Oct 2018 20:45:08 +0000 (03:45 +0700)] 
[windows] Fix js error "The parameter is incorrect" (#199)

<!--
Please make sure the checklist boxes are all checked before submitting the PR. The checklist
is intended as a quick reference, for complete details please see our Contributor Guidelines:

http://cordova.apache.org/contribute/contribute_guidelines.html

Thanks!
-->

### Platforms affected
windows

### What does this PR do?
Fix js error "The parameter is incorrect" when download progress is 0 in error handler

### What testing has been done on this change?
Manual testing

### Checklist
- [ ] [Reported an issue](http://cordova.apache.org/contribute/issues.html) in the JIRA database
- [ ] Commit message follows the format: "CB-3232: (android) Fix bug with resolving file paths", where CB-xxxx is the JIRA ID & "android" is the platform affected.
- [ ] Added automated test coverage as appropriate for this change.

3 years agoalso accept android sdk terms for android-27
Jan Piotrowski [Mon, 1 Oct 2018 20:41:49 +0000 (22:41 +0200)] 
also accept android sdk terms for android-27

4 years agoCB-13826 Incremented plugin version.
Suraj Pindoria [Thu, 25 Jan 2018 19:47:20 +0000 (11:47 -0800)] 
CB-13826 Incremented plugin version.

4 years ago CB-13826 Updated version and RELEASENOTES.md for release 1.7.1 1.7.1 rel/1.7.1
Suraj Pindoria [Wed, 24 Jan 2018 22:38:34 +0000 (14:38 -0800)] 
 CB-13826 Updated version and RELEASENOTES.md for release 1.7.1

4 years agoMerge pull request #196 from jcesarmobile/CB-13749
jcesarmobile [Mon, 15 Jan 2018 15:01:56 +0000 (16:01 +0100)] 
Merge pull request #196 from jcesarmobile/CB-13749

CB-13749: Add build-tools-26.0.2 to travis

4 years agoCB-13749: Add build-tools-26.0.2 to travis 196/head
Julio César [Mon, 15 Jan 2018 12:14:51 +0000 (13:14 +0100)] 
CB-13749: Add build-tools-26.0.2 to travis

4 years agoMerge pull request #195 from kaynz/master
Simon MacDonald [Thu, 4 Jan 2018 20:45:51 +0000 (15:45 -0500)] 
Merge pull request #195 from kaynz/master

change dependency version to file ^6.0.0

4 years agoUpdate plugin.xml 195/head
Simon MacDonald [Thu, 4 Jan 2018 20:45:31 +0000 (15:45 -0500)] 
Update plugin.xml

4 years agochange dependency version to file >=5.0.0
Volkan Gümüs [Wed, 3 Jan 2018 06:44:45 +0000 (07:44 +0100)] 
change dependency version to file >=5.0.0

4 years agochange dependency version to file 6.0.0
Volkan Gümüs [Tue, 2 Jan 2018 07:14:41 +0000 (08:14 +0100)] 
change dependency version to file 6.0.0

4 years agoSet VERSION to 1.7.1-dev (via coho)
Steve Gill [Tue, 7 Nov 2017 00:24:40 +0000 (16:24 -0800)] 
Set VERSION to 1.7.1-dev (via coho)

4 years agoCB-13542 updated file plugin dependency 1.7.0 rel/1.7.0
Steve Gill [Tue, 7 Nov 2017 00:01:14 +0000 (16:01 -0800)] 
CB-13542 updated file plugin dependency

4 years agoSet VERSION to 1.7.1-dev (via coho)
Steve Gill [Mon, 6 Nov 2017 22:38:39 +0000 (14:38 -0800)] 
Set VERSION to 1.7.1-dev (via coho)

4 years agoCB-13542 Updated version and RELEASENOTES.md for release 1.7.0 (via coho)
Steve Gill [Mon, 6 Nov 2017 22:37:45 +0000 (14:37 -0800)] 
CB-13542 Updated version and RELEASENOTES.md for release 1.7.0 (via coho)

4 years agoUpdated links in Deprecation Notice
maverickmishra [Fri, 20 Oct 2017 20:24:35 +0000 (13:24 -0700)] 
Updated links in Deprecation Notice

 This closes #194

4 years agoUpdated README with Deprecated Status
maverickmishra [Fri, 20 Oct 2017 20:21:28 +0000 (13:21 -0700)] 
Updated README with Deprecated Status

4 years agoRevert "CB-13294 Remove cordova-plugin-compat"
Steve Gill [Fri, 20 Oct 2017 17:47:19 +0000 (10:47 -0700)] 
Revert "CB-13294 Remove cordova-plugin-compat"

This reverts commit a77cb37ad71e591761fb406ff1b98c8ce95ace1c.

4 years agoCB-13472: (CI) Fixed Travis Android builds again
Alexander Sorokin [Fri, 20 Oct 2017 05:58:52 +0000 (08:58 +0300)] 
CB-13472: (CI) Fixed Travis Android builds again

4 years agoCB-13294 Remove cordova-plugin-compat
Kelvin Dart [Wed, 18 Oct 2017 15:47:44 +0000 (16:47 +0100)] 
CB-13294 Remove cordova-plugin-compat

 This closes #192

4 years agoCB-13299 (CI) Fix Android builds
Alexander Sorokin [Tue, 19 Sep 2017 06:05:41 +0000 (09:05 +0300)] 
CB-13299 (CI) Fix Android builds

4 years agoCB-12809: Google Play Blocker: Unsafe SSL TrustManager Defined
Simon MacDonald [Mon, 21 Aug 2017 15:42:25 +0000 (11:42 -0400)] 
CB-12809: Google Play Blocker: Unsafe SSL TrustManager Defined

Closes #187

4 years agoClose #186 186/head
filmaj [Thu, 10 Aug 2017 15:26:29 +0000 (08:26 -0700)] 
Close #186

4 years agoCB-7995: document that `FileTransferError.exception` on iOS is never defined. 185/head
filmaj [Fri, 14 Jul 2017 19:41:25 +0000 (14:41 -0500)] 
CB-7995: document that `FileTransferError.exception` on iOS is never defined.

4 years agoClose #130. Close #139.
Jesse MacFadyen [Tue, 11 Jul 2017 23:51:09 +0000 (16:51 -0700)] 
Close #130. Close #139.

4 years agoClose #144
Jesse MacFadyen [Tue, 11 Jul 2017 23:44:21 +0000 (16:44 -0700)] 
Close #144

4 years agofix merge conflict
Jesse MacFadyen [Tue, 11 Jul 2017 23:40:55 +0000 (16:40 -0700)] 
fix merge conflict

4 years agoThis closes #164. Closes #167. Closes #183
Jesse MacFadyen [Tue, 11 Jul 2017 23:23:08 +0000 (16:23 -0700)] 
This closes #164. Closes #167. Closes #183

4 years agoRemove broken headline and useless reference to it
Jan Piotrowski [Sat, 8 Jul 2017 21:00:03 +0000 (23:00 +0200)] 
Remove broken headline and useless reference to it

4 years agoRemoved warning
Luca Torella [Wed, 2 Nov 2016 08:24:47 +0000 (09:24 +0100)] 
Removed warning

Just a small change to avoid a warning

4 years agoMerge branch 'master' of https://github.com/bozdoz/cordova-plugin-file-transfer
Jesse MacFadyen [Tue, 11 Jul 2017 23:01:53 +0000 (16:01 -0700)] 
Merge branch 'master' of https://github.com/bozdoz/cordova-plugin-file-transfer

4 years agoCB-13000: (CI) Speed up android builds
Alexander Sorokin [Mon, 10 Jul 2017 07:34:11 +0000 (10:34 +0300)] 
CB-13000: (CI) Speed up android builds

4 years agoFire successCallback for any 2XX HTTP status 182/head
Benjamin J DeLong [Sat, 8 Jul 2017 00:11:23 +0000 (21:11 -0300)] 
Fire successCallback for any 2XX HTTP status

Found this bug when receiving a 201 response.

4 years agoCB-12991: (CI) Updated CI badges
Alexander Sorokin [Fri, 7 Jul 2017 07:25:31 +0000 (10:25 +0300)] 
CB-12991: (CI) Updated CI badges

4 years agoCB-12935: (windows) Enable paramedic builds on AppVeyor
Alexander Sorokin [Fri, 30 Jun 2017 06:31:29 +0000 (09:31 +0300)] 
CB-12935: (windows) Enable paramedic builds on AppVeyor

4 years agoCB-12935: (ios, android) Enable paramedic builds on Travis CI 181/head
Alexander Sorokin [Mon, 26 Jun 2017 07:38:05 +0000 (10:38 +0300)] 
CB-12935: (ios, android) Enable paramedic builds on Travis CI

4 years ago(tests): Fixed tests' flakiness by increasing the timeouts
Alexander Sorokin [Wed, 31 May 2017 07:19:44 +0000 (10:19 +0300)] 
(tests): Fixed tests' flakiness by increasing the timeouts

5 years agoCB-12847: added `bugs` entry to package.json. 180/head
filmaj [Wed, 24 May 2017 19:56:10 +0000 (21:56 +0200)] 
CB-12847: added `bugs` entry to package.json.

5 years ago(tests): Add additional logging about cases where file transfer server URL cannot...
filmaj [Fri, 28 Apr 2017 19:49:18 +0000 (12:49 -0700)] 
(tests): Add additional logging about cases where file transfer server URL cannot be determined via XHR due to wkwebview-engine plugin limitations.

5 years agoSet VERSION to 1.6.4-dev (via coho)
filmaj [Thu, 27 Apr 2017 19:40:28 +0000 (12:40 -0700)] 
Set VERSION to 1.6.4-dev (via coho)

5 years agoCB-12736 Updated version and RELEASENOTES.md for release 1.6.3 (via coho) 1.6.3 rel/1.6.3
filmaj [Thu, 27 Apr 2017 19:40:24 +0000 (12:40 -0700)] 
CB-12736 Updated version and RELEASENOTES.md for release 1.6.3 (via coho)

5 years agoAdded Android 6.0 build badge to README
Alexander Sorokin [Wed, 26 Apr 2017 12:40:53 +0000 (15:40 +0300)] 
Added Android 6.0 build badge to README

5 years agoCB-12685: added package.json to tests folder
Steve Gill [Sat, 22 Apr 2017 02:18:59 +0000 (19:18 -0700)] 
CB-12685: added package.json to tests folder

5 years agoCB-10696 iOS: Encode target path with spaces 175/head
Nikita Matrosov [Thu, 6 Apr 2017 13:24:26 +0000 (16:24 +0300)] 
CB-10696 iOS: Encode target path with spaces

5 years agoSet VERSION to 1.6.3-dev (via coho)
Steve Gill [Wed, 1 Mar 2017 01:56:00 +0000 (17:56 -0800)] 
Set VERSION to 1.6.3-dev (via coho)

5 years agoCB-12519 Updated version and RELEASENOTES.md for release 1.6.2
Steve Gill [Wed, 1 Mar 2017 01:41:26 +0000 (17:41 -0800)] 
CB-12519 Updated version and RELEASENOTES.md for release 1.6.2

5 years agoCB-12439 (Tests) Re-enable the tests 176/head
Alexander Sorokin [Fri, 17 Feb 2017 15:52:44 +0000 (18:52 +0300)] 
CB-12439 (Tests) Re-enable the tests

* This is a part of file transfer CI builds being transferred to Sauce Labs emulators
* Some tests now retry up to 100 times due to Heroku server being unstable
* Now using '/upload_headers_echo' of the FT server instead of whatheaders.com which is down

5 years agoCB-12439 (Tests) Temporarily disable tests that use fileserver on CI
Alexander Sorokin [Thu, 9 Feb 2017 10:23:54 +0000 (13:23 +0300)] 
CB-12439 (Tests) Temporarily disable tests that use fileserver on CI

5 years agoCB-12353 Corrected merges usage in plugin.xml 172/head
daserge [Wed, 18 Jan 2017 16:25:45 +0000 (19:25 +0300)] 
CB-12353 Corrected merges usage in plugin.xml

5 years agoCB-12369: Add plugin typings from DefinitelyTyped
Nikita Matrosov [Thu, 19 Jan 2017 13:07:53 +0000 (16:07 +0300)] 
CB-12369: Add plugin typings from DefinitelyTyped

 This closes #173

5 years agoCB-12363 Added build badges for iOS 9.3 and 10.0
Alexander Sorokin [Wed, 18 Jan 2017 10:30:52 +0000 (13:30 +0300)] 
CB-12363 Added build badges for iOS 9.3 and 10.0

5 years agoCB-12236 - Fixed RELEASENOTES for cordova-plugin-file-transfer
Shazron Abdullah [Sun, 11 Dec 2016 20:47:34 +0000 (12:47 -0800)] 
CB-12236 - Fixed RELEASENOTES for cordova-plugin-file-transfer

5 years agoCB-12230 Removed Windows 8.1 build badges
Alexander Sorokin [Fri, 9 Dec 2016 10:26:57 +0000 (13:26 +0300)] 
CB-12230 Removed Windows 8.1 build badges

5 years agoCB-12224 Incremented plugin version.
Shazron Abdullah [Thu, 8 Dec 2016 00:55:07 +0000 (16:55 -0800)] 
CB-12224 Incremented plugin version.

5 years agoCB-12224 Updated version and RELEASENOTES.md for release 1.6.1 1.6.1 rel/1.6.1
Shazron Abdullah [Thu, 8 Dec 2016 00:39:45 +0000 (16:39 -0800)] 
CB-12224 Updated version and RELEASENOTES.md for release 1.6.1

5 years agoCB-12154 file-transfer progressEvent.total = -1 on iOS 170/head
daserge [Wed, 23 Nov 2016 15:57:11 +0000 (18:57 +0300)] 
CB-12154 file-transfer progressEvent.total = -1 on iOS

Makes chunkedMode=true uploads to contain Content-Length to make progress computable

5 years agoCB-10974 Cordova file transfer Content-Length header problem 169/head
daserge [Wed, 23 Nov 2016 11:33:32 +0000 (14:33 +0300)] 
CB-10974 Cordova file transfer Content-Length header problem

Don't force chunkedMode=true for HTTPS if it was specified as false in the UploadOptions (added a warning about possible OOM for chunkedMode=false+HTTPS case)

5 years agoDon't crash on low memory devices
junweifu [Fri, 4 Nov 2016 02:23:11 +0000 (10:23 +0800)] 
Don't crash on low memory devices

It will be OOM when running file-transfer tests on baseline Android Memory class
which is 16M (It happens to be the java heap limit of those devices).

 This closes #166

5 years agoCB-12100 (ios) Fixed test plugin install at platform add on cordova@6.3.1 163/head
Alexander Sorokin [Tue, 1 Nov 2016 16:15:32 +0000 (19:15 +0300)] 
CB-12100 (ios) Fixed test plugin install at platform add on cordova@6.3.1

5 years agoCB-11959 Fixed the jshint issues 162/head
Alexander Sorokin [Mon, 31 Oct 2016 08:08:34 +0000 (11:08 +0300)] 
CB-11959 Fixed the jshint issues

5 years agoCB-11959 Increased the array length for ios and winstore even more
Alexander Sorokin [Wed, 5 Oct 2016 15:08:29 +0000 (18:08 +0300)] 
CB-11959 Increased the array length for ios and winstore even more

5 years agoCB-11959 Fixed filetransfer.spec.21 test failure on iOS and Windows Store when using...
Alexander Sorokin [Wed, 5 Oct 2016 12:26:56 +0000 (15:26 +0300)] 
CB-11959 Fixed filetransfer.spec.21 test failure on iOS and Windows Store when using local server

5 years agoCB-11917 - Remove pull request template checklist item: "iCLA has been submitted…"
Shazron Abdullah [Wed, 28 Sep 2016 08:33:06 +0000 (01:33 -0700)] 
CB-11917 - Remove pull request template checklist item: "iCLA has been submitted…"

 This closes #158

5 years agoCB-11926 Tests can use local server 159/head
Alexander Sorokin [Tue, 4 Oct 2016 19:40:39 +0000 (22:40 +0300)] 
CB-11926 Tests can use local server

5 years agoCB-11832 Incremented plugin version.
Steve Gill [Fri, 9 Sep 2016 23:08:04 +0000 (16:08 -0700)] 
CB-11832 Incremented plugin version.

5 years agoCB-11832 Updated version and RELEASENOTES.md for release 1.6.0 1.6.0 rel/1.6.0
Steve Gill [Fri, 9 Sep 2016 06:38:54 +0000 (23:38 -0700)] 
CB-11832 Updated version and RELEASENOTES.md for release 1.6.0

5 years agoCB-11795 Add 'protective' entry to cordovaDependencies
Vladimir Kotikov [Wed, 31 Aug 2016 13:47:40 +0000 (16:47 +0300)] 
CB-11795 Add 'protective' entry to cordovaDependencies

The entry is required to protect end-users from fetching edge versions of the plugin by incompatible version of cordova. This also assumes that we will not introduce any regressions in compatibility w/ cordova in minor and patch releases. On every major release we will need to add similar entry with _next_ major version.

 This closes #157

5 years agoCB-9022 Fix exception thrown by call to remapApi on main thread
Adam Nemitoff [Thu, 7 Jan 2016 16:43:28 +0000 (11:43 -0500)] 
CB-9022 Fix exception thrown by call to remapApi on main thread

When reamapApi was being called for device file it was performing IO on
the WebCore thread and throwing an IllegalState exception.  This seems
to have only been a problem when local URL corresponded to a video file.

Moved calls to remapApi for device URLs within new thread context so
that IO is performed on background thread.

This is the same fix as 3ccf9f8 but for `download` operation

This closes #124

5 years agoPlugin uses Android Log class and not Cordova LOG class
Simon MacDonald [Mon, 22 Aug 2016 20:27:02 +0000 (16:27 -0400)] 
Plugin uses Android Log class and not Cordova LOG class

5 years agoCB-9022 Resolve source URI on background thread 154/head
Vladimir Kotikov [Thu, 18 Aug 2016 13:30:19 +0000 (16:30 +0300)] 
CB-9022 Resolve source URI on background thread

We should call remapUri on background thread otherwise it
throws IllegalStateException when trying to remap  'cdvfile://localhost/content/...' URIs via ContentFilesystem

5 years agoCB-11316 windows: Added content-type for files
Ben Marshall [Tue, 7 Jun 2016 12:56:57 +0000 (13:56 +0100)] 
CB-11316 windows: Added content-type for files

- added Content-Type header for each file in the multipart upload

 This closes #149

5 years agoClose invalid PRs 153/head
Vladimir Kotikov [Tue, 16 Aug 2016 11:56:00 +0000 (14:56 +0300)] 
Close invalid PRs

This closes #153

5 years agoCB-11497 Use cordova-vm for testing 304 errors 151/head
Vladimir Kotikov [Thu, 7 Jul 2016 11:39:30 +0000 (14:39 +0300)] 
CB-11497 Use cordova-vm for testing 304 errors

5 years agoAdd badges for paramedic builds on Jenkins
Vladimir Kotikov [Fri, 10 Jun 2016 08:59:13 +0000 (11:59 +0300)] 
Add badges for paramedic builds on Jenkins

5 years agodocumentation with a wrong log message in fileTransfer.download function
Conrado Costa [Mon, 30 May 2016 17:00:47 +0000 (14:00 -0300)] 
documentation with a wrong log message in fileTransfer.download function

 This closes #148

6 years agoadded link to sample
Mikejo5001 [Tue, 3 May 2016 18:27:46 +0000 (11:27 -0700)] 
added link to sample

6 years agoAdd pull request template.
Nikhil Khandelwal [Mon, 23 May 2016 20:53:59 +0000 (13:53 -0700)] 
Add pull request template.