Commit Graph

608 Commits

Author SHA1 Message Date
csoler
34570daba1 fixed compilation for versions not using sqlcipher
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8502 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-16 19:17:25 +00:00
thunder2
5f4e465a09 Added proper shutdown of the plugins with remove of the service and dlcose of the plugin handle.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8493 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-16 14:20:59 +00:00
electron128
8fc3917c4b webui:
- added profile import/creation
- fixed leaking file descriptors
- added upload handler for small files
- fixed terminal thread
- removed some unused parameter warnings

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8485 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-16 12:35:07 +00:00
thunder2
fb8ec988b2 Changed parameter isFirstTimeRun of RsAccountsDetail::getAccountOptions to output parameter.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8479 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-15 22:16:06 +00:00
thunder2
6a778ab904 Added check for trailing '/' of base directory in RsAccountsDetail::setupBaseDirectory.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8464 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-15 12:46:04 +00:00
thunder2
dc62965760 Added missing fclose to RsAccountsDetail::loadPreferredAccount.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8455 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-14 22:23:26 +00:00
thunder2
0ca37f6756 Added version information of the libraries to HelpDialog.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8446 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-14 17:45:26 +00:00
csoler
6c7d86d659 improved GUI layout. changed filtering strategy: now all is collected but only a subset is banned, according to user input. Default is to only ban IP ranges auto-generated and home-made ranges.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8375 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-04 20:26:57 +00:00
thunder2
70d37d0306 Added check of account directory (check for missing subdirectories) in RsInit::InitRetroShare
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8362 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-03 23:03:03 +00:00
csoler
9ef5557146 fixed uninitialised memory read
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8322 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-05-30 21:18:10 +00:00
csoler
b2967418ff added load/save of banlists
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8320 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-05-30 19:34:30 +00:00
csoler
38aefdf62f first UI prototype for IP ban list system. Not yet usable.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8305 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-05-27 21:30:40 +00:00
csoler
5b2ba1e81c - added more debug info to p3LinkMgr
- added check for banned IP from DHT at connection time
- added regular removal of banned IPs from friend IP lists
- increased time of banned IP storage to 1 week (previously 6 hours)
- added save for banned IPs to keep them after restart (in bdfilter.cc) to file bdfilter.txt (can be manually updated)
- changed mFiltered into a std::map for increased search efficiency
- added secondary check of cert ID at connection time.-This line, and those below, will be ignored--

M    libretroshare/src/pqi/p3netmgr.cc
M    libretroshare/src/pqi/pqimonitor.h
M    libretroshare/src/pqi/p3peermgr.cc
M    libretroshare/src/pqi/p3linkmgr.h
M    libretroshare/src/pqi/pqissllistener.cc
M    libretroshare/src/pqi/p3peermgr.h
M    libretroshare/src/pqi/p3linkmgr.cc
M    libretroshare/src/pqi/pqiperson.cc
M    libretroshare/src/pqi/pqissl.cc
M    libretroshare/src/rsserver/rsinit.cc
M    libretroshare/src/dht/p3bitdht_relay.cc
M    libretroshare/src/dht/p3bitdht.cc
M    libretroshare/src/dht/p3bitdht.h
M    libretroshare/src/retroshare/rsdht.h
M    libbitdht/src/udp/udpbitdht.h
M    libbitdht/src/udp/udpbitdht.cc
M    libbitdht/src/bitdht/bdmanager.cc
M    libbitdht/src/bitdht/bdmanager.h
M    libbitdht/src/bitdht/bdnode.h
M    libbitdht/src/bitdht/bdfilter.h
M    libbitdht/src/bitdht/bdfilter.cc
M    libbitdht/src/bitdht/bdnode.cc
M    libbitdht/src/bitdht/bdstore.h


git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8289 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-05-25 14:02:45 +00:00
csoler
e9b9dce9f5 created 2 subclasses of RsThread, one for ticking services, and one for single shot jobs. Now all threads use the same base code.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8288 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-05-22 20:54:38 +00:00
electron128
699dc50b3f in ChatLobbyWidget: show dialog to create a new identity when there is no own identity
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8269 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-05-17 10:13:32 +00:00
csoler
789b76f7b4 added a button to clear the IP address list. Also started to add diagnostic for TOR status. This is unfinished so it does not work yet.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8268 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-05-17 10:00:00 +00:00
electron128
66242ce068 show if TCP connection is incoming or outgoing (modified patch from sehraf)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8265 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-05-16 11:19:53 +00:00
electron128
127c104e5e added web interface to retroshare-gui
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8165 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-04-24 14:31:13 +00:00
csoler
77a33cd445 removed unnecessary debug output
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8153 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-04-21 20:09:20 +00:00
csoler
fce6b7edf3 changed default data rates (it is better to have some prople need to reduce it than everyone need to increase it). Added placeholder in gen cert dialog for TOR
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8145 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-04-19 18:35:36 +00:00
csoler
c9d5c7b3cb turned some std::list<PeerId> into std::set, as it automatically prevents duplicates
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8138 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-04-17 21:36:22 +00:00
csoler
f1309a8cbe fixed detection of TOR connections on server side (patch from sehraf)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8137 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-04-16 16:24:36 +00:00
electron128
e9b722a732 removed old code in rsiface/p3face
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8114 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-04-04 09:54:10 +00:00
csoler
96d5eb485a changed default cert name so that v0.6 and v0.5 do not use the same file
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8101 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-03-30 20:34:36 +00:00
electron128
d65adeb2ea disabled debug print of DHT requests, disabled debug print in p3Peers::getProxyServer(), added missing newlines in debug prints (modified patch from Hypfer)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8084 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-03-27 18:41:44 +00:00
csoler
ae0603a687 added test to prevent using twice the same config file; changed duplicate config file name causing deserialisation errors and loss of some config files; added printout of hex code for RsItems that fail deserialisation
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8075 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-03-25 22:21:01 +00:00
electron128
74dd9f7b7b fix data directory on Linux, use new path /usr/share/RetroShare06
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8073 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-03-25 08:29:12 +00:00
electron128
7e03f3944b don't store name, location name and date in new SSL certs. Location name is now stored in an extra file. Backwards compatible to old locations and old peers.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8072 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-03-25 08:19:45 +00:00
drbob
7cece484c4 Modify Messages with additional namespace - to allow switching to new Mail.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8066 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-03-22 04:45:01 +00:00
csoler
48ea291d95 moved signature validation and encryption one level up into p3IdService. Added timestamp for GXS identities and auto-removal after 7 days. Updated display in IdDialog
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8015 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-03-14 14:33:23 +00:00
csoler
f9c78ebd61 merged in new lobbies with GXS ids. Old peers and new peers cannot see each others lobby lists. Invitations still work and can be used to transfer a lobby ID between versions. Messages of old and new peers will not be visible to each other
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7986 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-03-06 21:13:23 +00:00
csoler
d2c4c3bb09 added new flag to allow peers auto-download recommended files from trusted neighbor nodes, which give the possibility to push data to other nodes
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7955 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-02-18 19:07:58 +00:00
csoler
0d308ffa2e patch from sehraf to fix the ChatId::toStdString() method
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7940 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-02-13 19:09:03 +00:00
csoler
baccdd58df committing missing part of rev. 7928
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7930 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-02-08 21:06:36 +00:00
csoler
7642ba1c1f added load/save to service permission matrix
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7906 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-02-03 21:28:32 +00:00
csoler
34f968a112 merged new GRouter model (branch v0.6-NewGRouterModel 7837-7863). Provides a fully functional distant messaging system. The asynchronous part will be implemented shortly
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7867 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-01-23 19:28:10 +00:00
csoler
d886c34233 added missing line when exporting ChatID to std::string (fix by sehraf)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7855 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-01-22 15:57:24 +00:00
csoler
8cb3ae6d2e added code to generate 3072 and 4096 bit PGP keys at startup (Patch from Serhaf)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7841 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-01-12 22:02:43 +00:00
csoler
e8f5f44318 started implementation of new Global Router model. Switched msg service to use it (much simpler now!), and updated GUI. Implemented half the tunnel management logic.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.6-NewGRouterModel@7838 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-01-11 22:18:28 +00:00
csoler
13d7866171 simplification of the chat interface to libretroshare using a single unified class for chat IDs. Used a common chat widget for all chats including broadcast. Opens the way to having plugins send/recv chat messages. Patch from Electron.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7800 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-12-29 21:41:05 +00:00
csoler
c8b3d4e527 improved RsServer so that join() is called on every running thread at shutdown, hence avoiding SIGSEGV. Removed some unused members of RsServer
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7776 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-12-21 20:52:34 +00:00
thunder2
55be6675af Added size limit for chat types - Public, Private, Lobby, Distant
Set the size limit for private and distant chat to unlimited.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7761 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-12-16 10:39:56 +00:00
thunder2
2f547e4014 Added service pointer of forums and channels to RsPlugInInterfaces.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7704 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-11-23 23:24:41 +00:00
csoler
06065ef623 added selection of which identity we talk as when multiple GXS identities are available
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7691 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-11-18 15:55:31 +00:00
csoler
8480d46eb5 improved the logic in distant chat. Now all traffic is referred to by the GXS id of the contact instead of virtual peer id which would change with tunnel route. Work still needed to fix up the GUI
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7687 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-11-16 22:46:18 +00:00
csoler
f6efa2fb92 separated chat items from message items, separated chat into tree components: chat, distant chat and distributed chat (i.e. lobbies). moved all chat components into chat/. Removed deprecated chat items
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7670 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-11-11 16:10:54 +00:00
csoler
04b3b432e8 fixed re-login after wrong passwd. Patch from Electron
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7669 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-11-08 19:31:16 +00:00
csoler
ea5b923428 added very basic display of outqueue statistics in BwCtrlWindow. Removed unnecessary list::size() calls in pqistreamer
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7652 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-10-31 21:24:42 +00:00
csoler
90b57337f5 fixed display of TOR connexions in the friend list
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7642 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-10-26 16:24:45 +00:00
csoler
d547cb6fdb changed post fixed operator++ into prefixed. More efficient on some systems. Patch from Phenom.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7630 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-10-24 22:07:26 +00:00