Commit Graph

15 Commits

Author SHA1 Message Date
sairajzero
fd592da8ed Supernode Update
Changes:
- Changes for wss update
Added:
- Added time to data
- errorFeedback: (if on)Feedback if any error in processing data from users.
- live-request: When a new data is stored, sends it to all respective requestors of that floID.
- deleteRequest: Users will now be able to delete the data received by them from cloud. (Note: user must be the receiverID of the data; sign verification ll be done).
Improvements:
- Improved data processing from wss.
- Improved data-signature format (new format: "receiverID|time|application|type|message|comment").
- Time in data must be within the allowed delayDelta.
- Feedback vectorclock of stored data to the sender.
- Dedicated disk will now be applied to authorised apps instead of diskList (removed floGlobals.diskList)
	. Authorising apps will automatically create a new disk for the app and imports all data of the app from defaultDisk.
	. Unauthorising apps will automatically exports all data from app disk to defaultDisk and deletes the app disk. (Caution: Unauthorising an app will cause diskCleanUp to delete all data stored before deleteDelay).
- Improved autoDeleteStoredData to diskCleanUp. For defaultDisk: deletes all data before deleteDelay, For authorised apps deletes data before deleteDelay sent 'from non-subAdmins' and/or 'to non-admin'.
Bug fixes:
- Minor bug fixes
2020-09-17 17:45:20 +05:30
sairajzero
4a8e8bd241 Websocket Improvement
* Added gid and uid to websocket (mg_connection)
Note: gid = group ID, uid = unique ID.
* Replaced old ws msg processing functions with new ones
* System functions:
- sys_display: Displays in console/terminal
- sys_unicast: unicast message to respective ws
- sys_broadcast: broadcast message to all ws
* Supernode to Users:
- broadcast: Sends msg to all ws
- groupcast: Sends msg to ws of affilated group
- unicast: Sends msg to respective ws
*User to Supernode:
- forward: Forwards msg from user to supernode ws
2020-09-17 17:07:05 +05:30
sairajzero
4e58e7c9c2 Kbucket sub-module fix 2020-09-09 20:54:59 +05:30
sairajzero
0bdf806d36 update stdop and beautify 2020-09-07 21:27:34 +05:30
sairajzero
1e57f4f6ab Improvements and Bug fixes 2020-09-02 03:06:15 +05:30
sairajzero
25acfab2ef bug fix 2020-08-30 02:57:01 +05:30
sairajzero
3bf8d3214c Migration feature
- Added migration feature when nodes are added or removed.
- Updated stdop
- Optimisation done for floSupernode module.
- Converted reactor events to respective functions for optimisation.
- fixed minor bugs.
2020-08-19 02:16:00 +05:30
sairajzero
f3d29b4a97 auto delete messages that are not sent to the applicationID 2020-03-10 17:27:54 +05:30
sairajzero
c31dcfbb62 preformance improvement
The console logs slows down the browser and script, Thus,
Adding console.clear() before refreshing the data.
2020-02-22 23:36:52 +05:30
sairajzero
980f516cb8 Backup bug fixes
Fixed the bugs that were causing errors in backup
2020-01-31 05:11:23 +05:30
sairajzero
db0b8341ae bug fix 2020-01-15 16:07:01 +05:30
sairajzero
607a53f1be bug fix: IDB searchData 2020-01-08 14:39:01 +05:30
sairajzero
0f837c17f2 updating to std_op2.0 2020-01-05 19:51:59 +05:30
sairajzero
964f29e916 bug fix 2020-01-05 19:11:15 +05:30
sairajzero
1f4d18e540 One-Click Startup
Adding one-click bash script to start the supernode
All logs are stored in logs directory
Configurations are listed in .config file
2020-01-01 23:21:11 +05:30