db127f5
fix(config): don't marshal server config
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
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
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
* 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
git update-server-info generates the repository's refs needed for the git http server
Ayman Bagabas created
68feddf
feat: specify custom readme file
* 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
* 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
* 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
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
4392caa
refactor: git Repo interface naming
Ayman Bagabas created
286dedb
fix: cache repo references
Ayman Bagabas created
3308f43
fix(tui): cache ref commits and track annotated tags
* Keep track of the selected ref in each bubble * Lazy cache commits of each ref on demand * Find the target hash of annotated tags
Ayman Bagabas created
73fd14e
docs: update man page
mango 🤖 created
0069c36
docs: update man page
mango 🤖 created
c251203
ci: add manpage workflow
Christian Muehlhaeuser created
c508766
fix: go mod tidy
go mod tidy -go=1.16 && go mod tidy -go=1.17 Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
Carlos A Becker created
2179011
Generate man page when built with 'mango' build-tag
When building with the 'mango' build-tag (go build -tags mango) enabled, we will simply generate and print a man-page on startup and immediately exit again.
Christian Muehlhaeuser created