Commit graph

26 commits

Author SHA1 Message Date
jkhsjdhjs
65be63fdd2
Fix PluginWebApp base path handling (#240)
Previously, the webapp handler would match without respect to the trailing slash, e.g. matching "foo"
for "foo2". This behavior is changed to respect the trailing slash.

Fixes #239
2024-08-24 18:47:24 +03:00
Tulir Asokan
92736baefd Add appservice option to standalone mode 2023-09-06 23:29:22 +03:00
Tulir Asokan
c9282b93f4 Fix serving static files. Fixes #206 2023-03-06 15:49:51 +02:00
Tulir Asokan
e99a13a391 Drop support for custom API paths
Changing the base public URL is still possible (which may be useful
if someone wants to use a reverse proxy without adding subdomains).

Fixes #195
2023-01-05 00:27:31 +02:00
Tulir Asokan
068e268c63 Blacken and isort code 2022-03-25 19:52:14 +02:00
Tulir Asokan
8b1685a9ea Add web app support to standalone mode 2021-11-20 00:45:37 +02:00
Antoine Mazeas
3aadf0c2a9 Swap urllib for yarl; make use of process.env
Signed-off-by: Antoine Mazeas <antoine@karthanis.net>
2020-01-09 14:32:38 +01:00
Antoine Mazeas
3b603a2180 Revert obsolete change
Signed-off-by: Antoine Mazeas <antoine@karthanis.net>
2020-01-07 19:36:17 +01:00
Antoine Mazeas
3c7b4fc09c Make management UI aware of URL subpaths in config
Signed-off-by: Antoine Mazeas <antoine@karthanis.net>
2020-01-07 19:04:40 +01:00
Tulir Asokan
4210f3195f Update copyright year 2019-06-08 17:42:07 +03: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
f303bd66ab Let plugins add their endpoints to the main webserver 2019-03-06 22:22:34 +02:00
Tulir Asokan
4f7eef6029 Fix uploading and downloading avatars 2018-12-08 13:07:12 +02:00
Tulir Asokan
6f2162d5f3 Add some backup checks when stopping maubot 2018-11-11 21:20:50 +02:00
Tulir Asokan
b52766ab1e Fix minor things in management API 2018-11-11 16:06:06 +02:00
Tulir Asokan
e0306d29b5 Make maubot http server serve frontend for production 2018-11-11 00:43:58 +02:00
Tulir Asokan
53d2264351 Proxy avatar requests through server and improve css 2018-11-10 12:57:06 +02:00
Tulir Asokan
14fd0d6ac9 Finish plugin API and add basic login system 2018-10-31 02:03:38 +02:00
Tulir Asokan
f2449e2eba Start working on management API implementation 2018-10-28 01:31:03 +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