Commit Graph

127 Commits (47fa061548f48c5101a5b6f836ed2f4751a47a3e)

Author SHA1 Message Date
tycrek 94cac0f5ba
chore: remove old code
1 year ago
tycrek 69bf9aaa86
feat: added script to add users by CLI
1 year ago
tycrek d3181cb1f8
fix: new tokens may have `_` or `-`
1 year ago
tycrek 2abea4894d
chore: minor cleanup
1 year ago
tycrek 182d674a7e
feat: add a CLI key for scripts to auth with API
1 year ago
tycrek eb5578ef9e
chore: minor cleanup before release
1 year ago
tycrek 084b5fba3a
fix: run this sequentially to avoid crashing on low-spec servers, maybe
1 year ago
tycrek 93dc91a761
fix: tested password reset in prod, not working for some reason
1 year ago
tycrek 7b6e2b12e1
feat: create default users
1 year ago
tycrek 4663ce40c9
feat: add creating users via API
1 year ago
tycrek faaaa8d572
fix: this shouldn't be an entire `User`, that makes no sense
1 year ago
tycrek 717b788e83
feat: added server-side embed configuration (closes #173)
1 year ago
tycrek 6dc539c7d5
fix: show original if user overrode with zws
1 year ago
tycrek fe79d84662
feat: allow using the generated ID in the web viewer (closes #181)
1 year ago
tycrek 20db648bc1
feat: display ass version in Webhook author
1 year ago
tycrek 338f6a73e1
feat: switch to `@tycrek/discord-hookr` for webhooks
1 year ago
tycrek 16ba3ca438
feat: allow password resets over the API
1 year ago
tycrek cb1d75ff1d
feat: added user API routes
1 year ago
tycrek 55401441fa
fix: remove duplicate function
1 year ago
tycrek 118039f849
fix: user names that make sense
1 year ago
tycrek ac8c861bb1
feat: add middleware function for verifying admin users
1 year ago
tycrek 6c9b8166e9
feat: use functions instead because why not
2 years ago
tycrek fd06e92191
fix: API auth middleware for new auth system
2 years ago
tycrek 87c8e64698
fix: remove this method for duplicating the list (ironically correctly)
2 years ago
tycrek a774ab311b
feat: try to reset user array at start of onStart*
2 years ago
tycrek 4c4009207f
feat: migrate datafile (token => uploader unid)
2 years ago
tycrek 6cc0cb3ffa
feat: use vars for filenames instead of direct strings
2 years ago
tycrek 76dc68405a
feat: deprecate `token` in FileData, switch to `uploader`
2 years ago
tycrek 619a30d685
fix: auth file written before bcrypt Promise resolved
2 years ago
tycrek 1887409eeb
fix: put salt rounds in a constant
2 years ago
tycrek 2dad6f13ce
feat: `createNewUser` now accepts a password and handles hashing
2 years ago
tycrek dc2f3937b2
feat: added CLI scripts for setting & testing hashed passwords
2 years ago
tycrek 6cfd353a54
feat: added export for setting passwords
2 years ago
tycrek 6be768d655
feat: auto-gen random unknown admin password during migration
2 years ago
tycrek 42a7b4758f
chore: rename this to improve understanding
2 years ago
tycrek 27aa264d37
refactor: switch to arrays instead of Objects/maps
2 years ago
tycrek 340b44a300
fix: use `setURL` instead of `setUrl`, package seems unmaintained
2 years ago
tycrek 1a9fad7076
feat: BREAKING: overhaul auth file format and handling (etc, expand)
2 years ago
tycrek 7b88ee9638
feat: added type definitions for auth
2 years ago
tycrek e425425749
build: added nanoid package
2 years ago
tycrek f302f56ac6
feat: gave API an onStart()
2 years ago
tycrek 62b2bf953f
feat: added initial API routers (no routes yet)
2 years ago
tycrek 3dab919e3f
fix: DeepSource JS-0295 but idfk why it's only complaining here
2 years ago
tycrek 1aaf298b02
feat: added global admin webhook (#142)
2 years ago
tycrek 88534d5adf
ez: simplified
2 years ago
tycrek 90466f6104
🕓 feat: added Timestamp generator
2 years ago
tycrek b06eceda26
fix: Usage of the `any` type
2 years ago
tycrek f1f8468651
fix: Added Javadoc to `removeGPS`
2 years ago
tycrek f36acef1cc
feat: Strip EXIF GPS data from files during upload
2 years ago
tycrek 9a0b4078a8
fix: TS linter was complaining
2 years ago