aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* git_init.go: git_bare_init_with_default_hooksRunxi Yu2025-02-173-5/+35
|
* README.md: s/PGP/SSH/ for commit signature verificationRunxi Yu2025-02-171-2/+2
| | | | Git supports SSH signatures now, and IMO they're far superior to GPG.
* README: Fix typo (sr.ht's CI is builds.sr.ht, not git.sr.ht)Runxi Yu2025-02-171-1/+1
|
* repo_{info,upload_pack}.go: Use system git-upload-pack for HTTP tooRunxi Yu2025-02-172-29/+79
|
* ssh_handle_receive_pack: Use system git-receive-packRunxi Yu2025-02-171-33/+18
|
* ssh_handle_upload_pack: Use system git-upload-packRunxi Yu2025-02-171-33/+19
|
* git_hooks_client: Restructure for clarityRunxi Yu2025-02-171-23/+28
|
* git_hooks_client: Produce useful error message on missing env varRunxi Yu2025-02-171-0/+1
|
* git_hooks_client: Ensure stdin is a pipeRunxi Yu2025-02-171-1/+22
|
* *: Restructure build systemRunxi Yu2025-02-173-6/+7
|
* config.go: git.hooks_socketRunxi Yu2025-02-172-1/+4
|
* git_hooks_client: Splice stdinRunxi Yu2025-02-172-10/+15
| | | | | | Requires stdin to be a pipe. So `cat | ./git_hooks_client` works while `./git_hooks_client` in a terminal directly does not (character devices are not pipes).
* resources.go: Embed git_hooks_client/*Runxi Yu2025-02-171-0/+1
|
* git_hooks{.go,_client}: Add stub for git hook clientsRunxi Yu2025-02-174-0/+90
|
* TODO: Add accessibility notesRunxi Yu2025-02-161-0/+3
|
* ssh_server.go: Update comment about SSH authRunxi Yu2025-02-161-2/+3
|
* README.md: Namespace contrib/, not merge_requests/Runxi Yu2025-02-161-2/+2
| | | | | | | merge_requests is simply too long. Besides, merge requests could be created from branches other than in that namespace. Contrib makes it easier to identify "oh this is a contributor branch, rather than the maintainers".
* *.go: ReformatRunxi Yu2025-02-162-0/+2
|
* Makefile: Don't remove vendor when buildingRunxi Yu2025-02-161-2/+1
|
* go.mod: Move go-billy to directRunxi Yu2025-02-161-1/+1
|
* TODO: Add RSSRunxi Yu2025-02-161-0/+2
|
* schema.sql: Don't use key_string UNIQUERunxi Yu2025-02-161-2/+4
| | | | It creates a btree index, so very long keys won't work.
* ssh_server.go: Strip trailing newlines from keysRunxi Yu2025-02-161-2/+2
|
* *.go: Fix missing error handlingRunxi Yu2025-02-163-2/+12
|
* repo_index: Add HTTP clone along with SSHRunxi Yu2025-02-163-3/+11
|
* http_*: Add HTTP cloningRunxi Yu2025-02-163-2/+76
|
* {ssh_*,acl}.go: Check ACL when receiving packsRunxi Yu2025-02-164-11/+47
|
* schema.sql: Fix public keys and add basic group ACLRunxi Yu2025-02-161-7/+11
|
* ssh_*: Pass pubkey to SSH handlersRunxi Yu2025-02-163-4/+4
|
* ssh_*: Use pure go-git SSH handling (receive and upload)Runxi Yu2025-02-164-23/+132
|
* README.md: Add Libera channelRunxi Yu2025-02-151-0/+2
|
* .gitattributes: *.tmpl should be considered to be HTMLRunxi Yu2025-02-151-1/+1
|
* README.md: Note about Lindenii Mail Daemon in setupRunxi Yu2025-02-151-0/+5
|
* README.md: Code styleRunxi Yu2025-02-151-0/+9
|
* README.md: Update about MRs and fedauthRunxi Yu2025-02-151-1/+23
|
* README.md: Explicitly state that HTTPS read access is plannedRunxi Yu2025-02-151-2/+2
|
* *.go: ReformatRunxi Yu2025-02-154-7/+7
|
* {http_server,url}.go: Fix redirectsRunxi Yu2025-02-152-16/+30
| | | | | | | | | | r.URL.Path contains URL segments already decoded which makes it impossible to distinguish from an encoded %2F and a path separator /. We introduce redirect_with_slash which checks it properly. There is still an occurence of r.URL.Path in the commit handler, but that's going to get a major revamp anyway so I'm not bothering to fix that for now. :/
* http_server.go: Redirect tree to tree/, same for rawRunxi Yu2025-02-151-0/+8
|
* style.css: break-word for #readmeRunxi Yu2025-02-151-0/+5
| | | | | | | Some browsers (chromium and webkit ones, it seems) don't break lines when they encounter a long token without spaces, such as long URLs. This causes the hbox to be overfull and it'll start scrolling which is annoying.
* resources.go: Add .gitattributes tooRunxi Yu2025-02-151-1/+2
|
* LICENSE: AGPL v3Runxi Yu2025-02-152-138/+664
|
* git_misc: COALESCE(r.description, '')Runxi Yu2025-02-151-1/+1
|
* ssh_server: Add carriage returns to SSH output (since no PTY yet)Runxi Yu2025-02-151-4/+4
|
* ssh_server: Add link to sourceRunxi Yu2025-02-153-0/+3
|
* templates: *.html.tmpl -> *.tmplRunxi Yu2025-02-1512-0/+0
|
* Makefile, resources.go: Add vendor directory to serve library sourceRunxi Yu2025-02-153-0/+4
|
* config.go: Remove git.rootRunxi Yu2025-02-141-3/+0
| | | | | | | | We've switched to looking through the database to find paths to repos, so we won't need this for now. But perhaps it'll be re-added in the future when people could create repos via the web interface.
* forge.scfg: Change default ssh rootRunxi Yu2025-02-141-1/+1
| | | | | Since the default listen address is :2222, it'd make sense to add :2222 to the default root.
* forge.scfg: Change default ssh host key pathRunxi Yu2025-02-141-1/+1
| | | | | | | | Usually the user running the forge won't be able to read /etc/ssh/ssh_host_ed25519_key, and OpenSSH likes to panic when it doesn't like key permissions. People likely won't want their OpenSSH and Lindenii SSH host keys to be the same anyway, so let's use /etc/lindenii/ssh_host/ed25519_key for this.