commits
Signed-off-by: oppiliappan <me@oppi.li>
Signed-off-by: afterlifepro <vielle.dev@proton.me>
tangled.sh has been moved to tangled.org
Signed-off-by: Samuel Shuert <me@thecoded.prof>
Signed-off-by: Vidya Sagar VOBBILISETTI <mail@vidyasagarv.com>
Signed-off-by: Anirudh Oppiliappan <anirudh@tangled.org>
Signed-off-by: oppiliappan <me@oppi.li>
GetRepo is a specialization for GetRepos which is to be used when the
filters are primary keys.
Signed-off-by: oppiliappan <me@oppi.li>
instead of using a massive left join, it now uses a few FilterIns. we
can also get rid of the GetPull helper, it is a specialization of
GetPulls that returns a single pull request.
Signed-off-by: oppiliappan <me@oppi.li>
Given that repo names cannot be changed later, this gives the
freedom to choose the name and still stay in the fork network.
Signed-off-by: Vidya Sagar VOBBILISETTI <mail@vidyasagarv.com>
Enables commit verification for users using a DID in place of an email
address.
<https://tangled.org/@tangled.org/core/issues/218>
Signed-off-by: tjh <did:plc:65gha4t3avpfpzmvpbwovss7>
Signed-off-by: oppiliappan <me@oppi.li>
Sets up Cloudflare Turnstile for fairly non-intrusive captcha. The
client token is verified with CF when the user hits 'join now' (POST
/signup), so this should prevent bot signups.
Signed-off-by: Anirudh Oppiliappan <anirudh@tangled.org>
Signed-off-by: oppiliappan <me@oppi.li>
Also some misc. changes to page layouts.
Signed-off-by: Anirudh Oppiliappan <anirudh@tangled.org>
this simplifies readme detection and improves page performance.
Signed-off-by: oppiliappan <me@oppi.li>
Signed-off-by: oppiliappan <me@oppi.li>
Signed-off-by: oppiliappan <me@oppi.li>
validation also performs a transformation upon labels: it resolves
handles to DIDs, it is important that this transform be present when
determining redundant ops.
Signed-off-by: oppiliappan <me@oppi.li>
the ordering of ops should be deletes first followed by additions, in
order for ingestions to be idempotent. after every optimistic update the
the DB, we ingest the same record via the firehose. an ordering
difference resulted in certain additions being marked as no-ops when in
reality, it should be an addition followed by a deletion.
Signed-off-by: oppiliappan <me@oppi.li>
Signed-off-by: oppiliappan <me@oppi.li>
Signed-off-by: noClaps <git@zerolimits.dev>
previously, we would only refresh sessions when authenticated requests
took place. the new middleware attempts a refresh for every request, if
expiry is approaching (<5m). this way, user sessions remain refreshing
by simply hanging out on tangled.
Signed-off-by: oppiliappan <me@oppi.li>
the upgrade banner is left empty if the user's session is expired. this
prevents them from randomly being booted to the login page.
Signed-off-by: oppiliappan <me@oppi.li>
Signed-off-by: noClaps <git@zerolimits.dev>
Signed-off-by: noClaps <git@zerolimits.dev>
Signed-off-by: Anirudh Oppiliappan <anirudh@tangled.org>
Squish logo, profile and new button on smaller displays.
Signed-off-by: Anirudh Oppiliappan <anirudh@tangled.org>
Signed-off-by: oppiliappan <me@oppi.li>
Signed-off-by: oppiliappan <me@oppi.li>
Signed-off-by: Anirudh Oppiliappan <anirudh@tangled.sh>
Signed-off-by: Anirudh Oppiliappan <anirudh@tangled.sh>
Signed-off-by: Anirudh Oppiliappan <anirudh@tangled.sh>
Signed-off-by: Anirudh Oppiliappan <anirudh@tangled.sh>
Signed-off-by: Anirudh Oppiliappan <anirudh@tangled.sh>
Also add NewIssueComment to the interface.
Signed-off-by: Anirudh Oppiliappan <anirudh@tangled.sh>
Signed-off-by: Anirudh Oppiliappan <anirudh@tangled.sh>
Signed-off-by: Anirudh Oppiliappan <anirudh@tangled.sh>
slipped through debug.
Signed-off-by: oppiliappan <me@oppi.li>
Signed-off-by: oppiliappan <me@oppi.li>
quickly subscribe to all default labels.
Signed-off-by: oppiliappan <me@oppi.li>
Signed-off-by: oppiliappan <me@oppi.li>
this page was making a redundant query to db.GetRepos. this page could
be still faster when paginated.
Signed-off-by: oppiliappan <me@oppi.li>
switch from corelated query to window function. practically, this gives
us a 10x speedup for this portion of the function. we can go further by
running each subquery for GetRepos concurrently, but the potential wins
here is in the order of ~2ms.
Signed-off-by: oppiliappan <me@oppi.li>
Signed-off-by: oppiliappan <me@oppi.li>
Signed-off-by: oppiliappan <me@oppi.li>
the ordering of ops should be deletes first followed by additions, in
order for ingestions to be idempotent. after every optimistic update the
the DB, we ingest the same record via the firehose. an ordering
difference resulted in certain additions being marked as no-ops when in
reality, it should be an addition followed by a deletion.
Signed-off-by: oppiliappan <me@oppi.li>