Commit Graph

5788 Commits

Author SHA1 Message Date
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
b4f2912434 updated ubuntu changelog
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6567 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-08-08 16:14:44 +00:00
csoler
1e2307df47 removed quick message menu and replaced message writing so that it runs a distant message. This is most likely to be needed if the peer is not a friend or can not be connected anyway
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6566 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-08-08 15:09:20 +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
thunder2
1c4f68bc60 Disabled setting "Start RetroShare when my system starts" on Windows when running the debug version.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6563 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-08-08 12:46:32 +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
e74d91d7a5 fixed small bug introduced by command line params refactoring
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6560 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-08-07 14:43:34 +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
thunder2
c4c5eb5399 - Fixed crash when closing the main window without the setting "Minimize to Tray Icon"
- Renamed the setting "Do not Minimize to Tray Icon" to "Minimize to Tray Icon" and fixed wrong usage
  Please check your setting!
- Updated english translation


git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6557 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-08-04 23:53:29 +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
d7a1d3fe97 added signature icons
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6554 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-08-04 13:19:27 +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
f27b2368ab patch from henry to improve commandline info
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6550 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-08-02 18:27:50 +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
csoler
f5acb53ea7 reverted default params in packaging script
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6546 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-07-28 13:31:36 +00:00
csoler
29d16c4415 updated ubuntu changelog
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6545 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-07-28 13:22:00 +00:00
csoler
2f409230a5 updated packaging scripts to handle various cases (ubuntu lucid, bubba3 arm)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6544 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-07-28 13:13:21 +00:00
thunder2
1ebf18c282 Fixed height of the header frame in the main pages.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6543 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-07-28 09:56:24 +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
a823cc9edc Fixed some utf8 issues in identities.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6538 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-07-24 14:33:47 +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
a2ab72fed3 Added frame to title bar in NewsFeed page.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6533 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-07-23 09:24:36 +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
thunder2
fef4a87c7c Simplify layout of NewsFeed dialog.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6531 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-07-22 19:14:49 +00:00
thunder2
83f0920721 Fixed layout of forums dialog.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6530 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-07-22 16:20:26 +00:00
csoler
9e7d6aa00b changed welcome message in broadcast chat
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6529 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-07-22 12:34:05 +00:00
csoler
b105d02524 updated strings for translation
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6528 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-07-22 11:59: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
d43a43963f fixed layout in NewsFeed
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6526 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-07-21 19:52:48 +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