Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | README.md: Code style | Runxi Yu | 2025-02-15 | 1 | -0/+9 |
| | |||||
* | README.md: Update about MRs and fedauth | Runxi Yu | 2025-02-15 | 1 | -1/+23 |
| | |||||
* | README.md: Explicitly state that HTTPS read access is planned | Runxi Yu | 2025-02-15 | 1 | -2/+2 |
| | |||||
* | *.go: Reformat | Runxi Yu | 2025-02-15 | 4 | -7/+7 |
| | |||||
* | {http_server,url}.go: Fix redirects | Runxi Yu | 2025-02-15 | 2 | -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 raw | Runxi Yu | 2025-02-15 | 1 | -0/+8 |
| | |||||
* | style.css: break-word for #readme | Runxi Yu | 2025-02-15 | 1 | -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 too | Runxi Yu | 2025-02-15 | 1 | -1/+2 |
| | |||||
* | LICENSE: AGPL v3 | Runxi Yu | 2025-02-15 | 2 | -138/+664 |
| | |||||
* | git_misc: COALESCE(r.description, '') | Runxi Yu | 2025-02-15 | 1 | -1/+1 |
| | |||||
* | ssh_server: Add carriage returns to SSH output (since no PTY yet) | Runxi Yu | 2025-02-15 | 1 | -4/+4 |
| | |||||
* | ssh_server: Add link to source | Runxi Yu | 2025-02-15 | 3 | -0/+3 |
| | |||||
* | templates: *.html.tmpl -> *.tmpl | Runxi Yu | 2025-02-15 | 12 | -0/+0 |
| | |||||
* | Makefile, resources.go: Add vendor directory to serve library source | Runxi Yu | 2025-02-15 | 3 | -0/+4 |
| | |||||
* | config.go: Remove git.root | Runxi Yu | 2025-02-14 | 1 | -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 root | Runxi Yu | 2025-02-14 | 1 | -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 path | Runxi Yu | 2025-02-14 | 1 | -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. | ||||
* | style.css: Use --lighter-box-background-color for title rows | Runxi Yu | 2025-02-14 | 1 | -1/+1 |
| | |||||
* | style.css: Shrink font-size a bit for monospace components | Runxi Yu | 2025-02-14 | 1 | -1/+1 |
| | |||||
* | repo_index: Make readme scrollable just in case | Runxi Yu | 2025-02-14 | 1 | -1/+1 |
| | |||||
* | style.css, repo_index: Use div, not table, for expandables | Runxi Yu | 2025-02-14 | 3 | -52/+51 |
| | |||||
* | README.md: Clarify how MR emails work | Runxi Yu | 2025-02-14 | 1 | -1/+4 |
| | |||||
* | *_server.go: clog.Info instead of Debug for requests | Runxi Yu | 2025-02-14 | 2 | -2/+2 |
| | |||||
* | Makefile: Make version.go a .PHONY | Runxi Yu | 2025-02-14 | 1 | -1/+1 |
| | |||||
* | *: Use Makefile, and generate a version | Runxi Yu | 2025-02-14 | 6 | -2/+16 |
| | |||||
* | go.mod: Bump lindenii-common | Runxi Yu | 2025-02-14 | 2 | -3/+3 |
| | |||||
* | reop_commit: Fix immediate newlines after <pre> | Runxi Yu | 2025-02-14 | 3 | -9/+25 |
| | |||||
* | *: Make the forge title configurable | Runxi Yu | 2025-02-14 | 13 | -19/+29 |
| | |||||
* | README.md: Fix typo | Runxi Yu | 2025-02-14 | 1 | -1/+1 |
| | |||||
* | repo_log: Use parameters for refspec | Runxi Yu | 2025-02-14 | 4 | -16/+10 |
| | |||||
* | http_handle_repo_*.go: Remove redundant return | Runxi Yu | 2025-02-14 | 2 | -2/+0 |
| | |||||
* | repo_index: Allow refspecs | Runxi Yu | 2025-02-14 | 2 | -7/+9 |
| | |||||
* | http_server.go: Rename dir_mode to trailing_slash | Runxi Yu | 2025-02-14 | 1 | -7/+7 |
| | |||||
* | style.css: Categorize CSS statements | Runxi Yu | 2025-02-14 | 1 | -4/+32 |
| | |||||
* | .gitattributes: Ignore go.mod and go.sum | Runxi Yu | 2025-02-14 | 1 | -3/+3 |
| | |||||
* | .gitattributes: Linguist | Runxi Yu | 2025-02-14 | 1 | -0/+4 |
| | |||||
* | README.md: Update mirror URLs | Runxi Yu | 2025-02-14 | 1 | -3/+6 |
| | |||||
* | go.mod: Bump dependencies | Runxi Yu | 2025-02-14 | 2 | -6/+6 |
| | |||||
* | README.md: Expand "Support and development" | Runxi Yu | 2025-02-14 | 1 | -5/+8 |
| | |||||
* | README.md: Fix the URL to the GNU AGPL | Runxi Yu | 2025-02-14 | 1 | -1/+2 |
| | |||||
* | README.md: Extend AGPL notes | Runxi Yu | 2025-02-14 | 1 | -1/+5 |
| | |||||
* | http_handle_*.go: Remove redundant return statements | Runxi Yu | 2025-02-14 | 3 | -3/+0 |
| | |||||
* | README.md: Justify the subgroup syntax | Runxi Yu | 2025-02-14 | 1 | -0/+4 |
| | |||||
* | repo_info: Clarify the SSH access message | Runxi Yu | 2025-02-14 | 1 | -1/+1 |
| | |||||
* | http_*.go: Abstract out render_template for deduplication | Runxi Yu | 2025-02-14 | 9 | -53/+26 |
| | |||||
* | {database,http_handle_*index}.go: Reduce query_name_desc_list duplication | Runxi Yu | 2025-02-14 | 3 | -32/+20 |
| | |||||
* | 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 |
| |