Ajay
21f7d5d938
Don't add primary keys with sqlite
2022-05-17 12:53:48 -04:00
Ajay
d75226bde5
better db dump system
2022-05-05 22:50:07 -04:00
Ajay
b0bcf2b684
don't specify tablespace
2022-05-04 16:03:56 -04:00
Ajay
2e4b7a0c9c
Don't force encoding
2022-05-04 15:36:51 -04:00
Ajay
5b177a3e53
Prepare dockerfile for use, allow configuring via env vars
2022-05-03 22:08:44 -04:00
Ajay Ramachandran
9e86f463d8
Support regex via sqlite
2021-12-02 01:23:59 -05:00
Ajay Ramachandran
6919b5433b
Add suggested chapter names
2021-11-06 22:43:03 -04:00
Michael C
c6428bf9e4
import without fs
2021-10-21 23:15:36 -04:00
Michael C
0163a52e55
if in mirror mode, import CSV files
2021-10-21 03:49:25 -04:00
Ajay Ramachandran
3873aa61bc
Release client even if an error occurs
...
#372
2021-09-28 09:50:24 -04:00
Ajay Ramachandran
39baa4871a
Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer
2021-09-27 20:17:24 -04:00
Ajay Ramachandran
9d2c5ed74e
Call connect manually to catch errors
...
Fix #372
2021-09-27 20:17:02 -04:00
Michael C
28d637f620
remove extra async and extra utils
2021-09-22 23:34:46 -04:00
Michael C
a028eaa41a
object-curly-spacing
2021-09-22 18:52:35 -04:00
Michael C
1c2dd055c1
Update dependencies & eslint
...
- update API-Docs link
- cast err as string to appease eslint
- update package and bump minimum to fix security issue
- removed unnecessary filters from gitignore
2021-08-27 17:09:31 -04:00
Ajay Ramachandran
f24c962785
Catch postgres exceptions
...
Fix #338
2021-08-10 09:50:32 -04:00
Ajay Ramachandran
94b82b6865
Fix warnings
2021-08-03 21:02:45 -04:00
Ajay Ramachandran
3a8076fc3c
Indent switch case
2021-08-02 16:25:04 -04:00
Michael C
b5a29675d6
fix more non-format string-concat
2021-07-12 02:48:49 -04:00
Michael C
c0b1d201ad
fix non-format eslint in src/
2021-07-12 02:12:22 -04:00
Michael C
d89b26b77d
fix eslint-errors
2021-07-04 01:36:03 -04:00
Nanobyte
fb87e180da
Fix postgres type cast
...
Postgres is handling numbers as 64bit and requires special handling to prevent returning numbers as string
2021-06-22 00:59:22 +02:00
DetachHead
85a30369c4
remove async modifier which is no longer allowed in interfaces
2021-06-19 17:59:18 +10:00
Ajay Ramachandran
cfbf8a47d7
Fix hashing function
2021-04-02 12:03:21 -04:00
Ajay Ramachandran
46524e4298
Fix indexes
2021-03-26 19:02:32 -04:00
Ajay Ramachandran
11b4f642a6
Apply indexes after upgrades
2021-03-21 19:16:56 -04:00
Ajay Ramachandran
8729796e87
Make tests pass running with postgres
2021-03-07 00:21:56 -05:00
Ajay Ramachandran
3fe7501802
Support private db with postgres
2021-03-06 19:29:03 -05:00
Ajay Ramachandran
54e69b266d
Fix tests
2021-03-06 00:25:18 -05:00
Ajay Ramachandran
e9b7eac289
Finish up conversion to use case-sensitive column names
2021-03-04 23:29:01 -05:00
Ajay Ramachandran
2772a9dcc6
Switch to case sensitive and get submitting + getting working
2021-03-04 20:23:05 -05:00
Ajay Ramachandran
1a66be8665
Make schemas work with postgres
2021-03-04 19:44:54 -05:00
Ajay Ramachandran
2c211d4730
Fix preprocessor not being used for initial schema
2021-03-01 22:40:13 -05:00
Ajay Ramachandran
88855ab695
Support schema upgrading with postgres
2021-03-01 22:20:44 -05:00
Ajay Ramachandran
46b42da5bd
Update tests to use promises
2021-03-01 21:37:35 -05:00
Ajay Ramachandran
ff4af3786e
Switch to postgres + promises
2021-03-01 20:40:31 -05:00
Dainius Daukševičius
08d27265fc
migrate to typescript
2020-10-26 19:13:30 +02:00
Ajay Ramachandran
809b09a1c2
Attach private db for read only
2020-10-15 14:25:34 -04:00
Joe Dowd
82d59e159f
added post and get test to hash prefix
2020-08-31 02:42:25 +01:00
Joe Dowd
26c72b006c
mreged no-segments
2020-08-30 22:33:56 +01:00
Joe Dowd
b8d7eef536
origin testing merge
2020-08-30 22:24:37 +01:00
Joe Dowd
84533b544a
Merge testing & bufgix on logging proxy submissions
2020-08-30 20:37:24 +01:00
Joe Dowd
44ea0c418a
fixed db update, started no segments
2020-08-22 02:14:19 +01:00
Joe Dowd
16c68dd51d
allow removing own segments with a downvote
2020-08-21 22:32:34 +01:00
Joe Dowd
226197a827
Added logger util and used in place of console log
2020-08-21 15:27:41 +01:00
Joe Dowd
5ac5c30fd6
import config
2020-07-28 04:32:12 +01:00
Ajay Ramachandran
986c9dcf5f
Don't show banned users on the leaderboard
2020-07-26 11:26:51 -04:00
Joe-Dowd
13e4adf18f
PR comments resolved
2020-07-10 01:46:09 +01:00
Joe-Dowd
46dd16caf9
added ability to query mysql database
2020-07-05 04:14:15 +01:00
Martijn van der Ven
803b1fa505
Add initial version of querying by hash prefix
2020-05-23 17:12:40 +02:00