Commit Graph

3946 Commits

Author SHA1 Message Date
Eric Easley
56c19a2cd3 Add hook to apply arbitrary function to all handlers 2015-12-09 11:29:13 -08:00
Greg Weber
b271978ccf Merge pull request #1105 from bitemyapp/master
JSON-specific sendResponseStatus
2015-12-07 16:04:07 -08:00
Greg Weber
2ecfec1b9a Merge pull request #1116 from lethjakman/auth_demo
Added an example with email auth and an ses mailer
2015-12-07 15:13:36 -08:00
Michael Snoyman
5c6a20d6c0 Merge pull request #1119 from mrkkrp/master
Fix a typo in Russian translation of form messages
2015-12-07 12:26:40 +02:00
mrkkrp
b8949f4970 Fix a typo in Russian translation of form messages 2015-12-07 15:54:40 +06:00
Michael Snoyman
1fb697ff0d Add a workaround for yesodweb/wai#478 2015-12-06 13:29:17 +02:00
Michael Snoyman
288c457cfa Version bump for yesodweb/yesod-scaffold#114 2015-12-06 12:55:59 +02:00
Michael Snoyman
32dbad23d3 s/127.0.0.1/localhost yesodweb/yesod-scaffold#114 2015-12-06 12:55:16 +02:00
Michael Snoyman
af00b76a18 Set X-Forwarded-Proto correctly yesodweb/yesod-scaffold#114 2015-12-06 12:54:36 +02:00
Alex Kardos
5ca0dd7468 Added an example with email auth and an ses mailer
This should help beginners get started with email authentication and
utilize Amazon SES for reliable mailing instead of sendmail because
sendmail is inherently unreliable with consumer based IP addresses.

Points of interest:
* Pulls SES authentication details from config/secrets.yaml to keep the
  secrets out of the source code
* Needs the from email address to be confirmed with Amazon SES
2015-12-05 20:21:38 -07:00
Michael Snoyman
de3818784a getApprootText 2015-12-04 14:40:50 +02:00
Michael Snoyman
ae04cca639 Merge pull request #1112 from mrkkrp/minor-auth-tweaks
Minor auth tweaks
2015-12-03 23:19:20 +02:00
Michael Snoyman
adc802d644 Version bump 2015-12-03 22:59:52 +02:00
Michael Snoyman
3dbf4b6fad Update changelog 2015-12-03 20:55:37 +02:00
mrkkrp
1976e90be9 Bump password strength to compensate 2 years
Computers are now faster than in 2013.
2015-12-03 00:08:51 +06:00
mrkkrp
2431100c8b Fix a typo 2015-12-03 00:08:40 +06:00
Greg Weber
dae434aa64 release Yesod.Auth.HardCoded 2015-11-29 17:27:41 -08:00
Greg Weber
f62dc646fc Merge pull request #1104 from geraldus/auth-hardcoded
Simple auth plugin for hardcoded auth entities
2015-11-29 17:22:21 -08:00
Arthur Fayzrakhmanov (Артур Файзрахманов)
4f2f49b5ee Update documention
More concrete module documentation.  Now it shows a way to combine
'AuthHardcoded' plugin with other plugins.

Fixed some typos.
2015-11-29 22:12:40 +05:00
Arthur Fayzrakhmanov (Артур Файзрахманов)
f524ce55ea Bump minor version of yesod-auth 2015-11-29 22:12:40 +05:00
Arthur Fayzrakhmanov (Артур Файзрахманов)
b024a7a540 Add module documentation 2015-11-29 22:12:40 +05:00
Arthur Fayzrakhmanov (Артур Файзрахманов)
9fbc3bc082 Initial module implementation 2015-11-29 22:12:40 +05:00
Chris Allen
ae1015b628 shorter name 2015-11-25 23:01:49 -06:00
Chris Allen
6a60dac366 JSON-specific sendResponseStatus 2015-11-25 14:49:53 -06:00
Greg Weber
77c614fa86 Merge pull request #1103 from yesodweb/travis-with-stack
Travis with stack
2015-11-24 09:04:47 -08:00
Michael Snoyman
2bce53a682 Add wai-app-static extra-dep 2015-11-24 12:27:44 +02:00
Michael Snoyman
bd5943135e Travis: switch to Stack (to avoid the file not found errors from cabal) 2015-11-24 11:22:50 +02:00
Michael Snoyman
8f19c63dec Merge pull request #1102 from geraldus/geraldus/translation-hotfix
Fix Czech UserName message
2015-11-24 10:36:30 +02:00
Arthur Fayzrakhmanov (Артур Файзрахманов)
ec3ec15a80 Fix Czech UserName message
Convert word "jméno" to lowercase.
See comment from
[`lubomir`](https://github.com/yesodweb/yesod/pull/1100#commitcomment-14580304)
2015-11-24 13:34:13 +05:00
Michael Snoyman
4c448e0346 Precompiled cabal-meta 2015-11-24 04:42:34 +02:00
Michael Snoyman
c19d9d4596 Merge pull request #1100 from geraldus/username-constructor
Add UserName message constructor
2015-11-24 03:32:43 +02:00
Arthur Fayzrakhmanov (Артур Файзрахманов)
a6494bf788 Bump minor version 2015-11-24 02:19:04 +05:00
Arthur Fayzrakhmanov (Артур Файзрахманов)
97d8bbba06 Introduce LogoutTitle message constructor
`LogoutTitle` is a replacement for `Logout` constructor, the latter is
inconsistent with `LoginTitle` constructor name.
Added `DEPRECATED` pragma to warn users about this change.
2015-11-24 02:15:03 +05:00
Arthur Fayzrakhmanov (Артур Файзрахманов)
45c0b44142 Update Travis build instructions
Follow "S3 Hackage mirror for Travis
builds" (http://www.yesodweb.com/blog/2015/07/s3-hackage-mirror-travis)
suggestions.
2015-11-23 17:10:13 +05:00
Arthur Fayzrakhmanov (Артур Файзрахманов)
11bedecdc0 Prettify imports (via Stylish Haskell) 2015-11-23 16:41:09 +05:00
Arthur Fayzrakhmanov (Артур Файзрахманов)
d1e92af79e Add UserName message constructor 2015-11-23 16:40:47 +05:00
Arthur Fayzrakhmanov (Артур Файзрахманов)
311f949f0e Extract "in"/"out" suffixes in Login/Logout words
Split "Login" and "Logout" words into two parts, e.g. "Log In" and "Log
Out".
2015-11-23 16:14:40 +05:00
Felipe Lessa
5e2fa9af82 Merge pull request #1099 from DaveCTurner/issue-1099
Have clientSessionDateCacher use auto-update
2015-11-13 13:49:45 -02:00
David Turner
badabaa1ca Update comment 2015-11-13 15:15:04 +00:00
David Turner
b9b2d0d609 Use AutoUpdate for session expiry date too 2015-11-13 13:40:19 +00:00
Michael Snoyman
6d0affcce7 Merge pull request #1095 from yesodweb/add_functor_instance_for_option
Add Functor instance for Option and OptionList
2015-10-27 20:46:49 +02:00
Greg Weber
7b19951f9a Merge pull request #1094 from paul-rouse/master
Example loginHandler override in haddock
2015-10-27 08:51:22 -07:00
Andrew Martin
a2f4cc41fd Add Functor instance for Option and OptionList 2015-10-27 11:28:40 -04:00
Paul Rouse
276e687ac5 Example loginHandler override in haddock 2015-10-27 11:50:27 +00:00
Greg Weber
3e84348aab Merge pull request #1091 from paul-rouse/master
Provide default loginHandler as separate function
2015-10-21 07:03:06 -07:00
Paul Rouse
a25153d86e Provide default loginHandler as separate function 2015-10-21 12:27:59 +01:00
Michael Snoyman
b51b57d445 Modify version bump for #1089 2015-10-20 05:28:06 +00:00
Andrew Martin
e22b81793e Add instance documentation and bump version number 2015-10-19 12:33:30 -04:00
Andrew Martin
a225d3d680 Add Foldable and Traversable instances for FormResult 2015-10-19 09:35:03 -04:00
Michael Snoyman
bc09ac2550 Merge pull request #1086 from paul-rouse/master
Add guessApprootOr function
2015-10-13 17:27:15 +03:00