Commit Graph

4095 Commits

Author SHA1 Message Date
chrisparker126
822e395f93 added more extensive test for rsdataservice and subsequent bug fixes.
added test for RsNxsTransac item. 
applied rule of three to RsTlvBinaryData (destructor, assign op, copy constructor implemented)

git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-new_cache_system@5196 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-06-05 14:46:18 +00:00
chrisparker126
36103b29a1 added transaction items and more modification methods for data service (delete msg/grps)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-new_cache_system@5193 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-06-03 18:09:38 +00:00
chrisparker126
768cf49da6 updated rsnxsitem test and added appropriate fixes.
fixed undeclared virtual methods in rsdataservice, added test files
overloaded assignment op for Rstlvbindata 
 

git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-new_cache_system@5187 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-05-24 22:38:59 +00:00
chrisparker126
add4715da0 implemented most of rsdataservice,
updated rsnxsitems with discrete msgs and grp item rather than collection of msgs/grps
added flags header file 
added first declaration of implemented genexchange service (client API interface)

git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-new_cache_system@5180 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-05-21 22:07:43 +00:00
chrisparker126
f05ed342ed added dataservice for adding and removing msgs and grps from. does not compile.
just a check point
Added client side defintions of msg and grp

git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-new_cache_system@5175 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-05-17 22:45:48 +00:00
chrisparker126
a957ec75b6 added more definition to gxs items
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-new_cache_system@5158 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-05-10 22:03:08 +00:00
chrisparker126
af71acd9ab debugged rsnxsitem and serialiser
added test serialiser test suite 
updated support.cc to handle variable service types and RsTlvBinaryData init_item


git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-new_cache_system@5148 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-05-06 14:29:50 +00:00
chrisparker126
50a0ed0656 libretroshare src now compilable.
nxsitems not tested yet
renamed retrodb src file to .cc regular librs naming convention
wrote deserialisation section of nxsitems, need to write print and clear rsitem base functions

git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-new_cache_system@5144 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-05-05 19:55:24 +00:00
chrisparker126
db8d019b3f added serialisation code, removed two nxsitem types as they are redundant. still to add deserialisation and size functionality, then test
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-new_cache_system@5139 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-05-03 21:49:55 +00:00
chrisparker126
79062f742e added base item declarations for nxs and gxs
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-new_cache_system@5132 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-05-01 20:52:07 +00:00
chrisparker126
e560e00029 added more virtual methods to network exchange service
removed xml parser utility
removed extraneous info from retrodb

git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-new_cache_system@5073 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-04-01 21:10:55 +00:00
chrisparker126
030b009f9a added RetroDb:
- tests added which pass on windows. 

git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-new_cache_system@5036 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-03-18 14:06:36 +00:00
chrisparker126
e5ed6bf479 Penultimate touches to the RsGxsService interface
- added most request receive pairs for querying base service 
- Still need to finalise the RsGixs and Search functionality, look at p3DistribSecurity for this

git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-new_cache_system@5013 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-03-11 00:05:43 +00:00
chrisparker126
64de3d3643 updated retrodb classes and resolved some data access issues with
ContentValue class. 
Changed parameters to some RetroDb methods
updated RetroCursor with functionality to traverse result set correctly

git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-new_cache_system@4999 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-02-26 23:30:26 +00:00
chrisparker126
ccda22fe5e moved my(chris's) version of GXservice to rsgxs.h and reverted db_gxp_service.h back to original
slight modification of rsgdp to not handle encryption requests at its level

git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-new_cache_system@4985 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-02-24 21:15:08 +00:00
chrisparker126
e1d060f3b1 Added declaration of functions which would service GXS app requirements
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-new_cache_system@4975 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-02-20 21:08:45 +00:00
drbob
d1df56e7f8 Added example details of how the functionality will be implemented.
Added a couple more cases.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-new_cache_system@4967 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-02-19 19:55:20 +00:00
drbob
12a94a8984 Adding First Pass Use Cases... for API Design.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-new_cache_system@4966 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-02-19 19:49:01 +00:00
chrisparker126
565ef2b0f9 added more details to the gxp api
in particular what the features are:
- search 
- on-demand : for messages
- all data received via call back from gxs runner (RsThread)

Added functions are:

remoteSearch
createIdentity

and removed a few data request functions

git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-new_cache_system@4949 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-02-16 22:15:21 +00:00
drbob
2f6061c8ac added example of what the basic service should look like.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-new_cache_system@4939 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-02-14 15:33:58 +00:00
drbob
1eb82bd676 * Added two new Services to RS GUI.
- The Wire, this is not at all functional yet - just a gui shell.
	- Identity, Basics of the GUI complete. talks via rsIdentity to the backend.
 * Fixed the Photo Drag and Drop under Linux.
 * Resurrected the Application Window - for Unfinished Service.
 * Moved Photos, Wire, Identity & Wiki to the Unfinished Window.
 * Added "Experimental Services" option in Settings -> though this is not yet saved / used.
 * changed #ifdef UNFINISHED -> #ifdef UNFINISHED_FD for bits in FriendList, which didn't compile.
 * removed old Unfinished Applications from Window.




git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-new_cache_system@4933 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-02-13 18:43:15 +00:00
drbob
459b51e814 Addition of the Basics of the New Identity Service.
- Provides Real & Pseudonym Ids.
	- Real Ids are tied to GPG Ids using a One-Way Hash.
Added IDS for QCHESS and ARADO plugins.
Added new RsIdentity external interface.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-new_cache_system@4932 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-02-13 18:22:35 +00:00
chrisparker126
0a254ab5a2 removed protocol naming convention
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-new_cache_system@4929 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-02-12 15:29:49 +00:00
chrisparker126
25fbf771a7 Removed most of the interface for RsGNP as it mostly makes calls to other components
Added final comments before review

git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-new_cache_system@4928 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-02-12 15:18:05 +00:00
drbob
3ab62f147e Adding backends for new Plugin Services: Photo and Wiki.
- These are dummy services at the moment, 
	- they only hold stuff the current session and don't use the network at all.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-new_cache_system@4889 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-02-04 14:16:39 +00:00
drbob
35ab646aa2 Added PhotoShare Plugin to Retroshare.
- Like the Wiki, this is GUI without a backend.... so we can get this part right first.
	- Added Bits to compile into Retroshare too.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-new_cache_system@4888 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-02-04 14:06:37 +00:00
drbob
42acb5007e Added Wiki GUI Elements.
- This is a new Plugin, for development with the new cache system.
	- We want to get the GUI right before finalising the back-end.
	- This will start life here, then be moved to the Plugin section.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-new_cache_system@4887 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-02-04 13:47:36 +00:00
chrisparker126
efddc9afab more notes on gixs and things to clarify
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-new_cache_system@4847 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-01-26 16:51:01 +00:00
chrisparker126
a89c6fd08a Removed cpp source files, don't need them yet.
Added more clarity to declarations 
Also added comment on general implementation of an
RsGeneralExchangeService


git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-new_cache_system@4820 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-01-19 23:32:27 +00:00
chrisparker126
00c6010543 refined GDP, GNP, and GSP component further and made classes pure
virtual. 
- added interface to allow GDP and GNP to work via an observer pattern 
- added grpId explicitly to GDP, GNP and GSP
- shifting from protocol to service semantics


git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-new_cache_system@4816 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-01-18 23:20:53 +00:00
drbob
6d4fa40416 Added acadeeb - A bibiography / reference paper system.
Added wire - decentralised twitter clone.
Tweaks to other definitions.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-new_cache_system@4809 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-01-18 00:13:27 +00:00
drbob
aa64617142 Early pass at defining new message exchange (cache replacement system)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-new_cache_system@4805 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-01-17 01:09:21 +00:00
chrisparker126
cf5158d2b0 added new declaration for retrodb and removed sqlite reference.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-new_cache_system@4804 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-01-16 21:52:22 +00:00
chrisparker126
2504c0fd9a added more interface declarations and comments clarifying
resposibility


git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-new_cache_system@4803 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-01-15 13:07:31 +00:00
chrisparker126
3f0c811917 initial addition general exchange service interfaces
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-new_cache_system@4781 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-01-11 23:01:29 +00:00
chrisparker126
30825ee6b4 to implement the new cache system
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-new_cache_system@4772 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-01-09 22:35:06 +00:00
csoler
6df92753b1 improved gui of chat lobby
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4762 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-01-07 23:03:59 +00:00
csoler
1a191c7f91 commited currentgui state. Not working
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4761 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-01-07 21:37:31 +00:00
csoler
30411659e0 a bit of gui. Not working yet.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4760 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-01-07 21:01:43 +00:00
csoler
485c394e2b added interface methods for public lobby exchange and subscription to public lobbies. Need a GUI now
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4759 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-01-07 19:52:58 +00:00
csoler
434ba06c82 added exchange and auto-update of public chat lobby lists.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4758 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-01-07 13:33:30 +00:00
csoler
e9d6940b09 Improvements to chat lobbies:
- added generic methods and items for bouncing generic objects through lobbies
	- added handling of peer typing status
	- proper handling of peer join/leave lobby
	- added sub item ids to lobby messages to allow proper message splitting
	- made 2 different message splitting methods for normal chat vs. lobbies. In v0.6, we'll have to handle all messages the same way.
	- added parent id to RsChatLobbyMsgItem, to allow threaded chat.
	- added possibility to make a lobby public/private (not yet fully working)
	- added items for requesting/exchanging list of public lobbies at friends' (not yet fully working)
	- major cleaning of p3chatservice.cc

Next move:
	- gui for listing friend public lobbies, joining them, etc.
	- load/save of persistent lobbies.
	- autoremove of inactive lobbies

Warning: lobby message items of this version are incompatible with previous versions. It won't crash, but
messages will not pass through.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4755 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-01-06 22:17:08 +00:00
thunder2
e430612714 Add the ip address of the DNSResolver to the top of the list of the connect addresses.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4754 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-01-06 22:03:46 +00:00
drbob
ac6f0fcfe4 --- Merging r4718 through r4752 from branches/v0.5-dhtmods
Added ZeroConf for OSX.
Changes for Relay Support.

Summary of Changes:
libbitdht
----------
 * added Relay Flags to bdNode::setNodeDhtMode()
 * added dropRelayServers() / pingRelayServers() functions for mode switches
 * added utility function:  bdFriendList::findPeersWithFlags()
 * added utility function:  bdSpace::clean_node_flags(uint32_t flags)
 * added RelayMode to ConnectManager.
 * added failedConnection callback when in Server Mode.
 * added incomplete udpproxylayer code. (not compiled)

libretroshare
-------------
 * added Configuration to p3BitDht for storing Relay Settings. (bit Hackish!)
 * added RelayHandler & getRelayReceiver() - to outsource some Relay functions.
 * + RelayHandler_InstallRelayConnection() & RelayHandler_LogFailedProxyAttempt()
 * added RelayServer, Mode and RelayAllowance to external DHT interface.
 * added p3PeerMgr::getGpgId() for ZeroConf usage.
 * updated parts of pqiassist virtual interfaces.
 * added Bandwidth storage to udprelay.
 * modified the way Relay Slots are allocated to match GUI interface.
 * ZeroConf now working on OSX.
 * added ZeroConf to OSX compilation.
 * extended rsDht interface to expose Relay configuration.

retroshare-gui
--------------
 * added Relay configuration panel.




git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4753 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-01-06 15:33:51 +00:00
drbob
73471b2618 Bugfixes for ZeroConf under OSX.
- Added Timeouts for Resolve and QueryIP, as these can continue indefinitely.
	- Added more debugging.
	- rotated port number using ntohs().
	- Filtered Self.
	- Allowed Other SSL IDs of Self to connect.
	- Fixed QueryIP to use hosttarget instead of servicename.
	- fixed Id order in mPeerMgr->addFriend().
	- fixed p3ZeroConf initialisation call.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-dhtmods@4752 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-01-06 12:48:04 +00:00
drbob
c69da728d7 Completed implementation of p3zeroconf.
- Compiles under Windows, Links but doesn't talk to daemon properly.
 - To Test functionality under OSX.
 


git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-dhtmods@4751 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-01-05 15:43:06 +00:00
drbob
58d8606d00 Added extra function to retrieve Peer's GPG IDs.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-dhtmods@4750 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-01-05 15:41:24 +00:00
defnax
f6678263f9 Little design improvements for Plugin Item
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4749 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-01-04 22:17:28 +00:00
thunder2
3ac5ead40e Fixed lobby names with utf8 characters.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4748 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-01-02 00:25:43 +00:00
defnax
da69e1f1ad little design fixes for Create Lobby
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4747 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-12-30 21:23:35 +00:00