Commit Graph

40 Commits

Author SHA1 Message Date
drbob
9a90ef694e [TheWire] update GroupPtrs
Ensure all possible GroupPtrs are filled in on Pulse Data Requests.
 * Expand Id collection to include all the additonal RefGroupIds.
 * Perform intersection(available IDs, pulse GroupIds) before retrieving
 * Iterate over pulse tree and update GroupPtr references.
 * Enable GROUP_IDS gxs data fetches.
2020-08-07 18:12:06 +10:00
Gioacchino Mazzurco
aef87fb1f8
Multiple improvements in debugging helpers
Add variadic style macro helpers that make debugging code disappear completely
  (also the paramethers evaluation) when debugging level is lower
Chained style << is now atomic like variadic style, still can't benefit
  of paramethers eveluation stripping
Reduced to minimum the difference between Android and other platform
  debugging code
Port debugging code to new helpers, expecially a few corner cases to
  test it, and as examples of how to use it.
2020-06-01 00:53:58 +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
Gioacchino Mazzurco
2a369cb785
Fix noisy compiler warning 2020-04-14 12:26:21 +02:00
Gioacchino Mazzurco
ce5f5faa97
Fix Android compilation after rebase on master 2020-04-14 12:24:57 +02:00
csoler
a8f94f9d74
cosmetic changes: std::cerr=>RsErr(), __PRETTY_FUNCTION__, removed debug flags, etc 2020-04-12 14:00:29 +02:00
csoler
c60f1d1331
fixed merge with upstream/master 2020-04-08 10:41:47 +02:00
csoler
ebee69df96
fixed up display of GroupStatisticsReq and moved priorities to RsTokReqOptions 2020-04-07 22:42:01 +02: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
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
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
6c1f09a53b
completely removed TokenQueue from GxsGroupDialog and GxsGroupFrameDialog 2020-03-22 21:47:14 +01:00
csoler
1a9ac16546
fixed bug due to missing iterator increment 2020-03-19 21:20:52 +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
ab2c1f23e9
attempt to solve GXS data access problems in new blocking API 2020-03-07 20:39:10 +01:00
csoler
f8d07a3e92
switched to more reasonnable timeout values in waitToken 2020-03-01 13:45:07 +01:00
Gioacchino Mazzurco
6f3d842d30
Implement GXS group base64 public data export
Link to GXS group is a concept that is useful for almost all GXS based
  services, gen exchange now provides method to facilitate the
  implementation of group links at service layer.
Move waitToken in token service interface.
2019-10-29 09:30:51 +01:00
Gioacchino Mazzurco
9ad79f0c89
Improve documentation 2019-04-10 21:10:21 +02:00
Gioacchino Mazzurco
ab80d9a374
Fix compilation, retrocompatibility and enums
Workaround miss-behaviour on old Android phones
Cleanup indentation a bit
Consistent param naming
Introduce default parameter values also for output paramethers
2019-04-05 01:43:23 +02:00
Gioacchino Mazzurco
ea7773f86d
Refactor RsReputations for compatibility with JSON API 2019-02-15 15:29:36 -03:00
csoler
602bc36eec
fixed missing licenses in libretroshare 2018-11-11 14:24:47 +01:00
Gioacchino Mazzurco
15f39129f1
Complete GxsChannels JSON API with blocking methods
RsGxsIfaceHelper::requestStatus expose it to JSON API
Implemented RsGxsIfaceHelper::waitToken to wait for GXS operations
RsItem::serial_process fix doxygen warning as it's a comment not documentation
RsTypeSerializer add JSON conversion methods for double [de]serialization not
	implemented yet
RsTypeSerializer_PRIVATE_{FROM,TO}_JSON_ARRAY fix doxygen warning as it's a
	comment not documentation
make GxsChannels::ExtraFileHash a bit more reasonable
jsonapi-generator fix unused variable warning if there is no input or output
	paramethers
jsonapi-generator fix generation for inerithed jsonapi methods
Convert to RsSerializable some Gxs structs for the JSON API
2018-06-26 13:20:24 +02:00
Gioacchino Mazzurco
d731b665db
Expose tokenservice methods trough GxsIfaceHelper 2018-06-25 10:44:39 +02:00
csoler
742a7648a4 added display of warning for non forwarded posts 2016-12-26 15:59:53 +01:00
csoler
7afb91d1db added machinery to allow to set/get sync and store periods for GXS groups 2016-12-05 22:14:48 +01:00
electron128
451718660a show gxs message store period in gui, set forums store period to one year
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8206 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-05-02 18:48:10 +00:00
electron128
6dff335515 use notify for gxs events. Removed the previous polling based system. Now multiple clients can receive gxs changes. This also fixes the always growing changes queue in rs-nogui.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8057 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-03-20 10:39:17 +00:00
thunder2
301e8e7019 Fixed memory leak in request handling by adding a destructor the the request classes derived from GxsRequest and delete the result.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7876 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-01-25 23:22:58 +00:00
thunder2
60a67846b0 Added notify of meta changes to RsGenExchange
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7428 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-07-04 21:51:17 +00:00
chrisparker126
0f29d28b1b merge of branch v0.6-idclean 7180
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7187 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-03-17 20:56:06 +00:00
chrisparker126
15af443c31 Added reputation filtering to genexchange and reputation threshold setting function
- NOTE: you will lose all data with this build, new db schema
Checked into wrong repo folder on previous commit

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7147 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-02-23 00:08:11 +00:00
chrisparker126
325fa4f222 merging gxs_phase2 branch
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6401 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-06-04 21:00:43 +00:00
chrisparker126
d6328c8123 more GXS changes for phase1
clean up now on by default
- unsubscription from group also leads to message clean up
- check for keep flag

added functions to retrieve stats 
- not active yet

fixed forum authen flag 
- do not need author to create group
- also policy variable not initialised correctly

added KEEP and DELETE flag 

improved GXS resilience to peers sending NULL grp/msg binary data for deserialisation (peers could crash other peer by sending empty RsTlvBinaryData)

rstokenservice iface affected so full recompile recommended

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6274 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-03-23 14:07:52 +00:00
chrisparker126
50c75de73c Refactored GXS interface to remove exposure to RS internals (i.e. only reference types, declaration in retroshare folder)
To achieve this I created second interface RsGxsIface which RsGxsGenExchange derives from, and RsGxsIfaceImpl (renamed RsGxsIfaceHelper) now takes an instance of this instead so these interfaces don't exposed the RsGenExchange and its underlying types. 

The other stuff is simply definitions and type aliases required for the front-ends to work (RsGroupMeta, RsGroupId, etc) and I've moved gxs flags also. 

This is a good idea as it seem much more clear what's available to a GXS service (apart from RsGenExchange public methods).  


git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6166 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-02-28 21:58:38 +00:00