Commit Graph

741 Commits (717b788e83c6f5c5fc69d45f167410137d8fe2b3)
 

Author SHA1 Message Date
tycrek 717b788e83
feat: added server-side embed configuration (closes #173)
2 years ago
tycrek e72892fd86
feat: allow using generated ID in web viewer in place of filename
2 years ago
tycrek 6dc539c7d5
fix: show original if user overrode with zws
2 years ago
tycrek fe79d84662
feat: allow using the generated ID in the web viewer (closes #181)
2 years ago
tycrek dcd93b6fc3
fix: fixed stretched images on web viewer
2 years ago
tycrek 73631d01b4
fix: image was full-width on web but stretched (closes # #178)
2 years ago
tycrek 50b71d878d
feat: switch to new Webhook library; show ass version in Webhook author
2 years ago
tycrek 20db648bc1
feat: display ass version in Webhook author
2 years ago
tycrek 338f6a73e1
feat: switch to `@tycrek/discord-hookr` for webhooks
2 years ago
tycrek 578d33163c
build: add `dev-win` script for skipping NODE_OPTIONS on Windows
2 years ago
tycrek 9b0c726b22
feat: add better authentication and basic user API
2 years ago
tycrek 45f77001a0
docs: small note
2 years ago
tycrek ad3b7435b6
docs: add API to README
2 years ago
tycrek 0af13589ff
docs: add new user system to README
2 years ago
tycrek 16ba3ca438
feat: allow password resets over the API
2 years ago
tycrek cb1d75ff1d
feat: added user API routes
2 years ago
tycrek 55401441fa
fix: remove duplicate function
2 years ago
tycrek 118039f849
fix: user names that make sense
2 years ago
tycrek ac8c861bb1
feat: add middleware function for verifying admin users
2 years 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 0b5b7d7038
chore: hide backup files
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 6338628739
build: forgot to commit packages for bcrypt
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 499aac0f5b
chore: indicate this will become v0.14.0 eventually
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 20b907d676
build: target ES2022
2 years ago
tycrek e425425749
build: added nanoid package
2 years ago
Josh Moore 489b497c7d
feat: added inital API structure
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
Josh Moore 49d1a70b27
🎣 feat: Global admin webhook
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 122386021f
fix: I forgot Windows doesn't support setting CLI vars this way
2 years ago
tycrek 88534d5adf
ez: simplified
2 years ago