Commit Graph
112 Commits
Author SHA1 Message Date
snegov a7abdab1f7 Add HTTP retry strategy for server connection failures
Implement automatic retry with exponential backoff (up to 30 attempts)
for 502/503/504 errors. Prevents container crash-loop during server
outages, reducing kernel log spam from repeated restarts.
0.0.13
2026-02-03 00:31:09 -08:00
snegov fe9f5a9272 Improve library status output formatting
Add dynamic column width alignment for library names up to 30 chars.
Prevents excessive whitespace when library names vary significantly
in length while maintaining readability for typical names.
2026-02-02 21:11:10 -08:00
Maks Snegov 42a0f3f05c Merge pull request #9 from snegov/dependabot/pip/requests-2.32.4
Bump requests from 2.32.0 to 2.32.4
2026-02-02 21:10:45 -08:00
dependabot[bot] 9860ee9b40 Bump requests from 2.32.0 to 2.32.4
Bumps [requests](https://github.com/psf/requests) from 2.32.0 to 2.32.4.
- [Release notes](https://github.com/psf/requests/releases)
- [Changelog](https://github.com/psf/requests/blob/main/HISTORY.md)
- [Commits](https://github.com/psf/requests/compare/v2.32.0...v2.32.4)

---
updated-dependencies:
- dependency-name: requests
  dependency-version: 2.32.4
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-02-03 05:09:23 +00:00
Maks Snegov 446eb8e1ef Merge pull request #7 from snegov/dependabot/pip/requests-2.32.0
Bump requests from 2.31.0 to 2.32.0
2026-02-02 21:07:11 -08:00
dependabot[bot] 9f8eb92e5b ---
updated-dependencies:
- dependency-name: requests
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-21 06:22:09 +00:00
snegov a7f351a75f Use RPC to fetch sync status 2023-10-24 22:12:02 -07:00
snegov b03d7bb1a3 Fix concealing a password in logs 0.0.11 2023-10-20 18:07:54 -07:00
snegov ffc972662e Merge pull request #6 from snegov/5-add-delete-confirm-threshold-option
Add DELETE_CONFIRM_THRESHOLD option
0.0.10
2023-10-20 17:39:03 -07:00
snegov 452c29ac95 Add DELETE_CONFIRM_THRESHOLD option 2023-10-20 17:32:34 -07:00
snegov ca40cce9e9 Merge pull request #4 from subvillion/patch-1
fix: client.py sync_lib password escaping
0.0.9
2023-10-18 09:21:00 -07:00
subvillion 9305c636e1 fix: client.py sync_lib password escaping
Please add some escaping in password env, I have password similar "xxxx&zzzz", and "&" broke syncing:

```
2023-10-16 12:50:04,655 Listing local libraries: seaf-cli list
2023-10-16 12:50:05,108 Syncing library btsync: seaf-cli sync -l 3XX2-XXX-2eXXea -s https://xxxxxxxx.xx -d /dsc/seafile/btsync -u xxx@xx.xx -p ********
-bash: line 1: zzzz: command not found
Traceback (most recent call last):
  File "/usr/bin/seaf-cli", line 1023, in <module>
    main()
  File "/usr/bin/seaf-cli", line 1019, in main
    args.func(args)
  File "/usr/bin/seaf-cli", line 675, in seaf_sync
    token = get_token(url, username, password, tfa, conf_dir)
```
2023-10-16 13:11:26 +03:00
snegov 7f39e0f271 Initialize seafile client during container start 0.0.8 2023-09-16 01:27:46 -07:00
snegov 9f6c417147 Use debian as base docker image 2023-09-15 20:00:04 -07:00
snegov 639265f718 Merge pull request #3 from snegov/dependabot/pip/requests-2.31.0
Bump requests from 2.27.1 to 2.31.0
0.0.7
2023-09-14 16:24:59 -07:00
snegov 6af5eb1b26 Wait for seafile daemon to start 2023-09-14 16:22:02 -07:00
dependabot[bot] 43237dc1f3 Bump requests from 2.27.1 to 2.31.0
Bumps [requests](https://github.com/psf/requests) from 2.27.1 to 2.31.0.
- [Release notes](https://github.com/psf/requests/releases)
- [Changelog](https://github.com/psf/requests/blob/main/HISTORY.md)
- [Commits](https://github.com/psf/requests/compare/v2.27.1...v2.31.0)

---
updated-dependencies:
- dependency-name: requests
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-23 03:15:40 +00:00
snegov 724166b4a4 Support library names in configuration 0.0.6 2022-01-30 18:27:37 +03:00
snegov 681b11bbc1 Update README 0.0.5 2021-02-28 23:27:51 +03:00
snegov 310eb9028c Save seafile-data info in volume 2021-02-28 23:27:26 +03:00
snegov 4dcac70520 Removed DATA_DIR environment variable 2021-02-28 23:26:04 +03:00
snegov 6eadca4041 Update seafile repo URL 2021-01-30 22:59:09 +03:00
snegov 8a0b1abfe7 Fix typo in README 2021-01-30 22:35:48 +03:00
snegov a7ef878490 Update github workflow
fix
2020-08-26 00:06:59 +03:00
snegov d8438e13f5 Fix getting seafile server URL 0.0.4 2020-08-25 23:17:58 +03:00
snegov e73c62d034 Update github workflow 2020-08-25 22:55:13 +03:00
snegov 6048280983 Update installation process in Dockerfile 2020-08-25 21:30:44 +03:00
snegov e35cf0efa5 Fix incorrect schema issue 2020-08-25 21:17:34 +03:00
snegov ebf7574bde Update github workflow 2020-06-04 22:32:57 +03:00
snegov e4268c0b21 Update github workflow 2020-06-04 22:29:20 +03:00
snegov 91758903e9 Update github workflow 0.0.3 2020-06-04 22:00:45 +03:00
snegov e1d84f2d75 Update github workflow 2020-06-04 21:56:00 +03:00
snegov 10f6a5ec32 Add github workflow 2020-06-04 21:38:34 +03:00
snegov e4e60c1023 Add cleanup after package install in Dockerfile 0.0.2 2020-06-04 21:16:58 +03:00
snegov a4f7e5e334 Merge branch 'feature/update-readme' 0.0.1 2019-12-10 22:45:14 +03:00
snegov 79f15e5f09 Update image in docker-compose examples 2019-12-10 22:44:33 +03:00
snegov fd9056b57a Merge branch 'feature/remove-legacy' 2019-12-09 21:26:01 +03:00
snegov 0f9255ac7e Update license 2019-12-09 21:25:12 +03:00
snegov a7157f9c20 Update .gitignore 2019-12-09 21:25:01 +03:00
snegov 9d5d015cc0 Remove obsolete code 2019-12-09 21:24:31 +03:00
snegov b7f6041c7d Merge branch 'bugfix/fix-import-error' 2019-12-06 11:43:15 +03:00
snegov 280979f88a Fix import error
Forgot to add local python libraries to the image.
2019-12-06 11:42:20 +03:00
snegov e899ebd9a3 Merge branch 'feature/rework-seaf-cli' 2019-12-05 16:00:18 +03:00
snegov 7c8642bfbb Improve logging a little 2019-12-05 15:58:11 +03:00
snegov c72727b9a0 Fix circular dependencies 2019-12-05 15:58:11 +03:00
snegov 107bb55082 Move SeafileClient out of main file 2019-09-06 21:41:52 +03:00
snegov 4b70e9ab17 Update seafile repository to debian10 2019-08-14 12:14:50 +03:00
snegov 33457744bf Add gitignore 2019-08-13 22:38:34 +03:00
snegov 0e4583d3af Add current sync info to log 2019-08-13 22:38:00 +03:00
snegov 4b7de4a5ca update docker-compose info in README 2019-04-14 13:18:09 +03:00