Commit Graph

179 Commits

Author SHA1 Message Date
605a2e0509 Implement better auth flow with direct Authentik redirects
- Create custom /login and /logout endpoints that bypass Auth.js default pages
- Use auto-submitting forms to POST to Auth.js with proper form data
- Update UserHeader links to use new custom endpoints (/login, /logout)
- Remove old login/logout page server files that are no longer needed
- Login flow: /login → auto-submit form → /auth/signin/authentik → Authentik
- Logout flow: /logout → auto-submit form → /auth/signout → Authentik logout
- Provides seamless user experience with loading spinners during redirects
- Maintains all Auth.js security features and session management
- Eliminates intermediate Auth.js pages for cleaner auth flow

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-31 21:58:55 +02:00
74dd2b1f4b Update @auth/sveltekit to latest stable version 1.10.0
- Upgraded @auth/sveltekit from 0.14.0 to 1.10.0
- Updated session API from event.locals.getSession() to event.locals.auth()
- Fixed TypeScript definitions for new auth API in app.d.ts
- Updated layout server load functions to use LayoutServerLoad type
- Fixed session callbacks with proper token type casting
- Switched to generic OIDC provider config to resolve issuer validation issues
- All auth functionality now working with latest Auth.js version

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-31 21:45:14 +02:00
c8d879d4f9 Upgrade SvelteKit 4 to SvelteKit 5 with latest dependencies
Major changes:
- Upgraded Svelte from v4 to v5.38.6 (latest stable)
- Upgraded SvelteKit from v2.0.0 to v2.37.0 (latest)
- Upgraded Vite from v5 to v7.1.3 for better performance
- Updated all related packages to latest compatible versions
- Added pnpm as package manager with packageManager field
- Fixed Card.svelte nested anchor tags issue by converting inner links to buttons
- Updated component styling to maintain visual consistency
- Removed incompatible svelte-preprocess-import-assets package

Dependencies updated:
- @sveltejs/kit: ^2.0.0 → ^2.37.0
- @sveltejs/vite-plugin-svelte: ^3.0.0 → ^6.1.3
- svelte: ^4.0.0 → ^5.38.6
- vite: ^5.0.0 → ^7.1.3
- @sveltejs/adapter-auto: ^3.0.0 → ^6.1.0
- @sveltejs/adapter-node: ^2.0.0 → ^5.0.0
- svelte-check: ^3.4.6 → ^4.0.0
- mongoose: ^7.4.0 → ^8.0.0
- sharp: ^0.32.3 → ^0.33.0

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-31 21:01:19 +02:00
d6dce464f7 switch from "Unterwegs" to "Snack" 2025-03-31 17:57:40 +02:00
ecf09b80af fix copilot autocomplete svg messup 2025-02-02 13:09:15 +01:00
81357020f6 fix docs autolink 2025-02-02 13:07:42 +01:00
5b4eb2f282 fix docs autolink 2025-02-02 12:58:34 +01:00
7719b39679 fix for svelte 4 2025-02-02 12:55:33 +01:00
e804bbb93e remove unused health.bocken.org and papers.bocken.org 2025-02-02 12:44:21 +01:00
6ec68d2028 added tips-and-tricks route 2024-10-28 17:00:43 +01:00
5747a1548e fix typo 2024-10-22 17:28:44 +02:00
ba52273816 fix trim() 2024-08-27 18:13:52 +02:00
60c69f4c7b add https://audio.bocken.org 2024-08-27 18:10:31 +02:00
ef12c59c51 trim spaces from short_name, otherwise recipes become unnavigatable if ending on spaces 2024-08-18 21:20:03 +02:00
8147d26025 add forgotten link title for health.bocken.org 2024-08-11 18:38:46 +02:00
d6196404cf add link to health.bocken.org 2024-08-11 18:35:38 +02:00
0e47a2804d fix for not logged in 2024-03-27 22:09:15 +01:00
65ba541e17 conditional redirect for Dokumente 2024-03-27 22:07:49 +01:00
ab49f20d47 add papers 2024-03-22 13:20:49 +01:00
82aadf478b add paperless to links grid 2024-03-18 17:40:47 +01:00
d355f2fc09 emoji font for icon 2024-02-26 12:00:38 +01:00
e725a0430a eager image loading for top recipes on page 2024-02-25 12:54:30 +01:00
0f0321a42d specify emoji font for icons 2024-02-25 11:15:06 +01:00
afdfd4f651 invalidate image cache on /edit properly 2024-02-21 09:38:55 +01:00
c86844afac finally buildable without jwt 2024-02-19 23:38:08 +01:00
c23d742398 remove user admin routes 2024-02-19 23:24:28 +01:00
51fd5c7f01 add recipe counter 2024-02-18 17:35:17 +01:00
387f76e2f1 update links to domain-separated ones 2024-02-18 16:39:12 +01:00
446620b8f5 add forgotten updated api routes 2024-02-18 14:45:01 +01:00
5b34fa7a9c first attempt of img cache invalidation 2024-02-18 14:43:42 +01:00
5fccb2dd15 fix image url 2024-02-15 09:59:49 +01:00
a83293d705 add title metadata to main page, remove link clutter 2024-02-15 04:32:26 +01:00
779dc96967 Correctly display user with pfp if available 2024-02-15 04:28:31 +01:00
ca62e48f7b initial OIDC setup 2024-02-14 16:07:55 +01:00
684a9b54f2 new svgs 2024-02-14 13:44:37 +01:00
83281cd461 add note about recipes login 2024-02-03 13:03:23 +01:00
42a8b607a1 add initial Glaube section 2024-02-01 17:15:51 +01:00
dae31db5d1 add cospend link 2024-01-26 15:51:37 +01:00
8029c8bbee only margin-right in MediaScroller 2024-01-24 11:09:54 +01:00
f2b834108f fix missing nordtheme mvs 2024-01-21 10:36:32 +01:00
36b2500a0d fix typo 2024-01-20 17:41:19 +01:00
38a78e0d0a fix mobile view messing up startpage 2024-01-20 17:23:12 +01:00
32b195ef3c update startpage 2024-01-20 17:09:07 +01:00
a48a14f1cf simplify structure by remove (rezepte) 2024-01-20 16:39:27 +01:00
23eb3f95ce h1 in rezepte/ also center-aligns for larger screens 2024-01-20 10:01:23 +01:00
e091cc02c1 load nordtheme also on rezepte/[name] and rezepte/add 2024-01-20 09:59:14 +01:00
0a7b5a0612 Revert "fix Kategorie -> Stichwörter"
This reverts commit c29e9bb855.
2024-01-20 00:48:21 +01:00
14d352146b fixed tag -> Stichwörter 2024-01-20 00:47:16 +01:00
c29e9bb855 fix Kategorie -> Stichwörter 2024-01-20 00:45:48 +01:00
00c23bcdba dark theme implemented 2024-01-20 00:39:53 +01:00