~edwargix/git.sr.ht

archive: fix command injection
b063dbda — Drew DeVault 1 year, 7 months ago
gitsrht-periodic: fix non-integer randrange use
b6b184c7 — Drew DeVault 1 year, 7 months ago
gitsrht-periodic: drop unsupported timer

This uses an unstable/undocumented part of the Prometheus Python
interface.
c5c1cb9e — Drew DeVault 1 year, 7 months ago
Upgrade to Alpine 3.17
3039891a — Umar Getagazov 1 year, 7 months ago
api: prevent repos with ACL from being duplicated

Only join with access entries if the second condition of the OR
condition in the WHERE clause (i.e. `repo.visibility = 'PUBLIC') is
false, which prevents WHERE from short-circuiting for every row.
a0e9ae71 — Drew DeVault 1 year, 8 months ago
blueprints/manage.py: fix incorrect route name
58f956ab — Arsen Arsenović 1 year, 10 months ago
utils.html: Add a permalink breadcrumb
1f83634d — David Florness 1 year, 8 months ago
Replace meta.sr.ht's /oauth endpoint with /oauth2 in comment

While there is a link to /oauth2 on the /oauth page, landing on /oauth2 right
away makes it obvious to server admins that /oauth2 is where they should be.

Discussion: <https://lists.sr.ht/~sircmpwn/sr.ht-discuss/%3C877cwnhpni.fsf%40florness.com%3E>
Signed-off-by: David Florness <david@florness.com>
Add repo description to summary page title

Makes it easier to find repos in the history of browsers that save titles.

Potentially makes web search engine results more useful.
59b98e2e — Arsen Arsenović 1 year, 10 months ago
commit.html: Add button to download .tar.gz
0100a8a3 — Vlad-Stefan Harbuz 1 year, 10 months ago
add license nav item to repo subpages

Fixes: https://todo.sr.ht/~sircmpwn/git.sr.ht/374
Signed-off-by: Vlad-Stefan Harbuz <vlad@vladh.net>
be2eda01 — Adnan Maolood 1 year, 10 months ago
api: Upgrade go-git
f48457a0 — Conrad Hoffmann 1 year, 10 months ago
Revert "Fix text-decoration for <del> tag"

This reverts commit 390e609e533048007e73b8cd587d1923989e7373.

The approach was too heavy-handed. It messes with folks who use <del> in
their README. The commit that introduced the issue that the reverted
commit was trying to address has itself been reverted.
09128ad3 — Conrad Hoffmann 1 year, 10 months ago
Revert "Change markup for diff insert/delete lines"

This reverts commit b75d2f0e03317c9b37dfdb702f3a959555309890.

This commit has some issues:

- It uses <ins>/<del> not for the content that was actually
  added/removed (i.e. the diff), but for the line stats. I don't think
  that helps accessibility, it might actually make it worse.
- It adds some CSS to apply text decoration to <ins>/<del>, but only
  inside the `diff` class. However, the elements never occur inside the
  `diff` class (see first item). The CSS is never used.
- Instead, the place where it was used (line stats) got unintended text
  decoration applied, causing a follow-up commit which fixed this the
  wrong way, causing yet more issues (fixed in next commit).

I think the one place where it would make sense to apply <ins>/<del> is
the diff itself, but that might be a more serious operation.
03671cc4 — Adnan Maolood 1 year, 11 months ago
api/graph: Avoid race condition when cloning repos
fe9d0d9a — Adnan Maolood 1 year, 11 months ago
api/graph: Ensure files are closed after creation
cd790c9b — Drew DeVault 1 year, 11 months ago
Revert "Resolve name and email from mailmap"

This patch has an oversight, sent backtrace to Seb for review.

This reverts commit 2369d4aa225d9f7d7d0b3fc77e391ee884cebf7c.
d9d75066 — Conrad Hoffmann 2 years ago
api: rename accessControlList() to acls()

To be consistent with other services (e.g. todo.sr.ht).
b626d917 — Conrad Hoffmann 2 years ago
api: expose current user's repository access level

For a given repository, the `access` attribute contains the AccessMode
that applies to the current user.
e02b460f — Thorben Günther 1 year, 11 months ago
api: Rename user webhook mutations

Conform with terminology of other services.
Make deleteUserWebhook non-nullable.
Next