Gioacchino Mazzurco
9c38eed648
Implement deep indexing and search for forums
...
RsGxsNetTunnelService::receiveSearchRequest handle no results case
properly
RsNxsObserver::handleDistantSearchRequest improve method behaviour
documentation
RsTurtleClientService Improve documentation
2021-10-28 09:53:48 +02:00
Gioacchino Mazzurco
e850e00a82
Optimization, cleanup, compiler warning fix
...
Chores I have made while working on single file share
2021-07-19 16:40:13 +02:00
jolavillette
bdccef5ef9
increase TR and SR validity to 20 seconds
2021-02-06 20:57:04 +01:00
jolavillette
81e444a164
remove debug messages
2021-02-06 08:13:01 +01:00
jolavillette
02232b389e
Optimization of TR and SR lifespan
2021-02-05 09:53:14 +01:00
csoler
aad27ff94b
renamed "count" to "size" in DirDetails
2020-12-13 20:03:21 +01:00
jolavillette
e8691e9b0f
Priority optimization and fixes
2020-11-26 20:29:51 +01:00
csoler
4b568f3068
fixed the same error in turtle generic search result
2020-04-26 15:34:28 +02:00
csoler
86897b60de
fixed uninitialized memory causing a crash in turtle items
2020-04-26 14:19:02 +02:00
csoler
dc2f2f5eb4
fixed ambiguous variable
2019-12-29 13:49:56 +01:00
Gioacchino Mazzurco
3a26ccf6a5
Implement deep indexing for files through Xapian
...
ATM it support extracting metadata only from OGG files.
The system has been designed to be easly extensible to more file formats
registering more indexer functions which just need to extract metadata
from a certain type of file and feed it to Xapian.
The system has been integrated into existent file search system to
through generric search requests and results, it keep a good level of
retro-compatibility due to some tricks.
The indexing system is released under AGPLv3 so when libretroshare is compiled
with deep search enabled AGPLv3 must be honored instead of LGPLv3-or-later.
Cleaned up the debian copyright file using non-deprecated license
code-names.
2019-10-26 15:57:38 +02:00
G10h4ck
9102a698e4
Merge branch 'master' into Fix_ClangWarnings
2019-04-23 12:45:33 +02:00
csoler
3f75bff48b
first branch of faster turtle track for distant chat
2019-04-11 23:57:18 +02:00
Phenom
b46e07191f
Fix clang warning for
...
In file included from ../../../trunk/libretroshare/src/turtle/
p3turtle.cc:30:
In file included from ../../../trunk/libretroshare/src/rsserver/p3face.h:
38:
In file included from ../../../trunk/libretroshare/src/chat/
p3chatservice.h:30:
In file included from ../../../trunk/libretroshare/src/rsitems/
rsmsgitems.h:34:
In file included from ../../../trunk/libretroshare/src/grouter/
grouteritems.h:32:
In file included from ../../../trunk/libretroshare/src/grouter/
groutermatrix.h:29:
In file included from ../../../trunk/libretroshare/src/grouter/
groutertypes.h:28:
../../../trunk/libretroshare/src/turtle/p3turtle.h:447:8: warning:
private field '_force_digg_new_tunnels' is not used [-Wunused-private-
field]
bool _force_digg_new_tunnels ;
^
2019-04-04 21:06:01 +02:00
csoler
ef2e40c012
removed additional debug info
2019-01-29 13:37:47 +01:00
csoler
6d09493725
fixed overloading names for functions that are not supposed to be overloading in turtleClientService and ftServer
2018-11-14 20:20:27 +01:00
csoler
3c6dd1af1c
removed unnecessary saving of config in p3turtle
2018-10-28 17:45:21 +01:00
csoler
74022a5e10
fixed bug in recent commit that broke turtle generic search
2018-10-13 22:59:26 +02:00
csoler
9c90b32def
fixed dangerous memcpy in RsTurtleGenericSearchResultItem::clone() function
2018-10-12 22:19:07 +02:00
Gioacchino Mazzurco
329050a9c2
Use safer rstime_t instead of time_t
...
Avoid problems to serialization on different platforms, without breaking
nested STL containers serialization.
The conversion have been made with sed, and checked with grep, plus
kdiff3 visual ispection, plus rutime tests, so it should be fine.
2018-10-07 13:07:06 +02:00
csoler
c9b30f5a72
fixed merged with upstream/master
2018-08-28 23:42:24 +02:00
csoler
c294971633
Merge pull request #1289 from G10h4ck/jsonapi
...
Implement automatic JSON API generation
2018-08-28 19:11:08 +02:00
csoler
5f18d26738
removed unused member depth from search results to avoid confusion while ensureing backward compatibility is kept
2018-08-27 23:36:21 +02:00
csoler
c14d898901
added some debug info to file control system and fixes a problem with sending TS
2018-08-25 18:44:29 +02:00
Gioacchino Mazzurco
c50405c070
Expose /rsFiles/turtleSearchRequest via JSON API
...
Expose new async C++ API RsFiles::turtleSearchRequest with callback
Modernize TurtleFileInfo serialization code keeping retrocompatibility
2018-08-25 17:58:04 +02:00
Gioacchino Mazzurco
31f0a42b86
Merge branch 'csoler/v0.6-FT' into jsonapi
...
Needed to exopse JSON API for file search
2018-08-25 16:14:42 +02:00
csoler
8eebe53d75
moved UI notification for turtle FT search results into ftServer, in order to allow easier libresAPI calls
2018-08-24 16:12:05 +02:00
Gioacchino Mazzurco
3b72f912e4
Improve API
...
Manually expose /rsFiles/getFileData to stream/preview files
Automatically expose a bunch of methods via JSON API
Implement serial_process for std::pair
2018-08-23 01:39:26 +02:00
csoler
3055897425
added filter in p3turtle against banned hashes in tunnel requests and search results
2018-08-22 21:57:56 +02:00
csoler
82c9084ca4
Merge pull request #1303 from csoler/v0.6-GXS-DistSync3-TurtleSearch
...
fixed deadlock due to turtle calling addVirtualPeer for client servic…
2018-07-22 00:22:51 +02:00
csoler
2ab12a2ef5
fixed deadlock due to turtle calling addVirtualPeer for client services inside a mutex protected zone (breaks mutex order service > turtle)
2018-07-22 00:21:45 +02:00
csoler
2bab688dec
fixed merge with upstream/master
2018-07-19 23:22:24 +02:00
csoler
98f8e4da0a
added per-item type limit for turtle search results
2018-07-05 17:40:06 +02:00
csoler
0cc87c9880
fixed bug causing search data result to not be forwarded correctly (missing request id)
2018-07-05 12:20:22 +02:00
csoler
0e37de3e11
made retrieval of group data manual instead of automatic
2018-07-05 11:43:55 +02:00
csoler
db06c32e80
turned turtle encryption routine into a generic authenticated encryption method in librs::crypto
2018-06-28 10:01:57 +02:00
csoler
5b9666855d
fixed merge with upstream
2018-06-22 23:38:31 +02:00
csoler
c67084b7de
fixed mutex problem in turtle-GXS search
2018-06-17 21:23:16 +02:00
csoler
84194b6234
sereral fixes to GXS distant search
2018-06-16 22:39:35 +02:00
csoler
6fb459ce64
added logic for GXS search in RsGxsNetTunnel and Gxs client net service
2018-06-10 22:34:17 +02:00
csoler
7caf06b57d
added structures for generic turtle search and access functions in Gxs objects
2018-06-06 23:15:29 +02:00
csoler
b5c1b8210b
added classes for both group data and group summary results in turtle search
2018-06-02 18:12:27 +02:00
csoler
90d7f55c40
finished implementing GXS search items
2018-05-31 15:41:54 +02:00
csoler
6cf2090149
relicensed tcponudp, turtle, unused, upnp, and part of util/
2018-05-30 21:19:13 +02:00
csoler
e7182013bf
added items for generic search result items for GXS
2018-05-05 18:41:41 +02:00
Gioacchino Mazzurco
f3ae61b462
Merge branch 'json_experiments'
2018-04-27 18:17:09 +02:00
csoler
2255bda007
improved documentation of TurtleClientService class with doxygen type
2018-03-24 16:41:51 +01:00
csoler
58aa2413b3
finished moving tunnel encryption into turtle
2018-03-23 22:46:04 +01:00
csoler
00a6bd5b73
started to move FT encryption into p3turtle
2018-03-22 14:41:50 +01:00
csoler
6fe14136ae
added limiter in number of responses forwarded back by turtle search, which should avoid bursts of bandwidth for popular requests
2018-02-17 23:37:25 +01:00