aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* go.mod: Bump lindenii-common (cmap split into ComparableMap and Map)Runxi Yu2025-02-172-3/+3
|
* git_hooks_handle.go: Read argv from hookRunxi Yu2025-02-171-7/+33
|
* git_hooks_client: Send argc/argv over the UNIX domain socketRunxi Yu2025-02-171-5/+34
|
* git_hooks_handle.go: Refactor for clarityRunxi Yu2025-02-171-14/+13
|
* README.md: Prominently note Lindenii's own instanceRunxi Yu2025-02-171-0/+6
|
* style.css: :focus -> :focus-visibleRunxi Yu2025-02-171-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 indirectRunxi Yu2025-02-171-1/+1
|
* Makefile: Compile static Go binaryRunxi Yu2025-02-171-1/+1
|
* style.css: Reformat and improve checkbox accessibilityRunxi Yu2025-02-172-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 detailRunxi Yu2025-02-171-7/+28
|
* main.go: Restructure for uniformityRunxi Yu2025-02-171-25/+19
|
* git_hooks_handle.go: Exit on UID mismatch, handle >1 connectionsRunxi Yu2025-02-171-15/+21
|
* git_hooks_handle.go, etc.: Listen for connections from hooksRunxi Yu2025-02-173-14/+39
|
* git_hooks_client.c: Splice socket to stderrRunxi Yu2025-02-171-15/+42
| | | | This allows the daemon to send status messages to the hook handler.
* Makefile: Don't use --long in git-describeRunxi Yu2025-02-171-1/+1
| | | | We don't need the commit ID if it is known to match a tag.
* README.md: Clarify build dependenciesRunxi Yu2025-02-171-1/+2
|
* git_hooks_client.c: Clarify error messagesRunxi Yu2025-02-171-10/+10
|
* git_hooks_client.c: Get return value from unix socketRunxi Yu2025-02-171-1/+20
|
* database.go: Merge name_desc_t; remove misc.goRunxi Yu2025-02-172-11/+5
|
* {remote_url,ssh_server}.go: Use path.Join instead of trimming and addingRunxi Yu2025-02-172-4/+5
|
* misc.go: Remove environ_to_map as unusedRunxi Yu2025-02-171-14/+0
|
* *_handle_*_pack.go: Pass env LINDENII_FORGE_HOOKS_SOCKET_PATHRunxi Yu2025-02-173-0/+6
|
* *.go: ReformatRunxi Yu2025-02-172-2/+1
|
* git_hooks_deploy.go: Deploy hooks to filesystemRunxi Yu2025-02-172-0/+55
|
* git_hooks_handle.go: Move from git_hooks.goRunxi Yu2025-02-171-0/+0
|
* 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
|