Commit Graph

3676 Commits

Author SHA1 Message Date
Michael Snoyman
d83bcb62a1 Version bump 2015-03-06 07:30:45 +00:00
Michael Snoyman
9429d163b6 Merge pull request #947 from chreekat/keter-package-extra-files
Add and process Keter option 'extraFiles'
2015-03-06 09:15:38 +02:00
Bryan Richter
5b9e616ee2 Minor refactor of keter function 2015-03-04 09:55:03 -08:00
Bryan Richter
6b43e08f89 Add and process Keter option 'extraFiles' 2015-03-04 09:31:26 -08:00
Michael Snoyman
76ed92fe9f Update PATH 2015-03-01 14:34:51 +02:00
Michael Snoyman
29443a4c02 Travis fixes 2015-03-01 14:12:08 +02:00
Michael Snoyman
0fcd9b3c98 Attempted update to Travis config 2015-03-01 14:01:28 +02:00
Michael Snoyman
94b8842813 Version bump 2015-03-01 13:51:19 +02:00
Michael Snoyman
af600271bf Missing changes 2015-03-01 13:50:21 +02:00
Michael Snoyman
ed1d6ad6bb Version bump 2015-03-01 13:39:48 +02:00
Michael Snoyman
a2da368697 Merge pull request #945 from paul-rouse/master
Disregard proxy environment variables in yesod devel
2015-03-01 13:35:31 +02:00
Paul Rouse
5281d7aa3e Remain compatible with pre-0.4.7 http-client 2015-03-01 11:20:19 +00:00
Paul Rouse
e69ea760e1 Version bound on http-client 2015-03-01 08:17:20 +00:00
Paul Rouse
761e7dd374 Disregard proxy environment variables in yesod devel 2015-02-28 21:38:11 +00:00
Michael Snoyman
c7b4f1ddbe Version bump 2015-02-24 18:38:54 +02:00
Michael Snoyman
d1cfe481fd Scaffolding update: minimal uses yesod-core 2015-02-24 18:32:41 +02:00
Michael Snoyman
5c47486c86 Merge pull request #941 from joelteon/master
Add pragmas for GHC 7.10
2015-02-23 07:20:55 +02:00
Christopher Reichert
11fa46d8ba Merge pull request #940 from haroldl/master
Improve error message when "yesod devel" complains about the GHC version...
2015-02-22 22:19:18 -06:00
Joel Taylor
dbd5fbfea2 add pragmas 2015-02-22 17:18:13 -08:00
Harold Lee
f8fb6d3dc3 Improve error message when "yesod devel" complains about the GHC version.
I hit this problem and the fix was to reinstall yesod-bin (because I'd
upgraded my version of ghc):

    cabal install --reinstall yesod-bin

See issue #476.
2015-02-22 13:35:13 -08:00
Michael Snoyman
df0cf82f56 Allow path-pieces 0.2 2015-02-19 11:56:24 +02:00
Michael Snoyman
d82d3843b4 Version bump 2015-02-19 08:33:41 +02:00
Michael Snoyman
e60356bf9a Merge branch 'googleemail2-person' of https://github.com/zudov/yesod 2015-02-19 08:31:31 +02:00
Konstantin Zudov
18a8513e38 Save the access_token only from special handler 2015-02-16 14:16:26 +02:00
Michael Snoyman
a9ff4f44a6 Scaffolding update 2015-02-16 10:39:45 +02:00
Konstantin Zudov
7ed5d4ad39 Added means to fetch user's Google profile
The existing GoogleEmail2 auth did that:
  - Acquire user access token with offline access
  - Use token to acquire user's profile
  - Build `Creds` with user's email as `ident` and the other profile
    details as stringy key-value pairs in `credsExtra`

This wasn't enough for me, for several reasons:
  - Access token was not saved after authentication. If we request 'offline'
    token why not to have a way of using it later.
  - Stringy key-value profile is not nice and `credsExtra` can be accessed
    only from `getAuthId`
  - I might want to request the profile after authentication process

So I've added the needed features.
  - The access token is saved in a session
  - There is a `Person` type with `FromJSON` instance and `getPerson`
    can be used to acquire it from `HandlerT`
2015-02-16 09:44:13 +02:00
Michael Snoyman
a5583c75b2 Version bump 2015-02-09 07:25:40 +02:00
Michael Snoyman
6751d24d75 Version bumps 2015-02-09 07:25:08 +02:00
Michael Snoyman
0100b3e525 Merge pull request #927 from MaxGabriel/yesodTestReadmeExampleFix
Update the example in the yesod-test README
2015-02-09 07:21:19 +02:00
Michael Snoyman
e05f43218c Merge pull request #928 from yesodweb/widget-semigroup
Semigroup instance for WidgetT
2015-02-09 06:57:47 +02:00
Greg Weber
eda07c2bf3 Merge pull request #929 from MaxGabriel/moreSemigroups
Add more semigroups instances
2015-02-08 18:35:43 -08:00
Maximilian Tagher
e57b62235f Add more semigroups instances 2015-02-08 16:55:06 -08:00
Greg Weber
8086ca5d57 Semigroup instance for WidgetT 2015-02-08 14:09:10 -08:00
Michael Snoyman
7cc9700774 Updated scaffolding 2015-02-08 09:58:24 +02:00
Maximilian Tagher
b9246d26a1 Update the example in the yesod-test README
* Fixes a few typos/formatting issues as well
* Closes #920
2015-02-07 23:13:05 -08:00
Michael Snoyman
887d7e8004 Doc update 2015-02-08 07:18:56 +02:00
Michael Snoyman
f1103a2bd6 Version bump 2015-02-08 07:17:55 +02:00
Michael Snoyman
85d4477f96 Remove defunct reference to SpecialResponse (fixes #925) 2015-02-08 07:15:16 +02:00
Greg Weber
df304d6393 Merge pull request #923 from s9gf4ult/master
Perform `onLogout` before session cleaning
2015-02-04 14:20:12 -08:00
Aleksey Uimanov
e64773cd41 Perform onLogout before session cleaning 2015-02-05 00:21:14 +05:00
Michael Snoyman
c4824b9ceb Version bump 2015-02-04 18:52:29 +02:00
Michael Snoyman
f3fea0a7bd Merge pull request #922 from MaxGabriel/fixAddHandlerNewlines
Fix add-handler putting two routes on one line
2015-02-04 18:49:23 +02:00
Maximilian Tagher
54cd923ed5 Fix add-handler putting two routes on one line
* If there is a new line at the end of the file, add the route as normal
* If there isn't, add a newline character before the route
* Closes #921
2015-02-04 08:45:01 -08:00
Michael Snoyman
5a4c7e7fa0 Version bump 2015-02-04 17:46:07 +02:00
Michael Snoyman
5d431fbdb5 Merge pull request #917 from MaxGabriel/yesodTest-deprecateNonces
Move yesod-test to using the term "token" instead of nonce.
2015-01-28 08:37:30 -08:00
Maximilian Tagher
e26f6f5fbe Update API documentation to take the nonce/token switchover into account. 2015-01-27 20:01:06 -08:00
Maximilian Tagher
94af9c6bdd Move yesod-test to using the term "token" instead of nonce.
Addresses part #1 of #914
2015-01-27 19:50:06 -08:00
Michael Snoyman
70b081af8d Merge pull request #916 from MaxGabriel/documentYesodTest
Document much of yesod-test, especially the "Making Requests" section
2015-01-27 10:11:43 -08:00
Maximilian Tagher
cb4785cf28 Document much of yesod-test, especially the "Making Requests" section 2015-01-25 15:20:25 -08:00
Michael Snoyman
2fb7cccf15 Version bump 2015-01-21 23:43:40 +02:00