• v1.1.4 689962c96a

    UltimateByte released this 2026-05-21 03:13:07 +02:00 | 42 commits to main since this release

    Snappier self-update checks

    • Update cache TTL: 12h → 1h. New GitHub releases now surface to the WordPress Updates screen within an hour instead of half a day. Still well clear of GitHub's 60 req/h unauthenticated rate limit, even on shared hosting where multiple sites share an outbound IP.
    • Force-refresh on admin intent. Clicking "Check again" on the Updates page (?force-check=1), or simply landing on update-core.php, now bypasses the plugin's release cache for that one request. Matches the behavior of WordPress core's own update checks — no more "I just pushed a release, why isn't it showing?" friction.

    Install / update: download lrob-calendar-1.1.4.zip below, or wait up to an hour for the in-dashboard update to appear automatically (sites already on v1.1.3+ will pick this up via the built-in updater).

    Downloads
  • v1.1.3 17cd18a923

    UltimateByte released this 2026-05-16 18:31:18 +02:00 | 43 commits to main since this release

    Four fixes from the v1.1.2 demo round.

    Backslash bug in event field saves

    Every text field on the event editor (venue, address, contact name, cost, …) used to gain a \ before apostrophes and quotes on save, and slashes accumulated on re-save (Université d'Orléans → Université d\'Orléans → Université d\\\'Orléans…). Cause: WordPress emulates legacy magic-quotes on $_POST, but the meta-box save handler didn't wp_unslash() before sanitizing. Fixed across the whole save path including the RRULE builder. Existing slashed values clean themselves with one re-save per affected event.

    Icon alignment in meta rows

    Meta-row icons (location, date, contact, …) now top-align with the first line of the label instead of vertically centering against multi-line blocks (full address, date + time stack). Before, the location pin floated visually in the middle of a four-line address — looked like it belonged to the third line specifically. Now it labels the whole block from the top. 1px nudge keeps single-line items visually centered.

    "Show more" toggle missing on long descriptions

    The excerpt-clamp overflow check ran once at DOMContentLoaded, but webfonts typically load after and reflow text taller. Early measurement said "fits", stripped the clampable class, user saw fade-clipped text with no way to expand. Now re-measures on document.fonts.ready and window.load, with a finalization pass that adds late-blooming toggles or drops the fade gradient on items that really do fit.

    Popup description parity between blocks

    Clicking an event from the calendar popup used to show only the trimmed excerpt, while the events-list popup showed the full content — same shared module, different payload (descriptionHtml was only attached on the events-list code path). format_event_for_client() now always ships descriptionHtml, so both blocks render identically.

    Install / update

    Sites running v1.1.1+ should see this update directly in the WordPress dashboard within 12h (or immediately if you clear the lrob_calendar_gh_release transient). Otherwise download lrob-calendar-1.1.3.zip below and upload via WP Admin → Plugins → Add New → Upload Plugin.

    Downloads
  • v1.1.2 ffe78f9ee7

    UltimateByte released this 2026-05-16 13:22:42 +02:00 | 44 commits to main since this release

    Surfaces the data you enter and adds quality-of-life tools for previews and branding.

    Popup card

    • Full address (venue, street, postal code + city, region, country) and full contact block (name, email, phone, website) as separate icon rows. Previously only venue + city were visible in popups; contact info was only on the dedicated single-event page.
    • Contact items grouped with tighter row gap so name + email + phone + website read as one cohesive contact card.

    Events list rows

    • Two new editor sidebar controls: "Location" (Full / Compact / None) and "Contact info" (Full / Compact / None). Both default to Full — if you took the time to fill the info, it shows.
    • Time of day stacks under the date instead of joining inline with a separator. Same treatment as the popup.
    • Contact items grouped in a sub-flex container so they cluster rather than scatter among unrelated meta items.
    • "View details" button is now the default descriptionMode (was inline). Lean rows + full info in the popup is the better default for most calendars.

    New install defaults

    • Public event pages OFF by default for new installs. Most calendars are embedded in pages; standalone /event/foo URLs were creating duplicate-content situations on small sites. Existing installs are unaffected (the setting is only set on first activation when the option doesn't yet exist).

    Demo events generator

    • Settings → "Demo events" → "Insert demo events" creates a handful of realistic WordPress + hosting themed sample events spread across the current + upcoming month (workshop, webinar, multi-day WordCamp, weekly recurring support, instant announcement, planned maintenance).
    • All copy goes through __() so demo events render in the site's locale (English source, French shipped, others fall back).
    • Locations and copy reference Orléans throughout (LRob's hometown).
    • Clean titles — no [DEMO] prefix. Disclaimer + link to lrob.fr lives in the description only.
    • Warns if events already exist; requires an explicit confirmation checkbox to proceed.

    Branding toggle

    • Small "© Calendar by LRob" credit at the bottom of each block, linking back to the plugin page. On by default. Disable freely from Settings → Appearance → "Branding".

    Uninstall safety

    • Uninstall is now a no-op. Removing the plugin from the WP admin used to silently drop every event, custom table and option. Now it leaves everything in place — re-installing later picks up where you left off. Manual cleanup remains possible by dropping the three {prefix}lrob_* tables and lrob_calendar_* options.

    Install / update

    Sites running v1.1.1+ should see this update directly in the WordPress dashboard (auto-update from GitHub). Otherwise, download lrob-calendar-1.1.2.zip below and upload via WP Admin → Plugins → Add New → Upload Plugin.

    Downloads
  • v1.1.1 1b77febc29

    UltimateByte released this 2026-05-15 22:16:02 +02:00 | 45 commits to main since this release

    The plugin now updates itself from GitHub releases. After this version is installed, future releases will show up in your WordPress dashboard as standard update notices — no manual zip upload needed.

    How it works

    A new LRob_Calendar_Updater class (no external library, ~200 lines) hooks two WordPress filters:

    • pre_set_site_transient_update_plugins — when WordPress checks for plugin updates, the updater hits api.github.com/repos/LRob-FR/wp-lrob-calendar/releases/latest, compares the release's tag_name to LROB_CALENDAR_VERSION, and injects the release-zip URL into the update transient when a newer version is available.
    • plugins_api — the "View version details" modal pulls the release info from GitHub, with the release body rendered from Markdown into HTML for the changelog.

    The GitHub API response is cached in a WordPress transient (12 hours on success, 1 hour on failure), well clear of GitHub's 60 req/hour unauthenticated rate limit even on shared hosting where many sites share an outbound IP.

    The updater loads on every request — not just admin — so WP-cron-driven update checks and WP-CLI invocations (like Plesk's WordPress Toolkit nightly scan) also pick up new releases.

    Compatibility

    • Standard WordPress "Updates" page: ✅
    • Auto-update toggle in the Plugins list: ✅
    • WP-CLI (wp plugin update): ✅
    • Plesk WordPress Toolkit nightly scans: ✅ (uses WP-CLI under the hood)
    • Plesk's "Smart Updates" (visual diff) feature: probably bypassed (that feature is wp.org-only), but regular auto-updates still apply.

    Install

    Same as before: download lrob-calendar-1.1.1.zip below and upload via WP Admin → Plugins → Add New → Upload Plugin. This is the last time you'll need to do that manually — future releases will surface as in-dashboard updates.

    Downloads
  • v1.1.0 1ef4c4eb2d

    UltimateByte released this 2026-05-15 22:00:42 +02:00 | 46 commits to main since this release

    A visual + UX rebuild. Installs cleanly over 1.0.x — no DB migration, no breaking import-format changes.

    Highlights

    Design language

    Flat / modern / breathable. New design-token system (tokens.css): 8px spacing scale, radius scale, surface palette, soft elevated shadow, primary palette derived via color-mix(). Old --lrob-* token names kept as aliases so theme overrides still work.

    Admin Appearance settings

    • Brand colors — configurable primary + secondary (WP color picker). Inline override printed on the tokens stylesheet so it ships only when a block actually loads.
    • Date pill color (uncategorized events) — Random per-event / Use primary / Use a specific color.
    • Popup featured image — show / hide.
    • Popup image fit — Show whole image (natural aspect) / Crop to fill.

    Month grid

    • Crisp light grid lines, no filled cells. Today is a small primary-colored pill behind the day number.
    • Out-of-month days now fill the padding cells (muted) — you can see which weekday the month starts on at a glance.
    • Day names: lowercase, full text color, bold. Day numbers: centered, bold.
    • Events render as colored dot + title pills (one per event, tinted by category color or a hashed pastel). Multi-day = soft tinted bar.
    • New header: title left (large, bold), grouped prev/next chevrons, "Today" button, Month/Week pill switcher.
    • New Week view (7-day vertical agenda).
    • "+N more" is now a clickable pill that opens the day-agenda list.

    Popup card

    • Unified rendering — calendar block and events-list block both use the same shared module (assets/js/event-popup.js).
    • Top-anchored centered modal on desktop (so prev/next nav doesn't shift the modal vertically when card heights differ), edge-to-edge fullscreen on mobile.
    • Date block (big day over uppercase short month) on the left of the header, title centered, ghost prev/next + close on the right.
    • Per-event color pair drives the date block (and the events-list date pill).
    • Stroke-icon meta rows, icons in the primary accent color.
    • Date + time stacked on two lines, no "at" / "à" preposition.
    • Featured image: natural aspect ratio up to 60vh, supporting content below the meta.
    • Sticky bottom CTA on mobile with safe-area-inset respected.
    • Two-card slide animation for prev/next, including across months (grid re-renders behind the popup).

    Events list templates

    • list / full: line-separated rows (no card chrome), colored date pill on the left, content middle, image right (configurable), optional details button at the row edge.
    • grid: image-on-top with date-badge overlay. Without an image, the placeholder IS the date display (per-event colored tile).
    • minimal: single-line row — date pill + title + optional time.
    • Image position option: Right column (default), Left column, or Below (full-width banner).
    • Event description mode: Inline (default) / "View details" button that opens the popup / Hidden.
    • Image clicks on rows route to the popup when description mode is button — no more separate lightbox.

    Single-event block + page

    • Refreshed meta block with stroke icons and design tokens.

    Mobile

    • Popup is a full-screen modal: sticky header, sticky bottom CTA.
    • Tap a day with events → day-agenda list; tap an item → full event card.
    • Grid events become pure colored dots; everything else preserves the desktop layout, just compressed.
    • Min 44px tap targets on interactive elements.

    Icon system

    • All 9 icons rewritten as Lucide-style strokes. New: chevron-left, chevron-right, x, arrow-right, info.

    Removed

    • The fullscreen image lightbox is gone. The popup card now shows the image at 60vh natural-aspect, which was the lightbox's whole job.
    • Per-block popup attributes (popupSize, popupImageDisplay, popupImageHeight, popupShowImage, popupImageLightbox, imageLightbox) — replaced by the two global Appearance settings.
    • Saved blocks with these attributes don't break; the attributes are just ignored.

    Translation

    French strings added for every new editor control and runtime label.

    Install

    Download lrob-calendar-1.1.0.zip below → WP Admin → Plugins → Add New → Upload Plugin.

    Downloads
  • v1.0.1 f32d464130

    v1.0.1 Stable

    UltimateByte released this 2026-05-14 17:26:03 +02:00 | 48 commits to main since this release

    Bug fixes, UX polish, and a mobile popup overhaul.

    Highlights

    Mobile popup

    • Now a fullscreen flex overlay with a darkened backdrop and body scroll lock.
    • Prev/next arrows pinned to the screen edges, OUTSIDE the card.
    • Card-to-card swipe is a true two-card transition: the outgoing card slides off in the gesture direction while the incoming card slides in from the opposite edge, simultaneously. No more black-flash between cards.
    • Sibling thumbnails preloaded on popup open so navigation feels instant.

    Calendar / popup

    • Today's events stay visible even after their end time has passed.
    • Popup card now shows all the info that was missing in v1.0.0 (recurring badge, etc.).
    • Multi-day bars on mobile no longer overflow the calendar.

    Events list & single-event blocks

    • New "Natural" image-height option: fits the card width at the image's own aspect ratio (auto-disables click-to-enlarge).
    • New "Click image to enlarge" toggle to opt out of the lightbox.
    • Short excerpts no longer show a fade-out gradient when there's nothing to truncate.

    Admin / branding

    Install

    Download lrob-calendar-1.0.1.zip below and upload it via WP Admin → Plugins → Add New → Upload Plugin.

    Downloads
  • v1.0.0 5679dc3162

    UltimateByte released this 2026-05-14 14:50:59 +02:00 | 57 commits to main since this release

    Initial public release of LRob Calendar.

    Highlights

    • Three Gutenberg blocks: calendar (month grid + agenda), events-list (with AJAX pagination), single-event
    • Click-to-preview popup with image lightbox, prev/next nav, swipe on mobile
    • RFC 5545 recurring events: daily / weekly / monthly / yearly, BYDAY with ordinals, multi-day continuous bars
    • Single-event pages with OpenStreetMap embed — toggleable site-wide
    • JSON import / export, with All-in-One Event Calendar format detection
    • French translation included
    • Conditional asset loading, REST endpoint cache, configurable performance limits

    Install

    Download lrob-calendar-1.0.0.zip below → WordPress admin → Plugins → Add New → Upload Plugin.

    Requires PHP 8.0+ and WordPress 6.0+.

    See the README for full usage details.

    Downloads