Commit Graph
168 Commits
Author SHA1 Message Date
lexxandClaude Opus 5.5 f9b2756456 Merge branch 'feature/core-mode-guard' into caching-transition
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-06 18:48:18 +02:00
lexx eed538964e Merge branch 'chore/claude-plugins' into caching-transition
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

# Conflicts:
#	package-lock.json
2026-11-06 18:48:18 +02:00
lexxandClaude Opus 5.5 5ea33a0857 Feature: block commits of boboko-core local-mode wiring
bin/check-core-mode runs as a pre-commit hook and refuses staged
composer.json, package.json or lockfiles that point at ../boboko-core,
which would break the build for everyone. bin/core-mode enables it via
core.hooksPath on first use, since git doesn't version hooks.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-06 15:57:38 +02:00
lexxandClaude Opus 5.5 2d42d83851 Chore: enable re-skills Claude Code plugins at project scope
Shared project settings now only enable plugins from the re-skills
marketplace. Personal permissions belong in .claude/settings.local.json,
which is now gitignored.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-06 14:00:00 +02:00
elvira d5dc3290cf boboko core v 2026-11-03 21:29:05 +02:00
elvira efc2576c9e Merge branch 'master' into caching-transition 2026-11-03 21:26:34 +02:00
elviraandClaude Opus 5.5 4e4a02c4ed Checkout: theme cart and checkout to the v2 design
Restyles the boboko-core cart drawer, checkout and confirmation pages to
match the "cart - checkout v2" Pencil design (round radios, brand-green
selection, borders removed, larger notes and meta labels). strip-accents
now covers the module's uppercased buttons; vite.config.js comment fixed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 21:26:28 +02:00
elviraandClaude Opus 5.5 0e7fbaf504 Docs: caching transition roadmap (delete once the transition is done)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 21:24:09 +02:00
elviraandClaude Opus 5.5 0a516fa681 Deps: update composer packages, Filament assets and @boboko/core 0.31.3
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 21:24:03 +02:00
elviraandClaude Opus 5.5 f7e42f1056 Deps: update packages resolved by the dev entrypoint
docker/entrypoint.sh runs `composer update "boboko/*"
--with-all-dependencies` on boot; this is what it resolved, about 55
packages. boboko/core itself is unchanged. Mostly patch releases,
notably:
- laravel/framework v12.70.0 -> v12.70.2
- filament/* v4.15.2 -> v4.16.0 (published assets in public/ updated)
- livewire/livewire v3.8.10 -> v3.8.11
- stripe/stripe-php v16.6.0 -> v16.6.1
- spatie/laravel-medialibrary 11.23.10 -> 11.23.11
- symfony/* 7.4.x/8.1.x patch releases

Kept separate from the Caddy commit so it's easy to revert. Click
through the admin panel and a Stripe test checkout before deploying.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 01:53:45 +02:00
elviraandClaude Opus 5.5 6d88d53882 Infra: Caddy instead of nginx (plain swap, TLS stays in front)
Caddy 2.11.7 built with xcaddy, with caddy-ratelimit pinned to commit
5625512f (for M3/F7 later; its only tag is years old). Prod bakes
public/ and the config into the image (target caddy); dev uses the
caddy-base stage with docker/caddy and public/ bind-mounted.

It's a 1:1 swap for the host's TLS proxy: plain HTTP on
127.0.0.1:${APP_PORT:-8090}, auto_https off, and
trusted_proxies private_ranges so the proxy's X-Forwarded-* headers
still reach Laravel (checked: https + forwarded host in redirects, as
before). Narrow that range once it's known where TLS ends.

Carried over from nginx:
- php_fastcgi to app:9000, 300s read timeout, try_files to index.php
- /build, /static, /packages and /storage (from the storage volume)
  with Cache-Control "public, max-age=31536000, immutable"
- /sitemap.xml from storage/app, max-age=3600, application/xml
- X-Frame-Options SAMEORIGIN + X-Content-Type-Options nosniff
- 100 MiB upload limit (413 above, as before)
- dotfiles denied except /.well-known/
- /stoic/ proxied to stoic:2727, prefix stripped, cookie paths
  rewritten to /stoic/
- access log to stdout, favicon/robots not logged

Changed on purpose:
- FastCGI page cache dropped (and X-Cache-Status with it). The static
  page cache comes later (P2). It also replayed the first visitor's
  Set-Cookie (session + XSRF) to other guests, since it ignored
  Set-Cookie and keyed on URL only.
- New: zstd/gzip compression for text responses (nginx had none).
- Security headers now on every response; prod nginx dropped them on
  PHP responses and on 4xx/5xx.
- A missing file under the static paths is a plain 404 instead of
  Laravel's page with a 404 status.
- No Via or CGI Status header; one Content-Type on the sitemap (nginx
  sent two).
- Dropped as unneeded: open_file_cache, fastcgi buffers/keepalive,
  `charset utf-8` (Caddy's MIME types carry it where it matters).

Stoic's dev config called the app at http://nginx/validate; it's now
http://caddy/validate. bootstrap/app.php and .env.example comments
updated. docker/nginx/ is removed.

Not in this repo, not changed: boboko-test and the boboko starter
still use nginx.

Deploy note: the service is renamed nginx -> caddy; Envoy's
`up -d --remove-orphans` removes the old nginx container. Expect a few
seconds without a listener on 8090 while it swaps.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 01:01:13 +02:00
elviraandClaude Opus 5.5 f0a1b928dd Reviews: submit without a redirect, answered with Turbo Streams
The review form now submits through Turbo (data-turbo="true"; Drive
stays off) and storeReview answers with Turbo Streams instead of a
redirect with flashed data:
- success: the new review is prepended to the list (same Blade partial
  as the existing ones), the empty message is removed, the stars/count
  under the title and the tab label are updated (count and average from
  the DB, which is what the index builds them from), the form is removed
  and the thank-you goes into a live region and gets focus
- validation error: 422 + a stream that replaces the form with inline
  errors (aria-invalid/aria-describedby) and the entered values, focus on
  the first invalid field

Nothing on the product page reads the session any more: no
session('reviewSubmitted'), old() or $errors, and
mergeJustSubmittedReview and the justSubmittedReview flash are gone.
searchableSync() stays.

Without JS it's a plain POST that redirects back to ?tab=reviews,
without inline errors or the thank-you, and the new review shows once
Meilisearch catches up. The ?tab=reviews query parameter is noted in
the controller as a variant to handle once product pages are cached.

New: product/partials/review, product/partials/rating-summary,
product/streams/review-stored|review-invalid, and a small
focus-on-connect Stimulus controller that only appears on streamed
markup.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 00:09:58 +02:00
elviraandClaude Opus 5.5 c1acc0067c Layout: Speculation Rules, prerender on hover
A <script type="speculationrules"> in the layout prerenders same-origin
links with eagerness "moderate" (hover or press). Excluded:
- cart, checkout, account, login, logout, wishlist, contact and the
  future /islands, plus the admin (/boboko) and /stoic
- rel~=nofollow and [data-no-prerender]
- listing controls that load into a Turbo Frame (sort, filters,
  pagination): links inside a <turbo-frame> or pointing at one, unless
  they break out with data-turbo-frame="_top" like the product cards

Contact is excluded too, though the task didn't list it: it's a session
page with hCaptcha.

GA4 and a consent banner aren't in this repo, so no page-view delay on
document.prerendering is needed yet. Add one when they're added.

Watch production FPM after this deploy: until pages are cached, every
prerender is a full PHP render, and there are only 8 FPM workers.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 00:05:50 +02:00
elviraandClaude Opus 5.5 bad5a7db69 CSS: cross-document View Transitions
@view-transition { navigation: auto } inside prefers-reduced-motion:
no-preference, so page changes cross-fade in supporting browsers and
stay instant for visitors who ask for less motion. Turbo Frame listing
updates aren't document navigations and are unaffected.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 00:03:32 +02:00
elviraandClaude Opus 5.5 1ff55ac015 Deploy: turn view:cache back on
It was commented out by mistake. Same < /dev/null as its neighbours.
It compiles every view (vendor ones too) and runs cleanly locally, so no
views needed fixing.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 00:02:51 +02:00
elviraandClaude Opus 5.5 702609da1e Header: account and wishlist links no longer depend on login
Both links are now the same for every visitor, so the header can be
cached:
- Account always goes to route('account'); the auth middleware sends
  guests to login, and after login they land back on the account page
  (url.intended) instead of home.
- Wishlist always goes to route('wishlist'); WishlistController::guest
  already redirects logged-in users to account.wishlist.
- One neutral label, storefront.nav.account, on desktop and mobile.

header.blade.php no longer calls auth().

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 00:02:34 +02:00
elviraandClaude Opus 5.5 4fc7880187 Markup: stable island targets for wishlist, account link and CSRF meta
- x-wishlist-button gets data-wishlist-product on its form root; the
  server-rendered aria-pressed stays for now.
- Both header account links (desktop and mobile menu) share
  [data-account-link].
- The CSRF meta tag gets id="csrf-token".

No visible change.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 00:01:42 +02:00
elviraandClaude Opus 5.5 6948c134e3 Header: give the cart badge a stable id for islands
The badge is absolute inside the fixed-size cart button, so showing it
or growing from 1 to 2 digits doesn't move the header. Adds #cart-badge
as a Turbo Stream target and records the rule that no island may change
the size of its container. cart-count-controller is unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 00:01:21 +02:00
elviraandClaude Opus 5.5 e4dccd0205 Contact: add privacy notice above the captcha
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-27 12:19:29 +02:00
elviraandClaude Opus 5.5 d31b423f2a Nav: move FAQ before Contact
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-27 12:19:29 +02:00
elviraandClaude Opus 5.5 87ff1c477f FAQ: animate answers open and closed
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-27 12:19:29 +02:00
elviraandClaude Opus 5.5 fb239a97cb Breadcrumbs: always start at Home, full category trail, BreadcrumbList JSON-LD
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-27 12:19:29 +02:00
elvira 9d7f92ebfc search console verification 2026-10-27 12:10:12 +02:00
elviraandClaude Opus 5.5 fff84f9a43 Send noindex, nofollow unless APP_INDEXABLE=true
Staging was crawlable. Opt-in flag rather than APP_ENV, since staging
runs with APP_ENV=production too. Set APP_INDEXABLE=true on the live
site only.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-27 12:07:20 +02:00
elvira b2f53ea952 improvements on faq page 2026-10-26 16:24:34 +02:00
elvira 1e4da2c8cc faq page 2026-10-26 16:06:55 +02:00
elvira 50ec0eebf2 temporary image handling and some responsive 2026-10-24 00:51:38 +03:00
elvira 0ae5f49bcf responsive design 2026-10-24 00:20:57 +03:00
elvira 9217960de0 Feat: Live search accessibility, no-results message and View all styling 2026-10-23 20:59:23 +03:00
arvanitakis d1d27a9ebd Chore: Bumping boboko/core to 0.31.1 2026-10-19 17:34:33 +03:00
arvanitakis 3bd8ce5aee Rebuilding css and js assets 2026-10-19 17:33:22 +03:00
arvanitakis 4f56edc4fc Feat: Adding Search prefixes to homepage search 2026-10-19 17:32:35 +03:00
arvanitakis 623851bd70 Adding elta-logo.png 2026-10-01 01:54:27 +03:00
arvanitakis 39eda9726d Chore: Bumping boboko/core to 0.31.0 2026-10-01 01:54:04 +03:00
arvanitakis f718ba57bc Chore: Bumping boboko/core to 0.30.0 2026-09-30 22:02:45 +03:00
arvanitakis 1de5668032 Chore: Bumping boboko/core to 0.29.3 2026-09-30 20:59:23 +03:00
arvanitakis 35bf421da8 Chore: Bumping boboko/core to 0.29.2 2026-09-30 19:51:59 +03:00
arvanitakis a7cdfbd1cb Feat: Order Controller updates 2026-09-30 19:50:03 +03:00
arvanitakis 92016256ce Feat: Adding core-mode and deploy scripts 2026-09-30 12:17:52 +03:00
arvanitakis b96fb2800f Chore: Bumping boboko/core to 0.28.0 2026-09-30 12:12:41 +03:00
arvanitakis d16ddd15eb Chore: Bumping boboko/core to 0.27.5 2026-09-30 11:39:09 +03:00
arvanitakis aff53371d9 Feat: Adding SESSION_SECURE_COOKIE for auth 2026-09-30 11:34:33 +03:00
arvanitakis 425510fb16 Fix: Updates on Middlewares, User hiding fields 2026-09-30 11:34:14 +03:00
arvanitakis e3f9b3deb1 Fix: Adding trust proxies, since file downloading cannot work, traffic in Laravel is plain HTTP, the file signed-route generation throws 401 2026-09-30 09:48:12 +03:00
elvira 72ff4e5c76 checkout css updates but still wip 2026-09-29 21:38:44 +03:00
elvira 5482ac07c6 removed repeated product text from view and added styling to trace it within product description 2026-09-29 19:23:40 +03:00
elvira 7e38f05650 product page: only show up down arrows when not all thumbnails are visible 2026-09-29 19:16:07 +03:00
arvanitakis df29429257 Fix: Adding new production nginx config 2026-09-29 17:34:08 +03:00
arvanitakis f6bcd31bd8 FIx: Reverting back root for stoic 2026-09-29 16:50:01 +03:00
arvanitakis 77c9117556 Fix: Removing root privileges from stoic, creating and giving 777 to stoic folder 2026-09-29 16:42:59 +03:00