Commit Graph

5523 Commits

Author SHA1 Message Date
csoler
5e62f6c0c5 added serialisation/deserialisation and handling of generic tunnel data items
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-GenericTunneling@6295 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-04-06 13:58:27 +00:00
csoler
6760b35ae6 fixed a few bugs related to previous commit
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-GenericTunneling@6294 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-04-06 13:16:54 +00:00
csoler
0abb21d962 Added ability for turtle router to take client services
- new class RsTurtleClientService, from which should inherit the services
- turtle serialisation takes client services for deserialising
- added a client to p3turtle::monitorTunnels()
- added a generic turtle item to pass on arbitrary data

Moved ftServer as a subclass of RsTurtleClientService. 
- moved file transfer items that inherited from RsTurtleGenericTunnelItem into a separate file
- moved deserialisation triage into ftServer
- moved sending/receiving methods in ftServer (much less code, much more consistent!)

One bug remains: the TR cannot work as a server.

Changes should be 100% backward compatible.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-GenericTunneling@6293 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-04-06 09:21:01 +00:00
csoler
270abcdc94 - removed _sharing_strategy and the methods that go with it, as its behavior is handled by the sessionEnabled() method
- added generic tunnel data item, along with item priority consts. Serialization still missing.
- added new class for turtle client services, and entry point methods.
- removed file name and file size ffrom _outgoing_file_hashes and _incoming_file_hashes. They are not needed.
- changed some names to more generic ones.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-GenericTunneling@6285 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-04-01 21:18:58 +00:00
csoler
3bf08d809b created branch to open tunneling to other services
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-GenericTunneling@6284 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-03-30 15:12:54 +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
c5a323f3cc GXS Improvements:
- Added Basic CreateCircle Dialog.
 - Fixed up subscribe in both Posted and GxsChannels, tweaks to GxsForums too.
 - added update checks in GxsChannels.
 - made subscribe changes refresh Group List too.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6277 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-03-24 16:29:08 +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
3a8c9ad496 fixed bug in deferred signature code, due to thread copy+write mechanism
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6271 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-03-22 21:59:27 +00:00
defnax
1c27366cfa update changelog
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6270 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-03-22 16:44:18 +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
csoler
263c15d6bd removed debug output
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6266 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-03-21 20:55:07 +00:00
csoler
fad59e4de3 Better chat lobby layout for small screens (patch from AC)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6265 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-03-21 20:32:04 +00:00
csoler
ff5fde090c added adaptive factor to force convergence of network graph
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6264 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-03-21 20:19:43 +00:00
csoler
b913c8ae4f made one additional string translat-able
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6263 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-03-21 12:00:29 +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
thunder2
3f0b21b396 Updated languages from transiflex.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6261 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-03-20 21:28:29 +00:00
csoler
c1576d4ad2 updated ubuntu changelog
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6260 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-03-20 21:00:38 +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
eca77205de fixed typos (patch from Henry Morgan)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6257 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-03-20 14:22:42 +00:00
csoler
214100be7d updated english translation strings
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6256 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-03-19 22:35:46 +00:00
thunder2
60e617150e Set initial size of the chat lobby splitter.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6255 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-03-19 22:34:30 +00:00
csoler
0b7f836eb1 removed debug info
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6254 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-03-19 21:45:13 +00:00
csoler
64c5a7ece2 patch from AC to improve the list of participants in chat lobbies
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6253 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-03-19 21:37:38 +00:00
csoler
6e3a388f52 allow to unselect "create new identity" when the keyring is empty. This makes the Import Identity button appear
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6252 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-03-19 21:18:49 +00:00
csoler
1353cd3411 restored the profile manager, but only kept the export button
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6251 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-03-19 21:10:54 +00:00
csoler
9348310f79 attempt at fixing layout in chat lobby widget
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6250 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-03-19 20:49:24 +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
1500fda2fd clicking on download for channel item marks the item as read
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6248 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-03-19 20:32:46 +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
ef240cc6f0 removed column 1 and 2 of lobby lists. Put the info in tooltip => space gained. Enabled sorting in lobby list
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6244 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-03-19 19:46:39 +00:00
csoler
bffef991d8 fixed bug showing time shift warning multiple times. Removed the time estimate from the message
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6243 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-03-19 19:37:26 +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
a850b18be2 renamed Security page Profile. Disabled profile manager for now, since generating a new profile while RS is running corrupts the current session. More work is needed to make the profile manager usable which RS is running.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6241 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-03-18 14:16:22 +00:00
csoler
2cd709d4bf updated english ts file
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6240 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-03-18 14:04:28 +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
813a8fad34 - Moved the created GxsIdRSTreeWidgetItem from the forum fill thread to the main thread so the signal to fill the id can be processed.
- Removed QTimer from GxsIdTreeWidgetItem and GxsIdRSTreeWidgetItem.
- Added new tick signal (every second) on Rshare to fill the id.


git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6238 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-03-17 16:31:30 +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
csoler
85aaebe576 re-enabled context menu in chat lobby list
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6236 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-03-17 15:03:21 +00:00