Commit graph

31 commits

Author SHA1 Message Date
divyam234
110a821836
feat: enhance check command with dry-run and verbose logging
- Add --dry-run flag to simulate check/clean without changes
- Add --verbose flag for detailed logging and debugging
- Add comprehensive summary output showing files checked, missing, orphans
- Rename --export to --export-file with custom path support
- Improve error messages with channel-specific context
- Add YAML configuration support with config.sample.yml
- Refactor reader for concurrent chunk fetching with buffer management
- Add config loader tests
- Update dependencies (gotd/td, gocron, redis, opentelemetry, etc.)
- Fix RegisterPlags typo to RegisterFlags in cmd/run.go
2025-12-24 10:37:46 +05:30
divyam234
616cf4ad4a
feat: Add Automatic Channel Rollover
- Implement channel rollover based on part count limits
- Auto-create channels and add bots as admins
- Add teldrive.kv key-value table
- Deduplicate bots and set (user_id, token) as primary key
2025-10-07 22:05:55 +05:30
divyam234
aad739d9e5
fix: update file parts update payload to include encryption flag 2025-06-22 11:43:12 +05:30
Bhunter
f0187f4052 refactor: standardize field naming and improve cache key generation 2025-01-14 11:22:41 +01:00
divyam234
77e463b998 refactor: simplify condition checks and improve upload handling 2025-01-02 23:06:41 +05:30
Bhunter
057a3d7473 feat: add Openapi generator remove go-gin,fx 2024-12-31 18:51:34 +05:30
divyam234
f28a35be1c refactor: return full path in single file res 2024-09-20 13:52:03 +05:30
Bhunter
5fd41050e3 chore: rename packages to org name 2024-08-31 15:50:17 +00:00
divyam234
c7149701f1 refactor: Update dependencies and refactor multireader and workers 2024-08-10 00:08:06 +05:30
divyam234
9ce54b0a50 feat: added redis cache support 2024-07-26 21:20:26 +05:30
divyam234
20d39cd5b9 refactor: Switch to golang-jwt for auth 2024-07-11 00:25:25 +05:30
divyam234
758f0f82ea
refactor: Handle file updates in transaction (#292)
* feat: Add Stream Bots Offset flag to run command

* feat: Update Stream Bots Offset flag in run command

* update

* update

* update

* invalidate cache on update

* chore: Update cache key for file location deletion

* chore: Update cache key for file location retrieval

* chore: Refactor file service to optimize token processing

* chore: Optimize token processing in file service

* chore: Update file service to use PUT method for updating parts
2024-07-08 16:42:48 +05:30
divyam234
825dc11fe1 feat: MultiThreaded stream support 2024-06-22 17:59:59 +05:30
divyam234
abcf81b204 refactor: improve cron jobs 2024-06-14 23:30:22 +05:30
divyam234
4cc1087152 fix: add session date as fingerprint 2024-06-12 13:22:38 +05:30
divyam234
5798d89f02 feat Add user sessions control 2024-06-10 21:52:21 +05:30
divyam234
b92f751375 refactor: Copy session data to prevent mutation in LoadSession function 2024-06-06 00:19:40 +05:30
divyam234
943a5012b9 feat: added dc pooler and support 0 length file size 2024-06-02 23:11:18 +05:30
divyam234
450c7e0487 fix: uploads when using multiple channels 2024-05-31 20:28:40 +05:30
divyam234
5fa2a064fb refactor: add endpoint to delete file parts 2024-05-26 03:32:16 +05:30
divyam234
c8148a2207 refactor: use range loops introduced in go 1.22 2024-05-20 02:54:32 +05:30
divyam234
7bbcbf80a2 fix: downloads when no of chunks > 200 2024-05-20 01:43:46 +05:30
divyam234
b1b5dcdc4c refactor: error handling 2024-03-19 22:33:28 +05:30
divyam234
ddbc88f770 feat: add viper and cobra support 2024-02-12 21:32:55 +05:30
divyam234
7946f3e381 feat: Added tests , and change config structure 2024-02-12 02:25:01 +05:30
divyam234
f0f19e1898 Enabled debug logging and disabled lazy bots for streaming 2023-12-17 18:35:48 +05:30
divyam234
6b0768161e enable random salt geenration for file parts 2023-12-08 13:17:33 +05:30
divyam234
3e30b8797c enable native file encryption 2023-12-08 03:16:06 +05:30
divyam234
bc7b50f4da further cleanup 2023-12-03 03:16:53 +05:30
divyam234
b040eb9e1e api changes 2023-12-03 02:53:06 +05:30
divyam234
40ab4cb98a project structure change 2023-12-03 01:17:23 +05:30
Renamed from services/common.go (Browse further)