Commit Graph

95 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
36bdb0d65c Card.svelte: fix top-right icon offset 2025-08-31 21:09:34 +02:00
22ddee4942 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
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
f69310dfec render HTML in Recipe Card description 2024-10-22 17:29:29 +02:00
af2763e64f Render html also in edit panels 2024-03-02 12:38:03 +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
913e76ab9c update multiplier on navgation 2024-02-21 13:47:30 +01:00
0275ddb596 apply ingredient amount to multiplier 2024-02-21 13:26:27 +01:00
683967932b "fix" symbol in header on mobile 2024-02-20 20:27:33 +01:00
8d62bc4213 simplify boolean assignemnt 2024-02-19 23:22:29 +01:00
d1587a3672 move globals out of component into css file 2024-02-18 23:34:14 +01:00
5382ed1091 do not display placeholder image in edit/adding recipe 2024-02-18 19:58:20 +01:00
5eede48406 first attempt in disabling image coursel on redirect 2024-02-18 19:53:47 +01:00
5b34fa7a9c first attempt of img cache invalidation 2024-02-18 14:43:42 +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
42a8b607a1 add initial Glaube section 2024-02-01 17:15:51 +01:00
8029c8bbee only margin-right in MediaScroller 2024-01-24 11:09:54 +01:00
e37842114a Search: enable click only result 2024-01-22 16:04:58 +01:00
d5edf25393 fix weird shift in Cards due to double insertion of <a> tag on server 2024-01-22 15:09:08 +01:00
f6887af97a Card.svelte: placeholder image also blurred if JS disabled 2024-01-22 14:53:26 +01:00
74b9de25fb fix Search 2024-01-22 14:47:22 +01:00
df4a3763c1 no blurred image if JS disabled 2024-01-22 14:43:52 +01:00
7dcd495e0c Card is now fully loaded in itself
No longer do we have this weird shift of the description to the right of
the Card until some magical JS is loaded to fix it.
Not yet perfect: The now wrapping a-tag is for some reason still weirdly
sent to client until some js cleans it up. Currently results in a too
large gap which is fixed by local js.

Still TODO: do not blur images if no js present
2024-01-22 14:13:56 +01:00
8f53f66286 Card.svelte: get rid of :has() and Firefox-specific hacks 2024-01-22 12:40:55 +01:00
895c5c5157 slightly improve js-free Card rendering 2024-01-21 10:34:23 +01:00
3ebd48f480 fix Login/PFP falling below viewport 2024-01-20 17:49:20 +01:00
2b18b377c0 Header: add box-shadow 2024-01-20 16:29:47 +01:00
00c23bcdba dark theme implemented 2024-01-20 00:39:53 +01:00
a2e443c150 Search: temporarily disable auto-scroll 2024-01-10 11:03:41 +01:00
140a9347e0 remove shys from Search 2024-01-10 10:55:59 +01:00
6fe881c6fc force line-wrap test 2023-12-30 12:41:25 +01:00
156736477e add multiplier url parameter 2023-12-28 14:20:19 +01:00
01c79545b3 initial move entries setup 2023-12-11 21:32:16 +01:00
52e1a1c38f reimplement click_only_result option, scroll results into view 2023-11-21 00:44:17 +01:00
055ff5124c remove scrollers without results on search 2023-11-08 20:28:13 +01:00
6812a90fad Safari and Firefox render cards correctly 2023-10-19 14:04:44 +02:00
2da2218520 actually render correctly for FF 2023-10-19 13:45:12 +02:00
4b5ad61aac title image correctly aligned on firefox 2023-10-19 13:31:16 +02:00
1a3d486f43 move from new.bocken.org to bocken.org 2023-10-05 10:09:50 +02:00
9eab9a5553 finally fix symbol on mobile 2023-10-04 22:53:03 +02:00
4619bad460 update favicon and Symbol to more minimal version 2023-10-03 09:13:10 +02:00
038d05f8dd update symbol 2023-08-21 21:45:09 +02:00
c6fb41de6d add payment route + additional starting blocks 2023-07-24 22:57:12 +02:00
2ceb8ef864 fix mess-up on hover 2023-07-23 12:48:12 +02:00
f918adf22a change password possible 2023-07-23 12:21:12 +02:00
f9be95b91e menu closes when clicking somwhere else 2023-07-22 13:12:45 +02:00
1b66f88e81 show username 2023-07-21 12:43:30 +02:00