Josh Steiner
535a4a75d7
Bump to version 0.2.0
2016-07-01 11:10:15 -04:00
Joe Ferris
aad8bd88ea
Sign in with Slack
...
https://api.slack.com/docs/sign-in-with-slack
2016-07-01 11:00:14 -04:00
patrick brisbin
e6888e210e
Bump to version 0.1.10
2016-06-24 11:44:05 -04:00
Andrew Darqui
64b65ca4c6
Properly handle empty credsExtra fields
...
Marks "location" as Maybe in GitHub responses. Without this, users could
experience an InvalidProfileResponse error when missing.
Also fixes cases where fields were Maybe, but the (.:?) combinator was
not being used in the parser.
2016-06-24 11:41:08 -04:00
Joe Ferris
3f204a9ae3
Bump to version 0.1.9
2016-06-09 09:00:58 -04:00
Paul Rouse
120104b534
Relax bound on transformers for GHC 8
2016-06-09 09:00:36 -04:00
Joe Ferris
45e74cd258
Bump version
2016-03-21 14:15:14 -04:00
Kostiantyn Rybnikov
6e940b19e2
Allow aeson 0.11
2016-03-21 18:29:22 +02:00
patrick brisbin
1f23fbf85d
Version bump
2016-02-10 09:54:38 -05:00
patrick brisbin
1d87247537
Add example application
2016-02-10 09:50:51 -05:00
patrick brisbin
f412b7c8f2
Include public_email key in credsExtra for Github
2016-02-10 09:49:57 -05:00
patrick brisbin
29b4a7f4e7
Remove Twitter module
...
- Twitter does not support OAuth 2[1]
The motivating issue was created without realizing this (it is a bit
surprising), and the module that was committed doesn't appear to work.
- For OAuth 1, support[2] already exists
Fixes #25
[1]: https://twittercommunity.com/t/oauth-2-0-support/253
[2]: http://hackage.haskell.org/package/yesod-auth-oauth-1.4.0.2/docs/Yesod-Auth-OAuth.html
2016-02-07 10:37:03 -05:00
silky
631d9a3ca1
Use primary email as email, if one is set.
...
If we couldn't find a primary email, then use the first email returned from
the list. This fixes #51 .
2016-01-26 16:50:19 -05:00
patrick brisbin
2e5ebbb917
Version bump
2016-01-08 14:50:41 -05:00
patrick brisbin
9fcf00f57e
Relax upper bounds so we are stack-compatible
...
- aeson-0.10
- hoauth2-0.5
- http-types-0.9
Fixes #48
2016-01-08 14:18:57 -05:00
silky
c2794f4040
Add user location
...
Fixes #49 .
2016-01-04 12:34:35 -05:00
patrick brisbin
4317119944
Replace Travis with Circle
...
We do lose some coverage here. Rather than confirming we build across a
slew of GHC versions, the sdist succeeds, etc, we just run the test
suite against the Stackage snapshot configured. Stackage snapshots is
the direction Haskell is moving, so I think this is an acceptable
simplification.
2016-01-03 10:39:26 -05:00
patrick brisbin
51061fa148
Add stack support
...
Required upping the cabal lower-bound, which is, I think,
un-controversial since 1.8 is still pretty low.
2016-01-03 10:37:52 -05:00
patrick brisbin
3c24e0ff07
Add basic testing infrastructure
...
What sort of tests we'll be able to add is yet to be figured out, but
this at least puts a no-op, hspec-based testing target in place.
2016-01-03 10:36:52 -05:00
silky
7354c36e13
Nicer error message when 'code' field missing
...
Fixes #42
2015-12-07 14:06:58 -05:00
silky
6c16a7458d
Fix source repo link
2015-12-07 14:02:43 -05:00
patrick brisbin
bdc81341e5
Version bump
2015-12-05 00:52:23 -05:00
patrick brisbin
ad561a09d6
Append the state query parameter correctly
...
If the endpoint URL doesn't yet have any query parameters, this code
would construct an invalid URL by appending `&state=` rather than
`?state=`. We now correctly append `?state=` or `&state=` depending on
the URL already containing a `?` character.
Fixes #44
This is a "good enough" solution for the moment, done for ease of
implementation and speed of delivery. An eventual better solution would
be to use a URL-parsing and constructing library to parse the existing
endpoint, append parameter tuples, and re-construct a new URL.
Restructuring the data types so we start handling real URL and
QueryParam values instead of ByteStrings would also be an option, though
we're a little cornered by the Yesod.Auth.OAuth interface.
2015-11-28 11:42:05 -05:00
patrick brisbin
4afaba6645
Version bump
2015-10-06 23:49:17 -04:00
patrick brisbin
5784f724ba
Bump upper bound on vector to <11
...
Fixes #40
2015-10-02 21:04:56 -04:00
Brian Schroeder
d3c60bf47c
Switch to newer Nylas API endpoint
2015-08-20 15:32:32 -04:00
patrick brisbin
43d15d8478
Version bump
2015-08-12 09:11:33 -04:00
Brian Schroeder
8af444ddb2
Rearrange argument order
2015-08-12 09:08:41 -04:00
Brian Schroeder
62e4260f5c
Wrap lines to 80 characters
2015-08-12 09:08:41 -04:00
Brian Schroeder
815d443464
Implement Nylas provider
2015-08-12 09:08:41 -04:00
Luke Randall
ab71e1be4e
Bump upper bounds on aeson
2015-08-12 11:07:15 +02:00
pat brisbin
a4f9dc91f5
Merge pull request #34 from thoughtbot/pb-fixes
...
Prep for release after Eve Online merge
2015-07-22 12:03:19 -04:00
Stefan Dresselhaus
a6fc5ab03d
Add charId to credsExtra
2015-07-22 12:02:15 -04:00
Stefan Dresselhaus
5dcfbea1a0
Add accessToken to credsExtra
2015-07-22 12:02:01 -04:00
patrick brisbin
f3a74cd4b6
Entirely remove unused fields
2015-07-01 11:46:48 -04:00
patrick brisbin
a8396dddf0
Fixes to EveOnline plugin
...
- Fix invalid data declaration
- Fix -Wall compilation warnings
- Unused imports
- Unused functions
- Unused arguments
- Shadowed function name
- Incorporate plain link into WidgetType, remove Maybe
- Use only one function, always accept WidgetType
2015-06-29 10:44:11 -04:00
patrick brisbin
a3d8a6cdd5
Add/fix documentation, change argument order
...
- Document the difference between widget and non-widget functions
- Pass the widget as the first argument to take advantage of partial
application
2015-06-29 10:42:11 -04:00
pat brisbin
023759cebb
Merge pull request #33 from Drezil/master
...
Added EVE-Online SSO, support custom login widgets
2015-06-29 10:10:55 -04:00
Stefan Dresselhaus
ce98f1ba4e
got rid of maybe
2015-06-28 18:16:02 +02:00
Stefan Dresselhaus
77db081d6c
changed image-display to widget-display
2015-06-28 18:00:18 +02:00
Stefan Dresselhaus
abd11594d2
indentation to match standards
2015-06-28 17:26:27 +02:00
Stefan Dresselhaus
345bc3e0b0
reverted version bump, removed dependency on time
2015-06-28 17:17:21 +02:00
Stefan Dresselhaus
38ad5b66a8
fixed messup in .cabal
2015-06-28 00:28:51 +02:00
Stefan Dresselhaus
b9d9b51a6c
Added EVE-Online SSO and made it possible for plugins to use images instead of text-links to login
2015-06-28 00:22:14 +02:00
patrick brisbin
7613eb5297
Version bump
2015-06-25 17:47:43 -04:00
patrick brisbin
6e904f1be3
Tweak whitespace and alignment
2015-06-25 16:00:43 -04:00
patrick brisbin
c54b2c7ba1
Update haddocks for Google module
2015-06-25 16:00:30 -04:00
pat brisbin
b2e698db06
Merge pull request #32 from ssaavedra/master
...
Add Google OAuth provider
2015-06-25 15:27:14 -04:00
Santiago Saavedra
8fa938d7ea
Allow email to be used as an identifier of this module
2015-06-23 20:28:18 +02:00
Santiago Saavedra
1e40d18a09
Fix a linting warning
2015-06-09 17:04:23 +02:00