Commit Graph
69 Commits
Author SHA1 Message Date
mbaharip 3ad12a3ebd Add prettier sort imports 2023-05-25 20:38:48 +07:00
mbaharip c94eb33b4b Update components path 2023-05-25 20:38:29 +07:00
mbaharip d176769a16 Endpoint for generating opengraph since can't put opengraph-image into catch-all routes 2023-05-25 20:37:56 +07:00
mbaharip ea2bbbc28b Endpoint for downloading file 2023-05-25 20:37:18 +07:00
mbaharip acf85ea951 Add validation for root folder 2023-05-25 20:36:22 +07:00
mbaharip 6ccbbe2ff9 Add validation if private index is true 2023-05-25 20:36:08 +07:00
mbaharip a7fc67b755 Add readme content 2023-05-25 20:35:35 +07:00
mbaharip 4faee01965 Add missing thumbnail searchParams, also logic to return default og if file doesn't contain thumbnail 2023-05-25 20:35:18 +07:00
mbaharip e5dd25205e Add function to comparing stored password and actual password 2023-05-25 20:34:18 +07:00
mbaharip d50cb8056c Add path validation and rendering logic 2023-05-25 20:33:54 +07:00
mbaharip b04e266592 Add logic to render readme 2023-05-25 20:33:32 +07:00
mbaharip fc39870999 Opengraph image for root page 2023-05-25 20:33:13 +07:00
mbaharip a685f7a9ff Error page when can't find file / folder 2023-05-25 20:32:59 +07:00
mbaharip 6d175b7822 Add readmeContent so the client only need to fetch 1 endpoint 2023-05-25 20:32:40 +07:00
mbaharip 9734f800a1 Error page using Extended Error that contains category, reason, and error code. 2023-05-25 20:32:10 +07:00
mbaharip 11f866400f Add cookie and type enums. 2023-05-25 20:31:29 +07:00
mbaharip 2a20b392ac Render readme in markdown 2023-05-25 20:30:40 +07:00
mbaharip f38ceda8a1 Password input for protected folder 2023-05-25 20:30:24 +07:00
mbaharip f74b77cc1a Add clear password function 2023-05-25 20:30:00 +07:00
mbaharip b26b12c7b2 Move file type into Enums, Change download URL. 2023-05-25 20:29:39 +07:00
mbaharip 2fd7680bbc Sort import 2023-05-25 20:28:53 +07:00
mbaharip 15bc5d96a7 Sort import 2023-05-25 20:27:47 +07:00
mbaharip e00b5a2681 Sort import 2023-05-25 20:24:40 +07:00
mbaharip 925f0fcfa2 Add error handle - extending error 2023-05-25 20:23:53 +07:00
mbaharip ff794a7601 Add sort imports 2023-05-25 20:22:55 +07:00
mbaharip 423931c865 Add disable limit for maxFileSize 2023-05-23 03:29:13 +07:00
mbaharip 5931aea37a Update file layout and removing old files 2023-05-23 03:22:37 +07:00
mbaharip c0d7ec3517 Rewrite validate path and re-organizing utils and type 2023-05-20 23:39:43 +07:00
mbaharip a234559321 Start migration, and re-organizing files. 2023-05-20 21:31:24 +07:00
mbaharip c823f7f730 Revert 2023-05-09 14:34:21 +07:00
mbaharip 4963ac1bb1 Try to improve largest content 2023-05-09 14:26:41 +07:00
mbaharip 60fb57f54f Move secret and refresh token to .env 2023-05-09 03:05:03 +07:00
mbaharip e1a0a42112 Add pretty path to access media (image / video / audio) 2023-05-08 16:34:09 +07:00
mbaharip 44aa1870fa Update readme and todo 2023-05-08 16:33:51 +07:00
mbaharip 99cf117c94 Fix thumbnail on search doesn't show up 2023-05-08 11:51:21 +07:00
mbaharip 0bfcf77f38 Fix list view copy and download, and Make SWRLayout not inside a card on file preview 2023-05-08 11:31:47 +07:00
mbaharip d8ceb0bb79 Update next seo 2023-05-08 11:04:37 +07:00
mbaharip 3339106d35 Fix opengraph image 2023-05-08 10:59:05 +07:00
mbaharip 4de8061a3f Disable site password 2023-05-08 10:58:56 +07:00
mbaharip dbd8ef4def Fix duration on file details 2023-05-08 10:24:55 +07:00
mbaharip 03f56d4402 Remove unused folder 2023-05-08 10:13:48 +07:00
mbaharip 153047de55 Finalize basic function 2023-05-08 10:07:03 +07:00
mbaharip 714f1d1a92 Remove useTransition 2023-05-07 18:35:34 +07:00
mbaharip d1e1e7e104 Change site password using sha256 hash 2023-05-07 17:58:21 +07:00
mbaharip 89a73e7bc9 Redo List and Grid layout, Implement private index. 2023-05-07 17:32:49 +07:00
mbaharip 249ecc6b6a feat: Opengraph images using @vercel/og 2023-05-05 08:55:12 +07:00
Arief Rachmawan dda0ef5549 Add download function for files api route 2023-05-04 22:42:20 +07:00
mbaharip bfd6b5dbb7 Update tsconfig path 2023-05-04 16:07:43 +07:00
Arief Rachmawan b50b53aa54 Working on temporary fix 2023-04-30 02:18:25 +07:00
mbaharip 4250bceffa Latest status 2023-04-29 23:17:09 +07:00