Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | http_*: Refactor to reduce duplication | Runxi Yu | 2025-02-14 | 11 | -41/+31 |
| | |||||
* | README.md: Add details in features supported by git repos | Runxi Yu | 2025-02-14 | 1 | -1/+4 |
| | |||||
* | *.go: Reformat | Runxi Yu | 2025-02-13 | 3 | -5/+4 |
| | |||||
* | http_{server,handle_login}.go: Fix missing error handling | Runxi Yu | 2025-02-13 | 2 | -1/+14 |
| | |||||
* | http_handle_*.go: Fix http.Error calls | Runxi Yu | 2025-02-13 | 6 | -40/+40 |
| | | | | | | Previously when I was converting the fmt.Fprintln calls into http.Error, there was a mistake in my sed command which caused some of the messages to have double colons. This should fix them. | ||||
* | schema.sql: password TEXT should not be NOT NULL | Runxi Yu | 2025-02-13 | 1 | -1/+1 |
| | |||||
* | TODO: Add unit tests and refactor | Runxi Yu | 2025-02-13 | 1 | -0/+3 |
| | |||||
* | ssh_url_generation.go, etc.: Add config ssh.root and use it | Runxi Yu | 2025-02-13 | 6 | -4/+18 |
| | | | | | Detecting it based on HTTP host name is definitely unreliable. Just add a configuration option and it should work. | ||||
* | {http,ssh}_server.go: Add debug logs for incoming requests | Runxi Yu | 2025-02-13 | 2 | -1/+7 |
| | |||||
* | {main,ssh_server}.go: Log listening addresses | Runxi Yu | 2025-02-13 | 2 | -11/+13 |
| | |||||
* | repo_*_{dir,file}: Add ref params if not head | Runxi Yu | 2025-02-13 | 3 | -3/+7 |
| | |||||
* | repo_{raw,tree}_dir: Only display "on $ref" if necessary | Runxi Yu | 2025-02-13 | 2 | -2/+2 |
| | |||||
* | style.css: Wider title-row specification | Runxi Yu | 2025-02-13 | 1 | -1/+1 |
| | |||||
* | group_repos: Fix table rows | Runxi Yu | 2025-02-13 | 1 | -6/+8 |
| | |||||
* | repo_tree_file: Add padding | Runxi Yu | 2025-02-13 | 2 | -4/+9 |
| | |||||
* | {group_,}index: Use name_desc_t | Runxi Yu | 2025-02-13 | 3 | -16/+10 |
| | |||||
* | group_index: Use table list | Runxi Yu | 2025-02-13 | 2 | -12/+36 |
| | |||||
* | repo_log: Scrollable view | Runxi Yu | 2025-02-13 | 1 | -25/+27 |
| | |||||
* | repo_commit: fake_diff_file_null has zero hash | Runxi Yu | 2025-02-13 | 1 | -1/+1 |
| | |||||
* | index: Reformat the page | Runxi Yu | 2025-02-13 | 5 | -27/+49 |
| | |||||
* | database.go: query_list[T any] | Runxi Yu | 2025-02-13 | 2 | -20/+32 |
| | |||||
* | http_*.go: Use http.Error | Runxi Yu | 2025-02-13 | 11 | -61/+55 |
| | |||||
* | TODO: Fix diff view | Runxi Yu | 2025-02-13 | 1 | -0/+1 |
| | |||||
* | repo_index: Add repo descriptions | Runxi Yu | 2025-02-13 | 7 | -9/+26 |
| | |||||
* | _repo_header.html: Purge | Runxi Yu | 2025-02-13 | 7 | -28/+0 |
| | | | | We'll integrate this into the main header in the future | ||||
* | users: Print not implemented | Runxi Yu | 2025-02-13 | 1 | -0/+2 |
| | |||||
* | _header.html: Format the main header | Runxi Yu | 2025-02-13 | 10 | -34/+39 |
| | |||||
* | handle_user: Stub | Runxi Yu | 2025-02-13 | 3 | -4/+14 |
| | |||||
* | login: Set cookie | Runxi Yu | 2025-02-13 | 3 | -0/+38 |
| | |||||
* | login: Implement password validation | Runxi Yu | 2025-02-13 | 5 | -3/+77 |
| | |||||
* | http_handle_*.go: Use fmt.Fprintln, not w.Write | Runxi Yu | 2025-02-13 | 8 | -46/+54 |
| | |||||
* | login: Stub login page | Runxi Yu | 2025-02-13 | 4 | -4/+157 |
| | |||||
* | _header.html: Add header | Runxi Yu | 2025-02-13 | 21 | -72/+123 |
| | |||||
* | ssh_{server,utils}: Swap filenames | Runxi Yu | 2025-02-13 | 2 | -124/+124 |
| | |||||
* | *.go: Reformat | Runxi Yu | 2025-02-13 | 2 | -5/+7 |
| | |||||
* | *.go: Mass rename files for clarity | Runxi Yu | 2025-02-13 | 16 | -0/+0 |
| | |||||
* | README.md: Add a bit of detail | Runxi Yu | 2025-02-13 | 1 | -7/+50 |
| | |||||
* | TODO: Init | Runxi Yu | 2025-02-12 | 1 | -0/+6 |
| | |||||
* | schema.sql: Reorder (or it'll error out) | Runxi Yu | 2025-02-12 | 1 | -7/+7 |
| | |||||
* | router_http: Ensure module index has / | Runxi Yu | 2025-02-12 | 1 | -0/+4 |
| | |||||
* | {ssh,global}.go, index.html: Add global data containing ssh fp | Runxi Yu | 2025-02-12 | 11 | -5/+42 |
| | |||||
* | README.md: Update about SSH implementation | Runxi Yu | 2025-02-12 | 1 | -2/+2 |
| | |||||
* | repo_index: Add clone instructions | Runxi Yu | 2025-02-12 | 3 | -1/+19 |
| | |||||
* | repo_log: Fix anchor | Runxi Yu | 2025-02-12 | 1 | -1/+1 |
| | |||||
* | router_{http,ssh}.go, url_misc.go: Fix escaping | Runxi Yu | 2025-02-12 | 3 | -2/+4 |
| | |||||
* | repo_info: Warning to http cloners | Runxi Yu | 2025-02-12 | 1 | -0/+10 |
| | |||||
* | *.go: Reformat | Runxi Yu | 2025-02-12 | 2 | -6/+5 |
| | |||||
* | router_http: Use http.Error instead of Fprintln to report errors | Runxi Yu | 2025-02-12 | 1 | -6/+9 |
| | |||||
* | forge.scfg: Fix ssh net | Runxi Yu | 2025-02-12 | 1 | -1/+1 |
| | |||||
* | ssh.go: Use config.SSH.Net, config.SSH.Addr | Runxi Yu | 2025-02-12 | 1 | -1/+1 |
| |