22 Commits

Author SHA1 Message Date
187621a29e current changes with fixing to detecting offline peers 2023-06-30 01:09:42 +01:00
Akilan Selvacoumar
ae5f1d2fd7 New features (#110)
* added upload status

* added changes for progress bar with more logs and bug fixes, Documentation yet to be added

* huge changes that need more doucmenting

* added possibility to get profile using NodeID

* added fix profile listing user profile information

* removed profile image from the explore reult struct

* saving current changes

* added filter to search based on NodeID

* Monday bug fixing

* updates to the profile

* changes for tracing the blockchain profile image not shown

* added condition to ensure TAG is not sent and removed debug prints

* updated webapi docs
2023-06-28 00:38:17 +01:00
712f7cee56 added base changes for the merge cirectory api 2023-03-15 00:30:44 +00:00
Akilan Selvacoumar
b34b2e2b7c Change directory route and document change (#107)
* changed route to view files added by a certain node

* gofmt my changes

* added fix for blockchain/explore to also accept localnodes as a parameter.

* added local blockchain search
2023-03-10 09:47:18 +00:00
Akilan Selvacoumar
2b2f20ca18 changed route to view files added by a certain node (#105)
* changed route to view files added by a certain node

* gofmt my changes
2023-02-27 17:24:27 +00: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
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
e78ca02af7 Housekeeping! Renaming /blockchain functions for simplicity 2021-10-13 22:26:30 +02:00
Kleissner
c2f110169a Automatically delete files from Warehouse in case there are no other references when deleting files from the blockchain via /blockchain/self/delete/file.
New function blockchain.FileExists.
blockchain.DeleteFiles now returns list of deleted files.
2021-10-13 06:00:40 +02:00
Kleissner
fbeb01e7ff Major refactoring of blockchain code into new sub-package. 2021-10-11 01:21:38 +02:00
Kleissner
2451fdafb1 New Search Job code. Supports filtering and sorting. Renaming apiBlockRecordFile -> apiFile. Added filters and sort parameters to /search/result.
Improved API documentation. Added documentation about search filters and sort parameter.
2021-10-05 10:50:04 +02:00
Kleissner
b79b0d2194 Moving File API code into separate file 2021-10-05 08:06:07 +02:00
Kleissner
d29fc960b6 Add file metadata TagSharedByCount and TagSharedByGeoIP 2021-09-29 20:20:53 +02:00
Kleissner
2c20fa950d Add node ID field to file structure 2021-09-28 19:55:30 +02:00
Kleissner
608dbf6f47 Simplified profile code. 2021-09-28 05:39:38 +02:00
Kleissner
9ef6a88512 Reworked the way metadata/tags for files work. Simplified it at lot. 2021-09-28 02:59:47 +02:00
Kleissner
df0f57063f Add endpoint /blockchain/self/delete/file to delete files. 2021-09-19 00:57:49 +02:00
Kleissner
16e9c0e67f Add TypeEbook. Clarify documentation on File Type and File Format. 2021-09-15 16:25:09 +02:00
Kleissner
95640fede3 webapi: Export EncodeJSON, DecodeJSON 2021-09-10 19:19:06 +02:00
Kleissner
3f3e6d9df1 Add date field to apiBlockRecordFile 2021-09-10 14:43:01 +02:00
Kleissner
19e29b3a91 Add webapi. Provides an HTTP API for clients to use Peernet. 2021-09-10 13:40:07 +02:00