Commit graph

191 commits

Author SHA1 Message Date
400d792032 Fix crash when device rate detection fails 2025-02-04 12:05:09 +00:00
c26e7bf48b [plugins] Fix missing sample rate handling after core.audio rework 2025-02-04 06:33:10 -05:00
6f63cf06f9 [plugins/AudioAlert] Fix dirty close when audioalert output not found 2025-02-04 06:33:10 -05:00
Derek
23dda2fe90 [builtins/cue] Fix non-repeating cues never firing
Oop
2025-01-16 23:59:52 -05:00
e89a0192f5 [bultins/chance] allow an 'or' child that runs on rand miss 2025-01-11 23:39:59 -05:00
4bcb37030a Cleanup the cleanups 2025-01-07 23:56:47 -05:00
4bbd2b1bb0 Fix poly 2025-01-07 23:56:34 -05:00
69fc34396f Pitch fun 2025-01-07 23:31:51 -05:00
27f0997d6a Fix audio memory leak 2025-01-07 21:35:50 -05:00
50eb6b594d Fix cue cleanup behavior 2025-01-07 21:18:08 -05:00
Derek
1e2b88f1c9 [plugins/scene] allow oneshot scenes 2025-01-06 00:41:05 -05:00
Derek
dfc87bb36f Fix indent 2025-01-05 23:20:02 -05:00
Derek
82691789f7 Make setup more sensible 2025-01-05 23:14:39 -05:00
Derek
56b6100315 opt-in to bttv 2025-01-05 22:17:51 -05:00
Derek
e780b829fc Misc fixes 2025-01-05 18:46:03 -05:00
33fd5957ca [plugins] set can now make whole objects 2024-11-16 13:27:46 -05:00
711b1a46e9 [core] Global context get! 2024-11-16 13:27:17 -05:00
00bc1ff061 [plugins] Refactor: execute_kdl handles the whole block (list of nodes) 2024-11-16 13:26:55 -05:00
c03459c7ae [plugins] Add close method (so that you dont have to overwrite __del__) 2024-11-03 20:54:25 -05:00
2458a6a138 [plugins] Add simple OSC control 2024-10-30 22:16:41 -04:00
d257d63cab [plugins/Midi] Expand to (more or less) full midi IO 2024-10-30 22:14:30 -04:00
0cbd64fbb7 [core] Allow alias and subroutine syntax (alias:cmd.sub.routine)
This removes the need for the hacky `chat "Module:alias"` and `remeber` 
config! It is pretty hacky on its own, though. This should really be a 
terse script shouldnt it
2024-10-29 21:50:40 -04:00
f8ba3ca698 pipenv -> PDM
Offers a much quicker and more consistent install experience.
Also has build tooling which will help us later!!
2023-09-08 12:01:18 -04:00
b6a7e4f6b5 [plugin] Add new log builtin
Used for spitting data out to the log from your config! Useful for debugging or testing
complicated configurations
2023-09-01 16:26:09 -04:00
41383b0885 [core] Hide warnings when not in debug mode
This is mainly for async task awaiting warnings - in some cases, not awaiting
a task is expected behavior!!!
2023-09-01 16:26:09 -04:00
e7d16f44f4 [plugins/Cue] [Breaking!] Simplified syntax, better accuracy, and cancellation, oh my!
Simplified syntax: `cue` no longer requires sub-nodes - simply specify `at` or your
interval options on the cue node itself, and set `repeat` to a boolean (previously done via using the `every` subnode vs `once`)

Better accuracy: scheduler now runs outside of tick, allowing sub-second accuracy in
ideal environments. This is still a long way from a proper realtime solution -
queuing is merely asyncio's best-effort, accuracy may vary wildly depending on load!

Cancelation: passing a string as the first argument to cue will give the event a name,
which can be used by a later call to set the event as enabled or disabled.
Additionally, toggling this flag / redefining a named cue will reschedule it if it is
an interval, which you can use to create timeout behaviors!
2023-09-01 16:26:09 -04:00
2ab370d4a0 [core] Fix (arg) type 2023-09-01 13:55:22 -04:00
ebf3e4d19b [plugins/scene] Add better error handling 2023-08-25 03:51:14 -04:00
ea5fef9321 [core] Improve traceback logging 2023-08-25 03:50:58 -04:00
3e5e7dd08a [cli] Hide filename and lineno when not in debug mode 2023-08-25 03:37:09 -04:00
c18e47aec2 [plugins/remember] Alternate usage available - set
Allows for directly setting data in the context

With this and the (eval) type, i think config is now turing complete. 
lmao
2023-08-25 03:33:01 -04:00
d21238282c [plugin/scene] Switch context from caller to entry (definition scope)
Caller context is still available via caller_ctx
2023-08-25 03:33:01 -04:00
b7abd2941c [core] [Breaking!] Improvements to config parsing, eval kdl type
Added "eval" kdl type for direct python statement execution.
Use like (eval)"1 + 1", (eval)"upper(ctx['data'])", or commit crimes like (eval)"ctx['some_function']()"

"call_plugin_from_kdl" renamed "execute_kdl"

Custom classes are now passed for dynamic parameters, but are still
transparently computed when using execute_kdl - you should only see
these when manually parsing _children, in which case, you can use
"core.Config.compute_dynamic" to deal with them!
2023-08-25 03:31:52 -04:00
fe60c07f1a [plugins/scene] Fix execution order, improve UI 2023-08-24 23:11:26 -04:00
d1d8611c68 [core/Clip] Fix waiting for sounds for non-async usage 2023-08-24 22:41:34 -04:00
91b8191c0e [plugins] New builtin - scene 2023-08-24 16:55:31 -04:00
a3a3e3a375 [core] Allow builtin plugins to use quart 2023-08-24 16:54:03 -04:00
bca46225a1 [core] Fix crash when config contains plugins
oops
2023-08-24 16:53:31 -04:00
311e01bf56 [core] Use alternative jinja markers buildless framework compat 2023-08-22 12:00:50 -04:00
0444a214e1 [core] Fix warm reload when chats are present
Dunno what fuckery hypercorn is up to beneath the sheets and i do NOT want to find out
2023-08-22 10:29:47 -04:00
2662634723 [core] Add EVBUS global to UI webserver template engine 2023-08-14 11:19:34 -04:00
36c2873532 [core] Re-organize 2023-08-14 11:19:34 -04:00
272532b389 [core] Additional warm reload logic + allow loading external plugins
The way we load external plugins is by providing a path to the
module folder (which as usual should have a "Plugin" attribute).
This is a bit silly, and doesnt fully manage our issues with, say,
dependencies, but is a step in the right direction maybe?
2023-08-14 11:18:15 -04:00
bd45b8684b [core] Add initial reloading support
Currently "warm" reloading (system will drop messages / connections)
2023-08-11 15:59:29 -04:00
4efa4b25c9 [plugin] Fix blueprint system 2023-08-08 12:22:32 -04:00
ee2267709c [core] Minor initalization improvements, add web ui listen customization 2023-08-08 12:21:14 -04:00
Derek
402227f731 [Misskey] Fix null text 2023-07-15 08:29:33 -04:00
Derek
f6e4e24c51 Fix dependency locking
Move a few off of git as the appropriate fixes are upstreamed now, and 
makes minor changes to facilitate using those versions
2023-07-15 08:26:59 -04:00
Derek
4887f47647 [CLI] Add support for monitization in Message creator 2023-01-18 18:53:53 -05:00
Derek
8243ac4a3a [Core] Fix trigger monitization bug 2023-01-18 18:53:11 -05:00