Commit log

383f33c feat: soft serve internal api

Click to expand commit body
* Add internal ssh keypair path
* Introduce soft serve internal api client
* Create server git hooks shell scripts on config reload
* Use soft serve client to run git server hooks
* Use spf13/cobra to handle internal api ssh requests

Ayman Bagabas created

621d6f2 fix(ci): add fury token

Ayman Bagabas created

a8e7730 docs: update readme

Ayman Bagabas created

0d073ef feat: generate man pages and completions

Click to expand commit body
using mango-cobra

Ayman Bagabas created

786e369 feat: use spf13/cobra

Ayman Bagabas created

f831bc7 docs: fix image in README

Christian Rocha created

a1f5bb1 feat: update git-module

Ayman Bagabas created

ce28819 chore: bump deps

Ayman Bagabas created

4a5c387 fix: respect private repos

Click to expand commit body
only display private repos for users with read access

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

Ayman Bagabas created

1a871c8 fix(config): use errors.Is instead of os.IsNotExist

Ayman Bagabas created

4a5d488 feat: use flag and add comment

Ayman Bagabas created

038537d feat: add running soft-serve as non-root using setgid/setuid

Ayman Bagabas created

ece7523 fix: set allow keyless when no public keys provided

Ayman Bagabas created

af13e15 fix: default config repo first commit time

Ayman Bagabas created

875ff2b fix(server): use session stderr on ssh cli interface

Ayman Bagabas created

b6f20d7 fix(server): logging middleware should come first

Ayman Bagabas created

9aa196a fix: upgrade go-yaml to v3

Ayman Bagabas created

2e621ee docs: fix ssh commands in the readme

Ayman Bagabas created

3449b98 docs: list Nix as installation method in readme

Nicolas M created

e872678 docs: add managing and deleting repos

bashbunni created

30d217f fix: fix typo in name

bashbunni created

ccbbd0c fix(server): commands host & port

Ayman Bagabas created

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