Commit graph

122 commits

Author SHA1 Message Date
divyam234
8368f5f878
refactor: logging and fix lint errors 2026-01-07 20:54:52 +05:30
divyam234
5ad73a94ff
refactor: better error handling while adding bots 2025-12-25 16:37:38 +05:30
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
really-flamey-marco
74307dc777 fix: correct parts counting in channel rollover logic 2025-11-06 09:29:39 +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
Mohd Hassan Khan
d27a9dac6b
feat: add xz and tgz to supported archive extensions
- Added `.xz` and `.tgz` to archiveExtensions
- Improves compatibility with common Linux/Unix compressed archives
- Prevents these formats from being incorrectly categorized as "others"
2025-08-15 19:29:58 +05:30
Mohd Hassan Khan
59a0702df2
feat: add HEIF, HEIC, and WebP to image extensions
- Added some image formats: heif, heic, webp
2025-08-15 19:29:58 +05:30
divyam234
5c619a06d6
feat: add distributed cron job locking and new cron jobs
- Introduced a new configuration option `locker-instance` for distributed cron job locking.
- Updated the cron job service to use `gormlock` for distributed locking.
- Refactored the `StartCronJobs` function to initialize the locker and scheduler.
- Added new cron jobs for cleaning old events and logging actions for existing jobs.
2025-06-22 20:30:45 +05:30
divyam234
aad739d9e5
fix: update file parts update payload to include encryption flag 2025-06-22 11:43:12 +05:30
divyam234
fbcb1024a6
feat: new settings UI with channels operations 2025-06-10 22:58:52 +05:30
divyam234
d4285354f4
feat: support direct ssl negotiation postgres 2025-05-20 22:52:29 +05:30
divyam234
4c7c38fdea
feat: add docker.io registry and improve chunk handling 2025-04-11 09:37:18 +02:00
divyam234
9983c7d72b
feat: add created_at index and event ordering 2025-04-11 09:06:53 +02:00
divyam234
bfbeab6b59
refactor: replace interface{} with any type across codebase 2025-04-10 08:00:54 +02:00
divyam234
4ef27d5ab8
refactor: rename EventData to Source and expand event data model 2025-04-09 05:46:23 +02:00
divyam234
d66dc78e35
feat: add file operation event recording system 2025-04-08 20:02:45 +02:00
Bhunter
c524068d12 build: update dependencies and improve reader implementation 2025-03-04 12:32:21 +01:00
Bhunter
6f7bf17f51 refactor: remove hardcoded tg creds 2025-01-27 22:51:39 +01:00
Bhunter
4202793702 refactor: remove file duplication completely 2025-01-25 16:39:55 +01:00
divyam234
8e4dfd859c refactor: add index for listing channel files and impove check command 2025-01-21 21:21:59 +05:30
Bhunter
7b4fd14574 refactor: improve command flag registration 2025-01-16 21:20:30 +01:00
Bhunter
0540ae1075 feat: add new check command to check integrity of file parts 2025-01-16 14:46:25 +01:00
Bhunter
0d51fdfe0a refactor: migrate session db from bbolt to sqlite 2025-01-15 12:33:02 +01:00
Bhunter
4c5d5035f7 refactor: update logging configuration to use string levels 2025-01-14 11:58:04 +01:00
Bhunter
f0187f4052 refactor: standardize field naming and improve cache key generation 2025-01-14 11:22:41 +01:00
Bhunter
518435fcd3 refactor: replace kv usage with boltdb and update related configurations 2025-01-12 20:05:10 +05:30
Bhunter
381ea31fc1 fix: take correct size in encrypted streams 2025-01-11 22:35:36 +05:30
Bhunter
7fa4a38197 refactor: add version endpoint 2025-01-11 15:35:24 +01:00
Bhunter
74bae5fdc2 refactor: add UUID validation and improve file handling in copy and move operations 2025-01-05 19:06:14 +01:00
divyam234
77e463b998 refactor: simplify condition checks and improve upload handling 2025-01-02 23:06:41 +05:30
divyam234
a296b368de feat: add NTP configuration and improve middleware handling 2025-01-01 16:54:36 +05:30
divyam234
055cc01ba7 feat: fix time synchronization issues 2025-01-01 02:20:46 +05:30
divyam234
fdd6e64c3f feat: enhance authentication and file sharing features 2025-01-01 01:17:51 +05:30
Bhunter
057a3d7473 feat: add Openapi generator remove go-gin,fx 2024-12-31 18:51:34 +05:30
divyam234
12d8c88bc4 feat: add regex search support 2024-12-13 19:10:33 +05:30
divyam234
f28a35be1c refactor: return full path in single file res 2024-09-20 13:52:03 +05:30
divyam234
286bacaefe refactor: Purge share cache entry post delete 2024-09-16 13:22:54 +05:30
divyam234
99bf608792 refactor: query shared files by path to support breadcrumbs 2024-09-15 12:26:15 +05:30
divyam234
ad6e0ccb22 feat: Add file and folder sharing 2024-09-15 10:03:55 +05:30
divyam234
a1440b1d7a refactor: remove bg bots 2024-09-10 13:00:47 +05:30
Bhunter
5fd41050e3 chore: rename packages to org name 2024-08-31 15:50:17 +00:00
divyam234
619fc3eccd refactor: readers 2024-08-12 14:32:33 +05:30
divyam234
a64eb57ea4 chore: add all bots in stream 2024-08-10 08:55:02 +05:30
divyam234
c7149701f1 refactor: Update dependencies and refactor multireader and workers 2024-08-10 00:08:06 +05:30
divyam234
3605ea4193 refactor: multireader and workers 2024-08-04 17:13:40 +05:30
divyam234
2a7cedb6fb refactor: Update ParentID field to use sql.NullString for nullable values 2024-08-03 00:36:14 +05:30
divyam234
149d8c6140 refactor: use uuid7 for fileId 2024-08-02 23:03:52 +05:30
divyam234
2d564eb1e8 fix: depth col issue while creating directory 2024-07-28 15:46:55 +05:30
divyam234
72db50208a refactor: drop depth field 2024-07-27 23:42:26 +05:30
divyam234
4db65dd942 refactor: Add read-write locks for cache operations 2024-07-26 21:22:33 +05:30