Commit Graph

21 Commits

Author SHA1 Message Date
595b805722 trips) add playwright e2e flows and issue video upload guidance
All checks were successful
PR Checks / lint-test-and-docker-build (pull_request) Successful in 2m27s
2026-02-22 16:16:47 -05:00
4b06ecfa22 test(login): update test to expect /callback/local and assert callbackUrl
All checks were successful
PR Checks / lint-test-and-docker-build (pull_request) Successful in 2m12s
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-22 15:04:54 -05:00
f4c5ee1f8f feat(admin/users): show all auth sources when a user has multiple credentials
Some checks failed
PR Checks / lint-test-and-docker-build (pull_request) Failing after 1m0s
listUsers() now LEFT JOINs local_credentials and returns has_local_credentials.
The auth source cell renders both the primary auth_source badge and a secondary
Local badge when an OIDC user also has local credentials set.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-22 15:02:40 -05:00
67648a5ba4 fix(login): post local credentials to /auth/callback/local not /signin/local
Some checks failed
PR Checks / lint-test-and-docker-build (pull_request) Failing after 1m3s
The Credentials provider in Auth.js processes credentials at the
/callback/:provider endpoint, not /signin/:provider. Posting to
/signin/local hits a code path that just redirects back to the Auth.js
built-in sign-in page. Changing to /callback/local routes the form
submission to the correct handler.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-22 14:57:54 -05:00
348aac996d fix(login): pass callbackUrl so local auth redirects to app after sign-in
All checks were successful
PR Checks / lint-test-and-docker-build (pull_request) Successful in 2m15s
After a successful Credentials sign-in, Auth.js was redirecting to its
own built-in /auth/signin page because no callbackUrl was provided.
Add a callbackUrl hidden field (pointing to the app root) so Auth.js
redirects back to the application after local login completes.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-22 14:53:45 -05:00
345da2ef7a fix(admin/users): convert Svelte 4 event syntax to Svelte 5
All checks were successful
PR Checks / lint-test-and-docker-build (pull_request) Successful in 2m15s
Replace `on:keydown` with `onkeydown` and `onsubmit|preventDefault`
with inline handlers calling `e.preventDefault()` to fix compilation
errors caused by mixing old and new Svelte event syntax.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-22 14:46:51 -05:00
5c7bae61b5 admin) manage local login users
Some checks failed
PR Checks / lint-test-and-docker-build (pull_request) Failing after 1m2s
2026-02-22 19:36:11 +00:00
fc8e80186d Add local authentication option (#37)
All checks were successful
Build and Push Image / docker-build-and-push (push) Successful in 2m20s
Co-authored-by: Shaun Campbell <shaun@campbellwireless.net>
Reviewed-on: #37
Co-authored-by: AI Agent <ai-agent@campbellwireless.net>
Co-committed-by: AI Agent <ai-agent@campbellwireless.net>
2026-02-22 05:17:45 +00:00
42fe36ca86 admin) User management admin page (#35)
All checks were successful
Build and Push Image / docker-build-and-push (push) Successful in 2m20s
Reviewed-on: #35
Reviewed-by: shaun <shaun@campbellwireless.net>
Co-authored-by: AI Agent <ai-agent@campbellwireless.net>
Co-committed-by: AI Agent <ai-agent@campbellwireless.net>
2026-02-22 04:26:16 +00:00
4b3af5e947 trips) portainer API deploy + preflight checks (#5)
All checks were successful
Build and Push Image / docker-build-and-push (push) Successful in 2m25s
- Switch CI deploy step from Portainer webhook to Portainer API (CE-compatible)
- Add manual workflow trigger (`workflow_dispatch`)
- Add preflight checks for Portainer auth, endpoint ID, and stack ID before redeploy
- Update README with required secrets and deploy flow

Reviewed-on: #5
Co-authored-by: Shaun Campbell <shaun@campbellwireless.net>
Co-committed-by: Shaun Campbell <shaun@campbellwireless.net>
2026-02-21 06:20:51 +00:00
5101129f23 ci) updating docker registry to use registry.campbellwireless.net
All checks were successful
Build and Push Image / docker-build-and-push (push) Successful in 2m2s
2026-02-21 00:18:56 -05:00
bfe2e91dee ci) Updating docker registry host (#4)
All checks were successful
Build and Push Image / docker-build-and-push (push) Successful in 1m50s
Reviewed-on: #4
Co-authored-by: Shaun Campbell <shaun@campbellwireless.net>
Co-committed-by: Shaun Campbell <shaun@campbellwireless.net>
2026-02-21 05:12:16 +00:00
cc78d99326 ci) Updating docker container URI (#3)
All checks were successful
Build and Push Image / docker-build-and-push (push) Successful in 1m47s
Reviewed-on: #3
Co-authored-by: Shaun Campbell <shaun@campbellwireless.net>
Co-committed-by: Shaun Campbell <shaun@campbellwireless.net>
2026-02-21 04:50:46 +00:00
d9aab48906 ci) Updating merge image task (#2)
Some checks failed
Build and Push Image / docker-build-and-push (push) Failing after 1m48s
Reviewed-on: CampbellWireless/trips#2
Co-authored-by: Shaun Campbell <shaun@campbellwireless.net>
Co-committed-by: Shaun Campbell <shaun@campbellwireless.net>
2026-02-21 04:40:42 +00:00
b453821d3f ci) add gitea actions and refresh readme (#1)
Some checks failed
Build and Push Image / docker-build-and-push (push) Failing after 2m13s
Summary:\n- replace scaffold README with project-specific setup, testing, Docker, and CI docs\n- add PR workflow to run lint, unit tests, app build, and Docker build\n- add main-branch workflow to build and push Docker images to Gitea registry\n\nNotes:\n- publish workflow expects REGISTRY_USERNAME and REGISTRY_PASSWORD repository secrets\n- image tags pushed: latest and short commit SHA\n\nTesting:\n- not run locally (workflows execute in Gitea Actions)
Reviewed-on: CampbellWireless/trips#1
Co-authored-by: Shaun Campbell <shaun@campbellwireless.net>
Co-committed-by: Shaun Campbell <shaun@campbellwireless.net>
2026-02-21 04:33:47 +00:00
a348fb034d trips) adding transportation, checklist, and experience planning 2026-02-20 19:47:51 -05:00
cf2fd658f1 tour-operators) sharing add/edit lodging across admin and user facing side 2026-02-19 18:09:20 -05:00
18f9bbfbd7 package-tours) adding support for pre-defining tours 2026-02-19 16:39:58 -05:00
dba9aa0416 trips) adding package-tours option 2026-02-19 13:08:25 -05:00
50e216daec trip) adding support for lodgings 2026-02-18 23:17:34 -05:00
1068145261 trips) adding initial commit 2026-02-18 20:23:34 -05:00