Commit Graph

859 Commits

Author SHA1 Message Date
tycrek 182d674a7e
feat: add a CLI key for scripts to auth with API 2022-12-25 10:38:52 -07:00
tycrek eb5578ef9e
chore: minor cleanup before release 2022-12-25 09:47:04 -07:00
tycrek a80d15fb06
fix: fixed theme options not matching
Merge branch 'asabove-master' into 0.14.0/stage
2022-12-25 09:23:02 -07:00
Facinorous 4593cb01e2
Merge pull request #1 from tycrek/facinorous/theme
Fixed some missing things to approve PR in ass repo
2022-12-25 04:19:32 -05:00
tycrek 084b5fba3a
fix: run this sequentially to avoid crashing on low-spec servers, maybe 2022-12-24 22:30:12 -07:00
tycrek 93dc91a761
fix: tested password reset in prod, not working for some reason 2022-12-24 21:50:59 -07:00
tycrek 63a06d004d
docs: update notes on what is not added yet 2022-12-24 21:28:32 -07:00
tycrek 7b6e2b12e1
feat: create default users 2022-12-24 21:28:15 -07:00
tycrek 76fdaaf856
feat: add creating users via API
Merge branch '0.14.0/create-new-user-via-api' into 0.14.0/stage
2022-12-24 21:12:23 -07:00
tycrek 371e5fc5fa
feat: remove adding users via CLI temporarily 2022-12-24 21:10:48 -07:00
tycrek f441844ced
docs: detail adding new users via API 2022-12-24 21:08:03 -07:00
tycrek 4663ce40c9
feat: add creating users via API 2022-12-24 21:05:32 -07:00
tycrek faaaa8d572
fix: this shouldn't be an entire `User`, that makes no sense 2022-12-24 21:04:50 -07:00
tycrek d7b57e5e95
feat: added server side embed configs
Merge branch '0.14.0/server-side-embed-config' into 0.14.0/stage
2022-12-24 20:43:22 -07:00
tycrek 7370303b7a
docs: explain how to use server-side embeds 2022-12-24 20:40:47 -07:00
tycrek 717b788e83
feat: added server-side embed configuration (closes #173) 2022-12-24 20:40:33 -07:00
tycrek e72892fd86
feat: allow using generated ID in web viewer in place of filename
ZWS will still show original filename, otherwise title would be blank

Merge branch '0.14.0/generated-id-in-viewer' into 0.14.0/stage
2022-12-24 20:12:56 -07:00
tycrek 6dc539c7d5
fix: show original if user overrode with zws 2022-12-24 20:08:36 -07:00
tycrek fe79d84662
feat: allow using the generated ID in the web viewer (closes #181) 2022-12-24 20:02:46 -07:00
tycrek dcd93b6fc3
fix: fixed stretched images on web viewer
Merge branch '0.14.0/fix-web-viewer-stretching' into 0.14.0/stage
2022-12-24 19:33:58 -07:00
tycrek 73631d01b4
fix: image was full-width on web but stretched (closes # #178)
Thanks to @davidnjoy for alerting of this
2022-12-24 19:30:15 -07:00
tycrek 77870d1228
style: make `txtSecondary` darker 2022-12-24 19:12:25 -07:00
tycrek 093f84b6fb
fix: added missing link variable to Tailwind theme 2022-12-24 19:12:14 -07:00
tycrek 50b71d878d
feat: switch to new Webhook library; show ass version in Webhook author
Merge branch '0.14.0/hookr' into 0.14.0/stage
2022-12-24 18:59:35 -07:00
tycrek 20db648bc1
feat: display ass version in Webhook author 2022-12-24 18:55:00 -07:00
tycrek 338f6a73e1
feat: switch to `@tycrek/discord-hookr` for webhooks 2022-12-24 18:54:35 -07:00
tycrek 578d33163c
build: add `dev-win` script for skipping NODE_OPTIONS on Windows 2022-12-24 17:21:01 -07:00
tycrek 9b0c726b22
feat: add better authentication and basic user API
Merge branch '0.14.0/better-auth' into 0.14.0/stage
2022-12-24 17:20:27 -07:00
tycrek 45f77001a0
docs: small note 2022-12-24 16:55:27 -07:00
tycrek ad3b7435b6
docs: add API to README 2022-12-24 16:55:20 -07:00
tycrek 0af13589ff
docs: add new user system to README 2022-12-24 16:55:03 -07:00
tycrek 16ba3ca438
feat: allow password resets over the API 2022-12-24 16:54:46 -07:00
tycrek cb1d75ff1d
feat: added user API routes 2022-12-24 16:53:39 -07:00
tycrek 55401441fa
fix: remove duplicate function 2022-12-24 16:52:47 -07:00
tycrek 118039f849
fix: user names that make sense 2022-12-24 16:52:29 -07:00
tycrek ac8c861bb1
feat: add middleware function for verifying admin users 2022-12-24 16:51:37 -07:00
tycrek 6c9b8166e9
feat: use functions instead because why not 2022-12-07 16:05:18 -07:00
tycrek fd06e92191
fix: API auth middleware for new auth system 2022-12-07 16:03:26 -07:00
tycrek 0b5b7d7038
chore: hide backup files 2022-12-07 15:59:27 -07:00
tycrek 87c8e64698
fix: remove this method for duplicating the list (ironically correctly) 2022-12-07 15:59:26 -07:00
tycrek a774ab311b
feat: try to reset user array at start of onStart*
I don't think it works
2022-12-07 15:59:26 -07:00
tycrek 4c4009207f
feat: migrate datafile (token => uploader unid) 2022-12-07 15:59:26 -07:00
tycrek 6cc0cb3ffa
feat: use vars for filenames instead of direct strings 2022-12-07 15:59:26 -07:00
tycrek 76dc68405a
feat: deprecate `token` in FileData, switch to `uploader` 2022-12-07 15:59:26 -07:00
tycrek 619a30d685
fix: auth file written before bcrypt Promise resolved 2022-12-07 15:59:26 -07:00
tycrek 1887409eeb
fix: put salt rounds in a constant 2022-12-07 15:59:25 -07:00
tycrek 2dad6f13ce
feat: `createNewUser` now accepts a password and handles hashing 2022-12-07 15:59:25 -07:00
tycrek dc2f3937b2
feat: added CLI scripts for setting & testing hashed passwords 2022-12-07 15:59:25 -07:00
tycrek 6338628739
build: forgot to commit packages for bcrypt 2022-12-07 15:59:25 -07:00
tycrek 6cfd353a54
feat: added export for setting passwords 2022-12-07 15:59:24 -07:00