Commit Graph

11 Commits

Author SHA1 Message Date
d06a49eb28 huge changes that need more doucmenting 2023-05-30 18:42:33 +01:00
201a5441bb added changes for progress bar with more logs and bug fixes, Documentation yet to be added 2023-05-05 18:31:08 +01:00
c60b75bd3b added upload status 2023-04-16 11:43:46 +01:00
Akilan Selvacoumar
9775525d35 gofmt peernet (#103) 2023-02-12 09:59:31 +00:00
Akilan Selvacoumar
3537d04c4d Exposed certain variables in the struct public for the Test framework. (#101)
* Exposed peer seed as a public struct

* Made certain variables public in the struct WebAPIInstance
2023-02-11 21:57:41 +00:00
Kleissner
6a5312d834 New config field LogTarget. Simplified function backend.LogError. 2022-01-12 22:18:34 +01:00
Kleissner
f2c344dc96 Major refactoring of the code base into Backend structure. Increase version number to Alpha 6 to prepare for the upcoming release. 2021-12-29 05:29:34 +01:00
Kleissner
793e586234 webapi: Set merkle fields of file records when adding files to the blockchain. 2021-11-28 22:03:08 +01:00
Kleissner
d64f8b19fb webapi: New function /warehouse/read/path to read a file from warehouse to disk 2021-11-26 08:53:42 +01:00
Kleissner
b5266b1c52 File Transfer: Add header to file transfer to indicate file size and transfer size. This is important to know when to stop reading. It will also help when reading only ranges (which is important for video streaming).
New function FileTransferReadHeaderUDT to read the header.
Warehouse: ReadFile return count bytes read
2021-10-25 03:34:28 +02:00
Kleissner
cec070b740 Introducing Warehouse - the store for files shared by the user.
New endpoints:
/warehouse/create               Create a file in the warehouse
/warehouse/create/path          Create a file in the warehouse via copy
/warehouse/read                 Read a file in the warehouse
/warehouse/delete               Delete a file in the warehouse
2021-10-13 01:40:58 +02:00