Commit graph

451 commits

Author SHA1 Message Date
divyam234 20d39cd5b9 refactor: Switch to golang-jwt for auth 2024-07-11 00:25:25 +05:30
divyam234 e7865a7637 refactor: readd server timeouts 2024-07-09 23:41:05 +05:30
dependabot[bot] 5ff157aabc chore(deps): bump golang.org/x/net from 0.26.0 to 0.27.0
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.26.0 to 0.27.0.
- [Commits](https://github.com/golang/net/compare/v0.26.0...v0.27.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-08 19:30:33 +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 678de5bc63 chore: Remove statsviz monitoring 2024-07-07 12:53:28 +05:30
divyam234 bddd2d93d8 ci: update goreleaser to version 6 2024-07-07 12:49:47 +05:30
divyam234 5f0f1831e5 refactor: verify if part is uploaded before returning 2024-07-07 12:28:07 +05:30
dependabot[bot] 6839766e0a chore(deps): bump golang.org/x/crypto from 0.24.0 to 0.25.0
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.24.0 to 0.25.0.
- [Commits](https://github.com/golang/crypto/compare/v0.24.0...v0.25.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-06 15:09:45 +05:30
divyam234 c5b9c99005 chore: update stataviz monitoring 2024-07-06 11:23:30 +05:30
divyam234 2eaceea53e ci: update goreleaser 2024-07-02 01:03:04 +05:30
divyam234 713d7a8fe7 refactor: fix typo in decrypted reader 2024-07-02 00:58:17 +05:30
divyam234 1353ae7bd2 feat: added option to disable cron jobs 2024-07-01 17:11:55 +05:30
divyam234 f33b0428e7 ci: cache dependencies 2024-07-01 15:01:34 +05:30
divyam234 c8c569a643 chore: panic error during database migration 2024-07-01 13:52:44 +05:30
divyam234 ae280eb532 chore: authenticate streams by cookies 2024-06-29 15:35:23 +05:30
divyam234 c5cd24bbb3 refactor: reader 2024-06-29 15:07:54 +05:30
divyam234 04755c76e6 fix: memory leak in streams 2024-06-27 00:35:23 +05:30
divyam234 470aeb053a chore: add pprof endpoint for debugging 2024-06-26 21:35:49 +05:30
dependabot[bot] 3f5ec50aa8 chore(deps): bump go.uber.org/fx from 1.22.0 to 1.22.1
Bumps [go.uber.org/fx](https://github.com/uber-go/fx) from 1.22.0 to 1.22.1.
- [Release notes](https://github.com/uber-go/fx/releases)
- [Changelog](https://github.com/uber-go/fx/blob/master/CHANGELOG.md)
- [Commits](https://github.com/uber-go/fx/compare/v1.22.0...v1.22.1)

---
updated-dependencies:
- dependency-name: go.uber.org/fx
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-26 18:37:01 +05:30
dependabot[bot] 48ddc91bae chore(deps): bump github.com/gotd/td from 0.104.0 to 0.105.0
Bumps [github.com/gotd/td](https://github.com/gotd/td) from 0.104.0 to 0.105.0.
- [Release notes](https://github.com/gotd/td/releases)
- [Commits](https://github.com/gotd/td/compare/v0.104.0...v0.105.0)

---
updated-dependencies:
- dependency-name: github.com/gotd/td
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-26 09:02:03 +05:30
dependabot[bot] 70a15cbe31 chore(deps): bump github.com/gotd/td from 0.103.0 to 0.104.0
Bumps [github.com/gotd/td](https://github.com/gotd/td) from 0.103.0 to 0.104.0.
- [Release notes](https://github.com/gotd/td/releases)
- [Commits](https://github.com/gotd/td/compare/v0.103.0...v0.104.0)

---
updated-dependencies:
- dependency-name: github.com/gotd/td
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-24 18:28:50 +05:30
divyam234 2c7db87b3f feat: option to close bg bots after a certain time 2024-06-24 17:30:25 +05:30
divyam234 64102e801b fix: decrypted reader 2024-06-23 15:08:50 +05:30
divyam234 825dc11fe1 feat: MultiThreaded stream support 2024-06-22 17:59:59 +05:30
dependabot[bot] 8c9ca99a93 chore(deps): bump github.com/rclone/rclone from 1.66.0 to 1.67.0
Bumps [github.com/rclone/rclone](https://github.com/rclone/rclone) from 1.66.0 to 1.67.0.
- [Release notes](https://github.com/rclone/rclone/releases)
- [Changelog](https://github.com/rclone/rclone/blob/master/RELEASE.md)
- [Commits](https://github.com/rclone/rclone/compare/v1.66.0...v1.67.0)

---
updated-dependencies:
- dependency-name: github.com/rclone/rclone
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-21 13:46:48 +05:30
dependabot[bot] 25ea36e671 chore(deps): bump github.com/spf13/cobra from 1.8.0 to 1.8.1
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra) from 1.8.0 to 1.8.1.
- [Release notes](https://github.com/spf13/cobra/releases)
- [Commits](https://github.com/spf13/cobra/compare/v1.8.0...v1.8.1)

---
updated-dependencies:
- dependency-name: github.com/spf13/cobra
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-17 18:39:21 +05:30
divyam234 9f72b25e0a
Update README.md 2024-06-15 15:59:35 +05:30
divyam234 edf8b41fb0
Update README.md 2024-06-15 15:58:46 +05:30
divyam234 d0d0f2f8ed fix: disallow duplicate folders 2024-06-15 11:09:05 +05:30
divyam234 abcf81b204 refactor: improve cron jobs 2024-06-14 23:30:22 +05:30
dependabot[bot] 8a38aaddac chore(deps): bump github.com/gorilla/websocket from 1.5.2 to 1.5.3
Bumps [github.com/gorilla/websocket](https://github.com/gorilla/websocket) from 1.5.2 to 1.5.3.
- [Release notes](https://github.com/gorilla/websocket/releases)
- [Commits](https://github.com/gorilla/websocket/compare/v1.5.2...v1.5.3)

---
updated-dependencies:
- dependency-name: github.com/gorilla/websocket
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-14 18:28:41 +05:30
divyam234 855a320f32 feat: buffered reader for fast streaming 2024-06-14 00:55:15 +05:30
dependabot[bot] 3faeb64084 chore(deps): bump github.com/gotd/td from 0.102.0 to 0.103.0
Bumps [github.com/gotd/td](https://github.com/gotd/td) from 0.102.0 to 0.103.0.
- [Release notes](https://github.com/gotd/td/releases)
- [Commits](https://github.com/gotd/td/compare/v0.102.0...v0.103.0)

---
updated-dependencies:
- dependency-name: github.com/gotd/td
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-12 17:57:05 +05:30
dependabot[bot] db1372212e chore(deps): bump gorm.io/driver/postgres from 1.5.7 to 1.5.9
Bumps [gorm.io/driver/postgres](https://github.com/go-gorm/postgres) from 1.5.7 to 1.5.9.
- [Commits](https://github.com/go-gorm/postgres/compare/v1.5.7...v1.5.9)

---
updated-dependencies:
- dependency-name: gorm.io/driver/postgres
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-12 17:56:45 +05:30
dependabot[bot] 83921a9191 chore(deps): bump gorm.io/datatypes from 1.2.0 to 1.2.1
Bumps [gorm.io/datatypes](https://github.com/go-gorm/datatypes) from 1.2.0 to 1.2.1.
- [Commits](https://github.com/go-gorm/datatypes/compare/v1.2.0...v1.2.1)

---
updated-dependencies:
- dependency-name: gorm.io/datatypes
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-12 17:55:34 +05:30
divyam234 4cc1087152 fix: add session date as fingerprint 2024-06-12 13:22:38 +05:30
divyam234 54a5fd55e1 refactor: improve deletion 2024-06-11 19:29:05 +05:30
divyam234 febdb3fe84 refactor: Fix pool close method to prevent nil pointer dereference 2024-06-10 22:43:06 +05:30
divyam234 df5c554c30 refactor: Remove unused multierr package and close pool directly 2024-06-10 22:41:57 +05:30
divyam234 5798d89f02 feat Add user sessions control 2024-06-10 21:52:21 +05:30
dependabot[bot] 175734a509 chore(deps): bump github.com/gorilla/websocket from 1.5.1 to 1.5.2
Bumps [github.com/gorilla/websocket](https://github.com/gorilla/websocket) from 1.5.1 to 1.5.2.
- [Release notes](https://github.com/gorilla/websocket/releases)
- [Commits](https://github.com/gorilla/websocket/compare/v1.5.1...v1.5.2)

---
updated-dependencies:
- dependency-name: github.com/gorilla/websocket
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-10 21:22:40 +05:30
divyam234 43a21d9d86 feat: add size to unique fingerprint 2024-06-09 03:07:31 +05:30
divyam234 be256f5da4 update README.md 2024-06-08 21:46:40 +05:30
divyam234 33099783cc fix: directory creation 2024-06-08 16:31:21 +05:30
divyam234 7e5e3adf5f refactor: list files by parentId explicitly 2024-06-07 20:40:26 +05:30
divyam234 94ef73d62c refoactor: drop path field frpm db 2024-06-07 12:11:00 +05:30
divyam234 b92f751375 refactor: Copy session data to prevent mutation in LoadSession function 2024-06-06 00:19:40 +05:30
divyam234 d959849278
Update README.md 2024-06-05 23:58:25 +05:30
dependabot[bot] bcdf380ebd chore(deps): bump golang.org/x/net from 0.25.0 to 0.26.0
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.25.0 to 0.26.0.
- [Commits](https://github.com/golang/net/compare/v0.25.0...v0.26.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-05 23:46:10 +05:30
divyam234 306a508319 refactor: db params 2024-06-04 17:49:13 +05:30