Ryan Lester
48f0e8a75a
Merge remote-tracking branch 'upstream/master'
2016-05-09 12:14:18 -04:00
Aaron L
e76838cc1e
Fix go vet errors
2016-05-08 12:37:02 -07:00
Ryan Lester
588c21260c
final App-Engine-related fixes
2016-05-07 02:12:20 -04:00
Aaron L
b09e4831b6
Fix an issue where user is db fetched twice
...
- Fix #79
- Rename event EventGet to EventGetUser
- Remove double DB fetch
- Add new event callpoint: After(EventGetUser) for things that need to
check that the user is ABLE to be gotten after it's fetched from the
DB. That is before returning to the web app, ensure that the user is
valid from a confirmation/lock etc point of view.
- Add test to make sure all the events are firing in CurrentUser()
2015-09-21 20:53:51 -07:00
Aaron L
905e9bfcb4
confirm: Context-Request separation ripple
2015-08-02 11:55:39 -07:00
Aaron
c98ef93e06
Fix modules after refactor.
2015-04-01 13:08:08 -07:00
Aaron
f12f10fa43
Stop reliance on global scope.
...
- This change was necessary because multi-tenancy sites could not use
authboss properly.
2015-03-31 12:34:03 -07:00
Kris Runzer
5bdcddd9da
Rename internal/render to internal/response
2015-03-28 09:08:05 -07:00
Kris Runzer
db1eb3a9a8
Add redir override. All redirects now occur through render.Redirect
2015-03-28 08:53:32 -07:00
Aaron
1c275a132a
Make storage requirements more consistent.
...
- Fix #44
2015-03-27 09:35:54 -07:00
Aaron L
99d0af8b72
Destroy a list of go lint errors.
2015-03-16 14:42:45 -07:00
Aaron
e14efb13b7
Make confirm redirect to a sane path.
2015-03-15 11:56:15 -07:00
Aaron
f93fb38181
Change documentation a little bit, and fix one bug.
2015-03-15 08:06:08 -07:00
Aaron
dccabb0754
Rename HostName to RootURL
2015-03-12 19:20:28 -07:00
Kris Runzer
7ff35efe54
Split emails to have seperate HTML and Text layouts.
2015-03-03 11:23:49 -08:00
Kris Runzer
a7a67981ce
Move create from Storer to RegisterStorer
...
- Fixed the qq tests
- Removed all module singletons
2015-03-01 20:00:19 -08:00
Kris Runzer
c8e2058440
Fix flash message clearing
...
- Fix token emailing bug with confirm (l2base64)
2015-02-26 22:01:53 -08:00
Aaron
b93e0e6eb1
Add callback from confirm to BeforeAuth
...
- Allow missing struct attributes to go unnoticed in Bind()
2015-02-26 12:15:33 -08:00
Aaron
1075149bb8
Add router tests.
...
- Rename Endpoint to Location in ErrAndRedirect
2015-02-24 14:45:37 -08:00
Aaron
c723f46a3e
Refactor storers into modules.
2015-02-24 11:04:27 -08:00
Aaron
94f441f3d7
Fix confirm module.
2015-02-22 00:09:52 -08:00
Aaron
679798564f
Fix test breakages from new saving stuff.
2015-02-18 08:57:50 -08:00
Aaron
dee6a42a68
Finish tests for confirm.
...
- Rename UserXXX to StoreXXX in confirm/authboss.
2015-02-16 13:27:29 -08:00
Kris Runzer
d0dd19689b
Fix confirm module to use global config
2015-02-15 20:35:32 -08:00
Aaron
127ef8ea17
Fix confirm's initial test.
...
- Add e-mail templates for confirm.
2015-02-15 20:21:39 -08:00
Aaron
a91a7ef162
Finish confirm module (except tests).
2015-02-15 20:21:38 -08:00
Aaron
d86fac49ac
Add confirm module beginnings.
...
- Fix some inconsistencies in expire and lock.
- Add bool type to storer.
2015-02-07 04:27:12 -08:00