Gioacchino Mazzurco
354739fa0f
Expose JSON API for ExtraFiles management
2019-08-01 15:35:55 +02:00
Phenom
b2c5965950
Fix clang warning for
...
../../../trunk/libretroshare/src/ft/ftserver.cc:1230:23: warning: unused
variable 'ENCRYPTED_FT_INITIALIZATION_VECTOR_SIZE' [-Wunused-const-
variable]
static const uint32_t ENCRYPTED_FT_INITIALIZATION_VECTOR_SIZE = 12 ;
^
../../../trunk/libretroshare/src/ft/ftserver.cc:1231:23: warning: unused
variable 'ENCRYPTED_FT_AUTHENTICATION_TAG_SIZE' [-Wunused-const-
variable]
static const uint32_t ENCRYPTED_FT_AUTHENTICATION_TAG_SIZE = 16 ;
^
../../../trunk/libretroshare/src/ft/ftserver.cc:1232:23: warning: unused
variable 'ENCRYPTED_FT_HEADER_SIZE' [-Wunused-const-variable]
static const uint32_t ENCRYPTED_FT_HEADER_SIZE = 4 ;
^
../../../trunk/libretroshare/src/ft/ftserver.cc:1233:23: warning: unused
variable 'ENCRYPTED_FT_EDATA_SIZE' [-Wunused-const-variable]
static const uint32_t ENCRYPTED_FT_EDATA_SIZE = 4 ;
^
../../../trunk/libretroshare/src/ft/ftserver.cc:1235:23: warning: unused
variable 'ENCRYPTED_FT_FORMAT_AEAD_CHACHA20_POLY1305' [-Wunused-const-
variable]
static const uint8_t ENCRYPTED_FT_FORMAT_AEAD_CHACHA20_POLY1305 = 0x01
;
^
../../../trunk/libretroshare/src/ft/ftserver.cc:1236:23: warning: unused
variable 'ENCRYPTED_FT_FORMAT_AEAD_CHACHA20_SHA256' [-Wunused-const-
variable]
static const uint8_t ENCRYPTED_FT_FORMAT_AEAD_CHACHA20_SHA256 = 0x02
;
^
2019-04-04 21:20:25 +02: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
Gioacchino Mazzurco
fc14300b06
Re-add ftServer::requestDirDetails implementation
...
The implementation has disappeared merging master causing linking error
2018-10-10 23:43:01 +02:00
G10h4ck
047ae7f723
Merge branch 'master' into jsonapi
2018-10-10 22:23:28 +02:00
Gioacchino Mazzurco
c05c376351
Expose /rsFiles/requestDirDetails via JSON API
...
This method is useful to browse own shared directries, or directries
shared by friends whith browseable permission
2018-10-09 22:58:17 +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
7ab7c7db93
added possibility to remove extra shared file
2018-09-27 16:53:08 +02:00
csoler
1383846364
added extra list view in own files.
2018-09-27 13:42:49 +02:00
csoler
c9b30f5a72
fixed merged with upstream/master
2018-08-28 23:42:24 +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
50e03a539c
basic infrastructure for banning unwanted file content
2018-08-16 18:49:36 +02:00
csoler
0f758902cd
started cleaning the mess with rsAccounts: only exposed useful functionality of rsAccount beyond a static class and removed all references to rsAccounts in the code
2018-07-24 23:47:32 +02:00
csoler
2bab688dec
fixed merge with upstream/master
2018-07-19 23:22:24 +02:00
csoler
5b9666855d
fixed merge with upstream
2018-06-22 23:38:31 +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
b3277824eb
license fix in pqi
2018-05-28 22:03:39 +02:00
csoler
d5627d4b22
fixed license in ft, grouter, and gxs
2018-05-22 22:03:11 +02:00
Phenom
f12cd5774d
Fix Partial Dir Check
...
Add WrongValue StyleSheet property, when bad directory selected.
Update QLineEdit with current setting so it's possible to see if
something is modified. No need to restart.
2018-05-12 14:31:28 +02:00
csoler
58aa2413b3
finished moving tunnel encryption into turtle
2018-03-23 22:46:04 +01:00
Phenom
c8548b2a2d
Fix CppCheck in ftserver.cc
...
/libretroshare/src/ft/ftserver.cc:134: warning:
Cppcheck(unreadVariable): Variable 'localcachedir' is assigned a value
that is never used.
/libretroshare/src/ft/ftserver.cc:135: warning:
Cppcheck(unreadVariable): Variable 'remotecachedir' is assigned a value
that is never used.
2017-11-05 16:33:56 +01:00
csoler
2a99df4d48
added UI and parameters for two new options in shared files: max share depth and ignore duplicates
2017-09-24 17:53:06 +02:00
csoler
8189d660c4
fixed bug causing anon FT to not resume when restarting RS when the server enforces encryption
2017-09-16 22:13:15 +02:00
csoler
eff5c5d6ee
added pause to file hashing
2017-09-10 22:07:36 +02:00
csoler
884b3a6220
added infrastructure to add a ignore list in shared files
2017-09-10 19:58:57 +02:00
csoler
8d146038c2
fixed bug preventing search by hash to be called on own files
2017-09-03 22:52:31 +02:00
Phenom
80ea4de7be
Fix clang warning: unused variable 'ftserverzone'
...
/libretroshare/src/ft/ftserver.cc:34: warning: unused variable
'ftserverzone' [-Wunused-const-variable]
const int ftserverzone = 29539;
2017-07-16 21:16:30 +02:00
Phenom
b4071d158e
Add General Direct Download setting.
...
Yes, No, Per User
2017-06-29 17:18:28 +02:00
csoler
e0cb0f4847
fixed previous commit
2017-05-08 23:04:04 +02:00
csoler
8a86b9ed7d
added a per-friend upload slots limit in FT. Default is 0=unlimited
2017-05-08 22:00:51 +02:00
csoler
dc2df071a5
renamed RsSerializer into RsServiceSerializer
2017-04-24 14:14:34 +02:00
csoler
e2d9152b22
moved converted serialisation files into new directory rsitems/, leaving serialiser/ for the serialisation classes
2017-04-18 21:11:37 +02:00
csoler
121133488c
fixed bug in serialization for turtle
2017-04-16 19:59:22 +02:00
csoler
636450f14d
moved turtle and FT to new serialization
2017-04-15 18:46:44 +02:00
mr-alice
5f69c9ea1f
added an option to follow symbolic links or not, and anti-loop system during directories traversal
2016-11-24 23:42:56 +01:00
mr-alice
fb70cb2e9e
removed duplicate copy/rename file methods from ftController
2016-11-22 23:39:09 +01:00
csoler
5ef4e752d9
added count of total number of files and total file isze on top of shared directories
2016-11-11 20:25:11 +01:00
mr-alice
e324d7d251
removed warning in ftserver for rejected non encrypted tunnels
2016-11-03 20:31:47 +01:00
mr-alice
29b5bfe049
attempt to fixed leading tabs
2016-11-03 08:50:13 +01:00
mr-alice
1c2cfb2a03
removed debug info in ftServer
2016-11-02 21:32:14 +01:00
mr-alice
d2118c5329
supressed deadlock in ftController due to calling ftServer from ftcontroller itself
2016-11-02 20:51:42 +01:00
mr-alice
6a3610e6cb
disallow double tunnels (encrypted+clear) in Accepted mode, since it is not needed
2016-11-01 14:13:43 +01:00
mr-alice
ffdac640d8
fixed swarming with encrypted end-to-end tunnels
2016-11-01 11:57:25 +01:00
mr-alice
9d586bcfb0
made a drastic simplification pass on the ShareManager, which now only needs a single window except for selecting files using a QFileDialog
2016-10-31 16:28:26 +01:00
mr-alice
e8e054eeae
addednew flag for anonymous search. Merged the two browsable flags in one single flag.
2016-10-31 14:26:01 +01:00