<feed xmlns='http://www.w3.org/2005/Atom'>
<title>cgitext.git, branch develop</title>
<subtitle>cgitext – CGI for Git extension</subtitle>
<id>https://sayag.it/cgitext.git/atom/?h=develop</id>
<link rel='self' href='https://sayag.it/cgitext.git/atom/?h=develop'/>
<link rel='alternate' type='text/html' href='https://sayag.it/cgitext.git/'/>
<updated>2026-09-08T03:07:45Z</updated>
<entry>
<title>diff: show the default from ref in the refs panel</title>
<updated>2026-09-08T03:07:45Z</updated>
<author>
<name>Saya Andy</name>
<email>saya.andy@posteo.com</email>
</author>
<published>2026-09-08T03:07:45Z</published>
<link rel='alternate' type='text/html' href='https://sayag.it/cgitext.git/commit/?id=60a59f650da76dd95f6c6221287b2745b7e44291'/>
<id>urn:sha1:60a59f650da76dd95f6c6221287b2745b7e44291</id>
<content type='text'>
By default a diff against a ref is shown as that ref against its
parent, but the refs panel left the from picker empty, so the
controls described a different diff than the page showed.  When
no from ref is given, preselect the to ref with one extra commit
back, which is the parent of the (stepped) to rev, and reuse the
same values in the flip link.
</content>
</entry>
<entry>
<title>diff: allow stepping back N commits from the selected refs</title>
<updated>2026-09-07T17:11:57Z</updated>
<author>
<name>Saya Andy</name>
<email>saya.andy@posteo.com</email>
</author>
<published>2026-09-07T17:11:57Z</published>
<link rel='alternate' type='text/html' href='https://sayag.it/cgitext.git/commit/?id=3e40b846456e4efc06ece7180ef152e053114385'/>
<id>urn:sha1:3e40b846456e4efc06ece7180ef152e053114385</id>
<content type='text'>
The ref pickers can only select the exact ref that is shown.
Add an offset input next to each picker (idoff and id2off), whose
value is the number of commits to step back, so any ancestor of a
branch or tag can be compared without typing a rev into the url by
hand.  An apply button submits the values typed there, since text
inputs cannot be auto-submitted on their own; the flip link swaps
the offsets along with the refs, and the file-level links carry
them through.

By default both offsets are empty, meaning the selected refs
themselves.  An empty ref submitted from the form is likewise
treated as no ref instead of triggering a bad object name error.
</content>
</entry>
<entry>
<title>diff: add a flip link to the refs panel</title>
<updated>2026-09-07T13:26:15Z</updated>
<author>
<name>Saya Andy</name>
<email>saya.andy@posteo.com</email>
</author>
<published>2026-09-07T13:26:15Z</published>
<link rel='alternate' type='text/html' href='https://sayag.it/cgitext.git/commit/?id=3b18a7d8c9608ed0bf13d546018f44e703c62e11'/>
<id>urn:sha1:3b18a7d8c9608ed0bf13d546018f44e703c62e11</id>
<content type='text'>
The from and to refs of a diff can only be swapped by editing the
url by hand.  Add a flip link to the refs panel that opens the same
diff with the refs swapped, carrying the current head and options.
</content>
</entry>
<entry>
<title>diff: split refs and other options into separate panels</title>
<updated>2026-09-07T07:35:13Z</updated>
<author>
<name>Saya Andy</name>
<email>saya.andy@posteo.com</email>
</author>
<published>2026-09-07T07:07:24Z</published>
<link rel='alternate' type='text/html' href='https://sayag.it/cgitext.git/commit/?id=8f95dce3ece6eccf240ed0b994fb267bf390bf30'/>
<id>urn:sha1:8f95dce3ece6eccf240ed0b994fb267bf390bf30</id>
<content type='text'>
The diff controls panel mixed the from/to ref pickers with the
rendering options (context, space, mode). Split it into two panels,
stacked vertically: one for the refs and one for the other options,
so each groups related controls.
</content>
</entry>
<entry>
<title>diff: pick refs from web ui</title>
<updated>2026-08-15T15:17:12Z</updated>
<author>
<name>Saya Andy</name>
<email>saya.andy@posteo.com</email>
</author>
<published>2026-08-15T15:17:12Z</published>
<link rel='alternate' type='text/html' href='https://sayag.it/cgitext.git/commit/?id=61aa4378441859ed2851db01d5d1b01ed1aa2458'/>
<id>urn:sha1:61aa4378441859ed2851db01d5d1b01ed1aa2458</id>
<content type='text'>
Beforehand the choice between two refs in diff could not be changed from
web ui (only via url query), and by default it was current and previous
commit. Now it is doable with dropdown menus.
</content>
</entry>
<entry>
<title>theming: include solarized.css theme addon</title>
<updated>2026-08-01T10:50:26Z</updated>
<author>
<name>Saya Andy</name>
<email>saya.andy@posteo.com</email>
</author>
<published>2026-08-01T10:33:19Z</published>
<link rel='alternate' type='text/html' href='https://sayag.it/cgitext.git/commit/?id=3beb4785562b158fc4c4e67185ac488d5bfa5c60'/>
<id>urn:sha1:3beb4785562b158fc4c4e67185ac488d5bfa5c60</id>
<content type='text'>
The solarized.css includes adoption of Solarized Light/Dark themes for
cgit, switching between light and dark variant depending on preferred
color scheme.

It is not used by default, but can be easily switched on with css
directive.
</content>
</entry>
<entry>
<title>logo: include svg variant for both favicon and logo</title>
<updated>2026-08-01T06:15:38Z</updated>
<author>
<name>Saya Andy</name>
<email>saya.andy@posteo.com</email>
</author>
<published>2026-08-01T06:15:38Z</published>
<link rel='alternate' type='text/html' href='https://sayag.it/cgitext.git/commit/?id=8a90bca75c8d8755016b46747ca943bb7b37140c'/>
<id>urn:sha1:8a90bca75c8d8755016b46747ca943bb7b37140c</id>
<content type='text'>
The reasoning behind using svg as primary defaults is simple – at
close-up it is much neater, plus svg favicon is supported since 2015 in
Firefox, 2020 in Chromium, 2025 in Safari. For old browsers ico is still
kept as a fallback.

The svg was auto-generated using a Python script and then simplified to
a path, but kept close to an original.
</content>
</entry>
<entry>
<title>style: replace hardcoded color codes with css variables</title>
<updated>2026-07-31T04:56:31Z</updated>
<author>
<name>Saya Andy</name>
<email>saya.andy@posteo.com</email>
</author>
<published>2026-07-31T04:56:31Z</published>
<link rel='alternate' type='text/html' href='https://sayag.it/cgitext.git/commit/?id=793860dbd6df42d5bbf05542f2292a1c6d30fc76'/>
<id>urn:sha1:793860dbd6df42d5bbf05542f2292a1c6d30fc76</id>
<content type='text'>
In order to: a) do custom theme simpler by just replacing necessary
vars, b) apply this theme to filters as well; the main cgit.css file now
defines CSS vars and uses them in color parameters.
</content>
</entry>
<entry>
<title>licensing: add author preambles where changes were done</title>
<updated>2026-07-31T04:38:28Z</updated>
<author>
<name>Saya Andy</name>
<email>saya.andy@posteo.com</email>
</author>
<published>2026-07-30T05:49:23Z</published>
<link rel='alternate' type='text/html' href='https://sayag.it/cgitext.git/commit/?id=306fafc1d1d19c51d7ac24479f49c76272934ce5'/>
<id>urn:sha1:306fafc1d1d19c51d7ac24479f49c76272934ce5</id>
<content type='text'>
Add a copyright for changes done by me, also note in README the nature
of this repo
</content>
</entry>
<entry>
<title>tests: check that a misconfigured repo.path is reported</title>
<updated>2026-07-30T05:27:47Z</updated>
<author>
<name>Saya Andy</name>
<email>saya.andy@posteo.com</email>
</author>
<published>2026-07-30T05:27:47Z</published>
<link rel='alternate' type='text/html' href='https://sayag.it/cgitext.git/commit/?id=1614f25c38d5dd1817cf7651b2fc5e07503fc454'/>
<id>urn:sha1:1614f25c38d5dd1817cf7651b2fc5e07503fc454</id>
<content type='text'>
Check that a repo.path which does not exist or is not a repository is
reported, for the summary page, for an unknown page name and for the ci
page.

cgit used to hang on these requests rather than fail, so the helper puts a
deadline on each one: a regression should fail the test instead of wedging
the suite.

Signed-off-by: Saya Andy &lt;saya.andy@posteo.com&gt;
</content>
</entry>
</feed>
