Commit Graph

471 Commits

Author SHA1 Message Date
Andrea Spacca
b6b4362ade fix test 2021-01-07 16:58:24 +01:00
Andrea Spacca
5dd4c50c2a store filename in upload info 2021-01-07 16:57:07 +01:00
Andrea Spacca
33e938b095 bugfix 2021-01-07 11:57:36 +01:00
Andrea Spacca
0bf49f7fdd remove keys from uploadinfo, save media and upload at upload time 2021-01-07 11:22:11 +01:00
Andrea Spacca
f0ea2ebd3d CR fixes 2021-01-06 18:08:03 +01:00
Andrea Spacca
3d1a807f7e CR fixes 2021-01-05 14:28:07 +01:00
Andrea Spacca
3d319b1247 fix bug 2020-12-27 01:51:35 +01:00
Andrea Spacca
8aaa82abf3 profile and m.room.avatar 2020-12-24 17:58:50 +01:00
Andrea Spacca
fadcf2934d fix bug 2020-12-23 19:50:29 +01:00
Andrea Spacca
f747c83af4 cache in upload 2020-12-23 12:36:29 +01:00
Andrea Spacca
453fd935d2 fix test 2020-12-23 00:47:23 +01:00
Andrea Spacca
aa5123bef3 fix test 2020-12-22 22:16:06 +01:00
Andrea Spacca
3a380cc91e fix test 2020-12-22 21:00:09 +01:00
Andrea Spacca
404dfe568c overwrite content 2020-12-22 20:52:04 +01:00
Andrea Spacca
a533c25efd little cleaning 2020-12-22 17:45:34 +01:00
Andrea Spacca
8a40b9e6bc refinements 2020-12-22 17:21:35 +01:00
Andrea Spacca
1168bcf7ff CR fixes 2020-12-22 17:12:21 +01:00
Andrea Spacca
ce0fa21f94 fix await 2020-12-22 09:44:05 +01:00
Andrea Spacca
5273b83574 use mxc data in send_message 2020-12-22 02:47:28 +01:00
Andrea Spacca
e5922da6ec WIP: first commit 2020-12-22 02:37:27 +01:00
Damir Jelić
5b1e220f5e tox: Bump our Python versions. 2020-12-02 13:49:43 +01:00
Damir Jelić
726e96944d store: Add a missing use-database decorator. 2020-12-02 12:42:42 +01:00
Damir Jelić
ec00d06c16 setup.py: Add a missing comma. 2020-12-02 11:24:28 +01:00
mawalu
1219ddfc48
Use correct homeserver URL in example description 2020-10-17 10:39:34 +02:00
Damir Jelić
9c65c06075 pantalaimon: Bump the version. 2020-09-30 11:26:46 +02:00
Damir Jelić
d7089b91bd daemon: Format the file. 2020-09-30 11:26:32 +02:00
Damir Jelić
5ca755a944 setup.py: Specify our UI deps better.
This fixes: #68.
2020-09-30 11:22:00 +02:00
Will Hunt
908c1a16be
Fix logger.warn error
Co-authored-by: poljar <poljar@termina.org.uk>
2020-09-16 15:01:16 +01:00
Will Hunt
3c5e42896f log line 2020-09-16 11:59:46 +01:00
Will Hunt
bb9408cbbe Add changelog entry 2020-09-16 10:14:17 +01:00
Will Hunt
fdbb35d806 Add valuerror 2020-09-16 10:10:40 +01:00
Will Hunt
73fa84a6e5 Do not try to login if the user authenticated via other means 2020-09-15 18:12:05 +01:00
Damir Jelić
625bde3305 pantalaimon: Bump the version and update the changelog. 2020-09-02 17:13:31 +02:00
Galen Abell
c13bd1329b tests: Don't use keyring during tests
Many systems don't have a keyring configured for DBus by default, which
requires extra setup in order to run the proxy tests successfully.
2020-08-14 11:51:49 +02:00
Damir Jelić
d425e2d188 pantalaimon: Increase the max POST size. 2020-08-04 15:37:01 +02:00
Damir Jelić
01e0c9363e client: Store media info when decrypting instead of using a event callback.
Event callbacks are only called for events that come through a sync
resposne. Since events in the scrollback might be decryptable there's no
reason to not store the media info for those as well.
2020-07-20 15:19:13 +02:00
Damir Jelić
2c0bd21e8c Merge branch 'fractal-scrollback' 2020-07-20 15:18:35 +02:00
Damir Jelić
24b371be62 daemon: Sanitize the GET /rooms/{room_id}/messages filters as well.
Fractal started to apply filters on their scroll-back requests, this
sadly doesn't include encrypted messages so the scroll-back appeared to
be broken for encrypted rooms.

This patch modifies the filter sanitization logic, since Fractal also
sends out a new filter format that we didn't support, and applies it to
the GET /rooms/{room_id}/messages endpoint as well.
2020-07-20 14:26:07 +02:00
Damir Jelić
d388a21b9b pantalaimon: Bump the version. 2020-07-02 12:19:59 +02:00
Damir Jelić
3ec8ee92ba setup.py: Allow patch versions of nio. 2020-07-02 12:14:57 +02:00
Damir Jelić
a1ce95076e daemon: Catch POST requests that try to send out messages.
Synapse seems to accept a POST requests on the
_matrix/client/r0/rooms/$ROOM/send/m.room.message path.

While this is not specced in any way people might shoot themselves in
the foot by sending unencrypted messages to a room if they, by accident,
use the wrong HTTP method.

This fixes: #56
2020-06-24 15:04:37 +02:00
Damir Jelić
da08ccac5a setup.py: Bump the nio version. 2020-06-21 21:40:29 +02:00
Damir Jelić
fae9330a6b pantalaimon: Bump the version. 2020-06-21 20:46:53 +02:00
Damir Jelić
007185dd78 setup.py: Bump the maximal supported nio version. 2020-06-21 20:46:21 +02:00
Damir Jelić
4bd1d1767f pantalaimon: Bump the version. 2020-05-28 16:29:26 +02:00
Damir Jelić
c05adace8c pantalaimon: Fix the version of our aiohttp dependency. 2020-05-27 19:14:40 +02:00
Damir Jelić
4da77c3162 pantalaimon: Fix the deps to not contain incompabilities with nio. 2020-05-27 18:43:55 +02:00
Damir Jelić
56fd6b7a38 pantalaimon: Bump the version. 2020-05-27 17:10:55 +02:00
Damir Jelić
d9a4b91d70 setup.py: Don't pin the patch versions.
This closes: #51.
2020-05-21 12:55:45 +02:00
Damir Jelić
90eed20bef pantalaimon: Bump the version so dockerhub picks it up. 2020-05-12 09:56:20 +02:00