about summary refs log tree commit diff
path: root/web (unfollow)
AgeCommit message (Collapse)AuthorFilesLines
2021-12-27 r/3448 refactor(web/todolist): omit unnecessary intermediate drvzseri1-9/+13
also import yants functions explicitly Change-Id: Idd16d130a95efc30216cb54051c7193a42978003 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4689 Tested-by: BuildkiteCI Reviewed-by: zseri <zseri.devel@ytrizja.de> Reviewed-by: lukegb <lukegb@tvl.fyi> Autosubmit: zseri <zseri.devel@ytrizja.de>
2021-12-26 r/3447 feat(ops/machines/all-systems): Add grfn/mugwumpGriffin Smith1-0/+1
Change-Id: I7770b58c44a5700e86c80d1058e89e9fa65d719b Reviewed-on: https://cl.tvl.fyi/c/depot/+/4686 Tested-by: BuildkiteCI Reviewed-by: grfn <grfn@gws.fyi> Autosubmit: grfn <grfn@gws.fyi>
2021-12-26 r/3446 fix(auto-deploy): Add missing packages to pathGriffin Smith1-3/+5
Building nix derivations needs tar (provided by gnutar) and gzip on the PATH in order to extract .tar.gz archives. Change-Id: Ia2df7a3a770cfd342dfede58ad34e04805fbd1f8 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4685 Tested-by: BuildkiteCI Autosubmit: grfn <grfn@gws.fyi> Reviewed-by: wpcarro <wpcarro@gmail.com>
2021-12-26 r/3445 feat(sterni/aoc/2021): day 4 solutionsterni1-0/+20
Change-Id: Ib8b4206b40acad32e10ebd9103e54074ba3452fc Reviewed-on: https://cl.tvl.fyi/c/depot/+/4681 Reviewed-by: sterni <sternenseemann@systemli.org> Autosubmit: sterni <sternenseemann@systemli.org> Tested-by: BuildkiteCI
2021-12-26 r/3444 feat(sterni/aoc/2021): don't split on consecutive occurrences of 𝕨sterni1-1/+1
Change-Id: I2ab17e0238df297f580c45bc28914c6dfd0ce848 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4680 Reviewed-by: sterni <sternenseemann@systemli.org> Autosubmit: sterni <sternenseemann@systemli.org> Tested-by: BuildkiteCI
2021-12-26 r/3443 feat(wpcarro/website): Add slight horizontal padding for mobile 📱William Carroll1-1/+1
The content needs small gutters to improve readability on my iPhone 12. Change-Id: I751ae5387ad93c95729e642c21c37e481412c00e Reviewed-on: https://cl.tvl.fyi/c/depot/+/4678 Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI
2021-12-26 r/3442 feat(wpcarro/website): Support drop-shadow on-scroll 📱William Carroll1-1/+11
Thank you, Tailwind CSS, for making this easy. Change-Id: I95f99bf480d78137797aef1e4d609acc509906a6 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4677 Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com>
2021-12-26 r/3441 feat(wpcarro/website): Add bottom padding to footer 📱William Carroll1-1/+1
Breathing room Change-Id: Ic7fe94194689a8a6189538487bb0ea82a4866c50 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4676 Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI
2021-12-26 r/3440 fix(wpcarro/website): Link to //users/wpcarro instead of rootWilliam Carroll1-1/+1
For depot link Change-Id: Ia7f3edd5660a87ed4c6b15db60cbc3be033e1529 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4675 Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI
2021-12-26 r/3439 fix(wpcarro/website): Adjust vertical padding in headerWilliam Carroll1-2/+2
Looks better when scrolling on mobile. Change-Id: Id5530ea12571e9470df0a76054c7426570c1a4e3 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4674 Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI
2021-12-26 r/3438 feat(grfn/bbbg): Display attendee list on event pageGriffin Smith2-5/+53
Change-Id: I16caecf3b6edcabec05490e0d29780d45ecd1f91 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4673 Tested-by: BuildkiteCI Reviewed-by: grfn <grfn@gws.fyi> Autosubmit: grfn <grfn@gws.fyi>
2021-12-26 r/3437 feat(wpcarro/website): Add responsive styling for mobile 📱William Carroll1-6/+28
Pretty easy with Tailwind CSS Change-Id: I2acf6ef3b093fbd604fb17ca5334c909e2e24b2d Reviewed-on: https://cl.tvl.fyi/c/depot/+/4672 Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI
2021-12-26 r/3436 feat(grfn/bbbg): Last remaining styling tweaksGriffin Smith2-5/+11
Change-Id: Ic734f6a84f8bcf8126c048e03344c7f214b9ca86 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4671 Reviewed-by: grfn <grfn@gws.fyi> Autosubmit: grfn <grfn@gws.fyi> Tested-by: BuildkiteCI
2021-12-26 r/3435 fix(grfn/bbbg): Don't overwrite session on signupGriffin Smith1-1/+0
Change-Id: I9436f1690b8da8e23e1c5ca88f9dcb06380e568f Reviewed-on: https://cl.tvl.fyi/c/depot/+/4670 Reviewed-by: grfn <grfn@gws.fyi> Autosubmit: grfn <grfn@gws.fyi> Tested-by: BuildkiteCI
2021-12-26 r/3434 fix(grfn/bbbg): Fix honeysql syntax for upsertGriffin Smith1-2/+2
Change-Id: I49eb046a1897794442c748e81560de76684eda01 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4669 Reviewed-by: grfn <grfn@gws.fyi> Autosubmit: grfn <grfn@gws.fyi> Tested-by: BuildkiteCI
2021-12-26 r/3433 fix(grfn/bbbg): Add margins to flash messages on mobileGriffin Smith2-2/+11
Change-Id: I5e33ba65ef4b6c55485fa4fb895bd6e7b3f24f1f Reviewed-on: https://cl.tvl.fyi/c/depot/+/4668 Reviewed-by: grfn <grfn@gws.fyi> Autosubmit: grfn <grfn@gws.fyi> Tested-by: BuildkiteCI
2021-12-26 r/3432 feat(grfn/bbbg): Style event listGriffin Smith5-44/+124
Change-Id: I917e11e453126246c4110a6e42452dda4713b441 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4667 Reviewed-by: grfn <grfn@gws.fyi> Autosubmit: grfn <grfn@gws.fyi> Tested-by: BuildkiteCI
2021-12-26 r/3431 fix(wpcarro/website): Add top-0 to 👋William Carroll1-1/+1
Without this, the hand is properly position only some of the time... it's almost quantum-like behavior ⚛ Change-Id: I7d5d9ed953f84bd097623e9f8abb1b2140c5bdc3 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4666 Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI
2021-12-26 r/3430 feat(users/tazjin/hanebuschtag): schabernackensteakProfpatsch1-0/+2
Change-Id: I6a430f1d44977f74d71f43594e2d78f743adbfad Reviewed-on: https://cl.tvl.fyi/c/depot/+/4665 Reviewed-by: tazjin <mail@tazj.in> Tested-by: BuildkiteCI
2021-12-26 r/3429 feat(wpcarro/website): Revamp wpcarro.dev 🎉William Carroll1-24/+73
- Include Tailwind CSS (use the CDN for simplicity) - Update copy - Add some easter eggs 🐰🥚 Change-Id: I329e3569506274f60faf1ac0b1e4a87e7e6c10f8 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4664 Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com>
2021-12-26 r/3428 fix(ops/keycloak): set up client for usage with oauth2_proxyVincent Ambo1-7/+7
This will be useful for things like panettone, pending a NixOS module for oauth2-proxy (the upstream one is too complicated and doesn't support what we need). Change-Id: I4ca193e10a94a29b1fb9003e945896ff8eb61116 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4662 Tested-by: BuildkiteCI Reviewed-by: Profpatsch <mail@profpatsch.de> Autosubmit: tazjin <mail@tazj.in>
2021-12-26 r/3427 fix(ops/keycloak): trust email addresses from LDAPVincent Ambo1-0/+1
Verified emails are required for some things, like e.g. oauth2_proxy Change-Id: Ifb124be40d6d2863cd1b7ed5fbdfcf4827e8808c Reviewed-on: https://cl.tvl.fyi/c/depot/+/4661 Tested-by: BuildkiteCI Autosubmit: tazjin <mail@tazj.in> Reviewed-by: Profpatsch <mail@profpatsch.de>
2021-12-26 r/3426 feat(ops/keycloak): Set up oauth2_proxy clientVincent Ambo1-0/+21
Change-Id: I996d9644ed7e870d6e5a42af117eafbf841da679 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4640 Tested-by: BuildkiteCI Autosubmit: tazjin <mail@tazj.in> Reviewed-by: Profpatsch <mail@profpatsch.de>
2021-12-26 r/3425 feat(ops/keycloak): Check in initial Keycloak configurationVincent Ambo4-0/+55
This is still missing most of the client configuration etc., in part due to bugs in the provider which are preventing resource imports. Change-Id: Ic224ffc001f8e1fe6dcd47b7d002580fdf7b0774 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4628 Tested-by: BuildkiteCI Autosubmit: tazjin <mail@tazj.in> Reviewed-by: Profpatsch <mail@profpatsch.de>
2021-12-26 r/3424 fix(depotfmt): handle multiple terraform filesVincent Ambo1-2/+7
`terraform fmt` can only handle a single path, but treefmt expects formatters to be able to handle multiple paths at once. this wraps it in a small shell script that calls `terraform fmt` with at most one path at a time. Change-Id: I2b9c1b89b5a276f3d4915b95608ce36b2509e334 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4639 Tested-by: BuildkiteCI Autosubmit: tazjin <mail@tazj.in> Reviewed-by: grfn <grfn@gws.fyi>
2021-12-26 r/3423 feat(users/Profpatsch): add git-dbProfpatsch2-0/+93
WIP: currently just a simple setup that creates an empty git repo if it doesn’t exist yet, and writes a commit to it. A simple database backed by a bare git repository. WIP: Will speak a simple interactive protocol to query files and update them atomically. It could be made atomic on the git repo level, if a lock is taken between reading the current commit ref and creating the commit. Change-Id: I1fd30a046ac977063c3e08c36d96e835b35ff07d Reviewed-on: https://cl.tvl.fyi/c/depot/+/3046 Tested-by: BuildkiteCI Reviewed-by: Profpatsch <mail@profpatsch.de>
2021-12-26 r/3422 feat(third_party/rust-crates): add git2Profpatsch1-29/+172
Also make rust-crates into a rec argument for now, which is simpler. Change-Id: Ie443f72d9633614f0ffa0c43aac1785e8577b0ce Reviewed-on: https://cl.tvl.fyi/c/depot/+/3045 Tested-by: BuildkiteCI Reviewed-by: Profpatsch <mail@profpatsch.de>
2021-12-26 r/3421 feat(grfn/mugwump): Enable auto-deployGriffin Smith1-0/+5
Change-Id: I46132dd4439339365f2950de763815e548893b1f Reviewed-on: https://cl.tvl.fyi/c/depot/+/4663 Reviewed-by: grfn <grfn@gws.fyi> Autosubmit: grfn <grfn@gws.fyi> Tested-by: BuildkiteCI
2021-12-26 r/3420 feat(grfn/emacs): Add binding for cljr-rename-symbolGriffin Smith1-1/+2
and cider-apropos Change-Id: I2a90fba0268f15f1462c2623b11994851f40e4af Reviewed-on: https://cl.tvl.fyi/c/depot/+/4638 Tested-by: BuildkiteCI Reviewed-by: grfn <grfn@gws.fyi> Autosubmit: grfn <grfn@gws.fyi>
2021-12-26 r/3419 feat(grfn/bbbg): Attendee table responsive on mobileGriffin Smith4-25/+65
Change-Id: Ib299082bc2a697da044ee5b7813d0f4ca0b37cac Reviewed-on: https://cl.tvl.fyi/c/depot/+/4637 Tested-by: BuildkiteCI Reviewed-by: grfn <grfn@gws.fyi> Autosubmit: grfn <grfn@gws.fyi>
2021-12-26 r/3418 feat(grfn/bbbg): Style attendee notesGriffin Smith1-7/+15
Change-Id: Ib2c5be57194cd4cc25dd72aa458462534450a01e Reviewed-on: https://cl.tvl.fyi/c/depot/+/4636 Tested-by: BuildkiteCI Reviewed-by: grfn <grfn@gws.fyi> Autosubmit: grfn <grfn@gws.fyi>
2021-12-26 r/3417 feat(grfn/bbbg): Allow actually saving checksGriffin Smith2-4/+22
Change-Id: I1654631ad4d3ec471a9110b2fd0d03b964c80d1e Reviewed-on: https://cl.tvl.fyi/c/depot/+/4635 Reviewed-by: grfn <grfn@gws.fyi> Autosubmit: grfn <grfn@gws.fyi> Tested-by: BuildkiteCI
2021-12-26 r/3416 feat(grfn/bbbg): Add checks edit form stylingGriffin Smith3-9/+38
Change-Id: I2b965412434002c2739dfeaa733dab408916dba1 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4634 Reviewed-by: grfn <grfn@gws.fyi> Autosubmit: grfn <grfn@gws.fyi> Tested-by: BuildkiteCI
2021-12-26 r/3415 feat(grfn/bbbg): Only show attendees who haven't signed inGriffin Smith2-11/+19
Change-Id: I524fe3f7584fe8a0fbaecbce62f9f875a1735b96 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4633 Reviewed-by: grfn <grfn@gws.fyi> Autosubmit: grfn <grfn@gws.fyi> Tested-by: BuildkiteCI
2021-12-26 r/3414 feat(ops/auto-deploy): Support auto-deployWilliam Carroll4-3/+103
Automatically rebuild the current system's NixOS config from the latest checkout of depot. Change-Id: I23aa7af50e16e985ac34df214e0905e770316e5e Reviewed-on: https://cl.tvl.fyi/c/depot/+/4390 Reviewed-by: wpcarro <wpcarro@gmail.com> Reviewed-by: zseri <zseri.devel@ytrizja.de> Reviewed-by: grfn <grfn@gws.fyi> Autosubmit: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI
2021-12-26 r/3413 fix(wpcarro/diogenes): Admit traffic to wpcarro.dev:6698William Carroll1-1/+5
It's difficult to know whether or not I need this. When I run the following commands... ``` wpcarro@diogenes> nmap localhost PORT STATE SERVICE 22/tcp open ssh 80/tcp open http 443/tcp open https wpcarro@diogenes> nmap wpcarro.dev PORT STATE SERVICE 22/tcp open ssh 80/tcp open http 443/tcp open https 3389/tcp closed ms-wbt-server ``` ...neither localhost nor wpcarro.dev reports 6698 being open even though 6698 is configured to be open in both: - diogenes/default.nix - GCP console Right now, quasselcore is WAI, so I don't want to invest more time into closing this loop. Change-Id: I3d68fd901314aa7d364abf9381dff101411e6d15 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4629 Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI
2021-12-26 r/3412 fix(3p/rust-crates): replace the giant 'with' with R.zseri1-29/+28
Change-Id: I4d8f63806b66977995474118459353c7a93e9712 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4557 Tested-by: BuildkiteCI Reviewed-by: sterni <sternenseemann@systemli.org> Reviewed-by: zseri <zseri.devel@ytrizja.de>
2021-12-26 r/3411 chore: friendship ended with cas, now keycloak is our best friendVincent Ambo37-1785/+1
Note that the login.tvl.fyi WWW configuration is still kind of hanging around until we've settled where Keycloak lives. Change-Id: Iaca4e394a7371cafa3716ca66ef09c4eca5b1520 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4626 Autosubmit: tazjin <mail@tazj.in> Tested-by: BuildkiteCI Reviewed-by: lukegb <lukegb@tvl.fyi>
2021-12-26 r/3410 feat(monorepo-gerrit): Configure for Keycloak compatibilityVincent Ambo2-5/+6
Change-Id: Ic3fce02b071c09cf03e652510f16bafb795a5a1d Reviewed-on: https://cl.tvl.fyi/c/depot/+/4614 Autosubmit: tazjin <mail@tazj.in> Tested-by: BuildkiteCI Reviewed-by: lukegb <lukegb@tvl.fyi> Reviewed-by: grfn <grfn@gws.fyi>
2021-12-25 r/3409 feat(sterni/aoc/25): day 25 part 1 solutionsterni1-0/+20
Change-Id: I8ffefd2b85e595bdae2cfb2bf7b34ea63b82c457 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4627 Reviewed-by: sterni <sternenseemann@systemli.org> Autosubmit: sterni <sternenseemann@systemli.org> Tested-by: BuildkiteCI
2021-12-25 r/3408 refactor(grfn/bbbg): Live-filter for signup formGriffin Smith6-60/+154
Rather than loading as the user types for the signup form, start the page with the full list of attendees already loaded and filter that list as the user types. There are never going to be more than 50 attendees, so there's no perf cost here, and it's nice to have the list to scroll through in the frontend. Change-Id: Iba69b101856756801183979b9384503520b6701f Reviewed-on: https://cl.tvl.fyi/c/depot/+/4624 Tested-by: BuildkiteCI Reviewed-by: grfn <grfn@gws.fyi> Autosubmit: grfn <grfn@gws.fyi>
2021-12-25 r/3407 feat(grfn/bbbg): Add basic signup form stylesGriffin Smith2-9/+31
Change-Id: Ifd7a7f329b77a671642ed0940d2e9dce1f8d0d82 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4623 Tested-by: BuildkiteCI Reviewed-by: grfn <grfn@gws.fyi> Autosubmit: grfn <grfn@gws.fyi>
2021-12-25 r/3406 feat(grfn/bbbg): Link to signup form from event pageGriffin Smith1-0/+3
Change-Id: I00538c4e4400376a063b8758c64649195cd2499b Reviewed-on: https://cl.tvl.fyi/c/depot/+/4622 Tested-by: BuildkiteCI Reviewed-by: grfn <grfn@gws.fyi> Autosubmit: grfn <grfn@gws.fyi>
2021-12-25 r/3405 feat(grfn/bbbg): Add skeleton styling for attendee listGriffin Smith3-11/+106
Change-Id: I2c284f19f80e403c4d2851149fee917e84ea638a Reviewed-on: https://cl.tvl.fyi/c/depot/+/4621 Tested-by: BuildkiteCI Reviewed-by: grfn <grfn@gws.fyi> Autosubmit: grfn <grfn@gws.fyi>
2021-12-25 r/3404 chore(3p): bump NixOS channels to 2021-12-25sterni2-6/+10
* 3p/lisp/closer-mop: closer-mop no longer builds with ECL (see linked issue), so let's mark it as broken for now. Change-Id: I97c29d718682cec4ecc682ff1593d0ce9aca0010 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4607 Tested-by: BuildkiteCI Reviewed-by: tazjin <mail@tazj.in>
2021-12-25 r/3403 fix(wpcarro/quassel): Drop quassel.wpcarro.devWilliam Carroll1-7/+1
Reuse acme cert for wpcarro.dev Change-Id: I4768bbedf9dcf8d0e08fe02849357b311237cd61 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4613 Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com>
2021-12-25 r/3402 refactor(ops/whitby): Move Gerrit secrets into agenixVincent Ambo3-0/+23
Gerrit has OAuth2 and email related secrets which now live in agenix instead of a random file on disk. Change-Id: I6220fbb7a2e2ec0102a900b4bcf6150b8b4d32ef Reviewed-on: https://cl.tvl.fyi/c/depot/+/4612 Tested-by: BuildkiteCI Autosubmit: tazjin <mail@tazj.in> Reviewed-by: lukegb <lukegb@tvl.fyi>
2021-12-25 r/3401 feat(whitby): Configure initial Keycloak setupVincent Ambo4-1/+59
Trialing this as an alternative to CAS that is a little easier to configure and can help us delegate authentication to other OIDC services. Change-Id: Iad63724d349334910af8fed0b148e4ba428f796b Reviewed-on: https://cl.tvl.fyi/c/depot/+/4608 Tested-by: BuildkiteCI Autosubmit: tazjin <mail@tazj.in> Reviewed-by: lukegb <lukegb@tvl.fyi>
2021-12-25 r/3400 chore(wpcarro/emacs): Annotate (some of) my Emacs TODOs with wpcarroWilliam Carroll1-6/+10
...so that they can be properly tracked 🤓 Change-Id: I1e33bd5f0e0a114ef441a5f3f61f387b7afd8708 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4611 Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI
2021-12-25 r/3399 chore(wpcarro/emacs): Drop support for lsp-haskellWilliam Carroll2-9/+0
1. This is spamming my Emacs's *Warnings* buffer on init. 2. I recall this being buggy. 3. I'm not doing active Haskell development at the moment. 4. I'd prefer code-intelligence efforts be put into SourceGraph. Change-Id: I57ba28ec0b2fa3607cd67261a90d134107166c47 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4610 Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI