Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | hooks, etc.: Authenticate hooks, and handle them in the spawning thread | Runxi Yu | 2025-02-17 | 3 | -3/+87 |
| | |||||
* | go.mod: Bump lindenii-common (cmap split into ComparableMap and Map) | Runxi Yu | 2025-02-17 | 2 | -3/+3 |
| | |||||
* | git_hooks_handle.go: Read argv from hook | Runxi Yu | 2025-02-17 | 1 | -7/+33 |
| | |||||
* | git_hooks_client: Send argc/argv over the UNIX domain socket | Runxi Yu | 2025-02-17 | 1 | -5/+34 |
| | |||||
* | git_hooks_handle.go: Refactor for clarity | Runxi Yu | 2025-02-17 | 1 | -14/+13 |
| | |||||
* | README.md: Prominently note Lindenii's own instance | Runxi Yu | 2025-02-17 | 1 | -0/+6 |
| | |||||
* | style.css: :focus -> :focus-visible | Runxi Yu | 2025-02-17 | 1 | -3/+3 |
| | | | | | | | | Users who actually click on the header label won't get that focus outline any more. It's still provided for keyboard users, for whom the outline may be necessary for accessibility. References: https://stackoverflow.com/questions/31402576 | ||||
* | go.mod: go-billy is now indirect | Runxi Yu | 2025-02-17 | 1 | -1/+1 |
| | |||||
* | Makefile: Compile static Go binary | Runxi Yu | 2025-02-17 | 1 | -1/+1 |
| | |||||
* | style.css: Reformat and improve checkbox accessibility | Runxi Yu | 2025-02-17 | 2 | -13/+19 |
| | | | | | | | | Previously the expandable checkboxes were { display: none; } which made them impossible to focus via the keyboard. Here we change it to { opacity: 0; position: absolute; }, so it becomes keyboard-focusable. Then we add an outline to the <label> when the checkbox is focused so users could visually identify that the checkbox has been focused. | ||||
* | git_hooks_client.c: Explain the code in more detail | Runxi Yu | 2025-02-17 | 1 | -7/+28 |
| | |||||
* | main.go: Restructure for uniformity | Runxi Yu | 2025-02-17 | 1 | -25/+19 |
| | |||||
* | git_hooks_handle.go: Exit on UID mismatch, handle >1 connections | Runxi Yu | 2025-02-17 | 1 | -15/+21 |
| | |||||
* | git_hooks_handle.go, etc.: Listen for connections from hooks | Runxi Yu | 2025-02-17 | 3 | -14/+39 |
| | |||||
* | git_hooks_client.c: Splice socket to stderr | Runxi Yu | 2025-02-17 | 1 | -15/+42 |
| | | | | This allows the daemon to send status messages to the hook handler. | ||||
* | Makefile: Don't use --long in git-describe | Runxi Yu | 2025-02-17 | 1 | -1/+1 |
| | | | | We don't need the commit ID if it is known to match a tag. | ||||
* | README.md: Clarify build dependencies | Runxi Yu | 2025-02-17 | 1 | -1/+2 |
| | |||||
* | git_hooks_client.c: Clarify error messages | Runxi Yu | 2025-02-17 | 1 | -10/+10 |
| | |||||
* | git_hooks_client.c: Get return value from unix socket | Runxi Yu | 2025-02-17 | 1 | -1/+20 |
| | |||||
* | database.go: Merge name_desc_t; remove misc.go | Runxi Yu | 2025-02-17 | 2 | -11/+5 |
| | |||||
* | {remote_url,ssh_server}.go: Use path.Join instead of trimming and adding | Runxi Yu | 2025-02-17 | 2 | -4/+5 |
| | |||||
* | misc.go: Remove environ_to_map as unused | Runxi Yu | 2025-02-17 | 1 | -14/+0 |
| | |||||
* | *_handle_*_pack.go: Pass env LINDENII_FORGE_HOOKS_SOCKET_PATH | Runxi Yu | 2025-02-17 | 3 | -0/+6 |
| | |||||
* | *.go: Reformat | Runxi Yu | 2025-02-17 | 2 | -2/+1 |
| | |||||
* | git_hooks_deploy.go: Deploy hooks to filesystem | Runxi Yu | 2025-02-17 | 2 | -0/+55 |
| | |||||
* | git_hooks_handle.go: Move from git_hooks.go | Runxi Yu | 2025-02-17 | 1 | -0/+0 |
| | |||||
* | git_init.go: git_bare_init_with_default_hooks | Runxi Yu | 2025-02-17 | 3 | -5/+35 |
| | |||||
* | README.md: s/PGP/SSH/ for commit signature verification | Runxi Yu | 2025-02-17 | 1 | -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 Yu | 2025-02-17 | 1 | -1/+1 |
| | |||||
* | repo_{info,upload_pack}.go: Use system git-upload-pack for HTTP too | Runxi Yu | 2025-02-17 | 2 | -29/+79 |
| | |||||
* | ssh_handle_receive_pack: Use system git-receive-pack | Runxi Yu | 2025-02-17 | 1 | -33/+18 |
| | |||||
* | ssh_handle_upload_pack: Use system git-upload-pack | Runxi Yu | 2025-02-17 | 1 | -33/+19 |
| | |||||
* | git_hooks_client: Restructure for clarity | Runxi Yu | 2025-02-17 | 1 | -23/+28 |
| | |||||
* | git_hooks_client: Produce useful error message on missing env var | Runxi Yu | 2025-02-17 | 1 | -0/+1 |
| | |||||
* | git_hooks_client: Ensure stdin is a pipe | Runxi Yu | 2025-02-17 | 1 | -1/+22 |
| | |||||
* | *: Restructure build system | Runxi Yu | 2025-02-17 | 3 | -6/+7 |
| | |||||
* | config.go: git.hooks_socket | Runxi Yu | 2025-02-17 | 2 | -1/+4 |
| | |||||
* | git_hooks_client: Splice stdin | Runxi Yu | 2025-02-17 | 2 | -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 Yu | 2025-02-17 | 1 | -0/+1 |
| | |||||
* | git_hooks{.go,_client}: Add stub for git hook clients | Runxi Yu | 2025-02-17 | 4 | -0/+90 |
| | |||||
* | TODO: Add accessibility notes | Runxi Yu | 2025-02-16 | 1 | -0/+3 |
| | |||||
* | ssh_server.go: Update comment about SSH auth | Runxi Yu | 2025-02-16 | 1 | -2/+3 |
| | |||||
* | README.md: Namespace contrib/, not merge_requests/ | Runxi Yu | 2025-02-16 | 1 | -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: Reformat | Runxi Yu | 2025-02-16 | 2 | -0/+2 |
| | |||||
* | Makefile: Don't remove vendor when building | Runxi Yu | 2025-02-16 | 1 | -2/+1 |
| | |||||
* | go.mod: Move go-billy to direct | Runxi Yu | 2025-02-16 | 1 | -1/+1 |
| | |||||
* | TODO: Add RSS | Runxi Yu | 2025-02-16 | 1 | -0/+2 |
| | |||||
* | schema.sql: Don't use key_string UNIQUE | Runxi Yu | 2025-02-16 | 1 | -2/+4 |
| | | | | It creates a btree index, so very long keys won't work. | ||||
* | ssh_server.go: Strip trailing newlines from keys | Runxi Yu | 2025-02-16 | 1 | -2/+2 |
| | |||||
* | *.go: Fix missing error handling | Runxi Yu | 2025-02-16 | 3 | -2/+12 |
| |