Commit Graph

5724 Commits

Author SHA1 Message Date
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
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
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
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