csoler
6780ff2cff
fixed bug that would cause virtual peers list for outgoing files to never get cleanred up. Also improved cost of updating the status of virtual peers. Many thanks to Jolavillette for finding this out!
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6858 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-10-21 09:05:51 +00:00
csoler
4cf86c52a1
more accurate version of scope timer
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6856 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-10-20 13:29:24 +00:00
drbob
fc58861447
Added RecognTags.
...
- items are described in serialiser.
- util functions in util/rsrecogn.cc are used to manipulate it.
- these are attached to GxsIds, with new interface fns.
- Associated Signing Code is in a separate program.
Other Tweaks.
- Added RsMemCache::erase()
- Added RsTlvStringSetRef
- Fix for rsturtleitem (already added to trunk).
- Formatting and debugging.
Status: There is a bug in RsGenExchange::updateGroup which prevents full testing,
The basic generation, parsing and validation functions have been tested and are ok.
The processing as part of p3IdService still needs to be fully debugged.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-gxs_finale@6854 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-10-20 09:43:30 +00:00
csoler
68922f45a2
added scope timer to measure times conveniently
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6850 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-10-19 20:54:42 +00:00
csoler
69862404d6
fixed to/from for encrypted messages
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6842 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-10-18 14:31:13 +00:00
csoler
b9a79db9b0
removed some debug output
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6841 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-10-17 18:45:59 +00:00
csoler
cd43900eb9
added flag and icon for message that was successfuly decrypted
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6836 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-10-16 20:02:28 +00:00
csoler
7876001be3
remove three costly loops in ftController
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6833 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-10-15 20:39:13 +00:00
csoler
a8c250e7d9
fixed warning
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6832 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-10-15 20:28:30 +00:00
chrisparker126
19d7faa572
finally found group signature bug, was aliasing signature in validateGrp call (perfect example of why one should use const)!
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-gxs_finale@6831 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-10-14 22:03:11 +00:00
chrisparker126
fc1b7fcb5c
more debugging of group update
...
- did not correctly perform sync
- admin signature validation was being skipped!
- still niggly issue with admin signature validation
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-gxs_finale@6829 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-10-13 21:49:17 +00:00
csoler
48839249c0
changed version string to 0.5.5b
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6826 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-10-13 12:23:00 +00:00
chrisparker126
55bbfb29da
Electron patch
...
- fixes issue with, message offsets not being calculated in loop correctly, resulted in only invalid message offset in db after calling message removal
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6819 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-10-11 17:29:38 +00:00
thunder2
13e7ac8b43
Fixed compile of the libraries with MinGW 4.8 on Windows.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6814 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-10-07 23:11:10 +00:00
csoler
e4e28c733c
added the possibility to distant chat with unverified identities, while warning the user about it. Should help distant chatting.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6812 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-10-07 20:49:02 +00:00
chrisparker126
25d721b6fe
Code change to test group edit
...
- can modify group names and content now
Group edit code fixes
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-gxs_finale@6811 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-10-06 21:07:31 +00:00
csoler
4b9378aadd
adding missing files
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.6-initdev@6810 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-10-06 20:16:58 +00:00
csoler
120a27d9c7
- added RsCompress with memory compression methods based on ZLib (already linked)
...
- added test code for RsCompress methods
- used compression to compress file lists so as to reduce bandwidth usage
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.6-initdev@6809 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-10-06 20:12:34 +00:00
csoler
67517ad074
restore file state when restart (Modified patch from Phenom)
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6807 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-10-06 12:56:37 +00:00
chrisparker126
18944404cc
make update function pure virtual in interface
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-gxs_finale@6804 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-10-05 12:03:31 +00:00
chrisparker126
9470e5562a
Added update capability to forums ui
...
Added timestamp check for group update in nxs
decided to add control variable to allow meta changes in updates rather than none
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-gxs_finale@6803 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-10-05 11:36:31 +00:00
csoler
9d4033b043
fixed unused variable warning
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.6-initdev@6802 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-10-04 21:00:31 +00:00
csoler
695e417fd5
changed std::wstring for std::string+utf8 in chat, and messages
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.6-initdev@6795 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-10-03 21:41:34 +00:00
thunder2
bf9270dd54
Removed the external library pthreads 2.8.0 on Windows build and used the library of MinGW (version 2.8.0 too). This fixes header mixup of both versions.
...
Switched to the release version of pthread so the name of the dll changes from pthreadGC2d.dll to pthreadGC2.dll. The new dll can be found in the bin directory of MinGW.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6794 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-10-03 16:23:02 +00:00
csoler
2466c01e35
enabled checksum code in rscertificate. Shoudl make the transfer of certs more safe
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.6-initdev@6791 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-10-02 20:28:42 +00:00
csoler
f961dc9066
enabled display serialisation errors in p3service
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.6-initdev@6790 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-10-02 20:09:42 +00:00
csoler
3a82fffd0e
- fixed bug (added missing call to addSerialType())
...
- removed unused RsFileTransferCacheRequestItem and all related functions
- fixed bug in turtle router calling members of a deleted item
- removed some debug info
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.6-initdev@6789 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-10-02 19:56:01 +00:00
drbob
b587301b5a
Added a thread per active peer - to reduce RTT and increase throughout.
...
* Added pqithreadstreamer, tweaked pqistreamer to support derivation.
* Shifted RTT from p3Service to p3FastService.
* Disabled lots of debug.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.6-initdev@6787 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-10-02 03:21:04 +00:00
csoler
27041aa1a6
fixed bug in turtle router, causing potential memory access error in rare occasions (sendItem does not delete items fast enough, normally).
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6786 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-10-01 22:23:08 +00:00
drbob
a7dd9ad9e3
Work-in-progress to reduce latency time:
...
* service->SendItem() now goes direct to pqistreamer buffer.
* split p3FastService out of p3Service.
p3FastService removes the recv buffer for faster processing.
p3Service maintains its original interface, so derivate classes can remain unchanged.
* Added uint32_t usec (wait period) to BinInterface.moretoread() & cansend() for future threading.
* Added Mutex protection to pqistreamer, pqissl and derivatives of both.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.6-initdev@6783 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-10-01 10:11:34 +00:00
csoler
8e7fe9f79b
made file transfer a service. Removed all the old FT code from pqiHandler, and got rid of deprecated CRC32 computation/exchange methods
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.6-initdev@6782 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-10-01 08:11:15 +00:00
csoler
4e4b4f0822
fixed missing return
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.6-initdev@6781 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-09-30 21:15:01 +00:00
thunder2
571099d56b
Optimized p3HistoryMgr::cleanOldMessages.
...
There is no need to check the messages when mMaxStorageDurationSeconds is set to 0.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6779 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-09-29 13:31:15 +00:00
csoler
4e259fecfd
allow max storage duration to be 0, in which case we keep all history
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6777 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-09-29 12:10:59 +00:00
drbob
41daabe1ef
Added Round Trip Time service (revived old p3VoRS service).
...
- Fixed gxs priority level.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.6-initdev@6776 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-09-29 07:11:02 +00:00
thunder2
4dd77457ad
Added info widget for encrypted messages in MessageWidget.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6774 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-09-28 22:05:38 +00:00
drbob
90aa57a0f0
Rewrite of the discovery system to be more private, with less traffic.
...
Split the visState into seperate vs_disc and vs_dht for easier handling.
Split the heartbeat system into a separate service.
Added IPv4 and IPv6 local/ext addresses into discovery & peer config.
Fixed up samenet and samesubnet ipv4 calls.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.6-initdev@6773 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-09-28 08:09:59 +00:00
drbob
70c947ba90
fix for upnp use of sockaddr_storage
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.6-initdev@6772 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-09-28 02:42:59 +00:00
csoler
e21d869006
- added history parameters for chat lobbies
...
- added max storage time for items in chat history. Avoids filling up the history with chat from volatile peers.
- worked out the layout in config->ChatPage in a more compact design and added help
- set the max size of chat messages to 6000 bytes instead of 2000 which was a bit too low
- default max number of lobby messages saved in each lobby is 20. Avoids flooding for peers who havn't configured it yet.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6770 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-09-27 21:18:44 +00:00
thunder2
72c7569619
Fixed compile of libretroshare on Windows.
...
Cleaned some includes of openssl.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.6-initdev@6769 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-09-26 23:53:06 +00:00
csoler
f25f46dffb
fixed missing update of transferred bytes count, that caused tunnels to not show a correct speed estimate on server side
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6768 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-09-26 18:38:35 +00:00
thunder2
a98f1d90b0
Fixed compile of gxs.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6767 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-09-26 10:09:40 +00:00
csoler
027b9ba017
removed warning that happens when lobby has no activity
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6764 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-09-25 18:34:50 +00:00
thunder2
6a9dfed408
Added new action "Load images always for this message" to image blocking.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6760 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-09-24 20:19:21 +00:00
drbob
43832a1f58
fixed typo in windows code.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6758 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-09-24 16:20:29 +00:00
drbob
ae2df43b8a
re-wrote cleanupDirectory() function. As this a cause of the slow startup.
...
Startup time is massively improved!
Please test on Windows!
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6757 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-09-24 15:31:15 +00:00
drbob
34ea22d5f6
Implemented sockaddr_storage functions.
...
Fixed interfaces for UPnP.
Some further tweaks to get TCP connections working again:
- hiddenNode issue in p3peers.cc
- fixed socklen_t for bind() and connect() calls.
- initialise addr to IPv4 for netmgr.
- change netAssist (Upnp) interfaces.
Still todo: tou address functions, test UDP functionality.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.6-initdev@6755 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-09-24 05:30:01 +00:00
csoler
cda8557b73
added entropy collection system based on mouse movement to location/identity creation, to make keys less predictable
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6753 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-09-23 20:55:34 +00:00
csoler
8ffc0e05de
added control for suspicious message activity in chat lobbies. Lobby items are not bounced if coming from a peer that sends more messages per seconds than a given limit. The limit is adaptive and depends on lobby count
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6751 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-09-19 22:10:24 +00:00
csoler
11435dfd61
added limit in number of chat lobby ids sent by a peer
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6750 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-09-19 19:44:20 +00:00
csoler
37f00e90a0
added new filter to remove xml bombs. To be continued
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6748 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-09-18 19:32:04 +00:00
chrisparker126
2a841d7ab3
fixed mem bug
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-gxs_finale@6747 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-09-18 18:13:38 +00:00
csoler
235a189774
tuned 2000 chars limit to only chat lobby traffic
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6746 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-09-17 05:57:02 +00:00
csoler
6052f2042f
tuned 2000 chars limit to only chat lobby traffic
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6745 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-09-17 05:55:43 +00:00
csoler
4ee7d8bb7e
drastic removal of <! from all wide string in all RsItems, from the de-serialisation code. Shoudl prevent lol bombs throughout the whole software. To be tested further
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6744 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-09-16 22:24:43 +00:00
csoler
cb4e28f5db
modified patch from AC to remove big messages from chat lobbies (likely to be a flooding attack). Displayed the name/location of the friend who relayed the message
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6742 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-09-16 22:00:26 +00:00
chrisparker126
3799910188
More changes to support front end of group update
...
- still need to make sync changes
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-gxs_finale@6741 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-09-15 21:18:20 +00:00
csoler
81a4523434
- Enabled multi-tunneling by consistently perturbating partial tunnel id in TRs.
...
This causes tunnels with a different route to have different ids and therefore
coexist as different sources for a given transfer.
This should cause file transfers to have more tunnels and therefore a better balance
of bandwidth over intermediate peers. This needs to be evaluated on a large scale network.
- Cleaned some unused code.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6740 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-09-15 19:05:04 +00:00
csoler
d127d36131
added missing setPeerState that caused tunnels to get stuck to default minimum rate unless the list of connected peers change
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6739 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-09-15 18:27:52 +00:00
csoler
4b44304aec
Enabled PFS for SSH connections, based on a 4096 bits safe prime. This is retro-compatible, meaning that old peers will connect to the new one using PFS if they act as a client (meaning they request the connection)
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6738 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-09-14 12:28:45 +00:00
drbob
6290d8fed9
Massive commit - changing from sockaddr_in => sockaddr_storage.
...
In preparation for making RS support IPv6.
NB: This breaks the build of retroshare-gui, as the
sockaddr_storage_xxx fns are only defined as prototypes for now.
All the aux libraries like udp / stun / tcponudp / dht have still to be converted.
These changes will probably break various things and need to be tested thoroughly.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.6-initdev@6735 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-09-13 14:35:19 +00:00
chrisparker126
33eb99d812
added group update feature
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-gxs_finale@6733 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-09-11 20:42:56 +00:00
drbob
fd071161bf
Added IPv6 encoding.
...
Switched IPv4 encoding to be always in Network Order.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.6-initdev@6732 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-09-11 07:09:30 +00:00
drbob
14f99418ae
Added PgpIdSet
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.6-initdev@6731 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-09-11 07:06:47 +00:00
drbob
5322040d29
disabled outgoing normal connections - if hidden node.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.6-initdev@6730 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-09-11 07:00:33 +00:00
thunder2
961f079882
Fixed version number (*.in)
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6727 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-09-10 21:10:11 +00:00
csoler
9d8d773c3c
fixed proper display of crypto params for UDP connections
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6725 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-09-10 19:31:44 +00:00
drbob
98eff88d5b
corrected version number.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6722 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-09-09 04:59:22 +00:00
drbob
bfd915864b
mods to support hidden node: setup & cert sharing.
...
Also removed old configuration mode from p3cfgmgr
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.6-initdev@6720 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-09-09 02:10:49 +00:00
csoler
c7bfcbe8ad
fixed const in serializer
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6716 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-09-08 12:02:15 +00:00
csoler
3a69ae2be8
removed debug info
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6715 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-09-08 11:42:13 +00:00
csoler
ead05b9d9e
fixed stupid mmistake causing large distant mesassages not to be split correctly
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6714 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-09-08 11:16:13 +00:00
csoler
8aa3ccad72
removed code inconsistency (did not cause any issue)
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6711 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-09-07 14:12:11 +00:00
csoler
cd7e2df37e
switched Sha1CheckSum::toStdString() to simpler/faster code. checked with tests/util/sha1_test
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6707 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-09-07 13:48:55 +00:00
csoler
eeb2dcaaf2
drop corrupted config files instead of looping into them
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6706 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-09-07 12:49:36 +00:00
defnax
dffba4225c
update version string
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6704 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-09-07 12:16:41 +00:00
csoler
2cca7a3b02
updated version number to 0.5.5 prior to release
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6703 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-09-07 08:21:13 +00:00
drbob
561cfcf189
Switching on GXS by default.
...
switching rs data directory to ./retroshare6 for the moment.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.6-initdev@6701 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-09-07 02:55:35 +00:00
csoler
eee6e0400c
added auto-creation of extensions directory when not present
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6700 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-09-06 22:04:47 +00:00
csoler
3d0d047d14
removed one unused member of PGPCertificateInfo
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6699 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-09-06 20:07:10 +00:00
csoler
887c9ed50e
fixed potential uninitialized memory read in PeerUploadInfo
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6697 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-09-06 19:06:56 +00:00
csoler
89f48fc1b6
fixed bug in pgp handler causing trust info to not being saved correctly
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6696 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-09-05 21:28:39 +00:00
csoler
ff0495c684
fixed uninitialized memory read when sendign a message to a lobby that was previously unsubscribed
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6695 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-09-05 20:55:59 +00:00
csoler
65e7ad0e5b
pqihash now uses Sha1CheckSum
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6692 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-09-05 19:28:10 +00:00
csoler
b76161dd5f
removed uninitialized memory read
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6691 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-09-05 18:45:40 +00:00
drbob
a6cf738371
Removing old services, serialisers and other references for:
...
- forums
- channels
- tunnel
- blog
- gamelauncher.
- distrib.
Note this majorly breaks the GUI, for the moment.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.6-initdev@6683 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-09-03 14:51:23 +00:00
drbob
212b4c44c9
First of the V0.6 changes.
...
- Adding basics for proxy connection.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.6-initdev@6682 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-09-03 13:35:39 +00:00
thunder2
5dee253030
Copy name of the location from the cert to RsPeerDetails in p3Peers::loadDetailsFromStringCert.
...
The name of the location was missing in ConnectFriendWizard, only the id was shown.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6665 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-09-01 12:11:21 +00:00
csoler
4c87eb0781
distant outgoing messages stay in outbox until actually sent
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6661 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-08-31 21:10:04 +00:00
csoler
19808587e9
fixed display of toaster for distant msgs
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6659 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-08-31 13:12:26 +00:00
csoler
8d94ecf9ff
added proper own signature flag to signed sent message
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6658 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-08-31 12:54:47 +00:00
csoler
c3732f5212
fixed display of distination peers in Sent messages
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6657 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-08-31 12:49:04 +00:00
drbob
60087f0ef9
Added return value checking of mutex_lock() function.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6656 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-08-31 08:16:09 +00:00
csoler
51f0726dd3
remove (distracting) message about unknown lobby message that appears when not subscribed to a previousl subscribed lobby
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6655 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-08-30 21:09:48 +00:00
csoler
731e832734
added proper memory for sources of distant messages
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6654 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-08-30 21:06:23 +00:00
csoler
abd8c1e32f
improved name support for distant peers in messages
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6653 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-08-30 20:40:28 +00:00
csoler
6e8679ff90
automatically put paused files at end of queue (Patch from Phenom)
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6642 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-08-28 21:26:27 +00:00
chrisparker126
0ecbd0d22b
fix for gxs channels not getting synchronised (reputation was getting requested for empty author ids)
...
fix for external circle associated groups not synchronising message (circles being checked for peer who want to share out messages for circle associated group)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6635 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-08-28 19:27:04 +00:00
drbob
f184d75703
Added Hack to fix OSX Finder launch.
...
Changed argstream.h licence from GPL to LGPL with authors permission.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6631 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-08-28 02:11:52 +00:00
csoler
34b8bbb236
fixed bug allowing a peer to alter the flags of lobby items so that they can get displayed in the broadcast channel. Now the checkMessageSecurity() method also checks flags consistency (et toc!)
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6621 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-08-26 18:36:46 +00:00
csoler
a98642dab5
avoid corrupting file cache on 64bits architectures that store time_t as 32 bits
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6619 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-08-26 17:44:38 +00:00
drbob
5dffde209a
Tweaked rscertificate to return empty sslid, if only_pgp is set.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6615 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-08-26 06:56:20 +00:00
csoler
1554e17f48
patch from Stefan Sperling to allow compilation on OpenBSD
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6613 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-08-25 21:06:29 +00:00
csoler
1273e8179f
bugfix by H.Morgan to allow big---split---messages to bounce correctly in lobbies
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6599 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-08-23 20:29:55 +00:00
csoler
c201c0470c
removed compiler warning
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6597 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-08-23 20:03:34 +00:00
drbob
f519ae1a0d
* Added libretroshare internal storage of "Denied Connections" in linkMgr.
...
* Added a couple of missing #defines.
* Tweaked dht connect state strings for easy parsing.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6589 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-08-22 07:26:13 +00:00
drbob
d0c3241be6
Fixed function prototype for removal of RsIface.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6588 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-08-22 00:00:33 +00:00
drbob
f93ed1fb6e
- Removed RsIface, and moved configuration options to RsServerConfig (rsconfig.h)
...
- Fixed cipher list to "HIGH:!DSS:!aNULL:!3DES", which should disable the weak ones, no idea how to force it to PFS (which it should use).
- fixed void * pointer maths.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6584 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-08-21 21:36:33 +00:00
csoler
14887d98e8
added a hard-limit of 32767 bytes to the size of avatar images, so that we avoid a crash when a peer anounces an avatar with an enormous size. This limit is above the largest possible image file of size 96x96
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6575 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-08-09 21:37:02 +00:00
csoler
7007a67374
fixed lobby auto-subscribe by asking for public lobbies at most every 121 seconds.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6574 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-08-09 21:13:44 +00:00
csoler
0a23f93877
enlabled distant messaging by default. Added lock protection in some places. Removed debug info in distant messaging.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6573 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-08-09 17:02:29 +00:00
csoler
57ed22910d
updated version numbers
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6572 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-08-09 16:54:30 +00:00
thunder2
041bdaab50
Added send of updated discovery information.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6570 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-08-08 23:00:27 +00:00
csoler
aeb430cabb
moved security check of chat message after the possible multi-part reconstruction, to avoid that the attacker splits the faulting chain among multiple parts
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6569 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-08-08 20:12:04 +00:00
csoler
1994dfa31a
fixed looping in pqistore when a crazily long packet is found. That is the result of an unknown bug, but at least we should handle it correctly.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6568 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-08-08 18:59:35 +00:00
csoler
9cd2f19d6e
fixed passphrase question at start
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6565 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-08-08 14:15:50 +00:00
csoler
2afd22a2f0
remove bug due to parameter handling, that resulted in random port at start
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6564 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-08-08 14:10:45 +00:00
csoler
3865c14583
modified patch from AC to remove messages with security issues (e.g. Billion Laughs bomb). The message is replaced by a warning, and is not forwarded
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6562 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-08-08 09:55:19 +00:00
csoler
ff2f436d57
fixed supid mistake causing crash (on windows only) when sending a distant msg
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6561 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-08-07 19:35:27 +00:00
csoler
aba5033604
- added argstream to handle commandline arguments
...
- switched tests to use the common value of argstream in libretroshare, rather than the one in tests/common
- reworked command line arguments in rsinit and retroshare-nogui.
- improved passwd hash explanations
- improved command-line help.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6559 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-08-06 17:01:38 +00:00
thunder2
9ffb625f9a
Added missing IndicateConfigChanged to p3PeerMgrIMPL::setDynDNS
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6558 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-08-05 21:51:07 +00:00
csoler
e763f46aee
fixed saving of MsgItems for distant messages. Reworked RsMsgItem class hierarchy to remove explicit overloading by callign dynamic_cast
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6556 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-08-04 20:09:26 +00:00
csoler
7dbc17b2a4
Enabled distant messages. These need to be switched on the config->Messages. GUI improvements needs to be done, such as properly setting peers names everywhere, but the service works. Have fun using it!
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6555 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-08-04 14:11:59 +00:00
csoler
c34ede4b1c
updated values for min/normal partial packet size to 1MB, so that we do not create partial packets for everyday use. We will have to properly extend openpgp-sdk to support parsing of partial packets if we want to PGP-encrypt chunks larger than 1MB.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6553 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-08-04 12:44:57 +00:00
csoler
ab68f1d123
added new test to challenge encryption/decryption with RSA of large memory blocks
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6552 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-08-03 10:07:09 +00:00
csoler
dc7003bd92
Added signature verification in distant messages. Decrypted does not always work due to openpgp limitations.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6551 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-08-02 23:00:36 +00:00
csoler
3f86a707b7
Distant messages GUI code. Now the GUI can receive/send/decrypt distant messages. Since the protocols are not finalized, the GUI is disabled, to avoid later crashes
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6549 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-07-31 16:34:34 +00:00
csoler
a570f66e79
no need to drop an entire config file when a single item cannot be serialized.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6548 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-07-30 14:47:41 +00:00
csoler
379aece9b0
suppressed inconsistent warning message
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6547 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-07-29 12:42:45 +00:00
thunder2
e95725ea2c
- Fixed crash because of a memory overwrite
...
The static arrays in RsDiscSpace were to small for RS_PGP_DIRECTORY (0x0003)
Added new constant RS_DIRECTORY_COUNT
- Added missing fclose to PGPHandler::encryptTextToFile
Used ops_teardown_file_write instead of ops_writer_close and ops_create_info_delete
Windows cannot move a file when it is still open
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6542 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-07-26 23:12:09 +00:00
csoler
b84930b157
Added multiple security tests to pgp keyring against disk full and exceeded quota.
...
- copy files to tmp before appending new keys, then rename back to original.
- always check for disk full before syncing keyrings
- use tmp file to sync keyring
- new RsDirUtil::fileExists() method
- check system for disk space in pgp directory
- added RsPGPDirectory() method to RsInit
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6541 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-07-25 20:05:31 +00:00
csoler
d6104c0aa7
fixed memory leak in distrib item read
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6540 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-07-24 21:43:22 +00:00
csoler
fced5af60c
fixed memory leak in key signature verification
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6539 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-07-24 21:35:19 +00:00
thunder2
7330ab894c
Fixed memory leak in RsDataService::retrieveNxsGrps when no group is available.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6537 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-07-24 11:51:23 +00:00
thunder2
9d61832a86
Fixed some memory leaks and double frees in RsGxsNetService.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6536 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-07-23 22:04:24 +00:00
csoler
504ab562cc
doubled data chunk for signature in chat links. Apparently some keys need more than 287 bytes.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6535 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-07-23 20:57:05 +00:00
thunder2
6dc9dcd49d
Fixed some memory leaks in RsGxsNetService.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6534 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-07-23 12:17:50 +00:00
thunder2
c3303a1969
GXS:
...
- fixed some possible crashs with dynamic_cast
- fixed memory leak in p3GxsCircles::cache_load_for_token and p3Posted::background_loadMsgs
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6532 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-07-23 01:31:36 +00:00
csoler
a42b3fdbd4
fixed memory leak
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6527 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-07-21 20:52:54 +00:00
csoler
b1bc66b319
added missing delete when RsDiscReply item is rejected because of service permissions, causing memory leak
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6525 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-07-21 19:20:12 +00:00
thunder2
f5218cdfc3
Fixed crash after last commit in p3idservice.cc.
...
Fixed memory leaks and possible crashs in ::getGroupData
- p3gxschannels
- p3gxscircles
- p3gxsforums
- p3idservice
- p3posted
- p3photoservice
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6524 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-07-21 01:50:13 +00:00
csoler
11cfb1dc5c
fixed memory leak in group item not being deleted after being received and treated
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6522 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-07-20 12:36:57 +00:00
csoler
2b9a211184
fixed memory leak in cert signature verification at connect (Patch from Phenom). Also removed some unused variables reported by gcc
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6516 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-07-18 22:10:30 +00:00
csoler
14890ef007
added ACK system to make sure the secured tunnels for distant chat are actually working, before one starts using it.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6502 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-07-14 13:59:38 +00:00
csoler
06b68e4e31
updated comment. no actual change.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6498 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-07-11 21:53:30 +00:00
csoler
4c53d8dc5b
removed MT19937 which is not used anymore. Changed N from 624 to 1024 to reduce cost
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6497 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-07-11 20:59:18 +00:00
csoler
6ee0aa9b3f
fixed bug in distant chat accepting tunnels for collecting invites with same hash
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6491 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-07-07 20:43:37 +00:00
csoler
975e0d01fb
fixed mistake in commit 6487
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6489 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-07-06 21:25:07 +00:00
csoler
0c2939734c
added limits for field sizes in key generation method. Removed some compilation warnings
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6487 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-07-06 19:59:42 +00:00
thunder2
4ce08bee38
Renamed the lib of sqlcipher to libsqlcipher.a for Windows too.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6482 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-07-06 00:58:17 +00:00
thunder2
af5c31a4f5
Use the best network interface to route an ip instead of the first interface in getLocalInterfaces on Windows.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6469 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-07-01 15:12:06 +00:00
csoler
7414659bd9
Patch (modified) from Phenom to allow auto-subscribe to chat lobbies
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6466 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-06-29 16:15:33 +00:00
csoler
9f88917ac1
added display of SSL encryption parameters in PeerDetails dialog
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6465 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-06-28 21:47:25 +00:00
csoler
3560729ba7
fixed define for encrypted database
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6462 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-06-25 19:31:59 +00:00
csoler
4868a90d81
patch from Henry morgan to fix soem typos (e.g misspelled connexion into connection)
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6460 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-06-24 21:23:50 +00:00
csoler
748f7db7a4
Made pqiStore accept packets even after deserialization error, so that it is retrocompatible (Patch from Phenom)
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6459 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-06-23 21:53:14 +00:00
thunder2
233953cab9
Set path to sqlcipher instead of sqlite for Windows compile.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6457 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-06-23 00:00:40 +00:00
chrisparker126
4252270cd6
new db for release, TESTNET5, old TESTNET4 db's are not keyed
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6456 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-06-22 16:21:13 +00:00
chrisparker126
87bb66e349
removed inlined #define RS_ENABLE_GXS
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6450 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-06-20 21:17:57 +00:00
chrisparker126
6b0594dfe1
Fixed database keying bug, left db closed causing meta modification fail.
...
- needed to keep ssl pword a little while longer after rs init
Added more sturdy logic to prevent segv on failed msg/grp meta modification
Added, Data base does not key database if key string is empty
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6448 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-06-20 19:50:25 +00:00
csoler
5e319b1261
fixed autoWash() method in p3turtle.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6447 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-06-20 19:12:33 +00:00
csoler
b21fae52d0
improved status display for distant chat
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6437 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-06-17 21:58:26 +00:00
csoler
8ab9c59a9f
drop generic items with inconsistent peer id vs. tunnel directions
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6436 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-06-17 20:38:20 +00:00
csoler
63339153de
removed debug info
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6434 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-06-16 20:55:36 +00:00
csoler
69bf523c7a
Enabled distant chat system.
...
Added system to collect and create chat invites from pgp keys.
Finished the GUI (some layouts need fixing, especially the link creation window).
Still needed: QoS on generic turtle data items. Will need a new item class for any anyway.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6433 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-06-16 14:39:44 +00:00
chrisparker126
777366a79b
Enabled db encryption and changed gxs folder
...
- need sql cipher to compile if gxs compile flags are enabled
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6431 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-06-13 21:21:33 +00:00
csoler
ff544da72e
added proper tunnel closing mechanism with notification of the talking peer, and popups to inform the chat participants
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6430 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-06-13 21:12:07 +00:00
csoler
42db43e590
- fixed a few bugs in PopupDistantChatDialog (Possible deadlock, wrong window for private chat)
...
- added method to properly close distant chat conversation (Still needs some work)
- improved chat link creation window + clipboard copy
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6426 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-06-12 21:10:09 +00:00
csoler
d5c645e383
fixed assert crash due to using non RSA key
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6424 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-06-11 20:51:39 +00:00
csoler
a6e315db54
added include that might be necessary on some architectures
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6420 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-06-09 18:49:39 +00:00
thunder2
a304ffbab7
Fixed some compiler warnings
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6419 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-06-09 17:54:54 +00:00
csoler
046a3548fe
fixed update of flag for peer signature over own key
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6417 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-06-09 13:09:36 +00:00
csoler
90b5e76f25
fixed bug in anti-search-by-depth mechanism; removed some compiation warnings
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6416 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-06-08 20:48:02 +00:00
thunder2
9fcb18553a
Fixed crash with Windows compile.
...
Renamed method "RsFiles::CopyFile" to "RsFiles::copyFile" (lower case) to avoid renaming of "CopyFile" to "CopyFileW" with the newly included "windows.h".
From windows.h
#define CopyFile CopyFileW
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6415 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-06-08 20:03:29 +00:00
csoler
f6509bef31
only add direct sources that have flag for direct DL enabled
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6412 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-06-06 20:52:24 +00:00
csoler
dc2521cf71
Merged branch v0.5-GenericTunneling into trunk (Rev. 6284 to 6410).
...
- adds turtle router as a generic tunneling service
- made ftServer a client of the service. Now turtle file items are handled in ftServer
- added new client: p3MsgService to send/recv pgp-encrypted distant messages
- added new client: p3ChatService to perform private (AES-encrypted) distant chat through tunnels.
- The GUI is disabled for now, since it needs some polishing before being fully usable.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6411 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-06-06 19:58:30 +00:00
csoler
264f92cf15
disabled debug info
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-GenericTunneling@6409 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-06-05 19:55:10 +00:00
csoler
900abd0f54
fixed compilation of network simulator
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-GenericTunneling@6408 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-06-05 19:54:34 +00:00
thunder2
faac2987db
Revert changes for Windows compile in libretroshare.pro after merging gxs_phase2 branch.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6407 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-06-05 14:19:21 +00:00
csoler
9c69ad0500
added a new per-friend flag to allow to seek for direct transfers. Disabled for existing friendds (should be added manually), enabled by default for new friends
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6406 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-06-05 12:57:11 +00:00
csoler
ef2ebcc1d6
removed unused code
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6405 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-06-05 12:55:48 +00:00
csoler
451dc2da5e
disabled gxs by default in libretroshare to be consistent with rs-gui
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6404 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-06-05 12:11:46 +00:00
chrisparker126
325fa4f222
merging gxs_phase2 branch
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6401 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-06-04 21:00:43 +00:00
csoler
6914897584
fixed destination directory when downloading channel items in auto DL mode
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6396 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-06-01 12:33:54 +00:00
csoler
e11f60150c
improved error handling, and ensures that keyring is always kept consistent
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6395 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-05-31 19:16:04 +00:00
csoler
4b21232beb
fixed bug potentially causing keyring corruption.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6394 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-05-31 17:33:20 +00:00
csoler
554234d385
no time stamp when merging from disk without signature modification
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6393 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-05-31 12:42:16 +00:00
csoler
465420c59c
fixed update of time_stamps for keys from disk
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6391 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-05-31 08:13:16 +00:00
csoler
58319bc8ff
fixed default initialization of time_stamps for keys
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6390 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-05-31 07:30:05 +00:00
thunder2
df9ff91c3f
Fixed compile under Windows.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6388 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-05-30 21:13:55 +00:00
csoler
b4f26dcf8f
fixed bug due to not using realloc correctly (thanks valgrind)
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6385 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-05-30 19:43:05 +00:00
csoler
0d3d8ed2bd
fixed uninitialized memory read
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6384 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-05-30 18:26:50 +00:00
csoler
0266329dc8
- Added a drop-down item to allow removing unused keys, in the Network dialog.
...
- added key removal method in OpenPGP-SDK
- improved FriendSelectionDialog/Widget to enable select all/none keys, and show non friend keys
- added safe key removal method in PGPHandler. Removed keys from other locations will not cause errors.
- added backup system to public keyring, impossibility to remove public parts of owned secret keys, etc.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6382 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-05-29 21:32:02 +00:00
thunder2
3a8a8c1e64
Removed unused member mChanReadStatus from p3Channels.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6378 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-05-24 14:57:33 +00:00
csoler
c2fa746991
added choice for default auto-download directory per channel.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6376 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-05-23 21:47:50 +00:00
csoler
2986e81f7e
added ability to keep track of when keys have been last used for signature check, signing and encryption, so that we can later detect which keys are unused and get rid of them
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6374 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-05-21 22:38:00 +00:00
csoler
182e536061
removed debug messages
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-GenericTunneling@6364 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-05-08 16:58:22 +00:00
csoler
a8d4c02a6e
save/load public msg invites. Small bug fixes.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-GenericTunneling@6358 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-05-05 19:13:27 +00:00
csoler
cc6555b93f
fixed cleaning of attachment
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-GenericTunneling@6357 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-05-04 22:15:05 +00:00
csoler
ec7f992834
added message decryption on right-click for distant messages
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-GenericTunneling@6356 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-05-04 22:03:48 +00:00