Commit graph

3298 commits

Author SHA1 Message Date
Matthijs Kooijman
dfeb30a57d server: Print backtraces for errors in UDP handler
This applies to errors in e.g. the oscInFilter defined by a custom
plugin module. Previously, just the exception backtrace was shown,
without any indication of the exception type or where the error
occurred, e.g.:

    (ERROR, UDP) links is not defined

With this commit, the full exception including backtrace is printed,
making debugging a lot easier, e.g.:

    (ERROR, UDP) ReferenceError: links is not defined
	at CustomModule.oscInFilter (/app/custom-module.js:221:83)
	at OscServer.oscInFilter (/open-stage-control/app/server/src/server/osc/index.js:148:1)
	at OscServer.oscInHandler (/open-stage-control/app/server/src/server/osc/index.js:162:1)
	at OscServer.oscInHandlerWrapper (/open-stage-control/app/server/src/server/osc/index.js:174:1)
	at osc.UDPPort.emit (node:events:394:28)
	at Object.osc.firePacketEvents (/open-stage-control/app/server/node_modules/osc/src/osc-transports.js:25:1)
	at osc.UDPPort.p.decodeOSC (/open-stage-control/app/server/node_modules/osc/src/osc-transports.js:85:1)
2024-06-16 22:57:23 +02:00
jean-emmanuel
ac995b2dd1 lint 2024-04-03 10:01:05 +02:00
jean-emmanuel
a71df8177f advanced syntaxes: display an error in the console in some unsupported advanced syntaxes use cases 2024-04-03 09:50:28 +02:00
jean-emmanuel
20d5091622 server: fix cookie parsing (user resources not loading when using an external browser) 2024-04-03 08:47:19 +02:00
jean-emmanuel
ededaee55b misc: lint 2024-03-13 18:17:41 +01:00
jean-emmanuel
0e68557b85 advanced syntaxes: restore stupid-simple resolution order, deduping value changes brings more problem than it solves
history: fe682693b1, 0e54c11f13, 182941a22c, 3a5fdf17c7, 8b92400c1e
2024-03-13 18:04:43 +01:00
jean-emmanuel
1a4b971b18 mac: unable to show launcher windows when starting minimized 2024-02-22 09:29:35 +01:00
jean-emmanuel
0ecc104f4b lint 2024-02-21 11:02:49 +01:00
jean-emmanuel
e87891cb7c switch: allow resubmitting the same value 2024-02-21 11:01:50 +01:00
jean-emmanuel
3ed11f3894 custom-module: expose tcpServer 2024-02-21 10:52:40 +01:00
jean-emmanuel
fbfa41bd5a launcher: allow dropping files into file fields 2024-02-21 10:31:24 +01:00
jean-emmanuel
f78814ba45 launcher: start hidden on mac is "start minimized" is set 2024-02-21 10:10:55 +01:00
jean-emmanuel
d387397c14 modal: ios 15+ layering issue 2024-02-18 17:03:34 +01:00
jean-emmanuel
dfcf158808 range: colorKnob 2024-02-18 15:35:17 +01:00
jean-emmanuel
476f07ec60 sliders: knob color property ok 2024-02-18 15:29:38 +01:00
jean-emmanuel
f63bb0f24d fader: add colorKnob property 2024-02-14 20:06:28 +01:00
jean-emmanuel
11fc7d2b56 multixy: add axisLock; bypass axisLock with Shift 2024-02-14 19:53:01 +01:00
jean-emmanuel
0f2cb1b0af xy: add axisLock property; allow locking one the axis by holding Shift while dragging 2024-02-14 19:35:17 +01:00
jean-emmanuel
48c78a1d12 plot: missing logScaleX and logScaleY properties 2024-02-14 14:23:55 +01:00
jean-emmanuel
b555169cef dropdown: allow resubmitting the same value 2024-02-14 14:19:37 +01:00
jean-emmanuel
5f4c2c60be ipc: prevent stuck disconnected notif 2024-02-13 21:31:46 +01:00
jean-emmanuel
8b92400c1e widgets: solve multi-value-dependency pattern resolution using a single queue instead of timeouts 2024-02-13 17:38:45 +01:00
jean-emmanuel
87ad29fa23 scripting: getProp() now correctly returns a copy of the property if it is an object 2024-02-13 14:24:26 +01:00
jean-emmanuel
690add4b38 server: fix config file read/write initial check 2024-02-04 09:57:22 +01:00
jean-emmanuel
bf8d9799cc modal: remove debug log 2024-01-22 18:50:59 +01:00
jean-emmanuel
86e819870c root: add onPreload scripting property 2024-01-17 16:31:27 +01:00
jean-emmanuel
a04c658bb5 input: allow using a number in numeric to specify stepping value for mousewheel interaction 2024-01-17 16:16:09 +01:00
jean-emmanuel
9181c2a3aa remote control: /EDIT* commands sent by a custom module are not affected by the server's read-only option anymore 2024-01-17 16:05:03 +01:00
jean-emmanuel
3a5fdf17c7 widgets: prevent value update event from interfering with a container creating its children 2024-01-17 15:40:57 +01:00
jean-emmanuel
4ef3595125 server: print config file read error 2023-11-23 09:42:32 +01:00
jean-emmanuel
e4db027085 sliders: steps error (#835) 2023-11-23 09:38:15 +01:00
jean-emmanuel
a6237a0aac scripting: stateSet: add optional {send: false} flag 2023-11-22 10:15:40 +01:00
jean-emmanuel
e4b45b1a6b sliders: round steps to avoid errors 2023-09-14 08:07:09 +02:00
jean-emmanuel
58540eda0c modal: fix closing when doubleTap is true 2023-09-13 21:54:30 +02:00
jean-emmanuel
07b921d157 button: issue with value init (see previous commit) 2023-09-13 20:25:51 +02:00
jean-emmanuel
cac9fb7abc widget: when possible, init value as soon as possible to avoid undefined when an array is expected. 2023-09-13 08:10:28 +02:00
jean-emmanuel
98a27de0df sliders: prevent error when steps is not a number, add auto mode for using ranges values as steps (it did not work before) 2023-09-11 09:22:11 +02:00
jean-emmanuel
3e74271e12 code editor: update ace (use upstream), update syntax (es7), do some cleanup, prevent middle clicking (causes issues on linux) 2023-09-08 18:08:54 +02:00
jean-emmanuel
04e4e95c04 ipc: fix --authentication on iOS clients (don't rely on headers to pass credentials)
misc: remove "new Buffer()" deprecation warning
2023-09-06 23:44:21 +02:00
jean-emmanuel
6b96d208c9 editor: display current widget value in the value property's help modal 2023-08-30 13:20:56 +02:00
jean-emmanuel
90b34d7475 custom module: receive() not passing boolean arguments properly 2023-08-30 13:13:29 +02:00
jean-emmanuel
95097d549e button: hand push+decoupled scripting issue in script-vm directly 2023-08-22 00:12:31 +02:00
jean-emmanuel
6498e0c6f6 button: inconsistent value in push mode with decoupled enabled when setting value from script 2023-08-21 23:44:18 +02:00
jean-emmanuel
c766370db7 scripting: using external: true in set() should prevent affected widget from sending any message 2023-08-21 23:33:22 +02:00
jean-emmanuel
cb009e64e0 docs: remove old button mode description 2023-08-21 23:23:22 +02:00
jean-emmanuel
aa1ee85f62 scripting: scripting functions not working inside browseFile() callback 2023-08-19 07:38:06 +02:00
jean-emmanuel
bd2a4f3bed panel: minor style issue in tab navigation bar 2023-07-24 14:33:04 +02:00
jean-emmanuel
bce4c10acf panel: tab rendering issue when initialized with a non-numeric value 2023-07-16 17:47:15 +02:00
jean-emmanuel
8c0dfb7c4f misc: lint 2023-07-03 16:52:02 +02:00
jean-emmanuel
2ecb510cb1 input: rendering issues with big font sizes 2023-07-03 16:40:59 +02:00