Aaron L
792f7381fd
Change the form of Middleware functions
...
- Make this change to make it a bit more chi/alice friendly
since this is typically the form of middlewares to be constructed
and then turn into a "middleware" function/type.
2018-03-07 13:01:35 -08:00
Aaron L
9ef2a06dcb
Rewrite the lock module
...
- Add lock module pieces to those that needed it (mocks/user)
2018-02-27 21:20:55 -08:00
Aaron L
ad5230a303
Bring back events
...
- Rename callbacks -> events
- Regenerate stringers.go with later version of stringer
2018-02-01 16:31:08 -08:00
Aaron L
2b5c85ee16
Import path fixes
2017-07-30 19:42:05 -07:00
Aaron L
f65d9f6bb6
Fix errors package
...
- Fix many compilation errors
2017-02-21 15:04:30 -08:00
Aaron L
0c3d6d26ca
Remove gopkg.in
2016-12-19 22:47:12 -08:00
amygit
647aa61090
AttemptNumber should be set to 1 when login fails again after the lock windown is passed
2016-11-18 16:09:22 -08:00
Ryan Lester
96c55ccaaa
no DisableGoroutines (just check for -Maker); no ModuleNames; test fix
2016-05-09 13:20:10 -04: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
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
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
fc0ec60a4f
Make the lock module respect lock duration.
2015-03-15 08:38:50 -07:00
Aaron
0754b965b1
Update config documentation.
...
- Fix #47 : Remove ModuleAttrMeta from Storers. Rename to ModuleAttributes.
- Add some additional deafult values to config.
2015-03-15 08:31:48 -07:00
Kris Runzer
40154b2749
Update binding/unbinding to support Null* values with SQL drivers
...
- Changed to int64 across the board
2015-03-03 23:18:24 -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
Aaron
4eeb21e16d
Fix the remember module.
2015-02-22 12:55:09 -08:00
Aaron
bab0da8575
Fix lock module.
2015-02-22 12:43:28 -08:00
Aaron
6a4feaa2ea
Add authboss error types.
...
- Add error handling at the routing level so that all errors can bubble
up and be handled and logged there in one place.
- Add Err variants for ClientStorer and Attributes to facilitate
generating errors for missing type-failing arguments.
- Add better control flow and error handling for callbacks.
2015-02-19 14:46:38 -08:00
Aaron
679798564f
Fix test breakages from new saving stuff.
2015-02-18 08:57:50 -08:00
Aaron
d050610129
Rename UserXXX to StoreXXX in lock module.
2015-02-16 13:31:26 -08:00
Kris Runzer
bab1475b72
Change config to be global. Updated most modules and tests.
2015-02-15 20:07:36 -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
Aaron
f0552cd8c6
Add lock tests.
...
- Fix some logic errors in lock module.
- Add some more power to the mocks.
2015-01-24 22:19:22 -08:00
Aaron
fe7b990095
Add beginnings of lock package.
...
- Adjust configuration for some lock variables and better XML Names.
2015-01-23 16:25:12 -08:00