forked from ueberauth/ueberauth_facebook
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'upstream/master' into DLVR-6993-merge-u…
…pstream
- Loading branch information
Showing
13 changed files
with
383 additions
and
165 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# Used by "mix format" | ||
[ | ||
inputs: ["{mix,.formatter}.exs", "{config,lib,test}/**/*.{ex,exs}"] | ||
] |
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Order is important. The last matching pattern takes the most precedence. | ||
# Default owners for everything in the repo. | ||
* @ueberauth/developers |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
name: Continuous Integration | ||
|
||
on: | ||
pull_request: | ||
types: [opened, reopened, synchronize] | ||
push: | ||
branches: | ||
- 'master' | ||
jobs: | ||
Test: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout Code | ||
uses: actions/checkout@v1 | ||
|
||
- name: Set up Elixir | ||
uses: erlef/setup-elixir@v1 | ||
with: | ||
elixir-version: '1.11' | ||
otp-version: '22.3' | ||
|
||
- name: Install Dependencies | ||
run: | | ||
mix local.rebar --force | ||
mix local.hex --force | ||
mix deps.get | ||
- name: Run Tests | ||
run: mix test | ||
|
||
Linting: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout Code | ||
uses: actions/checkout@v1 | ||
|
||
- name: Set up Elixir | ||
uses: erlef/setup-elixir@v1 | ||
with: | ||
elixir-version: '1.11' | ||
otp-version: '22.3' | ||
|
||
- name: Install Dependencies | ||
run: | | ||
mix local.rebar --force | ||
mix local.hex --force | ||
mix deps.get | ||
- name: Run Formatter | ||
run: mix format --check-formatted | ||
|
||
- name: Run Credo | ||
run: mix credo |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
name: Hexpm Release | ||
|
||
on: | ||
release: | ||
types: [published] | ||
|
||
jobs: | ||
publish: | ||
name: Publish | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Set up Elixir | ||
uses: erlef/setup-elixir@v1 | ||
with: | ||
elixir-version: '1.11' | ||
otp-version: '22.3' | ||
- name: Restore dependencies cache | ||
uses: actions/cache@v2 | ||
with: | ||
path: deps | ||
key: ${{ runner.os }}-mix-${{ hashFiles('**/mix.lock') }} | ||
restore-keys: ${{ runner.os }}-mix- | ||
- name: Install dependencies | ||
run: | | ||
mix local.rebar --force | ||
mix local.hex --force | ||
mix deps.get | ||
- name: Run Hex Publish | ||
run: mix hex.publish --yes | ||
env: | ||
HEX_API_KEY: ${{ secrets.HEX_API_KEY }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,26 @@ | ||
/_build | ||
/deps | ||
# The directory Mix will write compiled artifacts to. | ||
/_build/ | ||
|
||
# If you run "mix test --cover", coverage assets end up here. | ||
/cover/ | ||
|
||
# The directory Mix downloads your dependencies sources to. | ||
/deps/ | ||
|
||
# Where third-party dependencies like ExDoc output generated docs. | ||
/doc/ | ||
|
||
# Ignore .fetch files in case you like to edit your project deps locally. | ||
/.fetch | ||
|
||
# If the VM crashes, it generates a dump, let's ignore it too. | ||
erl_crash.dump | ||
|
||
# Also ignore archive artifacts (built via "mix archive.build"). | ||
*.ez | ||
|
||
# Ignore package tarball (built via "mix hex.build"). | ||
ueberauth_facebook-*.tar | ||
|
||
# Temporary files for e.g. tests. | ||
/tmp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,19 @@ | ||
language: elixir | ||
elixir: | ||
- 1.6 | ||
- 1.5 | ||
- 1.4 | ||
- 1.3 | ||
otp_release: | ||
- 20.2 | ||
- 19.3 | ||
- 18.3 | ||
matrix: | ||
include: | ||
- otp_release: 18.3 | ||
elixir: 1.3.2 | ||
- otp_release: 19.0 | ||
elixir: 1.3.2 | ||
sudo: false | ||
exclude: | ||
- elixir: 1.6 | ||
otp_release: 18.3 | ||
- elixir: 1.3 | ||
otp_release: 20.2 | ||
script: | ||
- mix test | ||
- mix credo |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,45 +1,83 @@ | ||
# v 0.6.0 | ||
# Changelog | ||
|
||
All notable changes to this project will be documented in this file. | ||
|
||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), | ||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). | ||
|
||
## [Unreleased] | ||
|
||
## v0.10.0 - 2021-09-23 | ||
|
||
* Allows errors from the provider to be thrown back to the user. | ||
|
||
## v0.9.0 - 2021-09-23 | ||
|
||
* Require at least Ueberauth 0.7 due to changed builtin CSRF protection | ||
|
||
## v0.8.2 - 2021-07-15 | ||
|
||
* Allow OAuth options to be configured from the connection | ||
* Set default profile image to large | ||
|
||
## v0.8.1 - 2020-03-02 | ||
|
||
* Handle errors from fetching the access token with an invalid/expired code | ||
* Support OAuth2 version 2.0 library | ||
* Set OAuth2 JSON library based on Ueberauth's JSON libray | ||
|
||
## v0.8.0 - 2019-03-09 | ||
|
||
* Add option to specify scheme for user avatar URL | ||
* Stop sending empty params to the Facebook auth dialog | ||
|
||
## v0.7.0 - 2017-07-18 | ||
|
||
* Support `:appsecret_proof` parameter | ||
* Set the required `:profile_fields` to get the email back | ||
|
||
## v0.6.0 - 2016-12-27 | ||
|
||
* Support `:display` parameter | ||
* Use OAuth2 0.8 | ||
|
||
# v 0.5.0 | ||
## v0.5.0 - 2016-09-21 | ||
|
||
* Pin OAuth2 to 0.6 to avoid errors | ||
|
||
# v 0.4 | ||
## v0.4.0 - 2016-07-19 | ||
|
||
* Allow `:state` param to be configured | ||
|
||
# v 0.3.2 | ||
## v0.3.2 - 2016-02-15 | ||
|
||
* Fix support for auth_type | ||
|
||
# v 0.3.1 | ||
## v0.3.1 - 2016-02-10 | ||
|
||
* Add support for missing Locale parameter | ||
|
||
# v 0.3.0 | ||
## v0.3.0 - 2016-02-04 | ||
|
||
* Add support for auth_type | ||
* Support for additional request variables | ||
|
||
# v 0.2.1 | ||
## v0.2.1 - 2015-12-11 | ||
|
||
* Add missing `profile_fields` parameter | ||
|
||
# v 0.2.0 | ||
## v0.2.0 - 2015-11-28 | ||
|
||
* Release to follow the Ueberauth 0.2.0 release | ||
|
||
# v 0.1.4 | ||
## v0.1.4 - 2015-11-18 | ||
|
||
* Added oauth2 and ueberauth to applications list | ||
|
||
# v 0.1.1 | ||
## v0.1.1 - 2015-11-16 | ||
|
||
* Fixed character encoding errors in Hex package | ||
|
||
# v 0.1.0 | ||
## v0.1.0 - 2015-11-16 | ||
|
||
* Initial strategy |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# Contributing to Ueberauth Facebook | ||
# Contributing | ||
|
||
## Pull Requests Welcome | ||
1. Fork ueberauth_facebook | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.