Commit log
4066960
fix: race condition, broken tests (#203)
Click to expand commit body
* test: fixing broken tests
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
* fix: race daemon
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
* refactor: rename, godocs
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
* test: improve git test
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
* fix: improvements
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
* feat(deps): bump github.com/go-git/go-billy/v5 from 5.3.1 to 5.4.0
Bumps [github.com/go-git/go-billy/v5](https://github.com/go-git/go-billy) from 5.3.1 to 5.4.0.
- [Release notes](https://github.com/go-git/go-billy/releases)
- [Commits](https://github.com/go-git/go-billy/compare/v5.3.1...v5.4.0)
---
updated-dependencies:
- dependency-name: github.com/go-git/go-billy/v5
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
* test: fix more tests
* fix: gitignore
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Carlos Alexandro Becker
and
dependabot[bot]
created
b3a29c6
feat: HTTP Server to support go get
Click to expand commit body
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
Carlos A Becker
created
161f452
fix(config): default to not private when looking up access
Ayman Bagabas
created
7a5bedf
feat(cmd): new cmd middleware
Click to expand commit body
Set repository properties and show/list files
Ayman Bagabas
created
46a3b22
feat(server): disable git daemon
Ayman Bagabas
created
00da73b
feat(ssh): create repo metadata on new repo push
Ayman Bagabas
created
94eea8b
fix(fakedb): return empty types
Ayman Bagabas
created
ceab60b
ref(config): use DB() to retrieve db
Ayman Bagabas
created
5400c70
fix(ui): populate about readme from config repo
Ayman Bagabas
created
f63ce0e
feat(proto): update access and provider interfaces
Click to expand commit body
Add, delete update repositories and their metadata
Ayman Bagabas
created
c6d284c
feat(db): set repository name
Ayman Bagabas
created
5a4f3ce
fix(ui): clear status bar and previous repo info on empty repo
Ayman Bagabas
created
968b849
feat(ui): display quick guide for empty repositories
Ayman Bagabas
created
dccd0b3
feat(ui): show empty repos and sort them last
Ayman Bagabas
created
d84777d
fix(git): defer close connection
Ayman Bagabas
created
cde042b
feat(db): add IsRepoPublicKeyCollab to get whether key is a repo collab
Ayman Bagabas
created
f1f3851
feat(git): add repo symbolic-ref command
Ayman Bagabas
created
0078c31
feat(access): lazy load user keys from db
Ayman Bagabas
created
0b59421
feat(config): create default repo
Ayman Bagabas
created
db62883
fix(ui): add no items style
Ayman Bagabas
created
bee3df9
ref(ui): use contexts
Ayman Bagabas
created
0f3bbc6
ref(config): use server config throughout the codebase
Ayman Bagabas
created
c0edbbe
ref(server): use more interfaces
Click to expand commit body
* implement a fakedb for testing
Ayman Bagabas
created
b294905
Fixes: d827725a527e ("fix(server): git daemon")
Ayman Bagabas
created
d827725
fix(server): git daemon
Click to expand commit body
use custom connection (copied from gliderlabs/ssh) to handle timeouts
Ayman Bagabas
created
0deea38
feat(config): move app config to server
Ayman Bagabas
created
a7735d4
feat(server): use db for storage
Ayman Bagabas
created
a28adec
ref(config): deprecate old config variables
Click to expand commit body
Split config environment variables
Ayman Bagabas
created
c5ec988
feat(server): git daemon
Click to expand commit body
Implement a TCP git daemon
Add tests
Reference: https://git-scm.com/book/en/v2/Git-on-the-Server-Git-Daemon
Ayman Bagabas
created
10dfb04
feat(server): git daemon
Click to expand commit body
Implement a TCP git daemon
Add tests
Reference: https://git-scm.com/book/en/v2/Git-on-the-Server-Git-Daemon
Ayman Bagabas
created
82d78bd
fix(config): use repo path in logs
Ayman Bagabas
created
60690a2
fix(config): use access level strings
Ayman Bagabas
created
283b51e
fix: race conditons
Ayman Bagabas
created
002f84b
chore: fix imports
Ayman Bagabas
created
2625068
fix(test): quote ssh key path
Ayman Bagabas
created
bc5199c
feat(server): use git-module for git server commands
Ayman Bagabas
created
2131403
fix(config): remove space gap in default config
Click to expand commit body
helps with uncommenting the yaml
Ayman Bagabas
created
c38735d
ref(server): move command middleware to its own dir
Ayman Bagabas
created
33abb1c
fix(server): ignore request if it's not a git command
Ayman Bagabas
created
0503fc0
ref: create git repos with .git extension
Click to expand commit body
Bare repos should have a '.git' extension.
This also uses Soft Serve own git middleware.
Ayman Bagabas
created
2372c1b
ref(git): use soft serve git middleware
Ayman Bagabas
created
5e45a49
chore: disable dependabot timer
Christian Muehlhaeuser
created
7a7e73d
fix(auth): wrong auth for anon users
Click to expand commit body
This fixes an issue with using anon-access with registered users.
Fixes: d88ccb97d3e7 ("ref(config): clarify repo auth for key")
Ayman Bagabas
created
fdbbe08
fix(config): set default anon-access to read-only
Ayman Bagabas
created
97749ea
fix(ci): run codecov on push
Click to expand commit body
Fixes: d3d2d6317632 ("feat(ci): add code coverage")
Ayman Bagabas
created
d3d2d63
feat(ci): add code coverage
Ayman Bagabas
created
b41e50d
fix(cmd): exit soft serve on error
Ayman Bagabas
created
8771223
fix(server): don't list unauthorized repos
Ayman Bagabas
created
8979f6b
fix(git): disable pushing to subdirectories
Click to expand commit body
Related: https://github.com/charmbracelet/soft-serve/issues/120
Related: https://github.com/charmbracelet/wish/commit/8808de520d3ea21931f13113c6b0b6d0141272d4
Ayman Bagabas
created
18d5989
fix(session): unauthorized access to private repos
Click to expand commit body
Prevent unauthorized ui access to private repos.
Fixes: https://github.com/charmbracelet/soft-serve/issues/189
Ayman Bagabas
created