Commit Graph

4636 Commits

Author SHA1 Message Date
Ben Sima
56ca6d7914 Move 'addClass' to Yesod.Form.Functions and add 'removeClass'
'addClass' is more general than just Bootstrap forms. In particular, it is
copied into the yesod-form-bootstrap4 project and I found myself using it in my
custom forms. It would be useful to have it exported for use elsewhere.

I added 'removeClass' because I needed it while creating a custom 'readonly'
input in a form and thought it might be generally useful.
2018-05-11 13:23:31 -07:00
Michael Snoyman
5861357923
Merge pull request #1503 from ncaq/add-file-source-bytes
added: fileSourceByteString
2018-05-04 08:45:20 +03:00
ncaq
a8df3c48c2 modified: use sinkLazy and toStrict
Because performance problem.
2018-05-01 17:15:13 +09:00
Michael Snoyman
4cd29ae298
Merge pull request #1485 from NorfairKing/with-generator
yesodSpecWithSiteGenerator with an argument
2018-04-30 17:03:13 +03:00
Michael Snoyman
bc4ecd7dc8
Fix broken http-reverse-proxy < 0.6 support 2018-04-26 12:17:00 +03:00
Tom Sydney Kerckhove
0aa1765b6c Updated according to review 2018-04-26 11:00:48 +02:00
Tom Sydney Kerckhove
a8f5418b22 yesodSpecWithSiteGenerator with an argument 2018-04-26 10:50:51 +02:00
Michael Snoyman
07df43f207
Merge branch 'master' of github.com:yesodweb/yesod 2018-04-26 11:20:26 +03:00
Michael Snoyman
e87c9b5bf0
Support for http-reverse-proxy 0.6.0 2018-04-26 11:20:04 +03:00
ncaq
e664ae2e0e changed: use foldC 2018-04-24 12:55:55 +09:00
ncaq
74ce4c57ff Merge branch 'master' into add-file-source-bytes 2018-04-24 12:36:36 +09:00
Michael Snoyman
b92b2a0871
Merge pull request #1504 from ncaq/add-addContentDispositionFileName
added: addContentDispositionFileName
2018-04-18 09:22:10 +03:00
ncaq
f5855c8397 Merge branch 'master' into add-file-source-bytes 2018-04-17 18:58:09 +09:00
ncaq
33b5171b75 modified: fileSourceByteString: use sinkLazy 2018-04-17 18:54:18 +09:00
ncaq
fc7884f7f2 Merge branch 'master' into add-addContentDispositionFileName 2018-04-17 18:49:53 +09:00
ncaq
a59ee6b62e added: ChangeLog 1.6.4 2018-04-17 18:47:54 +09:00
ncaq
eb220c936a added: addContentDispositionFileName: document comment
I wrote battle of multibyte from code review.
2018-04-17 18:44:19 +09:00
Michael Snoyman
df6ca6e59c
Merge pull request #1506 from ncaq/fix-appveyor
fixed: see th-lift-instances-0.1.11
2018-04-17 12:39:56 +03:00
ncaq
2c1a6c609f Merge branch 'master' into add-addContentDispositionFileName 2018-04-17 18:05:46 +09:00
ncaq
1e89f4d4c3 cleaned: fileSourceByteString: document comment
from code review.
2018-04-17 18:01:36 +09:00
ncaq
11159f3a75 cleaned: use runConduit and .| instead of connect
from code review.
2018-04-17 17:58:49 +09:00
ncaq
1eb553f92c Merge branch 'master' into add-file-source-bytes 2018-04-17 17:52:20 +09:00
ncaq
4d7679775a fixed: see th-lift-instances-0.1.11
th-lift-instances-0.1.11 build is Simple.
2018-04-17 17:49:34 +09:00
Michael Snoyman
cf1073d760
Merge pull request #1502 from pythonissam/general-request-method
add performMethod
2018-04-17 10:31:44 +03:00
ncaq
712e8bb475 added: addContentDispositionFileName 2018-04-17 14:33:38 +09:00
ncaq
955b21d7ea added: ChangeLog 1.6.4 2018-04-17 14:24:57 +09:00
ncaq
7e2ca33ed5 added: fileSourceByteString
This function is to get `FileInfo` raw body.
2018-04-17 13:58:15 +09:00
pythonissam
860ef4127a Change the method in the example of performMethod 2018-04-14 06:47:32 +00:00
pythonissam
a9030aa294 make get and post use performMethod 2018-04-14 06:46:38 +00:00
pythonissam
7ad28d227c Update ChangeLog.md 2018-04-14 06:10:59 +00:00
pythonissam
a7d42846b5 add performMethod 2018-04-14 06:08:15 +00:00
Michael Snoyman
06e0ffb48b
Merge pull request #1501 from rnons/getPerson-signature
generalize type signature of GoogleEmail2.getPerson
2018-04-09 16:38:31 +03:00
Ping Chen
fa1248389d bump version and update ChangeLog 2018-04-09 20:48:57 +09:00
Ping Chen
468fba2226 generalize type signature of GoogleEmail2.getPerson 2018-04-09 14:21:48 +09:00
Michael Snoyman
778cf2cf0b
Add missing SubHandlerFor export 2018-04-04 12:11:27 +03:00
Michael Snoyman
ff5618bd15
Merge pull request #1493 from agreif/patch-1
minor doc change
2018-03-05 17:07:27 +02:00
Alex Greif
760b947ed4
minor doc change 2018-03-05 14:09:38 +00:00
Michael Snoyman
e894239563
Add missing version bump 2018-03-05 11:21:53 +02:00
Michael Snoyman
cb229cf84c
Merge pull request #1492 from yesodweb/showRoutes
Derive Show instances for route data structures
2018-03-05 10:17:39 +02:00
Maximilian Tagher
08ef0e26dc Derive Show instances for route data structures
* It's very helpful to have a Show instance for debugging and development
* Currently third party packages are deriving this instance themselves which is not ideal.
    * http://hackage.haskell.org/package/yesod-routes-flow-2.0/docs/src/Yesod-Routes-Flow-Generator.html
    * http://hackage.haskell.org/package/yesod-routes-typescript-0.3.0.0/docs/src/Yesod-Routes-Typescript-Generator.html
    * This change would break those packages, which isn't great
         * At least the typescript one is broken anyway
2018-03-04 15:59:54 -08:00
Michael Snoyman
bdcb4272cd
Merge pull request #1490 from psibi/issue-1489
Remove MINIMAL pragma for authHttpManager
2018-03-04 14:33:47 +02:00
Sibi Prabakaran
ff043db45b
Update changelog 2018-03-04 13:39:31 +05:30
Sibi Prabakaran
c04d6f9ac7
Remove MINIMAL pragma for authHttpManager
We now have a default implementation for it. See this for more
information:
https://github.com/yesodweb/yesod/issues/1489#issuecomment-370200663

Helps in preventing warnings like this:

```
serverside.hs:40:10: warning: [-Wmissing-methods]
    • No explicit implementation for
        ‘authHttpManager’
    • In the instance declaration for ‘YesodAuth App’
   |
40 | instance YesodAuth App where
   |          ^^^^^^^^^^^^^
```
2018-03-04 13:20:21 +05:30
Michael Snoyman
a3f130233b
Relax a number of type signatures #1488 2018-02-20 13:51:36 +02:00
Michael Snoyman
63006970c6
Remove duplicate description field 2018-02-20 13:51:36 +02:00
Maximilian Tagher
f2b651b695
Merge pull request #1482 from pythonissam/bylabel-contain
Bylabel contain
2018-02-10 18:49:13 -08:00
Maximilian Tagher
a0963e77b2
Merge branch 'master' into bylabel-contain 2018-02-09 22:20:02 -08:00
pythonissam
b8f93e6203 Update the version to 1.6.2 2018-02-10 04:16:07 +00:00
kotaro
acf956443d Updated deprecation warnings accordingly 2018-02-10 08:28:24 +09:00
Michael Snoyman
1e9b7ee664
Comment out lts-7 for OS X 2018-02-05 16:14:19 +02:00