From 3e87925a35f73aa2261eb66df3ef4ca11b64eeea Mon Sep 17 00:00:00 2001 From: erdgeist Date: Tue, 30 Jun 2026 17:11:32 +0200 Subject: Replace Shadowbox with GLightbox, drop jQuery from public site Vendors GLightbox 3.3.1 (MIT, dependency-free) as static files in public/javascripts and public/stylesheets, replacing the Shadowbox 2009 vendor tree and its jQuery adapter. Public site no longer loads jQuery at all. - app/views/layouts/application.html.erb: swap Shadowbox script/style includes and the public_bundle (jQuery) include for GLightbox's CSS/JS - app/views/content/_headline_image.html.erb: headline image is now itself a GLightbox trigger; additional images are direct a.glightbox links sharing a per-page data-gallery group, replacing the hidden shadowbox_images div and its click-forwarding trigger - public/javascripts/public.js: replace Shadowbox.init/setup and the click-forwarding handler with a single GLightbox() init call; remove the unused image_handler object - Remove public/javascripts/shadowbox/ (including vendored Sizzle, swfobject, and unused video/Flash players) and public/stylesheets/shadowbox.css - Remove app/assets/javascripts/public_bundle.js (jquery require) --- public/javascripts/shadowbox/CHANGES | 26 -------------------------- 1 file changed, 26 deletions(-) delete mode 100644 public/javascripts/shadowbox/CHANGES (limited to 'public/javascripts/shadowbox/CHANGES') diff --git a/public/javascripts/shadowbox/CHANGES b/public/javascripts/shadowbox/CHANGES deleted file mode 100644 index 7d4ae6f..0000000 --- a/public/javascripts/shadowbox/CHANGES +++ /dev/null @@ -1,26 +0,0 @@ -Shadowbox.js Changelog - -version 3.0 - -- A major rewrite/reorganization of the code -- Greatly simplified setup process by eliminating all load* methods and using - options to specify language/adapter/player(s) instead -- Separated Shadowbox skin into its own class (Shadowbox.skin) that should - simplify skin customization -- Made public many methods and properties that had previously been private and - eliminated redundant accessor methods (such as getVersion, getPlugins, etc.) -- Introduced dependence on swfobject version 2 for Flash embedding. Included - support for express install -- Added flashVersion, flashVars, and flashParams options for passing options - directly to swfobject -- Added support for loading Shadowbox onDOMReady instead of waiting for - window.onload -- Added support for Internet Explorer 8 -- Added support for CSS selectors via Sizzle.js -- Switched from PHP to Ruby's rake for build/packaging system -- Introduced Shadowbox.js License version 1.0 -- Numerous other bug fixes and overall speed improvements - -versions 1.0-2.0 - -- Was too lazy (or too disorganized) to keep a detailed log of changes :) -- cgit v1.3