Commit Graph

1003 Commits

Author SHA1 Message Date
Vanes Angelo
900cb4f7c1 Upgrade to AWS SDK v2 (#1938) (#1950)
Upgrades the AWS SDK to v2. AWS S3 bucket urls will now error if they are not prefixed with a schema (example: https://).
2024-04-28 21:38:42 -07:00
Matt
c35b50f2f3 Docs overhaul (#1954)
Hugo is upgraded to a modern version, the reboot of the original theme is used, and links are replaced or removed. The readme is updated to state our utility in the first sentence. References to vGo and other old terminology has been moved to "modules" and more modern terminology.
2024-04-23 08:15:36 +02:00
Matt
78daa574e9 Add logging configuration docs (#1952)
We should do our best to disambiguate CloudRuntime and logging parameters.
2024-04-21 11:29:42 -07:00
dependabot[bot]
ae36734542 build(deps): bump golang.org/x/net from 0.22.0 to 0.23.0 (#1946)
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.22.0 to 0.23.0.
- [Commits](https://github.com/golang/net/compare/v0.22.0...v0.23.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Matt <matt.ouille@protonmail.com>
2024-04-20 13:00:39 -07:00
Matt
359c119441 Add an introduction page as the home page (#1945)
A default homepage is baked into the server that uses the request host address, or in HTTP 2 the authority. This includes ports. It also checks for schema. The values are used to indicate to users how to configure their go env

Of course, this won't work on all installations - especially enterprise ones. For that, we've introduced ATHENS_HOME_TEMPLATE_PATH as an environment variable along with HomeTemplatePath in the config. This value defaults to /var/lib/athens/home.html but can be configured to any location that Athens can reliably read from. This is a Go HTML template so it should use Go HTML template formatting and logic.
2024-04-20 00:19:34 -07:00
dependabot[bot]
8d9b7676fd update-go-pkg(deps): bump github.com/aws/aws-sdk-go (#1942)
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.44.220 to 1.51.21.
- [Release notes](https://github.com/aws/aws-sdk-go/releases)
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.44.220...v1.51.21)

---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go
  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>
2024-04-16 19:24:54 -07:00
Marcel
f969e03904 Remove hard coded values from SystemD Unit and installation (#1874)
Removes hardcoded values form our supplied SystemD Unit file and the installation script. Users, prior to installation, will need to ensure that their user, group, and permissions settings of where Athens stores data are correct.

Co-authored-by: Manu Gupta <manugupt1@gmail.com>
Co-authored-by: Matt <matt.ouille@protonmail.com>
v0.13.3
2024-04-13 14:42:47 -07:00
kkHAIKE
81415839ba Fix an issue where contexts are not copied correctly (#1941)
Fix an issue in the Stasher where contexts between the request and log entry are not copied correctly.

Co-authored-by: ouyangxu <ouyangxu@bilibili.com>
2024-04-13 13:35:25 -07:00
kkHAIKE
a5277a3e7a Use errors.AsErr to extract and detect errors.Error (#1936)
Switches from using errors.Is() to errors.As() so the error context is passed correctly.
2024-04-09 14:25:00 -07:00
Matt
a32e5f0a42 Upgrade logrus from 1.7.0 => 1.9.3 (#1934)
Logurs prior to 1.9.3 is subject to https://nvd.nist.gov/vuln/detail/CVE-2023-0056
2024-04-04 15:07:09 -07:00
dependabot[bot]
46f5731608 update-go-pkg(deps): bump github.com/stretchr/testify (#1933)
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.8.4 to 1.9.0.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.8.4...v1.9.0)

---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
  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>
2024-04-01 09:09:07 +02:00
JJ
0459b3b180 Fix repeated word in README.md (#1932)
Removes a duplicated word in the README.
2024-03-31 21:48:44 -07:00
Matt
b9c8fb7f8a Rework logging defaults (#1927)
Changes default logger back to plain.
v0.13.2
2024-03-27 17:48:10 -07:00
dependabot[bot]
b72f01b7bc update-go-pkg(deps): bump github.com/lib/pq from 1.10.7 to 1.10.9 (#1923)
Bumps [github.com/lib/pq](https://github.com/lib/pq) from 1.10.7 to 1.10.9.
- [Release notes](https://github.com/lib/pq/releases)
- [Commits](https://github.com/lib/pq/compare/v1.10.7...v1.10.9)

---
updated-dependencies:
- dependency-name: github.com/lib/pq
  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>
2024-03-26 06:11:05 +02:00
tanx
c072f6089a Update mongodb driver (#1928)
Updates the MongoDB driver
2024-03-25 15:39:14 -07:00
Matt
08520bf894 Add log formatting settings (#1926)
Adds a log format setting as ATHENS_LOG_FORMAT that can be either plain or JSON when CloudRuntime is none (the default). Does not break or change any existing behavior.
2024-03-21 09:07:39 -07:00
Matt
9f6009b76d Use quotes for docker-compose args (#1925) 2024-03-20 06:42:37 +02:00
Chris Kuehl
3f3fb9b758 Fix Markdown link in Storage docs (#1922)
Fix incorrectly formatted Markdown link in storage docs.
2024-03-19 17:38:40 -07:00
dependabot[bot]
d877af2099 update-go-pkg(deps): bump go.etcd.io/etcd/api/v3 from 3.5.9 to 3.5.12 (#1919)
Bumps [go.etcd.io/etcd/api/v3](https://github.com/etcd-io/etcd) from 3.5.9 to 3.5.12.
- [Release notes](https://github.com/etcd-io/etcd/releases)
- [Commits](https://github.com/etcd-io/etcd/compare/v3.5.9...v3.5.12)

---
updated-dependencies:
- dependency-name: go.etcd.io/etcd/api/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>
2024-03-14 02:36:28 -07:00
dependabot[bot]
334dfdea82 update-go-pkg(deps): bump github.com/stretchr/testify (#1918)
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.8.1 to 1.8.4.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.8.1...v1.8.4)

---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
  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>
2024-02-26 06:46:53 +02:00
dependabot[bot]
ee327f59d8 update-go-pkg(deps): bump github.com/gorilla/mux from 1.6.2 to 1.8.1 (#1917)
Bumps [github.com/gorilla/mux](https://github.com/gorilla/mux) from 1.6.2 to 1.8.1.
- [Release notes](https://github.com/gorilla/mux/releases)
- [Commits](https://github.com/gorilla/mux/compare/v1.6.2...v1.8.1)

---
updated-dependencies:
- dependency-name: github.com/gorilla/mux
  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>
2024-02-19 06:52:22 +02:00
dependabot[bot]
e9a5c4f5aa update-github-action(deps): bump golangci/golangci-lint-action (#1915)
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 3 to 4.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases)
- [Commits](https://github.com/golangci/golangci-lint-action/compare/v3...v4)

---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
  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>
2024-02-12 10:45:04 +02:00
Darryl Blake
a340d6d81e chore: fix broken links to 'absolutely everybody' blog post (#1914) 2024-02-07 11:23:11 +02:00
Mike Seplowitz
cffffc024e Send standard logger's output to logrus (#1912) 2024-02-05 10:30:40 +02:00
dependabot[bot]
2ac4289974 build(deps): bump golang.org/x/crypto from 0.14.0 to 0.17.0 (#1907)
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.14.0 to 0.17.0.
- [Commits](https://github.com/golang/crypto/compare/v0.14.0...v0.17.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: DrPsychick <drpsychick@drsick.net>
v0.13.1
2024-01-04 13:04:18 +01:00
dependabot[bot]
3164fe6914 update-github-action(deps): bump docker/build-push-action from 4 to 5 (#1906)
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 4 to 5.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v4...v5)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  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>
Co-authored-by: DrPsychick <drpsychick@drsick.net>
2024-01-04 12:44:11 +01:00
dependabot[bot]
f4239d5b28 update-github-action(deps): bump github/codeql-action from 2 to 3 (#1905)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2 to 3.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/v2...v3)

---
updated-dependencies:
- dependency-name: github/codeql-action
  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>
Co-authored-by: DrPsychick <drpsychick@drsick.net>
2024-01-04 12:09:44 +01:00
Mike Seplowitz
7284004d05 Set up and use logrus logger in main (#1819)
* Set up and use logrus logger in main

Also return errors more consistently from other functions.

* Updated wording styles

* Prefer human-readable descriptions to method names
* Wrapped errors use gerund forms, e.g. "doing x: %w"
* Log traces start with a capital letter

* Fix style on standard log failure cases

---------

Co-authored-by: Manu Gupta <manugupt1@gmail.com>
2024-01-04 11:11:29 +01:00
Michel Loiseleur
43d56f07f6 fix: arm64 build (#1911) 2024-01-03 16:16:08 +01:00
wozz
3af0d009a8 singleflight go commands (#1877)
* singleflight go commands

* Apply suggestions from code review

Co-authored-by: Brendan Le Glaunec <brendan@glaulabs.com>

---------

Co-authored-by: michael-wozniak <michael.wozniak@snapchat.com>
Co-authored-by: Brendan Le Glaunec <brendan@glaulabs.com>
2023-12-21 15:37:36 +02:00
dependabot[bot]
640cc67e33 update-github-action(deps): bump actions/setup-go from 4 to 5 (#1902)
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>
v0.13.0
2023-12-11 07:17:20 +02:00
dependabot[bot]
dc5fbb1c7f update-github-action(deps): bump goreleaser/goreleaser-action (#1903)
Bumps [goreleaser/goreleaser-action](https://github.com/goreleaser/goreleaser-action) from 4 to 5.
- [Release notes](https://github.com/goreleaser/goreleaser-action/releases)
- [Commits](https://github.com/goreleaser/goreleaser-action/compare/v4...v5)

---
updated-dependencies:
- dependency-name: goreleaser/goreleaser-action
  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>
2023-12-11 06:37:10 +02:00
dependabot[bot]
2e90328ec7 update-github-action(deps): bump docker/setup-buildx-action from 2 to 3 (#1893)
Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) from 2 to 3.
- [Release notes](https://github.com/docker/setup-buildx-action/releases)
- [Commits](https://github.com/docker/setup-buildx-action/compare/v2...v3)

---
updated-dependencies:
- dependency-name: docker/setup-buildx-action
  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>
2023-12-09 18:17:21 +01:00
dependabot[bot]
195f084df4 update-github-action(deps): bump docker/setup-qemu-action from 2 to 3 (#1896)
Bumps [docker/setup-qemu-action](https://github.com/docker/setup-qemu-action) from 2 to 3.
- [Release notes](https://github.com/docker/setup-qemu-action/releases)
- [Commits](https://github.com/docker/setup-qemu-action/compare/v2...v3)

---
updated-dependencies:
- dependency-name: docker/setup-qemu-action
  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>
2023-12-09 17:44:03 +01:00
dependabot[bot]
fc807a56bd Bump google.golang.org/grpc from 1.44.0 to 1.56.3 (#1900)
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.44.0 to 1.56.3.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.44.0...v1.56.3)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-09 17:11:08 +01:00
dependabot[bot]
05d502df4c Bump golang.org/x/net from 0.8.0 to 0.17.0 (#1898)
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.8.0 to 0.17.0.
- [Commits](https://github.com/golang/net/compare/v0.8.0...v0.17.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-08 16:36:56 +02:00
Angel Mancera
c169a60c2b Removed link to the experimental public proxy (#1864) 2023-12-08 15:18:02 +01:00
yatesliang
aca3cc0090 test: unit test for testing KindUnexpected case in Mongo query function (#1883) 2023-09-25 00:24:02 -07:00
dependabot[bot]
95e77b1569 update-github-action(deps): bump docker/login-action from 2 to 3 (#1894) 2023-09-24 23:54:27 -07:00
dependabot[bot]
fbd5b32705 update-github-action(deps): bump actions/checkout from 3 to 4 (#1885)
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  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>
Co-authored-by: Manu Gupta <manugupt1@gmail.com>
2023-09-20 21:45:57 -07:00
dependabot[bot]
ea8f77f489 update-github-action(deps): bump docker/metadata-action from 4 to 5 (#1892)
Bumps [docker/metadata-action](https://github.com/docker/metadata-action) from 4 to 5.
- [Release notes](https://github.com/docker/metadata-action/releases)
- [Upgrade guide](https://github.com/docker/metadata-action/blob/master/UPGRADE.md)
- [Commits](https://github.com/docker/metadata-action/compare/v4...v5)

---
updated-dependencies:
- dependency-name: docker/metadata-action
  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>
Co-authored-by: Manu Gupta <manugupt1@gmail.com>
2023-09-20 13:40:24 -07:00
Thomas
9a14565152 fix(pkg/stash): close etcd sessions (#1887) 2023-09-18 12:15:41 -07:00
Thomas
1d16cc3070 fix(pkg/stash): don't check status of all etcd endpoints on start (#1889) 2023-09-18 11:54:33 -07:00
Thomas
e248d22892 fix(proxy): don't check TLS file permission (#1880) 2023-09-01 07:44:47 -07:00
dependabot[bot]
cac9c754cb update-github-action(deps): bump actions/setup-go from 3 to 4 (#1860)
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 3 to 4.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](https://github.com/actions/setup-go/compare/v3...v4)

---
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>
2023-06-23 17:56:11 +02:00
Nicholas Wiersma
6be4bebc0c chore: switch from interface{} to any (#1837) 2023-06-23 15:41:27 +02:00
dependabot[bot]
e6661ff720 update-github-action(deps): bump goreleaser/goreleaser-action (#1861)
Bumps [goreleaser/goreleaser-action](https://github.com/goreleaser/goreleaser-action) from 2 to 4.
- [Release notes](https://github.com/goreleaser/goreleaser-action/releases)
- [Commits](https://github.com/goreleaser/goreleaser-action/compare/v2...v4)

---
updated-dependencies:
- dependency-name: goreleaser/goreleaser-action
  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>
Co-authored-by: DrPsychick <drpsychick@drsick.net>
2023-06-23 15:02:31 +02:00
Jerry Ng
8e1581e10b docs: update hugo-theme-learn version to latest master (#1871)
* docs: reclone hugo theme learn repo

* docs: move athens custom html to hugo custom layout dir

* docs: update HUGO_VERSION to 0.72.0
2023-05-10 08:05:58 +08:00
Aaron Schlesinger
9359ab996b doc: Fixing pacmod command (#1583) 2023-05-07 19:13:06 +02:00
LINKIWI
e5aa5974e1 Support Unix domain sockets for proxy server listener (#1865) 2023-05-06 11:35:06 +02:00