Commit graph

109 commits

Author SHA1 Message Date
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
Zach Daniel
d781b78d5b
docs: use ash docs replacements for hex versions (#67) 2022-12-08 16:09:48 +13:00
Zach Daniel
1f09f4ae66 docs: use ash docs replacements for hex versions 2022-12-07 22:02:14 -05:00
8b94e5413b chore: include documentation in package contents. 2022-12-08 15:52:36 +13:00
James Harton
d8e1281c9b
chore: add automatic publishing of new releases to hex. (#66) 2022-12-08 15:35:53 +13:00
James Harton
afe6779b2a
chore: Add a basic getting started guide. (#13) 2022-12-08 15:23:47 +13:00
dependabot[bot]
2fe0351fdb
chore(deps-dev): bump elixir_sense from ef2401b to af9cb57 (#65)
Bumps [elixir_sense](https://github.com/elixir-lsp/elixir_sense) from `ef2401b` to `af9cb57`.
- [Release notes](https://github.com/elixir-lsp/elixir_sense/releases)
- [Commits](ef2401be49...af9cb576d6)

---
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-12-08 13:49:26 +13:00
dependabot[bot]
4d1c46cf2c
chore(deps): bump ash from 2.4.19 to 2.4.20 (#63)
Bumps [ash](https://github.com/ash-project/ash) from 2.4.19 to 2.4.20.
- [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.19...v2.4.20)

---
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-08 12:24:59 +13:00
github-actions
20c7c20b10 chore: release version v3.0.3 2022-12-07 22:56:45 +00:00
James Harton
029655ed71
fix: break potential compiler dependency loops. (#64) 2022-12-08 11:50:50 +13:00
github-actions
dab0046e8d chore: release version v3.0.2 2022-12-05 02:46:45 +00:00
James Harton
54122cb15f
improvement(supervisor): require that the user adds the supervisor to their OTP app. (#62)
Closes #60 and #57.
2022-12-05 15:40:44 +13:00
github-actions
2b3c242e80 chore: release version v3.0.1 2022-12-05 00:12:57 +00:00
James Harton
2cee21c9ed
improvement(actions): All actions now take optional arguments for the underlying API call. (#61)
Closes #37.
2022-12-05 13:04:42 +13:00
dependabot[bot]
29f495f5fc
chore(deps-dev): bump ash_postgres from 1.1.2 to 1.1.3 (#52)
Bumps [ash_postgres](https://github.com/ash-project/ash_postgres) from 1.1.2 to 1.1.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.1.2...v1.1.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-05 11:27:39 +13:00
dependabot[bot]
e2c596b7c8
chore(deps-dev): bump ash_graphql from 0.22.0 to 0.22.1 (#50)
Bumps [ash_graphql](https://github.com/ash-project/ash_graphql) from 0.22.0 to 0.22.1.
- [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.0...v0.22.1)

---
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-05 11:27:14 +13:00
dependabot[bot]
d48a184a51
chore(deps): bump ash from 2.4.16 to 2.4.19 (#59)
Bumps [ash](https://github.com/ash-project/ash) from 2.4.16 to 2.4.19.
- [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.16...v2.4.19)

---
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-05 11:20:25 +13:00
github-actions
931fd1d8ea chore: release version v3.0.0 2022-12-04 22:13:12 +00:00
James Harton
a1de1cf0a9
Merge pull request #49 from team-alembic/feat/token-resource
Prevent possible leakage of PII by storing changes in the database instead of the token.
2022-12-05 10:57:15 +13:00
5febe36527 improvement(Confirmation): Store confirmation changes in the token resource.
This prevents possible PII leakage as per #47.
2022-12-05 10:48:23 +13:00
776bd8ea6c improvement(TokenResource)!: Move TokenRevocation -> TokenResource.
This paves the way to fix #47.
2022-12-01 08:41:49 +13:00
github-actions
e3d004ad97 chore: release version v2.0.1 2022-11-24 03:46:19 +00:00