Commit Graph

219 Commits

Author SHA1 Message Date
Nathan Shively-Sanders
f0ce987bc1 Update project urls to match NPM url
Note that this *trivially* updates project urls by adding the NPM url to
the end, even when the urls are almost identical or the DT one is
outdated. I'll clean up the urls in a later commit.

This PR is unfinished! Please do not merge it yet.
2019-02-11 17:10:55 -08:00
Simon Schick
61492e238c fixup! fixup! feat(hapi): v18 2019-01-19 10:51:06 -08:00
Simon Schick
9ed3c6978d fixup! feat(hapi): v18 2019-01-19 00:35:42 -08:00
Simon Schick
8f6cfe8ee3 feat(hapi): v18 2019-01-18 23:59:56 -08:00
Daniel Rosenwasser
691a83e70a
Merge pull request #31916 from ryuuji3/iss-31826-validation-payload-joi-references
Issue #31826 - RouteOptionsResponseSchema allows References
2019-01-18 17:19:37 -08:00
David Johnson
3f6d69bf54 types/hapi: ServerMethod doesn't have to return Promise 2019-01-17 17:45:59 -07:00
David Johnson
3277aa827b types/hapi: ServerMethod doesn't have to return Promise 2019-01-17 17:31:50 -07:00
ryuuji3
ca9a09cf64 Removed unnededed import 'AnySchema' from Joi 2019-01-07 13:11:39 +00:00
ryuuji3
305086b93b ValidationObject reference updated to SchemaMap in order to avoid making breaking changes 2019-01-04 03:52:08 +00:00
ryuuji3
356e96410f validation schemas use Schema and SchemaMap instead of ValidationObject and AnySchema 2019-01-04 03:48:05 +00:00
Nathan Shively-Sanders
9917c16741
Merge pull request #31319 from saboya/hapi-route-event-fix
Fixing server route event handler parameter type.
2018-12-18 11:34:00 -08:00
Rodrigo Saboya
802ee9e3e5 Fixing server route event handler parameter type. 2018-12-12 15:56:59 -02:00
Chris Serino
c5f09e4f74 [hapi] Make RouteOptionsPreObject.assign optional 2018-12-07 14:50:45 -06:00
Simon Schick
5b221ee794 feat(hapi): 17.8 2018-11-24 09:45:45 -08:00
Benjamin Lichtman
901d16fdba
Merge pull request #30441 from SimonSchick/fix/yar-cache-options
fix(yar): fix cache options
2018-11-21 09:39:09 -08:00
Ulrich Buchgraber
6ccbcd2c4d Fix all the (unrelated) 'no-angle-bracket-type-assertion' linter errors in packages which depend on @types/node 2018-11-21 01:29:44 +01:00
Andy
141d1cc870
And tslint disables for no-angle-bracket-type-assertion (#30592) 2018-11-16 12:20:58 -08:00
Simon Schick
e0c287512b fix(yar): fix cache options 2018-11-11 03:15:06 +01:00
Simon Schick
2d34898d17 fix(hapi): server does not extend podium 2018-11-06 04:19:35 +01:00
Simon Schick
fa01268068 fix(hapi): make cache generic (#29904) 2018-10-22 11:56:04 -04:00
Simon Schick
ad6f1ec956 chore(hapi): narrow types for credentials (#29294) 2018-10-01 21:08:56 -07:00
Simon Schick
4f9a87f1d9 fixup! fixup! hapi(17.6): update docs, also update joi ecosys 2018-09-26 22:12:53 +02:00
Simon Schick
8dfff7c0cb fixup! hapi(17.6): update docs, also update joi ecosys 2018-09-26 22:03:34 +02:00
Simon Schick
7de95ee5d5 hapi(17.6): update docs, also update joi ecosys 2018-09-25 21:57:14 +02:00
zamu87
681c02d749
correct tls Server options 2018-08-28 13:23:40 +02:00
Benjamin Lichtman
37866abeae
Merge pull request #28150 from BorntraegerMarc/master
Removing myself as contributor because I won't contribute to this project anymore
2018-08-16 13:36:44 -07:00
Marc Bornträger
f439d9c797
Removing myself as contributer 2018-08-15 20:17:37 +02:00
thomas-b
8f1ce6502b [hapi] Correct the server.table() return type 2018-08-10 17:46:23 +02:00
ondratra
404e051500 hapi - request's pre & preResponses type fix (#27631) 2018-08-01 12:07:58 -07:00
jough
b9b4346ae3 Fix tls typing from non-type "true" to boolean (#27551) 2018-07-25 09:50:03 -07:00
Wong Yong Jie
63be35d54a [hapi] Statehood format/parse should return a Promise. (#27044)
According to the [Hapi documentation](https://hapijs.com/api#-await-serverstatesformatcookies), `server.states.format` and `server.states.parse` are awaitable functions.
2018-07-05 09:57:03 -07:00
Paul van Brenk
cd759b1ffc
Revert "[@types/hapi] Add null to Request.params and Request.payload" 2018-07-02 10:51:13 -07:00
Cahya Pribadi
1fdfcfe574
Merge pull request #1 from ozylog/patch-3
Patch 3
2018-06-25 09:19:55 +12:00
Cahya Pribadi
28c5b788e7
Update parameters.ts 2018-06-25 09:15:39 +12:00
Cahya Pribadi
de1ec36c49
Update index.d.ts
based on hapi.js request object on actual module that params and payload are possible to be null when there is no value applied on it.
```
params: null,
paramsArray: null,
path: '/v1/Schemas',
payload: null,
```
2018-06-22 16:54:26 +12:00
Jeremy Shore
38a91aa931 Hapi: Fix issue with invalid export linting (#25457)
The import `url` doesn’t have an export property of `URL`
2018-05-03 09:10:38 -07:00
Simon Schick
2d3747f998 fix(hapi): make all ext options properties optional (#25214) 2018-04-24 16:06:35 -07:00
Simon Schick
c252ab8bc9 fix(hapi): allow passing object to toolkit state, fix tags index signature, fix route ext (#24956)
* fix(hapi): allow passing object to toolkit `state`, fix `tags` index signature, fix route `ext`

* fixup! fix(hapi): allow passing object to toolkit `state`, fix `tags` index signature, fix route `ext`
2018-04-13 11:57:40 -07:00
Joe Andaverde
ea50f76f8e Fix incorrect privacy option 2018-04-03 23:33:20 -05:00
dcharbonnier
204e0d396a
ServerInjectOptions.app is optional 2018-03-30 08:46:12 +02:00
Arthur Ozga
80c15edab7
Merge pull request #24341 from ozum/master
[hapi] Fix: Make server.app non-optional
2018-03-16 14:46:59 -07:00
Arthur Ozga
d4330d86f6
Merge pull request #24215 from ericeslinger/patch-2
hapi: Allow `true` as a cors option in RouteOptions
2018-03-16 13:42:38 -07:00
ozum
791f043bdb [hapi] Fix: Make server.app non-optional 2018-03-16 19:27:49 +03:00
Arthur Ozga
de758eaf8a
Merge pull request #24134 from zcei/patch-1
hapi: allow for synchronous Hapi plugin register fn
2018-03-15 12:56:40 -07:00
Eric Eslinger
61543a66a2
Allow true as a cors option
Per the hapi documentation, setting `cors: true` is allowed, and will do default cors-ing. 

[ref](https://hapijs.com/api#-routeoptionscors)
2018-03-10 19:59:16 -08:00
Stephan Schneider
091f2f4271
fix: allow for synchronous Hapi plugin register fn 2018-03-07 15:31:31 +01:00
Daniel Machado
2e07611204 Fix construtor problems 2018-03-04 11:29:15 +01:00
Scott Cooper
81bd412152 fix: allow joi object to be passed directly to response.schema 2018-02-26 22:43:00 -08:00
Justin Simms
1a3679e14c Hapi 17: Fix inability to augment server.plugins type (#23855)
* Fix inability to augment server.plugins type

* Replacing more 'any' types and other misc fixes

* Change server.inject to use ApplicationState
2018-02-26 11:28:41 -08:00
Rodrigo Saboya
c576e544be Updating catbox to hapi 17 bindings. 2018-02-26 15:24:45 -03:00