Commit graph

311 commits

Author SHA1 Message Date
May 7d18a60589 OOPS 2023-12-23 08:01:03 -08:00
May 37216c8166 todo another rework of readfilestream yay 2023-12-22 22:03:01 -08:00
May c5040e1b79
hwo tf am i gonna add backpressure to this i just realized 2023-12-15 19:08:42 +00:00
May 5fd6073503
ok i'll need to figure more out later 2023-12-15 17:34:32 +00:00
May 3de215ee35 Working on it... 2023-12-11 16:15:05 -08:00
May 79ecb5e408
whatever i'm making rin is terrible 2023-12-11 19:53:11 +00:00
May c57f4ed692
start work on writeFileStream 2023-12-06 20:57:31 +00:00
May b8d46bb193
KILL DISCORD.JS JS 🚀🎉 2023-12-06 19:40:42 +00:00
May a5964f5ac8
drop .getFilePointer() 2023-12-06 19:21:52 +00:00
May 1fabc2ff82
clean up file updates 2023-12-05 21:10:23 +00:00
May c14ddf8397
work a bit on DiscordAPI 2023-11-30 19:33:54 +00:00
May 412a117e15
node-fetch conversion 2023-11-30 19:20:54 +00:00
May 7654801e41
MAN FUCK YO PICKLES honk mimimimimimi honk mimimim 2023-11-19 03:16:43 +00:00
May edc3e2c719
i don't even know 2023-11-17 21:00:09 +00:00
May f3e9f58ea4
i think that this should work well enough 2023-11-17 20:52:01 +00:00
May 460df7164a
i have no idea if this works or not
@Jack5079 can you please make file get work with honofile
2023-11-06 01:10:39 +00:00
May dddfd9dbcb
remove rant lmfao 2023-11-06 00:45:26 +00:00
May 3a5327aeb4 Port deletions 2023-11-02 18:16:42 +00:00
May 739f5b4e3f port readFileStream 2023-11-02 17:35:02 +00:00
May 107709a98a Move client to files.ts 2023-11-02 17:30:00 +00:00
May 2e29d40a1b idk
Co-authored-by: Jack W. <Jack5079@users.noreply.github.com>
2023-10-29 20:48:23 +00:00
May f2deea4bc2 ok time to work on client 2023-10-29 15:26:51 +00:00
May 94ea40a8ff this code is horrible and i know it lmao 2023-10-29 07:08:05 +00:00
May 4882a8b352 g
Co-authored-by: Jack W. <Jack5079@users.noreply.github.com>
2023-10-29 01:40:03 +00:00
May a761e3f470 i'm gonna be honest i dont even know anymore 2023-10-28 17:52:38 +00:00
May a096a3352e
idk lol 2023-10-27 10:11:48 -07:00
May 16db5c3196 mihari.oyama.pictures/Tired 2023-10-27 08:31:01 +00:00
May 70cad2d753 Working on it.. 2023-10-26 19:00:49 +00:00
Jack W. 0366c91f74
refactor: ♻️ Honofile. 2023-10-24 19:59:00 -04:00
Jack W. 6220cd8b0f
refactor: ♻️ Use Vite instead of Rollup
Soon: Hono instead of Express
2023-10-24 17:18:36 -04:00
Jack W. b71963a491
refactor: 🚚 Move preview to new file 2023-10-24 16:50:14 -04:00
Jack W. b135dc79ea
refactor: ♻️ Use .replaceAll instead of /g 2023-10-24 16:33:15 -04:00
Jack W. 365aace294
refactor: ♻️ Use real async in file.ts, change FileUploadSettings to match FilePointer properties 2023-10-24 16:27:08 -04:00
May 2510f31a58
woops 2023-10-14 15:53:06 -07:00
Jack W. 196b661b52
fix: 🐛 add default for notificationPermission
Fixes #37
2023-10-14 17:58:59 -04:00
May a84400c903 firefox has my css cached so i hope this looks good! 2023-10-14 20:22:55 +00:00
May ead3b59917 i hope this looks better 2023-10-14 20:12:10 +00:00
Jack W. e617a9464e
refactor: ⚰️ Remove unimplemented Delete action 2023-10-14 15:27:49 -04:00
Jack W. 667acf54f2
feat: Notifications
button isn't as polished as i'd like
2023-10-13 22:18:15 -04:00
Jack W. 2f043d5eb9
refactor: 👥 Welcome to Etcetera, monofile! 2023-10-13 20:21:54 -04:00
May 0405f89542
weed smoker charlie 2023-10-11 12:57:35 -07:00
May 693f453833 Merge branch 'main' of https://github.com/nbitzz/monofile 2023-10-10 21:12:13 -07:00
May dca41242e1 fix brighter pulldowns lol oops 2023-10-10 21:11:30 -07:00
unlinkability dbe927f367
Remove Boolean from checks
Co-authored-by: Jack W. <29169102+Jack5079@users.noreply.github.com>
2023-10-09 16:45:47 +01:00
unlinkability 3dec4d401e
Remove Boolean from checks
Co-authored-by: Jack W. <29169102+Jack5079@users.noreply.github.com>
2023-10-09 16:45:30 +01:00
May 0bf53801ed brighter pulldowns 2023-10-08 23:20:21 -07:00
linkability e5b8b83e6b
admin delete user endpoint api-v1 2023-10-06 22:55:00 +01:00
linkability 44133630a7
fix: 🐛 body is not sent in delete requests requiring a parameter
Switches from using req.body to using req.params to know whether or not to delete their files
2023-10-06 22:43:58 +01:00
linkability d87583392e
http method changes and use ServeError 2023-10-06 22:35:09 +01:00
linkability a1b6917831
add admin password and elevate route 2023-10-06 22:34:40 +01:00
linkability 03fa036e38
change nickname added to apiv1 2023-10-05 23:31:52 +01:00
linkability e574438ea8
files is not mounted to accounts 2023-10-05 20:51:12 +01:00
linkability 48e00b1b54
Merge branch 'api-v1' of https://github.com/nbitzz/monofile into api-v1 2023-10-05 20:08:42 +01:00
linkability 01bb4684a3
delete your own account endpoint 2023-10-05 20:08:39 +01:00
May 9e83d751bd api-v1: Charlie is on meth 2023-10-04 19:02:11 -07:00
linkability c51d8dab95
accidentally left comment in from old api 2023-10-05 02:26:23 +01:00
linkability 6b8d050fa5
account api half done 2023-10-05 02:25:04 +01:00
linkability 03c638b951
assertAPI instead of noAPIAccessIf 2023-10-05 02:00:41 +01:00
linkability 36b59d1908
fix: 🐛 it does not import Accounts 2023-10-05 01:41:09 +01:00
linkability ceac1fc9a6
Merge branch 'api-v1' of https://github.com/nbitzz/monofile into api-v1 2023-10-05 01:38:03 +01:00
May 503f5f315f
api-v1: start work on sanitize middleware func 2023-10-04 10:41:21 -07:00
May 6e6afd274b
api-v1: fix middleware func 2023-10-04 10:21:33 -07:00
May 01fe79d050
api-v1: add new middleware function 2023-10-04 10:21:04 -07:00
linkability 087454659b
Add middleware to account api-v1 2023-10-04 16:10:42 +01:00
May ab617461fa housekeeping 2023-10-03 22:02:37 -07:00
May 9a589d3638 clear up internal libs (@Jack5079) 2023-10-03 20:16:05 -07:00
May 1ed1acca1c api-v1: apihandler 2023-10-03 20:10:08 -07:00
May 70591c78e9 api-v1: apihandler 2023-10-03 20:09:49 -07:00
linkability f4e7dfa123
api-v1: Adds initial empty files 2023-10-04 01:36:52 +01:00
May 3163ad649b
TSDoc files.ts & errors.ts 2023-10-03 13:37:37 -07:00
May 937363c9ee
TSDoc: mail.ts, middleware.ts, ratelimit.ts 2023-10-03 13:21:28 -07:00
May 9f480cbc87
btr-inline-docs: TSDoc accounts.ts 2023-10-03 11:48:57 -07:00
May 0071c17fe5 tokens: ability to set no expiration 2023-10-02 22:00:21 -07:00
May 5e15b20c10 token-permissions: bugfix 2023-10-02 21:01:53 -07:00
May 8bec8a4360 token-permissions: update adminRoutes 2023-10-02 19:20:32 -07:00
May af9c3233d8 token-permissions: update primaryApi 2023-10-02 19:20:11 -07:00
May 6742bf724f token-permissions: update fileApiRoutes 2023-10-02 19:18:29 -07:00
May 2006fa1cca token-permissions: update authRoutes 2023-10-02 19:14:00 -07:00
May fad320d7fb token-permissions: update middleware further 2023-10-02 18:27:48 -07:00
May a04cc9a376 token-permissions: update middleware 2023-10-02 18:22:18 -07:00
May b3efd8ca29 token-permissions: implement into tokens 2023-10-02 17:17:38 -07:00
May 8a4dfd361c more accepted characters in ids (doom) 2023-10-01 17:48:44 -07:00
May 8f6a5b5474 swap to crypto.randomInt over Math.random 2023-10-01 17:45:07 -07:00
May 261b81ee04 bump token length to 36bytes 2023-10-01 17:42:00 -07:00
May 11602b5556 bugfix: deindex not working for idx 0 2023-10-01 17:41:31 -07:00
May 76119811ff bearer-auth: customcss cleanup 2023-10-01 16:32:04 -07:00
May c8e486630e bearer-auth: move /download route to middleware 2023-10-01 16:28:15 -07:00
May a5d3131180 bearer-auth: make primaryApi use middleware 2023-10-01 16:27:22 -07:00
May 14d4261858 bearer-auth: make fileApiRoutes use middleware 2023-10-01 16:25:21 -07:00
May 64dd66dc03 bearer-auth: add to middleware:getAccount 2023-10-01 16:18:47 -07:00
May a4bbbf8d53
Merge pull request #10 from nbitzz/express-ssl-force
Force SSL through expressjs
2023-10-01 10:59:13 -07:00
May 3bf0e7491a force-ssl: trustproxy 2023-10-01 10:50:05 -07:00
May 1d387de3dd force-ssl: switch to req.protocol? 2023-10-01 10:40:03 -07:00
May cb17eb1433 initial: force-ssl 2023-10-01 10:31:18 -07:00
May 142bee3f7e mail-unlink: send 200 response 2023-09-30 21:47:16 -07:00
May 4def0d3fa6 mail-unlink: break in case 2023-09-30 21:45:11 -07:00
May f27f7b8921 mail-unlink: fetch acc data on unlink 2023-09-30 21:43:20 -07:00
May c687b0767d mail-unlink: fixup icons, fix setemail 2023-09-30 21:41:29 -07:00
May 4377052856 mail-unlink: use emailpotentialremove 2023-09-30 21:35:14 -07:00
May 6b59732aa1 mail-unlink: initial 2023-09-30 21:31:59 -07:00