Commit graph

383 commits

Author SHA1 Message Date
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 5a84f766cc IMPORTANT: readd British(🚫) joke 2023-10-03 20:45:49 -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
unlinkability bf2b398a1a
Merge pull request #14 from nbitzz/btr-inline-docs
Better inline documentation
2023-10-03 23:02:36 +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
unlinkability aa840e176f
Merge pull request #13 from nbitzz/token-permissions
Add permissions to tokens
2023-10-03 17:01:49 +01: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 e54f6a5b8f
Merge pull request #11 from nbitzz/bearer-auth
Implement bearer authentication
2023-10-01 17:35:53 -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 1dfd095563 begin hell 2 2023-10-01 15:59:24 -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 fb57af0362
Merge pull request #9 from nbitzz/mail-unlink-lol
Allow user to detach their email
2023-09-30 21:52:21 -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
May 7d3b1b5703 commence 1.3.4 development 2023-09-30 21:04:32 -07:00
May ed9d7b5f8b fix an error code 2023-09-02 15:29:05 -07:00
May ec42d61bf7
Merge pull request #8 from nbitzz/1.3.3 2023-08-28 22:06:16 -07:00
May 8f512d1433 fix icon 2023-08-28 22:05:52 -07:00
May 4c47d641e5 fix route name & owned files, add more s. chars 2023-08-28 22:02:18 -07:00
May 95597fd1e0 update versioning 2023-08-28 21:10:58 -07:00
May 1eced462fe hhhidk what im doing :verygood: 2023-08-28 20:40:49 -07:00