csoler
6cb37ac478
fixed debug info
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6209 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-03-11 20:46:18 +00:00
csoler
400f9f63d8
added/fixed some debug info
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6208 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-03-11 20:44:23 +00:00
drbob
123d4a630b
Major commit of progress on new GxsServices (Channels and Posted). These are not complete yet!
...
- Reorganisation of p3posted, stripped out lots of previous stuff.
- Converted p3posted to use GxsComment system.
- Disabled much of the DummyData - switch it on manually when testing.
- Added Basics of ChannelPost processing for AutoDownload. (incomplete).
- Added GxsCommon backend for RsGxsImage and RsGxsFile.
- Completed Serialiser for GxsChannels.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6207 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-03-11 20:40:28 +00:00
csoler
4b9087b60d
removed dead-end for peers not answering downloads, that would get file cache transfers to get stuck indefinitly when peers are too much stressed for a short period. The offline state is entirely given by setPeerState()
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6206 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-03-11 20:33:49 +00:00
chrisparker126
12172e3acc
Added PGP GxsId signature creation
...
group creation operates on a 10 second timeout rather than number of attempts
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6205 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-03-11 16:04:25 +00:00
csoler
7c0fb5eced
fixed other uninitialized memory read
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6204 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-03-10 22:48:47 +00:00
csoler
4e4e81fa8e
fixed uninitialized memory read in debug statement
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6203 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-03-10 22:29:25 +00:00
csoler
22befbfdf4
fxed uninitialized memory read in p3NetMgr
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6202 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-03-10 22:21:07 +00:00
chrisparker126
bc8c569db3
Added group validation code.
...
Tested and seems to work fine
Reverted back setAuthenPolicy static function to overwrite semantics and modified wiki and channels policy to equivalents statements
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6201 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-03-10 15:08:04 +00:00
chrisparker126
83ec723d8d
Added group signature creation
...
Added return values for deferred sign function in identity and circles
Not ready for deferred sign testing yet
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6199 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-03-08 19:55:59 +00:00
chrisparker126
23209c8c45
handled validation/sign of message when key not available
...
(set for 5 attempts before message is dropped)
moved rstokenservice.h to retroshare interface folder
groups do not sync anymore unless user is subscribed to it
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6194 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-03-06 23:33:23 +00:00
drbob
d39460bec0
Fixed service_type => 16bits in gxscomments.
...
Removed OLD RelatedMessage() data checks - which we killing comment tree.
Added debug indicating comment / vote counts.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6191 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-03-04 22:47:32 +00:00
drbob
0f78719d7f
added missing checks for deserialisation success.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6190 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-03-04 22:43:55 +00:00
drbob
c2150768db
Fixed up a couple of serialiser bugs.
...
- service_type is 16bit.
- missing return statement.
- added a bit more debugging too.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6189 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-03-04 22:42:32 +00:00
drbob
22782e5edd
Adding Basics of GxsChannel Service into libretroshare.
...
This includes a generic CommentService, which will be used by other Services.
+ Bugfix, gxs service threads were started before global variables were set.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6186 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-03-04 20:26:48 +00:00
csoler
4c3905e257
simplified the chunk drawing code a little bit
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6177 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-03-01 23:41:42 +00:00
csoler
1fb605cfa9
fixed stupid bug causing streaming mode to get stalled
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6176 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-03-01 23:16:09 +00:00
csoler
9b01e3658d
implemented deferred signature method in notify system to alow signing from a non GUI thread
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6175 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-03-01 23:00:43 +00:00
csoler
4d6ca28e53
fixed bug (Plz drbob & chris, check this one)
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6173 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-03-01 19:03:55 +00:00
csoler
1efaa6d5ab
added 2 missing return statements
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6172 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-03-01 19:01:11 +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
csoler
4f1dda2ffb
added new DL mode: Progressive. This is a random mode that ensures no more than 50MB of free space will be written in the file at once. This should effectively remove the lag when initiating a DL on a big file, while keeping enough entropy to ensure a good dissemination of chunks
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6164 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-02-28 20:42:01 +00:00
drbob
ea8d71ee71
Fixed AuthenFlags ...
...
There were a couple of issues.
- Setting function was wiping other flags. This is fine - if known - but not how we were using the fns.
- Offsets were just wacky!
Added some more debugging so we can know if/why a message is not being created.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6162 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-02-27 22:51:58 +00:00
drbob
c13192b4c3
Fixed up validate / create Signature logic.
...
Added comments about missing re-try for Keys that are not in Cache.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6159 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-02-27 21:20:00 +00:00
drbob
ebce79f9fa
More disabled debugging.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6158 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-02-27 21:18:36 +00:00
drbob
65e3f02bb0
Added #defines to disable much debugging statements.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6157 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-02-27 21:16:03 +00:00
csoler
5b4739352e
added dynamic menu for choosing download directory for files being transfered, and change the name of the destination file
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6156 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-02-27 16:59:16 +00:00
csoler
5646e29357
added auto-check of shared files after each download. If that causes too much activity, we will make this a option that in on by default
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6154 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-02-27 10:03:54 +00:00
drbob
61c3afe56d
moved GXS Macros (e.g. IS_GROUP_SUBSCRIBED) to gxsflags so they can be used by all gxs services.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6149 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-02-26 23:34:42 +00:00
csoler
c117078566
removed debug info
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6139 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-02-23 12:53:20 +00:00
chrisparker126
d6c34f1b74
Fixed sign validation. request not reachable in previous logic
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6129 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-02-16 10:51:00 +00:00
chrisparker126
21dd979ba8
Fixed for duplicate messages ending up in db, set msgId and grpId as primary keys in message and group table respectively in db when created
...
Please delete your TESTNET folders so a keyed db is created
few additional fixes
- did create id list for meta request in dataservice
- possible fix for uninitialised values for rsdb
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6123 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-02-12 21:45:30 +00:00
thunder2
7413bdc50c
Fixed crash in RsDataService::retrieveNxsGrps
...
- accessing a deleted iterator.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6121 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-02-10 23:28:06 +00:00
chrisparker126
73ff746773
Passed RsGixs to forums to enabled authentication
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6119 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-02-10 18:41:15 +00:00
drbob
6cd9faf3ab
added AuthenPolicy code for p3wiki.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6118 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-02-10 17:52:50 +00:00
chrisparker126
bf5981e8b4
Added authentication policy and policy function for gxs forums
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6117 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-02-10 17:41:30 +00:00
drbob
39a7942337
switched off gxs again
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6116 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-02-10 17:35:57 +00:00
drbob
a77fa5a8d1
revert back to saving public key always.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6115 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-02-10 16:50:30 +00:00
drbob
81307de7c9
Added flag to disable dbase reset, and disable dummy data creation.
...
This also switches to alternative test data path - to ensure it will be empty.
Fixed bug in p3idservice related to dummy id creation.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6114 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-02-10 15:40:07 +00:00
chrisparker126
7867063734
Fixed resource exhaustion due to message/group notification not being handled
...
Added message/group size limit
Added message validation (identity and publish key)
Added code for message/grp fragmentation/defragmentation (not integrated yet)
Added crude id picker to photoshare
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6106 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-02-07 23:04:16 +00:00
thunder2
97d0348f23
Added patch from AsamK:
...
- Fixed compile on 64 bit by removing an unnecessary cast to va_list
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6086 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-01-23 13:19:05 +00:00
csoler
62a22fe0fe
added patch from bNK to make glib include dir detected on all linux systems. Removed warnings about gpgme and gpg-error, which have no reason to stay now.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6084 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-01-22 20:43:48 +00:00
thunder2
ef49000b9a
FeedReader:
...
- Added error handling to xml functions
- Added xslt transformation
- Added retransform of existing messages
- Redesigned preview dialog
- Enabled embed images for forum feeds
- Changed config format, switching back to an older version results in a loss of all data of the FeedReader
Added new base class RSPlainTextEdit with placeholder text.
New library libxslt needed
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6081 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-01-22 00:11:43 +00:00
csoler
e7536960c3
- fixed inconsistency in parameter naming, causing error_string to be mixed up with gpg id (Not a bug).
...
- removed unimplemented entry loadCertificateFromFile()
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6075 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-01-19 13:43:35 +00:00
thunder2
a60422069c
Added api for news feeds to the plugin interface.
...
Added news feeds to the FeedReader plugin.
Recompile needed.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6066 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-01-08 22:07:52 +00:00
csoler
24a40fc665
- make addFriend a virtual (pure) function of the abstract p3LinkMgr class. Useful for testing.
...
- updated test notes.
- patched netsetup_test and upnpforward to run correctly.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6051 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-12-27 21:18:16 +00:00
csoler
b2214fcd46
removed #ifdef USE_NEW_CHUNK_CHECKING_CODE, since it is enabled by default now. Also removed the use of assume_availablility to put chunks or not in checking mode. This was inconsistent. As a side effect, cache files of size > 1MB get chunk-checked as well, which is good
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6050 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-12-27 21:16:33 +00:00
csoler
c11c602568
fixed auto-test results
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6049 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-12-27 18:09:07 +00:00
csoler
3ff9ff9a14
added missign file
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6048 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-12-27 18:05:17 +00:00
csoler
05df11117c
fixed auto-tests in pgp directory
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6047 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-12-27 18:02:15 +00:00