Commit Graph

2431 Commits

Author SHA1 Message Date
Ajay
3d596f4528 Save user agent for dearrow 2025-04-17 01:05:34 -04:00
Ajay
ed5a397a30 Improve permission check 2025-04-15 02:01:41 -04:00
Ajay
300642fd4f Fix innertube failure handling 2025-04-12 00:44:10 -04:00
Ajay
46580322fc Fix dearrow old submitter check 2025-04-11 02:44:19 -04:00
Ajay
318152dac6 ua 2025-04-11 02:41:17 -04:00
Ajay
8111d34b30 Fix dearrow threshold not configurable 2025-04-10 16:51:46 -04:00
Ajay
ac78dee210 Fix undefined error 2025-04-10 14:38:08 -04:00
Ajay
d18a4a13f2 Check dearrow vote history for new submitters 2025-04-10 12:47:32 -04:00
Ajay
8d40d61efc Allow max users without a submitter threshold 2025-04-10 02:35:22 -04:00
Ajay
74f6224091 Add new user limit per 5 mins 2025-04-10 02:26:09 -04:00
Ajay
9b55dc5d4d Add new config option 2025-04-08 16:52:16 -04:00
Ajay
8cd2138989 Use config for old submitter check 2025-04-08 16:50:04 -04:00
Ajay
e40af45c73 Fix query 2025-04-08 16:43:01 -04:00
Ajay
5de1fe4388 Fix post config url 2025-04-08 16:26:51 -04:00
Ajay
2ef3d68af0 Await promise not being awaited 2025-04-08 16:02:29 -04:00
Ajay
f67244663e Use alias for getting server config 2025-04-08 15:56:23 -04:00
Ajay
00064d5a7c Fix config fetching 2025-04-08 15:46:14 -04:00
Ajay
ac26aed21c Add endpoints for config setting 2025-04-08 15:18:32 -04:00
Ajay
2aa3589312 Add ability to set config 2025-04-08 15:15:39 -04:00
Ajay
82af8f200b Add better ua parsing 2025-04-08 14:21:24 -04:00
Ajay
69cb33aad0 Add logs 2025-04-08 13:23:24 -04:00
Ajay
3817d7fdba Better submission error message 2025-04-08 13:21:01 -04:00
Ajay
34a6a83e44 Change dearrow permission requirements 2025-04-07 19:28:52 -04:00
Ajay
0967373cb2 Rename func 2025-04-07 00:57:48 -04:00
Ajay
b7794b57d0 Fix can vote checks 2025-04-07 00:57:08 -04:00
Ajay
550339db41 Add permission check in more places 2025-04-07 00:36:01 -04:00
Ajay
b69f050b44 Old submitter only 2025-04-07 00:29:53 -04:00
Ajay Ramachandran
59a986f32f Merge pull request #600 from ajayyy/dependabot/npm_and_yarn/multi-b9f445934c
Bump semver and nodemon
2025-03-29 15:07:03 -04:00
dependabot[bot]
7088a1688d Bump semver and nodemon
Bumps [semver](https://github.com/npm/node-semver) to 7.7.1 and updates ancestor dependencies [semver](https://github.com/npm/node-semver) and [nodemon](https://github.com/remy/nodemon). These dependencies need to be updated together.


Updates `semver` from 7.3.7 to 7.7.1
- [Release notes](https://github.com/npm/node-semver/releases)
- [Changelog](https://github.com/npm/node-semver/blob/main/CHANGELOG.md)
- [Commits](https://github.com/npm/node-semver/compare/v7.3.7...v7.7.1)

Updates `semver` from 6.3.0 to 7.7.1
- [Release notes](https://github.com/npm/node-semver/releases)
- [Changelog](https://github.com/npm/node-semver/blob/main/CHANGELOG.md)
- [Commits](https://github.com/npm/node-semver/compare/v7.3.7...v7.7.1)

Updates `nodemon` from 2.0.20 to 3.1.9
- [Release notes](https://github.com/remy/nodemon/releases)
- [Commits](https://github.com/remy/nodemon/compare/v2.0.20...v3.1.9)

---
updated-dependencies:
- dependency-name: semver
  dependency-type: indirect
- dependency-name: semver
  dependency-type: indirect
- dependency-name: nodemon
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-29 04:55:45 +00:00
Ajay Ramachandran
f07f94fb09 Merge pull request #598 from ajayyy/dependabot/npm_and_yarn/tar-fs-2.1.2
Bump tar-fs from 2.1.1 to 2.1.2
2025-03-29 00:54:48 -04:00
Ajay Ramachandran
a7758a2608 Merge pull request #599 from ajayyy/dependabot/npm_and_yarn/axios-1.8.4
Bump axios from 1.7.7 to 1.8.4
2025-03-29 00:54:40 -04:00
dependabot[bot]
fd5bc43281 Bump axios from 1.7.7 to 1.8.4
Bumps [axios](https://github.com/axios/axios) from 1.7.7 to 1.8.4.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v1.7.7...v1.8.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-29 04:40:49 +00:00
dependabot[bot]
3633d0fbb4 Bump tar-fs from 2.1.1 to 2.1.2
Bumps [tar-fs](https://github.com/mafintosh/tar-fs) from 2.1.1 to 2.1.2.
- [Commits](https://github.com/mafintosh/tar-fs/compare/v2.1.1...v2.1.2)

---
updated-dependencies:
- dependency-name: tar-fs
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-28 22:28:04 +00:00
Ajay
aae56887da Update gitignore 2025-03-12 02:46:05 -04:00
Ajay
4fe7cebcb3 Add caching for 5 length skip skip segment query 2025-03-12 02:45:59 -04:00
Ajay
31e678fdc2 Store titles for casual vote submissions
When an uploader changes the title, it will reset the casual votes
2025-02-17 03:16:57 -05:00
Ajay
d44ce3c2dc Add casual votes table export 2025-02-16 14:43:55 -05:00
Ajay
5f9b4c8acc Make casual downvotes apply to all categories 2025-02-13 04:03:38 -05:00
Ajay
d608125b41 Add endpoint for casual submission count 2025-02-12 03:52:03 -05:00
Ajay
fb3abb3216 Fix index for casual votes 2025-02-06 03:01:22 -05:00
Ajay
ccde64e90f Change casual submission to allow submitting multiple categories 2025-02-06 02:57:09 -05:00
Ajay
4abf57b0ce Save casual mode status in db 2025-02-06 02:51:13 -05:00
Ajay
07435b9af1 Add casual mode endpoint 2025-02-05 03:38:55 -05:00
Ajay Ramachandran
ab9cab8ff5 Merge pull request #582 from hanydd/dev_join
Change reduce to join function for simplicity
2025-02-03 20:55:55 -05:00
Ajay Ramachandran
311c653ea2 Merge pull request #592 from Choromanski/feature/node-deprecation
Upgraded github actions dependencies
2025-02-03 20:54:48 -05:00
Ajay Ramachandran
e92d47e1a4 Merge pull request #593 from ajayyy/dependabot/npm_and_yarn/multi-9f37c16f8f
Bump cookie and express
2025-02-03 20:54:22 -05:00
Ajay Ramachandran
3734b88cb5 Merge pull request #595 from mchangrh/patch-1
bump & lock rsync dockerfile
2025-01-18 12:54:45 -05:00
Michael M. Chang
00086d9001 bump & lock rsync dockerfile 2025-01-18 06:45:09 -08:00
Ajay
a37a552b17 Fix video labels keys not clearing properly 2025-01-18 03:32:55 -05:00
Ajay
fa29cfd3c6 Add endpoint to get segment ID 2025-01-18 02:56:57 -05:00