1
0
Fork 0
mirror of https://git.sr.ht/~seirdy/seirdy.one synced 2024-11-14 17:42:09 +00:00
Commit graph

45 commits

Author SHA1 Message Date
Rohan Kumar
679feb8f5c
exclude BIMI icon and search from Nu validator 2022-08-13 14:05:23 -07:00
Rohan Kumar
d73ee7ebf5
Speed up internal jobs
- Make xhtml and html alternates the same (we're polygot), cutting
  static-compression time in half
- Make axe-ff run on local files, reducing some overhead.
2022-08-10 21:30:22 -07:00
Rohan Kumar
21dc952eb2
Internal: speed-up/fix check-whole-site
- Run webhint in parallel with other site checks, right after the
  deployment finishes
- Fix webhint perf budget (it warns when within 0.5 sec so give it a
  0.5 sec buffer)
- Throttle LH a bit more
2022-08-08 21:34:58 -07:00
Rohan Kumar
7cf0e4bc9b
Internal: check-whole-site: deploy in parallel
Saves about a minute of time.
2022-08-05 22:49:18 -07:00
Rohan Kumar
d02b749425
More stylesheet tweaks
- Increase list padding so that ordered-list decimal markers have space
  to fit without overflowing.
- Improve style for removing underline between h-card name and photo, so
  it doesn't apply to any unnecessary elements.
- Reduce budget for document size.
2022-08-05 07:24:16 -07:00
Rohan Kumar
dc2b049eb3
xhtmlize: avoid race between parallel jobs
Prevent parallel jobs from accessing the same tmp.css
2022-08-01 20:54:25 -07:00
Rohan Kumar
7810c9ffc6
Deploy staging site with parallelism 2022-08-01 20:53:48 -07:00
Rohan Kumar
2bdcd17970
Join Netizens webring 2022-08-01 20:51:07 -07:00
Rohan Kumar
b44a4ead71
Remove obsolete error-silencing from FeedValidator
FeedValidator was fixed upstream; it doesn't use an allowlist of (X)HTML
attributes anymore. After updating FeedValidator to the latest commit, I
don't need to filter out false-positives for these attributes.

The FeedValidator commit that resolved the issue:
0b130bd5d7
2022-07-20 21:52:10 -07:00
Rohan Kumar
c0904f3b32
Moar site testing
- Replace achecker flags with a config file
- Bring back webhint
- Amend check-whole-site so that it will deploy to staging if all checks
  pass, and then run webhint on every staging page.
2022-07-17 20:01:54 -07:00
Rohan Kumar
a2c919ca2e
Remove one extra indent level
We don't need to indent children of <body> or <head> since the element
type will give away the parent.
2022-07-17 19:18:22 -07:00
Rohan Kumar
569540fd41
Allow WAI-Adapt vocab in feeds 2022-07-11 15:26:52 -07:00
Rohan Kumar
09a507a7ed
internal: allow new-note script to take a reply URI 2022-07-10 22:40:56 -07:00
Rohan Kumar
1a928a4807
Remove false-positives from feed validator
See https://github.com/w3c/feedvalidator/issues/87
2022-07-07 08:45:13 -07:00
Rohan Kumar
cd82ce39ec
Webmentions: display reply content + a11y issues
- Display reply content in webmentions, when it's available
- Truncate titles and redundant content from webmentions
- Add note on a11y issues regarding badly-formatted webmentions from
  brid.gy's mastodon integration.
2022-06-30 08:34:16 -07:00
Rohan Kumar
2b88317a46
Support "random" webring links
Will be necessary for inclusion into IndieSeek's Retroweb Ring.
2022-06-27 08:43:13 -07:00
Rohan Kumar
1f4a6d7b24
Internal: custom number of paralle site-check jobs 2022-06-20 14:27:54 -07:00
Rohan Kumar
aade17ef20
Add a comment to an internal script 2022-06-19 16:24:37 -07:00
Rohan Kumar
84aaf683b0
Validate and fix feeds, persist link-check cache 2022-06-17 22:09:32 -07:00
Rohan Kumar
4b42a8686d
Support running axe-core with Firefox 2022-06-17 20:54:05 -07:00
Rohan Kumar
fba366ca11
Check and fix broken links 2022-06-17 20:36:35 -07:00
Rohan Kumar
696af47454
Fix check-whole-site script
- Renamed some makefile jobs
- Added missing include directive
2022-06-16 17:19:23 -07:00
Rohan Kumar
2f8e5d8a4d
Use Equal Access to checl whole site 2022-06-15 19:43:01 -07:00
Rohan Kumar
114e2d88ee
xhtmlize: better formatting, exit on err
- make xhtmlize exit early if any file fails to be xhtml-ized
- add whitespace before self-closing slash.
2022-06-13 08:27:09 -07:00
Rohan Kumar
5c7f2f17ea
Remove precompressed robots.txt 2022-06-13 08:25:44 -07:00
Rohan Kumar
4f4d3e8d20
Add Endless Orbit webring 2022-06-12 13:48:16 -07:00
Rohan Kumar
916b089a4f
Various fixes for hidden service
- Formatting fix for indieweb icon
- Support searching directly on hidden service
2022-06-09 21:24:13 -07:00
Rohan Kumar
cbee1c3a52
Another whitespace fix 2022-06-09 16:32:43 -07:00
Rohan Kumar
a4bcf9c4dd
Re-add support for <samp> in markdown 2022-06-08 18:17:33 -07:00
Rohan Kumar
bd705cd0b1
Give indieweb icon a PNG fallback
This should improve compatibility with older and non-mainstream
browsers.
2022-06-09 08:34:49 -07:00
Rohan Kumar
c9291830d0
Automatically pull webring links during build 2022-06-07 09:39:32 -07:00
Rohan Kumar
9433bca2b7
Decrease markup indentation by one level 2022-06-04 22:39:07 -07:00
Rohan Kumar
811c887755
CSS overhaul: non-overlapping outlines
I increased a bunch of tap targets to fit the recommended 48x48 sizes
and 56x56 non-overlapping regions, but unfortunately this caused
outlines to overlap with each other. This commit turns these elements
into inline-block elements and makes the necessary fixes to accomodate
this change.
2022-06-03 15:47:14 -07:00
Rohan Kumar
be86ab3ac7
Archetypes and automation for composing notes
Create a shell script for composing a note/reply more quickly, including
launching the default $EDITOR
2022-06-02 22:03:23 -07:00
Rohan Kumar
03e292f57b
More whitespace fixes 2022-06-02 21:48:23 -07:00
Rohan Kumar
840bf38de6
Whitespace fixes 2022-06-02 20:01:50 -07:00
Rohan Kumar
cb26956bca
Internal: improve scripts
- I forgot to compress xhtml files. fix that.

- Stylistic change: remove unnecessary brace expansions
- Don't repeatedly append to a file; run commands in a different scope
  and write all at once.

Move Nu HTML validator filtering into a shell script:
- Return a bad exit code if validation errors are found after filtering
- Remove null-ish values from the JSON output; the final output *should*
  be an empty string, since nothing should be reported.
2022-06-02 17:18:13 -07:00
Rohan Kumar
b02a619260
Add missing tabindex 2022-06-02 13:14:20 -07:00
Rohan Kumar
449a1be659
Typo 2022-06-02 13:08:09 -07:00
Rohan Kumar
c1f991efff
xhtmlize: switch back to using xmllint
Switch back to using xmllint, but now extract + replace the CSS to
address the escaping.
2022-06-01 22:11:40 -07:00
Rohan Kumar
672d89d007
More whitespace fixes 2022-06-01 21:49:04 -07:00
Rohan Kumar
89139337d1
Fix some whitespace 2022-06-01 21:00:19 -07:00
Rohan Kumar
425071eade
Auto-format markup in CI
Use xmlfmt with some extra post-processing since xmlfmt has a few
issues wrt extra newlines.
2022-06-01 17:37:14 -07:00
Rohan Kumar
b4850ed89a
Use XML declaration on XHTML, other XHTML tweaks
- Remove XHTML content-type meta header from HTML documents, reverting
  back to the meta charset
- Give XHTML documents their own XHTML declaration
- Remove now-redundant meta charset from XHTML
- Since XHTML and HTML documents differ now, compress after running
  xhtmlize and make xhtmlize only act on uncompressed files.
- Validate XHTML using vnu
2022-05-31 17:16:44 -07:00
Rohan Kumar
90aeb2d23a
Create both index.html and index.xhtml files
Combines well with content-negotiation based on the "Accept" header.
2022-05-30 16:09:40 -07:00