Reto
e4840b4d75
Plugins: include pre-releases in compatibility lookup ( #4506 )
...
Semver doesn't treat pre-release versions as upgrades, meaning >4.3.0 isn't satisfied
by 4.3.1-rc.1.
For the purpose of TL plugins however, we are only interested in the semantic version and
expect that rc's adhere to the compatibility promise.
2022-04-11 17:47:51 -07:00
Reto Brunner
1e896a9672
plugins: prefix logger with the plugin name
2021-10-13 23:39:32 +02:00
Reto Brunner
02ccbc1f69
plugins: expose persistant data dir
...
Plugins need to be able to store persistant files, say settings or
databases or similar things.
Expose a standard location that gets created when the path is
accessed.
2021-10-12 23:24:06 +02:00
Reto Brunner
bb4ab4f168
plugins: add Logger interface
...
Plugins need to be able to log messasages, say for errors.
2021-10-12 23:24:06 +02:00
Al McKinlay
86e570efb2
Add version support for packages.
2020-08-21 15:03:12 +01:00
Pavel Djundik
881b3eda19
Run format after updating to prettier 2.0
2020-03-21 22:55:36 +02:00
Pavel Djundik
0c246f0bbe
Fix passing utf-8 to readFileSync
2020-01-01 01:11:04 +02:00
Pavel Djundik
99175bef82
Check if there are any packages installed in upgrade command
2019-12-30 19:28:28 +02:00
Pavel Djundik
e3a2fa7dd1
Create packages/package.json on server start
2019-12-14 20:48:25 +02:00
Pavel Djundik
7fbba14b69
Watch package.json and load new packages
2019-12-14 20:47:52 +02:00
MiniDigger
6f8364b1dd
Print package versions on startup
2019-11-06 18:02:28 +01:00
MiniDigger
dbec8330ce
Pass package info around so it can be used as identifier
2019-10-22 20:03:54 +02:00
Pavel Djundik
8aa8768dcc
Do not print no packages warning when opening help on client
2019-10-16 17:07:25 +03:00
Al McKinlay
f163e20a93
Add public files for plugins
2019-10-02 10:33:08 +01:00
Pavel Djundik
b96e5cc042
Print error and stacktrace when package fails to load
2019-09-17 19:57:21 +03:00
Alistair McKinlay
20816d509d
Add check for outdated packages, and show on the help screen.
2019-07-19 13:33:09 +01:00
Alistair McKinlay
133e7bf710
Format js/vue with prettier
2019-07-19 11:27:40 +01:00
Alistair McKinlay
1fcdc51861
Change the api for calling plugin commands
2019-07-05 15:04:32 +01:00
Pavel Djundik
95a3ec42c2
Add a message about experimental API
2019-07-05 10:26:22 +03:00
Alistair McKinlay
4cbe72f635
Add support for command plugins
2019-07-02 17:02:05 +01:00
Al McKinlay
af976c52c3
Add server config api
2019-05-13 07:44:41 +01:00
Pavel Djundik
472d618033
Remove log
from global
2018-06-15 23:31:06 +03:00
Pavel Djundik
fee81e78e1
Replace colors.js with chalk
2018-03-02 20:28:54 +02:00
Pavel Djundik
13e81e5a41
Fix themes not loading
...
Broken by e4701be708
2018-02-13 13:57:13 +02:00
Jérémie Astori
2c570fa9ef
Load packages from package.json, fix loading thelounge metadata from the wrong file, add tests
2018-02-13 01:06:31 -05:00
Jérémie Astori
b5d96d215f
Ensure packages loaded are directories
2018-02-13 01:06:30 -05:00
Al McKinlay
3510094665
Allow custom css from plugins
2018-01-05 17:40:47 +00:00