Commit Graph

3442 Commits

Author SHA1 Message Date
Michael Snoyman
def48d8a45 Version bumps for 1.4 release 2014-09-21 11:41:37 +03:00
Michael Snoyman
f1de32ec68 Merge branch 'master' into yesod-1.4 2014-09-21 10:56:58 +03:00
Michael Snoyman
eda8597039 Better keter.yml in scaffolding 2014-09-21 10:56:22 +03:00
Michael Snoyman
a2563c8d05 yesod keter: support for new config file format 2014-09-21 10:42:53 +03:00
Michael Snoyman
bef44d962a Merge pull request #831 from yesodweb/cachedBy
add cachedBy, like cached but adds a key
2014-09-21 08:24:34 +03:00
Greg Weber
f18d0a8bac TypeCache typo and module exposure 2014-09-20 20:57:27 -07:00
Greg Weber
00b5781ec5 add cachedBy, like cached but adds a key
re-factored to a base implementation with
no Yesod dependencies in TypeCache.hs
2014-09-20 14:34:10 -07:00
Michael Snoyman
f86d181377 Merge branch 'master' into yesod-1.4 2014-09-21 00:07:11 +03:00
Michael Snoyman
60d1d5334b Version bump 2014-09-20 23:44:08 +03:00
Michael Snoyman
c629cba207 Version bump 2014-09-20 23:34:38 +03:00
Michael Snoyman
b7b3294eb2 Merge pull request #828 from jcristovao/master
Added convertField function to ease the generation of new fields
2014-09-18 06:54:47 +03:00
Greg Weber
629df4a291 add required attribute 2014-09-17 12:31:42 -07:00
João Cristóvão
13bc55969a Added convertField function to ease the generation of new fields 2014-09-17 18:08:06 +01:00
Greg Weber
17b94c16c7 version bump 2014-09-17 09:28:45 -07:00
Greg Weber
8c2542eb8c add required attribute 2014-09-17 09:28:26 -07:00
Michael Snoyman
ed2aeda06d Merge pull request #824 from erikd/master
yesod-test: Improve CSS selector parser.
2014-09-17 06:50:16 +03:00
Greg Weber
51927638c1 version bump 2014-09-16 18:50:06 -07:00
Greg Weber
448b33d1cc fix confirmation email status
I screwed this up in a big re-factoring in 153654ad
2014-09-16 18:49:45 -07:00
Greg Weber
4f95cb9f64 Merge pull request #825 from yesodweb/confirm-email-status
Confirm email status
2014-09-16 20:49:05 -05:00
Greg Weber
2a30519169 fix some import warnings 2014-09-16 18:13:28 -07:00
Greg Weber
1067816b5d fix confirmation email status
I screwed this up in a big re-factoring in 153654ad
2014-09-16 18:10:40 -07:00
Erik de Castro Lopo
581a688cf5 yesod-test: Improve CSS selector parser.
* Tighten up what the parser will accept (especially wrt identifiers).
* Write the parser in a more idiomatic (for *parsec) style.
2014-09-17 10:24:57 +10:00
Michael Snoyman
50f57a3586 Fix browserid.hs (closes #547) 2014-09-14 11:04:16 +03:00
Michael Snoyman
bec985467f Merge pull request #821 from mgomezch/yesodauthpersist
Decouple YesodAuthPersist from Persistent
2014-09-14 07:30:18 +03:00
Michael Snoyman
d3e4831b38 Scaffolding update 2014-09-14 07:23:19 +03:00
Manuel Gómez
94331fcab9 Travis doesn't like type instance in a class 2014-09-12 13:35:00 +00:00
Manuel Gómez
9729cd9d15 Default type instance for AuthEntity
`AuthEntity` is now a type family associated to the `YesodAuthPersist`
class, so its old type alias definition has now become its default type
instance, which allows recovering the old behavior with minimal
boilerplate: an empty instance declaration for `YesodAuthPersist` makes
a Yesod application written with Persistent work just like before.

Unfortunately, this requires enabling `UndecidableInstances` in the
`Yesod.Auth` module since there is now a nested type family application
(as `AuthEntity` is now itself a type family).

This was tested with the scaffolded application with PostgreSQL, and it
works (given another small change to make it work with Persistent 2 due
to how `SqlPersistT` is now defined).
2014-09-12 13:18:51 +00:00
Manuel Gómez
4fd20299c1 maybeAuthPair, requireAuthPair
`maybeAuth` and `requireAuth` have been reverted to their original
signatures, which assume a Persistent database.  `maybeAuthPair` and
`requireAuthPair` are introduced, which do the same but without that
assumption.
2014-09-12 13:14:15 +00:00
Michael Snoyman
ef55173383 Merge pull request #822 from docmunch/no-id-token
remove the id_token parameter
2014-09-12 07:01:51 +03:00
Greg Weber
ec6fd486b6 remove the id_token parameter
We saw this error:
Internal Server Error
key "id_token" not present
2014-09-11 13:19:20 -07:00
Manuel Gómez
086837686a Decouple YesodAuthPersist from Persistent 2014-09-10 17:51:11 +00:00
Michael Snoyman
e4a401f58d Add a signature 2014-09-08 10:02:11 +03:00
Michael Snoyman
2b01c38d60 Added missing pragma 2014-09-08 07:11:38 +03:00
Michael Snoyman
39f4d0c95f Force persistent-2.0 2014-09-07 20:54:07 +03:00
Michael Snoyman
587d135f17 Remove yesod-platform 2014-09-07 20:53:57 +03:00
Michael Snoyman
ccab062f2d Remove all conditional compilation for Yesod 1.4 release
Left in for GHC-bundled libraries (ghc, base, bytestring, binary)
2014-09-07 18:17:45 +03:00
Michael Snoyman
598e570913 Remove deprecated packages 2014-09-07 17:41:09 +03:00
Michael Snoyman
f779004d19 Merge yesod-routes into yesod-core entirely 2014-09-07 17:34:37 +03:00
Michael Snoyman
88b9217e25 Merge branch 'master' into yesod-1.4 2014-09-07 17:02:01 +03:00
Michael Snoyman
815901eeb4 Version bump 2014-09-07 16:58:00 +03:00
Michael Snoyman
be5ec95647 Clean up parsing module further 2014-09-07 16:55:37 +03:00
Michael Snoyman
bc00f3958f Unified parsing and dispatching code (still ugly) 2014-09-07 16:55:37 +03:00
Michael Snoyman
a1ea34f196 Remove old dispatch method 2014-09-07 16:55:37 +03:00
Michael Snoyman
97af86e43a Simplified done.cg #819 2014-09-03 17:56:20 +03:00
Michael Snoyman
8cbcc5fab3 Merge branch 'master' into yesod-1.4 2014-09-03 09:03:18 +03:00
Michael Snoyman
67438d191d optparse-applicative 0.10 2014-09-03 08:20:10 +03:00
Greg Weber
ec91c8b59b version bump 2014-09-01 20:19:25 -07:00
Greg Weber
867f0c02e0 Merge pull request #818 from HugoDaniel/patch-1
Fixes the "reader not in scope" error
2014-09-01 12:27:43 -05:00
Hugo Daniel
525a73a100 Update yesod-bin.cabal
This fixes the error:

[10 of 10] Compiling Main             ( main.hs, dist/build/yesod/yesod-tmp/Main.o )

main.hs:192:35:
    Not in scope: ‘reader’
    Perhaps you meant one of these:
      ‘header’ (imported from Options.Applicative),
      ‘readIO’ (imported from Prelude), ‘readLn’ (imported from Prelude)
cabal: Error: some packages failed to install:
yesod-bin-1.2.12.5 failed during the building phase. The exception was:
ExitFailure 1
2014-09-01 18:12:20 +01:00
Michael Snoyman
2187c0cf8d Add required to textareaField (fixes #817) 2014-09-01 07:19:15 +03:00