Commit Graph

281 Commits

Author SHA1 Message Date
csoler
1a76bea6ff enabled bannign button in forums, and disable message passing for banned users 2015-10-11 21:41:35 -04:00
csoler
68ca57ce75 added removal of messages frm banned users 2015-10-10 18:27:15 -04:00
thunder2
4d7f92ecbe Removed unnecessary select of groups in RsGxsNetService::locked_genReqGrpTransaction. 2015-08-27 22:27:19 +02:00
thunder2
753846beaf Added count of requests and results to debug output in RsDataService::retrieveGxsGrpMetaData 2015-08-27 22:25:24 +02:00
thunder2
d118a13d5a Fixed adding of empty group id to notify when removing a group. 2015-08-27 22:23:04 +02:00
thunder2
4cc1df3c12 Ignore updates of not existing groups in RsGenExchange::processGrpMask.
Solves:
"Error code: no such column: subscribeFlagGXS_MASK_HACK"
2015-08-27 22:23:03 +02:00
thunder2
1a1a2aa11d Lowered update of server sync TS from 10 seconds to 60 seconds. 2015-08-26 20:23:10 +02:00
thunder2
389f2f0528 Removed delete of message files in RsDataService::resetDataStore. 2015-08-25 18:02:40 +02:00
thunder2
1fcae6155d Removed static defines for column numbers in RsDataService and replaced it with members. Initialized members when adding attributes to the select list. 2015-08-23 19:05:37 +02:00
thunder2
f30ed24a4a Moved gxs data from files into database
- Added update to RsDataService
- Added new table "DATABASE_RELEASE" to database

Advantages:
- Better performance because of the removed additional file access
- Transaction safety
- All groups and messages are stored in the database

Attention:
Please make a backup of your data folder before you try this version.
The first start of the application will update the database and can take a little bit longer. Once the database was converted the messages cannot be read by older versions of the application.
2015-08-23 13:41:59 +02:00
thunder2
3665238e61 Added new methods for transaction to RetroDb. 2015-08-22 11:34:11 +02:00
csoler
58c70ca93c moved [not] operator inside parenthesis. Does not change anything except improving readability 2015-08-21 20:46:34 -04:00
thunder2
384e7ba035 Reworked processing of requests in RsGxsDataAccess to prevent freezes of the gui. 2015-08-14 13:23:48 +02:00
thunder2
b1101ed429 Prevent selecting data from the database in RsGxsNetService::syncWithPeers without online friends. 2015-08-13 22:03:04 +02:00
thunder2
37316175c0 Fixed typo in debug output. 2015-08-13 22:02:25 +02:00
thunder2
caa97cce70 Added database name to the debug output in RsDataService. 2015-08-13 11:59:14 +02:00
thunder2
2a6b623300 Added extended debug outputs of times in RsDataService. 2015-08-11 23:19:37 +02:00
thunder2
442ec2337f Added index in database for column grpId in table MESSAGES. 2015-08-11 13:13:12 +02:00
thunder2
ab538c6d28 Avoid error messages "table already exists" in RsDataService::initialise by using "IF NOT EXISTS" 2015-08-11 13:06:12 +02:00
csoler
0873c0dfa2 added methods to check public/private keys for consistent fingerprint and content. Should be later used to check GXS keys when they arrive from neighbor nodes.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8613 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-07-31 17:23:43 +02:00
csoler
636635a8b8 disable update of group messages for IdService since it is unused and takes some bandwidth
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8572 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-30 08:12:51 +00:00
thunder2
c97dae0652 Removed potentially unintentional integer overflow in NxsBandwidthRecorder::recordEvent.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8566 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-28 12:13:56 +00:00
csoler
0b66b36a46 fixed memory leak in GxsSecurity
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8541 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-22 21:35:39 +00:00
csoler
49534d9efd commented out some debug info
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8501 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-16 19:11:07 +00:00
csoler
bb38ffbf14 fixed uninitialised memory read in RsGxsNetUtils
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8499 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-16 18:54:25 +00:00
thunder2
d5b2f7dd02 Fixed memory leak in RsGenExchange::publishGrps.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8458 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-14 23:14:13 +00:00
thunder2
8cc2c921ed Fixed memory leak in RsGenExchange::publishMsgs.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8457 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-14 23:04:54 +00:00
csoler
3f9180b999 fixed use of wrong variable in GxsGenExchange
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8440 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-14 15:08:04 +00:00
csoler
f360e9d0ba fixed password handling in deferred signature algorithm (in case of cancel, enter wrong passphrase, etc)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8423 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-12 21:04:11 +00:00
electron128
e37e3876a4 added virtual destructor to RsNetworkExchangeService (patch from Cyril)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8365 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-04 13:06:08 +00:00
csoler
20a2d42038 almost done with load/save of BanLists. Changed the item format to include masked_bytes, and changed subitem types. Also disabled code from rsgxsreputationitems.cc wich was a copy of the code from rsbanlistitems.cc
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8316 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-05-29 20:49:37 +00:00
csoler
e9b9dce9f5 created 2 subclasses of RsThread, one for ticking services, and one for single shot jobs. Now all threads use the same base code.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8288 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-05-22 20:54:38 +00:00
thunder2
69c1df7e2d - Removed randomly forced updating of GUI in RsGxsUpdateBroadcastBase
- Added group changed notify when visible count or suppliers count of a group has changed
- Fixed suppliers count

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8277 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-05-19 21:40:19 +00:00
csoler
13ff39429e * Renamed RS_TLVKEY_DISTRIB_PRIVATE into *_PUBLISH, as it is used as such.
* Allow to check signatures and validate groups using private keys in GxsSecurity
* removed inconsistency in key flags when full keys where mixed up with publish keys.

This should fix the following bugs:
* channel owners did not receive posts from other peers who have publish rights
* channels sometimes not gettign through



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8275 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-05-19 21:28:46 +00:00
csoler
4624d53dd7 simple hack to have non active groups gradually loose popularity and number of posts.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8225 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-05-09 11:29:31 +00: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
279cd3592e marked unimplemented methods in rsgxsnetservice.h
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8178 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-04-28 12:11:31 +00:00
csoler
3641a6c87c attempt at fixing crash that shoult not happen in rsgxsutil.cc
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8158 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-04-23 18:48:40 +00:00
csoler
057b2afa4e improvement of global router after first test phase. Fixed a number of bugs.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8141 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-04-18 19:59:27 +00:00
csoler
c9d5c7b3cb turned some std::list<PeerId> into std::set, as it automatically prevents duplicates
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8138 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-04-17 21:36:22 +00:00
csoler
e75b28b733 early check of too long group names (currently disabled)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8126 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-04-09 19:55:56 +00:00
electron128
28030f9b08 added missing delete in gxsnetservice
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8112 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-04-04 09:48:38 +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
electron128
2335290a56 added check for empty author id in gxs group creation
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8050 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-03-19 08:43:40 +00:00
csoler
9ed57f9daa added missing stamping of key and missing include
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8016 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-03-14 14:59:14 +00:00
csoler
48ea291d95 moved signature validation and encryption one level up into p3IdService. Added timestamp for GXS identities and auto-removal after 7 days. Updated display in IdDialog
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8015 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-03-14 14:33:23 +00:00
thunder2
b26c55126c Fixed missing notify of changed message ids to the gui.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8011 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-03-11 13:39:58 +00:00
thunder2
f6a1cbb3b2 Reduced locking time of mutex in RsGenExchange::processMsgMetaChanges and RsGenExchange::processGrpMetaChanges.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8005 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-03-08 23:12:57 +00:00
thunder2
8351510841 Receiving a shared key:
- Added notify of the group id and the refresh of the gui
- Added system message (create of message disabled)
- Added possibility to show a news feed item

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7926 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-02-08 01:01:48 +00:00
thunder2
83f2ee4c95 Fixed possible crash in the handle methods of RsGxsNetService when the dynamic cast of a received item fails.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7922 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-02-07 10:09:48 +00:00