Commit Graph

319 Commits

Author SHA1 Message Date
Abhishek Shroff 4a40fffc20 [server][core] move db and storage into core 2024-10-19 18:33:55 +05:30
Abhishek Shroff 2c1b907966 [server][core] move argon2 functions into app package 2024-10-19 17:22:35 +05:30
Abhishek Shroff bdf35c59d8 [server][api][webdav] Restructure packages 2024-10-19 17:21:15 +05:30
Abhishek Shroff 094941c0a8 [server][core] restructure and break up into app, fs, errors sub-packages 2024-10-19 17:02:53 +05:30
Abhishek Shroff ea5f7c84da [server][api] reorganize files and packages 2024-10-19 13:34:36 +05:30
Abhishek Shroff 0c8549f5bf [server][core] Rename New => NewError 2024-10-19 13:21:17 +05:30
Abhishek Shroff 774a64f779 [server][core] use copyfrom to bulk-insert rows 2024-10-19 13:07:31 +05:30
Abhishek Shroff 056b966e5e [client] Show resource type image based on content-type rather than extension 2024-10-19 00:55:43 +05:30
Abhishek Shroff 2dc799d0a3 [server][core] fix content copying (close streams) 2024-10-19 00:52:38 +05:30
Abhishek Shroff 70ef0c1ad0 [server][api] cp end-point 2024-10-19 00:38:12 +05:30
Abhishek Shroff 890b172008 [server][core] copy contents 2024-10-19 00:35:43 +05:30
Abhishek Shroff d41b71bf09 [server][webdav] simplify webdav adapter 2024-10-19 00:11:04 +05:30
Abhishek Shroff a9ae9ecc02 [server][core] CreateResourceByPath 2024-10-19 00:00:15 +05:30
Abhishek Shroff 21cbb00b90 [server][webdav] don't pass around context unnecessarily 2024-10-18 23:43:36 +05:30
Abhishek Shroff 94b2b89e45 [server][webdav] bring FileSystem implementation closer to core.FileSystem 2024-10-18 23:37:32 +05:30
Abhishek Shroff 815fceb0eb [client] Update move action parameters 2024-10-18 23:29:40 +05:30
Abhishek Shroff 9b8184c3e1 [server][webdav] Remove redundant constants and functionality from net/http 2024-10-18 23:29:16 +05:30
Abhishek Shroff f4f7cfa3a7 [server][core] move Error into core 2024-10-18 22:42:19 +05:30
Abhishek Shroff ef4ec14d10 [server][webdav] separate out move and copy into a separate file 2024-10-18 22:22:12 +05:30
Abhishek Shroff a5d70cfedd [server][webdav] use core.FileSystem.Copy instead of doing it from scratch 2024-10-18 21:48:27 +05:30
Abhishek Shroff 34cc0a96ba [server][core] centralize resource path/uuid and move/copy target parsing 2024-10-18 21:42:44 +05:30
Abhishek Shroff 0a292895fb [server][core] Populate empty resource content type and sha256 2024-10-18 02:36:07 +05:30
Abhishek Shroff 987235967d [server][cmd] improve cp 2024-10-18 02:26:53 +05:30
Abhishek Shroff 0e14f793ca [server][core] remove user permission entry if set to 0 2024-10-18 01:48:11 +05:30
Abhishek Shroff 7665ab16bf [server][cmd] improve chperm 2024-10-18 01:42:29 +05:30
Abhishek Shroff 7313ac3b10 [server][cmd] print to stdout instead of logging 2024-10-18 01:32:29 +05:30
Abhishek Shroff 6847914ca9 [server][cmd] improve ls output 2024-10-18 01:10:08 +05:30
Abhishek Shroff 33b45ba21d [server][cmd] Print fs cmd outputs straight to stdout 2024-10-18 00:35:18 +05:30
Abhishek Shroff 9502789219 [server][cmd] Move app/resource => fs 2024-10-17 23:52:35 +05:30
Abhishek Shroff 8096520e62 [server][cmd] clean up debug flag 2024-10-17 22:54:06 +05:30
Abhishek Shroff 7e00039ab3 [server][cmd] Do not pass aroud db handler 2024-10-17 17:19:29 +05:30
Abhishek Shroff dc9b2b90d7 [server][cmd] fix default storage directory 2024-10-17 11:19:39 +05:30
Abhishek Shroff 3720a1c1c7 [server][cmd] Clean up app cmd structure 2024-10-17 11:05:44 +05:30
Abhishek Shroff 3226c14b54 [server][core] fix move operation 2024-10-16 22:08:52 +05:30
Abhishek Shroff 74a3edc725 [client] Update api end-points 2024-10-16 22:08:23 +05:30
Abhishek Shroff 61d4343241 [server][api] split out fs functions 2024-10-16 21:59:42 +05:30
Abhishek Shroff 1d8ec3f37a [server][api] rename details => ls, remove ls, metadata 2024-10-16 21:41:55 +05:30
Abhishek Shroff 35b899bd1b [server][cmd] improve ls output 2024-10-16 18:48:03 +05:30
Abhishek Shroff f12b3e9f49 [server] Copy file structure (no content) 2024-10-16 18:24:20 +05:30
Abhishek Shroff ce0c1f3687 [server] WIP: copy (untested) 2024-10-16 17:17:18 +05:30
Abhishek Shroff b02a6d0084 [server] move overwrite 2024-10-16 00:36:55 +05:30
Abhishek Shroff 79892d0912 [server][webdav] Stop relying on os.ErrXXX 2024-10-15 23:45:30 +05:30
Abhishek Shroff f6029fd6ad [server][webdav] use errors.Is instead os.IsNotExist 2024-10-15 23:01:13 +05:30
Abhishek Shroff a8e604265d [server] webdav creation date 2024-10-15 22:39:34 +05:30
Abhishek Shroff 3b3afffda5 [server] add creation data and fix deletion date 2024-10-15 21:44:08 +05:30
Abhishek Shroff 4d4204727d [client] rename json and model fields 2024-10-15 21:26:49 +05:30
Abhishek Shroff cae585be0a [server] Add mime type detection 2024-10-15 21:23:54 +05:30
Abhishek Shroff 1e9ce228f4 [server] deduplicate file content hashing 2024-10-15 20:13:45 +05:30
Abhishek Shroff cd3e6a9485 [server] store content type with resources 2024-10-15 19:37:31 +05:30
Abhishek Shroff 0982546acc [server] Streamline errors 2024-10-15 19:17:24 +05:30