Commit Graph

66 Commits (master)

Author SHA1 Message Date
Sylvie a6f2a0a9d0
feat: return `.ext` to user if header is set
4 months ago
tycrek 0061ba0fc8
feat: updated Luxon & tlog
11 months ago
tycrek 3edb2e097d
feat: added password check route that returns a token on success
1 year ago
tycrek 332207829c
fix: new installs broken due to bizarre dependency refresh
1 year ago
tycrek d91e572e82
fix: properly specify and use Magic Number HTTP codes
1 year ago
tycrek 95339688d2
remove: Sia Skynet is no longer usable
1 year ago
tycrek d44f26091d
feat/docs: added custom 404 pages (closes #174)
1 year ago
tycrek 4740286368
feat: changed some user API routes
1 year ago
tycrek a84bbe12e5
feat: added resetting upload tokens via API
1 year ago
tycrek 93d6cfd930
feat: improve error handling for API
1 year ago
tycrek 642e84910b
feat: added setting username via API
1 year ago
tycrek 30505f8bef
feat: add API route to get all users
1 year ago
tycrek 313c8a8f0d
chore: make this a little bit cleaner
1 year ago
tycrek 3b00e36092
feat: use proper HTTP error codes for specific errors
1 year ago
tycrek 894d773e8c
feat: added setting and deleting user meta keys via API
1 year ago
tycrek 2b87e044e1
feat: added deleting users via the API
1 year ago
tycrek d3181cb1f8
fix: new tokens may have `_` or `-`
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 93dc91a761
fix: tested password reset in prod, not working for some reason
1 year ago
tycrek 4663ce40c9
feat: add creating users via API
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
1 year ago
tycrek fd06e92191
fix: API auth middleware for new auth system
1 year ago
tycrek 76dc68405a
feat: deprecate `token` in FileData, switch to `uploader`
1 year ago
tycrek 42a7b4758f
chore: rename this to improve understanding
1 year ago
tycrek 27aa264d37
refactor: switch to arrays instead of Objects/maps
1 year ago
tycrek 340b44a300
fix: use `setURL` instead of `setUrl`, package seems unmaintained
1 year ago
tycrek 1a9fad7076
feat: BREAKING: overhaul auth file format and handling (etc, expand)
1 year ago
tycrek f302f56ac6
feat: gave API an onStart()
1 year ago
tycrek 62b2bf953f
feat: added initial API routers (no routes yet)
1 year 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 a36f944eba
fix: Replace `fs.createReadStream` with `res.sendFile`
2 years ago
tycrek ed6595fc3b
Fix not checking proper path type
2 years ago
tycrek 651f213351
Added toggle for brand line
2 years ago
tycrek 1e943859eb
Removed all of these now redundant symbols
2 years ago
tycrek 587d4d6452
Fixed other parts
2 years ago
tycrek 29add713c3
Significantly improve loading data & config
2 years ago
tycrek dbb024815e
Fix type importing (simple diffs)
2 years ago
tycrek ab471d43ed
Properly extend Express interfaces
2 years ago