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
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
87e0ab9835
Delete useless readme files.
2015-03-15 11:24:38 -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
73dcb5beb1
Add a few updates to documentation.
2015-02-22 22:27:45 -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
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
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
Aaron L
77cac7a486
Add module directories and readme.
2015-01-03 08:58:09 -08:00