Commit Graph

425 Commits

Author SHA1 Message Date
Nico
492aa4178d feat: allow to control --one-file-system option from the schedule config (#201) 2025-12-21 14:21:08 +01:00
Nico
fc04cfe02e refactor(restic): use safeSpawn util instead of Bun shell (#195)
Bun has an issue with special non-ASCII charachters
https://github.com/oven-sh/bun/issues/15929 that makes commands crash if
manipulating a file with such charachter
2025-12-20 11:47:45 +01:00
Nico
598de4e078 fix: schedules not running if never run manually (#194)
* fix: backups that were never run manually are not picked up by job

* fix(mutex): prioritize waiting exclusive locks over newly added shared tasks
2025-12-20 11:28:18 +01:00
Nicolas Meienberger
24fd18825a Merge branch 'tvarohohlavy-examples-directory' 2025-12-20 01:05:22 +01:00
Nicolas Meienberger
fcc49fb3ae docs: examples 2025-12-20 01:05:12 +01:00
Nicolas Meienberger
2564add45a ci(release): add permission to write content (create new release) 2025-12-20 01:04:48 +01:00
Nicolas Meienberger
9d0441f5d0 docs: update readme 2025-12-20 01:04:48 +01:00
Nicolas Meienberger
aeec2d7d4f chore(docs): update README 2025-12-20 01:04:48 +01:00
Nicolas Meienberger
c6657d44f2 docs(readme): add warning for running on public servers 2025-12-20 01:04:48 +01:00
Nicolas Meienberger
601d3a1143 refactor: warning only when backup is aborted 2025-12-20 01:04:48 +01:00
Nicolas Meienberger
09805ce5ba fix: ensure proper error message when backup operation is aborted 2025-12-20 01:04:48 +01:00
Nicolas Meienberger
0323ff0031 fix(backups): preserve relative include/exclude pattern behavior 2025-12-20 01:04:48 +01:00
Jakub Trávník
80cf8dd778 fix: include name in initial values for notification form update (#184) 2025-12-20 01:04:48 +01:00
Nico
3374e4f53d fix: prepend mount path in exclude patterns (#188)
* fix: prepend mount path location in exclude patterns

* test(backups): add tests suite for backend include & exclude patterns

* test: fix leaking global module mock
2025-12-20 01:04:48 +01:00
Nico
e9fb5862f7 Controllers tests (#187)
* test: backups service

* refactor: create hono app in a separate file

To avoid side effects like db migration or startup scripts when testing

test(backups): add security tests to the backups controller

* ci: run typechecks, build and tests on PR

* test: controllers security tests

* chore: update lock file

* refactor: pr feedbacks
2025-12-20 01:04:47 +01:00
Nicolas Meienberger
6266f1d44c ci(release): add permission to write content (create new release) v0.19.2 2025-12-20 00:42:34 +01:00
Jakub Trávník
11b588ce20 readded some examples in main readme 2025-12-19 23:38:39 +00:00
Nicolas Meienberger
dea07338bc docs: update readme 2025-12-20 00:19:01 +01:00
Nicolas Meienberger
17e33ae98c chore(docs): update README 2025-12-20 00:14:34 +01:00
Nicolas Meienberger
6f302f8518 docs(readme): add warning for running on public servers 2025-12-20 00:13:33 +01:00
Nicolas Meienberger
febd795517 refactor: warning only when backup is aborted v0.19.2-beta.4 2025-12-19 23:30:23 +01:00
Nicolas Meienberger
46c8139a23 fix: ensure proper error message when backup operation is aborted v0.19.2-beta.3 2025-12-19 23:27:25 +01:00
Nicolas Meienberger
7879d88a54 fix(backups): preserve relative include/exclude pattern behavior 2025-12-19 23:18:56 +01:00
Jakub Trávník
30685c8481 fix: include name in initial values for notification form update (#184) v0.19.2-beta.2 2025-12-19 22:40:07 +01:00
Nico
579bc89970 fix: prepend mount path in exclude patterns (#188)
* fix: prepend mount path location in exclude patterns

* test(backups): add tests suite for backend include & exclude patterns

* test: fix leaking global module mock
2025-12-19 22:35:34 +01:00
Nico
61dc07b36b Controllers tests (#187)
* test: backups service

* refactor: create hono app in a separate file

To avoid side effects like db migration or startup scripts when testing

test(backups): add security tests to the backups controller

* ci: run typechecks, build and tests on PR

* test: controllers security tests

* chore: update lock file

* refactor: pr feedbacks
2025-12-19 19:25:21 +01:00
Jakub Trávník
4e2f8f0160 implement copilot and rabbitai suggestions 2025-12-19 14:39:57 +01:00
Jakub Trávník
7cdf1d72e9 Update examples/tailscale-sidecar/README.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-12-19 14:27:09 +01:00
Jakub Trávník
89fbeb7fe3 Update examples/tailscale-sidecar/docker-compose.yml
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-12-19 14:26:49 +01:00
Jakub Trávník
9d46bbbcb1 Update examples/tailscale-sidecar/docker-compose.yml
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-12-19 14:26:10 +01:00
Jakub Trávník
7a6e3e9597 Merge remote-tracking branch 'origin/main' into tailscale-integration-example 2025-12-19 13:30:37 +01:00
Jakub Trávník
f995a2ca8d Add examples directory and runnable setups 2025-12-19 13:28:05 +01:00
Nico
94f49e2022 refactor: separate healthcheck and auto remount in two separate jobs (#179)
* refactor: separate healthcheck and auto remount in two separate jobs

* fix: try catch in volume auto remount
2025-12-18 23:03:41 +01:00
Nico
6a86de7b95 refactor: add default excludes to backups (#178)
- To avoid accidentaly backing up a repository to itself
- To avoid accidentaly backing up zerobyte's internal data
2025-12-18 22:34:21 +01:00
Nico
fd5193b5e3 refactor: reduce startup mounting noise (#177)
- Skip mount early if volume is not in error or neither mounted
- Error healthchecks early if volume is not mounted
2025-12-18 22:19:21 +01:00
Nico
a17da2562f refactor(startup): ensure entities always use the latest configuration format (#173)
* refactor(startup): ensure entities always use the latest configuration schema

* refactor: await config updates to avoid race condition on later mount
2025-12-18 18:11:39 +01:00
Nicolas Meienberger
7a507354ad chore: upgrade apk in base image 2025-12-18 18:08:29 +01:00
Nico
55e68544f8 ci: add grype security checks before release and in pr (#175)
* ci: add grype security checks before release and in pr

* ci: only build for amd64 in local build
v0.19.2-alpha.1
2025-12-18 18:02:34 +01:00
Jakub Trávník
be4c24ee3e feat: add Tailscale integration example with Docker Compose and environment configuration 2025-12-18 13:06:42 +01:00
Nicolas Meienberger
cac4c84df5 ci: add login to dockerhub step v0.19.1 v0.19.1-beta.3 2025-12-18 12:33:42 +01:00
Nicolas Meienberger
83da66a0b7 ci: use docker cloud builder 2025-12-18 12:31:08 +01:00
Nicolas Meienberger
42f49fed23 chore(deps): bump rclone to 1.72.1 and shoutrrr to 0.13.1 v0.19.1-beta.2 2025-12-18 12:16:08 +01:00
Nicolas Meienberger
933b66c87e chore(deps): enforce esbuild to 0.27.2 2025-12-18 12:12:46 +01:00
Nicolas Meienberger
4f9f167727 chore: remove sourcemaps from build output 2025-12-18 12:10:17 +01:00
Nicolas Meienberger
7951a87332 refactor: don't apply strict rate limit on /me and /status endpoints 2025-12-18 12:09:34 +01:00
Nicolas Meienberger
1bb9ccb33b Merge branch 'orbisai0security-fix-v-002-app-server-index.ts' v0.19.1-beta.1 2025-12-17 23:41:30 +01:00
Nicolas Meienberger
0838ce86bd refactor: remove cors options and fix rate limiter usage 2025-12-17 23:40:57 +01:00
Nicolas Meienberger
842464ce32 docs: update readme version 2025-12-17 23:35:47 +01:00
Nicolas Meienberger
45e7e88b09 fix: apply middlewares before the controller definition 2025-12-17 23:35:47 +01:00
Nicolas Meienberger
1d76e18d38 fix(sortable-card): keep opacity at 100 on mobile 2025-12-17 23:35:14 +01:00