summary refs log tree commit diff
path: root/www/git.causal.agency (follow)
Commit message (Collapse)AuthorAge
* Show about path in page titleJune McEnroe2021-09-06
|
* Generate valid Atom feedsJune McEnroe2021-06-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes several RFC 4287 violations: > 4.1.1. The "atom:feed" Element > o atom:feed elements MUST contain exactly one atom:id element. > o atom:feed elements SHOULD contain one atom:link element with a rel > attribute value of "self". This is the preferred URI for > retrieving Atom Feed Documents representing this Atom feed. > o atom:feed elements MUST contain exactly one atom:updated element. An atom:id element is generated from cgit_currentfullurl(), and an atom:link element with a rel attribute of "self" is generated with the same URL. An atom:updated element is generated from the date of the first commit in the revision walk. > 4.1.2. The "atom:entry" Element > o atom:entry elements MUST NOT contain more than one atom:content > element. The second atom:content element with the type of "xhtml" is removed. > 4.2.6. The "atom:id" Element > Its content MUST be an IRI, as defined by [RFC3987]. Note that the > definition of "IRI" excludes relative references. Though the IRI > might use a dereferencable scheme, Atom Processors MUST NOT assume it > can be dereferenced. The atom:id elements for commits now use URNs in the "sha1" or "sha256" namespaces. Although these are not registered URN namespaces, they see use in the wild, for instance as part of magnet URIs.
* Set CGIT_VERSION to "causal agency"June McEnroe2021-06-08
| | | | This version of cgit is modified and doesn't track upstream releases.
* Merge commit '5213546273ee798369ff594ad60077f1bef4655e'June McEnroe2021-06-08
|
* Fetch git .tar.gz for compatibilityJune McEnroe2021-06-08
| | | | OpenBSD tar(1) has no -J.
* Fix crash trying to print "this commit" on 404sJune McEnroe2021-04-12
| | | | | For example any URL that starts with a real repo name but isn't valid.
* Use owner-filter to add Liberapay donation buttonsJune McEnroe2021-02-04
|
* Use owner-filter for repo page headersJune McEnroe2021-02-04
| | | | Previously it was only used if owners were displayed on the index.
* Remove cgit logo using cgitrcJune McEnroe2021-02-04
| | | | | It's not documented that you can set logo to empty string to remove it, I just noticed by reading print_header.
* Use mtags for sh in source-filterJune McEnroe2021-01-20
|
* Add all target to git.causal.agency MakefileJune McEnroe2021-01-20
|
* Remove Lua supportJune McEnroe2021-01-20
| | | | | Lua support is unused and the dlsym fwrite/write hacks horrify me. Clean it up.
* Fix tests for diff spansJune McEnroe2021-01-20
|
* Use mtags in source-filterJune McEnroe2021-01-20
|
* Use <pre> and <span> to print diffsJune McEnroe2021-01-17
| | | | | | | This correctly preserves whitespace in browsers without CSS, as an alternative to [1]. [1]: https://80x24.org/cgit.git/commit/?id=7c692e6137697de8a8473c4de5c3de4fb03a2989
* Ignore cgit/gitJune McEnroe2021-01-17
|
* Link to causal.agency cgit from footerJune McEnroe2021-01-17
|
* Use buffered stdioEric Wong2021-01-17
| | | | | | | | | | | | | | | | | | | | | | | Our generation of HTML triggers many small write(2) syscalls which is inefficient. Time output on a horrible query against my git.git mirror shows significant performance improvement: QUERY_STRING='id=2b93bfac0f5bcabbf60f174f4e7bfa9e318e64d5&id2=d6da71a9d16b8cf27f9d8f90692d3625c849cbc8' PATH_INFO=/mirrors/git.git/diff export QUERY_STRING PATH_INFO time ./cgit >/dev/null Before: real 0m1.585s user 0m0.904s sys 0m0.658s After: real 0m0.750s user 0m0.666s sys 0m0.076s
* Remove redundant title on repo anchorsChris Mayo2021-01-17
| | | | | | | The title attribute was being set to the same value as the anchor element text. Signed-off-by: Chris Mayo <aklhfex@gmail.com>
* Improve button spacing for browsers w/o CSSEric Wong2021-01-17
| | | | | | | For browsers on low-end machines running browsers without CSS support, the default tree view displayed "logplain" when it should be "log plain". Stop relying on CSS and add a space in between elements to improve accessibility.
* Improve decoration display for browsers without CSSEric Wong2021-01-17
| | | | | | Text-based browsers without CSS support show all the decorations bunched together without spacing. Rely on a whitespace instead of CSS support.
* Use <pre> for commit-msgEric Wong2021-01-17
| | | | | This preserves formatting readable for users of text-based browsers without CSS support.
* Improve pageheader display on text-based browsersEric Wong2021-01-17
| | | | | | | | | | | Text-based browsers (and some GUI browsers such as dillo) display the pageheader as: "summaryrefslogtreecommitdiff" This is difficult-to-read. Improve accessibility for users who cannot run memory-hungry browsers by using whitespace instead of relying on CSS.
* Use git raw note formatChris Mayo2021-01-17
| | | | | | | | | | | | | | | | Currently a commit note is shown as: Notes Notes: <note text> Change to: Notes <note text> Signed-off-by: Chris Mayo <aklhfex at gmail.com>
* Touch tags in source-filterJune McEnroe2021-01-17
| | | | | ctags does not create the tags file if the input file contains nothing worth tagging, and htagml errors if there is no tags file to load.
* Use a temp directory in source-filter to preserve nameJune McEnroe2021-01-15
| | | | Otherwise ctags can't figure out if the input is a lex or yacc file.
* Switch git.causal.agency to hilex and htagmlJune McEnroe2021-01-13
| | | | Still missing a shell lexer in hilex, but well... it's shell.
* Update taglineJune McEnroe2021-01-05
|
* Add "this commit" option to switch formAlyssa Ross2020-12-27
| | | | | | | | | | | | | | | | | Branches are grouped into their own section to make the "this commit" option visually distinct. Adding this option will result in two options being marked as selected if a branch has the same name as a commit oid. But that would cause all sorts of other problems anyway (attempting to switch to the branch would actually give you the commit, etc.), so let's not worry about that. A "permalink" link on the blob view next to the "plain" link would probably be more discoverable, but that would only work for the blob view. The switch UI is visible everywhere. Signed-off-by: Alyssa Ross <hi@alyssa.is>
* Show subject in commit page titleJune McEnroe2020-12-27
|
* Show symlink targets in tree listingJune McEnroe2020-12-27
| | | | | Add links to symbolic link targets in tree listings, formatted like "ls -l". Path normalization collapses any ".." components of the link.
* Disallow blame in robots.txtJune McEnroe2020-12-27
|
* Don't link to blame for binary blobsJune McEnroe2020-12-27
|
* Bail from blame if blob is binaryJune McEnroe2020-12-27
| | | | This avoids piping binary blobs through the source-filter.
* Remove dependency on memrchrJune McEnroe2020-12-27
|
* Remove cgit/git submoduleJune McEnroe2020-12-27
|
* Merge commit '6169012d588458b9dbbbea56528d5e3669596c80' as ↵June McEnroe2020-12-27
| | | | | | 'www/git.causal.agency/cgit' From tag 'v1.2.3'.
* Enable toc in cgit renderings of man pagesJune McEnroe2020-09-12
| | | | | | | | But keep it disabled for READMEs since they always use non-standard sections and the TOC is just distracting there, I think. Also add the style so its h1 is the same size as the ones inside sections...
* Prefix mandoc with exec in about-filterJune McEnroe2020-06-08
|
* Add endorsement to git.causal.agencyJune McEnroe2020-04-29
|
* Style %T outside of Rs in italicJune McEnroe2020-02-27
|
* Add margin to Bl-bullet itemsJune McEnroe2020-02-11
|
* Blood rush to my HEAD bit hot lockJune McEnroe2020-01-20
|
* Set Bl -column tables to 100% widthJune McEnroe2020-01-08
|
* Don't add dt margins to Bl-compact listsJune McEnroe2020-01-08
|
* Use mandoc -T html for about-filterJune McEnroe2020-01-08
| | | | | | This also makes source-filter show mdoc source again and removes the dependency on ttpre entirely. I copied in the inline stylesheet mandoc outputs without -O fragment and added some customizations.
* Add license header to cgit CSSJune McEnroe2019-12-22
| | | | As requested. Funny that its license header capitalizes You.
* Set LANG in cgit filtersJune McEnroe2019-12-20
| | | | | ttpre needs to know about UTF-8 too so it can bold/italic non-ASCII chars.
* Ignore about-filterJune McEnroe2019-12-19
|
* Hide line numbers when rendering mdocJune McEnroe2019-12-18
| | | | | | Hack: output an extra <td> after rendering mdoc so that line numbers can be hidden based on there being three. This required splitting source-filter and about-filter since on about pages there is no table.