Commit Graph

23 Commits

Author SHA1 Message Date
Nerixyz d21b3c6e38 feat(plugins): Added message read/update methods to the Channel API. (#6650)
This PR adds methods to read and update messages in a channel. Specifically, it adds:
 - message_snapshot
 - last_message
 - replace_message/replace_message_at
 - clear_messages
 - find_message_by_id
 - has_messages
 - count_messages


Reviewed-by: Mm2PL <mm2pl+gh@kotmisia.pl>
2026-01-20 23:46:39 +00:00
nerix e2ba7dff03 feat(plugins): add debug.traceback (#6652)
Reviewed-by: Mm2PL <mm2pl+gh@kotmisia.pl>
2025-12-28 12:03:43 +00:00
nerix 74b4674c6b feat(plugins): allow message introspection (#6353)
This allows users to introspect messages (i.e. look at the elements they're made up of).

Reviewed-by: Mm2PL <mm2pl+gh@kotmisia.pl>
2025-12-07 14:52:59 +00:00
nerix c67953d14f feat(plugins): minimal account API (#6554)
Co-authored-by: Mm2PL <mm2pl+gh@kotmisia.pl>
Reviewed-by: Mm2PL <mm2pl+gh@kotmisia.pl>
2025-12-05 14:56:51 +00:00
nerix b63739e792 feat(plugins): add JSON parsing/serialization (#6420)
Reviewed-by: Mm2PL <mm2pl+gh@kotmisia.pl>
Reviewed-by: pajlada <rasmus.karlsson@pajlada.com>
2025-11-21 17:43:28 +01:00
Mm2PL 6e443cd767 Plugin links pt 2: Link::InsertText (#6527) 2025-10-25 13:30:49 +00:00
nerix 4be0e13883 refactor: move LuaLS meta to a subdirectory (#6530) 2025-10-08 13:56:01 +00:00
Mm2PL 33f6383122 Add support for plugin links (#6386)
Co-authored-by: Nerixyz <nerixdev@outlook.de>
2025-10-02 18:56:51 +00:00
nerix 60c3e1432a docs(plugins): add documentation for WebSockets (#6432) 2025-09-13 10:00:15 +00:00
nerix a4478748f7 feat(plugins): add basic message construction (#5754) 2025-07-31 15:36:39 +02:00
ynot01 d46112380d Fix bad enum in plugin documentation (#6225) 2025-05-22 16:41:43 +00:00
Mm2PL 352a4ec132 Move plugins to Sol (#5622)
Co-authored-by: Nerixyz <nerixdev@outlook.de>
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2024-10-20 11:57:05 +02:00
2547techno 93fbcbbe5f fix plugin http types & docs (#5494) 2024-07-06 00:02:21 +00:00
Mm2PL c980162656 Introduce HTTP API for plugins (#5383) 2024-06-22 10:04:30 +00:00
Mm2PL d4b8feac7d lua: Change CompletionRequested handler to use an event table. (#5280) 2024-03-30 14:23:02 +00:00
Mm2PL 658fceddaa Add plugin permissions and IO API (#5231) 2024-03-09 19:16:25 +00:00
Mm2PL a5ac06124d Update plugin documentation document (#5185)
* Add blurb about LuaLS type definitions

* Add c2.Channel documentation replacing c2.send_msg and c2.system_msg

* Use snake_case for command names in examples

to align to Lua naming convention

* Unrelated: add missing ChannelType
2024-02-18 21:09:19 +00:00
Mm2PL 36931fac62 Remove reference to lua import() (#5108) 2024-01-19 21:31:19 +00:00
nerix 60d79ef57e Improve docs/supplemental files for plugins (#5047)
Co-authored-by: Mm2PL <mm2pl+gh@kotmisia.pl>
2023-12-29 17:12:50 +00:00
nerix 2cb965d352 docs: cleanup/polish Markdown files (#5038)
Fixed some language stuff.
    Added alternative to httpbin.
    Updated expected space requirement on Windows.
    Removed unused VS component on Windows.
    Moved Qt Creator formatting to Windows docs.
    Updated nativs link to Qt 6.
    Added missing language to code blocks.
    Removed # Description from PR template and added instructions to fix a GitHub issue.

Co-authored-by: Wissididom <30803034+Wissididom@users.noreply.github.com>
Co-authored-by: pajlada <rasmus.karlsson+github@pajlada.com>
2023-12-23 11:39:53 +01:00
Mm2PL 5f8c4c6b66 BREAKING: Replace custom import() with normal Lua require(). (#5014)
* Use require() instead of a custom import()

* Also search relative to the current file

* Update documentation
2023-12-16 12:16:54 +00:00
Arne cd6e1c04b2 Adjust plugin documentation to match implementation (#4540) 2023-04-14 18:19:24 +00:00
Mm2PL 5ba809804e Add basic lua scripting capabilities (#4341)
The scripting capabilities is locked behind a cmake flag, and is not enabled by default.

Co-authored-by: nerix <nerixdev@outlook.de>
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2023-04-02 15:31:53 +02:00