<feed xmlns='http://www.w3.org/2005/Atom'>
<title>cccms/app/assets/javascripts/public_bundle.js, branch erdgeist-revive-events</title>
<subtitle>[no description]</subtitle>
<id>https://erdgeist.org/gitweb/cccms/atom?h=erdgeist-revive-events</id>
<link rel='self' href='https://erdgeist.org/gitweb/cccms/atom?h=erdgeist-revive-events'/>
<link rel='alternate' type='text/html' href='https://erdgeist.org/gitweb/cccms/'/>
<updated>2026-06-30T15:29:12Z</updated>
<entry>
<title>Replace Shadowbox with GLightbox, drop jQuery from public site</title>
<updated>2026-06-30T15:29:12Z</updated>
<author>
<name>erdgeist</name>
<email>erdgeist@erdgeist.org</email>
</author>
<published>2026-06-30T15:11:32Z</published>
<link rel='alternate' type='text/html' href='https://erdgeist.org/gitweb/cccms/commit/?id=3e87925a35f73aa2261eb66df3ef4ca11b64eeea'/>
<id>urn:sha1:3e87925a35f73aa2261eb66df3ef4ca11b64eeea</id>
<content type='text'>
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)
</content>
</entry>
<entry>
<title>Unify jQuery: serve public site jQuery via asset pipeline</title>
<updated>2026-06-30T15:29:12Z</updated>
<author>
<name>erdgeist</name>
<email>erdgeist@erdgeist.org</email>
</author>
<published>2026-06-30T02:58:37Z</published>
<link rel='alternate' type='text/html' href='https://erdgeist.org/gitweb/cccms/commit/?id=b97466cdfbcb5b02d4eaf38661c051d1a095838e'/>
<id>urn:sha1:b97466cdfbcb5b02d4eaf38661c051d1a095838e</id>
<content type='text'>
Remove vendored jquery-1.3.2.min.js, jquery-ui-1.7.2.custom.min.js,
and the unreferenced duplicate jquery.hotkeys.js from public/javascripts/.

Public layout now loads jQuery via a small public_bundle.js manifest
through the asset pipeline, same mechanism already used for the admin
interface (admin_bundle.js). This brings the public site from jQuery
1.3.2 (2009) to the current jquery-rails-provided version (3.7.x).

Shadowbox's jQuery adapter (shadowbox-jquery.js) only uses stable APIs
(.css, .remove, .bind, .unbind, .append, .extend) unchanged across this
version span. Verified by manual click-test: gallery image opens,
displays, and dismisses correctly.

public.js required no changes — all jQuery APIs used
(.ready, .bind, .trigger, .length) are stable across versions.
</content>
</entry>
</feed>
