Commit graph

148 commits

Author SHA1 Message Date
github-actions
ee36ab0142 chore: release version v3.10.6 2023-04-09 20:27:28 +00:00
Zach Daniel
935f862e83
improvement: require spark ~> 1.0 (#261) 2023-04-09 16:22:20 -04:00
github-actions
2e9ea281ac chore: release version v3.10.5 2023-04-06 03:07:37 +00:00
Zach Daniel
eca8cadea0
improvement: add sign in tokens to password strategy (#252)
* improvement: add sign in tokens to password strategy

* chore: update `.formatter.exs`.

* chore: fix credo warnings.

* improvement: convert `sign_in_with_token` into an action.

---------

Co-authored-by: James Harton <james@harton.nz>
2023-04-06 14:53:44 +12:00
github-actions
ecd20f1ad7 chore: release version v3.10.4 2023-04-03 23:05:27 +00:00
github-actions
5ea4797b40 chore: release version v3.10.3 2023-04-03 20:49:11 +00:00
Zach Daniel
2f48817dbd
improvement: update spark (#254)
* improvement: update spark

* chore: update ash
2023-04-04 08:35:46 +12:00
dependabot[bot]
59a5c43196
chore(deps): bump castore from 0.1.22 to 1.0.1 (#248)
Bumps [castore](https://github.com/elixir-mint/castore) from 0.1.22 to 1.0.1.
- [Release notes](https://github.com/elixir-mint/castore/releases)
- [Commits](https://github.com/elixir-mint/castore/compare/v0.1.22...v1.0.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-27 10:44:21 +13:00
github-actions
79a4722ae4 chore: release version v3.10.2 2023-03-06 21:47:57 +00:00
github-actions
2e9040adf9 chore: release version v3.10.1 2023-03-06 20:57:14 +00:00
github-actions
6905fa069c chore: release version v3.10.0 2023-03-04 06:57:10 +00:00
Zach Daniel
7f1c9678e4
feat!: Configure accepted fields on register (#219) 2023-03-04 01:44:34 -05:00
github-actions
b351d1e218 chore: release version v3.9.6 2023-03-01 23:38:47 +00:00
github-actions
bf42c9cc62 chore: release version v3.9.5 2023-02-23 07:44:46 +00:00
github-actions
8539afc62b chore: release version v3.9.4 2023-02-22 03:41:12 +00:00
github-actions
8752ec91e1 chore: release version v3.9.3 2023-02-19 21:07:16 +00:00
github-actions
67af28b336 chore: release version v3.9.2 2023-02-12 23:00:08 +00:00
github-actions
311ff2a42a chore: release version v3.9.1 2023-02-12 08:30:31 +00:00
github-actions
3413ef8d6f chore: release version v3.9.0 2023-02-09 18:16:17 +00:00
github-actions
447e186095 chore: release version v3.8.0 2023-02-09 08:11:26 +00:00
James Harton
cf3d227ef2
feat: Add new "magic link" authentication strategy. (#184) 2023-02-09 21:05:49 +13:00
github-actions
533872723e chore: release version v3.7.9 2023-02-09 02:41:28 +00:00
github-actions
3e531e8779 chore: release version v3.7.8 2023-02-08 03:24:05 +00:00
James Harton
3bece5f657
improvement(Strategy.Custom): handle custom strategies as extensions. (#183)
This means that users can add their own extensions to their resources which patch the strategy (and add ons) DSLs.
2023-02-08 16:10:28 +13:00
github-actions
52f873c433 chore: release version v3.7.7 2023-02-06 20:42:37 +00:00
Zach Daniel
af178f78c8 chore: remove elixir_sense dependency 2023-02-05 22:23:43 -05:00
Zach Daniel
89b761e119 chore: when using local ash, override it 2023-01-31 12:04:40 -05:00
Zach Daniel
984ee42a60 docs: add placeholder guide because we moved the top-googled guide 2023-01-31 09:12:19 -05:00
github-actions
7723c3f824 chore: release version v3.7.6 2023-01-30 23:21:50 +00:00
github-actions
8f6f925fc2 chore: release version v3.7.5 2023-01-30 01:46:09 +00:00
Zach Daniel
bd6e57b3d4
improvement: add metadata declarations to actions that have a token (#164) 2023-01-29 20:30:11 -05:00
github-actions
e18c0b7263 chore: release version v3.7.4 2023-01-30 00:24:54 +00:00
Zach Daniel
6486858511
docs: don't show readme on ash_hq (#160)
* docs: don't show readme on ash_hq

* docs: show phoenix 1.7 compatibility note and add ash_apis config
2023-01-26 11:51:03 +13:00
github-actions
6c0a11cea7 chore: release version v3.7.3 2023-01-18 23:08:08 +00:00
github-actions
d6bfedfec2 chore: release version v3.7.2 2023-01-18 22:39:07 +00:00
github-actions
5631b376da chore: release version v3.7.1 2023-01-18 07:27:37 +00:00
Zach Daniel
6321a9baa6
improvement: update ash & switch to new docs patterns (#146) 2023-01-18 02:13:30 -05:00
github-actions
00f082cc8d chore: release version v3.7.0 2023-01-18 01:52:26 +00:00
github-actions
d8bd7030bb chore: release version v3.6.1 2023-01-15 07:34:35 +00:00
github-actions
161c8ab7e8 chore: release version v3.6.0 2023-01-13 04:28:27 +00:00
github-actions
f16960f018 chore: release version v3.5.3 2023-01-13 00:48:41 +00:00
github-actions
4b1da2fe73 chore: release version v3.5.2 2023-01-12 22:33:22 +00:00
github-actions
cce4d87995 chore: release version v3.5.1 2023-01-12 05:02:37 +00:00
github-actions
6c093788b8 chore: release version v3.5.0 2023-01-12 04:29:57 +00:00
github-actions
3885ab609f chore: release version v3.4.2 2023-01-12 02:40:38 +00:00
Zach Daniel
999bec00ee
improvement: add policy utilities and accompanying guide (#119)
* improvement: add policy utilities and accompanying guide
fix: improve some error message/validation logic

* chore: update castore & fix check definition

* improvement: fix build/warnings/dialyzer/format

* chore: add private context to new `get_token` action.

* chore: fix build.

I'd rather have the warning than a build failure.

Co-authored-by: James Harton <james@harton.nz>
2023-01-12 15:34:41 +13:00
github-actions
178867852a chore: release version v3.4.1 2023-01-12 00:55:55 +00:00
dependabot[bot]
947a4c7283
chore(deps-dev): bump ash_postgres from 1.2.6 to 1.3.1 (#121)
Bumps [ash_postgres](https://github.com/ash-project/ash_postgres) from 1.2.6 to 1.3.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.2.6...v1.3.1)

---
updated-dependencies:
- dependency-name: ash_postgres
  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-12 10:12:07 +13:00
github-actions
0ee896829e chore: release version v3.4.0 2023-01-11 02:19:36 +00:00
github-actions
c444f4583e chore: release version v3.3.1 2023-01-09 03:36:05 +00: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
github-actions
018eed99a2 chore: release version v3.2.1 2022-12-16 00:59:08 +00:00
github-actions
02fe19091b chore: release version v3.2.0 2022-12-16 00:16:58 +00:00
Zach Daniel
5f8110056d
improvement: docs updates (#95) 2022-12-16 12:02:34 +13:00
github-actions
8b02e936d4 chore: release version v3.1.0 2022-12-14 19:00:36 +00:00
James Harton
f1cd72407a
feat: Add option to store all tokens when they're created. (#91) 2022-12-14 15:06:13 +13:00
github-actions
520fc012dc chore: release version v3.0.4 2022-12-08 06:31:38 +00: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
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
github-actions
20c7c20b10 chore: release version v3.0.3 2022-12-07 22:56:45 +00:00
github-actions
dab0046e8d chore: release version v3.0.2 2022-12-05 02:46:45 +00:00
github-actions
2b3c242e80 chore: release version v3.0.1 2022-12-05 00:12:57 +00: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
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
James Harton
e88a516b22
improvement(Confirmation): Confirmation is not a strategy. (#46)
* improvement(Confirmation): Confirmation is not a strategy.

* improvement(Confirmation): Support more than one confirmation entity.

* chore: move FIXME doc to issue.
2022-11-24 16:40:15 +13:00
github-actions
ad30748764 chore: release version v2.0.0 2022-11-22 21:57:04 +00: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
5471e498d0 chore: release version v1.0.0 2022-11-15 14:47:36 +13:00
github-actions
e7b1e84a63 chore: release version v0.6.1 2022-11-15 01:25:03 +00: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
github-actions
50c4e832e3 chore: release version v0.4.3 2022-11-03 22:52:34 +00:00
github-actions
9afce721fe chore: release version v0.4.2 2022-11-03 22:31:29 +00:00
github-actions
2f74ac0149 chore: release version v0.4.1 2022-11-03 01:09:31 +00:00
b5768a4489 chore: release version v0.4.0 2022-11-02 18:44:36 +13:00
James Harton
0eca3274f0
feat(PasswordReset): allow users to request and reset their password. (#22) 2022-11-02 18:18:20 +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
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
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
127d8c7d6a chore: add ex_doc. 2022-09-28 10:06:27 +13:00
1c263550d6 chore: add credo. 2022-09-28 10:06:04 +13:00
9d94f7dab8 chore: add git_ops configuration. 2022-09-28 10:04:04 +13:00
17891fceda chore: Initial empty mix new. 2022-09-28 09:54:05 +13:00