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
9f7abf1865
Revert "fix error with errors"
...
This reverts commit 7601a1d4bf .
2021-08-28 01:53:53 -04:00
Michael C
7601a1d4bf
fix error with errors
2021-08-28 01:48:48 -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
0fded0022c
Fix userCount using lower case
2021-08-10 10:58:20 -04:00
Ajay Ramachandran
f3e5b360c4
Check against number for username lock
2021-08-10 00:37:43 -04:00
Ajay Ramachandran
54f8f67ed5
Don't allow username change for banned users
2021-08-09 10:03:40 -04:00
Michael C
a7aaffcfe5
Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer into stricter-eslint
2021-07-18 02:27:48 -04:00
Ajay Ramachandran
83a77dfc74
Use strict equals
2021-07-15 14:03:30 -04:00
Ajay Ramachandran
27f406f757
Fix username existence check
2021-07-15 14:02:08 -04:00
Michael C
c0b1d201ad
fix non-format eslint in src/
2021-07-12 02:12:22 -04:00
Michael C
8df0c31d35
consistent return and sendStatus
2021-07-04 02:04:39 -04:00
Michael C
d89b26b77d
fix eslint-errors
2021-07-04 01:36:03 -04:00
Ajay Ramachandran
ce59d3f95f
Don't fail if row is undefined
2021-06-30 00:01:40 -04:00
Ajay Ramachandran
6f18a49ba0
Switch username update to one query
2021-06-28 22:05:15 -04:00
Ajay Ramachandran
8b54e965a2
Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer
2021-06-28 13:24:04 -04:00
Ajay Ramachandran
0ddde452e3
Auto-lock username when admin changes it
...
https://github.com/ajayyy/SponsorBlockServer/issues/168
2021-06-28 13:20:57 -04:00
Haidang666
f3542b7402
Fix column name for postgre
2021-06-27 11:51:04 +07:00
Haidang666
f5bb221ecd
Add log when update username
2021-06-27 11:45:42 +07:00
Nanobyte
34fd78961b
Add username lock
2021-06-15 00:09:37 +02:00
Ajay Ramachandran
17eb9604e7
Add banned username
2021-06-13 17:13:44 -04:00
Ajay Ramachandran
e71399f5af
Add banned user
2021-05-13 21:24:53 -04:00
Ajay Ramachandran
72aff3a695
Block username change
2021-05-12 18:57:36 -04:00
Nanobyte
3a60b6fff7
Remove unicode control characters from username
2021-04-19 03:14:31 +02:00
Ajay Ramachandran
e9b7eac289
Finish up conversion to use case-sensitive column names
2021-03-04 23:29:01 -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