Commit Graph

5560 Commits

Author SHA1 Message Date
chrisparker126
a6cb2b6a35 fix for msg/grp meta retrieval, added service string to == operator
overloads for grps and msgs
added gxs updated tests, was not included mistakenly in my last update
(5471)


git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-gxs-b1@5472 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-08-25 17:01:13 +00:00
chrisparker126
9d42715cad Fixes for Gxs msg retrieval:
msgId retrieval fixed, including incorrect stack mtx lock
msgRelatedId retrieval fixed, mem leak removed (did not clean meta)
msg data retrieval fixed 

added related tests 

RsThread::start now initialises mIsRunning to true, needed to unit tear
down on gxs test system.


git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-gxs-b1@5471 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-08-25 15:48:55 +00:00
defnax
f7088f0cc6 update Spanish translation (from Senpai)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5470 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-08-25 12:39:17 +00:00
drbob
c8350ad011 Got the first RPC commands working now and tested with python library.
* Switched from BASE => CORE in proto files.
 * finished first RPC call to list peers.
 * return "NO_IMPL_YET" for other peer fns (Not Implemented Yet)
 * Added SystemStatus RPC call too.
 * Disable Verbose SSH logging - so we can see debug better.




git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-gxs-b1@5469 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-08-25 11:47:20 +00:00
drbob
51fc0c59fe Updates to some of the protobuf files.
Added System.proto for basic info.
 - added relationship field to core.person.
 



git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-gxs-b1@5468 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-08-25 11:41:39 +00:00
thunder2
9279838d65 Added two internal stylesheets:
- qss.default - This file is used as default for all stylesheets (e.g. the frames of the AvatarWidget) and can be overloaded from the selected stylesheet
- Standard.qss - The standard stylesheet for the current look of RetroShare. More internal stylesheets can be added.
The plan is to move nearly all internal stylesheets to the files Standard.qss/qss.default. After that the "empty" stylesheet should represent the system theme of the os.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5467 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-08-24 23:35:57 +00:00
drbob
1d35dc2915 Changed base.proto & namespace to "core", as base is a reserved keyword in C#
* Started specifying the search protocol in files.proto
 * Added Create Msgs in gxs.proto.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-gxs-b1@5466 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-08-24 22:33:24 +00:00
chrisparker126
7694bc8bf3 fixed bug introduced into retrodb.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-gxs-b1@5465 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-08-24 11:49:31 +00:00
thunder2
3f2ab9259d Added new base class HeaderFrame - image and text at top of the windows.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5464 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-08-24 10:49:08 +00:00
chrisparker126
e1f54c239f system test code for rsgenexchange
initial attempt at msg retrieval test 
added dummy serialiser and dummy gxs items
need to make some more compile fixes but essentials in place


git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-gxs-b1@5463 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-08-23 21:59:51 +00:00
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