Commit graph

756 commits

Author SHA1 Message Date
dependabot[bot]
1418d23f6f
chore(deps-dev): bump ex_doc from 0.29.0 to 0.29.1 (#45)
Bumps [ex_doc](https://github.com/elixir-lang/ex_doc) from 0.29.0 to 0.29.1.
- [Release notes](https://github.com/elixir-lang/ex_doc/releases)
- [Changelog](https://github.com/elixir-lang/ex_doc/blob/main/CHANGELOG.md)
- [Commits](https://github.com/elixir-lang/ex_doc/compare/v0.29.0...v0.29.1)

---
updated-dependencies:
- dependency-name: ex_doc
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-23 11:29:41 +13:00
github-actions
ad30748764 chore: release version v2.0.0 2022-11-22 21:57:04 +00:00
dependabot[bot]
9e9e217862
chore(deps-dev): bump ash_graphql from 0.21.0 to 0.22.0 (#42)
Bumps [ash_graphql](https://github.com/ash-project/ash_graphql) from 0.21.0 to 0.22.0.
- [Release notes](https://github.com/ash-project/ash_graphql/releases)
- [Changelog](https://github.com/ash-project/ash_graphql/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ash-project/ash_graphql/commits)

---
updated-dependencies:
- dependency-name: ash_graphql
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-23 10:40:23 +13:00
James Harton
1c8f138c67
improvement!: Major redesign of DSL and code structure. (#35)
Highlights:

* Replaced `AshAuthentication.Provider` with the much more flexible `AshAuthentication.Strategy`.
* Moved strategies to within the `authentication` DSL using entities and removed excess extensions.
* Added a lot more documentation and test coverage.
2022-11-23 09:09:41 +13:00
dependabot[bot]
fdba938b70
chore(deps-dev): bump ash_postgres from 1.1.1 to 1.1.2 (#40)
Bumps [ash_postgres](https://github.com/ash-project/ash_postgres) from 1.1.1 to 1.1.2.
- [Release notes](https://github.com/ash-project/ash_postgres/releases)
- [Changelog](https://github.com/ash-project/ash_postgres/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ash-project/ash_postgres/compare/v1.1.1...v1.1.2)

---
updated-dependencies:
- dependency-name: ash_postgres
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-22 15:10:06 +13:00
dependabot[bot]
1c9b9c6b28
chore(deps-dev): bump ex_doc from 0.29.0 to 0.29.1 (#38)
Bumps [ex_doc](https://github.com/elixir-lang/ex_doc) from 0.29.0 to 0.29.1.
- [Release notes](https://github.com/elixir-lang/ex_doc/releases)
- [Changelog](https://github.com/elixir-lang/ex_doc/blob/main/CHANGELOG.md)
- [Commits](https://github.com/elixir-lang/ex_doc/compare/v0.29.0...v0.29.1)

---
updated-dependencies:
- dependency-name: ex_doc
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-22 15:09:45 +13:00
dependabot[bot]
dff510d289
chore(deps): bump ash from 2.4.2 to 2.4.3 (#32)
Bumps [ash](https://github.com/ash-project/ash) from 2.4.2 to 2.4.3.
- [Release notes](https://github.com/ash-project/ash/releases)
- [Changelog](https://github.com/ash-project/ash/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ash-project/ash/compare/v2.4.2...v2.4.3)

---
updated-dependencies:
- dependency-name: ash
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-22 14:35:29 +13:00
5471e498d0 chore: release version v1.0.0 2022-11-15 14:47:36 +13:00
James Harton
65d53e3597 improvement(OAuth2Authentication)!: Make the site option runtime configurable. (#31) 2022-11-15 14:46:42 +13:00
github-actions
e7b1e84a63 chore: release version v0.6.1 2022-11-15 01:25:03 +00:00
James Harton
6b22c858ce
fix(OAuth2Authentication): Return the failure reason even if it's not a changeset. (#29)
(ie it's an error from assent).
2022-11-15 14:07:32 +13:00
dependabot[bot]
6aed0878d9
chore(deps): bump castore from 0.1.18 to 0.1.19 (#30)
Bumps [castore](https://github.com/elixir-mint/castore) from 0.1.18 to 0.1.19.
- [Release notes](https://github.com/elixir-mint/castore/releases)
- [Commits](https://github.com/elixir-mint/castore/compare/v0.1.18...v0.1.19)

---
updated-dependencies:
- dependency-name: castore
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-15 09:51:28 +13:00
Josh Price
c559bffe8a
Add MIT Licence 2022-11-14 14:44:53 +11:00
github-actions
3a54be6b32 chore: release version v0.6.0 2022-11-10 02:02:46 +00:00
James Harton
c5f589058e
feat(OAuth2Authentication): Add support for generic OAuth2 endpoints. (#28) 2022-11-10 14:47:06 +13:00
github-actions
73c7788076 chore: release version v0.5.0 2022-11-04 08:12:23 +00:00
James Harton
1d4bb00617
feat(Confirmation): Add extension that allows a user to be confirmed when created or updated. (#27) 2022-11-04 21:05:47 +13:00
github-actions
50c4e832e3 chore: release version v0.4.3 2022-11-03 22:52:34 +00:00
e5ba987ee1 improvement(docs): Improve endpoint docs for PasswordAuthentication and PasswordReset. 2022-11-04 11:46:03 +13:00
github-actions
9afce721fe chore: release version v0.4.2 2022-11-03 22:31:29 +00:00
James Harton
bab9ec363e
fix(PasswordReset): Generate the reset token using the target action, not the source action. (#25)
* fix(PasswordReset): Generate the reset token using the target action, not the source action.

Also improve tests.

* improvement(PasswordReset): rework PasswordReset to be a provider in it's own right - this means it has it's own routes, etc.
2022-11-04 11:24:33 +13:00
dependabot[bot]
c5eb02f4b0
chore(deps): bump ash from 2.4.1 to 2.4.2 (#24)
Bumps [ash](https://github.com/ash-project/ash) from 2.4.1 to 2.4.2.
- [Release notes](https://github.com/ash-project/ash/releases)
- [Changelog](https://github.com/ash-project/ash/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ash-project/ash/compare/v2.4.1...v2.4.2)

---
updated-dependencies:
- dependency-name: ash
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-04 09:12:37 +13:00
github-actions
2f74ac0149 chore: release version v0.4.1 2022-11-03 01:09:31 +00:00
James Harton
6d4f338b0c
improvement(PasswordReset): A reset request is actually a query, not an update. (#23) 2022-11-03 14:03:14 +13:00
b5768a4489 chore: release version v0.4.0 2022-11-02 18:44:36 +13:00
dependabot[bot]
e141d455da
chore(deps-dev): bump elixir_sense from de43440 to ef2401b (#21)
Bumps [elixir_sense](https://github.com/elixir-lsp/elixir_sense) from `de43440` to `ef2401b`.
- [Release notes](https://github.com/elixir-lsp/elixir_sense/releases)
- [Commits](de434402bd...ef2401be49)

---
updated-dependencies:
- dependency-name: elixir_sense
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-02 18:22:42 +13:00
James Harton
0eca3274f0
feat(PasswordReset): allow users to request and reset their password. (#22) 2022-11-02 18:18:20 +13:00
dependabot[bot]
c4732c12a3
chore(deps-dev): bump plug_cowboy from 2.5.2 to 2.6.0 (#18)
Bumps [plug_cowboy](https://github.com/elixir-plug/plug_cowboy) from 2.5.2 to 2.6.0.
- [Release notes](https://github.com/elixir-plug/plug_cowboy/releases)
- [Changelog](https://github.com/elixir-plug/plug_cowboy/blob/master/CHANGELOG.md)
- [Commits](https://github.com/elixir-plug/plug_cowboy/compare/v2.5.2...v2.6.0)

---
updated-dependencies:
- dependency-name: plug_cowboy
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-01 09:55:27 +13:00
github-actions
c28aa29c8a chore: release version v0.3.0 2022-10-31 03:56:53 +00:00
James Harton
8797005175
feat(Ash.PlugHelpers): Support standard actor configuration. (#16)
* improvement(docs): change all references to `actor` to `user`.

The word "actor" has special meaning in the Ash ecosystem.

* chore: format `dev` directory also.

* feat(Ash.PlugHelpers): Support standard actor configuration.

* Adds the `:set_actor` plug which will set the actor to a resource based on the subject name.
* Also includes GraphQL and JSON:API interfaces in the devserver for testing.
2022-10-31 16:43:00 +13:00
github-actions
a432bd5477 chore: release version v0.2.1 2022-10-26 00:01:54 +00:00
aa638e0230 improvement: move subject_name uniqueness validation to compile time. 2022-10-26 12:56:08 +13:00
13d3f0d2ab improvement: remove generated: true from macros.
This is not needed and didn't do what I thought it did.
2022-10-26 11:04:34 +13:00
f0e7768e43 fix: deprecation warnings caused by use of Macro.expand_literal/2. 2022-10-26 11:03:14 +13:00
2c1802dd69 chore(docs): small documentation improvements. 2022-10-26 11:03:14 +13:00
dependabot[bot]
fd54efe85d
chore(deps-dev): bump ex_doc from 0.28.6 to 0.29.0 (#9)
Bumps [ex_doc](https://github.com/elixir-lang/ex_doc) from 0.28.6 to 0.29.0.
- [Release notes](https://github.com/elixir-lang/ex_doc/releases)
- [Changelog](https://github.com/elixir-lang/ex_doc/blob/main/CHANGELOG.md)
- [Commits](https://github.com/elixir-lang/ex_doc/compare/v0.28.6...v0.29.0)

---
updated-dependencies:
- dependency-name: ex_doc
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-26 08:47:53 +13:00
dependabot[bot]
5cd7fc5e61
chore(deps-dev): bump ash_postgres from 1.1.0 to 1.1.1 (#10)
Bumps [ash_postgres](https://github.com/ash-project/ash_postgres) from 1.1.0 to 1.1.1.
- [Release notes](https://github.com/ash-project/ash_postgres/releases)
- [Changelog](https://github.com/ash-project/ash_postgres/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ash-project/ash_postgres/compare/v1.1.0...v1.1.1)

---
updated-dependencies:
- dependency-name: ash_postgres
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-26 08:47:38 +13:00
c51de0fe74 chore(docs): Add links to ash_authentication_phoenix. 2022-10-26 08:45:21 +13:00
e0f0a8d257 chore(docs): improve documentation. 2022-10-25 20:32:57 +13:00
github-actions
809a0faa55 chore: release version v0.2.0 2022-10-24 22:21:49 +00:00
James Harton
a939dde9b9
feat(PasswordAuthentication): Registration and authentication with local credentials (#4)
This is missing a bunch of features that you probably want to use (eg confirmation, password resets), but it's a pretty good place to put a stake in the sand and say it works.
2022-10-25 11:07:07 +13:00
dependabot[bot]
4a13721c9f
chore(deps-dev): bump ex_doc from 0.28.6 to 0.29.0 (#8)
Bumps [ex_doc](https://github.com/elixir-lang/ex_doc) from 0.28.6 to 0.29.0.
- [Release notes](https://github.com/elixir-lang/ex_doc/releases)
- [Changelog](https://github.com/elixir-lang/ex_doc/blob/main/CHANGELOG.md)
- [Commits](https://github.com/elixir-lang/ex_doc/compare/v0.28.6...v0.29.0)

---
updated-dependencies:
- dependency-name: ex_doc
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-20 09:13:41 +13:00
dependabot[bot]
95bc34ea3d
chore(deps-dev): bump ex_doc from 0.28.5 to 0.28.6 (#6)
Bumps [ex_doc](https://github.com/elixir-lang/ex_doc) from 0.28.5 to 0.28.6.
- [Release notes](https://github.com/elixir-lang/ex_doc/releases)
- [Changelog](https://github.com/elixir-lang/ex_doc/blob/main/CHANGELOG.md)
- [Commits](https://github.com/elixir-lang/ex_doc/compare/v0.28.5...v0.28.6)

---
updated-dependencies:
- dependency-name: ex_doc
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-14 09:13:29 +13:00
dependabot[bot]
fb7fec5acc
chore(deps-dev): bump doctor from 0.19.0 to 0.20.0 (#5)
Bumps [doctor](https://github.com/akoutmos/doctor) from 0.19.0 to 0.20.0.
- [Release notes](https://github.com/akoutmos/doctor/releases)
- [Changelog](https://github.com/akoutmos/doctor/blob/master/CHANGELOG.md)
- [Commits](https://github.com/akoutmos/doctor/commits)

---
updated-dependencies:
- dependency-name: doctor
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-12 10:04:06 +13:00
dependabot[bot]
2572588f38
chore(deps-dev): bump git_ops from 2.5.0 to 2.5.1 (#3)
Bumps [git_ops](https://github.com/zachdaniel/git_ops) from 2.5.0 to 2.5.1.
- [Release notes](https://github.com/zachdaniel/git_ops/releases)
- [Changelog](https://github.com/zachdaniel/git_ops/blob/master/CHANGELOG.md)
- [Commits](https://github.com/zachdaniel/git_ops/commits)

---
updated-dependencies:
- dependency-name: git_ops
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-05 09:01:10 +13:00
008778c755 chore(ci): update to latest staple-actions 2022-09-30 16:04:41 +13:00
dependabot[bot]
ed62361258
chore(deps-dev): bump git_ops from 2.4.5 to 2.5.0 (#2)
Bumps [git_ops](https://github.com/zachdaniel/git_ops) from 2.4.5 to 2.5.0.
- [Release notes](https://github.com/zachdaniel/git_ops/releases)
- [Changelog](https://github.com/zachdaniel/git_ops/blob/master/CHANGELOG.md)
- [Commits](https://github.com/zachdaniel/git_ops/compare/v2.4.5...v2.5.0)

---
updated-dependencies:
- dependency-name: git_ops
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-30 09:49:19 +13:00
808259fbd0 chore: set up github actions. 2022-09-28 10:56:55 +13:00
53588e302a chore: install and configure dialyxir. 2022-09-28 10:11:00 +13:00
ccf5993e4f chore: install and configure doctor. 2022-09-28 10:07:26 +13:00