1
0
Fork 0
mirror of https://git.sr.ht/~seirdy/seirdy.one synced 2024-12-25 10:12:10 +00:00
Commit graph

26 commits

Author SHA1 Message Date
Rohan Kumar
9632c3ca91
Use headless-new for chromium 2023-12-12 18:24:11 -08:00
Rohan Kumar
a3e4729b6c
Update Webhint configs
- More exact browserlist
- stop hiding "hint" execution
- Disable chromium sandbox since I'm now running it in a container and
  all content is trusted.
- Remove obsolete elements-to-ignore from the compatibility check.
- Re-enable the compression check but disable checking for Zopfli
  compression, which returns a fale-positive; I use
  efficient-compression-tool for gzip compression which is actually
  better than Zopfli.
- Stop ignoring the "X-Frame-Options" header in no-disallowed-headers,
  since I stopped sending that header.
2023-11-23 18:40:01 -08:00
Rohan Kumar
66c4c62888
Make feedvalidator run offline
This is possible thanks to a feedvalidator bug being fixed:
<d4ee1132eb>
2023-11-17 15:25:31 -08:00
Rohan Kumar
94a15855c9
Use Flatpak Chromium headless
inb4 a bunch of people from the privsec community @ me for using flatpak
chromium:

Yes, the sandboxing is different, but I'm not using this as my
day-to-day browser. I'm using it headless for measurements and auditing.
I want a browser that behaves as close to upstream official Chromium
builds when doing Chromium measurements.

Take some deep breaths. Here, have a glass of water.
2023-11-10 10:02:33 -08:00
Rohan Kumar
d8aeaa6bfa
LH: use prod origin 2023-08-29 20:02:44 -07:00
Rohan Kumar
2d9fb777d2
disable some tests 2023-08-01 17:47:50 -07:00
Rohan Kumar
6f2da751e9
Enable DNS-based APLN for Lighthouse runs 2022-08-12 00:00:05 -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
783d6645aa
Use headless browser again, throttle a bit less 2022-08-02 18:22:39 -07:00
Rohan Kumar
aded765539
Use thorium with heavy throttling
Now that css containment has dramatically improved large-page
performance, I can crank up the chromium throttling during lighthouse
runs to ensure no perf regressions.
2022-08-01 20:56:12 -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
b93e44b725
Internal tooling: open LH audits automatically 2022-07-15 17:19:46 -07:00
Rohan Kumar
1345e19d68
Switch Axe to use FF headless
Chromium was causing issues. This is much slower but it works.
2022-07-12 09:41:06 -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
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
99264641f3
Add axe-core linting to supplementary Makefile 2022-06-13 17:06:48 -07:00
Rohan Kumar
7a3aee1539
Streamline lint configuration
- Add lint using local installation of the Nu HTML Validator and some
  jq-based filtering of false positives
- Move linter configs to directory, to de-clutter the repo
2022-05-11 10:01:22 -07:00
Rohan Kumar
e108bfb4f5
Meta: switch headless chromium installation
I use a different installation for headless tests since dev snapshots
were too slow.
2022-05-10 16:12:55 -07:00
Rohan Kumar
c03af0eacc
Use new "indieweb-person" shortcode
This should reduce a lot of repetition. Supports first/last names,
nicknames, generic names that don't conform to first/last norms, and
has basic support for affiliated organizations.

Also snuck in more info on website colors to the web best practices
article, inc. a link to Chris' Wiki.
2022-02-19 12:48:53 -08:00
Rohan Kumar
d6363e2948
Fix makefiles 2021-07-19 02:58:39 -07:00
Rohan Kumar
fef8571e40
Update tooling 2021-06-30 00:06:55 -07:00
Rohan Kumar
34ba9e30cf
Makefile.online: add redbot 2020-12-22 18:11:19 -08:00
Rohan Kumar
64496029ff
Add new/updated files for testing
Add new/updated config files for lighthouse, webhint, and lychee.
Ignore artifacts produced by lighthouse in .gitignroe
2020-12-21 16:47:40 -08:00