Commit Graph

234 Commits

Author SHA1 Message Date
Tulir Asokan
e565b99826 Pass extra info to argument parsers and add dateparser to temporary dockerfile dependencies 2019-06-08 12:31:38 +03:00
Tulir Asokan
b137d0686f Update version to 0.1.0.dev18 2019-06-01 23:40:46 +03:00
Tulir Asokan
9bd06a3d64 Add web handler decorators 2019-05-14 18:32:48 +03:00
Tulir Asokan
304c1b5536 Make maubot.cli an executable module 2019-05-05 11:14:41 +03:00
Tulir Asokan
a234af1f41 Update dev version 2019-04-20 19:13:41 +03:00
Tulir Asokan
ec6578294f Clear plugin webapp routes in default stop() 2019-04-16 16:33:19 +03:00
Tulir Asokan
05acf08e5b Fix fonts 2019-04-16 16:32:41 +03:00
Perflyst
e28c3a6018 Remove third party CDN's (#50)
* Use local files instead cdn

* Drop legacy fonts

* Drop legacy FiraCode fonts
2019-04-16 00:53:55 +03:00
Tulir Asokan
a0ebb2d215 Change access_token field to text. Fixes #44 2019-04-14 02:14:28 +03:00
Tulir Asokan
8b04231038 Update version 2019-03-27 21:00:00 +02:00
Tulir Asokan
74979aee1a Fix plugin webapp URL cloning 2019-03-08 01:54:28 +02:00
Tulir Asokan
d2b145d0bc Change things 2019-03-07 21:35:35 +02:00
Tulir Asokan
b3e1f1d4bc Try another approach for plugin web apps 2019-03-07 19:57:10 +02:00
Tulir Asokan
3c2d0a9fde Switch to a hacky custom router for plugin web apps 2019-03-06 23:16:22 +02:00
Tulir Asokan
a4cfb97b67 Use less freezing way of adding plugin subapps 2019-03-06 22:57:16 +02:00
Tulir Asokan
19a20721e8 Pass public URL of webapp to plugins 2019-03-06 22:35:51 +02:00
Tulir Asokan
c6287e6626 Fix typo 2019-03-06 22:27:23 +02:00
Tulir Asokan
f303bd66ab Let plugins add their endpoints to the main webserver 2019-03-06 22:22:34 +02:00
Tulir Asokan
79c61d6889 Fix uploading plugins with different versions 2019-03-06 15:35:03 +02:00
Tulir Asokan
2bf1c41b53 Fix __mb_is_command_match__ 2019-02-17 15:57:55 +02:00
Tulir Asokan
c01cf127be Fix blank module handling in mbc build and bump alpine base in dockerfile 2019-02-13 19:40:21 +02:00
Tulir Asokan
56a11fdceb Fix mbc init python template 2019-02-13 18:55:34 +02:00
Tulir Asokan
3068245b1f Fix license in mbc iit 2019-02-13 18:27:46 +02:00
Tulir Asokan
f548e17c80 Fix regex flag args 2019-02-05 12:27:19 +02:00
Tulir Asokan
a57df919f5 Fix passive command matching and add regex flag args 2019-02-05 12:08:21 +02:00
Tulir Asokan
360743f1c9 Add spec for Matrix auth endpoints 2019-02-04 11:38:23 +02:00
Tulir Asokan
8b5c637f76 Fix CommandHandler descriptor 2019-01-18 22:58:43 +02:00
Tulir Asokan
4ea980cb93 Fix typo 2019-01-18 21:31:39 +02:00
Tulir Asokan
b926f1e59d Fix active command handlers for multi-instance plugins 2019-01-18 21:26:04 +02:00
Tulir Asokan
9d38c43576 Fix mistake in __mb_subcommands_list__ 2019-01-15 15:47:30 +02:00
Tulir Asokan
80a35f3081 Update version 2019-01-10 12:14:27 +02:00
Tulir Asokan
c4c7bdc76b Add event type filter to command handling system 2019-01-08 21:17:41 +02:00
Tulir Asokan
1965489f51 Fix message when building plugin 2019-01-07 09:50:59 +02:00
Tulir Asokan
16045d9c63 Fix handling of auth token errors at page load 2019-01-07 09:26:43 +02:00
Tulir Asokan
448cbfc92d Fix frontend log viewer not being enabled correctly 2019-01-07 09:06:46 +02:00
Tulir Asokan
401643afba Add html_in_markdown option to reply() and respond() 2019-01-07 09:06:11 +02:00
Tulir Asokan
400c9aaebc Allow access to /features endpoint without login 2019-01-07 08:13:27 +02:00
Tulir Asokan
a46f756be7 Fix preference table input field shifting when focusing 2018-12-31 22:52:43 +02:00
Tulir Asokan
75b5ac8ebd Add config option to disable parts of management API 2018-12-30 19:50:50 +02:00
Tulir Asokan
147081c0db Add contextmenu in database explorer and implement deleting rows 2018-12-29 15:22:12 +02:00
Tulir Asokan
46186452dc Add option to write SQL queries in database explorer 2018-12-28 22:33:27 +02:00
Tulir Asokan
88107daa6f Fix exploring datetime columns 2018-12-28 19:31:43 +02:00
Tulir Asokan
4cc605df76 Finish basic database viewing 2018-12-28 19:19:58 +02:00
Tulir Asokan
dc22f35d08 Add beginning of database explorer 2018-12-27 21:31:32 +02:00
Tulir Asokan
88c2f9d463 Add support for command aliases and dynamic command names 2018-12-26 18:38:56 +02:00
Tulir Asokan
2b54aee413 Merge branch 'master' into rewrite-command-handling 2018-12-25 00:47:49 +02:00
Tulir Asokan
0cf06f9f6b Make new command handling system fully work 2018-12-25 00:37:02 +02:00
Tulir Asokan
5ff5eae3c6 Make new command handling actually somewhat work 2018-12-24 00:31:01 +02:00
Tulir Asokan
682eab348d Some sort of command handling system 2018-12-18 00:53:39 +02:00
Tulir Asokan
bddb881945 Allow choosing server to upload built plugin to 2018-12-17 21:09:08 +02:00
Tulir Asokan
7cd5b04dbc Fix building plugins to file 2018-12-17 20:55:29 +02:00
Tulir Asokan
f104595217 Changes related to rewriting the command handling system 2018-12-16 00:52:54 +02:00
Tulir Asokan
69de2c9d85 Bump dev version number 2018-12-14 00:50:05 +02:00
Tulir Asokan
160dd6c534 Print exception stack traces in cli log viewer 2018-12-14 00:40:35 +02:00
Tulir Asokan
6f06eec3cc Add log viewer to mbc 2018-12-14 00:33:33 +02:00
Tulir Asokan
ecc1843119 Remove unused imports 2018-12-13 23:36:04 +02:00
Tulir Asokan
ee04cc59a2 Create license file when initializing project 2018-12-13 23:21:56 +02:00
Tulir Asokan
adc762b9dd Show any errors when logging in 2018-12-13 22:36:47 +02:00
Tulir Asokan
66aef1978c Fix accidentally changed variable name 2018-12-13 22:14:06 +02:00
Tulir Asokan
cb3993d79f Implement uploading plugins 2018-12-13 20:48:52 +02:00
Tulir Asokan
c334afd38b Implement building plugins 2018-12-13 19:47:41 +02:00
Tulir Asokan
54e117c9e7 Rename clickquiry to cliq and remove util package 2018-12-13 19:14:33 +02:00
Tulir Asokan
1bc51d2de5 Fix inquiring flags 2018-12-13 19:09:02 +02:00
Tulir Asokan
7816212190 Add more stuff 2018-12-13 18:15:24 +02:00
Tulir Asokan
8e2f2908a6 Add stuff 2018-12-13 01:28:23 +02:00
Tulir Asokan
4b3d47176d Merge branch 'master' into cli 2018-12-12 16:07:45 +02:00
Tulir Asokan
03cd8663b8 Fix logo path 2018-12-12 15:22:07 +02:00
Tulir Asokan
1552964d3f Try reloading failed instance dependencies when starting instance 2018-12-12 15:21:17 +02:00
Tulir Asokan
07fe46e7f9 Switch to yaml for plugin metadata. Fixes #33 2018-12-09 15:49:57 +02:00
Tulir Asokan
5704b3e53b Don't reset editor state if props didn't change. Fixes #34 2018-12-09 14:59:00 +02:00
Tulir Asokan
f5b996d2a2 Move view logs button to sidebar 2018-12-08 20:43:44 +02:00
Tulir Asokan
8824c21788 Add spec for Matrix API proxy 2018-12-08 20:41:11 +02:00
Tulir Asokan
5775560933 Actually fix login 2018-12-08 14:12:33 +02:00
Tulir Asokan
67a4e85406 Fix logging in 2018-12-08 13:57:04 +02:00
Tulir Asokan
d09dd8ddc6 Highlight edited fields 2018-12-08 13:29:53 +02:00
Tulir Asokan
4f7eef6029 Fix uploading and downloading avatars 2018-12-08 13:07:12 +02:00
Tulir Asokan
4f723b24da Update version 2018-12-08 01:37:32 +02:00
Tulir Asokan
332ad5ea52 Add Matrix register/login API and full Matrix API proxy
(ref #19, #15)
2018-12-08 01:14:10 +02:00
Tulir Asokan
5337d4d98e Link to debug file open in log line timestamp 2018-12-05 17:37:31 +02:00
Tulir Asokan
2d66ec2534 Add missing __init__.py's 2018-12-05 16:43:12 +02:00
Tulir Asokan
c2065a4af7 Fix mautrix dep version 2018-12-05 16:38:13 +02:00
Tulir Asokan
3362e8e118 Remove unnecessary padding in log view 2018-11-29 13:12:24 +02:00
Tulir Asokan
9f593ed04e Show date when hovering over time in log 2018-11-29 12:32:36 +02:00
Tulir Asokan
30a6dd62ef Don't try to remove websocket from log listeners if it had not been added 2018-11-29 12:28:23 +02:00
Tulir Asokan
2b8a5353be Fix log live updating and add autoscrolling 2018-11-29 12:27:31 +02:00
Tulir Asokan
b858b5a056 Add spec for /logs and /debug/open endpoints 2018-11-29 11:43:57 +02:00
Tulir Asokan
8fc5350644 Remove unused import 2018-11-29 11:43:41 +02:00
Tulir Asokan
c3dbf9685d Fix clearing log focus 2018-11-29 01:06:58 +02:00
Tulir Asokan
32b60fa0ff Overhaul log viewer
* Move viewer to separate modal to allow using more horizontal space
* Load log history (up to 2048 lines)
* Add colors and use table styling for log viewer
* Add links to log entries that open mentioned instance/client or line in code
2018-11-29 00:58:20 +02:00
Tulir Asokan
aac99b7ee4 Update version 2018-11-28 15:34:21 +02:00
Tulir Asokan
c39cacbab4 Switch to Python-Markdown
Commonmark doesn't have any built-in HTML sanitization
2018-11-28 15:28:35 +02:00
Tulir Asokan
6a6e8a818e Simplify Event.reply and add MaubotMatrixClient.send_markdown 2018-11-28 02:33:59 +02:00
Tulir Asokan
8cfe2e8884 "Fix" file upload accept list 2018-11-28 02:33:37 +02:00
Tulir Asokan
73e86ebb17 Hide config in new instances and add exceptions to log 2018-11-27 02:35:51 +02:00
Tulir Asokan
034eead840 Reload plugin metadata when reloading plugin 2018-11-17 01:11:12 +02:00
Tulir Asokan
52811681f4 Fix new plugin/instance/client pages 2018-11-14 00:06:17 +02:00
Tulir Asokan
a3dea42b1a Show log level in filtered logs 2018-11-12 00:17:31 +02:00
Tulir Asokan
08eacce0a9 Fix log map entry for instances and plugins 2018-11-12 00:14:45 +02:00
Tulir Asokan
d5cb73898f Update version 2018-11-12 00:04:11 +02:00
Tulir Asokan
c2a5451401 Finish basic log viewer 2018-11-12 00:00:37 +02:00