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*
I don't think it works
|
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)
BREAKING CHANGE: any hosts with modified deployments of ass utilizing the auth file in its current state will need to fix their modifications.
|
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
Merge pull request #180 from tycrek/0.14.0/api
close https://github.com/tycrek/ass/issues/179
|
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 |
Facinorous
|
e6b1e72ef7
|
- Fix txtPrimary & txtSecondary class positions
- Add linkPrimary class for link colour
|
2 years ago |
Josh Moore
|
49d1a70b27
|
🎣 feat: Global admin webhook
Merge pull request #171 from tycrek/global-admin-webhook
|
2 years ago |
tycrek
|
3dab919e3f
|
fix: DeepSource JS-0295 but idfk why it's only complaining here
There's so much `// @ts-ignore` but it only cares about this?
|
2 years ago |
tycrek
|
1aaf298b02
|
feat: added global admin webhook (#142)
Adds options to log all uploads from all users with a webhook
|
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 |
tycrek
|
90466f6104
|
🕓 feat: added Timestamp generator
|
2 years ago |
Josh Moore
|
c4aae93ebb
|
fix: add flag during build script
Merge pull request #164 from tycrek/low-ram-fix
|
2 years ago |
Josh Moore
|
aad45d8204
|
fix: add flag during build script
Fixes compilation on low-memory systems (<~2GB)
Resolves #163
|
2 years ago |
Josh Moore
|
548d726395
|
Fixed logo URL
|
2 years ago |
tycrek
|
c3ea2d6ab3
|
🍑 ass 0.13.0 🍑
|
2 years ago |
tycrek
|
a1b4f3433e
|
🛠 build: Update packages
|
2 years ago |
tycrek
|
decc7e6e6c
|
📜 docs: Added GPS data removal feature to README
|
2 years ago |
tycrek
|
363177da55
|
🗺 feat: Stripe EXIF GPS data from files during upload
|
2 years ago |
tycrek
|
b06eceda26
|
fix: Usage of the `any` type
Resolves Deepsource JS-0323
|
2 years ago |
tycrek
|
f1f8468651
|
fix: Added Javadoc to `removeGPS`
Resolves Deepsource JS-D1001
|
2 years ago |
tycrek
|
f36acef1cc
|
feat: Strip EXIF GPS data from files during upload
Supported filetypes are: JPG, PNG, TIF, MOV, MP4. Using [@xoi/gps-metadata-remover](https://www.npmjs.com/package/@xoi/gps-metadata-remover).
Closes #91
|
2 years ago |
tycrek
|
9a0b4078a8
|
fix: TS linter was complaining
|
2 years ago |
tycrek
|
a36f944eba
|
fix: Replace `fs.createReadStream` with `res.sendFile`
Some [local installs (non-docker)](https://canary.discord.com/channels/848274994375294986/848313252009869312/1027077979580416050) may have issues with the filesystem calls used by `fs.createReadStream`. Discord user `Ryan#7385` showed that this fixed *something* (though not what we were actually troubleshooting)
|
2 years ago |