- RPC commands are outlined in the proto file.
- You can: get listing, send msg, register for recv events, change nickname and join/create lobbiey
- updated chat & core generated files.
* Added RpcUniqueId(chan_id, req_id) for identifying requests.
- Modified Responses Queues to use new datatype.
* Fixed reset to occur after the connection has died.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-gxs-b1@5508 b45a01b8-16f6-495d-af2f-9b41ad6348cc
- Changed ENUMs to include type in the name.
- made non-essential member of ChatMessage optional.
- Fixed some incorrect numbering.
Enabled chat in core.proto & Makefile.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-gxs-b1@5507 b45a01b8-16f6-495d-af2f-9b41ad6348cc
* added chan_id parameter to many RPC calls, this allows RPC to support multiple SSH clients.
- the combination of (chan_id, req_id) rather than req_id, should be unique now
-> TODO inside rpcserver queued requests.
* Modified SSH server to match the new API. Multiple client support has not been added here yet.
* Modified Menu System to match these changes too.
* Added an Registration Framework to RpcQueueService, to enable easy event support.
This code has not been throughly tested yet.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-gxs-b1@5500 b45a01b8-16f6-495d-af2f-9b41ad6348cc
payload.
Generalised nxstest to simulate sync among arbitrary number of peers
added pass conditions to test scenerio with seperate notify observers
per peer
cleaned up test code and enabled auto cleaning of run dir (remove db
junk)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-gxs-b1@5480 b45a01b8-16f6-495d-af2f-9b41ad6348cc
also tested group meta mod request for service strings
all group and msg submission and retrieval requests now tested
msg meta mod request to test still
Added fixes:
genexchange (mGrpSign was not included in overloaded assignment
operator)
added grp sign flag as Db field
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-gxs-b1@5473 b45a01b8-16f6-495d-af2f-9b41ad6348cc
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
* 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
- 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
* 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
* 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
* 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
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
- 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
- added new classes for XML/HTML parse and modify
- added basic error handling
- added new GUI for a preview and a tree to show the structure of the page (will be continued)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-gxs-b1@5412 b45a01b8-16f6-495d-af2f-9b41ad6348cc
Added "RSS: " for the forum feeds.
Parse the feedburner:origLink in the rss feed.
Moved download functions to a new class CURLWrapper for easy use.
Added two new functions (currently only for local feeds for testing):
- embed images into the message (works for Qt 4.7 and higher)
- save complete web page
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-gxs-b1@5399 b45a01b8-16f6-495d-af2f-9b41ad6348cc
* Menu System basic structure complete.
* Added functions to NotifyTxt to handle search results.
* Running from std::cin at the moment.
* Functional Commands:
- List Friends, Network.
- Show Transfers, Cancel Transfers.
- Basic Search, and Download.
* Not Connected to SSH server at this point, TODO.
* Lots of Other Commands to add (e.g. import/add/remove friends, forums, etc)
* Enable via option in retroshare-nogui.pro, instructions at bottom of file.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-gxs-b1@5390 b45a01b8-16f6-495d-af2f-9b41ad6348cc
Reactivated Photodialog. almost completed integration, publishing and item storage working,
but data retrieval algorithm needs to be changed (request flags need to be translated, based on update call rather than client assumption)
fixed bug in rsgenexchange notification.
Added LGPL notices
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-gxs-b1@5387 b45a01b8-16f6-495d-af2f-9b41ad6348cc
* Using libssh in a seperate thread.
* Binds to fixed port, and accepts connections from standard SSH clients.
* Only an Echo Server at the moment: Interface to be decided yet.
* Only accepts 1 connection, 2nd connection hangs at the moment.
* A long way to go before it will be useful!
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-gxs-b1@5380 b45a01b8-16f6-495d-af2f-9b41ad6348cc
TokenQueueV2 added,
first change to photoshare to deal with gxs backend
needed to redirect meta types to mine in order to get compilation working and definition fixes
to rsgenexchange.
Next step is to get GxsRunner going
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-gxs-b1@5377 b45a01b8-16f6-495d-af2f-9b41ad6348cc
- First pass, still much to do.
- Handles Create / Edit and View Group Info.
- Created ForumV2GroupDialog / WikiGroupDialog / PostedGroupDialog examples overloading it.
Various Improvements to PostedListDialog.
- Handle Hot/New/Top options.
- Send Period back to libretroshare too.
- Named buttons in GUI.
Added GxsGroupDialog to Wiki / Posted & ForumsV2.
Discovered nasty bug in p3Posted. If there are no posts, its hangs at a Mutex,
but I've no idea why. (It happens prior to this code). TODO.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-gxs-b1@5360 b45a01b8-16f6-495d-af2f-9b41ad6348cc