Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PR: Docs #231

Open
wants to merge 61 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
61 commits
Select commit Hold shift + click to select a range
d523971
create ecto_erd.dot ecto_erd.mmd for https://github.com/dwyl/auth/iss…
nelsonic Oct 12, 2022
b383ce0
outline BUILDIT.md for #220
nelsonic Oct 14, 2022
80e7671
employ Useful.stringify_map/1 in Auth.Log.stringify/1 instead of repe…
nelsonic Oct 17, 2022
ec21cc9
Add tests for Auth.Person.decrypt_email/1 https://github.com/dwyl/aut…
nelsonic Oct 17, 2022
01d5617
add unhappy path test for AuthWeb.AuthController.client_id_is_current…
nelsonic Oct 17, 2022
0d5376b
fix merge conflicts in mix.lock
nelsonic Oct 17, 2022
997cc36
add LiveView for groups #220 / #232
nelsonic Oct 17, 2022
7cf2ead
create groups schema for #220
nelsonic Oct 17, 2022
97c7237
add tests for group schema Auth.Group.create/1 #220
nelsonic Oct 18, 2022
702ed4a
Merge branch 'main' into gen-erd-#207
nelsonic Oct 18, 2022
faf82d6
update version of fields to 2.10.0 hoping to fix https://github.com/d…
nelsonic Oct 18, 2022
8f32e6f
update to fields 2.10.1 to hopefully resolve https://github.com/dwyl/…
nelsonic Oct 18, 2022
5da7960
update fields to 2.10.2 for https://github.com/dwyl/fields/issues/118 🀞
nelsonic Oct 18, 2022
348d04a
update fields to 2.10.3 ... should pass now that Vars restored: https…
nelsonic Oct 18, 2022
f8d423e
update auth_plug to 1.4.20 which downgrades jason to 1.0 and plug to …
nelsonic Oct 18, 2022
4744706
tests passing on localhost fixes https://github.com/dwyl/auth/issues/235
nelsonic Oct 20, 2022
c7ce1ff
update ex_doc
nelsonic Oct 20, 2022
eb0fefc
add tailwind CSS + petal.build components for #220
nelsonic Oct 20, 2022
a94e0a2
live-reloading working with Tailwind in LiveView #220
nelsonic Oct 21, 2022
23d33e4
create groups_people schema+migration for #220
nelsonic Oct 21, 2022
64a3d35
create group_people_test.exs and functions to make tests pass #220
nelsonic Oct 22, 2022
35bc290
create test/auth_web/live/groups_live_test.exs for testing Groups Liv…
nelsonic Oct 22, 2022
4d40a11
tidy groups documentation #220
nelsonic Oct 22, 2022
44a9517
add context for groups SPA #220
nelsonic Oct 23, 2022
f604b9f
wrangling a form to create groups using LiveView #220
nelsonic Oct 30, 2022
c08926b
comment out dbg code so I can write a test ... #220
nelsonic Oct 31, 2022
917d1c6
[WiP] create live_auth_controller.ex
nelsonic Oct 31, 2022
63b6e82
revise group_people schema to simplify joins / avoid confusion! https…
nelsonic Oct 31, 2022
1da1ce2
add put_assoc for linking group_people to people & roles #220
nelsonic Oct 31, 2022
4d7ed78
group_people working! thanks @SimonLab #220
nelsonic Nov 3, 2022
179c833
add sample people for #242
nelsonic Nov 4, 2022
a7b2f26
remove elixir_buildpack.config and Procfile as Heroku no bueno! #246 …
nelsonic Nov 16, 2022
a7bd1a4
Merge branch 'main' into gen-erd-#207
nelsonic Nov 16, 2022
2169326
dbg transform_github_profile_data_to_person for #248
nelsonic Nov 23, 2022
5a0dd1a
Update Dockerfile to Elixir v1.14 https://github.com/dwyl/auth/issues…
nelsonic Nov 23, 2022
ab83898
udpate Elixir + OTP version in ci.yml #248
nelsonic Nov 23, 2022
5d0b38a
chat -> auth #248
nelsonic Nov 23, 2022
a2818aa
add Github person.username to people table #248
nelsonic Nov 23, 2022
0675929
add person.username to the session_data/2 for #248
nelsonic Nov 23, 2022
909ec7e
Merge branch 'main' into gen-erd-#207
nelsonic Nov 28, 2022
a6aea8d
Merge branch 'main' into gen-erd-#207
nelsonic Dec 1, 2022
f2511bc
[WiP] tests passing but coverage 94.5% ...
nelsonic Dec 7, 2022
a99c0e9
Merge branch 'gen-erd-#207' of github.com:dwyl/auth into gen-erd-#207
nelsonic Dec 7, 2022
00b77b9
Merge branch 'main' into gen-erd-#207
nelsonic Dec 7, 2022
f02ca9a
uses: erlef/setup-beam@v1 for https://github.com/dwyl/auth/pull/231/#…
nelsonic Dec 7, 2022
ce69e22
Merge branch 'gen-erd-#207' of github.com:dwyl/auth into gen-erd-#207
nelsonic Dec 7, 2022
fa26e06
{:auth_plug, "~> 1.5.1", override: true} #231
nelsonic Dec 7, 2022
526ba9b
add username field to all test records in lib/auth/init/people.ex #242
nelsonic Dec 7, 2022
307c39d
update get_list_of_people/0 to include username #242
nelsonic Dec 7, 2022
e3e9fd8
re-enable "|> Repo.preload(:groups)" in get_person_by_id/1 #220
nelsonic Dec 7, 2022
185ca52
create unique email_hash index #231
nelsonic Dec 11, 2022
ebc6f31
OK. I'm done with this BS
nelsonic Dec 12, 2022
d420c86
Merge branch 'main' into gen-erd-#207
nelsonic Feb 11, 2023
4901bb2
fix merge conflicts during rebase
nelsonic Feb 26, 2023
7a15aee
git rm _archive/priv/repo/migrations/20221211232157_add_person_email_…
nelsonic Feb 26, 2023
af9d12d
mix phx.new auth #207
nelsonic Feb 26, 2023
d2bf137
add excoveralls to track coverage #207
nelsonic Feb 26, 2023
6f6fb03
restore archvied README.md as it contains lots of useful info #207
nelsonic Feb 26, 2023
90086a8
mix phx.gen.auth #207
nelsonic Feb 26, 2023
da0af7e
fix failing tests after mix phx.gen.auth #207
nelsonic Feb 26, 2023
2bbba99
replace people.email (plaintext) with Fields.EmailEncrypted for priva…
nelsonic Mar 9, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions .formatter.exs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
[
import_deps: [:ecto, :phoenix],
inputs: ["*.{ex,exs}", "priv/*/seeds.exs", "{config,lib,test}/**/*.{ex,exs}"],
subdirectories: ["priv/*/migrations"]
import_deps: [:ecto, :ecto_sql, :phoenix],
subdirectories: ["priv/*/migrations"],
plugins: [Phoenix.LiveView.HTMLFormatter],
inputs: ["*.{heex,ex,exs}", "{config,lib,test}/**/*.{heex,ex,exs}", "priv/*/seeds.exs"]
]
7 changes: 3 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ on:
jobs:
build:
name: Build and test
environment: dwylauth
runs-on: ubuntu-latest
services:
postgres:
Expand All @@ -25,10 +24,10 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Set up Elixir
uses: erlef/setup-elixir@885971a72ed1f9240973bd92ab57af8c1aa68f24
uses: erlef/setup-beam@v1
with:
elixir-version: '1.12.3' # Define the elixir version [required]
otp-version: '24.0.2' # Define the OTP version [required]
elixir-version: '1.14.0' # Define the elixir version [required]
otp-version: '24.3.4' # Define the OTP version [required]
- name: Restore dependencies cache
uses: actions/cache@v2
with:
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ auth-*.tar
# /config/prod.secret.exs
.env
.env_prod
.env_demo

.elixir_ls

Expand Down
Loading