Commit graph

17 commits

Author SHA1 Message Date
Silvano Cerza
4085c2f5c5 Ugly, uncommented and messy but kinda works 2025-01-14 16:21:49 +01:00
Silvano Cerza
a7995fc9a7 Big refactoring 2025-01-12 21:52:51 +01:00
Silvano Cerza
d206d3265c Remove unnecessary throws 2025-01-12 15:26:45 +01:00
Silvano Cerza
a1b083fe84 Slightly restructure GithubClient 2025-01-12 12:31:20 +01:00
Silvano Cerza
6205a12453 Update locally saved file SHA after it's uploaded 2025-01-09 17:59:42 +01:00
Silvano Cerza
76c2b99092 Correctly handling syncing of whole vault 2025-01-09 17:41:37 +01:00
Silvano Cerza
7b2b5ed1d1 Rename downloadFile to downloadRawFile 2025-01-09 16:41:06 +01:00
Silvano Cerza
509b41fb57 Add justDownloaded field in files metadata 2025-01-09 14:35:40 +01:00
Silvano Cerza
4e5308bc07 Change GithubClient to use Vault DataAdapter to read and write files 2025-01-09 14:16:25 +01:00
Silvano Cerza
210fb0149c Fix calling response json property as function 2025-01-09 14:02:47 +01:00
Silvano Cerza
16459572a0 Remove use of path module 2025-01-09 09:42:00 +01:00
Silvano Cerza
da2a345bd7 Use Obsidian requestUrl instead of fetch 2025-01-09 09:39:10 +01:00
Silvano Cerza
3fcd4ea56a Rework uploadFile and add deleteFile to GithubClient 2025-01-08 17:53:16 +01:00
Silvano Cerza
f3418b0eeb Add method to upload single file to Github 2025-01-08 15:47:38 +01:00
Silvano Cerza
c1cac5b74f Add file metadata storage in github client 2025-01-08 15:47:23 +01:00
Silvano Cerza
1669b215e4 Fix download url 2025-01-08 15:46:26 +01:00
Silvano Cerza
468d3a17fb Add github client to fetch repo content 2025-01-05 19:20:57 +01:00