Commit Graph

4261 Commits

Author SHA1 Message Date
Christopher Reichert
b452007b1b Merge pull request #1067 from wuzzeb/master
yesod-websockets: accept websocket requests with a subprotocol
2015-08-28 17:32:25 -05:00
John Lenz
5443b38525 yesod-websockets: accept websocket requests with a subprotocol
The websockets library allows passing an AcceptRequest when
upgrading the request to websockets, which at the moment only
contains the subprotocol to use with the client.  The list of
subprotocols that the client is prepared to speak is in the
RequestHead.
2015-08-28 16:34:09 -05:00
Christopher Reichert
dcf77ea493 Merge pull request #1066 from mschristiansen/warnings
Warnings
2015-08-26 12:15:34 -05:00
Mikkel Christiansen
25bbda2087 Remove unused applicative. 2015-08-26 16:10:56 +02:00
Mikkel Christiansen
d556fc8844 Replace deprecated Connection type. 2015-08-26 15:26:35 +02:00
Mikkel Christiansen
04cb3730a0 Replace deprecated breakByte function. 2015-08-26 15:03:14 +02:00
Mikkel Christiansen
a47ceec445 GHC 7.10 import warnings removed from yesod-core. 2015-08-26 14:52:39 +02:00
Mikkel Christiansen
233fc03532 Ghc710 conditional import and remove unused toUpper. 2015-08-26 14:22:12 +02:00
Greg Weber
ac6e8f6195 version bump for 1.5.0.1 2015-08-25 23:17:56 -07:00
Maximilian Tagher
7579980deb Merge pull request #1064 from MaxGabriel/yesodTestContentType
yesod-test: have `request` not default to the form-urlencoded Content-Type
2015-08-24 20:45:10 -07:00
Maximilian Tagher
479a19e65a yesod-test: have request not default to the form-urlencoded Content-Type
* Only set the Content-Type to "application/x-www-form-urlencoded" if key-value pairs are added
* Previously the "application/x-www-form-urlencoded" Content-Type would be added even if you set a binary request body.
	* You could add your own Content-Type with addRequestHeader, but this resulted in multiple Content-Type headers.
* Closes #1063
2015-08-24 20:27:28 -07:00
Michael Snoyman
e06a8109d0 Do not parse string environment variables into numbers/booleans #1061 2015-08-24 11:55:41 +03:00
Greg Weber
1567145110 version bump yesod-core to 1.4.15 2015-08-23 17:20:42 -07:00
Greg Weber
65bc93a6d6 1.4.15 Changelog 2015-08-23 17:16:11 -07:00
Greg Weber
8da4effb03 Merge pull request #1065 from Daniel-Diaz/master
mkYesodGeneral: Assume type arity 0 when type is not in scope at splicing time
2015-08-23 16:40:34 -07:00
Daniel Díaz
5375bacf81 Placed App after mkYesod in the RawResponse test. 2015-08-23 22:53:13 +02:00
Daniel Díaz
e77f6bd709 Do not use reify unless the type name is in scope. Assume arity 0 when the type is not in scope. 2015-08-23 22:49:04 +02:00
Greg Weber
ad7326aaaa fix error from new HUnit export 2015-08-21 14:24:54 -07:00
Greg Weber
57f9bd6ff6 Merge pull request #1060 from Daniel-Diaz/master
changelog modification following #1059 discussion
2015-08-21 12:58:28 -07:00
Daniel Díaz
8130e2b7a9 Fixed mkYesodGeneral message in changelog, and added information about splicing breaking change. 2015-08-21 21:52:35 +02:00
Greg Weber
a28f4f3fa4 Changelog for yesod-test 1.5 2015-08-20 17:44:31 -07:00
Greg Weber
95e6084634 Merge branch 'test-middleware'
Conflicts:
	yesod-test/yesod-test.cabal
2015-08-20 17:38:30 -07:00
Greg Weber
80ea70c39e Merge remote-tracking branch 'MaxGabriel/removeDeprecatedNonces'
Conflicts:
	yesod-test/Yesod/Test.hs
2015-08-20 17:36:08 -07:00
Greg Weber
8b00b373b8 release yesod-test 1.4.4 2015-08-20 17:29:32 -07:00
Greg Weber
6d15e7c7ba Merge pull request #1058 from MaxGabriel/csrfMiddlewareYesodTest
Add functions to yesod-test to support the new CSRF middleware
2015-08-20 17:25:03 -07:00
Michael Snoyman
ce456d48c7 Correctly reverse package-db argument order (fixes #1057) 2015-08-20 08:49:28 +03:00
Maximilian Tagher
374195b4fa Add functions to yesod-test to support the new CSRF middleware 2015-08-19 22:18:30 -07:00
Michael Snoyman
0fcbbb7951 Version bump 2015-08-20 08:02:42 +03:00
Maximilian Tagher
0f55dcc158 Merge pull request #1017 from MaxGabriel/ajaxCsrfProtection
Adding CSRF protection for AJAX requests
2015-08-17 17:27:08 -07:00
Maximilian Tagher
33982b2112 Add CSRF protection functions/middleware that support AJAX requests 2015-08-17 16:52:39 -07:00
Christopher Reichert
3300b5ad16 Merge pull request #1056 from MaxGabriel/yesodCore1.4.13Changelog
Update yesod-core changelog for 1.4.13
2015-08-16 20:48:01 -05:00
Maximilian Tagher
949fa2d426 Slightly improve comment about constant time comparison 2015-08-16 20:50:29 -04:00
Maximilian Tagher
620440d2b6 Update yesod-core changelog for 1.4.13 2015-08-16 19:18:35 -04:00
Greg Weber
0fdb78a6f2 Merge pull request #1055 from Daniel-Diaz/master
mkYesodGeneral: Argument types can now be polymorphic
2015-08-16 11:51:13 -07:00
Michael Snoyman
6b3a5c1b11 Scaffolding update 2015-08-13 13:59:37 +03:00
Daniel Díaz
42ec7f53e9 Depend directly on template-haskell. 2015-08-11 22:10:12 +02:00
Daniel Díaz
4897c24d3f Use CPP to adapt to template-haskell changes according to the version of base used. 2015-08-11 22:07:28 +02:00
Michael Snoyman
128165c19c Merge pull request #1054 from chreekat/keter-build-args
Add build-args to keter subcommand
2015-08-11 18:54:45 +03:00
Bryan Richter
3cae60bb88
Add build-args option to keter subcommand 2015-08-11 08:22:51 -07:00
Michael Snoyman
09343872c4 Version bump 2015-08-11 07:50:24 +03:00
Michael Snoyman
7d85092da2 Version bump 2015-08-11 07:48:56 +03:00
Daniel Díaz
ea62a38464 mkYesodGeneral arguments can now be monomorphic or polymorphic types. It is possible to impose class instances to polymorphic type arguments. 2015-08-10 07:23:26 +02:00
Greg Weber
a938f977b5 version bump for middleware accessebility in yesod-test 2015-08-05 17:48:32 -07:00
Greg Weber
b92ae3093a configurable middleware 2015-08-05 17:48:27 -07:00
Daniel Díaz
366bfbd319 Allow Site types to have type parameters. 2015-08-06 00:35:48 +02:00
Daniel Díaz
9991e307e3 Attempt to add support for parametrized types in mkYesod. 2015-08-06 00:13:28 +02:00
Michael Snoyman
b5077abdd9 Version bump for scaffold 2015-08-04 16:48:11 +03:00
Michael Snoyman
a6fe8c444d Upgrade to newer LTS 2015-08-04 16:44:18 +03:00
Michael Snoyman
4c7dc5caaf Scaffolding update 2015-08-04 16:44:18 +03:00
Greg Weber
0bab753ada Merge pull request #1050 from mpietrzak/master
Fix parameter order for uglifyjs.
2015-08-02 09:28:58 -07:00