Commit Graph

74 Commits

Author SHA1 Message Date
Sascha Barrett Lenz
3a7ba635a7 Fix iOS webserver:
- used wrong path property on dataRequest
- encode response in base64 otherwise there might be encoding issues
- remove the loop to wait for response since it freezes the webserver.
2023-06-23 08:44:38 +02:00
Michael Bykovski
62882b133f Update dependencies because of security alerts 2022-07-27 10:37:11 +02:00
Michael Bykovski
117adadfb4 Add LICENSE file with notices 2022-07-27 10:36:48 +02:00
Michael Bykovski
3cba720a64
Merge pull request #48 from bykof/dependabot/npm_and_yarn/is-my-json-valid-2.20.0
Bump is-my-json-valid from 2.17.1 to 2.20.0
2019-11-26 08:48:41 +01:00
Michael Bykovski
5ad9ff6ea9
Merge pull request #47 from bykof/dependabot/npm_and_yarn/stringstream-0.0.6
Bump stringstream from 0.0.5 to 0.0.6
2019-11-26 08:48:30 +01:00
Michael Bykovski
b91045b46f
Merge pull request #51 from clochardpagan/master
Fixed header addition on file serving for android
2019-11-26 08:47:52 +01:00
Edward M. Kagan
8a4772042d Fixed header addition on file serving for android 2019-11-05 19:21:24 +03:00
dependabot[bot]
9f91ec173e
Bump is-my-json-valid from 2.17.1 to 2.20.0
Bumps [is-my-json-valid](https://github.com/mafintosh/is-my-json-valid) from 2.17.1 to 2.20.0.
- [Release notes](https://github.com/mafintosh/is-my-json-valid/releases)
- [Commits](https://github.com/mafintosh/is-my-json-valid/compare/v2.17.1...v2.20.0)

Signed-off-by: dependabot[bot] <support@github.com>
2019-10-23 19:20:20 +00:00
dependabot[bot]
971487e4ce
Bump stringstream from 0.0.5 to 0.0.6
Bumps [stringstream](https://github.com/mhart/StringStream) from 0.0.5 to 0.0.6.
- [Release notes](https://github.com/mhart/StringStream/releases)
- [Commits](https://github.com/mhart/StringStream/compare/v0.0.5...v0.0.6)

Signed-off-by: dependabot[bot] <support@github.com>
2019-10-23 19:16:42 +00:00
Michael Bykovski
3d296c366c
Merge pull request #46 from fb64/master
Fix error on import GCDWebServer*.h file with cocoa pod framework
2019-10-23 19:59:15 +02:00
Michael Bykovski
43aaf57776
Merge pull request #45 from nadinengland/feature/41-ios-partial-content-support
Adds support to iOS for serving partial content (videos)
2019-10-23 19:58:33 +02:00
Florian Bernard
8595ca875f fix import error with pod framework 2019-10-23 19:36:28 +02:00
Florian Bernard
179755b43c update plugin configuration remove deprecated tag 2019-10-23 19:36:02 +02:00
Thomas Nadin
c509f3d872 Adds support to iOS for serving partial content (videos) 2019-09-26 10:39:51 +01:00
Michael Bykovski
64f3e3a2be
Merge pull request #35 from boedy/file-serving
iOS + Android file serving support
2019-05-19 13:17:52 +02:00
boedy
4e600184e5 Call error callback if server can't start 2019-05-13 17:25:57 +02:00
boedy
b57350f577 Bumped swift support version to latest release 2019-05-13 16:47:51 +02:00
boedy
d43bf3b77c Call error callback if server can't start 2019-05-13 15:08:15 +02:00
boedy
64b5089b6b iOS bridging header 2019-05-13 14:53:07 +02:00
boedy
7be6e05b5b Update Docs 2019-05-11 16:52:50 +02:00
boedy
c1d68dd88b Determine mime type based on file extension 2019-05-11 15:43:50 +02:00
boedy
c9f998b642 Return error messages returned by exception 2019-05-11 15:42:13 +02:00
boedy
fd3d9e0366 Support file responses on iOS 2019-05-11 15:38:50 +02:00
boedy
cfe5dab601 Use CocoaPods instead of including copy of GCDWebServer in Project. Reduces conflict chance with other plugins 2019-05-10 17:56:32 +02:00
boedy
5d08202131 objc compatible with swift 2019-05-09 15:32:48 +02:00
boedy
3b868a78c3 disable ios native webserver 2019-05-09 14:19:11 +02:00
boedy
a93a136535 Merge branch 'master' of https://github.com/bykof/cordova-plugin-webserver 2019-05-09 13:50:34 +02:00
Michael Bykovski
9a4369ce57
Merge pull request #25 from kukukk/master
iOS: clean up by removing the handled response
2018-09-11 09:28:27 +02:00
Michael Bykovski
ef48071714
Merge pull request #23 from EvilDrW/master
Add Support for File Content HTTP Responses
2018-09-11 09:21:41 +02:00
Keith Wait
1bee3d0604 use correct method for key query 2018-09-09 19:54:26 -05:00
Keith Wait
752148e0c8 check for request id when sending files
avoids sending the file data in response to every single request issued after the one for the file.
2018-09-09 17:00:54 -05:00
Keith Wait
128933f721 correct implementation errors and readme text 2018-09-03 10:55:14 -05:00
Szabolcs Balogh
29ab495aad iOS: clean up by removing the handled response 2018-08-21 11:57:01 +03:00
Keith Wait
60f55066ce add file responses 2018-08-11 21:48:30 -05:00
boedy
b414bb5d04 keep running webserver in background 2018-05-02 16:18:19 +02:00
Michael Bykovski
390a03551c
Add IOException 2018-04-19 13:16:36 +02:00
Michael Bykovski
2438e7a0fb
Merge pull request #17 from EvilDrW/master
accelerate parsing request body
2018-04-19 11:15:34 +02:00
Keith Wait
1e53825b47 accelerate parsing request body 2018-04-18 20:33:14 -05:00
Michael Bykovski
b8100b638e Update packages for vulnaribility 2018-01-25 11:27:52 +01:00
Michael Bykovski
4914ce1aab Version Bump 2018-01-25 11:14:43 +01:00
Michael Bykovski
519a264040 Allow set the mimetype over the content type 2018-01-25 11:14:31 +01:00
Michael Bykovski
f77fd4d4b0 Merge branch 'master' of https://github.com/bykof/cordova-plugin-webserver 2017-09-23 18:13:21 +02:00
Michael Bykovski
9df48b7fb9 Deleted appserver, it is not a part of the project 2017-09-23 18:12:25 +02:00
Michael Bykovski
ee060cef50 changed responseId to requestId
#fail
2017-09-23 16:58:27 +02:00
Michael Bykovski
9c4915bf52 Changed code example to javascript mode 2017-09-21 00:13:14 +02:00
Michael Bykovski
d79671b0c9 Add own callback for notFound 2017-07-25 22:09:56 +02:00
Michael Bykovski
7b9fad3090 Recursivce calls are not good... 2017-07-25 21:29:40 +02:00
Michael Bykovski
055398323e RequestId have to be send in the sendResponse 2017-07-25 20:58:42 +02:00
Michael Bykovski
a6fe285656 Updated ES6 example.
Do some bugfixes
Added eslint global var for react gg ez
2017-07-25 18:48:07 +02:00
Michael Bykovski
91eef91b6b Just pack webserver.js 2017-07-21 14:11:16 +02:00