Commit Graph

437 Commits

Author SHA1 Message Date
patrick brisbin
f46d3bc956 Tweak CI environment variables
- Always use STACK_YAML, because we sometimes do
- Pass --no-terminal for better output
2018-09-11 08:00:30 -04:00
patrick brisbin
a8687be4f0 Build haskell-src-exts single-threaded first
Letting all dependencies build at once can lead to out of memory on CI.
2018-09-11 08:00:30 -04:00
patrick brisbin
fbbf455678
Version bump 2018-07-30 11:50:24 -04:00
patrick brisbin
6d0077a534 Deprecate improperly-cased Github module 2018-07-30 11:46:02 -04:00
patrick brisbin
c86fa6de13 Create properly-named GitHub module 2018-07-30 11:46:02 -04:00
patrick brisbin
44c05d7a2d Store refreshToken in credsExtra, if available 2018-07-30 09:10:37 -04:00
patrick brisbin
d9eeb787d6 Make comments clearer 2018-07-30 09:10:37 -04:00
patrick brisbin
dacc71f008 Add GitLab support 2018-07-29 09:45:00 -04:00
patrick brisbin
9142acd1ab Configure non-latest CI build via STACK_YAML
So weeder will respect it as well.
2018-07-29 09:07:19 -04:00
patrick brisbin
555b91f953 Use STACK_ARGUMENTS in make lint 2018-07-29 09:07:19 -04:00
patrick brisbin
262267dcba Configure nightly to build nightly 2018-07-29 09:07:19 -04:00
patrick brisbin
a83bd6a2d5 Update default stack resolver 2018-07-29 09:07:19 -04:00
patrick brisbin
cd0ea5d855 Update nightly stack settings 2018-07-29 09:07:19 -04:00
patrick brisbin
aeaf7f7eac Add an 8.4 build 2018-07-29 09:07:19 -04:00
patrick brisbin
408aa7eb02 Update resolver for 8.2 build 2018-07-29 09:07:19 -04:00
patrick brisbin
04fad28c20 Drop disable 8.0.2 build 2018-07-29 09:07:19 -04:00
patrick brisbin
6f55384a29
Version bump 2018-04-21 10:51:23 -04:00
patrick brisbin
c454dfbd24 Add another missing nightly dep 2018-04-21 10:49:05 -04:00
patrick brisbin
dabed9cf71 Fix stack-nightly.yaml 2018-04-21 10:49:05 -04:00
patrick brisbin
d65d0b7386 Use lts-11.5 for 8.2 job
This is same GHC version, but newer other packages, which we need after
updating for yesod-1.6. The 11.5 yaml is equivalent to stack.yaml, but
we'll keep it distinct for when we update our default development
resolver.
2018-04-21 10:49:05 -04:00
patrick brisbin
4849477e99 Re-enable nightly on CI 2018-04-21 10:49:05 -04:00
patrick brisbin
573b7b01a3 Disable 8.0.2 CI job
I just can't get the older LTS to solve after updating for yesod-1.6. I
will not in the CHANGELOG that, from this point, it may work on that
version, but we aren't explicitly testing it anymore.

8.4 is about to release, so it seems OK to start phasing out anyway, if
we're following a reasonable "current and one back" policy.
2018-04-21 10:49:05 -04:00
patrick brisbin
e7b270110c Further configure 8.2.2 build 2018-04-21 10:49:05 -04:00
patrick brisbin
4817021631 Add newer deps to 8.0.2 build 2018-04-21 10:49:05 -04:00
patrick brisbin
9c8dd98b3d Fixup example 2018-04-21 10:49:05 -04:00
patrick brisbin
98ef5f9aae Update LTS and dependencies
- Latest LTS-11.5
- Allow hoauth2-1.7, needs to be extra-dep though
- Support *and require* yesod-1.6

  This required:

  - Less lifts
  - HandlerFor, WidgetFor, etc
  - Lost MonadThrow, but can use MonadIO instead
2018-04-21 10:49:05 -04:00
patrick brisbin
59c6aec74b
Add clean target 2018-03-27 19:14:01 -04:00
patrick brisbin
66b9b6410e
Version bump 2018-03-27 19:12:31 -04:00
patrick brisbin
b8a6336e55 Disable nightly CI
hoauth2 has been removed from nightly, as have we.
2018-03-27 18:40:26 -04:00
patrick brisbin
dddfbd9f3c Look for and handle OAuth error responses
Closes #106.
2018-03-27 18:40:26 -04:00
patrick brisbin
aa9736b80e Extract errInvalidOAuth 2018-03-27 18:40:26 -04:00
patrick brisbin
07c757aaa5
Version bump 2018-03-09 09:13:04 -05:00
patrick brisbin
d931243bd1 Bump upper-bound on http-types 2018-03-09 09:11:31 -05:00
patrick brisbin
53d57b988b
Verison bump 2018-03-08 11:44:21 -05:00
patrick brisbin
164974525e Raise aeson upper bound 2018-03-08 09:35:55 -05:00
patrick brisbin
8cf5fd1761 Really use the same flags 2018-03-01 12:59:39 -05:00
patrick brisbin
f595aed116 Use the same flags for all builds 2018-03-01 12:59:39 -05:00
patrick brisbin
4b64eb168b Officially drop 7.10 support 2018-03-01 12:59:39 -05:00
patrick brisbin
62eeaa8af1 Add a CI job with default resolver 2018-03-01 12:59:39 -05:00
patrick brisbin
ada3fba748 Bump default resolver 2018-03-01 12:59:39 -05:00
patrick brisbin
dd73fed361
Update CHANGELOG 2018-02-27 12:14:26 -05:00
patrick brisbin
a91f85ff38
Improve error message for invalid Approots
Closes #87
2018-02-13 09:10:04 -05:00
patrick brisbin
34d4d76220 Fix 8.0.2 build 2018-02-13 08:59:01 -05:00
patrick brisbin
5096ca04aa Fix Google Plugin
Scopes need to be separated by space, not +.
2018-02-13 08:59:01 -05:00
patrick brisbin
a7bc7c51e3 Display prettier credentials information 2018-02-13 08:59:01 -05:00
patrick brisbin
72c64102b0 Fix BattleNet interface
- Incorrect indentation
- We should always accept Id/Secret last
- The function is oauth... not oAuth...

Because of the mis-naming, at least we could fix the argument-order in a
backwards-compatible way, deprecating the old function/interface.
2018-02-13 08:59:01 -05:00
patrick brisbin
434263fef3 Tidy up stack.yaml 2018-02-13 08:59:01 -05:00
patrick brisbin
7fe409baa8 Bring back example application
And capture _all_ plugin providers in it.
2018-02-13 08:59:01 -05:00
patrick brisbin
ef38c5c49d Docs tweaks 2018-02-12 09:10:34 -08:00
patrick brisbin
93258d4468 Make extras accessors safer
Even though it's "guaranteed" that values will be present because we set
them, nothing stops end-users from using these functions on Creds values
created by other plugins! Since that seems common, it would be
irresponsible of us to remain so unsafe.
2018-02-12 09:10:34 -08:00