Commit Graph

32 Commits

Author SHA1 Message Date
Simon Ser 81e2e8471b Drop go.mod files in subdirectories
Only use a single top-level go.mod.
2023-12-04 12:13:23 +01:00
Drew DeVault 4436def286 Implement user account deletion 2022-11-01 14:01:38 +01:00
Drew DeVault 6603c1a766 gitsrht-keys: upgrade srht-keys dependency 2021-12-08 12:00:28 +01:00
Julien Moutinho 4596e334af gitsrht-keys: update go.{mod,sum} for go-redis 2021-12-08 11:58:10 +01:00
Julien Moutinho 0c9fd38127 gitsrht-keys: update go-redis to support Unix sockets 2021-12-08 11:58:07 +01:00
Drew DeVault 1ed2038ab1 gitsrht-keys: update scm.sr.ht 2020-10-05 13:41:54 -04:00
Drew DeVault dc0be99a40 gitsrht-keys: style 2020-09-03 10:12:29 -04:00
Drew DeVault d2f13a6cc1 go.mod, go.sum: update core-go, scm.sr.ht 2020-08-20 10:09:19 -04:00
наб f765083626 Bump srht-keys to update SSH key used time on use
Ref: ~sircmpwn/meta.sr.ht#82
Ref: ~sircmpwn/meta.sr.ht#140
2020-08-20 10:07:25 -04:00
2xsaiko 1bbbc0beda Use default value for redis-host if value is empty 2020-07-06 12:03:47 -04:00
Drew DeVault d95fde22d4 gitsrht-keys: upgrade scm.sr.ht 2020-05-22 12:18:59 -04:00
Drew DeVault 494d872b03 Go bits: parse Redis host as a URL 2019-12-19 10:31:26 -05:00
Drew DeVault d2b30e9caa Fix go imports for gitsrht-keys 2019-12-19 09:59:08 -05:00
Denis Laxalde 971c44aca3 Exit when failing to read config file in gitsrht-keys 2019-12-19 09:37:22 -05:00
Denis Laxalde caad1db81c Make gitsrht-keys use srht-keys module from scm.sr.ht
Only the main() is kept and it uses srhtkeys's functions.
2019-12-19 09:37:16 -05:00
Thorben Günther 1b4423e12c Allow users to set redis port too. 2019-12-19 09:20:33 -05:00
Thorben Günther bfe62f1cc4 Read redis host from cfg. 2019-12-15 11:49:33 -05:00
Drew DeVault 85fb9eca26 Improve logging in SSH pipeline 2019-11-20 10:54:41 -05:00
Drew DeVault 84afd9d7b0 Rewrite gitsrht-update-hook in Go 2019-11-19 18:36:00 -05:00
Drew DeVault 8224d76a27 gitsrht-keys: use printf instead of println 2019-11-14 17:14:42 -05:00
Drew DeVault 4b6b57d52f gitsrht-keys: fix cache miss issues 2019-11-14 17:12:15 -05:00
Drew DeVault 87093ceffe Rewrite gitsrht-keys in Golang 2019-11-14 16:52:31 -05:00
Jelle Besseling 408cce8848 Update last_used value on ssh key on auth
Calls the meta.sr.ht api to update the last_used field on the ssh key
used for authentication.
2019-08-27 10:00:29 +09:00
Drew DeVault 45cf6a9971 Cache keys when fetching from fallback 2019-08-13 15:06:19 +09:00
Drew DeVault 2e5d1e3817 Improve performance of git push 2019-08-13 14:53:44 +09:00
Drew DeVault f131db58b5 Add RepoWebhook (for post-update webhooks) 2019-04-23 13:46:51 -04:00
Drew DeVault 498e193da0 Only import oauth_service when contacting meta 2019-04-23 13:22:19 -04:00
Drew DeVault 6686cfa10f Update to use core.sr.ht's get_origin 2019-04-09 20:12:47 -04:00
Drew DeVault 9bd5849952 Simplify gitsrht-keys 2019-02-14 15:49:18 -05:00
Drew DeVault 3ed6fe9b8e Fix shell name in gitsrht-keys 2018-12-31 12:09:10 -05:00
Drew DeVault acf9751e05 Swap relation of symlinks 2018-12-31 11:24:45 -05:00
Drew DeVault 41da2bd64b Add gitsrht-* symlinks to git-srht-* 2018-12-31 11:08:44 -05:00