Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
5bebac3
fix(webui): retry initial config load before failing to the error scr…
jgalea Jun 30, 2026
16988eb
chore: update go deps
garethgeorge Jun 30, 2026
b204bbc
chore: keep webui/dist/.gitkeep
garethgeorge Jun 30, 2026
8e610a6
chore: configure dependabot
garethgeorge Jun 30, 2026
f840ca4
chore(deps-dev): bump the dev-dependencies group in /webui with 15 up…
dependabot[bot] Jun 30, 2026
eb5428a
chore: update docs deps and consolidate on pnpm
garethgeorge Jun 30, 2026
9b1760a
feat(webui): reassurance-first redesign of the summary dashboard (#1258)
jgalea Jun 30, 2026
3c16096
fix: set proper path to allow using rclone from brew install (#1222)
nvtkaszpir Jun 30, 2026
fb3b2c8
chore: fix tests on windows
garethgeorge Jun 30, 2026
53eb340
fix: update backresthandler's SummaryDashboard endpoint to support ne…
garethgeorge Jun 30, 2026
3c1953e
fix: update translations
garethgeorge Jun 30, 2026
f158f4a
feat: add translations for Korean and Polish
garethgeorge Jun 30, 2026
058b4a0
fix: toaster ui text isn't selectable
garethgeorge Jun 30, 2026
07babe4
chore: fix backresthandler tests for new summary dashboard
garethgeorge Jun 30, 2026
6d5d800
fix: use filepath.Join everywhere for windows compatibility
garethgeorge Jun 30, 2026
800a985
fix: more summary dashboard UI refinements
garethgeorge Jun 30, 2026
5425e08
chore(deps): bump cross-env from 7.0.3 to 10.1.0 in /webui (#1272)
dependabot[bot] Jun 30, 2026
023bb8b
chore(deps): bump recharts from 2.15.4 to 3.9.0 in /webui (#1275)
dependabot[bot] Jun 30, 2026
678dd65
chore(deps): bump the prod-minor-patch group across 1 directory with …
dependabot[bot] Jun 30, 2026
49a448a
chore(deps): bump react-router-dom from 6.30.1 to 7.18.1 in /webui (#…
dependabot[bot] Jun 30, 2026
91d76ac
fix(restore): restore single file with [ or ] in name on Windows (#1254)
mayerwin Jun 30, 2026
bec8c23
chore(deps): bump the react group across 1 directory with 4 updates (…
dependabot[bot] Jun 30, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
92 changes: 92 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
version: 2
updates:
- package-ecosystem: gomod
directory: /
schedule:
interval: weekly
day: monday
open-pull-requests-limit: 10
groups:
golang-x:
patterns:
- "golang.org/x/*"
google-apis:
patterns:
- "google.golang.org/*"
prometheus:
patterns:
- "github.com/prometheus/*"
opentelemetry:
patterns:
- "go.opentelemetry.io/*"
go-minor-and-patch:
update-types:
- minor
- patch

- package-ecosystem: github-actions
directory: /
schedule:
interval: weekly
day: monday
groups:
actions:
patterns:
- "*"

- package-ecosystem: npm
directory: /webui
schedule:
interval: weekly
day: monday
open-pull-requests-limit: 10
groups:
react:
patterns:
- "react"
- "react-dom"
- "@types/react"
- "@types/react-dom"
- "react-router*"
connectrpc:
patterns:
- "@connectrpc/*"
- "@bufbuild/*"
chakra:
patterns:
- "@chakra-ui/*"
- "@emotion/*"
dnd-kit:
patterns:
- "@dnd-kit/*"
inlang:
patterns:
- "@inlang/*"
- "@lix-js/*"
dev-dependencies:
dependency-type: development
prod-minor-patch:
dependency-type: production
update-types:
- minor
- patch

- package-ecosystem: npm
directory: /docs
schedule:
interval: weekly
day: monday
groups:
docs:
patterns:
- "*"

- package-ecosystem: docker
directory: /
schedule:
interval: weekly
day: monday
groups:
docker:
patterns:
- "*"
21 changes: 12 additions & 9 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ on:
branches: ["main"]
paths:
- "docs/**"
pull_request:
paths:
- "docs/**"
- ".github/workflows/docs.yml"
workflow_dispatch:

jobs:
Expand All @@ -21,23 +25,21 @@ jobs:
lfs: true

- name: Set up NodeJS
uses: actions/setup-node@v2
uses: actions/setup-node@v4
with:
node-version: "20"

- name: Setup pnpm
uses: pnpm/action-setup@v4
with:
version: 9
cache: npm
cache-dependency-path: docs/package-lock.json

- name: Install dependencies
run: pnpm install --prefix ./docs
run: npm ci
working-directory: docs

- name: Build
run: |
cd docs
pnpm run docs:build
npm run docs:build
ls -la src/.vitepress/dist
working-directory: docs

- name: Fix permissions
run: |
Expand All @@ -52,6 +54,7 @@ jobs:
path: docs/src/.vitepress/dist

deploy:
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
Expand Down
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,15 @@ result

/backrest
/backrest-*
dist
dist/*
!webui/dist/.gitkeep
__debug_bin
cmd/backrest/backrest
*.exe
.DS_Store
.idea/
.pnpm-store/
package-lock.json
.gemini
.claude
webui/dist-backup/
7 changes: 3 additions & 4 deletions cmd/backrest/backrest.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ import (
"net/http"
"os"
"os/signal"
"path"
"path/filepath"
"runtime"
"sync"
Expand Down Expand Up @@ -103,7 +102,7 @@ func runApp() {
zap.L().Fatal("error creating orchestrator", zap.Error(err))
}

kvdbPath := path.Join(env.DataDir(), "kvdb.sqlite")
kvdbPath := filepath.Join(env.DataDir(), "kvdb.sqlite")
sharedKvdb, err := kvstore.NewSqliteDbForKvStore(kvdbPath)
if err != nil {
zap.L().Fatal("error creating general kvstore database pool", zap.Error(err))
Expand Down Expand Up @@ -150,7 +149,7 @@ func createConfigStore() config.ConfigStore {
}

func newOpLog(cfg *v1.Config) (*oplog.OpLog, *sqlitestore.SqliteStore, error) {
oplogFile := path.Join(env.DataDir(), "oplog.sqlite")
oplogFile := filepath.Join(env.DataDir(), "oplog.sqlite")
opstore, err := sqlitestore.NewSqliteStore(oplogFile)
if errors.Is(err, sqlitestore.ErrLocked) {
zap.L().Fatal("oplog is locked by another instance of backrest", zap.String("data_dir", env.DataDir()))
Expand Down Expand Up @@ -197,7 +196,7 @@ func newLogStore(opLog *oplog.OpLog) (*logstore.LogStore, func(), error) {
}

func newAuthenticator(configMgr *config.ConfigManager) *auth.Authenticator {
secretFile := path.Join(env.DataDir(), "jwt-secret")
secretFile := filepath.Join(env.DataDir(), "jwt-secret")
data, err := os.ReadFile(secretFile)
if err != nil {
zap.L().Info("generating new auth secret")
Expand Down
Loading
Loading