commits
and fix empty-repo rendering.
Signed-off-by: oppiliappan <me@oppi.li>
From https://datatracker.ietf.org/doc/html/rfc9207#section-2.4 :
"Clients MUST [...] compare the result to the issuer identifier of the
authorization server where the authorization request was sent to. [...]
If the value does not match the expected issuer identifier, clients MUST
reject the authorization response and MUST NOT proceed with the
authorization grant."
Signed-off-by: Mike P <fentiger@mythik.co.uk>
Signed-off-by: Anirudh Oppiliappan <anirudh@tangled.sh>
Signed-off-by: Anirudh Oppiliappan <anirudh@tangled.sh>
This reverts commits 1931b62baa4452616203ccbb356da72688bc4587 and 86d0b4060de074759eff40666b90be86c244ab23.
Signed-off-by: Winter <winter@winter.cafe>
Causes too many regressions, unfortunately:
- https://discord.com/channels/1361963801993285692/1361991850327674932/1406398439830323292
- https://discord.com/channels/1361963801993285692/1361991850327674932/1406401591627747519
Ideally, our templates wouldn't be whitespace-sensitive (example #1),
but let's stop the bleeding while we figure it out.
Signed-off-by: Winter <winter@winter.cafe>
Signed-off-by: Winter <winter@winter.cafe>
I guess it's not idempotent in some cases? Looks like it's happy with
these, though, as rerunning it after this commit produces no changes.
Hopefully this is a one time thing...
Signed-off-by: Winter <winter@winter.cafe>
Since Zed can't easily use our wrapped Prettier (see previous commit),
and we're now using three formatters, let's just add one command to
format all of our code correctly.
Signed-off-by: Winter <winter@winter.cafe>
This also removes the Zed Prettier configuration, because AFAICT, it
never actually worked, and will not work with how we install Prettier
now. :(
Signed-off-by: Winter <winter@winter.cafe>
This does result in the removal of some options that aren't supported by
the SQLite driver [0], but IMO we can stick with the defaults for these.
[0]: https://github.com/mattn/go-sqlite3#connection-string
Signed-off-by: Winter <winter@winter.cafe>
`sql.DB` pools connections, which means that there's a good chance that
our foreign keys aren't actually being enforced, unless a goroutine
happens to be using the connection that was made when we set `pragma
foreign_keys = 1`.
Signed-off-by: Winter <winter@winter.cafe>
do not return errors from ingesters, this causes the read loop to be
killed.
Signed-off-by: oppiliappan <me@oppi.li>
Signed-off-by: oppiliappan <me@oppi.li>
Signed-off-by: oppiliappan <me@oppi.li>
define variants for all families, weights and styles.
Signed-off-by: oppiliappan <me@oppi.li>
based on lowercase IBM Plex Mono `t`, italic variant.
thanks to @t1c.dev!
Signed-off-by: oppiliappan <me@oppi.li>
when attempting to do an authorized request while logged-out, the auth
middleware boots the user to the login page. this page now keeps track
of the 'Referer' in the oauth request. once the oauth callback is
complete, the user is sent back to the page they came from.
Signed-off-by: oppiliappan <me@oppi.li>
Signed-off-by: oppiliappan <me@oppi.li>
Signed-off-by: oppiliappan <me@oppi.li>
Signed-off-by: oppiliappan <me@oppi.li>
- `inline-block` on li was too general, this only applies on
`li:has(input)` now
- all styles have been moved to input.css and apply only to children of
prose
Signed-off-by: oppiliappan <me@oppi.li>
- initialize sanitizer once, and reuse for life
- improve policies, and allow sanitizer to hold multiple policies
(this will come in handy, for PR titles, repo description, profiles
description etc.)
- add general safe items to allow list, most of these are generated by
goldmark GFM
Signed-off-by: oppiliappan <me@oppi.li>
Signed-off-by: oppiliappan <me@oppi.li>
this simplifies the error collection logic a lot.
Signed-off-by: oppiliappan <me@oppi.li>
Signed-off-by: oppiliappan <me@oppi.li>
Even though nothing in this folder would match the extensions we watch,
probably makes sense to not even waste the cycles doing so.
Signed-off-by: Winter <winter@winter.cafe>
This also switches away from `nixos-shell` in the process as by this
point it wasn't really adding much to our setup except inflexibility.
Signed-off-by: Winter <winter@winter.cafe>
It's unidiomatic, and doesn't allow extension by way of changing the
systemd service options (like is done in the following commit).
Signed-off-by: Winter <winter@winter.cafe>
7a076be1af4677a7246a792fecb463e4e6f1afee, but for the actual file *tree*
template (used anywhere we show a diff of a tree).
Signed-off-by: Winter <winter@winter.cafe>
non-forked repos show a book icon, forked repos show a fork icon
Signed-off-by: Samuel Newman <mozzius@protonmail.com>
adds a fork indicator to the repo lists in the profile, if repo is forked
Signed-off-by: Samuel Newman <mozzius@protonmail.com>
Signed-off-by: dusk <y.bera003.06@protonmail.com>
I think it'd be nice to make setting `TANGLED_VM_SPINDLE_OWNER`
optional and run VMs without a spindle in that case, but
let's just document the status quo for now.
Signed-off-by: Ilya Grigoriev <ilyagr@users.noreply.github.com>
Signed-off-by: Ilya Grigoriev <ilyagr@users.noreply.github.com>
Signed-off-by: Winter <winter@winter.cafe>
This allows us to be more precise when downloading e.g. tags that have the
same name as branches (in which case Git defaults to the branch, not sure
what go-git does).
Signed-off-by: Winter <winter@winter.cafe>
Signed-off-by: glomdom <sadonkovkiril@gmail.com>
Signed-off-by: glomdom <sadonkovkiril@gmail.com>
adds a little bit of javascript to close dropdowns in the topbar when clicking outside of them
Signed-off-by: Samuel Newman <mozzius@protonmail.com>
Signed-off-by: oppiliappan <me@oppi.li>
Signed-off-by: oppiliappan <me@oppi.li>
Minor, but important fixups
Signed-off-by: Ilya Grigoriev <ilyagr@users.noreply.github.com>
This functionality seems to be available since jj 0.29.
Signed-off-by: Ilya Grigoriev <ilyagr@users.noreply.github.com>
I'm so sick of this thing rebuilding every time I reload my devshell.
Signed-off-by: Winter <winter@winter.cafe>
hopefully people use their existing handles now
Signed-off-by: oppiliappan <me@oppi.li>
Picking up https://github.com/nix-community/gomod2nix/commit/7f963246a71626c7fc70b431a315c4388a0c95cf.
Signed-off-by: Winter <winter@winter.cafe>
Signed-off-by: Seongmin Lee <boltlessengineer@proton.me>
after changing the sshd config, it's necessary to reload ssh. added instructions on how to do this to the self-hosting guide
Signed-off-by: Samuel Newman <mozzius@protonmail.com>
This change correctly points /knots to https://tangled.sh/knots instead
of https://tangled.sh/@tangled.sh/core/tree/master/knots
Signed-off-by: Samuel Shuert <me@thecoded.prof>
Signed-off-by: Winter <winter@winter.cafe>
and fix empty-repo rendering.
Signed-off-by: oppiliappan <me@oppi.li>
From https://datatracker.ietf.org/doc/html/rfc9207#section-2.4 :
"Clients MUST [...] compare the result to the issuer identifier of the
authorization server where the authorization request was sent to. [...]
If the value does not match the expected issuer identifier, clients MUST
reject the authorization response and MUST NOT proceed with the
authorization grant."
Signed-off-by: Mike P <fentiger@mythik.co.uk>
Causes too many regressions, unfortunately:
- https://discord.com/channels/1361963801993285692/1361991850327674932/1406398439830323292
- https://discord.com/channels/1361963801993285692/1361991850327674932/1406401591627747519
Ideally, our templates wouldn't be whitespace-sensitive (example #1),
but let's stop the bleeding while we figure it out.
Signed-off-by: Winter <winter@winter.cafe>
when attempting to do an authorized request while logged-out, the auth
middleware boots the user to the login page. this page now keeps track
of the 'Referer' in the oauth request. once the oauth callback is
complete, the user is sent back to the page they came from.
Signed-off-by: oppiliappan <me@oppi.li>
- initialize sanitizer once, and reuse for life
- improve policies, and allow sanitizer to hold multiple policies
(this will come in handy, for PR titles, repo description, profiles
description etc.)
- add general safe items to allow list, most of these are generated by
goldmark GFM
Signed-off-by: oppiliappan <me@oppi.li>