Commit Graph

2826 Commits

Author SHA1 Message Date
defnax
b52fc7708f removed not needed info buttons for the infodialog
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5313 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-07-18 14:08:53 +00:00
thunder2
47d652b4ec Fixed a possible crash at startup.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5311 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-07-17 22:16:56 +00:00
csoler
cda4adbf5b moved channel action menu into right click, for better consistency
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5309 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-07-17 21:22:37 +00:00
csoler
233914c02d desactivated TrustMatrix, by the time we decide wether it is worth keeping it, and implement a better version of it
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5308 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-07-17 20:40:51 +00:00
csoler
c21fd10521 updated french translation (Max Romeo)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5307 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-07-16 21:30:47 +00:00
thunder2
9389849e53 Fixed crash when starting the help browser from friend details the second time.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5305 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-07-15 22:24:03 +00:00
thunder2
15c032468a Enabled translation (system default language) of the message box before the login to a profile.
Fixed german translation.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5304 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-07-15 21:37:35 +00:00
thunder2
703e5def72 Removed usages of gpg.h and cleaned pro-files for Windows.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5296 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-07-14 00:02:40 +00:00
csoler
fc8dfcf65b Merged branch v0.5-OpenPGP into trunk:
User-level changes:
==================
- libgpgme is not used anymore; it is replaced by a built-in piece of code called OpenPGP-SDK 
  (http://openpgp.nominet.org.uk/cgi-bin/trac.cgi) that was improved to be used by RetroShare
  for handling PGP keys.

- the gnupg keyring is not used anymore. Now, RetroShare has it's own gpg keyring, shared by all instances.
  On linux it's located in ~/.retroshare/pgp/. A lock system prevents multiple locations to read/write keyrings
  simultaneously.

- the trust database from gnupg is not documented, so RetroShare cannot import it. This comes from the fact that
  the GPG standard (RFC4880) asks explicitly not to export trust information. So RetroShare has it's own 
  trust DB shared by locations. This means you need to re-trust people. Sorry for that!

- at start, if no keyring is found, RS will propose to copy the gnupg keyring to use your existing keys. Clicking on 
  "OK" will do the copy, and you should find back all existing locations, except for DSA keys.

- locations for which the suitable keypair is not in the keyring will not be displayed in the login window
- locations for which the suitable keypair is not a RSA/RSA key will not be displayed. RetroShare does not
  support DSA/Elgamal keypairs yet.

- a key import/export exchange function has been added in the certificate creation window (you go there from the login
  window by clicking on "manage keys/locations". This allows to easily create a new location with the same pgp key on
  another computer. To obtain a suitable keypair using gnupg, you need to concatenate the encrypted private key and the 
  public key into an ascii file. This can be done using:
  		gpg -a --export-secret-keys [your ID] > mykey.asc
		gpg -a --export [your ID] >> mykey.asc

- importing a key with subkeys in not yet possible. Please remove subkeys before importing.

- The code has been tested for a reasonnable amount of time, but it's not possible to prevent some new bugs 
  to appear. Please report them asap supplying: call-stacks if possible, and terminal output. In particular,
  openpgp has some assert()'s that should not be triggered unless RetroShare is calling it in an improper way.

Internal changes
================
- a specific component, PGPHandler, takes care of the interface between openpgp-sdk and RetroShare
  openpgp-sdk is c-code, with it's own memory management, which has been kept well separated from 
  RetroShare.

- GPG Ids are now a specific class (not a std::string anymore) for code consistency reasons. As strings are
  still used in many places, this requires a few conversions. In particular, AuthGPG takes strings as
  function params and calls GPGHandler with the proper PGPIdType class. In the future, RetroShare should
  only use PGPIdType. The same will be done for SSL ids.

- signature cleaning is still handled by the Retroshare built-in function, not by openpgp, but we will 
  do this later.

Still to do
===========
- DSA needs subkey handling, since the encryption is performed by a Elgamal subkey. Not sure this will be done.
- GPGIds/SSLIds cleaning (meaning replace strings by appropriate types). Lots of confusion throughout the code in retroshare-gui in particular.
- key removal from keyring. This is a challenge to keep locations synchronised.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5293 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-07-13 21:53:39 +00:00
csoler
4fc3ce491a updated self-signatures
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-OpenPGP@5292 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-07-13 12:20:44 +00:00
csoler
f5c276c9b5 improved error handling
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-OpenPGP@5289 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-07-12 19:20:31 +00:00
thunder2
540f04bed5 Enabled word wrap of the description in ChanNewItem.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5288 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-07-12 10:38:22 +00:00
csoler
749dd01d77 implemented keypair import
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-OpenPGP@5287 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-07-11 16:17:49 +00:00
csoler
c9eb267165 implemented export of identity (to create additional locations easily). Import still to do...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-OpenPGP@5285 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-07-10 21:40:53 +00:00
csoler
2ca0bf71d0 fixed bad call to isKeySupported()
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-OpenPGP@5284 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-07-10 18:30:37 +00:00
csoler
fa6674fd01 removed old includes of gpgme. Updated values for trust
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-OpenPGP@5279 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-07-07 16:26:54 +00:00
csoler
f68cc45461 updated .pro files for compilation
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-OpenPGP@5261 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-07-01 13:15:36 +00:00
csoler
6e536ae67e fixed typo
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5251 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-06-23 13:31:28 +00:00
csoler
bad047d7fe fixed stupid bug in friendlyUnits()
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5250 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-06-23 13:28:04 +00:00
drbob
fd34bbfdaf Improved display of bandwidth data.
- Coloured items.
	- Put N/A for peers that aren't running BwCtrl yet.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5248 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-06-22 13:03:18 +00:00
drbob
3dfbf128d8 added QueueSize to displayed information.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5246 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-06-22 01:36:23 +00:00
drbob
9fcc9277c2 shrink window size
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5244 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-06-22 00:45:55 +00:00
drbob
7501d92882 Added new display window for monitor bandwidth rates with peers.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5242 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-06-21 23:24:53 +00:00
thunder2
1b4a963b78 Beautified messagebox when switching to the OpenPGP version.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-OpenPGP@5236 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-06-19 22:31:37 +00:00
csoler
36198b7e6a Enabled full chunk checking code:
- unchecked chunks are not made available to swarming sources, not saved as done.
- force check now uses the simple method to put all chunks in checking mode
- force checked files can be cancelled (finally!)
- improved display (use red for active chunks, yellow for checking)
- cache file are not using chunk checking (assume_availability=true)
The code still contains the #ifdef. It should be removed soon if everything works ok.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5235 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-06-19 21:36:10 +00:00
thunder2
ef424a1e11 Fixed crash in TransfersDialog when right clicking on a download without "#define USE_NEW_CHUNK_CHECKING_CODE".
Already corrected in the trunk.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-OpenPGP@5230 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-06-18 20:56:02 +00:00
csoler
8ef3d851de fixed bug in display of upload progress
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5228 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-06-17 13:45:17 +00:00
csoler
dba66cdd7a added check for DSA/RSA key algorithm. Disabled make friend, login and cert creation, with unsupported keys
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-OpenPGP@5221 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-06-14 20:13:31 +00:00
thunder2
be177ecb27 Fixed one more compiling issue.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5214 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-06-11 21:32:22 +00:00
thunder2
ee3677da2b Added and modified patch from AsamK
- Fixed bug in Qt for Windows Vista and higher. Convert path from native separators of filenames from QFileDialog::getOpenFileName(s)

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5213 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-06-11 21:24:55 +00:00
thunder2
63104ceefc Fixed possible compiling issues on Ubuntu.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5212 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-06-10 23:47:41 +00:00
thunder2
1885fb66c4 - Enabled compile on Windows (bzip2 library needed).
- Fixed crash after the second call to RsInit::InitRetroShare when keyring does not exist.
The instance of AuthSSL was created twice and AuthGPG was deleted without stopping the thread. Stopped the AuthGPG thread on exit of RetroShare.
- Added the correct path to the keyring for Windows in RsInit::copyGnuPGKeyrings.
- Changed the detection of the portable version on Windows from the file "gpg.exe" to the file "portable".

git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-OpenPGP@5211 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-06-10 00:29:46 +00:00
csoler
a91e859b66 added dialog box to import existing keyrings when starting the new pgp version for the first time
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-OpenPGP@5210 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-06-09 21:01:22 +00:00
thunder2
080510bc97 Added patch #3510849 from Adam (interfect)
Capitalize "copy RetroShare key to clipboard"

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5208 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-06-09 17:59:45 +00:00
thunder2
0989897696 Fixed sorting (case insensitive, numbers) in SearchDialog.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5207 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-06-09 14:14:04 +00:00
thunder2
e5a25b94f0 Added "file:///" to "%style-dir%" for the chat styles.
Renamed "RetorShare" to "RetroShare".
Fixed german language.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5206 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-06-08 22:06:28 +00:00
thunder2
ff6276e920 Changed chatstyle structure from
[RS-Dir] / stylesheets / {public | private | history} / my_chatstyle /
to
[RS-Dir] / stylesheets / my_chatstyle / {public | private | history} /

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5192 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-06-01 21:48:53 +00:00
thunder2
569d463f02 Optimized the fill of the up- and downloads in TransfersDialog.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5191 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-06-01 20:51:14 +00:00
csoler
40b1f6f053 fixed incompatibility with Qt < 4.6
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5190 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-05-25 19:29:09 +00:00
thunder2
50bc57b0fe Sort participants list in the chat lobby case insensitive.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5186 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-05-24 19:26:43 +00:00
defnax
55b6211e7e update version string and changelog
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5185 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-05-24 12:02:34 +00:00
thunder2
1855d19436 Added check for empty lobby nick name.
Moved notify of lobby nick name change from the gui to p3ChatService.
Added missing mutex locks for p3ChatService::_default_nick_name.
Recompile needed.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5184 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-05-23 22:33:45 +00:00
thunder2
917f9913df Added patch from Imanuel
- Added new placeholder %style-dir% for ChatStyles.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5183 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-05-23 13:24:04 +00:00
thunder2
56e156a65a Fixed replacing of %color% in ChatStyle. It should not be replaced after %message%.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5182 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-05-23 09:19:50 +00:00
thunder2
22a0f89751 Redesigned ConnectFriendWizard as ui file.
Added new base class DropLineEdit.
Fixed german language.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5181 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-05-22 22:24:10 +00:00
thunder2
25547d0ea8 Added patch from braindead:
changed base-class of AvatarWidget to QLabel

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5179 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-05-21 19:37:38 +00:00
thunder2
443703e61f Switched back to not optimized compile on Windows.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5178 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-05-21 19:06:16 +00:00
thunder2
a7eda64872 Fixed compile on Linux.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5177 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-05-20 16:53:28 +00:00
thunder2
b344aebbe6 Added changes from braindead:
- simplified avatarwidget
- prepared property-dependend stylesheets

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5176 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-05-19 22:18:15 +00:00
thunder2
e2746efb85 Optimized RsCollectionDialog (still without thread).
Enabled extended selection and mark with the key 'space'.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5173 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-05-16 18:58:52 +00:00