Commit graph

60 commits

Author SHA1 Message Date
Daniel Sommer 8a5e4ce473 fixed typo 2022-03-30 23:10:54 +02:00
Daniel Sommer 7901cc8aff added endpoints '/save' and '/cache' 2022-03-30 12:49:00 +02:00
Daniel Sommer 585e381417 added config parameter 'dev' to trigger development mode 2022-03-29 16:37:49 +02:00
Daniel Sommer a5c6801a4b set color for specific pedalboards and/or systemd services 2022-03-29 16:34:16 +02:00
Daniel Sommer a55c7a9929 correctly return if arguments are missing 2022-03-25 16:44:22 +01:00
Daniel Sommer 2739ebed2a Merge branch 'master' of https://git.velvettear.de/velvettear/pbc
changed stuff on 'pisound'
2022-03-25 16:32:41 +01:00
Daniel Sommer 4c7654722d return error message on missing argument 'state' 2022-03-25 16:32:26 +01:00
Daniel Sommer 8d002e0d2e changed default systemd service user to 'root' to resolve permission issues 2022-03-25 16:25:59 +01:00
Daniel Sommer 99c588ac13 updated systemd service file 2022-03-25 13:55:50 +01:00
Daniel Sommer e3aa7cf67d remove fake data 2022-03-25 13:54:43 +01:00
Daniel Sommer 823598aeb3 heavy code optimization; async/await, arrow functions, etc. 2022-03-25 13:52:41 +01:00
Daniel Sommer b0c55b9e86 beautify code 2022-03-25 12:37:06 +01:00
Daniel Sommer 5269d17324 do not cache host info 2022-03-25 12:34:24 +01:00
Daniel Sommer 78ea74b066 update cached midi values correctly 2022-03-25 12:30:17 +01:00
Daniel Sommer be71257260 fixed a lot of stuff, toggling bypass now works as expected 2022-03-25 01:10:50 +01:00
Daniel Sommer c5b5844233 removed cache options 2022-03-24 23:35:51 +01:00
Daniel Sommer 72edb1a159 cache bypassed pedalboards - currently wip 2022-03-24 16:30:00 +01:00
Daniel Sommer 2ee5bedf79 added todo 2022-03-24 15:28:34 +01:00
Daniel Sommer adde12a0bb bypass... 2022-03-24 15:18:26 +01:00
Daniel Sommer 9365397b1a possibly fixed bypass 2022-03-24 15:13:19 +01:00
Daniel Sommer 2e5bdddd15 remove fake data 2022-03-24 14:19:56 +01:00
Daniel Sommer 8d709b4366 minor optimizations 2022-03-24 13:14:42 +01:00
Daniel Sommer 039496a7e0 added option to control timeout of http requests 2022-03-24 13:00:19 +01:00
Daniel Sommer 5e6314eee9 replaced requiring config.json with a global config object 2022-03-24 12:50:16 +01:00
Daniel Sommer bc39bc1694 added license 2022-03-24 11:01:51 +01:00
Daniel Sommer 9730f108b8 renamed 'config.json' to 'example_config.json' and updated '.gitignore' 2022-03-24 10:50:38 +01:00
Daniel Sommer 1579d8480f added configurable '/systemd' endpoints 2022-03-22 12:33:58 +01:00
Daniel Sommer a32544fbff resolve on 'exit' not 'close' 2022-03-21 23:16:32 +01:00
Daniel Sommer 5c8a141e68 display pedal color by state 2022-03-14 22:37:42 +01:00
Daniel Sommer 4697dcb6ff fixed typo 2022-03-11 16:56:25 +01:00
Daniel Sommer a1bf1137ca added endpoint '/midi' and updated docs 2022-03-11 16:52:37 +01:00
Daniel Sommer 0be1f3568a updated docs 2022-03-11 16:06:28 +01:00
Daniel Sommer 5f9074e086 catch errors while filling the cache 2022-03-10 00:36:59 +01:00
Daniel Sommer dc01956269 code optimization and fixes for blinky 2022-03-10 00:32:38 +01:00
Daniel Sommer 99be4a2ad5 fixed a lot of stuff, implemented blinky functionality 2022-03-08 00:51:58 +01:00
Daniel Sommer c5869151a8 added basic support for 'blinky' 2022-03-04 02:38:52 +01:00
Daniel Sommer c394a95d61 added 'package-lock.json' to gitignore 2022-02-24 23:44:45 +01:00
Daniel Sommer 80e8e365fa added .nvmrc 2022-02-24 23:41:40 +01:00
Daniel Sommer df690b3e64 added systemd-service file 2022-02-24 23:29:55 +01:00
Daniel Sommer 7e0dd27b78 modified some config stuff 2022-02-20 22:04:32 +01:00
Daniel Sommer 505400d1f4 add 'CORS' header to server responses 2022-02-11 21:02:45 +01:00
Daniel Sommer 0a74b8bbcc return better error message 2022-02-11 02:29:51 +01:00
Daniel Sommer 86f202da0b cleaned up the code mess a bit 2022-02-11 01:40:47 +01:00
Daniel Sommer 3528e8e146 moved command execution to own .js file 2022-02-11 01:20:53 +01:00
Daniel Sommer 0520d24e29 fixed some stuff, caching may still be broken 2022-02-11 01:13:51 +01:00
Daniel Sommer adb597e83b extended request logging 2022-02-11 00:27:29 +01:00
Daniel Sommer c2793c7e02 extended / optimized caching 2022-02-10 23:20:55 +01:00
Daniel Sommer ce81de43e6 extended '/info' endpoint 2022-02-10 21:00:59 +01:00
Daniel Sommer 2ca7834ba0 fixed stuff, implemented new endpoint '/info' 2022-02-10 20:52:02 +01:00
Daniel Sommer c1151602b4 fixed typo 2022-02-08 14:51:58 +01:00