Commit graph

297 commits

Author SHA1 Message Date
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
Tulir Asokan
6f2162d5f3 Add some backup checks when stopping maubot 2018-11-11 21:20:50 +02:00
Tulir Asokan
20a9ca6aa6 Make both instance dropdowns behave the same way 2018-11-11 20:24:59 +02:00
Tulir Asokan
5c5b3568cd Add animations to sidebar toggling 2018-11-11 20:21:51 +02:00
Tulir Asokan
91cdfc9378 Fix websockets in dev server proxy 2018-11-11 20:10:48 +02:00
Tulir Asokan
303a9827a1 Add log websocket 2018-11-11 19:27:09 +02:00
Tulir Asokan
b52766ab1e Fix minor things in management API 2018-11-11 16:06:06 +02:00
Tulir Asokan
640caa2f2e Fix double slash in API paths 2018-11-11 00:59:13 +02:00
Tulir Asokan
e0306d29b5 Make maubot http server serve frontend for production 2018-11-11 00:43:58 +02:00
Tulir Asokan
0264f7b794 Hide unnecessary scrollbars 2018-11-10 23:46:37 +02:00
Tulir Asokan
3a36b862df Add mobile compatibility to management UI 2018-11-10 23:29:31 +02:00
Tulir Asokan
9603f59b96 Fix bugs and improve minor UI things 2018-11-10 22:16:34 +02:00
Tulir Asokan
bc97df7de8 Remove code duplication and add better 404 handler 2018-11-10 20:50:09 +02:00
Tulir Asokan
f97b39f4e3 Add plugin view 2018-11-10 19:58:28 +02:00
Tulir Asokan
5220d2e5c9 Improve design of management UI 2018-11-10 19:22:04 +02:00
Tulir Asokan
15db7b95c3 Add config editor to instance view 2018-11-10 16:47:18 +02:00
Tulir Asokan
b0d782906b Implement instance view 2018-11-10 16:33:12 +02:00
Tulir Asokan
0a406ac071 Change more things 2018-11-10 13:49:54 +02:00
Tulir Asokan
53d2264351 Proxy avatar requests through server and improve css 2018-11-10 12:57:06 +02:00
Tulir Asokan
2aac4fbee1 Change things 2018-11-10 01:43:37 +02:00
Tulir Asokan
641ae49376 Add client delete button and fix minor things 2018-11-10 00:03:36 +02:00
Tulir Asokan
29adf50ae0 Finish initial client main view 2018-11-09 20:03:26 +02:00
Tulir Asokan
ef3f4a20f2 Add endpoint to upload avatars 2018-11-09 20:03:08 +02:00
Tulir Asokan
ed16ee8860 Add initial parts of client view 2018-11-09 00:54:42 +02:00
Tulir Asokan
3e661aa887 New <thing> buttons in sidebar 2018-11-08 17:25:22 +02:00
Tulir Asokan
9a21c6ade8 Add endpoint to replace specific plugin 2018-11-08 17:25:00 +02:00
Tulir Asokan
2ba1f46149 Reorganize things, add sidebar and topbar 2018-11-08 01:02:46 +02:00
Tulir Asokan
f3a0b7bc4f Implement login 2018-11-06 23:27:17 +02:00
Tulir Asokan
8cd8f52566 Base frontend stuff and login view 2018-11-04 22:55:58 +02:00
Tulir Asokan
2736a1f47f Fix reusing management API responses and some other things 2018-11-02 18:45:07 +02:00
Tulir Asokan
ec22e5eba7 Add /auth/ping and prepare for frontend dev 2018-11-02 15:16:30 +02:00
Tulir Asokan
a584cba794 Return config with instances in management API 2018-11-02 12:27:49 +02:00
Tulir Asokan
982623b677 Fix patching instances 2018-11-02 00:53:43 +02:00
Tulir Asokan
f5886ed34b Fix creating clients 2018-11-02 00:45:01 +02:00
Tulir Asokan
1e37a56096 Update version 2018-11-02 00:09:42 +02:00
Tulir Asokan
8b97134efd Update spec and fix minor problems in implementation 2018-11-01 23:57:24 +02:00
Tulir Asokan
383c9ce5ec Implement client API 2018-11-01 23:31:30 +02:00
Tulir Asokan
bc87b2a02b Refactor things and implement instance API 2018-11-01 18:11:54 +02:00
Tulir Asokan
cbeff0c0cb Add created at timestamp to tokens for future-proofing 2018-11-01 12:59:22 +02:00
Tulir Asokan
e48cd26cb0 Fix docker-run and login endpoint 2018-11-01 12:56:24 +02:00
Tulir Asokan
28d7731e70 Fix bugs in init and plugin upload filenames 2018-11-01 12:28:56 +02:00
Tulir Asokan
767885cec7 Pass asyncio event loop and http session to plugin instances 2018-11-01 11:58:58 +02:00
Tulir Asokan
9e066478a9 Refactor how plugins are started and update spec 2018-11-01 01:51:54 +02:00
Tulir Asokan
b96d6e6a94 Remove command_spec table 2018-10-31 22:55:43 +02:00
Tulir Asokan
4b7c38ca2a Add clients and instances API stubs 2018-10-31 22:41:00 +02:00
Tulir Asokan
057ccc1914 Refactor management API impl 2018-10-31 22:28:13 +02:00
Tulir Asokan
c7d16a5d46 Update management spec 2018-10-31 22:27:59 +02:00
Tulir Asokan
14fd0d6ac9 Finish plugin API and add basic login system 2018-10-31 02:03:38 +02:00
Tulir Asokan
d7f072aeff Even more plugin API stuff 2018-10-31 00:27:50 +02:00
Tulir Asokan
0148f74d90 Merge branch 'master' into management 2018-10-30 21:44:53 +02:00
Tulir Asokan
26c4fae464 Update version 2018-10-30 21:42:21 +02:00
Tulir Asokan
a2ba9b245e Update mautrix.util imports 2018-10-30 21:40:41 +02:00
Tulir Asokan
91f804d4cf Allow commands for all non-notice message types 2018-10-30 21:29:58 +02:00
Tulir Asokan
d5353430a8 More plugin API stuff 2018-10-30 00:50:45 +02:00
Tulir Asokan
44aba396b7 Random changes slightly related to a maubot plugin packager cli program 2018-10-29 17:47:49 +02:00
Tulir Asokan
f2449e2eba Start working on management API implementation 2018-10-28 01:31:03 +03:00
Tulir Asokan
aefdcd9447 Fix minor things in management API spec 2018-10-27 19:58:35 +03:00
Tulir Asokan
6001b66044 Add initial management API spec 2018-10-27 14:21:07 +03:00
Tulir Asokan
283863c390 Add frontend stub 2018-10-26 00:21:00 +03:00
Tulir Asokan
038fbc43f1 Add automatic sqlalchemy commit 2018-10-22 02:01:06 +03:00
Tulir Asokan
894c5df07b Fix config updating and make plugin dbs somewhat configurable 2018-10-22 01:57:37 +03:00
Tulir Asokan
485040e687 Add temporary request_db_engine() implementation 2018-10-22 01:13:50 +03:00
Tulir Asokan
fd14a38546 Make command arguments map optional and fix optional command arguments 2018-10-21 21:57:34 +03:00
Tulir Asokan
a4fb18038c Update version 2018-10-21 01:01:51 +03:00
Tulir Asokan
1ffc536f0c Add SIGINT/SIGTERM handler 2018-10-20 21:16:13 +03:00
Tulir Asokan
d7bbe1498a Remove unused import 2018-10-20 19:38:55 +03:00
Tulir Asokan
b29a7d186e Add configuration for plugins 2018-10-20 18:39:16 +03:00
Tulir Asokan
3337ac52ea Update readme and version to .dev2 2018-10-18 00:02:15 +03:00
Tulir Asokan
a13fa556a9 Add sync filter for bots 2018-10-17 23:43:56 +03:00
Tulir Asokan
cc053d0cfc Move bot helper checks to command event handler 2018-10-17 22:45:59 +03:00
Tulir Asokan
06eef9d6f2 Use join_room instead of join_room_by_id 2018-10-17 22:09:25 +03:00
Tulir Asokan
2844865e3a Fix potential await bug 2018-10-17 22:09:25 +03:00
Tulir Asokan
c342dc225f Move bot-oriented stuff from mautrix-python and add more logs 2018-10-17 20:17:14 +03:00
Tulir Asokan
4d2f2cd173 Set bot profile info at startup and add example maubot.ini 2018-10-17 15:00:51 +03:00
Tulir Asokan
2d95b54758 Remove event proxy class 2018-10-17 01:31:12 +03:00
Tulir Asokan
1d8de8b5f2 Make it work 2018-10-17 01:30:08 +03:00
Tulir Asokan
dce2771588 Make it run 2018-10-16 22:15:35 +03:00
Tulir Asokan
eef052b1e9 More changes 2018-10-16 16:41:02 +03:00
Tulir Asokan
0b246e44a8 Add command matching stuff 2018-10-16 00:25:23 +03:00
Tulir Asokan
c79ed97a47 Separate plugin loader 2018-10-14 22:57:11 +03:00
Tulir Asokan
7924b70549 Add a bunch of stuff 2018-10-14 22:08:11 +03:00
Tulir Asokan
91dc5646c7 Add autojoin event handler 2018-10-13 00:30:05 +03:00
Tulir Asokan
6969b2e273 Add db and client stuff 2018-10-10 22:51:34 +03:00
Tulir Asokan
c161fd71e7 top 2018-10-08 01:21:18 +03:00
Tulir Asokan
4550fa25f7 Start Python rewrite 2018-09-23 17:56:21 +03:00