Commit log

c3915b2 feat: run test coverage against postgres

Ayman Bagabas created

fc81914 feat: add ssh lfs-transfer tests

Ayman Bagabas created

e02c00f feat(tests): add a testcase for `soft man`

Ayman Bagabas created

a985ccd feat: test ssh ui output

Click to expand commit body
Still wip

wip

feat(tests): run against ssh ui

Ayman Bagabas created

cd964a6 feat(deps): bump github.com/go-git/go-git/v5 from 5.10.1 to 5.11.0

Click to expand commit body
Bumps [github.com/go-git/go-git/v5](https://github.com/go-git/go-git) from 5.10.1 to 5.11.0.
- [Release notes](https://github.com/go-git/go-git/releases)
- [Commits](https://github.com/go-git/go-git/compare/v5.10.1...v5.11.0)

---
updated-dependencies:
- dependency-name: github.com/go-git/go-git/v5
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

dependabot[bot] created

45ce909 feat(deps): bump github.com/golang-jwt/jwt/v5 from 5.1.0 to 5.2.0 (#437)

Click to expand commit body
Bumps [github.com/golang-jwt/jwt/v5](https://github.com/golang-jwt/jwt) from 5.1.0 to 5.2.0.
- [Release notes](https://github.com/golang-jwt/jwt/releases)
- [Changelog](https://github.com/golang-jwt/jwt/blob/main/VERSION_HISTORY.md)
- [Commits](https://github.com/golang-jwt/jwt/compare/v5.1.0...v5.2.0)

---
updated-dependencies:
- dependency-name: github.com/golang-jwt/jwt/v5
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

dependabot[bot] and dependabot[bot] created

40d76a1 feat: update integration tests (#434)

Click to expand commit body
* feat: add more unittests

* fix(tests): use the soft binary to run integration tests

* fix(ci): upload coverage data

* fix: daemon test idle timeout

* fix: daemon flaky test

* chore: add more webhook unit tests

* fix(test): enable webhook integration tests

* fix(tests): readd sync lock

* fix(ci): collect coverage for both unit and integration tests

* fix(ci): coverage test

* fix(ci): remove macos and windows

* fix: return the opened logger file

* fix: daemon idle test

* fix: testscript on windows

* fix: run soft-serve in txtar background

* fix(ci): collecting coverage data

* fix: coverage data

* fix: remove unused

* fix: add browse test

* feat: add stop server endpoint

* fix(tests): run integration tests on windows

* fix(tests): skip daemon idle timeout flaky test

* fix(tests): attempt to fix daemon idle test

Ayman Bagabas created

d483565 chore(deps): bump actions/setup-go from 4 to 5 (#439)

Click to expand commit body
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 4 to 5.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](https://github.com/actions/setup-go/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/setup-go
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

dependabot[bot] and dependabot[bot] created

e419a93 fix(ui): go back on esc

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

Ayman Bagabas created

fa23c9c fix(ui): dry glamour chroma renderer

Ayman Bagabas created

0a38578 fix(ui): hide clone command while browse only

Ayman Bagabas created

812d840 fix(ui): render about page using glamour

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

Ayman Bagabas created

bac2ff3 build: avoid duplicated CI runs (#433)

Carlos Alexandro Becker created

fc2c62f fix(daemon): timeout test

Ayman Bagabas created

178b9d5 fix(daemon): tests after upgrading go-git

Ayman Bagabas created

0ec24e3 feat(deps): bump github.com/go-git/go-git/v5 from 5.10.0 to 5.10.1 (#429)

Click to expand commit body
Bumps [github.com/go-git/go-git/v5](https://github.com/go-git/go-git) from 5.10.0 to 5.10.1.
- [Release notes](https://github.com/go-git/go-git/releases)
- [Commits](https://github.com/go-git/go-git/compare/v5.10.0...v5.10.1)

---
updated-dependencies:
- dependency-name: github.com/go-git/go-git/v5
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

dependabot[bot] and dependabot[bot] created

8e5966a feat(deps): bump golang.org/x/crypto from 0.15.0 to 0.16.0 (#430)

Click to expand commit body
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.15.0 to 0.16.0.
- [Commits](https://github.com/golang/crypto/compare/v0.15.0...v0.16.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

dependabot[bot] and dependabot[bot] created

4ccd373 feat(deps): bump github.com/charmbracelet/log from 0.3.0 to 0.3.1 (#431)

Click to expand commit body
Bumps [github.com/charmbracelet/log](https://github.com/charmbracelet/log) from 0.3.0 to 0.3.1.
- [Release notes](https://github.com/charmbracelet/log/releases)
- [Commits](https://github.com/charmbracelet/log/compare/v0.3.0...v0.3.1)

---
updated-dependencies:
- dependency-name: github.com/charmbracelet/log
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

dependabot[bot] and dependabot[bot] created

63786d0 fix(web): superfluous write

Ayman Bagabas created

e0148ca fix(http): times out on large repositories (#428)

Click to expand commit body
This was due to having a _set_ value of Read/Write http server timeout
values, and a faulty git gzip request handler. The server drops the
connection if there wasn't any read/write within 10 seconds.

Replace the read/write timeouts with idle timeout which will reset the
counter to _either_ read/write within 10 seconds. Idle timeout is only
used when keep-alive is enabled. That is the case by default.

Fix git by properly handling gzip and buffered git service responses.

Improve git http handler logging

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

Ayman Bagabas created

71d2cd0 feat(deps): bump golang.org/x/crypto from 0.14.0 to 0.15.0 (#425)

dependabot[bot] created

e6713ba feat(deps): bump github.com/go-jose/go-jose/v3 from 3.0.0 to 3.0.1 (#423)

Click to expand commit body
Bumps [github.com/go-jose/go-jose/v3](https://github.com/go-jose/go-jose) from 3.0.0 to 3.0.1.
- [Release notes](https://github.com/go-jose/go-jose/releases)
- [Changelog](https://github.com/go-jose/go-jose/blob/v3/CHANGELOG.md)
- [Commits](https://github.com/go-jose/go-jose/compare/v3.0.0...v3.0.1)

---
updated-dependencies:
- dependency-name: github.com/go-jose/go-jose/v3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

dependabot[bot] and dependabot[bot] created

ccb46a4 feat(deps): bump github.com/golang-jwt/jwt/v5 from 5.0.0 to 5.1.0 (#422)

Click to expand commit body
Bumps [github.com/golang-jwt/jwt/v5](https://github.com/golang-jwt/jwt) from 5.0.0 to 5.1.0.
- [Release notes](https://github.com/golang-jwt/jwt/releases)
- [Changelog](https://github.com/golang-jwt/jwt/blob/main/VERSION_HISTORY.md)
- [Commits](https://github.com/golang-jwt/jwt/compare/v5.0.0...v5.1.0)

---
updated-dependencies:
- dependency-name: github.com/golang-jwt/jwt/v5
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

dependabot[bot] and dependabot[bot] created

49f34dd feat(deps): bump github.com/charmbracelet/log from 0.2.5 to 0.3.0 (#424)

Click to expand commit body
Bumps [github.com/charmbracelet/log](https://github.com/charmbracelet/log) from 0.2.5 to 0.3.0.
- [Release notes](https://github.com/charmbracelet/log/releases)
- [Commits](https://github.com/charmbracelet/log/compare/v0.2.5...v0.3.0)

---
updated-dependencies:
- dependency-name: github.com/charmbracelet/log
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

dependabot[bot] and dependabot[bot] created

6dc3c59 fix: lint issues

Ayman Bagabas created

d5e81ad feat(deps): bump golang.org/x/sync from 0.4.0 to 0.5.0 (#420)

Click to expand commit body
Bumps [golang.org/x/sync](https://github.com/golang/sync) from 0.4.0 to 0.5.0.
- [Commits](https://github.com/golang/sync/compare/v0.4.0...v0.5.0)

---
updated-dependencies:
- dependency-name: golang.org/x/sync
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

dependabot[bot] and dependabot[bot] created

40423e8 feat(deps): bump github.com/gorilla/handlers from 1.5.1 to 1.5.2 (#419)

Click to expand commit body
Bumps [github.com/gorilla/handlers](https://github.com/gorilla/handlers) from 1.5.1 to 1.5.2.
- [Release notes](https://github.com/gorilla/handlers/releases)
- [Commits](https://github.com/gorilla/handlers/compare/v1.5.1...v1.5.2)

---
updated-dependencies:
- dependency-name: github.com/gorilla/handlers
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

dependabot[bot] and dependabot[bot] created

fabeb84 feat(deps): bump github.com/gorilla/mux from 1.8.0 to 1.8.1 (#417)

Click to expand commit body
Bumps [github.com/gorilla/mux](https://github.com/gorilla/mux) from 1.8.0 to 1.8.1.
- [Release notes](https://github.com/gorilla/mux/releases)
- [Commits](https://github.com/gorilla/mux/compare/v1.8.0...v1.8.1)

---
updated-dependencies:
- dependency-name: github.com/gorilla/mux
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

dependabot[bot] and dependabot[bot] created

b5fa038 feat(deps): bump github.com/spf13/cobra from 1.7.0 to 1.8.0 (#418)

Click to expand commit body
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra) from 1.7.0 to 1.8.0.
- [Release notes](https://github.com/spf13/cobra/releases)
- [Commits](https://github.com/spf13/cobra/compare/v1.7.0...v1.8.0)

---
updated-dependencies:
- dependency-name: github.com/spf13/cobra
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

dependabot[bot] and dependabot[bot] created

1383d18 feat(deps): bump modernc.org/sqlite from 1.26.0 to 1.27.0 (#416)

Click to expand commit body
Bumps [modernc.org/sqlite](https://gitlab.com/cznic/sqlite) from 1.26.0 to 1.27.0.
- [Commits](https://gitlab.com/cznic/sqlite/compare/v1.26.0...v1.27.0)

---
updated-dependencies:
- dependency-name: modernc.org/sqlite
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

dependabot[bot] and dependabot[bot] created

03ba1ab fix(gomod): use git-module fork

Ayman Bagabas created

139be67 doc: update readme (#413)

Ayman Bagabas created

56a17a3 feat(ui): show committer in blame

Ayman Bagabas created

29de922 feat: update to latest env (#412)

Click to expand commit body
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>

Carlos Alexandro Becker created

f76ae7a fix(config): add jobs default config

Click to expand commit body
Fixes: e2e79feb09b7 (feat: job config (#402))

Ayman Bagabas created

f915f4d refactor,fix: add rename lfs objects migration (#409)

Click to expand commit body
* refactor,fix: add rename lfs objects migration

Rename lfs objects from OID[:2]/OID[2:4]/OID[4:] to OID[:2]/OID[2:4]/OID
to follow specs https://github.com/git-lfs/git-lfs/blob/main/docs/spec.md#intercepting-git

* fix: disable pure ssh lfs by default

Ayman Bagabas created

0f41cab refactor: rename pkgs (#408)

Ayman Bagabas created

a735362 feat(deps): bump github.com/charmbracelet/wish from 1.1.1 to 1.2.0 (#407)

dependabot[bot] created

7ec3a38 feat(deps): bump github.com/google/uuid from 1.3.1 to 1.4.0 (#406)

dependabot[bot] created

e319131 feat(deps): bump github.com/go-git/go-git/v5 from 5.9.0 to 5.10.0 (#404)

dependabot[bot] created

5852219 feat(deps): bump github.com/google/uuid from 1.3.0 to 1.3.1 (#405)

dependabot[bot] created

e2e79fe feat: job config (#402)

Click to expand commit body
* feat: job config

Signed-off-by: jolheiser <john.olheiser@gmail.com>

* docs: add new config to readme

Signed-off-by: jolheiser <john.olheiser@gmail.com>

* style: appease linter

Signed-off-by: jolheiser <john.olheiser@gmail.com>

* review(aymanbagabas): add jobs to default config file template

Signed-off-by: jolheiser <john.olheiser@gmail.com>

---------

Signed-off-by: jolheiser <john.olheiser@gmail.com>

John Olheiser created

0846323 Repository webhooks (#375)

Click to expand commit body
* feat: export server version

* fix: move db driver imports to db package

* feat: implement server webhooks

- branch/tag events
- collaborators events
- push events
- repository events

- [x] Implement database logic
- [x] Add database migrations
- [x] Implement webhooks logic
- [x] Integrate webhooks with backend
- [x] Implement repository webhooks SSH command interface
- [x] Implement webhook deliveries listing

Fixes: https://github.com/charmbracelet/soft-serve/issues/148
Fixes: https://github.com/charmbracelet/soft-serve/pull/56
Fixes: https://github.com/charmbracelet/soft-serve/issues/49

* wip

* fix: remove unnecessary webhook events

* fix(db): postgres migration script

* fix(db): use returning instead of LastInsertId

* fix(webhook): limit the number of push commits to 20

* fix(webhook): rename html_url to http_url

* fix(http): return 404 when repository on go-get not found

Ayman Bagabas created

02e1617 feat: browse local repositories (#369)

Click to expand commit body
* feat: browse local repositories

* refactor(ui): resolve race conditions and clean up code

* feat(ui): update readme based on selected reference

* feat(ui): add branch/tag commit date and hash

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

* fix(ui): clean up statusbar logic

* fix(ui): cleanup statusbar and misc msgs

* fix(ui): preserve header line when no description is available

* fix(ui): match readme and list missing items styles

* fix(ui): header height calculation

Fixes: 43b4331f88ff (fix(ui): preserve header line when no description is available)

* fix(ui): truncate refitem msg

Fixes: fd0240995004 (feat(ui): add branch/tag commit date and hash)

* fix(ui): dry code line number and highlight formatting

* feat(ui): add blame file view

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

* fix: lint errors

* fix(ui): NaN floats, analyse file content, and start spinner

* feat(ui): use right mouse click to go back in the files tab

* fix(ui): display "1" when there's only one page to display

* feat(ui): add stash view

Display repository stashed items

* feat: run browse on "soft"

Ayman Bagabas created

5df79ee feat(deps): bump golang.org/x/sync from 0.3.0 to 0.4.0 (#395)

dependabot[bot] created

6662e1a feat(deps): bump golang.org/x/net from 0.15.0 to 0.17.0 (#400)

dependabot[bot] created

da50842 feat(deps): bump github.com/charmbracelet/keygen from 0.4.3 to 0.5.0 (#398)

Click to expand commit body
Bumps [github.com/charmbracelet/keygen](https://github.com/charmbracelet/keygen) from 0.4.3 to 0.5.0.
- [Release notes](https://github.com/charmbracelet/keygen/releases)
- [Commits](https://github.com/charmbracelet/keygen/compare/v0.4.3...v0.5.0)

---
updated-dependencies:
- dependency-name: github.com/charmbracelet/keygen
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

dependabot[bot] and dependabot[bot] created

9503c88 feat(deps): bump github.com/charmbracelet/lipgloss from 0.8.0 to 0.9.1 (#401)

Click to expand commit body
Bumps [github.com/charmbracelet/lipgloss](https://github.com/charmbracelet/lipgloss) from 0.8.0 to 0.9.1.
- [Release notes](https://github.com/charmbracelet/lipgloss/releases)
- [Commits](https://github.com/charmbracelet/lipgloss/compare/v0.8.0...v0.9.1)

---
updated-dependencies:
- dependency-name: github.com/charmbracelet/lipgloss
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

dependabot[bot] and dependabot[bot] created

8f182ec feat(ci): add codecov config

Ayman Bagabas created

d1ab2b5 feat(deps): bump github.com/charmbracelet/log from 0.2.4 to 0.2.5 (#394)

dependabot[bot] created