Commit graph

130 commits

Author SHA1 Message Date
James Harton
34b9d94f51
improvement: Set Ash actor and tenant when executing internal plugs. (#115)
Closes #114.
2023-01-09 16:30:00 +13:00
github-actions
757290f508 chore: release version v3.3.0 2023-01-09 02:19:16 +00:00
James Harton
792ec056b8
feat: Make strategy names optional where possible. (#113) 2023-01-09 15:02:48 +13:00
github-actions
f117200ad4 chore: release version v3.2.2 2023-01-08 20:34:05 +00:00
James Harton
5ba5e163f3
improvement: Allow the strategy name to be passed for password validations and changes. (#102)
After #89 was merged folks were no longer able to use `AshAuthentication.Strategy.Password.HashPasswordChange` and `AshAuthentication.Strategy.Password.PasswordConfirmationValidation` in their own actions.  This change fixes this issue by allowing the name of the strategy to be passed in in the changeset context.
2023-01-09 09:27:50 +13:00
dependabot[bot]
25610d01d2
chore(deps-dev): bump ash_postgres from 1.2.5 to 1.2.6 (#110)
Bumps [ash_postgres](https://github.com/ash-project/ash_postgres) from 1.2.5 to 1.2.6.
- [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.2.5...v1.2.6)

---
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>
2023-01-09 09:15:04 +13:00
dependabot[bot]
2b8917ddfd
chore(deps): bump spark from 0.3.2 to 0.3.3 (#112)
Bumps [spark](https://github.com/ash-project/spark) from 0.3.2 to 0.3.3.
- [Release notes](https://github.com/ash-project/spark/releases)
- [Changelog](https://github.com/ash-project/spark/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ash-project/spark/compare/v0.3.2...v0.3.3)

---
updated-dependencies:
- dependency-name: spark
  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>
2023-01-09 09:14:41 +13:00
dependabot[bot]
a137edeef3
chore(deps-dev): bump ash_json_api from 0.30.1 to 0.31.0 (#111)
Bumps [ash_json_api](https://github.com/ash-project/ash_json_api) from 0.30.1 to 0.31.0.
- [Release notes](https://github.com/ash-project/ash_json_api/releases)
- [Changelog](https://github.com/ash-project/ash_json_api/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ash-project/ash_json_api/compare/v0.30.1...v0.31.0)

---
updated-dependencies:
- dependency-name: ash_json_api
  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>
2023-01-08 13:57:22 +13:00
Bruno Ripa
ceb5cdcfae
docs: fixed the strategy example in the Usage section of README.md. (#108) 2022-12-23 15:34:41 -05:00
dependabot[bot]
3e94e79f92
chore(deps): bump ash from 2.4.27 to 2.4.28 (#106) 2022-12-24 06:21:43 +13:00
dependabot[bot]
ca89ff17fe
chore(deps): bump spark from 0.3.1 to 0.3.2 (#107) 2022-12-24 06:21:10 +13:00
dependabot[bot]
706f3fd46f
chore(deps-dev): bump ash_postgres from 1.2.4 to 1.2.5 (#105) 2022-12-23 07:00:23 +13:00
dependabot[bot]
ed22490e04
chore(deps): bump ash from 2.4.26 to 2.4.27 (#104) 2022-12-22 21:04:38 +13:00
dependabot[bot]
8e5022cbee
chore(deps-dev): bump ash_postgres from 1.2.3 to 1.2.4 (#103)
Bumps [ash_postgres](https://github.com/ash-project/ash_postgres) from 1.2.3 to 1.2.4.
- [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.2.3...v1.2.4)

---
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-12-20 16:22:51 +13:00
dependabot[bot]
0d3fb34f3a
chore(deps): bump spark from 0.3.0 to 0.3.1 (#101) 2022-12-17 09:34:31 +13:00
github-actions
018eed99a2 chore: release version v3.2.1 2022-12-16 00:59:08 +00:00
James Harton
74dfbf7595
improvement: add icon field to OAuth2 strategy. (#100) 2022-12-16 13:53:03 +13:00
github-actions
02fe19091b chore: release version v3.2.0 2022-12-16 00:16:58 +00:00
James Harton
cf9ad01dd5
feat(Auth0): Add a pre-configured Auth0 strategy. (#99) 2022-12-16 13:06:51 +13:00
dependabot[bot]
9802d0b3f7
chore(deps-dev): bump ash_postgres from 1.2.1 to 1.2.3 (#98)
Bumps [ash_postgres](https://github.com/ash-project/ash_postgres) from 1.2.1 to 1.2.3.
- [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.2.1...v1.2.3)

---
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-12-16 12:14:58 +13:00
Zach Daniel
5f8110056d
improvement: docs updates (#95) 2022-12-16 12:02:34 +13:00
ece9899c49 chore: update .tool-versions to elixir 25.2 and elixir 1.14.2. 2022-12-16 11:49:39 +13:00
a523198015 chore(devcontainer): store Dialyzer PLTs in a volume. 2022-12-16 11:49:39 +13:00
dependabot[bot]
df3b972c64
chore(deps-dev): bump ash_postgres from 1.2.1 to 1.2.3 (#96)
Bumps [ash_postgres](https://github.com/ash-project/ash_postgres) from 1.2.1 to 1.2.3.
- [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.2.1...v1.2.3)

---
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-12-16 09:02:42 +13:00
dependabot[bot]
09f300b3c4
chore(deps): bump ash from 2.4.24 to 2.4.25 (#97)
Bumps [ash](https://github.com/ash-project/ash) from 2.4.24 to 2.4.25.
- [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.24...v2.4.25)

---
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-12-16 09:02:27 +13:00
7ccfb5d554 chore(ci): Use my PAT to create releases. 2022-12-15 10:06:24 +13:00
github-actions
8b02e936d4 chore: release version v3.1.0 2022-12-14 19:00:36 +00:00
dependabot[bot]
2ec70fff65
chore(deps-dev): bump git_ops from 2.5.1 to 2.5.4 (#94)
Bumps [git_ops](https://github.com/zachdaniel/git_ops) from 2.5.1 to 2.5.4.
- [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/v2.5.4)

---
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-12-15 07:43:38 +13:00
dependabot[bot]
a708ba821e
chore(deps-dev): bump ash_graphql from 0.22.2 to 0.22.3 (#93) 2022-12-14 19:53:51 +13:00
James Harton
f1cd72407a
feat: Add option to store all tokens when they're created. (#91) 2022-12-14 15:06:13 +13:00
dependabot[bot]
719826d66d
chore(deps-dev): bump ash_graphql from 0.22.1 to 0.22.2 (#87)
Bumps [ash_graphql](https://github.com/ash-project/ash_graphql) from 0.22.1 to 0.22.2.
- [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/compare/v0.22.1...v0.22.2)

---
updated-dependencies:
- dependency-name: ash_graphql
  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-12-13 16:35:50 +13:00
James Harton
6dfbf03f11
improvement: remove the need for a strategy in changeset/query contexts. (#89)
The action -> strategy mapping is now stored directly in the resource DSL.

Closes #84.
2022-12-13 16:35:30 +13:00
dependabot[bot]
83d04170bb chore(deps): bump ash from 2.4.23 to 2.4.24
Bumps [ash](https://github.com/ash-project/ash) from 2.4.23 to 2.4.24.
- [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.23...v2.4.24)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-13 10:19:10 +13:00
Zach Daniel
cb6d0b5424 return explicit error message 2022-12-12 10:46:04 +13:00
Zach Daniel
8b1bfd81b3 chore: format 2022-12-12 10:46:04 +13:00
Zach Daniel
39099a0b1c improvement: add transaction reason 2022-12-12 10:46:04 +13:00
371a6ad821 improvement(Jwt)!: Use token signing secret into the DSL.
Use the `AshAuthentication.Secret` behaviour, rather than asking the user to explicitly set it in their application environment.

This is a breaking change that will require folks to change their resource config to look up the signing secret.

Closes #79.
Closes #77.
2022-12-12 10:45:28 +13:00
6977c39990 chore: use the --no-major git_ops flag to inhibit major releases. 2022-12-12 10:45:28 +13:00
e4fe4a2ee4 chore: remove unused function. 2022-12-12 09:24:10 +13:00
Zach Daniel
8a87d2dba8 chore: fix syntax error 2022-12-12 09:24:10 +13:00
Zach Daniel
dc33b04b08 improvement: try a simpler way of ensuring module is compiled 2022-12-12 09:24:10 +13:00
dependabot[bot]
6ad7dd6a65 chore(deps): bump ash from 2.4.21 to 2.4.23
Bumps [ash](https://github.com/ash-project/ash) from 2.4.21 to 2.4.23.
- [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.21...v2.4.23)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-10 07:03:03 +13:00
268a6ef685 chore(docs): Add tailwind configuration to phoenix guide.
Closes https://github.com/team-alembic/ash_authentication_phoenix/issues/31
2022-12-09 13:06:18 +13:00
Egor Kislitsyn
395388f91e
chore(docs): Fix code examples in the documentation (#74)
* Fix typo

* Password strategy requires a name

* Update documentation/getting_started/getting_started_01_basic_setup.md

Co-authored-by: James Harton <59449+jimsynz@users.noreply.github.com>

Co-authored-by: James Harton <59449+jimsynz@users.noreply.github.com>
2022-12-09 09:51:10 +13:00
Zach Daniel
3ba1d81975
improvement: use Code.ensure_compiled! which "demands" that the com… (#75)
* improvement: use `Code.ensure_compiled!` which "demands" that the compiler wait for X module

* chore: format
2022-12-09 09:47:16 +13:00
dependabot[bot]
99b20e6f6c
chore(deps): bump ash from 2.4.20 to 2.4.21 (#71) 2022-12-09 06:09:12 +13:00
github-actions
520fc012dc chore: release version v3.0.4 2022-12-08 06:31:38 +00:00
James Harton
3c997ec5ae
Merge pull request #69 from team-alembic/small-docs-tweaks
docs: use ash docs replacements for hex versions
2022-12-08 19:16:23 +13:00
Zach Daniel
69652e58a9 improvement: update to latest ash version
docs: use spark doc link replacements to render on hex & ash_hq
2022-12-08 00:39:22 -05:00
eb9fa5da22 chore: add beta warning to readme. 2022-12-08 16:52:23 +13:00