Commit Graph

57 Commits

Author SHA1 Message Date
2696f09653 feat: add lock icons to restricted links on homepage
All checks were successful
CI / update (push) Successful in 1m10s
Add small lock icons in the top right corner of links that require authentication (streaming, family photos, cloud, shopping, family tree, transmission, documents, and audiobooks). The icons use SVG symbol references for efficient reuse and adapt to dark mode automatically.
2026-01-03 22:49:22 +01:00
f161d8a15d migrate from deprecated slots to snippets and fix event handlers
- Replace deprecated <slot> syntax with modern {#snippet} and {@render} patterns
- Add TypeScript types for snippet props in Header component
- Convert on:click event handlers to onclick attribute throughout
- Update all layout files to use new snippet-based composition pattern
2025-12-27 12:24:30 +01:00
8d5d64a9bd refactor language selector into separate component
Extract language switching functionality from UserHeader into a new
LanguageSelector component. In mobile view, the selector appears in
the top bar next to the hamburger menu. In desktop view, it appears
in the navigation bar to the left of the UserHeader.

- Create LanguageSelector component with local element bindings
- Update Header component with language_selector_mobile and
  language_selector_desktop slots
- Remove language selector code from UserHeader
- Update recipe and main layouts to use new component
- Hide desktop language selector inside mobile hamburger menu
2025-12-27 09:46:04 +01:00
9cd990f1b9 make main landing page bilingual and eliminate language switcher flicker
All checks were successful
CI / update (push) Successful in 1m11s
Replace window.location.reload() with custom event dispatching to avoid
flicker when switching languages on main page. Add bilingual labels for
all content including welcome message and link grid.
2025-12-26 22:45:12 +01:00
6de3d76504 refactor: unify recipe routes into [recipeLang] slug with full bilingual support
Consolidate /rezepte and /recipes routes into single [recipeLang] structure to eliminate code duplication. All pages now use conditional API routing and reactive labels based on language parameter.

- Merge duplicate route structures into /[recipeLang] with 404 for invalid slugs
- Add English API endpoints for search, favorites, tags, and categories
- Implement language dropdown in header with localStorage persistence
- Convert all pages to use Svelte 5 runes (, , )
- Add German-only redirects (301) for add/edit pages
- Make all view pages (list, detail, filters, search, favorites) fully bilingual
- Remove floating language switcher in favor of header dropdown
2025-12-26 21:19:27 +01:00
0541c69a38 switch link to newly developed cospend site 2025-09-12 17:31:04 +02:00
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
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
5747a1548e fix typo 2024-10-22 17:28:44 +02:00
60c69f4c7b add https://audio.bocken.org 2024-08-27 18:10:31 +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
c86844afac finally buildable without jwt 2024-02-19 23:38:08 +01:00
387f76e2f1 update links to domain-separated ones 2024-02-18 16:39:12 +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
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
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
00c23bcdba dark theme implemented 2024-01-20 00:39:53 +01:00
9bc38cf243 update ragu img link 2024-01-01 14:29:30 +01:00
53b525a22f update services list 2023-11-13 13:07:42 +01:00
1a3d486f43 move from new.bocken.org to bocken.org 2023-10-05 10:09:50 +02:00
ed405b0cc4 fix searx url 2023-07-29 14:31:15 +02:00
d6928adcf7 added searx 2023-07-26 23:59:15 +02:00
4ca93af4bb add jellyfin link 2023-07-26 15:16:17 +02:00
c6fb41de6d add payment route + additional starting blocks 2023-07-24 22:57:12 +02:00
a64b3b1697 removed lorem ipsum for git 2023-07-24 20:47:18 +02:00
324a692852 removed lorem ipsum for rezepte 2023-07-24 16:59:06 +02:00
e3b280873d slightly improve logout 2023-07-23 15:39:20 +02:00
eafcb3000f get user from cookie, not locals 2023-07-23 12:29:41 +02:00
f918adf22a change password possible 2023-07-23 12:21:12 +02:00
ce5ceecbe9 fix typo 2023-07-23 10:56:45 +02:00
217e0e6e00 forms updated 2023-07-22 15:04:18 +02:00
e9339d4ba4 move API routes as cleanup 2023-07-22 13:09:06 +02:00