mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-06 08:05:18 -04:00
Implementation of GxsId Opinion, and start of Reputation system.
- Removed old reputation system from p3idservice - Removed old Msg types as well (no longer needed) - Added real submitOpinion() - Modified serviceString to support Reputation System. - Added reputation information to both Cached Data, and Standard ID Data. - Added basics of new reputation system as alternative service. (not gxs). - Added Generic TLV types for maps. - Moved configuration files to their own directory .rs/config/ - Finally, fixed up bits missed from the change to updateGroup! git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7131 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
9a4c696688
commit
1b2ed66814
33 changed files with 2046 additions and 916 deletions
|
@ -181,6 +181,7 @@ bool RsAccountsDetail::checkPreferredId()
|
|||
|
||||
const std::string kPathPGPDirectory = "pgp";
|
||||
const std::string kPathKeyDirectory = "keys";
|
||||
const std::string kPathConfigDirectory = "config";
|
||||
|
||||
const std::string kFilenamePreferredAccount = "default_cert.txt";
|
||||
const std::string kFilenameKey = "user_pk.pem";
|
||||
|
@ -1110,6 +1111,9 @@ bool RsAccountsDetail::setupAccount(const std::string& accountdir)
|
|||
std::string subdir1 = accountdir + "/";
|
||||
subdir1 += kPathKeyDirectory;
|
||||
|
||||
std::string subdir2 = accountdir + "/";
|
||||
subdir2 += kPathConfigDirectory;
|
||||
|
||||
std::string subdir3 = accountdir + "/";
|
||||
subdir3 += "cache";
|
||||
|
||||
|
@ -1127,7 +1131,12 @@ bool RsAccountsDetail::setupAccount(const std::string& accountdir)
|
|||
}
|
||||
if (!RsDirUtil::checkCreateDirectory(subdir1))
|
||||
{
|
||||
std::cerr << "Cannot Create Config/Key Dir" << std::endl;
|
||||
std::cerr << "Cannot Create Key Directory" << std::endl;
|
||||
return false ;
|
||||
}
|
||||
if (!RsDirUtil::checkCreateDirectory(subdir2))
|
||||
{
|
||||
std::cerr << "Cannot Create Config Directory" << std::endl;
|
||||
return false ;
|
||||
}
|
||||
if (!RsDirUtil::checkCreateDirectory(subdir3))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue