Commit Graph

2229 Commits

Author SHA1 Message Date
csoler
86ebfc5d2b calling the right function to get permission flags
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6298 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-04-08 19:55:21 +00:00
csoler
bc463a0f81 fixed remembering flags for own id, tentatively fixed service perm bug
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6292 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-04-05 21:11:27 +00:00
chrisparker126
9a37bde4c8 user test version
- disabled circles and photoshare

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6291 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-04-04 17:23:10 +00:00
csoler
7c34736f56 removed debug output (pritned only once now)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6290 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-04-04 13:14:59 +00:00
csoler
3e86fc0640 removed unnecessary debug output
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6289 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-04-04 13:12:00 +00:00
csoler
970e83ead3 fixed bug in p3peer.cc not calling the correct method
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6288 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-04-04 13:10:26 +00:00
csoler
8399ce82ee added missing mutex, and warnings if permission flags methods are not called with correct ids
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6287 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-04-03 22:50:50 +00:00
chrisparker126
c2512318a3 removed deleted function, caused compile error
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6286 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-04-03 21:12:25 +00:00
csoler
ee54247cc2 fixed bug that would reset service permission flags when discovery is enabled and discovery info is received
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6283 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-03-28 19:48:45 +00:00
drbob
80bf2f7a39 Reviewed and corrected authenPolicies.
Made authenPolicies + Identity mandatory for all services.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6279 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-03-24 19:21:30 +00:00
drbob
c9a8c0e4ec fixed up function signature for subscribeToGroup() was missing token reference.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6278 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-03-24 16:32:20 +00:00
drbob
42c6a9282a fixed up subscribe Macros and fn for channels.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6276 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-03-24 15:56:21 +00:00
chrisparker126
84fe53b611 forgot to change default storage and clean up period
- 1 month default message storage period
- cleanup period every 5 minutes
- suggest devs lower this to 5 minute store period and 1 minute cleanup period to test out.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6275 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-03-23 14:13:15 +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
csoler
404e9362dc added the ability to produce raw signatures, without signer id nor time stamp
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6273 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-03-22 23:54:54 +00:00
csoler
ae49bbc1ac added more debugging info in pgphandler
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6272 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-03-22 22:01:58 +00:00
csoler
e4c3415ab9 fixed saving of default chunk strategy. Progressive mode was not saved
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6269 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-03-22 12:14:48 +00:00
drbob
3c713f951d Added extra debugging for PGP signing.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6268 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-03-22 00:47:10 +00:00
chrisparker126
3ed2e471b6 fixes for message clean-up, code now working.
can be enabled with #define GXS_CLEAN_UP, default message store period set
to 1 day, cleaned every 3 minutes. Does not comply fully with spec yet (does not use msg not delete flag)


git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6267 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-03-21 23:17:24 +00:00
chrisparker126
f0e0b85637 Code for message cleanup (inactive), message store period param added to RsGenExchange
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6262 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-03-20 22:26:24 +00:00
csoler
72da514e0a fixed auto DL for own channels. Apparently the channel status is missing for this special case.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6259 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-03-20 20:34:03 +00:00
csoler
6121e613eb removed compilation warnings
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6258 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-03-20 20:25:13 +00:00
csoler
ace83e9ed5 removed debug info
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6249 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-03-19 20:35:00 +00:00
csoler
2dcc35d979 further remove of debug info
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6247 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-03-19 20:21:20 +00:00
csoler
87842640e1 removed debug output
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6246 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-03-19 20:16:40 +00:00
chrisparker126
83e41eb04c Fix for channel bug: used service id twice
Fix for posted lock-up/rsgenexchange bug: did not release after try lock
Removed erroneous use of subscribe_admin to mean subscribed (subscribe_subscribe) in gxsnet

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6245 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-03-19 20:13:13 +00:00
csoler
7f53f0e0cc added consistent detection of time-shift in chat lobbies. Shows a warning when the shift is larger than 2^9 seconds (approx. 10 minutes. Warning shown only once).
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6242 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-03-18 23:19:37 +00:00
csoler
f60f3627bb dropping chat lobby messages from more than 10 minutes in the future (sorry Marty)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6239 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-03-17 23:26:26 +00:00
thunder2
c74a36fff8 Fixed memory leak in RsGenExchange::processRecvdGroups when group could not be deserialised.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6237 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-03-17 15:46:05 +00:00
thunder2
0e10205c0b Renamed VoteHolder constants to avoid compile problems under Windows because of doubled defined name ERROR when including wingdi.h.
Added missing files GxsFeedItem.* to retroshare-gui.pro.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6235 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-03-16 17:20:56 +00:00
chrisparker126
ea2788b2d2 Updated gxs net test
tested fragmentation with 1 item coalesion
created groups now have admin/subscribed/publish flag (no publish optimisation yet)
was incorrectly apply group_subscribe_mask to group subscribed, using correct mask now. Added comments clarifying purpose of subscribe_mask
Implemented fragmentation but placed under preprocessor flags for phase 2. 



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6234 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-03-16 16:44:33 +00:00
csoler
206b230f33 fixed bug in dummy circles generation code
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6233 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-03-16 13:37:39 +00:00
drbob
211596e88c tweaks for GXS test network.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6232 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-03-16 12:47:31 +00:00
drbob
a4aa011207 GxsChannels are basically complete now!:
- Fixed up Automatic downloads for GxsChannels. 
 - Tweaked GXS backend to make Meta Changes happen before requests.
 - Added some new Macros.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6231 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-03-16 12:31:31 +00:00
drbob
5dac882572 updating svn version for release.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6229 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-03-16 12:13:09 +00:00
drbob
1f6d6a4fc2 Added backend support for Comments.
- Single Vote per comment checks and balances added. 
 - Fixed up RsGxsImage stuff. (TODO move to proper REF counted Image).
 - Added GxsTokenQueue ticks were required.
 - Made GenExchange publicToken() fns  public, so that comments can use them.
 - Added OwnVote details to Comments 



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6224 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-03-15 20:46:49 +00:00
defnax
de9ec4776e update version
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6223 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-03-15 11:36:20 +00:00
csoler
79cef5704e updated revision string to 0.5.4e
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6222 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-03-14 20:14:51 +00:00
drbob
b9f2708927 Improvements to Comment Handling and GxsChannels.
- Added Vote dummy data into channels.
 - Fixed up RsGxsImage handling to avoid memory issues - need to switch to shared_ptr later.
 - Added "BestScore" calculations into Comments - not sure if the maths is right.
 - Added Hashing interface to Channels.
 - misc bugfixes.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6218 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-03-13 00:24:57 +00:00
csoler
4c670e81f0 removed debug output from ftcontroller
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6216 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-03-12 17:44:00 +00:00
csoler
7fcdedea27 further reduced TR forward probability so as to avoid a crazy increase of TR out when we have a large number of friends
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6213 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-03-11 21:32:32 +00:00
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