1
0
mirror of https://github.com/volatiletech/authboss.git synced 2024-12-12 10:45:11 +02:00
Commit Graph

204 Commits

Author SHA1 Message Date
Aaron
8a9736f664 Add ViewData concepts for layout files. 2015-02-01 15:51:01 -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
Aaron
58e2f1f355 Add a method to pick attributes from a context. 2015-01-28 00:32:53 -08:00
Aaron L
c1670a041f Add form value name for xsrf tokens. 2015-01-27 17:34:55 -08:00
Aaron
b3042339d0 Add XSRF support. 2015-01-27 02:11:19 -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
Aaron
042bdba669 First shot at the expire module. 2015-01-25 18:13:32 -08:00
Aaron
22efa3b740 Make mailer test a bit more inclusive. 2015-01-25 16:55:30 -08:00
Aaron
8ceeec5420 Fixed up e-mailing.
- Fix #13
2015-01-25 15:40:57 -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
65f7fad5fc Second shot at proper validation. 2015-01-24 16:07:41 -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
8f6f322c63 Add new internal mocks.
- Update remember to use new mocks.
2015-01-23 16:24:34 -08:00
Aaron
f537664fd9 Cleanup various sad things.
- Export ModuleAttrMeta so the modules can access it.
- Add a couple new events for later use.
- Fix a few compile errors.
- Prefix err constants with Err.
2015-01-23 15:56:24 -08:00
Kris Runzer
b60b667184 Add better validation error support
- Add map function for ErrorList
- Creat new events for recover
2015-01-20 22:41:31 -08:00
Kris Runzer
6c464e8701 Add missing views module files. 2015-01-18 16:00:09 -08:00
Aaron
efc834006a Add proper database/go casing. 2015-01-18 14:35:51 -08:00
Kris Runzer
934ddf5531 Move all html to internal packge views 2015-01-18 14:24:20 -08:00
Aaron
e4dfe30d02 Initial validate module. 2015-01-17 23:37:05 -08:00
Aaron
89875f7b68 Clean up mocks.
- Add CurrentUser method.
2015-01-17 02:42:42 -08:00
Kris Runzer
7841223f39 Made config global in authboss 2015-01-16 22:03:40 -08:00
Kris Runzer
339050a3ab Recover emailing WIP 2015-01-16 21:49:44 -08:00
Aaron
1073b36cce Add SaveUser for context.
- Add test coverage for context.go
2015-01-16 21:30:04 -08:00
Kris Runzer
a0bde30e3d Implement auth logout
- Add del to client storer interface
2015-01-15 16:04:33 -08:00
Kris Runzer
14272c8164 Changed remember and auth to work together. 2015-01-15 15:10:47 -08:00
Kris Runzer
716e7dd6ba Add response writer to client storer 2015-01-15 14:01:01 -08:00
Aaron
443f482b71 Fixed auth and auth tests.
- Added more error checking to remember module.
2015-01-15 13:24:12 -08:00
Aaron
0b66578b88 Add full-circle remember me test.
- Add more helpers to context.
2015-01-15 02:56:13 -08:00
Aaron
670c6f3b9f Add more to context.
- Add test coverage to various modules.
2015-01-14 19:18:45 -08:00
Aaron
d9bcf5326c Lowercase all identifiers used with storer. 2015-01-14 17:48:14 -08:00
Aaron
f51bce96c9 Just store the type itself. Go has reflection. 2015-01-14 16:07:15 -08:00
Aaron
de3fdaeacd Fix bad hg dependencies :D 2015-01-12 23:51:25 -08:00
Aaron
7f9fe3ec77 Add session and cookie concepts.
- Add tests for callbacks.
- Refactor callbacks into a keyed map.
2015-01-12 23:46:52 -08:00
Kris Runzer
59454bf909 Began work on recover module 2015-01-12 22:28:42 -08:00
Kris Runzer
cb39056695 Cleaned up auth module and tests 2015-01-12 21:08:52 -08:00
Kris Runzer
85c24fd393 Made things work with other things. 2015-01-10 23:12:40 -08:00
Aaron
a2ffe4f7c4 Add many new files and types.
- Add context.
- Add handler type.
- Add new storers for client storage and sessions.
- Add start of remember module.
2015-01-10 22:54:31 -08:00
Kris Runzer
ec00be1052 Removed logging 2015-01-10 22:50:15 -08:00
Kris Runzer
9c6ee5b637 Added auth endpoint POST 2015-01-10 22:49:06 -08:00
Kris Runzer
41670f72ff Fixed auth to work with root changes 2015-01-09 22:51:02 -08:00
Kris Runzer
edfdbf6012 file extension fix 2015-01-08 21:48:02 -08:00
Kris Runzer
3a76132da1 Aaron broke my world. 2015-01-07 23:45:41 -08:00
Kris Runzer
181ba4fb3a Removed tester 2015-01-07 22:53:29 -08:00
Aaron
11a0cabe5f Add unbind to pull data from a struct. 2015-01-07 11:39:12 -08:00
Aaron
92b3172a3e Add a lot of module related stuff.
- Leave a failing test to make hate not love.
2015-01-05 00:18:41 -08:00
Kris Runzer
a8a17318db Added styles to modules. Stylized login module. Added tester 2015-01-04 20:41:20 -08:00
Kris Runzer
3aecf510ad Added auth module view overriding 2015-01-04 14:50:34 -08:00
Kris Runzer
0f691e7607 started work on auth module. redefined how configuration is going to work and where core is going to reside 2015-01-04 10:33:53 -08:00
Aaron L
8ac986b99b Add some more infrastructure.
- Add module system.
- Add storer interface.
2015-01-03 12:03:57 -08:00