Commit log

d3669af feat: show spinner when loading commits

Ayman Bagabas created

e256fed fix: don't load non-git repos

Click to expand commit body
Fixes: https://github.com/charmbracelet/soft-serve/issues/108

Ayman Bagabas created

11cf86f fix: ssh cli usage template

Ayman Bagabas created

71d2273 docs: update readme

Ayman Bagabas created

06dc749 fix: allow admin for anon-access

Ayman Bagabas created

3800161 chore: update deps

Ayman Bagabas created

0aec8c2 feat: add soft-serve middleware commands

Click to expand commit body
* list files
* cat files
* reload config
* git command

Ayman Bagabas created

062cb70 fix(git): add missing errors

Ayman Bagabas created

db127f5 fix(config): don't marshal server config

Ayman Bagabas created

edbcf6f fix: tui initial repo

Ayman Bagabas created

bd4b435 fix: ignore directories when getting LatestFile

Ayman Bagabas created

ca3dbb2 fix: restrict access to private repos unless admin or collab

Click to expand commit body
don't override "config" repo private property

Ayman Bagabas created

2260498 chore: update keygen to v0.3.0 and deps

Ayman Bagabas created

bd06f71 refactor: move pkg/{git,tui} to root

Ayman Bagabas created

8b4ee57 fix: show log for a specific reference

Click to expand commit body
don't reset log reference when already set

Ayman Bagabas created

aa1c744 chore: add server tests

Ayman Bagabas created

21b4d4e chore: update deps

Ayman Bagabas created

8af7f43 docs: update git docstrings

Ayman Bagabas created

0a26b94 fix(test): use go-git to create default config repo

Ayman Bagabas created

67b11ee fix(tui): git tree/log files off by one line

Ayman Bagabas created

f68e3aa fix(config): trim pk file contents

Ayman Bagabas created

a869926 refactor: use gogs/git-module

Click to expand commit body
* use gogs/git-module to handle git operations
* lazy load and cache repo commits on a per page basis
* fix loading repo twice on startup
* use groupcache/lru to cache commit diffs
* move git tui to pkg/tui
* use pkg/git as a friendlier wrapper around gogs/git-module
* fix redrawing the readme every time a repo is selected

Ayman Bagabas created

2cf6dcb feat: use meta/build.yml

Ayman Bagabas created

93d2572 doc: update readme

Ayman Bagabas created

32bdd5b feat(git): UpdateServerInfo on push

Click to expand commit body
git update-server-info generates the repository's refs needed for the
git http server

Ayman Bagabas created

68feddf feat: specify custom readme file

Click to expand commit body
* Optionally specify per repo readme file path in config
* Default to "README*" glob and choose the first glob match
* Refactor code and move stuff around

Fixes: https://github.com/charmbracelet/soft-serve/issues/31

Ayman Bagabas created

8ad99d8 refactor(git): use repo path instead of name

Ayman Bagabas created

80df7f4 fix: style adjustments

Click to expand commit body
* Adjust spinner and no readme comment margins

Ayman Bagabas created

0b3479f fix(tui): show error on empty readme and empty tree

Ayman Bagabas created

8a57c24 fix(tui): selecting an item in an empty git tree

Ayman Bagabas created

66a64cf fix: update bubbles window size on change

Ayman Bagabas created

602b14c feat: add tui pagination

Ayman Bagabas created

3795020 feat: show spinner when loading a large commit diff

Ayman Bagabas created

141138a docs: add example images for TUI and file/dir printing

Click to expand commit body
* add image showing file/dir printing
* add TUI image

Christian Rocha created

192c4d9 Add `SOFT_SERVE_HOST` and `SOFT_SERVE_BIND_ADDRESS` docs

Toby Padilla created

91fd3fe Add TUI commands and file printing features to README

Toby Padilla created

56bacc1 fix: start line numbers at 1 (was a regression)

Christian Rocha created

a43daef fix: don't print extra newlines when printing with line numbers

Christian Rocha created

e267bc9 chore: adjust line number coloring

Christian Rocha created

752d67a feat: add server host to config

Click to expand commit body
server host `SOFT_SERVE_HOST` is the broadcast address to the server

Ayman Bagabas created

22a98f9 fix: cat mw: print err if repo not found

Ayman Bagabas created

c5fc8b2 feat: cat middleware: list directory entries

Ayman Bagabas created

fd04680 fix: change cat lineno color and style

Ayman Bagabas created

eaf9f4b feat(tui): only show branches and tags

Ayman Bagabas created

f67596d fix: handle repos with no README.md file

Toby Padilla created

f3e2b7f refactor: rename variables

Ayman Bagabas created

352b06d fix: lazy load git tui bubbles

Ayman Bagabas created

61a8eb1 fix: don't block on git push waiting for config reload

Ayman Bagabas created

6b86cf7 refactor(tui): rename variables and fix ling warnings

Ayman Bagabas created

8fa4404 fix: cache git trees and commits

Ayman Bagabas created