jaros1 / Money-Network

Demo with complementary and alternative money. Implemented in ZeroNet and AngularJS. Focus on privacy, encryption, max data in client and min data on ZeroNet. Work in progress.
GNU General Public License v2.0
4 stars 4 forks source link

User data hub without peers #325

Closed jaros1 closed 6 years ago

jaros1 commented 6 years ago

First contact "opera". Startup selected a user data hub without peers. Cannot download /data/users/content.json file. Cannot create user profile.

UI error messages: Error. Timeout while waiting for new user data hub 1922ZMkwZdFjKbSAdFR1zA5YBHMsZC51uc Maybe user data hub without peers Maybe running on a proxy server with add site disabled 5 pending fileGet operations will fail. See log × ! Could not add user data hub 1922ZMkwZdFjKbSAdFR1zA5YBHMsZC51uc Maybe user data hub without peers Maybe running on a proxy server with add site disabled User profile could not be created User action required (todo) × ! Error. Cannot find max user directory size for user data hub = 1922ZMkwZdFjKbSAdFR1zA5YBHMsZC51uc 1922ZMkwZdFjKbSAdFR1zA5YBHMsZC51uc was not found in mergerSiteList × ! Error. Cannot find max user directory size for user data hub = 1922ZMkwZdFjKbSAdFR1zA5YBHMsZC51uc 1922ZMkwZdFjKbSAdFR1zA5YBHMsZC51uc was not found in mergerSiteList

127.0.0.1-1518779608963.log

jaros1 commented 6 years ago

Added a reset_my_user_hub function. Same that is used after failed mergerSiteAdd.

jaros1 commented 6 years ago

Added input text to Add hubs section to change default user data hub. Tested almost OK. Minor things to be tested. Force log out + log in? Force page reload?

jaros1 commented 6 years ago

Found this in log: merged-MoneyNetwork/1PgyTnnACGd1XRdpfiDihgKwYRRnzgz2zh/data/users/18DbeZgtVCcLghmtzvg4Uv8uRQAwR8wnDQ/merged-MoneyNetwork/1PgyTnnACGd1XRdpfiDihgKwYRRnzgz2zh/data/users/18DbeZgtVCcLghmtzvg4Uv8uRQAwR8wnDQ/content.json fileGet started (135). 1 pending ZeroNet API operation (135)

Fixed a regular expression bug in MoneyNetworkAPILib and added better log messages to merge_user_hub code. There must be some invalid fileGet calls in merge_user_hub. Also test that other normal files are moved (for example avatar.jpg, avatar.pn)

jaros1 commented 6 years ago

Fixed minor bugs in merge_user_hub code. Move user hub should be OK now