<feed xmlns='http://www.w3.org/2005/Atom'>
<title>liberty/edit_xref.php, branch master</title>
<subtitle>Bitweaver liberty package repository
</subtitle>
<id>https://git.rdm1.uk/liberty/.git/atom?h=master</id>
<link rel='self' href='https://git.rdm1.uk/liberty/.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.rdm1.uk/liberty/.git/'/>
<updated>2026-05-29T14:32:37Z</updated>
<entry>
<title>Add enrichXrefDisplay hook and xkey_ext to value edit template</title>
<updated>2026-05-29T14:32:37Z</updated>
<author>
<name>Lester Caine</name>
<email>lester@lsces.co.uk</email>
</author>
<published>2026-05-29T14:32:37Z</published>
<link rel='alternate' type='text/html' href='https://git.rdm1.uk/liberty/.git/commit/?id=6b0a62a5a356e1dd3274e3966552d73f155e8936'/>
<id>urn:sha1:6b0a62a5a356e1dd3274e3966552d73f155e8936</id>
<content type='text'>
- LibertyContent: add enrichXrefDisplay() no-op hook; call it in edit_xref.php
  so packages can inject display-only data (e.g. component title) into xrefInfo
- edit_xref_value_item.tpl: add Notes (xkey_ext) field alongside Value (xkey)

Co-Authored-By: Claude Sonnet 4.6 &lt;noreply@anthropic.com&gt;
</content>
</entry>
<entry>
<title>BOM parts list support: xref template dispatch and LibertyXref fixes</title>
<updated>2026-05-29T12:57:26Z</updated>
<author>
<name>Lester Caine</name>
<email>lester@lsces.co.uk</email>
</author>
<published>2026-05-29T12:57:26Z</published>
<link rel='alternate' type='text/html' href='https://git.rdm1.uk/liberty/.git/commit/?id=3d94c3dfe203edeb25b42466733672aff9fca89f'/>
<id>urn:sha1:3d94c3dfe203edeb25b42466733672aff9fca89f</id>
<content type='text'>
- LibertyContent: add getXrefListTemplate(), getXrefRecordTemplate(),
  getXrefEditTemplate() for package-aware template dispatch with liberty fallback
- LibertyXref: explicit xorder passthrough in verify(); fix start_date/end_date
  to use time() instead of mDb-&gt;NOW() so BitDate::date() receives a timestamp
- add_xref.php, edit_xref.php: redirect to getEditUrl() after save/cancel
- list_xref.tpl: use getXrefRecordTemplate() instead of hardcoded liberty path

Co-Authored-By: Claude Sonnet 4.6 &lt;noreply@anthropic.com&gt;
</content>
</entry>
<entry>
<title>Add generic xref record templates and sub-template rendering to liberty</title>
<updated>2026-05-25T15:56:05Z</updated>
<author>
<name>Lester Caine</name>
<email>lester@lsces.co.uk</email>
</author>
<published>2026-05-25T15:56:05Z</published>
<link rel='alternate' type='text/html' href='https://git.rdm1.uk/liberty/.git/commit/?id=98a222ddbaa5ca0dc7d914d4912af8055d46dbc4'/>
<id>urn:sha1:98a222ddbaa5ca0dc7d914d4912af8055d46dbc4</id>
<content type='text'>
list_xref.tpl now uses 7-column layout (Type/Link/Key/Value/Date/Updated/
Edit) and delegates row rendering to view_xref_{template}_record.tpl,
matching the template name stored in liberty_xref_source. Eight generic
record templates added (text, contact, phone, address, date, bank, sig,
locate) using hasUpdatePermission()/hasExpungePermission() throughout.

edit_xref.php gains expunge/stepXref handling for Delete and Restore
actions, with permission checks scoped per action branch.

Co-Authored-By: Claude Sonnet 4.6 &lt;noreply@anthropic.com&gt;
</content>
</entry>
<entry>
<title>Add generic xref controllers and templates to liberty</title>
<updated>2026-05-25T14:39:34Z</updated>
<author>
<name>Lester Caine</name>
<email>lester@lsces.co.uk</email>
</author>
<published>2026-05-25T14:39:34Z</published>
<link rel='alternate' type='text/html' href='https://git.rdm1.uk/liberty/.git/commit/?id=fb30cd3317e01ebe8e748e4bcf1482e4c324b9b9'/>
<id>urn:sha1:fb30cd3317e01ebe8e748e4bcf1482e4c324b9b9</id>
<content type='text'>
Moves add/edit xref pages out of stock into liberty so any content type
can use them. list_xref.tpl uses hasUpdatePermission() instead of a
stock-specific permission check.

Co-Authored-By: Claude Sonnet 4.6 &lt;noreply@anthropic.com&gt;
</content>
</entry>
</feed>
