2020-04-08 00:36:15 +02:00
|
|
|
# Refactoring ideas
|
|
|
|
|
2020-06-29 20:17:03 +02:00
|
|
|
## TODO
|
2020-04-10 00:43:15 +02:00
|
|
|
|
2022-07-07 10:55:45 +02:00
|
|
|
* Different user accounts for admin panel:
|
|
|
|
* Username + password hash in config
|
|
|
|
* Commandline tool to generate hash
|
2020-04-10 00:43:15 +02:00
|
|
|
* Test email rendering!
|
|
|
|
|
2020-04-08 00:36:15 +02:00
|
|
|
## Short term
|
|
|
|
|
2022-02-09 18:06:23 +01:00
|
|
|
* Split into seperate packages for server and frontend.
|
|
|
|
* Make admin panel part of new frontend package.
|
|
|
|
* Get rid of grunt.
|
2020-04-10 00:43:15 +02:00
|
|
|
* Bluebird for promises?
|
2022-05-19 11:12:07 +02:00
|
|
|
* Use generated type guards.
|
2020-04-08 00:36:15 +02:00
|
|
|
|
|
|
|
## Mid term
|
|
|
|
|
2020-04-10 00:43:15 +02:00
|
|
|
* Typesafe db queries.
|
2020-04-08 00:36:15 +02:00
|
|
|
* Store node data in database and export it for gateways.
|
|
|
|
* Write tests (especially testing quirky node data).
|
2020-04-10 00:43:15 +02:00
|
|
|
* Allow terminating running tasks via bluebirds cancellation.
|
2020-04-08 00:36:15 +02:00
|
|
|
|
|
|
|
## Long term
|
|
|
|
|
|
|
|
* Rewrite the admin interface (used lib is unmaintained).
|
|
|
|
* Rewrite the client in typescript (+ vue?).
|
|
|
|
* Replace the grunt build system.
|
|
|
|
* Decentralize node data.
|