Commit Graph

255 Commits

Author SHA1 Message Date
eadb567069 Fix blank white pages by adding Nord theme styling to auth endpoints
Some checks failed
CI / update (push) Has been cancelled
- Add Nord theme CSS variables to login and logout pages
- Use --nord1 background and --nord4 text colors to match site theme
- Eliminates jarring white flash during authentication flow
- Maintains professional appearance and brand consistency
- Endpoints now blend seamlessly with site's dark theme

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-31 22:06:37 +02:00
7d6226d79a Implement proper page redirects for protected routes
- Update hooks.server.ts to preserve original URL when redirecting to login
- Use callbackUrl parameter to maintain user's intended destination
- Preserve both pathname and search parameters in redirect flow
- Leverage OIDC standard callback URL support built into Auth.js
- Users now land exactly where they intended after authentication
- Works for /rezepte/add, /rezepte/edit/[name], and any future protected routes

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-31 22:04:27 +02:00
28367293e8 Remove ugly spinner pages from auth flow
- Replace loading spinners and styling with minimal HTML pages
- Auth flow now happens almost instantly without visible intermediary screens
- Reduced bundle size for login/logout endpoints (0.59kB and 0.58kB)
- Maintains seamless user experience while preserving Auth.js integration
- Users stay on current page context during auth transitions

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-31 22:02:19 +02:00
9b77640977 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
7f06717615 Revert to clean Authentik provider configuration
- Use official Authentik provider instead of generic OIDC
- Issue was resolved by fixing callback URL in Authentik configuration
- Cleaner and more maintainable auth setup

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-31 21:46:19 +02:00
4f34ff5329 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
69e719780c Card.svelte: fix top-right icon offset 2025-08-31 21:09:34 +02:00
e2a76d4080 Fix Card.svelte icon positioning and styling
- Restored icon to top-right position with absolute positioning
- Added proper circular background with nord0 color
- Set correct dimensions (50px × 50px) and border-radius for circular shape
- Added shadow and hover effects to match original design
- Fixed z-index to ensure icon appears above other elements
- Maintained shake animation on card hover for visual feedback

The icon now appears correctly in the top-right corner with a round
background instead of being positioned at bottom center with transparent
background.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-31 21:07:10 +02:00
b847b8f1c8 Add missing Payment model and database connection utilities
- Created Payment model with mongoose schema for cospend functionality
- Added database connection utilities with proper connection caching
- Fixed build errors related to missing imports
- Build now succeeds and dev server starts correctly

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-31 21:03:15 +02:00
b861f9aeec 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
dd71832b10 switch from "Unterwegs" to "Snack"
All checks were successful
CI / update (push) Successful in 49s
2025-03-31 17:57:40 +02:00
ce7a542408 fix copilot autocomplete svg messup
All checks were successful
CI / update (push) Successful in 15s
2025-02-02 13:09:15 +01:00
86225d3237 fix docs autolink
All checks were successful
CI / update (push) Successful in 16s
2025-02-02 13:07:42 +01:00
18a5241c1e fix docs autolink
All checks were successful
CI / update (push) Successful in 15s
2025-02-02 12:58:34 +01:00
17a5d6155d fix for svelte 4
All checks were successful
CI / update (push) Successful in 15s
2025-02-02 12:55:33 +01:00
15bf4fd922 remove unused health.bocken.org and papers.bocken.org
All checks were successful
CI / update (push) Successful in 1m26s
2025-02-02 12:44:21 +01:00
aab1f7da9a added tips-and-tricks route
All checks were successful
CI / update (push) Successful in 19s
2024-10-28 17:00:43 +01:00
367ea7a17e render HTML in Recipe Card description
All checks were successful
CI / update (push) Successful in 17s
2024-10-22 17:29:29 +02:00
154a8f5efe fix typo 2024-10-22 17:28:44 +02:00
87768b539f fix trim()
All checks were successful
CI / update (push) Successful in 14s
2024-08-27 18:13:52 +02:00
470a74099f add https://audio.bocken.org
All checks were successful
CI / update (push) Successful in 8s
2024-08-27 18:10:31 +02:00
1dd47824c7 trim spaces from short_name, otherwise recipes become unnavigatable if ending on spaces
All checks were successful
CI / update (push) Successful in 7s
2024-08-18 21:20:03 +02:00
176ffae32c jellyfin: markers correct color
All checks were successful
CI / update (push) Successful in 16s
2024-08-17 13:16:51 +02:00
2523ca3d31 add forgotten link title for health.bocken.org
All checks were successful
CI / update (push) Successful in 13s
2024-08-11 18:38:46 +02:00
c82b3334c3 add link to health.bocken.org
All checks were successful
CI / update (push) Successful in 13s
2024-08-11 18:35:38 +02:00
b1e05888c9 bump packages
All checks were successful
CI / update (push) Successful in 14s
2024-07-30 14:50:52 +02:00
b6e61caa29 no crawling of /static/
All checks were successful
CI / update (push) Successful in 14s
2024-07-30 14:08:41 +02:00
aeee16078d disallow GPTBot/Openai from crawling website
All checks were successful
CI / update (push) Successful in 1m7s
2024-07-30 14:03:32 +02:00
a1460f5ee3 worker: change to new service name
All checks were successful
CI / update (push) Successful in 31s
2024-06-22 09:27:28 +02:00
c10f622a78 jellyinf: correct theming for progress ticks
Some checks failed
CI / update (push) Failing after 36s
2024-06-22 09:23:57 +02:00
78925d287c fix for not logged in
All checks were successful
CI / update (push) Successful in 16s
2024-03-27 22:09:15 +01:00
a5020be145 conditional redirect for Dokumente
All checks were successful
CI / update (push) Successful in 19s
2024-03-27 22:07:49 +01:00
a1d7420d09 add action to build on push
All checks were successful
CI / update (push) Successful in 14s
2024-03-22 14:54:58 +01:00
8d50e84488 add papers 2024-03-22 13:20:49 +01:00
632be44fe8 update jellyfin css to current state 2024-03-19 10:49:37 +01:00
dda25edd4b add paperless to links grid 2024-03-18 17:40:47 +01:00
3db9f01e1b bump @auth/sveltekit to 0.14.0 2024-03-09 13:52:11 +01:00
b71a7072e7 Render html also in edit panels 2024-03-02 12:38:03 +01:00
5ee48fa733 emoji font for icon 2024-02-26 12:00:38 +01:00
abddf4b201 eager image loading for top recipes on page 2024-02-25 12:54:30 +01:00
b4dc4d194f specify emoji font for icons 2024-02-25 11:15:06 +01:00
687063f216 update multiplier on navgation 2024-02-21 13:47:30 +01:00
0bfbb6da10 apply ingredient amount to multiplier 2024-02-21 13:26:27 +01:00
8b5e089792 attempt to fix rand_array() 2024-02-21 10:29:17 +01:00
bda44e4647 invalidate image cache on /edit properly 2024-02-21 09:38:55 +01:00
68973dbec7 "fix" symbol in header on mobile 2024-02-20 20:27:33 +01:00
5cf21c7d75 finally buildable without jwt 2024-02-19 23:38:08 +01:00
c22a7f0e99 remove user admin routes 2024-02-19 23:24:28 +01:00
4fdfacd7be simplify boolean assignemnt 2024-02-19 23:22:29 +01:00
db391bc383 remove Users from db 2024-02-19 23:18:31 +01:00