Commit Graph

5812 Commits

Author SHA1 Message Date
chrisparker126
f74aacd759 remaining code for nxs sync optimisation
- still needs testing

git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-gxs_finale@6903 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-11-16 13:40:04 +00:00
chrisparker126
2e886bf443 Add gxs update items for nxs sync optimisation
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-gxs_finale@6901 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-11-10 22:27:50 +00:00
drbob
6871f9875a Fixed up bugs in Recogn System - basics work now.
- added missing decrement to DataCount in rsmemcache::erase()
 - added missing note_event_locked() in rstickevent ... can now use previous tick info,
 - revamped recogn scheduling. on demand rather than periodic. new function recogn_schedule().
 - deferred loading of pgpIdList for pgphashes, until we know it will be needed.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-gxs_finale@6893 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-11-05 23:33:12 +00:00
chrisparker126
cf8a63888b some fixes
- id pull now works (Peer A, Peer B test)

git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-gxs_finale@6889 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-11-04 14:09:32 +00:00
chrisparker126
67c55991d7 decided to continue propagating peer details in
- gxsnet now has a ctor option to disable auto group sync

git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-gxs_finale@6888 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-11-03 23:46:34 +00:00
drbob
812ddef40e added missing mutex lock.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-gxs_finale@6885 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-10-31 23:39:05 +00:00
chrisparker126
f2884d580f added author pull code
-- problem, still need to figure out how to get peer auth req should go to

git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-gxs_finale@6881 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-10-29 21:29:20 +00:00
chrisparker126
a6f62caef4 -fixed an update issue with actual group item
- simply didn't open grp file in "out" mode on update
-made update a bit more sturdy is group not found on update
  - prevent client can crash librs
  
- updated unit tests for grps and messages
- removed data base removal on db reset as cannot rekey db unfortunately (as passphrase (ssl) cannot be kept in the clear in mem)

 

git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-gxs_finale@6873 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-10-22 19:56:01 +00:00
drbob
d31a34bd95 hack for testing purposes.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-gxs_finale@6869 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-10-22 03:42:20 +00:00
drbob
2ce92da8ad GUI modifications to incorporate RecognTags.
- Enable EditDialog for own Ids.
	- Addition, parsing and removal of Tags in IdEditDialog.
	- Display of Tags (only text) in GxsId Label/Chooser/TreewidgetItem ..

TODO:
	- Add icon sets for RecognTags.
	- display of Tags as Icons.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-gxs_finale@6855 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-10-20 09:56:12 +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
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
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
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
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
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
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
chrisparker126
750dd526c2 To add last couple features for GXS before 0.6 release
- group update 
- sharing admin and publish keys
- tighten up security 

git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-gxs_finale@6580 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-08-16 20:50:02 +00:00
defnax
20c35ea27f changed and replaced some icons (needs fresh recompile)
changed the default headerframe colors

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6579 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-08-15 16:20:14 +00:00
defnax
6ca05401fc fixed spacing
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6578 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-08-14 15:53:01 +00:00
thunder2
570d8db1d5 Updated languages from transiflex.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6577 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-08-14 05:23:35 +00:00
defnax
bce4e577cf messages buttons needs to be order from left to right
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6576 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-08-12 20:38:31 +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
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