Andrea Spacca
cd36ca68d5
thumbnail_url can be None
2021-09-04 13:13:50 +02:00
Damir Jelić
ed7aa55ef0
pantalaimon: Bump our version
2021-09-02 11:42:50 +02:00
Jan Alexander Steffens (heftig)
054a3bcb0b
pantalaimon: Forward raw path instead of quoting the decoded path
...
If the original path had quoted slash characters (`%2F`), the code
decoded them and then left them unquoted, causing the forwarded request
to fail.
An example is trying to ban a user with a slash in their name using
Mjolnir, which PUTs a state event with `rule:<username>` in the URL.
Use the undecoded path to avoid this.
2021-08-26 20:29:53 +02:00
Damir Jelić
e3be7bee3b
pantalaimon: Bump our version
2021-07-14 13:48:16 +02:00
Damir Jelić
c6b021ed11
Merge branch 'prevent-downgrade-on-failed-sync'
2021-07-14 13:35:53 +02:00
Damir Jelić
a9f6ad2c7e
pantalaimon: Don't forward messages if we think the room isn't joined
2021-07-14 12:25:39 +02:00
Damir Jelić
f875499d6b
pantalaimon: Fix some formatting issues
2021-07-14 11:05:02 +02:00
Damir Jelić
340dbf2eb6
pantalaimon: Prevent the sending of messages if the client didn't sync
...
Pantalaimon depends on the room state to be present to decide correctly
if a message should be encrypted or now. The room state is fetched from
the server every time we restart, this means that failure to fetch room
states from the server would hinder us from doing the correct decision.
This patch prevents a downgrade to sending unencrypted messages if we're
unable to sync at least once with the server.
2021-07-14 11:02:30 +02:00
Damir Jelić
c36aca183b
pantalaimon: Bump our version
2021-07-06 10:41:23 +02:00
Damir Jelić
3dcaad8a9f
Merge branch 'patch_i90'
2021-07-06 10:35:23 +02:00
CortexPE
95bf217657
patch KeyError on sync
2021-07-02 19:45:40 +08:00
CortexPE
c455b37b67
prevent touching thumbnail info when not needed
2021-06-21 17:32:51 +08:00
CortexPE
48fd703772
Patch #90
2021-06-21 17:24:02 +08:00
Damir Jelić
a7286dfc9f
pantalaimon: Bumb the version
2021-06-03 10:39:37 +02:00
Damir Jelić
2b359c22d2
store: Split out the media cache loading logic from the load media method
2021-06-03 10:18:29 +02:00
Damir Jelić
90cdc55451
pantalaimon: Reformat our source files using black
2021-05-28 14:30:04 +02:00
Damir Jelić
eabd5f5b51
pantalaimon: Add a config option to drop old room keys
...
This patch adds a config option that enables a mode wher a proxy will
only keep the latest room key from a sender in a certain room. This is
useful for bots that use pantalaimon since they are mostly only
interested in the latest messages and don't care about room history.
2021-05-28 14:29:45 +02:00
Alexander Manning
4cdf1be376
Merge branch 'alex-thumbnails' of github.com:aem09/pantalaimon into alex-thumbnails
2021-05-14 16:36:13 +01:00
Alexander Manning
5e81131ecf
Remove return from MediaInfo.to_thumbnail()
...
and from MediaInfo.to_content()
2021-05-14 16:35:20 +01:00
Alex Manning
4cd28da781
Merge branch 'matrix-org:master' into alex-thumbnails
2021-05-14 13:30:51 +01:00
Alexander Manning
7b4cc0527d
Encrypt Thumbnails
...
When a client sends a thumbnail with their media message, encrypt the
thumbnail too.
2021-05-14 13:30:06 +01:00
Damir Jelić
87169df413
pantalaimon: Bump our version
2021-05-14 13:53:51 +02:00
Damir Jelić
73f68c76fb
pantalaimon: Bump the allowed nio version
2021-05-06 15:10:43 +02:00
Damir Jelić
db9cf77891
pantalaimon: Update the changelog
2021-03-10 09:42:47 +01:00
Damir Jelić
edab476a90
pantalaimon: Bump the version
2021-03-10 09:36:43 +01:00
Vojtěch Káně
376ca72014
setup.py: Bump the allowed nio version
2021-03-09 11:43:28 +01:00
Damir Jelić
e426d0fca6
pantalaimon: Update the changelog
2021-01-19 11:10:35 +01:00
Damir Jelić
bb65f0fac5
pantalaimon: Bump our version
2021-01-19 11:01:53 +01:00
Damir Jelić
3baae08ac3
setup.py: Bump the allowed nio version
2021-01-19 11:00:31 +01:00
Damir Jelić
30bf196956
pantalaimon: Update the changelog
2021-01-19 10:55:25 +01:00
Damir Jelić
3cb1d735cf
pantalaimon: Bump our version
2021-01-19 10:55:25 +01:00
Will Hunt
bd7af084f7
Do not fail if msgtype is not defined
2021-01-15 14:23:37 +00:00
Damir Jelić
59051c530a
ui: Fix the notification initialization
...
Closes : #81 .
2021-01-12 11:52:52 +01:00
Damir Jelić
12ae367626
daemon: Fix a couple of styel issues
2021-01-12 10:05:53 +01:00
Andrea Spacca
1c317ed294
cr fix
2021-01-11 17:43:56 +01:00
Andrea Spacca
787540f329
replace ValueError with custom NotDecryptedAvailableError
2021-01-11 16:58:03 +01:00
Andrea Spacca
6ece7020de
remove hidden forward_to_web in _map_decrypted_uri and rely on except
2021-01-11 16:37:46 +01:00
Andrea Spacca
266b049cfc
override existing content
2021-01-07 18:11:02 +01:00
Andrea Spacca
a24f80c4d0
fix bug
2021-01-07 17:57:54 +01:00
Andrea Spacca
83d1e12870
fix bug
2021-01-07 17:54:46 +01:00
Andrea Spacca
8fc906a9e6
fix bug
2021-01-07 17:52:50 +01:00
Andrea Spacca
e66a3bc2d1
fix bug
2021-01-07 17:48:19 +01:00
Andrea Spacca
6cedf846bd
store filename in upload info
2021-01-07 17:08:34 +01:00
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