csoler
6f6e0de5f1
merged with upstreamm/master
2020-05-09 22:33:27 +02:00
csoler
e09bf7c261
added a check to prevent SEGV when sending a notification about a group we updated
2020-05-09 21:30:51 +02:00
csoler
df2899bae9
added warning about keys tht are out of range when checking a msg signature
2020-05-09 21:30:07 +02:00
jolavillette
7c2efbc630
reduce cpu load by increasing sleep before ticking pqi and core
2020-05-09 20:35:20 +02:00
csoler
0c3b8641af
fixing some bugs in circles backend
2020-05-09 18:07:56 +02:00
Phenom
b40ca53f13
Fix warning: ‘n’ may be used uninitialized in this function
...
../../../trunk/libretroshare/src/rsitems/rsmsgitems.cc: In member
function ‘virtual void
RsMsgTags::serial_process(RsGenericSerializer::SerializeJob,
RsGenericSerializer::SerializeContext&)’:
../../../trunk/libretroshare/src/rsitems/rsmsgitems.cc:93:22: warning:
‘n’ may be used uninitialized in this function [-Wmaybe-uninitialized]
93 | uint32_t n ;
| ^
2020-05-09 14:32:48 +02:00
defnax
38af9244a6
added spam box
2020-05-08 23:21:38 +02:00
csoler
bc69e8c1ac
forgot to update file in previous commit
2020-05-08 16:06:23 +02:00
csoler
8e52f07621
changed NO_DATA enum to NO_DATA_YET. Seems that this is an existing define on windows
2020-05-08 14:49:25 +02:00
csoler
59df44535a
put enum outside class in RsGxsCircleCache
2020-05-08 11:24:49 +02:00
csoler
5f5c2be64b
fixed a few bugs in the new circle cache system
2020-05-07 20:35:02 +02:00
csoler
11a4b6540f
cleaned-up circles cache. Needs testing.
2020-05-07 17:31:58 +02:00
jolavillette
4ead639e8c
remove unneeded pqithreadstreamer and pqissl mutex locks
2020-05-06 21:29:46 +02:00
jolavillette
2c1238db2c
remove unneeded lock of p3ServiceServer mutex
2020-05-06 12:11:54 +02:00
jolavillette
7634d121de
Merge remote-tracking branch 'upstream/master' into mutexDivorce
...
Update mutexDivorce
2020-05-06 11:33:43 +02:00
jolavillette
7113d1935f
finish removing pqistreamer locks, clean rates methods
2020-05-04 22:42:18 +02:00
csoler
65fa29e789
fixed notifications on circle not working due to cache reload failure. That circle cache code needs a real cleanup
2020-05-04 20:54:08 +02:00
sehraf
757e922c4f
Fix unix_fcntl_nonblock() to not overwrite any existing flags.
2020-05-04 15:13:39 +02:00
jolavillette
28458bf10a
tick_send: remove unneeded lock around mBio->cansend
2020-05-04 08:11:57 +02:00
csoler
ce6abe5d66
made GxsNotify for messages with more granularity. Removed RsGxsCircleMsg class that was not used.
2020-05-03 23:20:13 +02:00
sehraf
638648cf64
fix json api markup
2020-05-03 20:57:48 +02:00
jolavillette
d847086911
finish emoving unneeded pqistreamer locks in recv part
2020-05-03 20:32:17 +02:00
sehraf
53b76732a9
pqisslistener: document accept() process
2020-05-03 14:58:19 +02:00
csoler
48960d548d
Merge pull request #1880 from jolavillette/threadTick
...
clean rewrite of RsServer::threadTick
2020-05-03 13:28:43 +02:00
jolavillette
7db8cbca97
remove debug flag
2020-05-02 21:21:42 +02:00
csoler
efb26ce9c0
added warnign when notified CircleMsg cannot be retrieved from DB
2020-05-02 15:48:38 +02:00
csoler
32baccae97
finished cleaning GxsCircle Notifications
2020-05-02 15:09:32 +02:00
jolavillette
d35dd76ca5
try to isolate pqistreamer mutex from pqissl mutex, step 1: pqistreamer::tick_recv()
2020-05-02 09:47:24 +02:00
csoler
26dd716967
added documentation on circle membership at UI and circles API level. Internals need to be implemented accordingly
2020-05-01 22:59:39 +02:00
csoler
d32daaa111
made group notifications separate so that they can be treated more easily and added group item to new_group notifications, to allow more GUI notifications
2020-05-01 00:00:13 +02:00
Phenom
e8b8119174
Fix Channel Post Comments Number
2020-04-29 00:52:19 +02:00
csoler
767440afc5
added circle invite notifications
2020-04-28 21:39:38 +02:00
sehraf
04dc163d30
pqissl: document statemachine and function hierarchy
2020-04-28 19:17:35 +02:00
Olivier Marty
b0613ef653
Correct design flaw in slow process control, improve indentation, set up debug #ifdef
2020-04-28 09:48:12 +02:00
csoler
59b7f042e1
Merge pull request #1879 from G10h4ck/item_uninitialized_ptr
...
RawMemoryWrapper::serial_process report error
2020-04-27 23:24:09 +02:00
csoler
f5af7dfeb3
fixed up top bar tooltips to display what the numbers actually mean
2020-04-27 21:56:43 +02:00
csoler
0f1a3879d0
quick fix for debug flag that was left in the code
2020-04-27 20:28:34 +02:00
Gioacchino Mazzurco
6fc89c2d37
RawMemoryWrapper DESERIALIZE warn if got non null ptr
2020-04-27 20:22:50 +02:00
csoler
28a6b43357
added missing file
2020-04-27 17:11:06 +02:00
Olivier Marty
9a9eb56a3a
clean rewrite of RsServer::threadTick
2020-04-27 16:08:20 +02:00
csoler
f7199f1f1c
moved GxsNotify classes to rsgxsnotify.h internal to gxs (not visible in API) since it is unused in GUI. Added event item in forum to handle moderator list changes
2020-04-26 23:35:37 +02:00
csoler
4b568f3068
fixed the same error in turtle generic search result
2020-04-26 15:34:28 +02:00
csoler
76e9387467
fixed deserialiser for rawWrapper causing crashes when wrapper memory is not initialized properly by the client
2020-04-26 14:19:44 +02:00
csoler
86897b60de
fixed uninitialized memory causing a crash in turtle items
2020-04-26 14:19:02 +02:00
csoler
ae54e53bc1
updated RsGenExchange::performUpdateValidation to simplify the logic and save (oldGrp,newGrp) in a specific RsGxsGroupUpdate subclass of GxsNotify so as to be able to handle group data notifications in services
2020-04-26 00:18:01 +02:00
csoler
9b0abe16dd
small fix to indent in authssl.cc
2020-04-25 18:07:04 +02:00
csoler
b2e36fbd9c
fixed version incompatibility in merge PR 1869
2020-04-24 23:06:29 +02:00
csoler
ad4939e64c
Merge pull request #1872 from b1rdG/patch-2
...
Improve documentation
2020-04-24 21:56:41 +02:00
csoler
e323bc8573
Merge pull request #1869 from PhenomRetroShare/Fix_OpenSSL1_CreatCertFail
...
Fix OpenSSL fail to create Cert.
2020-04-24 21:55:01 +02:00
b1rdG
36bab55d8c
Use tabs instead of spaces
2020-04-23 15:15:03 -05:00
b1rdG
7290caa1a5
Improve documentation
2020-04-23 20:07:18 +00:00
b1rdG
b55d37efa4
Add RsGxsId checks
2020-04-23 14:56:53 -05:00
csoler
f9b731c92e
fixed free()/delete[] mismatch reported by valgrind
2020-04-22 20:32:16 +02:00
Phenom
866b564f90
Fix OpenSSL fail to create Cert.
2020-04-22 17:28:41 +02:00
csoler
5120f693be
Merge pull request #1859 from csoler/v0.6-ImprovedGUI_4
...
Making channels faster to load
2020-04-21 19:30:49 +02:00
Gioacchino Mazzurco
2f0b0f48bf
Better atomicity (not perfect) for RsDdg() and companions
2020-04-21 18:10:58 +02:00
csoler
1cfbfdaf63
Merge pull request #1866 from PhenomRetroShare/Fix_SIGSEGV_OnRsThreadStart
...
Fix SIGSEGV on RsThread::start
2020-04-21 13:11:35 +02:00
G10h4ck
2b44492cb6
Merge pull request #1829 from G10h4ck/rsfiles_links
...
RsFiles links support in libretroshare + a bunch of fixes
2020-04-20 17:12:04 +02:00
Gioacchino Mazzurco
3f38d04680
Clarify pointer ownership decorators documentation
...
Use old char* in PGP functionas asked by Cyril
2020-04-20 15:52:29 +02:00
Gioacchino Mazzurco
e406a1fb8b
Fix JSON API compilation after rebasing on master
2020-04-20 15:52:20 +02:00
csoler
38e89d4055
fixed merge with upstream/master
2020-04-19 21:53:02 +02:00
csoler
5b761c72ba
removed debug info
2020-04-19 21:07:53 +02:00
csoler
096cdd6dd2
Merge pull request #1863 from sehraf/pr_handle_deprecated_packets
...
Fix log spam by handling deprecated packet gracefully
2020-04-19 18:57:11 +02:00
Phenom
c0ce5c7088
Fix SIGSEGV on RsThread::start
...
mTid could be null while pError is null too.
This happens to me always with "gxs integrity".
2020-04-19 11:24:57 +02:00
sehraf
f19d933ff1
Partially revert bea6769a4e
.
...
Currently the log is flooded with messages about "unkown" packets which are actually just deprecated ones. Add back the code to gracefully handle them (= delete them).
2020-04-18 11:45:35 +02:00
b1rdG
d100e53470
Improve parameter description
2020-04-17 22:09:40 +00:00
b1rdG
d265e61b06
Expose JSON API closeDistantChatConnexion and initiateDistantChatConnexion
2020-04-17 21:56:58 +00:00
csoler
fa8968797c
added some tests to insertGroupData() to avoid inconsistent calls
2020-04-16 21:35:57 +02:00
csoler
915e197223
Merge pull request #1857 from csoler/v0.6-GxsDbFix
...
Quick fix to allow plugin loading
2020-04-15 11:09:05 +02:00
csoler
59508d4c7e
fixed plugin loading
2020-04-14 21:38:52 +02:00
Gioacchino Mazzurco
f54fb046e4
Use a a loop instead of std::trasform as suggested by Cyril
2020-04-14 12:26:21 +02:00
Gioacchino Mazzurco
7d388c3090
Solve non compatible 32/64bit file handle API
2020-04-14 12:26:21 +02:00
Gioacchino Mazzurco
2a369cb785
Fix noisy compiler warning
2020-04-14 12:26:21 +02:00
Gioacchino Mazzurco
a4950aca66
Safer checks in type serializer
2020-04-14 12:24:58 +02:00
Gioacchino Mazzurco
0c3fd6f27c
Explicit type as requested by Cyril
2020-04-14 12:24:58 +02:00
Gioacchino Mazzurco
b701ca8da3
Keep 10 extra unassigned slots for event types
...
Proper error reporting + cruft removal
2020-04-14 12:24:58 +02:00
Gioacchino Mazzurco
76d492b4aa
Add forgot authorship in rsbase64*
2020-04-14 12:24:58 +02:00
Gioacchino Mazzurco
05f65e9211
Fix missing paramether direction in Doxygen doc
2020-04-14 12:24:58 +02:00
Gioacchino Mazzurco
13e0179812
Readd struct disappeared in rebase + fix warning
2020-04-14 12:24:58 +02:00
Gioacchino Mazzurco
612d47908d
Fix JSON API breakage introduced in cf7a77e512
2020-04-14 12:24:57 +02:00
Gioacchino Mazzurco
8cb46e5937
Fix compilation on Android arm64
2020-04-14 12:24:57 +02:00
Gioacchino Mazzurco
7d1efa7ed9
Fix compiler warnings
2020-04-14 12:24:57 +02:00
Gioacchino Mazzurco
4c0baa1ec3
Fix JSON API event handler registering behavior
...
As a bonus the behaviour is now homogeneous between C++ API and JSON API
Fix a bunch of compiler warning
RsEvents implementation is now safer
mHandlerMaps size is known at compile time, so use an std::array instead
of vector
2020-04-14 12:24:57 +02:00
Gioacchino Mazzurco
ce5f5faa97
Fix Android compilation after rebase on master
2020-04-14 12:24:57 +02:00
Gioacchino Mazzurco
b42c0410f1
Expose pgpIdFromFingerprint to JSON API
...
+ missing explicit in one paramether costructor
2020-04-14 12:17:04 +02:00
Gioacchino Mazzurco
9d325e3d17
Fix mail in rsjsonapi.h copyright header
2020-04-14 12:17:03 +02:00
Gioacchino Mazzurco
0d1524aa12
Fix crash due to RsChatAvatarItem uninitialized pointer
...
Caught signal 11 (SIGSEGV)
stack trace:
retroshare( 0xbbd2da)[0x558ccf46a2da]
retroshare(CrashStackTrace::abortHandler(int) 0xeb)[0x558ccf471c5c]
/lib64/libc.so.6( 0x38f80)[0x7f6ef6facf80]
/lib64/libc.so.6(realloc 0x54)[0x7f6ef6fffef4]
retroshare(RsTypeSerializer::RawMemoryWrapper::serial_process(RsGenericSerializer::SerializeJob, RsGenericSerializer::SerializeContext&) 0x5d4)[0x558ccfcddad0]
retroshare(std::enable_if<std::is_base_of<RsSerializable, RsTypeSerializer::RawMemoryWrapper>::value, void>::type RsTypeSerializer::serial_process<RsTypeSerializer::RawMemoryWrapper>(RsGenericSerializer::SerializeJob, RsGenericSerializer::SerializeContext&, RsTypeSerializer::RawMemoryWrapper&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) 0x9d)[0x558ccfb3da66]
retroshare(RsChatAvatarItem::serial_process(RsGenericSerializer::SerializeJob, RsGenericSerializer::SerializeContext&) 0x84)[0x558ccff90ba6]
retroshare(RsServiceSerializer::deserialise(void*, unsigned int*) 0x403)[0x558ccfcd96e9]
retroshare(RsSerialiser::deserialise(void*, unsigned int*) 0x38e)[0x558ccfb5a1a8]
retroshare(pqiSSLstore::readPkt(RsItem**) 0x3f9)[0x558ccfad329f]
retroshare(pqiSSLstore::GetItem() 0xbb)[0x558ccfad2d9f]
retroshare(pqiSSLstore::getEncryptedItems(std::__cxx11::list<RsItem*, std::allocator<RsItem*> >&) 0x3e)[0x558ccfad2c26]
retroshare(p3Config::loadAttempt(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::list<RsItem*, std::allocator<RsItem*> >&) 0xf8)[0x558ccfab20d0]
retroshare(p3Config::loadConfig() 0xeb)[0x558ccfab1d69]
retroshare(p3Config::loadConfiguration(t_RsGenericIdType<20u, false, (RsGenericIdType)2>&) 0x1c)[0x558ccfab1c7c]
retroshare(p3ConfigMgr::loadConfig() 0x97)[0x558ccfab17f3]
retroshare(p3ConfigMgr::loadConfiguration() 0x18)[0x558ccfab1758]
retroshare(RsServer::StartupRetroShare() 0x4407)[0x558ccfb02fab]
retroshare(main 0x17e2)[0x558ccf46d291]
/lib64/libc.so.6(__libc_start_main 0xeb)[0x7f6ef6f97e9b]
retroshare(_start 0x2a)[0x558ccf438c9a]
D 1585687209 void RetroDb::closeDb() sqlite3_close return: 0
D 1585687209 void RetroDb::closeDb() sqlite3_close return: 0
Memory still in use at end of program: 24776 bytes.
2020-04-14 12:17:03 +02:00
Gioacchino Mazzurco
0187bf2f2f
Suppress eccessive VLQ debugging
2020-04-14 12:17:03 +02:00
Gioacchino Mazzurco
d7f23ce21c
Deprecate unreliable Channels features
...
Fix licensing years
2020-04-14 12:17:03 +02:00
Gioacchino Mazzurco
198fa7d8bc
RsFiles::parseFilesLink support old link formats
2020-04-14 12:17:03 +02:00
Gioacchino Mazzurco
8b4fcbe9e0
Remove unused constant from rsfiles.h
2020-04-14 12:17:03 +02:00
Gioacchino Mazzurco
a0da5a3120
Improve debugging
2020-04-14 12:17:02 +02:00
Gioacchino Mazzurco
1fd6e7e97a
Add API call to create links to extra files
2020-04-14 12:17:02 +02:00
Gioacchino Mazzurco
55aab6c447
Add RsFiles::requestFiles to de API to download whole colletions
...
Fix filetree creation from single file
RsDirUtil::moveFile now works also if parent directories doesn't exists
Backport std::filesystem::create_directories from C++17
2020-04-14 12:17:02 +02:00
Gioacchino Mazzurco
d666e58403
Fix regression in sequence container FROM_JSON
2020-04-14 12:17:02 +02:00
Gioacchino Mazzurco
fc5ad40c90
Add C++14 template types helpers that seems missing in TravisCI MacOSX
2020-04-14 12:17:02 +02:00
Gioacchino Mazzurco
da66719b83
Fix Android compilation
2020-04-14 12:17:02 +02:00
Gioacchino Mazzurco
5610cc8600
Fix memory management and deprecated removal from serialization
...
Fix missing RsDiscPgpKeyItem initialization
Fix inconsistent new[]/delete[] usage in RsDiscPgpKeyItem and
PGPHandler::exportPublicKey which now consistently uses malloc/free
Remove deprecated RsGenericSerializer::FORMAT_*
Move from deprecated RsServiceSerializer::SERIALIZATION_FLAG_* to
RsSerializationFlags
Solve a bunch of compiler warnings
Stricter checks in SerializeContext costructor
2020-04-14 12:17:01 +02:00
Gioacchino Mazzurco
39bde58c29
Many serialization and related stuff improvements
...
Fix bug in array-like containers serialization which could cause almost infinite
loop on malformed input
Implement VLQ integer serialization
Unify sequence containers serialization code
Add support for VLQ serialization also for string size
Use VLQ compression for file links
Add templated function to fix endiannes for all integer types
Use bitset to print flags in binary form
Unify serialization code for integral types
Serialize 64bit integers types to JSON object with both string and integer
representation, so it is posible to have this representation also for
containers types like std::vetor or std::map this breaks retrocompatibility
but is necessary to support clients written in languages which doesn't have
64 bit integers support such as JavaScript or Dart
2020-04-14 12:17:01 +02:00
Gioacchino Mazzurco
d203f31d0c
Improve files links generation parsing and errors
...
Implement URL safe base64 for file links
Implement sneaking file data into URL fragment
Deprecate Radix65 in favore of RsBase64 which supports also URL safe encoding
2020-04-14 12:17:01 +02:00
Gioacchino Mazzurco
55d466f79b
Initial work on RsFiles links support in libretroshare
2020-04-14 12:17:01 +02:00
csoler
b6c5e2f188
Merge pull request #1847 from csoler/v0.6-GxsDbFix
...
This branch aims at fixing the requests problems in RsGxsDataAccess
2020-04-13 14:13:33 +02:00
csoler
bc748bf152
improved variable name and comment for GxsRequest::ansType
2020-04-13 13:35:35 +02:00
csoler
54f8ef1ffe
fixed small bug causing read/unread and new msgs to not update immediately
2020-04-12 23:07:42 +02:00
csoler
a8f94f9d74
cosmetic changes: std::cerr=>RsErr(), __PRETTY_FUNCTION__, removed debug flags, etc
2020-04-12 14:00:29 +02:00
csoler
f74c65fcc0
created a specific GxsEvent for Group Statistics changes and handle it in the GUI for all friends at once every 2 min at most
2020-04-11 20:52:35 +02:00
drbob
124781c1e0
Fixup PulseAddDialog and underlying datatypes
...
Cleaned up UI, removing unnecessary sidebar.
Added cleanup of Dialog to reset properly
Disabled URL adder, until it is complete
Added ComboBox for reply sentiment
Only enable Post button when length between 1 and 999 characters
Add Icon to WireGroup (future proofing datatype)
2020-04-11 12:55:04 +10:00
csoler
b7363b4d4e
fixed supid bug causing msgs to not be correctly retrieved
2020-04-10 22:23:49 +02:00
csoler
e433a64bb2
implemented new version of selection for only latest messages
2020-04-10 22:09:34 +02:00
csoler
4e66455ac0
started to re-write the getMsgMeta and Ids in gxsdataaccess for better efficiency. Lastest msgs only net yet functional
2020-04-09 22:55:13 +02:00
csoler
b0e61376f1
removed calls to getServiceStatistics from GxsUserNotify and replaced by info collected by GxsGroupFrameDialog
2020-04-08 21:11:53 +02:00
csoler
b51520bccf
Merge pull request #1846 from G10h4ck/millisec_dbg_message
...
Add millisecond details to debug messages timestamp
2020-04-08 16:39:31 +02:00
Gioacchino Mazzurco
8303f42af0
GitlabCI fix some tests
2020-04-08 12:10:06 +02:00
csoler
c60f1d1331
fixed merge with upstream/master
2020-04-08 10:41:47 +02:00
csoler
e0462b8411
Merge pull request #1845 from csoler/v0.6-FT4
...
Removed TokenQueue from GxsTransportStatistics
2020-04-08 10:25:41 +02:00
csoler
ebee69df96
fixed up display of GroupStatisticsReq and moved priorities to RsTokReqOptions
2020-04-07 22:42:01 +02:00
csoler
7c77e82b1e
added output to GxsRequest for debug purposes
2020-04-07 16:56:28 +02:00
csoler
5c71a46c52
fixed up the update of message count using a flag to only update when necessary, which limits drastically the calls to getGroupsStatistics()
2020-04-06 21:55:07 +02:00
csoler
65af73f8eb
fixed up new version of GxsDataAccess
2020-04-06 18:34:57 +02:00
Gioacchino Mazzurco
50adf00804
Add millisecond details to debug messages timestamp
2020-04-05 23:02:53 +02:00
csoler
2d23a9f251
experimental implementation of TokenQueue priority. not fully functional yet
2020-04-05 22:59:58 +02:00
csoler
9a1d589134
added a temporary copy of mRequests in RsGxsDataAccess::processRequests() to avoid interactions with storeRequest() mofying the queue
2020-04-05 16:41:44 +02:00
csoler
25467dda9f
Merge pull request #1831 from drbob/thewire_fix_message_display
...
TheWire fixup up display of messages
2020-04-05 11:33:27 +02:00
drbob
1c20d75a03
Update photo/wire/wiki interfaces to support Blocking Group API.
...
Add blocking API Group Interfaces for photo,wire and wiki services.
Add service blocking API calls for createGroup/updateGroup/getGroupData.
Update GUI classes to match new GxsGroupDialog Interfaces.
2020-04-05 15:04:39 +10:00
csoler
28a21392ca
removed TokenQueue from UserNotify
2020-04-04 22:54:54 +02:00
csoler
4653f18dd1
removed TokenQueue from GxsTransportStatistics
2020-04-04 22:00:52 +02:00
G10h4ck
76f3767756
Merge pull request #1843 from sehraf/pr_chat_event
...
fix last commit
2020-04-04 15:58:22 +02:00
sehraf
4bfbaef057
fix last commit
2020-04-04 15:11:29 +02:00
G10h4ck
208e96dc6c
Merge pull request #1842 from sehraf/pr_chat_event
...
Add chat events to RsEvent
2020-04-04 15:08:04 +02:00
sehraf
dfed3d6fb5
allow calling getDistantChatStatus via json api
2020-04-04 13:51:19 +02:00
sehraf
2abd284899
add chat to RsEvent
2020-04-04 13:30:23 +02:00
csoler
a0816c7324
Merge pull request #1838 from csoler/v0.6-FT4
...
Converting GxsMessageFrameWidget to blocking API, removing more TokenQueue from UI
2020-04-03 18:02:30 +02:00
csoler
449f9cb804
Merge pull request #1832 from sehraf/pr_fix-deadlock
...
i2pbob: fix deadlock on shutdown
2020-04-03 11:18:06 +02:00
csoler
cd98f02246
removed askForDeferredSelfSignature() and made IdEditDialog comply with this
2020-04-02 22:24:14 +02:00
csoler
0cc871da60
removed TokenQueue from IdEditDialog PGP Signed identities still not working
2020-04-01 22:34:47 +02:00
csoler
cf7a77e512
finished converting GxsMessageFrameWidget to blocking API
2020-03-31 20:21:16 +02:00
drbob
3402aa861f
Merge branch 'master' into thewire_fix_message_display
2020-03-31 21:23:51 +11:00
csoler
55c810f848
first pass for converting GxsMessageFrameWidget to blocking API
2020-03-29 23:21:48 +02:00
csoler
c18dfb39c3
added some more debug info and proper error output to GxsDb
2020-03-26 23:19:34 +01:00
csoler
5dcbb978c3
improvement of autoloading of GxsGroupFrameDialog
2020-03-26 16:47:37 +01:00
csoler
6616e8a6b3
fixed priority problem in async request of group data tht shows up in RsGxsForumThreadWidget
2020-03-22 23:35:34 +01:00
csoler
0f5fd198a4
removed debug info in db access
2020-03-22 22:06:49 +01:00
csoler
6c1f09a53b
completely removed TokenQueue from GxsGroupDialog and GxsGroupFrameDialog
2020-03-22 21:47:14 +01:00
csoler
b8ec91aac5
fixed missing returns
2020-03-21 15:46:52 +01:00
csoler
2387150f64
1/4 convertion of GxsGroupFrameDialog to blocking API
2020-03-21 15:25:34 +01:00
csoler
1a9ac16546
fixed bug due to missing iterator increment
2020-03-19 21:20:52 +01:00
csoler
cd4594d0a3
merged with upstream/master
2020-03-19 09:15:45 +01:00
csoler
b6667a2c5a
fixed bug causing RS to eat all the memory, slow down GxsId access and ultimately make forums and other Gxs services to not load properly
2020-03-18 22:33:58 +01:00
csoler
676ddfbfb5
removed waitToken from GxsTokenService since it was only used directly by rsGenExchange to export keys
2020-03-17 23:33:03 +01:00
csoler
5408427ea8
added auto delete active token feature to RsGxsIfaceHelper
2020-03-17 00:13:29 +01:00
csoler
db42c7a973
removed sleep in p3GxsTunnel::tick() since it is not needed and causes unwanted delays
2020-03-15 13:15:33 +01:00
sehraf
ddd6b91f71
i2pbob: fix deadlock on shutdown
2020-03-13 17:08:48 +01:00
csoler
4c4b7ce754
Merge pull request #1826 from csoler/v0.6-FT4
...
attempt to solve GXS data access problems in new blocking API
2020-03-13 14:37:53 +01:00
drbob
fc53af2646
TheWire fixup up display of messages
...
Process messages to group replies correctly and sort by age.
Expand message display to include replies.
Add coloring to distinguish between replies and actual msgs.
Enable subscribe / unsubscribe buttons.
Add Selection of which set of groups are visible.
Add missing setNetworkExchangeService calls for photo + wire services.
2020-03-13 16:44:15 +11:00
csoler
230eca985f
reverted unnecessary cancel of tokens after waitToken in p3gxscircles
2020-03-11 22:42:34 +01:00
csoler
a02bb0acb6
added cancel in waitToken in rstokenservice
2020-03-11 22:41:57 +01:00
csoler
dc3c3488df
added blocking API for createComment() in GxsCommentService and removed token queue from GxsCreateCommentDialog
2020-03-09 21:01:55 +01:00
csoler
4031b081c5
Merge pull request #1824 from drbob/photos_improve_sharing
...
Updates to PhotoSharing service
2020-03-08 23:14:38 +01:00
Gioacchino Mazzurco
57be2cb11e
Silence excessive debugging in miniupnp handler
2020-03-08 22:07:12 +01:00
csoler
ab2c1f23e9
attempt to solve GXS data access problems in new blocking API
2020-03-07 20:39:10 +01:00
csoler
1f0678075f
merged upstream/master
2020-03-06 22:12:06 +01:00
Gioacchino Mazzurco
b62b3ec54b
Fix crash on Android due to dangling reference
...
JSON API debug lambda returned a dangling reference on Android, fix by
moving the scope of the returned object
What made this a bit tricky to understand was the fact that it happened
only on Android, while the code was formally incorrect for all
platforms, and strangely caused a stack overflow due to two std lib
functions (sentry and flush) calling each other ad infinitum
+#23379 0x603cb2a8 in std::__ndk1::basic_ostream<char, std::__ndk1::char_traits<char> >::flush (this=0x618e92bc) at /opt/android-ndk/sources/cxx-stl/llvm-libc++/include/ostream:949
+#23380 0x603cad08 in std::__ndk1::basic_ostream<char, std::__ndk1::char_traits<char> >::sentry::sentry (this=0x618e9284, __os=...) at /opt/android-ndk/sources/cxx-stl/llvm-libc++/include/ostream:270
+#23381 0x603cb2a8 in std::__ndk1::basic_ostream<char, std::__ndk1::char_traits<char> >::flush (this=0x618e92bc) at /opt/android-ndk/sources/cxx-stl/llvm-libc++/include/ostream:949
+#23382 0x603cad08 in std::__ndk1::basic_ostream<char, std::__ndk1::char_traits<char> >::sentry::sentry (this=0x618e9304, __os=...) at /opt/android-ndk/sources/cxx-stl/llvm-libc++/include/ostream:270
+#23383 0x603caa6c in std::__ndk1::__put_character_sequence<char, std::__ndk1::char_traits<char> > (__os=..., __str=0x61379a60 " user: ", __len=7) at /opt/android-ndk/sources/cxx-stl/llvm-libc++/include/ostream:726
+#23384 0x603caa30 in std::__ndk1::operator<< <std::__ndk1::char_traits<char> > (__os=..., __str=0x61379a60 " user: ") at /opt/android-ndk/sources/cxx-stl/llvm-libc++/include/ostream:869
+#23385 0x60522184 in t_RsLogger<(RsLoggerCategories)5>::operator<< <char [8]> (this=0x618e92bc, val=...) at ../../../../Development/rs-develop/libretroshare/src/util/rsdebug.h:53
+#23386 0x60bbe5ec in JsonApiServer::registerHandler(std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> > const&, std::__ndk1::function<void (std::__ndk1::shared_ptr<restbed::Session>)> const&, bool)::$_259::operator()(std::__ndk1::shared_ptr<restbed::Session>, std::__ndk1::function<void (std::__ndk1::shared_ptr<restbed::Session>)> const&) const (this=0x617d8364, session=..., callback=...) at ../../../../Development/rs-develop/libretroshare/src/jsonapi/jsonapi.cpp:517
2020-03-06 18:21:32 +01:00
drbob
88f76c5fbb
Update the data in photoitems
...
Update PhotoItem members
- remove excessive fields in Photo
- add RsGxsFile to Photo
- update ShareMode for Album
- renamed photo.mThumbnail to mLowResImage
Update Photo GUI
- enable setting of AlbumExtra parameters.
- added data for Ordering of photos
- stop showing duplicates in PhotoSlideShow
2020-03-07 00:13:25 +11:00
csoler
3bd23d612a
Merge pull request #1817 from G10h4ck/optional_dh_init_test
...
Add option to disable DH init check for faster init
2020-03-06 11:16:45 +01:00
csoler
f59193b625
fixed bug in SQL access where timeout was compared to a negative value
2020-03-05 20:51:02 +01:00
csoler
09fe628415
removed debug info
2020-03-05 20:50:25 +01:00
csoler
ae932b605a
fixed 2 bugs causing forums and channels to be notified when already known and added notification list for posted
2020-03-04 19:17:09 +01:00
Gioacchino Mazzurco
15c3e87bc5
Add option to disable DH init check for faster init
...
The check is not necessary and on Android it takes around 1 minute to
complete.
2020-03-03 16:21:14 +01:00
csoler
97e7df82c5
Merge pull request #1816 from csoler/v0.6-FT4
...
TokenQueue cleanup
2020-03-01 17:29:44 +01:00
csoler
76596e678e
Merge pull request #1815 from drbob/thewire-get-basics-working
...
Get the basics of TheWire service working
2020-03-01 16:40:35 +01:00
csoler
f8d07a3e92
switched to more reasonnable timeout values in waitToken
2020-03-01 13:45:07 +01:00
csoler
c09e9c407b
removed warning about filtered packet
2020-02-29 23:06:43 +01:00
csoler
4124585b55
removed unused print methods in some RsItems since now print is handled by serializer
2020-02-29 12:14:37 +01:00
Gioacchino Mazzurco
6bb0950dd6
Fix typo in documentation
2020-02-29 11:05:22 +01:00
drbob
24fd4ae3e7
Get the basics of TheWire service working
...
Added REF fields to Wire Msgs to allow replys to work well.
Added description of how the Message fields should be used.
Added WireGroupDialog for creation of WireGroups.
Updated PulseAddDialog to support publishing Pulses and Replies.
Added classes to display Pulses / Groups.
Added single selection point of WireGroup for publishing.
Added basic "refresh" to reload new GXS data.
2020-02-29 11:47:00 +11:00
drbob
5d0e2bb71e
Add Album Editing (add / remove photos)
...
Significant improvements to AlbumDialog
- load Existing Photos to the Album
- drag and drop add new Photos
- mark photos for deletion
- publish these changes
- color photoitems depending on state
Fixed up Top-Level Photo display.
- only show latest version of photo (hide deleted)
- fixup grouping by "Own / Subscribed / Other" Albums
- added Album detail editing using GxsGroupDialog
2020-02-25 00:11:51 +11:00
csoler
737b846e23
Merge branch 'master' into v0.6-FT4
2020-02-22 21:11:00 +01:00
csoler
a89f572edf
Merge pull request #1796 from drbob/photos_switch_to_gxscomments
...
Switch PhotoService to use GxsComments
2020-02-22 17:09:09 +01:00
csoler
5645d71699
fixed connexion between posted items and async API, and removed dead code and debug info
2020-02-19 21:52:55 +01:00
sehraf
7097a22781
[ATTEMPT] fix for inconsitency in p3linkmgr.cc
2020-02-19 20:34:52 +01:00
sehraf
0678226a93
convert RSDHT_RELAY_CLASS_ to enum class
2020-02-19 20:17:21 +01:00
sehraf
bc1ba3654d
convert RSDHT_TOU_MODE_ to enum class
2020-02-19 20:00:18 +01:00
sehraf
46d77bfe7a
convert RSDHT_PEERREQ_ to enum class
2020-02-19 19:57:46 +01:00
sehraf
fcaabb1922
convert RSDHT_PEERCONN_ to enum class
2020-02-19 19:54:37 +01:00
sehraf
8d0a352b53
convert RSDHT_PEERDHT_ to enum class
2020-02-19 19:43:56 +01:00
sehraf
1b1b09217a
convert RSDHT_PEERTYPE_ to enum class
2020-02-19 19:43:37 +01:00
sehraf
7599b7ad9c
remove unused RS_DHT_NETSTART_*
2020-02-19 18:58:04 +01:00
sehraf
1b29e81e89
convert RSDHT_RELAY_MODE_ to enum class
2020-02-19 18:57:28 +01:00
csoler
167380127b
merged upstream/master
2020-02-17 19:54:16 +01:00
G10h4ck
dff0138376
Merge pull request #1795 from G10h4ck/posted_api
...
Initial work on posted API
2020-02-17 14:24:45 +01:00
drbob
fe62dc1345
Switch PhotoService to use GxsComments
...
WIP improvements to PhotoService:
- switch p3photoservice to use gxcommentservice
- clean out old RsPhotoComment classes
- redesign PhotoDialog to use standard GxsCommentService classes
- remove unneeded old Comment classes from GUI
- fix indenting for PhotoDialog and p3photoservice.h
- fix layout issue in Extra Widgets for GxsGroupDialog
2020-02-16 15:21:20 +11:00
csoler
01b39bfe63
Merge pull request #1782 from sehraf/pr_improve_udpStunner
...
Reenable UDP stunner and add documentation
2020-02-15 22:15:36 +01:00
sehraf
f019a71472
only use external up from DHT stunner as fallback when no other source provides a valid IP
2020-02-15 17:51:22 +01:00
csoler
93ee9bdd18
Merge pull request #1793 from drbob/fix_photo_group_creation
...
Update RsPhotoItems and switch Photos to use GxsGroupDialog
2020-02-15 14:39:55 +01:00
drbob
095b5224d9
fixup licence formatting
2020-02-15 11:54:29 +11:00
drbob
1baa92f60c
fixup serialisation and indentation
2020-02-15 11:39:29 +11:00
Gioacchino Mazzurco
5604f7082b
Initial work on posted API
2020-02-14 23:30:52 +01:00
Gioacchino Mazzurco
c9728cead0
Fix typo in channels deprecated method notice
2020-02-14 23:30:10 +01:00
drbob
d04518fd55
Update RsPhotoItems and switch to GxsGroupDialog.
...
WIP improvements to PhotoService:
- Switch from custom image to use RsGxsImage
- Update classes for new Image class
- fix serialiser for photos
- switch group creation to use GxGroupDialog
- tweak GxsGroupDialog to display extra Widgets
- add AlbumExtra widget
2020-02-15 01:01:19 +11:00
csoler
a498d4e370
merged upstream/master
2020-02-11 22:16:31 +01:00
csoler
4c54d9d633
added missing case for IDs events
2020-02-11 22:14:29 +01:00
csoler
f75d0add47
added notification for circle cache updates to avoid the need for an additional UI timer
2020-02-11 16:37:53 +01:00
csoler
e4f243694b
finished removing token queue from IdDialog.cpp
2020-02-11 08:36:35 +01:00
sehraf
dfc7212c23
document how to convert enum class flags to boolean and fix RsFlags << operator
2020-02-10 22:49:49 +01:00
csoler
1a250f5138
half-removed token queue system from IdDialog.cpp
2020-02-10 22:33:21 +01:00
csoler
07527cfead
fixed notifications in identity
2020-02-10 20:39:52 +01:00
sehraf
1a7510b2c9
convert RS_OPMODE to enum class
2020-02-10 19:51:09 +01:00
sehraf
c285bb0ab8
convert RSCONFIG_USER_LEVEL to enum class
2020-02-10 19:51:09 +01:00
sehraf
3f5dcecc4d
convert RSNET_NETSTATE to enum class
2020-02-10 19:51:09 +01:00
sehraf
acda7b8cc4
convert RSNET_CONNECT to enum class
2020-02-10 19:51:09 +01:00
sehraf
d310102808
convert RSNET_NATHOLE to enum class
2020-02-10 19:51:09 +01:00
sehraf
f81755e320
convert RSNET_NATTYPE to enum class
2020-02-10 19:51:09 +01:00
sehraf
0237531322
convert RSNET_NETWORK to enum class
2020-02-10 19:51:09 +01:00
drbob
d748278637
update code to get Wiki / Wire and PhotoShare compiling again
2020-02-10 22:24:47 +11:00
csoler
41a81fa5d1
fixed notifications in posted
2020-02-09 20:54:11 +01:00
sehraf
f27022fe7b
review fixup
2020-02-09 20:31:18 +01:00
sehraf
6e3740f3b8
add more documentation to updstunner.h
2020-02-09 20:31:17 +01:00
sehraf
6f9d875fc6
* unify CONFIG option for DHT stunner
...
* implement optional (turned off by default) usage of dht stunner to determin external ip (this can be usefull for some corner case setups)
2020-02-09 20:31:17 +01:00
sehraf
e91d877af2
udpstunner: don't open code header fields, reference and follow (old) RFC
2020-02-09 20:31:17 +01:00
sehraf
4095d82a67
add some documentation to updstunner.h
2020-02-09 20:31:17 +01:00
sehraf
1874241ddd
first pass on udpstunner.cc
2020-02-09 20:31:17 +01:00
sehraf
a7500473eb
enable DHT stunner
2020-02-09 20:31:13 +01:00
csoler
62c5cda7f0
merged upstream/master
2020-02-08 20:04:27 +01:00
csoler
a9f24c85a0
Merge pull request #1774 from G10h4ck/json_api_improvements
...
JSON API improvements
2020-02-07 23:16:04 +01:00
csoler
f72b385ccf
Merge pull request #1776 from csoler/v0.6-FT
...
More switch to new notification system
2020-02-07 23:15:41 +01:00
csoler
8e153b4acc
started removal of GxsBroadcastBase class
2020-02-06 19:57:23 +01:00
Gioacchino Mazzurco
039e8f653d
Solve race condition in JSON API restart
...
Improve atomic access to restbed service
Protect JSON API restart against bursts
Fix JSON API error condition enum registration
Provide ostream helper for error_condition
Provide optional forced thread cancel for debugging purpose, disabled by
default at compile time define RS_THREAD_FORCE_STOP to enable it
Avoid double fullstop in retroshare-gui json api apply button
2020-02-05 18:56:47 +01:00
csoler
595df99310
fixed notifications for distant search results in channels
2020-02-03 21:39:05 +01:00
csoler
c6643613b6
Merge pull request #1753 from hunbernd/New-Posted-Card-View
...
New posted card view enhancements
2020-02-01 18:50:27 +01:00
Gioacchino Mazzurco
7757c685c5
Fixup token parsing
...
If the token is like "somethingA:somethinchB:somethingC" then user is
"somethingA" and password is "somethinchB:somethingC"
2020-02-01 16:40:26 +01:00
csoler
81c1eb227c
moved file hashing and download count to new notification system
2020-01-30 23:02:23 +01:00
Gioacchino Mazzurco
b0358759e5
Delete experimental deadcode
2020-01-30 18:11:49 +01:00
csoler
10bee9f26b
added optional delay to check files after download in order to prevent skiping recently downloaded files
2020-01-29 22:04:29 +01:00
csoler
0efc6b00a1
fixed missing check in AvatarInfo against empty image data
2020-01-29 21:02:46 +01:00
csoler
06be689bef
fixed missing cache update in GxsCircles
2020-01-28 22:53:43 +01:00
csoler
b6366ac5bd
fixed misplaced notification event in GxsCircles
2020-01-28 22:47:30 +01:00
csoler
841ba9e579
added some missing notifications in circles dialog
2020-01-28 22:22:04 +01:00
Gioacchino Mazzurco
8c9310f754
Fix global shutdown call from JSON API
2020-01-27 23:40:18 +01:00
csoler
424e7be52f
added notifications for identities
2020-01-27 23:02:04 +01:00
csoler
90bb6c0011
fixed notifications in forums, posted and channels
2020-01-27 21:38:57 +01:00
Gioacchino Mazzurco
5dbbe1ffd7
Improve debugabbility of JSON API
...
JSON API server uses standardized error handling based on
std::error_condition for a few method, this improve debugabbility both
from library size and from API client side
JSON API auth token are now more flexible, now the only proibition is using
colon character ':' in user name
Implemented TO_JSON operation for std::error_condition
Avoid unkown serial job handling code duplication via fatalUnknownSerialJob
Usability improvement in t_RsLogger
Disable compilation of now unused is_alphanumeric
2020-01-27 21:22:49 +01:00
csoler
fb9282f588
moved UserNotify to MainPage level, and added RsEvent handling code in Posted
2020-01-26 23:19:20 +01:00
csoler
9c65836503
Merge pull request #1768 from csoler/v0.6-SSL111Fix
...
fixed OpenSSL 1.1.1 bug on debian due to security level being set to …
2020-01-24 23:08:06 +01:00
csoler
afdf917188
fixed OpenSSL 1.1.1 bug on debian due to security level being set to 2 on default
2020-01-23 23:31:24 +01:00
hunbernd
b3ac3d58a9
Merge upstream
2020-01-22 00:16:41 +01:00
Gioacchino Mazzurco
92990c55e7
JSON API spit out CORS headers also on error
...
Browsers won't let JavaScript properly handle the error if the corsa
headers are missing thanks Saud for report see:
retroshare://forum?name=Shouldn%27t%20CORS%20headers%20be%20present%20for%20all%20API%20responses%3F&id=8fd22bd8f99754461e7ba1ca8a727995&msgid=e3232ae3a1b76698576a9159ba962fa5091e710c
2020-01-21 12:56:52 +01:00
csoler
912f5de90b
Fixed UDP bug (Congrats to Sehraf for finding this!)
2020-01-19 20:08:58 +01:00
csoler
6136ac08f5
removed grouter debug output
2020-01-19 17:43:57 +01:00
csoler
3e62ce2e0a
fixing -u flag not being accounted for
2020-01-18 21:26:34 +01:00
csoler
1370d1417e
Merge pull request #1756 from csoler/v0.6-GRouter
...
[WIP] V0.6 GRouter
2020-01-18 13:55:29 +01:00
csoler
c75d372f24
merged upstream/master
2020-01-17 22:16:24 +01:00
csoler
26df59971f
Merge pull request #1748 from csoler/v0.6-ImprovedGUI_2
...
V0.6 improved gui 2
2020-01-17 22:14:49 +01:00
csoler
8941a19db9
fixed mistake that causes missing FeedItems for messages and posted
2020-01-17 21:22:39 +01:00
hunbernd
2b2a9f9a89
Merge upstream
2020-01-13 11:21:59 +01:00
csoler
f0921886db
fixed glitch in previous commit
2020-01-11 19:08:11 +01:00
csoler
6a4c98b2ed
allowed some clients to Event handler to register with type NONE, which means that all event types will be sent to the client
2020-01-11 19:01:43 +01:00
csoler
45e579c98f
fixed bug where notification was missing on creation of new post in forums, channels and posted
2020-01-11 17:00:01 +01:00
csoler
f76b81ba49
fixed compilation in jsonapi to cope with new event type field in registerEventHandler()
2020-01-11 16:10:28 +01:00
csoler
2bd5bb5a3e
fixed merge with master
2020-01-11 00:08:36 +01:00
Gioacchino Mazzurco
33c2f56a8e
Fixup jsonapi server stopping
2020-01-08 23:16:05 +01:00
Gioacchino Mazzurco
f12ec2b535
JSON API service and RsThread fixups
2020-01-08 14:24:46 +01:00
hunbernd
0e8b12ff9f
Merge upstream
2020-01-07 15:05:21 +01:00
Gioacchino Mazzurco
014b5255ed
Fixup windows build
2020-01-07 02:00:57 +01:00
Gioacchino Mazzurco
8718a442d1
Merge branch 'master' of github.com:RetroShare/RetroShare
2020-01-07 01:50:44 +01:00
Gioacchino Mazzurco
880a328c91
Fixup nested include in rsinit.cc
2020-01-07 01:50:17 +01:00
Gioacchino Mazzurco
b17738f668
Merge branch 'csoler-v0.6-SecNotification'
2020-01-07 01:19:08 +01:00
Gioacchino Mazzurco
babd2938c2
Print libretroshare version on init
2020-01-07 01:18:29 +01:00
Gioacchino Mazzurco
37b5d8f307
Fix few glitches in Cyril PR
2020-01-07 00:54:49 +01:00
csoler
c1e23099a0
improved the logic of incoming item handling a little bit: only check service id for items that are for us, and store items with missing keys in waiting queue
2020-01-06 22:23:07 +01:00
Gioacchino Mazzurco
c96223a2a8
Merge "Switched security items to new notification system #1735 " csoler-v0.6-SecNotification
2020-01-06 15:09:06 +01:00
Gioacchino Mazzurco
f4f7b8a1ea
Few fixes after rebase
2020-01-06 14:46:36 +01:00
csoler
b067b1402f
added queue for GRouter items that miss a signature key and auto-request of missing keys to friends when needed (simplified changes from PR~1697)
2020-01-04 20:39:43 +01:00
csoler
28ec7f5fb2
improved type definition for GRouter item flags (simplified changed from PR~1697)
2020-01-04 20:35:49 +01:00
csoler
e5d8600f25
Added the possibility to request identities to specific peers (simplified changelog from PR~1697)
2020-01-04 20:34:35 +01:00
csoler
b824bfc166
removed debug output in p3gossipdiscovery.cc
2020-01-01 18:01:53 +01:00
Gioacchino Mazzurco
df87fe53b1
Cleanup RsThread and related classes
...
Removed antipattern abstraction RsSingleJobThread
Rename runloop() method to run() in RsThread
Ported few classes ineriting from RsSingleJobThread to RsThread
RsThread use std::atomic instead of self implemented strange binary semaphores
Removed RsTickingThread::shutdown() use RsThread::askForStop() instead
Removed RsTickingThread::fullstop() use RsThread::fullstop() instead
Stop properly JSON API server in retroshare-gui
Centralize errno traslation to literal in util/rserrno.*
2019-12-30 10:38:54 +01:00
hunbernd
d49443caf3
Fixed bug preventing hashing files from file paths with special characters
2019-12-30 00:04:36 +01:00
csoler
c544b1da7c
changed RsEvents so that it takes event types when registering handlers, which limits the number of handlers called for each event
2019-12-29 13:50:54 +01:00
csoler
dc2f2f5eb4
fixed ambiguous variable
2019-12-29 13:49:56 +01:00
csoler
a469647386
replaced RsErr() by RsInfo() in pqissl when applicable
2019-12-25 19:24:52 +01:00
csoler
dc3624945f
fixed uninitialized memory read and inconsistent initialization of mReputationScore in GxsReputation
2019-12-23 11:52:32 +01:00
csoler
93cd6a5df1
fixed possible data race in mNotifications
2019-12-19 21:03:08 +01:00
Gioacchino Mazzurco
655582e970
Improve license according to REUSE 3.0
...
FSFE licensing checking program lint is now happy
$ reuse lint
* Bad licenses:
* Missing licenses:
* Unused licenses:
* Used licenses: AGPL-3.0-only, AGPL-3.0-or-later, Apache-2.0, CC-BY-SA-4.0, CC0-1.0, GPL-3.0-or-later, LGPL-3.0-or-later, MIT
* Read errors: 0
* Files with copyright information: 6324 / 6324
* Files with license information: 6324 / 6324
Congratulations! Your project is compliant with version 3.0 of the REUSE Specification :-)
2019-12-18 17:57:20 +01:00
csoler
3d7ae59df7
changed enum to enum class and made names globally more consistent for RsEvents
2019-12-17 21:41:21 +01:00
csoler
d7504c59b5
fixing compilation on Travis CI
2019-12-17 15:29:47 +01:00
csoler
baaa67d225
changed NO_ERROR enum into something less likely to collide with existing define
2019-12-17 15:16:24 +01:00
csoler
bdf5d0f753
changed RsGxsForumNotifyRecord into more appropriate RsGxsGroupNotifyRecord
2019-12-17 14:10:18 +01:00
csoler
a54cf981a6
fixed forum/channel subscribe notifications
2019-12-16 22:44:37 +01:00
csoler
11c520d280
replaced QString output of uniqueIdentifier() in feedItem classes by a std::string because QString caused random crashes
2019-12-15 16:46:22 +01:00
csoler
da6e7f9e9b
fixed conflicts with master
2019-12-14 18:27:41 +01:00
csoler
3a3fc25205
finished removing last AddFeedItem from msg, posted, forums and channels
2019-12-13 23:40:21 +01:00
csoler
4fe6e46410
added handling of channel, forum and posted events in GUI
2019-12-12 21:23:42 +01:00
csoler
eef5a5a8ef
added new events for circles
2019-12-12 00:00:51 +01:00
Gioacchino Mazzurco
2a0e1ab59d
Fix Android compilation
...
Fix also a couple of warnings and update build documentation
2019-12-11 01:25:14 +01:00
G10h4ck
d1b86400bc
Merge pull request #1695 from G10h4ck/gxs_invites
...
GXS groups links
2019-12-10 22:17:33 +01:00
csoler
27793627e3
moved GxsChanges to rsEvents
2019-12-09 22:19:03 +01:00
csoler
e402630095
attempt to fix thread race between rsEvents and TokenQueue
2019-12-08 21:34:52 +01:00
csoler
b6ca07aaa3
fixed bug caused by accessing Settings from non Qt thread
2019-12-07 22:26:26 +01:00
csoler
f118b4656e
moved more peer connection notifications to rsEvents
2019-12-07 21:43:28 +01:00
csoler
9790b98605
fixed "connexion refused by peer" message
2019-12-06 22:45:33 +01:00
csoler
bb10b82c8e
moved refused connect attempt event to RsAuthSslConnectionAuthentication
2019-12-05 23:43:38 +01:00
csoler
c48aff44b2
removed set/get CurrentConnectionAttemptInfo because it was both prone to error and useless
2019-12-05 22:12:36 +01:00
csoler
00c74f0956
moved rsevent for incomplete cert info to the right place so that it does not trigger when a connection from a non friend is denied
2019-12-04 22:24:11 +01:00
csoler
fcbecbaa16
fixed errors reported by review of PR1735
2019-12-03 21:28:44 +01:00
csoler
65fa54c206
using new notification system for connection attempts
2019-12-02 20:53:51 +01:00
csoler
b799f18df8
fixed early crash caused by calling rsBanList before it is initialized
2019-12-02 13:14:56 +00:00
felisucoibi
c9aab51c7c
Update hash_cache.cc
2019-12-01 23:01:20 +01:00
csoler
d8569d813c
switched security items to new notification system
2019-12-01 22:35:16 +01:00
felisucoibi
ff9c7774f2
Update hash_cache.cc
2019-12-01 12:28:52 +01:00
Gioacchino Mazzurco
610fedabb8
Fix JSON API related files licensing based on talk with Cyril and FSFE suggestions
2019-11-29 19:46:46 +01:00
Gioacchino Mazzurco
ba4af74a06
Add reminder to rsversion.h that no C++ includes are admitted
2019-11-28 18:22:01 +01:00
Gioacchino Mazzurco
5bf8792bc5
Fix windows compile due to rsversion JSON API
2019-11-28 17:41:03 +01:00
Gioacchino Mazzurco
6bae8237e1
TavisCI OSX add miniupnpc include and lib path
2019-11-28 16:01:47 +01:00
Gioacchino Mazzurco
722b1dbffc
Attempt to fix AppveyorCI
...
+ Cleanup macosx variables
2019-11-28 14:28:27 +01:00
Gioacchino Mazzurco
3bb42ca799
Fix wrong rapidjson include on Appveyor
2019-11-28 01:38:49 +01:00
Gioacchino Mazzurco
c73bdb83cd
Drop libresapi and modules that depends on it
...
A copy of the repository freezed before this deletion to ease old code
viewing is available at
https://github.com/RetroShare/zz_archive_RetroShare_libresapi
Removed some more cruft
Temporarly disabled JSON API generation of RsWebUi methods due to
compilation breakage when rs_webui is disabled, RsWebUi keeps working
but cannot be restarted from JSON API
2019-11-27 23:32:38 +01:00
csoler
9a24af87a4
Moved #ifdef RS_WEBUI inside RS_JSONAPI ifdefs so that the webui files cannot be requested unless jsonapi files are compiled
2019-11-27 21:14:20 +01:00
csoler
50529654f8
fixed compilation: both rs_jsonapi and rs_webui are needed to compile p3webui.h/cc
2019-11-27 20:24:56 +01:00
Gioacchino Mazzurco
1d4ca64dee
Prepare for merging
2019-11-27 18:44:10 +01:00
csoler
b1860d8682
fixed two warnings
2019-11-26 18:52:39 +01:00
csoler
3af234f4b0
added missing file
2019-11-26 14:00:20 +01:00
csoler
7aa51423a4
fixes required by review of pr1700
2019-11-25 22:16:32 +01:00
csoler
4a257614f1
merged with upstream/master
2019-11-24 18:38:50 +01:00
csoler
ef76b571c8
added missing restart
2019-11-24 11:04:26 +01:00
csoler
c7af86b4c1
using static resources for webui
2019-11-24 10:50:58 +01:00
csoler
c2d47b01df
added extra check when restarting rb service
2019-11-24 09:40:35 +01:00
csoler
52b0729b31
added missing pushback in resources
2019-11-23 21:51:56 +01:00
csoler
131d73cd11
added resources for local fonts in webui
2019-11-23 21:46:18 +01:00
csoler
d1a9f839a4
fixed restart of webui
2019-11-23 18:40:31 +01:00
csoler
b8b7d103e1
fixed compilation by modifying wrappers to account for the shared_ptr mService
2019-11-23 15:11:22 +01:00
csoler
009ed54ce2
changed layout of restbed/json/webui so that JsonApi is the only server (with thread functionality in a separate class) and webui is a resource provider
2019-11-23 00:17:17 +01:00
G10h4ck
f5bf093409
Merge pull request #1696 from G10h4ck/modern_cpp
...
Take advantage of modern C++ features
2019-11-21 17:46:53 +01:00
csoler
997501a24d
fixed retroshare_service with embedded webui
2019-11-17 22:01:49 +01:00
csoler
0fdbcf6b57
added dbg info
2019-11-16 23:37:23 +01:00
csoler
9491f1a78e
fixed interactions between webui and jsonapi in GUI
2019-11-16 18:19:07 +01:00
csoler
6878a7773d
fixed start/stop of jsonapi in GUI
2019-11-16 14:30:36 +01:00
csoler
a304ec20ef
converted JsonAPI with public api and using RestbedService system
2019-11-16 00:02:02 +01:00
csoler
3ca22f0052
created separate class for restbed services
2019-11-14 22:02:42 +01:00
csoler
a584b822a8
fixed typo
2019-11-13 21:54:11 +01:00
csoler
1b8f137dee
improved UI for jsonapi and webui pages
2019-11-13 21:35:57 +01:00
csoler
9007d266a8
fixed start/stop of webinterface from GUI
2019-11-13 21:06:20 +01:00
csoler
d19d1685de
made JsonApiServer an singleton through static method instance()
2019-11-12 22:32:18 +01:00
Gioacchino Mazzurco
ca6071fa21
fixup! Improve RsUrl
2019-11-11 23:49:06 +01:00
csoler
3b45fc5199
added user-based token management to jsonApiServer
2019-11-11 22:48:35 +01:00
Gioacchino Mazzurco
056904c90b
Improve RsUrl
...
Fix a bug in RsUrl::fromString eating one character when parsing URL
string with IPv6 host
Offer explicit conversion from sockaddr_storage
2019-11-11 11:17:13 +01:00
csoler
93376d3461
added (not yet working) password field
2019-11-10 22:39:21 +01:00
csoler
9dc78d66c1
fixed changing ports and restarting
2019-11-10 22:05:55 +01:00
csoler
3446f0b677
fixed a few bugs. First running version.
2019-11-10 21:29:26 +01:00
csoler
0103a741d6
updated default directory value
2019-11-10 17:56:04 +01:00
csoler
6603dbd913
code to embed webUI server in the main executable (initial version, not yet working)
2019-11-10 17:38:16 +01:00