Commit Graph

4231 Commits

Author SHA1 Message Date
thunder2
4f1d1b8dc7 Fix for ticket #127
Impossible to download a directory, if the download directory is utf8.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4575 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-08-27 21:04:02 +00:00
thunder2
154d315c92 Fix for ticket #124
Search don't work with utf8 chars.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4574 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-08-27 16:15:56 +00:00
thunder2
ac6f4539e9 Fixed the display of the time in the SecurityItem.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4573 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-08-22 09:32:03 +00:00
thunder2
01fa9eec3f Added a new checbox in the settings (NotifyPage) to enable/disable the new SecurityItem. It is enabled by default, but all existing users need to enable it.
Added new buttons to SecurityItem to add/remove the peer and view peer details.
Added new call to notifyListChange with NOTIFY_LIST_FRIENDS in AuthGPGimpl::AllowConnection.
Fixed german language.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4572 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-08-21 22:28:19 +00:00
chrisparker126
2e9d5663c9 removed potential mem leak with p3distrib group edit
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4571 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-08-20 20:20:55 +00:00
thunder2
d349204a63 Added check for administrator rights to add/remove the retroshare:// protocol.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4570 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-08-17 00:06:44 +00:00
thunder2
0f51b7d72f Set inititial sizes of the splitter and columns in FriendsDialog and SearchDialog.
Fixed height of the MainWindow when GetStartedDialog is visible.
Fixed the initial size of the ShareManger and show the checkboxes for the share mode centered.
Fixed german language.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4569 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-08-15 23:42:07 +00:00
thunder2
d25730eabb - Removed not used function RsDirUtil::createBackup.
- Moved ProfileView and ProfileEdit to the folder unfinished.
- Removed "location:" before the ssl name in FriendsDialog and MessengerWindow.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4567 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-08-14 22:31:05 +00:00
thunder2
39708cdd0b Removed some more compiler warnings in retroshare-gui.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4566 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-08-14 21:25:41 +00:00
thunder2
cd0854c4e8 Removed duplicate labels in ui files and some other compiler warnings.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4565 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-08-13 22:26:51 +00:00
csoler
53a7c77ae4 updated scripts for version 0.5.2. Updated ubuntu changelog
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4563 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-08-13 18:25:22 +00:00
thunder2
0fbada0eba Applied patch from AsamK and fixed german translation.
Reduced code duplication with avatar picture loading, by creating two new functions that handle image choosing and thumbnail creation.

two new functions:
bool misc::getOpenAvatarPicture(QWidget *parent, QByteArray &image_data)
QPixmap misc::getOpenThumbnailedPicture(QWidget *parent, const QString &caption, int width, int height)

getOpenThumbnailedPicture opens a QFileDialog to let the user choose a picture file. This picture is converted to a thumbnail and returned as a QPixmap.

getOpenAvatarPicture calls getOpenThumbnailedPicture and converts the result to a PNG byte array.

All three avatar loading functions now call getOpenAvatarPicture
Furthermore Channel Logo and Channel Msg thumbnail functions now use getOpenThumbnailedPicture

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4561 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-08-12 20:27:05 +00:00
thunder2
43c0594d18 Changed some parameters from "std::string" to "const std::string&" in rsinit.h.
Log the error messages from gpgme (ProcessPGPmeError) to stderr.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4560 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-08-12 20:02:00 +00:00
thunder2
70d02c718d Removed unused parameter warnings in retroshare-gui.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4559 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-08-12 14:06:29 +00:00
thunder2
c6beee44ec Removed unused parameter warnings in libretroshare.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4558 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-08-12 13:42:30 +00:00
thunder2
27842b8592 Removed unused parameter warnings in libbitdht.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4557 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-08-12 12:43:24 +00:00
thunder2
babbea6599 - Moved the setting maxTimeBeforeIdle from the section [%General] to [General] in the profile. Please set your prefered value again.
- Saved the selected tab in the TransferDialog in the profile.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4555 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-08-10 22:47:18 +00:00
defnax
a7b36d8252 update rsversion
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4554 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-08-10 21:50:27 +00:00
defnax
8a995313ad update changelog and rsversion
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4553 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-08-10 21:49:17 +00:00
drbob
6931a3ba2c Fixed "double-click" chat startup bug.
* the gpgOnly flag was incorrectly set false.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4550 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-08-10 11:00:34 +00:00
drbob
8438d011c1 Updated OSX password warning - as the storage is pretty secure (Application Specific) under OSX.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4548 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-08-08 12:19:28 +00:00
drbob
ce0a36607d As certificate cleaning is very much more brutal now... (strip all SSL certs not connected to recently).
I've reduced the frequency, and increased the age for removal.
 * Cleared every 31 minutes, first cleaning after 1 hour.
 * old peer is no contact for 90 days.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4547 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-08-08 12:02:17 +00:00
drbob
8688c65f4c * Added "lastcontact = now" when added SSL Peer. This ensures that new certificates will be retained for at least 30 days.
=> Giving new peers a chance to connect.
 * Fixed missing return in p3PeerMgr::removeUnusedLocations()
 * moved RTT defines to top of file, and increased to 150 results.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4546 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-08-08 11:27:40 +00:00
thunder2
cd41eda638 Fixed compile on Windows.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4545 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-08-07 22:23:53 +00:00
drbob
c5c088096f Added Check of Time for main Core Cycle.
* WARNING is printed out & LOGGED if it takes more than 0.2 Seconds to complete.
	-> This happens occasionally, need to watch it. 
	-> This is one of the things that kills connections.
	-> Ideally want to get the cycle down to 0.05 seconds.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4544 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-08-07 22:00:56 +00:00
drbob
b082362c58 Updated retroshare-gui to match libretroshare interface changes.
* remove calls to rsPeers->setAcceptToConnectGPGCertificate();
 * these are replaced with addFriend() / removeFriend().
 * renamed rsPeers->getSSLChildListOfGPGId() => rsPeers->getAssociatedSSLIds().



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4543 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-08-07 21:14:09 +00:00
drbob
8e3e7d5209 Cleaned up rsPeers to remove 10 minute reconnect. The reconnect was caused by
the periodical call of cleanupUsedLocation, which was reloading all the GPG Keys - for each cleanup Key.
This required cleaning up various bits (AuthGPG, rsPeers, p3Disc).

 * moved rsPeer::cleanUnusedLocations => p3PeerMgr::removeUnusedLocations();
 	- made the function light-weight, no loading of GPG Keys.
 * moved getSSLCertsFromGPG() fn from rsPeers => p3PeerMgr
 * added p3PeerMgr::removeAllFriendLocations() to cleanup when removing a GPG Friend.
 * cleaned up rsPeers, made addFriend() / removeFriend() universal functions.
 * remove bool   p3Peers::setAcceptToConnectGPGCertificate(const std::string &gpg_id, bool acceptance)
 * removed all Dummy SSL Ids. - There is no need for this!
 * Major changes to p3disc to correct FLAWED logic.  (needs more testing).
 * removed as many dependancies on retroshare/rspeer.h as possible.
 * changed p3turtle dependancy on rsPeers ==> mLinkMgr.
 * added p3LinkMgr::getPeerName() and p3PeerMgr::getPeerName()
 * added return 1 to pqissllistener::closeConnection().
 * removed unused code from AuthGPG().
 * removed storeAllKeys() calls in AuthGPG::AllowConnection().



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4542 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-08-07 21:11:00 +00:00
thunder2
80629c5d9b Fixed layout in GeneralPage under Windows (there are three additional checkboxes).
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4541 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-08-07 20:21:02 +00:00
thunder2
0043320ea7 Modified Windows TCP hack.
- Reduced the limit of the half-open connections from 5 to 3.
- Only the TCP connections are queued.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4540 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-08-07 18:48:48 +00:00
drbob
aa63ca1aa6 Added Further debugging to try and catch this 10minute reset bug.
* log p3disc::sendHeartbeat(), successful  p3linkmgr::connectAttempt()
 * log reason for each pqissl::reset().
 * log linkmgr & peermgr  addFriend() and removeFriend().
 * log pqiperson::connect(), p3PeerMgr::cleanUnusedLocations().
 * Modify timing of cleanUnusedLocations (=>8min) & NETSTATE_PARAM_TIMEOUT (=>15min) (see if it has an effect).



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4539 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-08-06 12:27:23 +00:00
thunder2
d870412523 Forgot to commit retroshare-nogui and forgot to say recompile of the GUI needed.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4538 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-08-05 21:17:08 +00:00
thunder2
687b2ecd36 The password dialog can be canceled.
Fixed an error when cancel the login password dialog at startup. RetroShare did not start after this.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4537 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-08-05 20:45:09 +00:00
drbob
b1ac8bc9d2 Added Second Queue, to check if connections are actually valid before installing.
* SSL_Peek is called on new connections, and we only accept it when there is data.
 * This should stop some of the unstable connections caused by wrong IP:Ports



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4533 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-08-05 16:04:35 +00:00
thunder2
23e49f7302 Optimized the Windows connection hack. Suppressed unnecessary count of connection attempts when no connection is waiting.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4531 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-08-04 23:27:58 +00:00
drbob
8066862833 Fixed Bug in choosing port for Proxy UDP. Chooses a Random one between 30000-50000.
It was using the same port as the DHT, and switching to a Random one, on its own.
 * Added debugging for net reset.
 * Added further debugging for ssl (reset + killing existing connections)



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4530 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-08-04 22:57:12 +00:00
defnax
91b37be2e5 changed DHT icon on system tray menu
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4529 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-08-04 21:41:53 +00:00
drbob
a9bdb5119f * Disable RTT display by default.
* flipped RTT horizontal axis, and added "New" and "Old" Indicators.
 * only consider visible points for maxRTT (vertical scale) of plot.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4526 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-08-04 15:01:11 +00:00
drbob
3623b3d957 * disabled rtt debugging
* reduced frequency to 10 secs.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4525 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-08-04 14:58:53 +00:00
csoler
17a562dc3e fixed a bunch of missing returns
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4523 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-08-03 19:57:23 +00:00
defnax
615b1b5704 fixed win compile
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4522 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-08-03 19:06:40 +00:00
drbob
70d0328a3b Hacked up Cyril's TurtleStatistics to provide plot of RTT measurements.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4520 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-08-03 17:45:03 +00:00
drbob
e993068521 Added Test Service for determining VoIP possibilities.
* Measures Lag and Clock offset, by pinging peers periodically.
 * added interface so the results can be plotted.
 * added serialisers for ping/pong data types.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4519 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-08-03 17:43:26 +00:00
thunder2
3ce44a7720 Fixed the sending of outgoing messages.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4516 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-08-02 21:55:31 +00:00
thunder2
466697276e Applied patch to enable the sort of the columns star and unread in messages (from AsamK)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4515 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-08-02 21:07:42 +00:00
drbob
c1d23c27c7 added missing "FORWARDED_PORT" case to natstatus
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4513 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-08-02 19:07:22 +00:00
drbob
3ef08fead5 Added Address update from p3NetMgr => p3PeerMgr, when external address has been determined.
* extract external address from DhtStunner if possible.
 * added p3PeerMgr::UpdateOwnAddress(), which should only be called by p3netmgr.
 


git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4512 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-08-02 19:05:27 +00:00
defnax
7e6c58dd10 update rs version
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4509 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-07-31 17:56:34 +00:00
defnax
db364e003d fixed win compile
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4508 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-07-31 17:47:29 +00:00
defnax
b9d6427415 update rsversion
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4507 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-07-31 16:05:13 +00:00
csoler
d0b1c36685 updated changelog for ubuntu
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4506 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-07-31 14:09:10 +00:00