The LN backend can be initialized after startup, allowing the user to choose and configure their node.
THIS IS NOT BACKWARD COMPATIBLE. POSTGRES IS BEING REMOVED, SQLITE REQUIRES A FRESH DB.
Post-merge: update Github to point at master branch
TODOs:
[x] merge single-user cleanup PR
[x] React app now doesn't build if wails files don't exist - maybe we do need to do a dynamic import for the request code? - @bumi
[x] fix redirection to setup page (currently can't even visit about page) - fixed in onboarding branch
[x] fix redirection when node is not started yet (should not be able to access apps) and when node is not setup (should not be able to access start) - fixed in onboarding branch
[x] handle requests made before LNClient starts up - should return an error code if svc.lnClient is nil - @im-adithya - cannot be done
[x] fix failing workflow build - @frnandu
[x] remove legacy handling for apps without permissions - Roland
[x] Service refactor - Roland
[x] move "api" methods to separate object (Currently in "Service" object) - Roland
[x] move echo_handlers methods to separate object (Currently in "Service" object) - Roland
[x] cleanup main/service files (both now have service methods) - Roland
[x] Add logging for wails app @bumi
[x] Add encryption of config table - Bumi
[x] Make sure created_at/updated_at fields in DB are still working - Roland
[x] Onboarding - set unlock password - fixed in onboarding branch
[x] Unlock screen (HTTP mode or possibly a lock timer for Wails) to access admin panel - Roland - in unlock screen PR
[x] Password check (currently cannot distinguish if node cannot be connected or password is wrong) - in unlock screen PR
This PR allows NWC to be run in multiple formats:
The LN backend can be initialized after startup, allowing the user to choose and configure their node.
THIS IS NOT BACKWARD COMPATIBLE. POSTGRES IS BEING REMOVED, SQLITE REQUIRES A FRESH DB.
Post-merge: update Github to point at master branch
TODOs:
handle requests made before LNClient starts up - should return an error code if svc.lnClient is nil - @im-adithya - cannot be doneTo move to seperate issues: