Commit Graph

199 Commits

Author SHA1 Message Date
csoler
10d83d72b3 fixed wording (patch from HM)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6427 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-06-12 21:18:39 +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
defnax
322c3e70a1 Added a info Label for the Friend Request Page
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6332 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-04-23 15:19:58 +00:00
csoler
ae5e1c7ae5 reverted last commit. Fixed the perm bug in ConnectFreindWizard (Patch from Henry Morgan)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6316 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-04-19 11:54:39 +00:00
csoler
e7536960c3 - fixed inconsistency in parameter naming, causing error_string to be mixed up with gpg id (Not a bug).
- removed unimplemented entry loadCertificateFromFile()


git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6075 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-01-19 13:43:35 +00:00
csoler
d893d30883 - made errors of certificate (new formaT) parsing translatable.
- added checksum code for new format certificate. Will be enabled in v0.6, since it is not backward compatible
- fixed very stupid bug in radix64 cleaning function, causing any certificate to be accepted as a radix string
- added list of non backward compatible changes in README.txt, so that we can track them


git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6030 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-12-22 21:22:03 +00:00
thunder2
0a499634dd FeedReader:
- added notify in main window, systray icon and settings

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6021 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-12-20 13:30:16 +00:00
thunder2
751756c543 Fixed layout of the FriendRequestPage in ConnectFriendWizard.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5973 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-12-11 23:43:53 +00:00
defnax
bd3d08a2ae removed html from the User Permission Label, for better translation
added a default stylesheet for better look,
added icons

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5966 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-12-11 14:35:00 +00:00
csoler
3dd81f3e77 removed unnecessary button
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5959 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-12-10 08:28:35 +00:00
thunder2
d2b6efddb3 Added patch from Henry
Renamed gpg to pgp

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5926 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-12-02 00:25:11 +00:00
csoler
e3da77612a - Added flags for services and service permissions for peers
Flags are identity-related, meaning that all locations of the same peers have the same flags.
- It's now possible to tweak which services each peer can use. Service that can be disabled are
  forums/channels, discovery, anonymous routing.
- by default, peers have all flags on.
- fixed missing error msg in p3cfgmgr when serialisation fails.
- fixed bug in RemoteDirModel causing infinite loop to happen when group name is unknown




git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5924 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-12-01 19:22:22 +00:00
thunder2
224ece5795 Added patch from Henry
- renamed own/your to my
- renamed gpg to pgp
Updated english translation.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5907 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-11-28 19:58:14 +00:00
thunder2
4acc7e5e34 Added patch from Henry
- Changed some english strings
Updated english translation.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5903 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-11-26 22:59:49 +00:00
thunder2
968f72f303 Fixed missing seconds in time format.
Added new basic class for date/time format.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5825 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-11-15 21:35:37 +00:00
thunder2
a573211629 Added and modified patch from Henry
Modified the date format according to the chosen language (locale).

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5798 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-11-10 18:59:58 +00:00
defnax
886f84b929 patch from Henry Morgan to correct spelling mistakes in source
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5662 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-10-11 10:28:24 +00:00
thunder2
b67f9f88fe Changed the standard dialog buttons from single buttons to buttonbox to have a standard layout and a standard translation.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5657 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-10-10 10:51:53 +00:00
thunder2
3d341b3817 Moved some internal stylesheets to the file Standard.qss.
Reworked some elements in the standard gui.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5521 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-09-07 17:30:23 +00:00
thunder2
a82e2960e1 Moved some internal stylesheets to the file Standard.qss.
Set the built-in stylesheet "Standard" as default for new profiles.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5484 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-08-29 22:40:16 +00:00
defnax
f9d911fdfb Added 64 size icons
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5483 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-08-29 16:19:27 +00:00
thunder2
e49854ee25 Removed dialog FriendRequest and use ConnectFriendWizard instead.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5482 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-08-28 23:39:11 +00:00
csoler
1d72bd646b added checkbox for using old cert format in security page. Switch to old format by default, to avoid confusing newbees
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5478 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-08-27 22:15:27 +00:00
thunder2
3f2ab9259d Added new base class HeaderFrame - image and text at top of the windows.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5464 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-08-24 10:49:08 +00:00
thunder2
70cbd3c84d Cleaned some ui files.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5457 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-08-22 13:44:23 +00:00
defnax
a39ad6841a Set correct font size
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5451 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-08-21 15:32:17 +00:00
defnax
8db73ff27d Added a new GroupBox for bether look
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5449 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-08-21 13:52:14 +00:00
defnax
0498db0d46 Added a header to Friend Details
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5447 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-08-21 12:29:43 +00:00
csoler
9f7d54f91d fixed showup of self signatures in certificates that are not in the keyring already
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5438 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-08-17 19:05:22 +00:00
defnax
c5ad4ba206 improved request page design
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5435 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-08-17 13:45:05 +00:00
thunder2
21e97a47df Added a new page for user request to ConnectFriendWizard.
The page is shown instead of the conclusion page when the user clicks on the certificate link in a message of type user request.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5432 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-08-16 10:20:34 +00:00
thunder2
0e0458e40c Fixed empty certificate string in ConnectFriendWizard when click on a certificate link.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5426 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-08-15 14:49:42 +00:00
thunder2
cfe72859bf Added automatic clean of the friend certificate in ConnectFriendWizard.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5422 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-08-14 23:20:33 +00:00
csoler
60f51c358c - added new certificate format in ConfCertDialog and ConnectFriendWizard, with a button to switch to old format if necessary
- added automatic cleaning of certificates in both formats
- grouped all certificate cleaning/parsing code in rscertificate.cc
- removed unused files cleanupxpgp.h/cc
- added upper/lower case to rsid template.

The new format is to be tested. It is supposed to be much more robust than the previous format,
in particular, allowing any string for location names.


git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5410 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-08-13 19:37:50 +00:00
csoler
cde076aac6 added auto-clean of certificates at load time. Removes many errors.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5337 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-07-27 14:26:05 +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
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
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
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
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
defnax
e8b1c08ace Removed not needed field in FriendRequest Dialog
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5121 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-04-26 09:42:35 +00:00
thunder2
10400faf4c Removed minimal version.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5113 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-04-20 15:17:52 +00:00
defnax
57260853b7 removed not used items
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5090 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-04-12 15:20:06 +00:00
defnax
6aa7cd1e14 Added "You have a friend request" label to FriendRequest Dialog
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5088 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-04-10 15:55:12 +00:00
defnax
665b7fbf47 removed not needed button
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5083 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-04-07 11:19:42 +00:00
defnax
70af1eccf5 Renamed "Accept Friend Request" Button to "Confirm",
set correct stylesheet for new forum item

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5082 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-04-06 21:29:09 +00:00
defnax
d0a9874c54 Added stylesheet for the Friend Request Buttons
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5081 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-04-05 21:20:28 +00:00