Commit Graph

28 Commits

Author SHA1 Message Date
bf7766931f Monday bug fixing 2023-06-27 00:26:56 +01:00
fea2209083 added filter to search based on NodeID 2023-06-26 12:26:49 +01:00
9499f7ae92 removed profile image from the explore reult struct 2023-06-10 09:07:09 +01:00
a6f2282d70 added fix profile listing user profile information 2023-06-04 11:26:51 +01:00
d06a49eb28 huge changes that need more doucmenting 2023-05-30 18:42:33 +01: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
1766aa85cb made backend varaible public (#104) 2023-02-12 10:06:17 +00:00
Akilan Selvacoumar
9775525d35 gofmt peernet (#103) 2023-02-12 09:59:31 +00:00
Akilan Selvacoumar
3a1eece580 Directory (#102)
* changes to explore to take parameter id in /explore

* route /expore/node added
2023-02-12 09:47:56 +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
34be2cc964 webapi: /explore optional &offset= parameter which does not make sense to be used 2022-10-14 16:28:43 +02:00
Kleissner
0e3e8dc988 Webapi: Implement pagination for /search/result by adding optional &offset= parameter 2022-06-01 17:09:42 +02:00
Kleissner
38d411bb9a webapi: Fix bug in search job. 2021-12-29 16:57:07 +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
ade13d6422 Search results: Immediately (with results) signal if no more results will be available (search terminated). 2021-12-14 17:48:59 +01:00
Kleissner
a67c67b7f9 Fix returned status in /search/result 2021-12-14 16:08:02 +01:00
Kleissner
20a1d45520 webapi: Implement GeoIP. 2021-12-14 03:09:28 +01:00
Kleissner
ecef7b5fb8 Webapi: Live implementation of search and explore. Removed dummy code. 2021-12-13 04:07:38 +01:00
Kleissner
c7b9facc10 webapi: /search/result always return stats if requested 2021-10-21 16:18:20 +02:00
Kleissner
7495b823e4 webapi search: Implement /search/result/ws 2021-10-10 16:58:09 +02:00
Kleissner
7891bdbeac webapi search: Provide option to embed statistics into /search/result response 2021-10-10 16:07:44 +02:00
Kleissner
4ef002ab57 webapi: Add /search/statistic 2021-10-10 15:32:29 +02:00
Kleissner
7c3fc8938f webapi search: Add min/max file size as filter. 2021-10-10 03:03:35 +02:00
Kleissner
5707132687 webapi: Search: Add support for additional sorting parameters (Size ASC/DESC, Shared by count ASC/DESC). 2021-10-10 02:20:36 +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
3fbb1a824b Add special type -2 to /explore. 2021-09-25 13:09:40 +02:00
Kleissner
7e402de278 webapi: New endpoint /explore to list recently shared files, currently dummy data 2021-09-23 23:53:44 +02:00
Kleissner
58b4603744 Initial search API with dummy results 2021-09-23 02:32:07 +02:00