Commit Graph

190 Commits

Author SHA1 Message Date
Nicolas Meienberger
2d0ae89727 fix: get volume if short id is only numbers 2026-02-08 16:33:32 +01:00
Nico
09c1cbbb94 feat: show retention tags in snapshots timeline (#462)
* feat: show retention tags in snapshots timeline

* refactor: use button for accesibility
2026-02-08 16:14:43 +01:00
Nico
0e0eaea946 refactor: split backups module + unit tests (#463)
* refactor: split backups module

* test: backup execution

* test: schedule db
2026-02-03 23:00:25 +01:00
Nico
35773a6969 refactor: upgrade to drizzle v1 (#450)
* refactor: move migrations to new structure

* refactor: convert all findMany to new structure

* fix(backups-schedule): missing null matching for last backup status

* chore: move root lib to server
2026-02-01 19:14:52 +01:00
Nico
b914851841 fix: smb mount issues (#442) 2026-02-01 10:27:26 +01:00
Nico
4c7bd31b88 feat: custom rclone conf dir env variable (#432)
* feat: custom rclone conf dir env variable

Closes #238

* chore: rename RCLONE_CONF_DIR -> RCLONE_CONFIG_DIR
2026-02-01 10:24:09 +01:00
Nico
5bb5fcd09c refactor: paginate large file counts (#441)
* refactor: add pagination to handle volume folders with extremely large folder counts

* refactor: stream restic ls result

* test: file-tree load more

* refactor: string params

* fix(tsc): string pagination params

* chore: pr feedbacks
2026-01-31 16:05:42 +01:00
Nico
b8ad1ae41a refactor: show progress card even if no data is streamed (#440) 2026-01-31 13:26:10 +01:00
Nicolas Meienberger
6f8ff9d606 refactor: add body limit middleware 2026-01-30 21:36:15 +01:00
Nicolas Meienberger
774c11a9ac revert(sftp-repo): put back previous values for alive count and alive interval 2026-01-30 18:16:07 +01:00
Nico
8ced05c5a9 feat: add refresh snapshot list and snapshot error page (#434)
Closes #372
2026-01-29 23:20:13 +01:00
Nico
da5ad5c817 feat: add config for SMB guest mode (#431)
* feat: add config for SMB guest mode

Closes #279

* chore: pr feedbacks
2026-01-29 23:16:31 +01:00
Nico
bde5302ca4 feat(smtp-notification): add missing from name param to form (#429)
* feat(smtp-notification): add missing from name param to form

* chore: gen api client
2026-01-29 21:13:51 +01:00
Nico
93aabebd51 refactor: remove slug constraint in volume name (#428)
* refactor: remove slug constraint in volume name

Closes #413

* chore: remove un-used imports

* fix(notifications): validate name is not empty

* refactor: deny empty names
2026-01-29 20:57:20 +01:00
Nicolas Meienberger
861f81f14e refactor: use bun random uuid v7 for member id 2026-01-29 08:57:46 +01:00
Nicolas Meienberger
e8318d577b fix: user missing their org on startup 2026-01-29 08:31:58 +01:00
Nicolas Meienberger
dfb4890c44 fix: remove new migration dependency on legacy re-key one 2026-01-29 07:51:02 +01:00
Nicolas Meienberger
7d131719b7 fix: skip read data for doctor operation 2026-01-29 07:38:51 +01:00
Nicolas Meienberger
726bd5d06f chore: skip secure headers in non-production envrionments 2026-01-28 22:15:42 +01:00
Nico
45032362a8 feat: base-url env variable (#419) 2026-01-28 01:19:37 +01:00
Nicolas Meienberger
8f8b370679 test: fix cookie name 2026-01-27 23:25:28 +01:00
Nicolas Meienberger
571489a10b chore: downgrade dependencies 2026-01-27 22:29:20 +01:00
Nicolas Meienberger
da329826c1 fix: add organization for users that don't have one 2026-01-27 22:03:48 +01:00
Didin Sino
d449547336 feat: add support for sending notifications to Telegram group topics (#401) 2026-01-27 19:43:05 +01:00
kealuya
c69615b3b6 Description: (#393)
Added support for virtual-host style access for Huawei Cloud OBS. This is achieved by introducing the AWS_S3_BUCKET_LOOKUP environment variable and adding the s3.bucket-lookup=dns option to the parameters.

Changes:

Set AWS_S3_BUCKET_LOOKUP environment variable.
Included s3.bucket-lookup=dns in the S3 configuration options to ensure compatibility with Huawei OBS DNS-based bucket addressing.
2026-01-25 11:23:14 +01:00
Nicolas Meienberger
1166fcb3e7 test: fix typing issue 2026-01-25 10:01:51 +01:00
Nicolas Meienberger
16ac608d46 fix(sftp-repo): password request prompted in console 2026-01-24 23:03:54 +01:00
Nicolas Meienberger
458799297d refactor: make sse events isolated per org 2026-01-24 22:45:56 +01:00
Nicolas Meienberger
17776606ee temp: test re-key 2fas 2026-01-22 22:44:23 +01:00
Nicolas Meienberger
88fa06b503 fix: prevent path traversal in list volume files 2026-01-22 22:32:04 +01:00
Nicolas Meienberger
ffc43e0c25 refactor(sftp-backend): use node spawn to properly send password stdin instead of echo 2026-01-22 22:07:10 +01:00
Nicolas Meienberger
0e5438897c fix(repo-mutex): catch errors and remove listener 2026-01-22 22:06:39 +01:00
Nico
51d2ffad17 refactor: mount smb by puttings credentials in temporary file (#396) 2026-01-22 21:56:20 +01:00
Nico
2ab37e6b67 refactor: async doctor (#375)
* feat: background doctor operation

* refactor(repo-details): design layout

* refactor(doctor): support abort signal in all operations

* chore: fix linting issue

* chore: pr feedbacks

* chore: merge conflicts

* refactor: handle aborted signal in all operations

* chore: pr feedbacks

* chore: remove old migration
2026-01-22 21:55:45 +01:00
Nico
da37b08fa0 feat: user management (#394)
* feat: user management settings

* feat: cleanup user's org when deleting them

* chore: pr feedback

* refactor(create-user): tanstack mutation
2026-01-21 22:25:15 +01:00
Nico
451aed8983 Multi users (#381)
* feat(db): add support for multiple users and organizations

* feat: backfill entities with new organization id

* refactor: filter all backend queries to surface only organization specific entities

* refactor: each org has its own restic password

* test: ensure organization is created

* chore: pr feedbacks

* refactor: filter by org id in all places

* refactor: download restic password from stored db password

* refactor(navigation): use volume id in urls instead of name

* feat: disable registrations

* refactor(auth): bubble up auth error to hono

* refactor: use async local storage for cleaner context sharing

* refactor: enable user registration vs disabling it

* test: multi-org isolation

* chore: final cleanup
2026-01-20 22:28:22 +01:00
Nico
d3f9ced5dc refactor: use spawn & exec instead of bun $ (#356)
* refactor: use spawn & exec accordingly

* chore: pr feedbacks
2026-01-15 22:09:00 +01:00
Nicolas Meienberger
2cbd0d1021 chore: bump bun to v1.3.6 2026-01-15 22:03:46 +01:00
Nicolas Meienberger
f4a222aa15 refactor(up/down limit): allow floating value & default to 1 2026-01-15 18:27:50 +01:00
Nicolas Meienberger
1622e34b0d refactoring(bw-limit): stylistic refactoring 2026-01-15 18:07:00 +01:00
Nicolas Meienberger
02fe55b533 fix: properly catch before fallback mount 2026-01-15 16:14:05 +01:00
Nico
9754e366c1 feat: add CLI command to change username (#342)
* feat: add CLI command to change username

* ci: fix wrong folder chmod
2026-01-15 16:14:05 +01:00
Nico
60c0ce208d test(e2e): admin user registration (#338)
* test(e2e): admin user registration

* ci: e2e workflow

* feat: disable rate limiting env var

* test(e2e): fix order of execution in registration tests

* ci: run e2e tests before release
2026-01-15 16:13:39 +01:00
Nicolas Meienberger
881e8f8abe feat: configurable trusted origins 2026-01-15 16:13:14 +01:00
Nico
b9f92f7430 chore: add a pre-commit hook to format files (#336)
chore: add a pre-commit hook to format files
2026-01-15 16:13:14 +01:00
Raj Dave
145c321fa1 Refines bandwidth limit handling for rclone copy
Simplifies bandwidth limit configuration for rclone source backends by considering only the source download limit.

Ensures correct type casting when comparing upload and download limits, using base 10 for parsing.

Makes the temporary keys cleanup function available for external use.
2026-01-10 18:34:34 +03:00
Raj Dave
07a925b9f3 final issue i promise 2026-01-10 17:33:46 +03:00
Raj Dave
51e0526622 more fixed issues 2026-01-10 17:19:02 +03:00
Raj Dave
c91bce7814 fix more coderabbit issues 2026-01-10 14:47:58 +03:00
Raj Dave
a7a4ccef6b fix a lot of the coderabbit warnings 2026-01-10 14:23:39 +03:00