Commit Graph

4741 Commits

Author SHA1 Message Date
Michael Snoyman
5f21c73d7d Changelog fix and typo correction 2014-11-30 07:39:40 +02:00
Greg Weber
05f2a7631c add Yesod.Core.Unsafe module 2014-11-29 17:45:56 -08:00
Michael Snoyman
eeb0bb57d1 Version bump 2014-11-29 19:20:35 +02:00
Michael Snoyman
f82bd1885f Updated scaffolding 2014-11-29 19:20:02 +02:00
Michael Snoyman
f9e3e961b2 Merge pull request #877 from MaxGabriel/documentFieldsOptions
Document the Options section of Fields.hs
2014-11-29 17:58:40 +02:00
Michael Snoyman
04e89d33da Merge pull request #879 from MaxGabriel/patch-2
Fix typos; verison => version
2014-11-29 17:31:54 +02:00
Maximilian Tagher
f1bdd0ace8 Fix typos; verison => version 2014-11-28 17:02:10 -05:00
Maximilian Tagher
ce74e23d87 timeField now uses type="time"
* Also removes deprecation from `timeField`
* Also mildly discourages using `timeFieldTypeText`
2014-11-28 15:57:01 -05:00
Maximilian Tagher
5e6846d572 Finish documenting fields 2014-11-28 13:22:06 -05:00
Maximilian Tagher
1a38a74424 docs wip 2014-11-28 13:10:29 -05:00
Michael Snoyman
4f7180ea2d Version bumps/docs 2014-11-28 08:00:18 +02:00
Michael Snoyman
9a64b1bdb0 MonadLoggerIO instances 2014-11-28 07:55:43 +02:00
Michael Snoyman
c5519b36ef Rename changelog.md to ChangeLog.md (it was bugging me) 2014-11-28 07:47:52 +02:00
Michael Snoyman
c95e74053b Version bump 2014-11-28 07:47:30 +02:00
Felipe Lessa
a87778a003 Merge pull request #874 from MaxGabriel/addTypeTime
Add type="time" to timeField
2014-11-25 15:32:29 -02:00
Greg Weber
b8d474e77e Merge pull request #876 from yesodweb/pb-env-client-session-backend
Add envClientSessionBackend, ENV-based session key
2014-11-25 09:18:09 -08:00
patrick brisbin
21cd47cc98
Add envClientSessionBackend, ENV-based session key
This can be useful if:

1. You can't rely on a persistent file system (e.g. Heroku)
2. Your application is open source (e.g. you can't commit the key)

By keeping a consistent value in the environment variable, your users will
have consistent sessions without relying on the file system.

Usage:

    makeSessionBackend _ = fmap Just $ envClientSessionBackend 120 "SESSION_KEY"
2014-11-25 11:15:13 -05:00
Maximilian Tagher
222c9e3c99 Adds timeFieldTypeText and timeFieldTypeTime. Deprecates 'timeField'
* Also documents all 3 functions
2014-11-25 10:56:30 -05:00
Maximilian Tagher
33d9f5e18c Support different types for timeField 2014-11-25 10:36:34 -05:00
Maximilian Tagher
1944f02c84 Add type="time" to timeField 2014-11-25 10:34:46 -05:00
Michael Snoyman
4ee1eb17cd Generalize a type signature a bit 2014-11-25 12:03:54 +02:00
Michael Snoyman
a65349612e Support time 1.5 2014-11-25 07:18:11 +02:00
Michael Snoyman
c9d934b920 Merge pull request #875 from MaxGabriel/documentFields
Document Fields.hs
2014-11-25 06:58:40 +02:00
Maximilian Tagher
8e025c8226 Further improvements 2014-11-24 23:25:39 -05:00
Maximilian Tagher
af63a60c69 More stuff 2014-11-24 19:58:36 -05:00
Maximilian Tagher
07090ccb7e Document Fields.hs WIP 2014-11-24 14:11:25 -05:00
Greg Weber
c284e1f8b0 Merge pull request #865 from lambdacms/form-i18n-nl
Adds dutch form translations
2014-11-24 10:05:15 -08:00
Michael Snoyman
3679e67927 Version bump 2014-11-24 07:51:51 +02:00
Michael Snoyman
62a037f65f Doc update 2014-11-24 07:50:51 +02:00
Michael Snoyman
4b1966473e Disambiguate a name 2014-11-23 22:40:42 +02:00
Michael Snoyman
846033b176 Fix some haddocks 2014-11-23 18:54:50 +02:00
Michael Snoyman
5622e96725 README.md 2014-11-23 12:18:41 +02:00
Michael Snoyman
f8b9a702b8 Add missing import 2014-11-23 12:13:25 +02:00
Michael Snoyman
0af76fa97b Only update expires time once per hour 2014-11-23 12:10:22 +02:00
Felipe Lessa
d6e5469179 Merge pull request #873 from MaxGabriel/documentBootstrap3
Document Yesod.Form.Bootstrap3
2014-11-23 00:33:21 -02:00
Maximilian Tagher
2d31b3155d Improves code formatting
* Fixes bug where @<button>@ was being treated as a Haskell function reference
* Uses '<*' instead of @<*@, since <* is a Haskell function (though this doesn't appear to make the link work)
2014-11-22 17:23:12 -08:00
Maximilian Tagher
f4e8ac9496 Fix usages of bootstrapSubmit 2014-11-22 17:04:48 -08:00
Maximilian Tagher
f84e9703ed Revision 1 of Bootstrap 3 documentation 2014-11-22 16:27:23 -08:00
Michael Snoyman
6c693d8793 Merge pull request #872 from DaveCTurner/master
`neverExpires` sets 'Expires' header to be a year from now.
2014-11-22 17:50:52 +02:00
Maximilian Tagher
5038bea627 Document Yesod.Form.Bootstrap3 2014-11-21 20:17:55 -08:00
David Turner
42f098ff64 neverExpires sets 'Expires' header to be a year from now. 2014-11-21 17:40:32 +00:00
Michael Snoyman
5d771e49bb Minor indentation cleanup 2014-11-21 08:22:17 +02:00
Michael Snoyman
213dcbd985 Fix some warnings 2014-11-21 08:21:15 +02:00
Michael Snoyman
11ae185c83 Switch from Monoid to Semigroup 2014-11-21 08:20:06 +02:00
Michael Snoyman
65baf35d0c Make EnvUsage more extensible 2014-11-20 17:11:41 +02:00
Michael Snoyman
5a4ebf394d More EnvUsage constructors 2014-11-20 09:48:22 +02:00
Michael Snoyman
a0836cf955 Version bump 2014-11-20 02:18:44 +02:00
Michael Snoyman
7fcddb6ee3 Provide Example instance for YesodExample 2014-11-20 02:14:06 +02:00
Michael Snoyman
79db398a54 EnvUsage for better control 2014-11-20 01:05:17 +02:00
Michael Snoyman
35511d2466 Nicer _env: syntax (thanks @gregwebs) 2014-11-20 00:53:29 +02:00