Commit Graph

471 Commits

Author SHA1 Message Date
Will Hunt
7312e57d85 Merge remote-tracking branch 'origin/master' into hs/sync-options 2021-07-20 11:11:49 +01: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
Will Hunt
e590cc9dbf syntax fix 2021-06-03 12:29:35 +01:00
Will Hunt
5a7a8a0f5a Merge remote-tracking branch 'origin/master' into hs/sync-options 2021-06-03 11:30:30 +01: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
Will Hunt
93db4a02ab default to forgetful 2021-05-14 14:42:49 +01:00
Will Hunt
5b521468f1 Merge branch 'master' into hs/sync-options 2021-05-14 14:42:44 +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
Will Hunt
98fd19e077 Merge remote-tracking branch 'origin/master' into hs/sync-options 2021-04-16 11:44:41 +01:00
Will Hunt
60e6692c4f Changes 2021-04-16 11:43:14 +01: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
Will Hunt
f44456a5db Merge remote-tracking branch 'origin/master' into hs/sync-options 2021-01-14 18:45:45 +00:00
Will Hunt
7446cfc084 Add supporting options for disallowing the sync on startup and stopping the sync after some time 2021-01-14 17:57:20 +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