1
0
mirror of https://github.com/volatiletech/authboss.git synced 2025-02-07 13:41:55 +02:00

494 Commits

Author SHA1 Message Date
Aaron L
34666f0c63 Fix bash syntax error 2016-11-29 22:06:34 -08:00
Aaron L
c76295c0b4 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
Aaron L
32ed401d14 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
9a27987700 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
Darrell Golliher
b6b20653d3 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
amygit
75a82c4a51 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
Aaron L
4835af15f9 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
CJ Keeney
7157885af5 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
958f5f1fe1 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
83c72ea507 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 3b11e039dc802bfc865cd2e515583e9b0911aaf0, reversing
changes made to 586415a7db9d2b1538cd2c05ca2dbbce0ee9cc62.

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
414619c872 Revert "Merge pull request #88 from yargevad/ISSUE-87"
This reverts commit 3b11e039dc802bfc865cd2e515583e9b0911aaf0, reversing
changes made to 586415a7db9d2b1538cd2c05ca2dbbce0ee9cc62.

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
0eb56c1de5 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
c808c67e07 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
Aaron L
3b11e039dc 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 panicing on the first hit 2016-06-21 23:36:00 -07:00
Dave Gray
c2e185a9b8 require SessionStoreMaker and CookieStoreMaker at startup instead of panicing 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
Aaron L
586415a7db 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
3fc0ed564b 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
Ryan Lester
ec9c25e64f 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
Aaron L
4ee00c6dc6 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
8ed6deac08 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
Ryan Lester
2357e0679d 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
Aaron L
45dedd0c2d 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