Commit Graph

5350 Commits

Author SHA1 Message Date
drbob
5a1115e6e4 * Updated message definitions.
- only base & peers are vaguely complete, the others are work in progress.
	- gxs is a crazy idea: to expose the generic gxs interface, so anyone can write an external GXS service.
 * Added Makefile to generate python and c++ code.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-gxs-b1@5462 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-08-23 15:44:04 +00:00
drbob
b67f66faa0 Put the first rpc service into action. (untested though).
* Added functions to split up MsgId into Extension / Service / SubMsg.
 * Updated the generated code.
 * Switched on compilation too.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-gxs-b1@5461 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-08-23 15:20:43 +00:00
drbob
ccb43660a8 First bits of the RPC Protobuf Service. Doesn't compile yet - this is just a check-point checkin.
* Added generated protobuf code in proto/gencc
 * Added rpcprotopeers.h : Interface for getting/modifying peer information.
 * Added Stuff to .pro file. (disabled at the moment)
 * tweaked update times for SSH Menu, as they were too slow.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-gxs-b1@5460 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-08-23 14:04:01 +00:00
drbob
9a24b16226 Adding Ralf's patch to add Shared Directory control to SSH Menu Interface.
* Adds Shared Dir SubMenu with Add, Toggle Flags, Remove Shared Dir Commands.

I tweaked it a bit:
 * Changes the Add Command to not use std::stringstream (as Windows don't like it!)
 * Added Check that the directory exists.
 * Changed Virtual Folder name to the top directory from the path.

Still to do on the SubMenu;
 * Listing should be updated if a Share is Added/Removed.
 * Descriptions are too long, should be changed to short descriptions: Add Share, Toggle Browsable, etc.
 





git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-gxs-b1@5459 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-08-23 13:52:37 +00:00
thunder2
e00f64450b Fixed problem with single click on a systemtray icon in Qt 4.7 or above running on Windows XP or lower
- before Qt 4.7.0 the message MYWM_NOTIFYICON/WM_LBUTTONUP was handled to emit activted(QSystemTrayIcon::Trigger)
- after Qt 4.7.0 the message MYWM_NOTIFYICON/NIN_SELECT is handled. This message is not sent in Windows XP

Solution: set an event filter and modify the message from WM_LBUTTONUP to NIN_SELECT

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5458 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-08-23 00:15:59 +00:00
thunder2
70cbd3c84d Cleaned some ui files.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5457 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-08-22 13:44:23 +00:00
thunder2
28def71b4e Added clear chat history to the context menu of the message text browser.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5456 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-08-22 08:19:46 +00:00
thunder2
f2072e9522 Removed some unnecessary style sheets.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5455 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-08-21 23:54:39 +00:00
thunder2
4ad73afbad Removed some unnecessary style sheets.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5454 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-08-21 23:15:27 +00:00
chrisparker126
0d9a74d5b6 added contentvalue src in pro file
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-gxs-b1@5453 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-08-21 22:31:44 +00:00
chrisparker126
6dd18eea46 seperated content value from retrodb
added local meta changing fucntionality to gxs 
also added msgrelated info id retrieval to tokeservice


git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-gxs-b1@5452 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-08-21 21:32:07 +00:00
defnax
a39ad6841a Set correct font size
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5451 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-08-21 15:32:17 +00:00
defnax
b2b09de8df set a minimum margin for the Description Label
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5450 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-08-21 15:15:11 +00:00
defnax
8db73ff27d Added a new GroupBox for bether look
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5449 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-08-21 13:52:14 +00:00
thunder2
1cefe1123a Removed some unnecessary style sheets.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5448 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-08-21 13:02:44 +00:00
defnax
0498db0d46 Added a header to Friend Details
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5447 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-08-21 12:29:43 +00:00
defnax
3a75ccde09 redesign the Create Lobby Dialog
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5446 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-08-21 11:15:46 +00:00
drbob
8a7c011c5d Added Directory structure for new rsctrl protocol.
* see NOTES.txt for how to implement it.
 * protobuf definitions are in rsctrl/src/definition

This does not compile yet, and just early thoughts.
Suggestions and help developing this are welcome.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-gxs-b1@5445 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-08-20 18:59:13 +00:00
drbob
bb10b6b400 Added first version of RPC system for external control of retroshare-nogui.
The protocol message format is as follows: 
	[HEADER: 16 bytes: 4 x Network Order uint32_t][ VARIABLE LENGTH BODY ] 

	[ MAGIC_CODE ] [ MSG_ID ] [ REQ_ID ] [ BODY_SIZE ] [ ........ BODY ......... ]
	MagicCode = 0x137f0001 ... this will be incremented for new versions of the protocol.
 	MsgID = Corresponds to the format of the Body.
	ReqID = Generated by Requester, Returned in Response, make sure its unique. (undefined behaviour for duplicates)
        BodySize = Byte Length of Body.

	The Body will consist of a protobuf encoded message.

For the moment, the RPC server just ECHOs the request back to the sender - for testing purposes.

Usage:
 * Create SSH connection to retroshare-nogui.
 * Create Request Message(s), and send over SSH channel - You can send as meny requests as you want. 
 * They will processed, and responses sent back (potentially in an arbitary order).

Specific Changes here:
 * Modified rssshd to support arbitary recv/send applications. (interface is RpcComms).
 * Added rpc directory, with server, setup and echo service.
 * Modified Menu System to use the new interface to rssshd 
 * Wrote new matching interface for Terminal Usage.
	- NOTE: Strange BUG in Terminal version.... causes stderr to disappear. TODO.
 * Added -C commandline option to switch on RPC system.

This is the first version - so I expect there will be bugs. Please report for a prompt fix!



git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-gxs-b1@5444 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-08-20 14:59:41 +00:00
chrisparker126
c17460d1b1 Got message retrieval working for genexchange across gxs chain
- fixed segv bugs for message retrieval and improved data service meta data retrieval 
- fixed compile for windows (exposed too many of rs internals in interface!)
- fixed msg signing functionality and id creation with ssl
- still need to complete photoservice gui and local meta change function

git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-gxs-b1@5443 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-08-19 22:15:37 +00:00
csoler
e34ca140ba debian compatibility fixing for patched-up upnp 1.6.17
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5442 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-08-19 19:32:05 +00:00
csoler
531966f3c9 added missing include
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5441 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-08-19 18:41:09 +00:00
drbob
20d7837806 Modified UPNP_VERSION comparison from 10617 to 10800, as it appears the functionality was only added then.
I'm sure I'll be told if this wrong - as I can't test this ;)



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5440 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-08-18 19:34:14 +00:00
chrisparker126
5425ab36b5 laptop power supply dead, commiting,
added tokens to submissions, got it working
added generic service string to meta
added msg and grp creation
 

git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-gxs-b1@5439 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-08-18 10:01:35 +00:00
csoler
9f7d54f91d fixed showup of self signatures in certificates that are not in the keyring already
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5438 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-08-17 19:05:22 +00:00
thunder2
8b7f71b284 Fixed compile on Windows.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5437 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-08-17 16:37:07 +00:00
csoler
34ffb229e4 fixed compilation with libssh4
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-gxs-b1@5436 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-08-17 14:22:53 +00:00
defnax
c5ad4ba206 improved request page design
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5435 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-08-17 13:45:05 +00:00
csoler
c3db4dacf7 added code to avoid corruption of bdboot.txt: first write to tmp file then move the file. Refers on Windows utf16ToUtf8 from libretroshare. This forward reference can be improved.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5434 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-08-16 16:59:51 +00:00
csoler
2c4a1bf6e4 compatibility with libssh4
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-gxs-b1@5433 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-08-16 15:24:16 +00:00
thunder2
21e97a47df Added a new page for user request to ConnectFriendWizard.
The page is shown instead of the conclusion page when the user clicks on the certificate link in a message of type user request.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5432 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-08-16 10:20:34 +00:00
defnax
aedac9738a update installer translation
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5431 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-08-16 07:27:07 +00:00
csoler
8a8f85e26b fixed a few issues in RsCertificate class
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5430 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-08-15 20:13:19 +00:00
csoler
2b20ab7fca fixed crashes with poping ConfCertDialog with incomplete certificate
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5429 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-08-15 20:08:18 +00:00
csoler
a9d19528a0 fixed uninitialized memory read
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5428 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-08-15 19:03:14 +00:00
csoler
5b73e36add fixed compilation with libupnp >= 1.6.17
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5427 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-08-15 15:33:30 +00:00
thunder2
0e0458e40c Fixed empty certificate string in ConnectFriendWizard when click on a certificate link.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5426 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-08-15 14:49:42 +00:00
defnax
f90c7742cc Enabled the Icon for the Voip Plugin
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5425 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-08-15 13:54:00 +00:00
defnax
c992cb6aea Enabled to display Plugin Version, on Plugin Item
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5424 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-08-15 12:33:46 +00:00
defnax
26109d88c4 * Hide the import/export button, and set the new identity CheckBox set checked, when start a new Profile generation from Profile Manager.
* Set PluginItem icon size to 24

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5423 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-08-15 09:34:24 +00:00
thunder2
cfe72859bf Added automatic clean of the friend certificate in ConnectFriendWizard.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5422 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-08-14 23:20:33 +00:00
csoler
5d289b520b fixed parsing error handling in pgp key parsing
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5421 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-08-14 19:49:50 +00:00
csoler
b714d68523 fixed code for certificate link generation.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5420 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-08-14 19:31:47 +00:00
csoler
a940537331 fixed certificate paste. We need more appropriate code at this place.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5419 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-08-14 18:57:45 +00:00
defnax
73c8da5438 update translation
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5418 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-08-14 15:37:21 +00:00
defnax
4c1ac6084b updated Spanish translation (from Senpai)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5417 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-08-14 14:49:12 +00:00
thunder2
d1dbae80e9 Fixed compile. Renamed file "contact-new22.png" to "contact_new22.png"
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5416 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-08-14 12:08:26 +00:00
defnax
6e80f97125 set a icon for the pushbutton
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5415 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-08-14 09:34:40 +00:00
csoler
4c72eaa04e added debug #ifdef to certificate handling code
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5414 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-08-14 07:34:29 +00:00
defnax
9d3d457630 replaced QListWidget with QTreeWidget for Display the Identities
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5413 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-08-13 22:53:55 +00:00