Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v0.71.0 #147

Merged
merged 57 commits into from
Aug 31, 2020
Merged

v0.71.0 #147

merged 57 commits into from
Aug 31, 2020

Conversation

TheTrunk
Copy link
Member

v0.71.0 is a huge Flux update that finalises initial ZelApp handling and logic and entire application life cycle. Furthemore brings improvements accross all Flux components and comes with enhanced UI and application management.
Over 56 commits to 26 different files with 3,639 additions and 925 deletions makes our decentralisation huge leap forward.

API changes:

  • zelapps/installedzelapp can now be filtered by appname (application name)
  • zelapps/globalspecifications -> zelapps/globalappsspecifications
    New api endpoints
  • GET zelapps/appspecifications/:appname?
    -> return application specifications
  • GET zelapps/appowner/:appname?
    -> returns application owner
  • POST zelapps/calculateprice
    -> return app price in ZEL. Works for both registrations and updates
  • POST /zelapps/zelappupdate
    -> command or global zelapp specification update
  • GET zelapps/zelappstart/:appname?
    -> locally starts zelapp
  • GET zelapps/zelapprestart/:appname?
    -> locally restarts zelapp
  • GET zelapps/zelapppause/:appname?
    -> locally pauses zelapp
  • GET zelapps/zelappunpause/:appname?
    -> locally unpauses zelapp
  • GET zelapps/zelapptop/:appname?
    -> get zelapp processes
  • GET zelapps/zelappinspect/:appname?
    -> inspect application
  • GET zelapps/zelappstats/:appname?
    -> get resource usage
  • GET zelapps/zelappchanges/:appname?
    -> get zelapp file changes
  • POST zelapps/zelappexec
    -> execute commands with enviroment on local zelapp
    -----> Corresponding functions written and adjusted

Corrects calculation of zelapp price for edge case of same receiver
Correct minimum satoshi amount on which messages are considered to be zelapp related

Introduces reinstallOldApplications function

  • if flux detects a newer version of application, it will automatically reinstall the applications according to its new specifics

Introduces checkAndRemoveApplicationInstance

  • Flux know about applications running all over the network. If more than 10 application instances are found, flux will decide if a particular node shall uninstall it

Introduces new privilege adminandzelteam

Various application command improvements and docker handling
Various corrections in applications management

updateZelAppGlobalyApi

  • it is now possible to update zelapp specifications and so the entire application
  • introduces new message type zelappupdate
  • all specifications except name and repotag are available to update
  • in case of application owner change, specifications have to be signed by currently active owner
  • price takes into account remaining active application period and specifications, so user pays just for the update and extended period
  • minimum price is according to zelapp messages consideration (10 zel)

Better error handling on some functions of zelidSerivice

UI changes
Correct messages displaying over navigation menu
ZelApp application menu added

  • ZelApp owner can now manage application in both local way and global way via very basic ui

@restyled-io restyled-io bot mentioned this pull request Aug 31, 2020
@TheTrunk TheTrunk merged commit 04fe1cd into master Aug 31, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant