Commit Graph

75 Commits

Author SHA1 Message Date
patrick brisbin
ffd7f85587 Update licensing and package metadata
And commit .cabal file.
2021-03-01 10:44:56 -05:00
patrick brisbin
1d36cb346e Use modern packaging practices
- Move sources under src
- Use hpack via package.yaml
- Remove the network-uri flag
2017-12-14 08:20:16 -05:00
Stefan Dresselhaus
7ef60e6089 Add ExtensionSpec to other-modules 2017-12-14 08:20:16 -05:00
patrick brisbin
6f6dbcc74d Relax aeson and hoauth2 upper bounds 2017-12-14 08:20:16 -05:00
patrick brisbin
e9b7f78f78
Version bump 2017-11-27 08:57:47 -05:00
patrick brisbin
937ad572a3 Update to LTS-9.5 and hoauth2 1.3.0
The largest changes were around the hoauth2 interface:

The OAuth2 type replaced all of its ByteString fields with either Text
or URI. This is a huge improvement. The fields that are now Text are the
type we had them in anyway. The fields that are now URI are type safe
and easier to manipulate. For example, we were doing very unsafe query
string manipulations looking for raw ? or & values, but now we can work
with tuples in a well-typed property.

Additionally the AccessToken type was upgraded to OAuth2Token with an
accessToken field, and the simple Either ByteString a results were
replaced by a real OAuth2Error type. This required changes to our
InvalidProfileResponse mechanism to support.

To make working with uri-bytestring more convenient, an Extension
library was added with some useful instances and helper functions. This
library may be upstreamed at some point.
2017-10-18 17:21:47 -04:00
patrick brisbin
25e63cdcc2
Version bump 2017-08-03 14:43:35 -04:00
Vladimir Yanovsky
bed6d04384 Add Battle.Net plugin 2017-07-19 19:13:23 -04:00
Paul Rouse
d9ce2d334c Relax upper bounds on aeson and http-client 2017-07-17 11:54:26 -04:00
Joe Ferris
1dcbb2dbc1
Bump version 2016-08-26 11:16:44 -04:00
Stefan Parviainen
210264f3e2 Add Bitbucket plugin 2016-08-26 11:10:18 -04:00
Ruslan Babayev
e3b94912f1 add Salesforce plugin
Signed-off-by: Ruslan Babayev <ruslan@babayev.com>
2016-07-27 17:05:29 -07:00
patrick brisbin
491fc566ef
Version bump 2016-07-06 18:36:16 -04:00
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
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
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
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
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
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
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
patrick brisbin
43d15d8478
Version bump 2015-08-12 09:11:33 -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
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
Santiago Saavedra
192dde89af Add Google OAuth provider 2015-06-07 18:23:33 +02:00
patrick brisbin
e10589a954
Version bump 2015-04-13 17:50:03 -04:00
patrick brisbin
5c5f94dba4
Add Twitter 2015-04-13 17:10:11 -04:00
patrick brisbin
c6fbb15a20
0.1.0 bump, cabal file fixes 2015-04-08 11:19:25 -04:00
patrick brisbin
ad0e354b2b
Support GHC 7.10
- Conditionally import Control.Applicative
- Enable FlexibleContexts
2015-04-07 12:56:43 -04:00
patrick brisbin
44a83b6c6a
Remove implicit support for GHC 7.4
- Transitive dependency iproute will not build on 7.4.1
2015-04-07 12:56:04 -04:00
patrick brisbin
fcba0b405a
Remove support for GHC 6
- This was behind a default-true flag
- We have no conditionals internally
2015-04-07 12:56:04 -04:00
patrick brisbin
029122f662
Learn rebranded as Upcase 2015-03-24 17:56:59 -04:00
patrick brisbin
085538be7b
Remove Yesod.Auth.OAuth2.Google.hs
This functionality is available in yesod-auth, in the
Yesod.Auth.GoogleEmail2 module.

Resolves #18
2015-03-24 17:53:17 -04:00
jprider63
bc320b1397
Move state token handling generic oauth2Plugin
Resolves #23
2015-03-24 17:26:35 -04:00
patrick brisbin
d840af3501
Version bump 2015-01-07 14:03:50 -05:00
Michael Snoyman
9524778ae7 Allow transformers 0.4 2015-01-07 17:56:02 +02:00