Commit Graph

9 Commits (be7f172b62c2a466bb6f0364cdd85f3e1eb3fb9a)

Author SHA1 Message Date
Dragory d5219556a7
Add full JSDocs for the plugin API 2020-08-16 23:26:04 +03:00
Dragory 7c96d71efe
Tweak edit/delete formatting 2020-08-14 01:19:01 +03:00
Dragory 296d1304a7
Reproducible formatters, add full log formatter
Format-specific parts of replies, including the role name and
attachments, are now stored in separate columns. This allows us to
store only one version of the actual message body and, by keeping
format-specific data separate, reproduce formatter results regardless
of when they are called. This cleans up code around message formats
significantly and was required to support !edit/!delete properly.
2020-08-14 00:42:32 +03:00
Dragory 86a060410f
Apply code style from .eslintrc 2020-08-13 00:08:37 +03:00
Dragory e74363a55c
Show staff reply numbers in threads/logs 2020-07-19 14:24:24 +03:00
Dragory 4e9e347b04
Add internal support for editing/deleting staff replies 2020-07-19 14:11:38 +03:00
Dragory 6b8c7e1bdf
Rename config.js to cfg.js
So people don't accidentally edit the config source file rather than
their own config file.
2020-07-19 13:36:07 +03:00
Dragory 662c6b0c21
Allow message formatters to return full message content objects as well as strings 2020-07-14 01:31:50 +03:00
Dragory 8a975d7da4
Add message formatters. Expose message formatters to plugins. 2020-07-14 01:11:48 +03:00