Commit Graph

578 Commits (6e8fb42be7657f9d4958c02d87cff865225714d2)

Author SHA1 Message Date
Brendan Abolivier 41ac128fd3
Split multiplart email sending into a dedicated handler (#9977) 4 years ago
Richard van der Hoff 03318a766c
Merge pull request from GHSA-x345-32rc-8h85 4 years ago
Erik Johnston 3853a7edfc
Only store data in caches, not "smart" objects (#9845) 4 years ago
Erik Johnston 177dae2704
Limit length of accepted email addresses (#9855) 4 years ago
Andrew Morgan 71f0623de9
Port "Allow users to click account renewal links multiple times without hitting an 'Invalid Token' page #74" from synapse-dinsic (#9832) 4 years ago
Jonathan de Jong 4b965c862d
Remove redundant "coding: utf-8" lines (#9786) 4 years ago
Patrick Cloke b7748d3c00
Import HomeServer from the proper module. (#9665) 4 years ago
Ankit Dobhal d66f9070cd
Fixed code misc. quality issues (#9649) 4 years ago
Patrick Cloke 55da8df078
Fix additional type hints from Twisted 21.2.0. (#9591) 4 years ago
Patrick Cloke 33a02f0f52
Fix additional type hints from Twisted upgrade. (#9518) 4 years ago
Erik Johnston 2566dc57ce
Test that we require validated email for email pushers (#9496) 4 years ago
Erik Johnston 2927921942
Clean up `ShardedWorkerHandlingConfig` (#9466) 4 years ago
Erik Johnston 66f4949e7f
Fix deleting pushers when using sharded pushers. (#9465) 4 years ago
Eric Eastwood 0a00b7ff14
Update black, and run auto formatting over the codebase (#9381) 4 years ago
Patrick Cloke 7950aa8a27 Fix some typos. 4 years ago
Patrick Cloke 792263c97c
Handle empty rooms when generating email notifications. (#9257) 4 years ago
Patrick Cloke 5d38a3c97f
Refactor email summary generation. (#9260) 4 years ago
Patrick Cloke e54746bdf7
Clean-up the template loading code. (#9200) 4 years ago
Patrick Cloke 6f7417c3db
Handle missing content keys when calculating presentable names. (#9165) 4 years ago
Patrick Cloke 23d701864f
Improve the performance of calculating ignored users in large rooms (#9024) 4 years ago
Patrick Cloke 37eaf9c272
Fix-up assertions about last stream token in push (#9020) 4 years ago
Patrick Cloke 4136255d3c
Ensure that a URL exists in the content during push. (#8965) 4 years ago
Patrick Cloke bd30cfe86a
Convert internal pusher dicts to attrs classes. (#8940) 4 years ago
Patrick Cloke b3a4b53587
Fix handling of stream tokens for push. (#8943) 4 years ago
Patrick Cloke 5d34f40d49
Add type hints to the push module. (#8901) 4 years ago
Patrick Cloke 92d87c6882
Add type hints for HTTP and email pushers. (#8880) 4 years ago
Patrick Cloke 02e588856a
Add type hints to the push mailer module. (#8882) 4 years ago
Patrick Cloke b774c555d8
Add additional validation to pusher URLs. (#8865) 4 years ago
Patrick Cloke 30fba62108
Apply an IP range blacklist to push and key revocation requests. (#8821) 4 years ago
Andrew Morgan 17fa58bdd1
Add a config option to change whether unread push notification counts are per-message or per-room (#8820) 4 years ago
David Baker 59cc2472b3
Add base pushrule to notify for jitsi conferences (#8286) 4 years ago
Richard van der Hoff cbc82aa09f
Implement and use an @lru_cache decorator (#8595) 4 years ago
Erik Johnston 2b7c180879
Start fewer opentracing spans (#8640) 4 years ago
Patrick Cloke 34a5696f93
Fix typos and spelling errors. (#8639) 4 years ago
Erik Johnston db9ef792f0
Fix email notifications for invites without local state. (#8627) 4 years ago
Richard van der Hoff 903d11c43a
Add `DeferredCache.get_immediate` method (#8568) 4 years ago
Patrick Cloke c356b4bf42
Include a simple message in email notifications that include encrypted content (#8545) 4 years ago
Richard van der Hoff 995cc615a0
Apply suggestions from code review 4 years ago
Richard van der Hoff 0ec0bc3886 type annotations for LruCache 4 years ago
Richard van der Hoff 3ee17585cd
Make LruCache register its own metrics (#8561) 4 years ago
Erik Johnston 921a3f8a59
Fix not sending events over federation when using sharded event persisters (#8536) 4 years ago
Patrick Cloke 4ff0201e62
Enable mypy checking for unreachable code and fix instances. (#8432) 4 years ago
Mathieu Velten 916bb9d0d1
Don't push if an user account has expired (#8353) 4 years ago
Patrick Cloke 8a4a4186de
Simplify super() calls to Python 3 syntax. (#8344) 4 years ago
Erik Johnston 5d3e306d9f
Clean up `Notifier.on_new_room_event` code path (#8288) 4 years ago
Andrew Morgan a3a90ee031
Show a confirmation page during user password reset (#8004) 4 years ago
Erik Johnston c9dbee50ae
Fixup pusher pool notifications (#8287) 4 years ago
Erik Johnston dc9dcdbd59 Revert "Fixup pusher pool notifications" 4 years ago
Erik Johnston e7fd336a53 Fixup pusher pool notifications 4 years ago
Brendan Abolivier d8762cc116
Only add rows to the push actions table if the event notifies or should be marked unread (#8274) 4 years ago