<feed xmlns='http://www.w3.org/2005/Atom'>
<title>cccms/public/javascripts/admin_interface.js, branch erdgeist-modernize-auth</title>
<subtitle>[no description]</subtitle>
<id>https://erdgeist.org/gitweb/cccms/atom?h=erdgeist-modernize-auth</id>
<link rel='self' href='https://erdgeist.org/gitweb/cccms/atom?h=erdgeist-modernize-auth'/>
<link rel='alternate' type='text/html' href='https://erdgeist.org/gitweb/cccms/'/>
<updated>2026-07-16T14:43:11Z</updated>
<entry>
<title>managed RRULE constructs now include week selection</title>
<updated>2026-07-16T14:43:11Z</updated>
<author>
<name>erdgeist</name>
<email>erdgeist@erdgeist.org</email>
</author>
<published>2026-07-16T14:43:11Z</published>
<link rel='alternate' type='text/html' href='https://erdgeist.org/gitweb/cccms/commit/?id=35dc05de97677d57123617a7c4e78aad1611b28d'/>
<id>urn:sha1:35dc05de97677d57123617a7c4e78aad1611b28d</id>
<content type='text'>
Improve the humanizer to also understand weekly patters that
an editor can manually select, on top of the single week
rules.

Extend template and javascript controller to reflect these
changes.
</content>
</entry>
<entry>
<title>Remove some remnants of legacy admin wizard interface</title>
<updated>2026-07-15T23:37:12Z</updated>
<author>
<name>erdgeist</name>
<email>erdgeist@erdgeist.org</email>
</author>
<published>2026-07-15T23:37:12Z</published>
<link rel='alternate' type='text/html' href='https://erdgeist.org/gitweb/cccms/commit/?id=467ec340be673fbc7c3140b86d8aa7e43307ad1d'/>
<id>urn:sha1:467ec340be673fbc7c3140b86d8aa7e43307ad1d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add inline image insertion for page bodies, plus a headline-conflict badge</title>
<updated>2026-07-14T16:30:40Z</updated>
<author>
<name>erdgeist</name>
<email>erdgeist@erdgeist.org</email>
</author>
<published>2026-07-14T15:06:59Z</published>
<link rel='alternate' type='text/html' href='https://erdgeist.org/gitweb/cccms/commit/?id=8847db139bef9dd8f9465c31438f16af13593267'/>
<id>urn:sha1:8847db139bef9dd8f9465c31438f16af13593267</id>
<content type='text'>
Custom TinyMCE toolbar button opens a picker scoped to a page's own
attached images. Selecting one and a placement (full width, left,
right) inserts &lt;a class="glightbox" data-gallery="page-N"&gt;
wrapping an &lt;img&gt;, sharing the existing headline-image lightbox
gallery. No native TinyMCE image dialog or resize handles --
placement is fixed to the three options via CSS classes only.

extended_valid_elements defines a and img explicitly and
symmetrically; valid_classes allows the placement classes and
glightbox specifically. content_style renders placement inside the
editing iframe, since ccc.css doesn't load there.

A pre-save pass removes any a.glightbox left without an img,
covering in-editor deletion regardless of how it happened.

Alt text comes from the asset's name, escaped.

A badge marks whichever attached image sits at position 0, since
_headline_image.html.erb always renders that position as the
page's automatic headline. Shown in the sidebar Images list and in
the picker grid.
</content>
</entry>
<entry>
<title>Add a toggleable live preview panel to both editors</title>
<updated>2026-07-14T02:10:01Z</updated>
<author>
<name>erdgeist</name>
<email>erdgeist@erdgeist.org</email>
</author>
<published>2026-07-14T02:10:01Z</published>
<link rel='alternate' type='text/html' href='https://erdgeist.org/gitweb/cccms/commit/?id=e0f2394fd0816ef03bf4b928ab9fa5a18c32ffda'/>
<id>urn:sha1:e0f2394fd0816ef03bf4b928ab9fa5a18c32ffda</id>
<content type='text'>
Hidden by default, shares horizontal space with the body editor once
opened rather than a separate section, and only requests the iframe's
src on first toggle -- no preview traffic at all until someone
actually wants to see it. Refreshes automatically on every successful
autosave; a separate force-render button re-attempts a save-and-
refresh cycle immediately, for when the normal 7-second cycle has
been interrupted (a lock-lost error, a transient failure) and waiting
for the next tick isn't good enough.
</content>
</entry>
<entry>
<title>Fix autosave bug: sync tinymce's state back to textarea before serializing</title>
<updated>2026-07-13T16:56:13Z</updated>
<author>
<name>erdgeist</name>
<email>erdgeist@erdgeist.org</email>
</author>
<published>2026-07-13T16:56:13Z</published>
<link rel='alternate' type='text/html' href='https://erdgeist.org/gitweb/cccms/commit/?id=1234371b084356c7542e53d20c9b816332a945d3'/>
<id>urn:sha1:1234371b084356c7542e53d20c9b816332a945d3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Asset picker: attach/detach/reorder UI, read-only view, autosave fix</title>
<updated>2026-07-13T02:54:33Z</updated>
<author>
<name>erdgeist</name>
<email>erdgeist@erdgeist.org</email>
</author>
<published>2026-07-13T02:54:33Z</published>
<link rel='alternate' type='text/html' href='https://erdgeist.org/gitweb/cccms/commit/?id=8baac265059b70da0148487458ee4077b15f155e'/>
<id>urn:sha1:8baac265059b70da0148487458ee4077b15f155e</id>
<content type='text'>
Replaces nodes#edit's old Images section -- a hidden panel dumping
every image asset in the system unfiltered (#image_browser) plus a
raw drag-and-drop box (#image_box) -- with a small search-and-click
picker built on the endpoint from the last two commits. Attaching
posts immediately and appends the new thumbnail via a cloned
&lt;template&gt; -- icons only render correctly through the Rails helper
server-side, so the template holds real, pre-rendered markup for JS
to clone rather than duplicating raw SVG in a JS string. Reordering is
jQuery UI sortable on the small attached list only, with a dedicated
drag handle rather than the whole thumbnail.

Two bugs caught while click-testing, fixed here rather than shipped
and patched after: the search panel never closed after attaching an
image, since the success handler re-triggered focus to keep it open
for attaching several in a row -- which meant it just re-populated
itself forever instead of signaling "done." Fixed to close explicitly;
a click-outside-closes handler was added alongside it, matching the
affordance the top-bar search already has.

A real, independent, pre-existing data bug surfaced during the same
testing: Node#autosave!'s first-time-creation branch never carried
related assets forward from whatever page was previously current --
attach an image, let autosave fire once, and it silently landed on a
fresh, assetless Page row. Long-dormant, not introduced by this work,
just finally exercised by something that made it visible. Fixed inside
the `unless self.autosave` guard specifically -- running this on every
call, not just creation, would overwrite anything attached directly to
an existing autosave in between, a worse bug than the one being fixed.

nodes#show gains a read-only Images section, rendered only when a page
actually has attached images, so an attachment can be confirmed
present without entering the edit/lock cycle -- useful on its own, and
specifically useful the next time an asset bug needs investigating.
Its thumbnail CSS is shared with the edit view's picker via a class
(.thumbnail_list) rather than duplicated under a second name.
</content>
</entry>
<entry>
<title>Add a grouped tag+node search endpoint for the upcoming dashboard</title>
<updated>2026-07-12T14:33:12Z</updated>
<author>
<name>erdgeist</name>
<email>erdgeist@erdgeist.org</email>
</author>
<published>2026-07-12T14:33:12Z</published>
<link rel='alternate' type='text/html' href='https://erdgeist.org/gitweb/cccms/commit/?id=4ec70e5ecf792a56e868538738d6c7f63bb6cf24'/>
<id>urn:sha1:4ec70e5ecf792a56e868538738d6c7f63bb6cf24</id>
<content type='text'>
AdminController#dashboard_search returns tags and nodes as separate,
labeled groups (via ActsAsTaggableOn::Tag.named_like and
Node.editor_search) rather than the flat per-node list every existing
picker returns. initSearchPicker gains a renderResults callback option
that, when given, replaces the default per-node rendering entirely --
lets the dashboard render its two labeled groups without a second,
parallel picker implementation.

resultsHeaderHtml (the "Press Enter to see all results" hint) is now
threaded through as a third argument to renderResults, so a picker with
custom rendering can still show it -- previously only the default
per-node branch ever did.

Tags link straight to the existing /admin/nodes/tags/:tag view rather
than becoming an in-place filter chip.
</content>
</entry>
<entry>
<title>Rework events#new with the new layout paradigm</title>
<updated>2026-07-09T16:55:25Z</updated>
<author>
<name>erdgeist</name>
<email>erdgeist@erdgeist.org</email>
</author>
<published>2026-07-09T16:55:25Z</published>
<link rel='alternate' type='text/html' href='https://erdgeist.org/gitweb/cccms/commit/?id=83a74c6d01e0be50d5806d8253de9f2ad6d5c143'/>
<id>urn:sha1:83a74c6d01e0be50d5806d8253de9f2ad6d5c143</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Autosave posts to its own endpoint surface lock loss immediately</title>
<updated>2026-07-08T14:24:05Z</updated>
<author>
<name>erdgeist</name>
<email>erdgeist@erdgeist.org</email>
</author>
<published>2026-07-08T14:24:05Z</published>
<link rel='alternate' type='text/html' href='https://erdgeist.org/gitweb/cccms/commit/?id=43e7743ebff1b1f41bbb5ae39bcc5bed7d8982e3'/>
<id>urn:sha1:43e7743ebff1b1f41bbb5ae39bcc5bed7d8982e3</id>
<content type='text'>
Previously piggybacked on the main form's action and relied on a
.js.erb response to update #flash; now posts to the dedicated
autosave route with an explicit _method=put override, and reacts to
a 423 by stopping the timer and showing a persistent banner rather
than letting the next Save discover the conflict on its own.
</content>
</entry>
<entry>
<title>Whitespace fixes</title>
<updated>2026-07-08T09:58:46Z</updated>
<author>
<name>erdgeist</name>
<email>erdgeist@erdgeist.org</email>
</author>
<published>2026-07-08T09:58:46Z</published>
<link rel='alternate' type='text/html' href='https://erdgeist.org/gitweb/cccms/commit/?id=08b4cdb711ffe39153264a5c4024fac95cd8d91a'/>
<id>urn:sha1:08b4cdb711ffe39153264a5c4024fac95cd8d91a</id>
<content type='text'>
</content>
</entry>
</feed>
