Aaron L
5973fa9bd0
Make lock do what it's supposed to
...
Inverted the test data, which inverted the logic
2018-05-07 12:33:58 -07:00
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
de1c2ed081
Get tests working after latest refactors
...
- Change changelog format to use keepachangelog standard
- Refactor the config to be made of substructs to help organize all the
pieces
- Add the new interfaces to the configuration
- Clean up module loading (no unnecessary reflection to create new value)
- Change User interface to have a Get/SetPID not E-mail/Username, this
way we don't ever have to refer to one or the other, we just always
assume pid. In the case of Confirm/Recover we'll have to make a GetEmail
or there won't be a way for us to get the e-mail to send to.
- Delete the xsrf nonsense in the core
2018-02-01 15:42:48 -08:00
Aaron L
2b5c85ee16
Import path fixes
2017-07-30 19:42:05 -07:00
Aaron L
0c3d6d26ca
Remove gopkg.in
2016-12-19 22:47:12 -08:00
amygit
10351c2f11
Fix test for ctx.User.AttemptNumber fix
2016-11-30 10:32:57 -08: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 L
3d905f001f
Go vet fixes.
2015-03-16 14:51:44 -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
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
001810bf7c
Add PrimaryID to the system.
...
- Fix #17
2015-02-22 13:24:53 -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
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
Aaron
c74bb311b3
Fix lock test.
2015-02-16 11:32:31 -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
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