mini-bomba
1b99a8534c
type IDatabase::prepare with overloads
2025-09-10 17:08:39 +02:00
mini-bomba
655789e62d
Limit username creation
2025-04-29 00:10:20 +02:00
mini-bomba
4db4e9458e
hook up extra functions to the request validator
2025-04-25 21:52:39 +02:00
mini-bomba
c2a3630d49
create an isUserBanned utility function
2023-08-29 16:38:41 +02:00
Ajay
f63fa09605
Handle exceptions, and prevent crashing from unhandled exceptions
2023-07-24 21:25:18 -04:00
Ajay
0463165f1a
Add timing trace to set username
2023-07-23 14:01:49 -04:00
Michael C
a384079562
more lenient privateIDUsername checks
...
- disallow username = privateID
- disallow username = other privateID on username table if length > minLength
2023-02-17 22:28:23 -05:00
Michael C
b855eea349
make privateIDUsername check more lenient #532
2023-01-29 16:10:59 -05:00
Michael C
90e5446078
add privateID username check
...
- bump AGPL to package-lock
2022-12-30 00:41:45 -05:00
Michael C
506b6570f3
add ignore next to catch errors
2022-09-25 03:29:31 -04:00
Ajay Ramachandran
0f4b0c2f54
formatting
2021-12-19 19:13:49 -05:00
Michael C
544af7ce15
remove empty rows from userNames
2021-12-18 21:33:38 -05:00
Michael C
a5a90e3c84
add getHashCache where applicable=
2021-11-27 02:41:34 -05: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
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