Michael Snoyman
c4e796248c
Merge pull request #1796 from TeofilC/yesod-core-transformers-0.6
...
Adapt to removal of ListT from transformers-0.6.0
2023-02-10 14:57:45 +02:00
Teo Camarasu
c35bdb1cd4
Adapt to removal of ListT from transformers-0.6.0
...
Co-authored-by: Ryan Scott <ryan.gl.scott@gmail.com>
2023-02-10 12:15:06 +00:00
Michael Snoyman
0fa3dbcab6
Merge pull request #1795 from TeofilC/monad-aform
...
yesod-form: Add Monad AForm instance for transformers >=0.6
2023-02-09 08:23:56 +02:00
Teo Camarasu
a6e420b42f
yesod-form: bump version and add changelog message for #1795
2023-02-07 10:52:29 +00:00
Teo Camarasu
06fd5df137
yesod-form: Add Monad AForm instance for transformers >=0.6
...
This is required in order to have a MonadTrans instance
2023-02-07 10:51:51 +00:00
Michael Snoyman
66bed05d33
Merge pull request #1790 from ricky0123/fix-websocket-chat
...
Fix websocket examples
2022-11-20 09:36:14 +02:00
ricky
d8560042e7
fix websocket chat examples
...
.
2022-11-17 08:29:58 -06:00
Michael Snoyman
5880bd3119
Merge pull request #1785 from felixonmars/patch-1
...
Allow vector 0.13
2022-10-11 06:42:40 +03:00
Felix Yan
73db75b8cf
Allow vector 0.13
...
Builds fine and all tests pass.
2022-10-10 23:53:34 +03:00
Michael Snoyman
e3381d590f
Merge pull request #1783 from cblp/fix-radio
...
Fix according to Bootstrap 3 docs
2022-10-06 06:36:25 +03:00
Yuriy Syrovetskiy
cb874e3bbb
fixup! Update Changelog
2022-10-05 22:53:21 +02:00
Yuriy Syrovetskiy
fbefa3ad37
Update Changelog
2022-10-05 20:32:49 +02:00
Yuriy Syrovetskiy
b841e8cf0b
Fix according to Bootstrap 3 docs
2022-10-05 20:21:03 +02:00
Michael Snoyman
5ac0138697
Minor version bump on yesod-test
2022-09-22 09:48:42 +03:00
Michael Snoyman
f729d9bbb6
Merge pull request #1781 from eahlberg/add-by-selector-label-contain
...
Add bySelectorLabelContain to support testing inputs with the same label
2022-09-22 09:43:20 +03:00
Michael Snoyman
faa4105250
Merge branch 'add-by-selector-label-contain' of github.com:eahlberg/yesod into eahlberg-add-by-selector-label-contain
2022-09-22 06:49:33 +03:00
Michael Snoyman
486b871229
Merge pull request #1782 from yesodweb/support-stack-29
...
Remove unneeded invocation of Stack in CI
2022-09-22 06:48:14 +03:00
Michael Snoyman
bb74ef5f08
Remove unneeded invocation of Stack in CI
2022-09-22 06:39:22 +03:00
Eric Ahlberg
bca75573b8
Update changelog
2022-09-21 13:50:50 +02:00
Eric Ahlberg
6c2a20699a
Refactor
2022-09-21 13:50:50 +02:00
Eric Ahlberg
bd86b4db7a
Add bySelectorLabelContain
2022-09-21 13:50:50 +02:00
Eric Ahlberg
b28ee833d1
Add tests
2022-09-21 10:34:02 +02:00
Michael Snoyman
42050fb5c7
Remove bounds on fsnotify
2022-09-18 11:08:53 +03:00
Michael Snoyman
65adf9ba72
Merge pull request #1775 from SupercedeTech/add-with-option-more-flexible-radio-inputs
...
Add withRadioField a more flexible radio option renderer
2022-09-18 08:05:47 +03:00
Matt Parsons
26a195b8c7
Support GHC 9.4 ( #1769 )
...
* Support GHC 9.4
* tidy it on up
* ok tests pass again
* weird
* woo
* Changelog, cabal files
* fix for older cabal
* Drop MacOS from older resolvers
https://github.com/bravit/hid-examples/issues/7#issuecomment-781308838
* oops
2022-09-07 11:49:14 -06:00
Michael Snoyman
02a1a56dd7
Merge pull request #1778 from degustaf/master
...
Remove deprecated function from testing example
2022-08-26 05:59:57 +03:00
Derek Gustafson
7721b65f58
Remove deprecated function from testing example
...
byLabel has been deprecated, but is still used as an example.
2022-08-25 17:07:07 -04:00
Jappie Klooster
25f83fb73d
Add withRadioField a more flexible radio option renderer
...
This re-expresses radioField into the new more flexible
function.
Which gives an adhoc example on how to use it as well.
This function passes the radio input to a callback function
to let said function decide how it should be rendered.
These changes allow you to make a radio table for example,
for selecting some row.
bump version number, add @since
add note on radioField
Update changelog
2022-08-17 10:28:42 +02:00
Michael Snoyman
337a9928f2
Merge pull request #1772 from SupercedeTech/make-exception-catching-configurable
...
Make catching exceptions configurable.
2022-07-20 18:04:39 +03:00
Jappie Klooster
69df01668a
Update yesod-core/src/Yesod/Core/Class/Yesod.hs
...
Co-authored-by: patrick brisbin <pbrisbin@gmail.com>
2022-07-20 15:23:29 +02:00
Jappie Klooster
dd2ba40873
be more explicit in changelog
2022-07-20 14:30:34 +02:00
Jappie Klooster
13db3db118
Add backwards compatibility for old unliftio
2022-07-20 14:14:14 +02:00
Jappie Klooster
dc4ee0f92c
remove unsafeAsyncCatch
2022-07-20 14:07:30 +02:00
Jappie Klooster
01ccea46cc
update docs, better names
...
rename catchBehvaior -> catchHandlerExceptions
rename shouldCatch -> catchHanlderExceptions
2022-07-20 12:43:09 +02:00
Jappie Klooster
5ac65db1bf
Delete catchbevior and allow a user to provide a catch.
...
By default the one from unliftIO is used.
2022-07-20 12:32:48 +02:00
Jappie Klooster
d04c22e3d6
Rewrite default behavior into rethrow async exceptions
2022-07-20 11:55:44 +02:00
Jappie Klooster
964fa0db55
Fix dealing with timeout and add appropriate test
...
add comments for this nonobvious test
2022-07-14 21:55:00 +02:00
Jappie Klooster
27042c93ce
change catchbehavior to get app be in io, make it abstract type
2022-07-07 12:06:56 +02:00
Jappie Klooster
710adc7329
don't patch but minor version bump isntead
2022-07-07 11:15:40 +02:00
Jappie Klooster
9648ccf79f
add customapp to core.cabal
2022-07-06 22:43:19 +02:00
Jappie Klooster
827d9269b0
update changelog
2022-07-06 22:41:52 +02:00
Jappie Klooster
1487b121be
Make catching exceptions configurable.
...
Fixes https://github.com/yesodweb/yesod/issues/1771
This is done by adding a function to Yesod
typeclass which can match on any exception
and tell the framework if it should rethrow
or not.
I used an overridable function because it seemed
more flexible then a whitelist.
A user can now for example choose to throw
everything, or catch everything as easily.
add docs
bump
2022-07-06 22:40:24 +02:00
Michael Snoyman
99c1fd49a3
Merge branch 'patch-1' of https://github.com/friedbrice/yesod
2022-05-11 14:44:27 +03:00
Michael Snoyman
50c439da56
Merge pull request #1768 from SupercedeTech/quote-in-test
...
Fix quote ' not matching in htmlContain* functions
2022-05-11 14:05:57 +03:00
Daniel P. Brice
b8de71c5ab
Update ChangeLog.md
2022-05-10 13:31:34 -07:00
Jappie Klooster
b88b1f430f
Add link to PR
2022-05-10 16:27:28 -04:00
Daniel P. Brice
d5a194a7dd
Update yesod-test.cabal
2022-05-10 13:25:45 -07:00
Daniel P. Brice
8028f1defd
assertEq delegates to HUnit.assertEqual
...
HUnit.assertEqual gives a formatted diff, making it easier to see the differences between the two values at a glance.
2022-05-10 13:24:21 -07:00
Jappie Klooster
5f3e237c29
Bump version and add changes
2022-05-10 16:24:07 -04:00
Jappie Klooster
28fc2269b0
Fix quote ' not matching in any body
...
This sometimes occured in our code base when generating
names with the fakedata package, someone named o'conner
randomly fails a particular test.
Also add tests for the other matching function and fixed them.
Furthermore, I snuck in logging of the matches as well.
2022-05-10 16:20:35 -04:00