Kris Runzer
a297274469
I need to learn how to git add... add missing tests.
2015-06-04 13:46:42 -07:00
Kris Runzer
61a344b75a
Added missing line. Sublime text save ftw.
2015-04-21 08:14:53 -07:00
Kris Runzer
f928282dec
Remove password repopulation on recover complete.
2015-04-21 08:12:41 -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 L
99d0af8b72
Destroy a list of go lint errors.
2015-03-16 14:42:45 -07:00
Aaron
87e0ab9835
Delete useless readme files.
2015-03-15 11:24:38 -07:00
Aaron
f93fb38181
Change documentation a little bit, and fix one bug.
2015-03-15 08:06:08 -07:00
Aaron L
06edd2e615
Make OAuth2 implementation less shoddy.
...
- Add a new storer specifically for OAuth2 to enable clients to choose
regular database storing OR Oauth2 but not have to have both.
- Stop storing OAuth2 credentials in a combined form inside username.
- Add new events to capture OAuth events just like auth.
- Have pass-through parameters for OAuth init urls, this allows us to
pass additional behavior options (redirects and remember me) as well
as other things that should be present on the page that is redirected
to.
- Context.LoadUser is now OAuth aware.
- Remember's callbacks now include an OAuth check to see if a horribly
packed state variable contains a flag to say that we want to be
remembered.
- Change the OAuth2 Callback to use Attributes instead of that custom
struct to allow people to append whatever attributes they want into
the user that will be saved.
2015-03-13 16:29:58 -07:00
Aaron
dccabb0754
Rename HostName to RootURL
2015-03-12 19:20:28 -07:00
Kris Runzer
bb1bae6778
Test recoverComplete handlerFunc
2015-03-07 20:46:37 -08:00
Kris Runzer
e784e79fb5
Fixed recover email urls
2015-03-07 19:45:48 -08:00
Aaron L
aaf9c71f3c
Add new PasswordReset event.
...
- Make remember clear it's tokens on password reset.
- Fix #14
2015-03-05 20:06:44 -08:00
Kris Runzer
7ff35efe54
Split emails to have seperate HTML and Text layouts.
2015-03-03 11:23:49 -08:00
Kris Runzer
57797a703b
Proper naming of all templates. Rebuild bindata.
2015-02-26 12:52:45 -08:00
Kris Runzer
60620361c8
Testing WIP
2015-02-26 12:34:05 -08:00
Aaron
fa3cd5ef4f
Fix confirm fields.
2015-02-25 23:20:02 -08:00
Aaron
bf0a8b098c
Add mountedpath so forms work on mounted paths.
...
- Refactor naming for config "redirect" variables.
- Removed flash messages from config, Fix #19
2015-02-25 23:05:14 -08:00
Kris Runzer
1ad9351b8c
Recover now builds. Start adding tests.
2015-02-25 10:23:18 -08:00
Kris Runzer
0928720a3f
Add new auth testing and tempaltes
2015-02-24 15:02:11 -08:00
Aaron
c723f46a3e
Refactor storers into modules.
2015-02-24 11:04:27 -08:00
Kris Runzer
468113a398
Working auth and recover
2015-02-24 10:12:23 -08:00
Kris Runzer
199d0ec0b3
Rework recover
2015-02-23 16:01:56 -08:00
Aaron
73dcb5beb1
Add a few updates to documentation.
2015-02-22 22:27:45 -08:00
Aaron
679798564f
Fix test breakages from new saving stuff.
2015-02-18 08:57:50 -08:00
Aaron
9f4cde2934
Clean up save/load user on context.
...
- Fix #16
2015-02-18 08:45:27 -08:00
Kris Runzer
f7e1ff2c8c
Add XSRF to all forms.
2015-02-15 21:39:18 -08:00
Kris Runzer
bab1475b72
Change config to be global. Updated most modules and tests.
2015-02-15 20:07:36 -08:00
Kris Runzer
1aa0da808c
Move duplicate testing mocks to internal/mocks
...
- Add force err ability to internal/mocks
2015-02-11 16:38:09 -08:00
Kris Runzer
db6738cb23
Split giant Recover files
2015-02-11 13:44:36 -08:00
Kris Runzer
dbf726b1e1
Finish recover module reworking
2015-02-10 23:03:02 -08:00
Kris Runzer
57c9282cbd
First part of recover module reworking
2015-02-08 23:12:29 -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
Kris Runzer
c52f90b0a9
WIP commit
2015-02-05 10:31:32 -08:00
Kris Runzer
2b043b78fa
More work on cleaning up recover
...
- Add email layouts
2015-02-01 14:17:18 -08:00
Kris Runzer
4b1ce859fb
Reworking recover module
2015-01-31 22:51:00 -08:00
Kris Runzer
e660edd428
Safety commit
...
- Add new validation methods
- Cleaned up interactions with validation
- Add required validation
- Add confirm fields to validation
2015-01-25 23:02:43 -08:00
Kris Runzer
934ddf5531
Move all html to internal packge views
2015-01-18 14:24:20 -08:00
Kris Runzer
339050a3ab
Recover emailing WIP
2015-01-16 21:49:44 -08:00
Kris Runzer
59454bf909
Began work on recover module
2015-01-12 22:28:42 -08:00
Aaron L
77cac7a486
Add module directories and readme.
2015-01-03 08:58:09 -08:00