sehraf
1b29e81e89
convert RSDHT_RELAY_MODE_ to enum class
2020-02-19 18:57:28 +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
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
csoler
a9f24c85a0
Merge pull request #1774 from G10h4ck/json_api_improvements
...
JSON API improvements
2020-02-07 23:16:04 +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
81c1eb227c
moved file hashing and download count to new notification system
2020-01-30 23:02:23 +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
841ba9e579
added some missing notifications in circles dialog
2020-01-28 22:22:04 +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
1370d1417e
Merge pull request #1756 from csoler/v0.6-GRouter
...
[WIP] V0.6 GRouter
2020-01-18 13:55:29 +01:00
csoler
2bd5bb5a3e
fixed merge with master
2020-01-11 00:08:36 +01:00
Gioacchino Mazzurco
f12ec2b535
JSON API service and RsThread fixups
2020-01-08 14:24:46 +01:00
Gioacchino Mazzurco
014b5255ed
Fixup windows build
2020-01-07 02:00:57 +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
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
e5d8600f25
Added the possibility to request identities to specific peers (simplified changelog from PR~1697)
2020-01-04 20:34:35 +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
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
3d7ae59df7
changed enum to enum class and made names globally more consistent for RsEvents
2019-12-17 21:41:21 +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
a54cf981a6
fixed forum/channel subscribe notifications
2019-12-16 22:44:37 +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
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
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
bb10b82c8e
moved refused connect attempt event to RsAuthSslConnectionAuthentication
2019-12-05 23:43:38 +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
d8569d813c
switched security items to new notification system
2019-12-01 22:35:16 +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
722b1dbffc
Attempt to fix AppveyorCI
...
+ Cleanup macosx variables
2019-11-28 14:28:27 +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