Commit log

abd5580 fix(webhook): we don't care about the default branch if it's missing

Ayman Bagabas created

194455d fix: lint issues

Ayman Bagabas created

7b97817 fix: unquote git quoted filenames

Click to expand commit body
Git core.quotePath is enabled by default and causes unicode in filenames
to be quoted. Unquote filenames and requote them to escape control
characters BUT not unicode characters.

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

Ayman Bagabas created

86959cf chore(deps): update github.com/charmbracelet/wish to v1.3.2

Ayman Bagabas created

920e4a7 fix: use lipgloss renderers

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

Ayman Bagabas created

d54c6de fix(ssh): emulate pty on windows

Ayman Bagabas created

0e77ee9 fix(ssh): allocate pty and use the latest tea middleware

Ayman Bagabas created

6415db3 chore(deps): update dependencies

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

Ayman Bagabas created

11becf0 chore(deps): bump modernc.org/sqlite from 1.29.2 to 1.29.3 (#490)

dependabot[bot] created

9f8b780 chore(deps): bump github.com/go-jose/go-jose/v3 from 3.0.2 to 3.0.3 (#489)

dependabot[bot] created

72507d2 chore(deps): bump github.com/charmbracelet/lipgloss from 0.9.1 to 0.10.0 (#488)

dependabot[bot] created

0421a0b chore(deps): bump github.com/golang-jwt/jwt/v5 from 5.2.0 to 5.2.1 (#486)

Click to expand commit body
Bumps [github.com/golang-jwt/jwt/v5](https://github.com/golang-jwt/jwt) from 5.2.0 to 5.2.1.
- [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.2.0...v5.2.1)

---
updated-dependencies:
- dependency-name: github.com/golang-jwt/jwt/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

043e1e8 chore(deps): bump golang.org/x/crypto from 0.20.0 to 0.21.0 (#487)

Click to expand commit body
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.20.0 to 0.21.0.
- [Commits](https://github.com/golang/crypto/compare/v0.20.0...v0.21.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

5a70f43 chore(deps): bump github.com/prometheus/client_golang (#483)

Click to expand commit body
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang) from 1.18.0 to 1.19.0.
- [Release notes](https://github.com/prometheus/client_golang/releases)
- [Changelog](https://github.com/prometheus/client_golang/blob/v1.19.0/CHANGELOG.md)
- [Commits](https://github.com/prometheus/client_golang/compare/v1.18.0...v1.19.0)

---
updated-dependencies:
- dependency-name: github.com/prometheus/client_golang
  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

15d661f Create CODEOWNERS

Maas Lalani created

b6370e4 chore(deps): bump modernc.org/sqlite from 1.29.1 to 1.29.2 (#482)

Click to expand commit body
Bumps [modernc.org/sqlite](https://gitlab.com/cznic/sqlite) from 1.29.1 to 1.29.2.
- [Commits](https://gitlab.com/cznic/sqlite/compare/v1.29.1...v1.29.2)

---
updated-dependencies:
- dependency-name: modernc.org/sqlite
  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

57e3412 chore(deps): bump golang.org/x/crypto from 0.19.0 to 0.20.0 (#481)

Click to expand commit body
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.19.0 to 0.20.0.
- [Commits](https://github.com/golang/crypto/compare/v0.19.0...v0.20.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

1e0d3c5 chore(deps): bump github.com/go-jose/go-jose/v3 from 3.0.1 to 3.0.2 (#480)

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

---
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

11c0bc5 docs: update readme root.go to main.go (#478)

pratik kuikel created

8557903 chore(deps): bump modernc.org/sqlite from 1.28.0 to 1.29.1 (#476)

dependabot[bot] created

9a39ffa chore(deps): bump golangci/golangci-lint-action from 3 to 4 (#474)

dependabot[bot] created

e921d87 chore(deps): bump golang.org/x/crypto from 0.18.0 to 0.19.0 (#473)

Click to expand commit body
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.18.0 to 0.19.0.
- [Commits](https://github.com/golang/crypto/compare/v0.18.0...v0.19.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

047b6a7 fix: invalid error on empty repo collabs (#466)

Click to expand commit body
Propagate a more informative error when adding an existing collaborator.
Ignore webhooks default branch git reference not found errors because
the repo won't have a default branch when it's empty.

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

Ayman Bagabas created

d119d53 fix: only use glamour for mk files (#467)

Click to expand commit body
Use Glamour to render readmes when file is markdown formatted

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

Ayman Bagabas created

86e8edf chore(deps): bump codecov/codecov-action from 3 to 4 (#470)

dependabot[bot] created

b06b555 fix: disable soft-browse test

Click to expand commit body
Temporarily disable this test as it keeps failing.
TODO: rewrite the test

Ayman Bagabas created

143918b fix: executable path in hooks (#459)

Click to expand commit body
* fix: executable path in hooks

On platforms, where soft-serve executable gets installed in a path that
is not the same throughout installation, or upgrades, hooks break. Some
examples of such a situation is when moving soft-serve repositories from
one OS to another OS, or on NixOS/Guix

This commit passes the path to the current executable as an environment
variable $SOFT_SERVE_BIN_PATH to the hooks.

To fix/update existing repository hooks:

  [/path/to/soft-serve/repos] $ grep -ERl \
   '^[^[:space:]]+soft-serve[^[:space:]]+' . | xargs sed -r -e \
   's,^([^[:space:]]*soft-serve[^[:space:]]*),"${SOFT_SERVE_BIN_PATH}",g' -i

Signed-off-by: Ashish SHUKLA <ashish.is@lostca.se>
Co-authored-by: Ayman Bagabas <ayman.bagabas@gmail.com>

* fix: update pkg/config/config.go

* fix: update pkg/config/config.go

---------

Signed-off-by: Ashish SHUKLA <ashish.is@lostca.se>
Co-authored-by: Ayman Bagabas <ayman.bagabas@gmail.com>

Ashish and Ayman Bagabas created

a90109b chore(deps): bump github.com/google/uuid from 1.5.0 to 1.6.0

Click to expand commit body
Bumps [github.com/google/uuid](https://github.com/google/uuid) from 1.5.0 to 1.6.0.
- [Release notes](https://github.com/google/uuid/releases)
- [Changelog](https://github.com/google/uuid/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/uuid/compare/v1.5.0...v1.6.0)

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

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

dependabot[bot] created

f801b96 fix(meta): use "chore" prefix for dependabot

Ayman Bagabas created

3d02df4 feat(deps): bump golang.org/x/crypto from 0.17.0 to 0.18.0

Click to expand commit body
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.17.0 to 0.18.0.
- [Commits](https://github.com/golang/crypto/compare/v0.17.0...v0.18.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>

dependabot[bot] created

d1d7d7f feat(deps): bump golang.org/x/sync from 0.5.0 to 0.6.0

Click to expand commit body
Bumps [golang.org/x/sync](https://github.com/golang/sync) from 0.5.0 to 0.6.0.
- [Commits](https://github.com/golang/sync/compare/v0.5.0...v0.6.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>

dependabot[bot] created

dbe42e3 feat(deps): bump github.com/prometheus/client_golang

Click to expand commit body
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang) from 1.17.0 to 1.18.0.
- [Release notes](https://github.com/prometheus/client_golang/releases)
- [Changelog](https://github.com/prometheus/client_golang/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prometheus/client_golang/compare/v1.17.0...v1.18.0)

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

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

dependabot[bot] created

538de6a feat(deps): bump golang.org/x/crypto from 0.16.0 to 0.17.0

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

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-type: direct:production
...

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

dependabot[bot] created

afeae6c feat(deps): bump modernc.org/sqlite from 1.27.0 to 1.28.0

Click to expand commit body
Bumps [modernc.org/sqlite](https://gitlab.com/cznic/sqlite) from 1.27.0 to 1.28.0.
- [Commits](https://gitlab.com/cznic/sqlite/compare/v1.27.0...v1.28.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>

dependabot[bot] created

3e75d86 feat(deps): bump github.com/rogpeppe/go-internal

Click to expand commit body
Bumps [github.com/rogpeppe/go-internal](https://github.com/rogpeppe/go-internal) from 1.11.1-0.20231026093722-fa6a31e0812c to 1.12.0.
- [Release notes](https://github.com/rogpeppe/go-internal/releases)
- [Commits](https://github.com/rogpeppe/go-internal/commits/v1.12.0)

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

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

dependabot[bot] created

e064c39 feat(deps): bump github.com/google/uuid from 1.4.0 to 1.5.0

Click to expand commit body
Bumps [github.com/google/uuid](https://github.com/google/uuid) from 1.4.0 to 1.5.0.
- [Release notes](https://github.com/google/uuid/releases)
- [Changelog](https://github.com/google/uuid/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/uuid/compare/v1.4.0...v1.5.0)

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

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

dependabot[bot] created

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