Aaron L
b9e2a62802
More changes
2017-02-20 16:08:19 -08:00
Aaron L
02e91bc0ad
More changes
2017-02-20 15:56:26 -08:00
Aaron L
f7db80e4e2
Prototyping
2017-02-20 14:28:38 -08:00
Aaron L
bc55489bc6
Remove unnecessary circle due to gopkg.in
2016-12-19 22:52:57 -08:00
Aaron L
0c3d6d26ca
Remove gopkg.in
2016-12-19 22:47:12 -08:00
Aaron L
7ccb973d79
Update readme with project information
2016-12-19 22:25:33 -08:00
Aaron L
2009133d45
Merge branch 'cortesi/modattrs'
2016-12-19 21:59:22 -08:00
Aldo Cortesi
efa77f5445
Authboss.moduleAttributes -> Authboss.ModuleAttributes
2016-12-20 08:34:19 +13:00
Aaron L
35e85950af
Merge pull request #106 from amygit/master
...
Fix test for ctx.User.AttemptNumber fix
2016-12-02 07:10:17 -08:00
amygit
5b3ceceb8c
Merge remote-tracking branch 'upstream/master'
2016-11-30 11:10:55 -08:00
amygit
10351c2f11
Fix test for ctx.User.AttemptNumber fix
2016-11-30 10:32:57 -08:00
Aaron L
a6e1ad1070
Merge pull request #104 from golliher/master
...
Added required handler for ListenAndServe
2016-11-29 22:17:57 -08:00
Aaron L
ad75d0a25a
Merge pull request #103 from amygit/master
...
AttemptNumber should be set to 1 when login fails again after the loc…
2016-11-29 22:11:33 -08:00
Aaron L
34666f0c63
Fix bash syntax error
2016-11-29 22:06:34 -08:00
Aaron L
2ad0b44760
Circle no longer does code coverage without token
2016-11-29 21:43:04 -08:00
Darrell Golliher
795e546534
Added space to comply with gofrm style guildlines
2016-11-28 21:36:29 -05:00
Darrell Golliher
baa27547a7
Added required handler for ListenAndServe
...
http.ListenAndServe requires two arguments, the second one can be nil,
but must be present. https://golang.org/pkg/net/http/#ListenAndServe
Omitting it, even in just documention code snippets like ths one,
might confuse people just learning (like myself).
2016-11-27 18:10:19 -05: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
Aaron L
ac25a98c72
Merge pull request #96 from ckeeney/documentation-fix
...
fix documented import path for Auth module
2016-10-10 22:18:43 -07:00
CJ Keeney
a86808a82b
fix documented import path for Auth module
2016-10-09 20:42:46 -07:00
Aaron L
4dcfef3469
Fix circle test running
2016-08-07 23:53:53 -07:00
Aaron L
7a7ca7c5c7
Add coverage and junit reporting for authboss
2016-07-30 15:16:45 -07:00
Aaron L
372a2bf73b
Revert "Merge pull request #88 from yargevad/ISSUE-87"
...
This reverts commit 3b11e039dc
, reversing
changes made to 586415a7db
.
This merge actually caused the tests to fail. After digging in I decided
that the documentation is good enough as a test on creation of Authboss
is not possible with the current API. And this being only in the
register module was kind of a code smell.
2016-07-30 09:53:45 -07:00
Aaron L
0b68954a4f
PWD in Circle file
2016-07-30 08:05:15 -07:00
Aaron L
68fe1406ee
Add circle file
2016-07-30 07:08:57 -07:00
Aaron L
2647017499
Merge pull request #88 from yargevad/ISSUE-87
...
require `SessionStoreMaker` and `CookieStoreMaker` at startup
2016-06-25 13:45:04 -07:00
Dave Gray
8996a36b05
require SessionStoreMaker
and CookieStoreMaker
at startup instead of panic
ing on the first hit
2016-06-21 23:36:00 -07:00
Aaron L
3e77b1fd27
Merge pull request #83 from buu700/master
...
Additional -Maker properties on Config for GAE support
2016-05-09 12:24:05 -07:00
Ryan Lester
96c55ccaaa
no DisableGoroutines (just check for -Maker); no ModuleNames; test fix
2016-05-09 13:20:10 -04:00
Ryan Lester
48f0e8a75a
Merge remote-tracking branch 'upstream/master'
2016-05-09 12:14:18 -04:00
Aaron L
e76838cc1e
Fix go vet errors
2016-05-08 12:37:02 -07:00
Ryan Lester
588c21260c
final App-Engine-related fixes
2016-05-07 02:12:20 -04:00
Ryan Lester
8b0f669869
more -Maker properties on Config
2016-05-03 21:14:24 -04:00
Aaron L
38660ece44
Merge pull request #81 from buu700/fix-gae-context
...
orian: Fix a problem with not getting the correct Context on App Engine
2016-02-23 23:09:38 -08:00
Ryan Lester
8655934e60
run gofmt
2016-02-23 21:28:43 -08:00
orian
231e4b2283
Fix a problem with not getting the correct Context when running on Google App Engine
2016-02-23 21:24:21 -08:00
orian
9cff57b284
add Facebook provider for oauth2
2016-02-23 21:24:20 -08:00
Kris Runzer
b519034670
Add query param to Register to allow for setting of primaryID
...
- Usefull when linking user to register page from email and you don't want
them to change their email
2015-10-28 14:20:22 -07: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 L
124b1aec46
Remove bad cookies in router
...
- When authboss routes are accessed it goes through a check to see if
they're logged in and if they need to actually visit this route. If
the user was not found (despite having a session cookie) it would 500,
and now it simply removes the bad cookie.
- Fix #75
2015-08-30 07:26:52 -07:00
Aaron L
c4eb529fd9
Merge branch 'context-request-separation'
2015-08-30 06:41:19 -07:00
Aaron
0ae4765ee3
Group constants.
2015-08-03 15:25:39 -07:00
Aaron
16200f8896
Merge remote-tracking branch 'orian/add-facebook-provider'
2015-08-03 15:22:34 -07:00
orian
280129a781
Fix names
2015-08-03 22:51:06 +02:00
orian
b63d1351f4
Merge branch 'master' into add-facebook-provider
...
Conflicts:
oauth2/oauth2_test.go
2015-08-03 22:39:57 +02:00
orian
f19128a804
add Facebook provider for oauth2
2015-08-03 22:35:43 +02:00
Aaron
325d9002f6
Remove redundant struct.
...
- Fix #71
2015-08-03 09:06:38 -07:00
Aaron L
be041cbae6
remember: Context+Request separation ripple
...
- Re-add the age-old "Values" from the Context. This was originally
there for exactly the documented purpose. However the Context holding
the request form values negated it's use. It's back because of this
new separation.
- Make the auth success path set the authboss.CookieRemember value in
the context before calling it's callback.
2015-08-02 14:02:14 -07:00
Aaron L
8691f3bca9
register: Context+Request separation ripple
2015-08-02 13:02:31 -07:00
Aaron L
15bbe59c7a
Remove validation from context.
...
- This is unnecessary now that request and context are more split up.
2015-08-02 13:00:16 -07:00