summary refs log tree commit diff
path: root/synapse/push (follow)
Commit message (Expand)AuthorAgeFilesLines
* Workaround https://github.com/python/mypy/issues/6463David Robertson2021-10-071-1/+1
* Encode JSON responses on a thread in C, mk2 (#10905)Erik Johnston2021-09-281-1/+1
* Use direct references for configuration variables (part 4). (#10893)Patrick Cloke2021-09-231-1/+3
* Use direct references for some configuration variables (part 3) (#10885)Patrick Cloke2021-09-231-1/+1
* Use direct references for some configuration variables (part 2) (#10812)Patrick Cloke2021-09-154-11/+11
* Use direct references for some configuration variables (#10798)Patrick Cloke2021-09-131-7/+7
* Correctly include room avatars in email notifications (#10658)David Robertson2021-09-011-1/+23
* Remove shebang line from module files (#10415)V024602021-07-291-1/+0
* Update the notification email subject when invited to a space. (#10426)Patrick Cloke2021-07-211-1/+17
* Add a module type for account validity (#9884)Brendan Abolivier2021-07-161-16/+8
* Use inline type hints in various other places (in `synapse/`) (#10380)Jonathan de Jong2021-07-159-21/+21
* Move methods involving event authentication to EventAuthHandler. (#10268)Patrick Cloke2021-07-011-2/+2
* Split multiplart email sending into a dedicated handler (#9977)Brendan Abolivier2021-05-171-45/+8
* Merge pull request from GHSA-x345-32rc-8h85Richard van der Hoff2021-05-111-52/+3
* Only store data in caches, not "smart" objects (#9845)Erik Johnston2021-04-231-69/+92
* Limit length of accepted email addresses (#9855)Erik Johnston2021-04-221-1/+8
* Port "Allow users to click account renewal links multiple times without hitti...Andrew Morgan2021-04-191-3/+5
* Remove redundant "coding: utf-8" lines (#9786)Jonathan de Jong2021-04-1412-12/+0
* Import HomeServer from the proper module. (#9665)Patrick Cloke2021-03-237-7/+7
* Fixed code misc. quality issues (#9649)Ankit Dobhal2021-03-221-1/+1
* Fix additional type hints from Twisted 21.2.0. (#9591)Patrick Cloke2021-03-121-2/+2
* Fix additional type hints from Twisted upgrade. (#9518)Patrick Cloke2021-03-031-2/+3
* Test that we require validated email for email pushers (#9496)Erik Johnston2021-02-251-0/+6
* Clean up `ShardedWorkerHandlingConfig` (#9466)Erik Johnston2021-02-241-1/+3
* Fix deleting pushers when using sharded pushers. (#9465)Erik Johnston2021-02-222-7/+19
* Update black, and run auto formatting over the codebase (#9381)Eric Eastwood2021-02-164-28/+37
* Fix some typos.Patrick Cloke2021-02-121-1/+1
* Handle empty rooms when generating email notifications. (#9257)Patrick Cloke2021-02-041-37/+176
* Refactor email summary generation. (#9260)Patrick Cloke2021-02-011-122/+173
* Clean-up the template loading code. (#9200)Patrick Cloke2021-01-271-2/+16
* Handle missing content keys when calculating presentable names. (#9165)Patrick Cloke2021-01-251-15/+11
* Improve the performance of calculating ignored users in large rooms (#9024)Patrick Cloke2021-01-071-4/+8
* Fix-up assertions about last stream token in push (#9020)Patrick Cloke2021-01-054-14/+7
* Ensure that a URL exists in the content during push. (#8965)Patrick Cloke2020-12-181-1/+5
* Convert internal pusher dicts to attrs classes. (#8940)Patrick Cloke2020-12-165-115/+167
* Fix handling of stream tokens for push. (#8943)Patrick Cloke2020-12-154-40/+17
* Add type hints to the push module. (#8901)Patrick Cloke2020-12-116-80/+155
* Add type hints for HTTP and email pushers. (#8880)Patrick Cloke2020-12-076-101/+164
* Add type hints to the push mailer module. (#8882)Patrick Cloke2020-12-071-40/+83
* Add additional validation to pusher URLs. (#8865)Patrick Cloke2020-12-042-3/+16
* Apply an IP range blacklist to push and key revocation requests. (#8821)Patrick Cloke2020-12-021-1/+1
* Add a config option to change whether unread push notification counts are per...Andrew Morgan2020-11-302-7/+22
* Add base pushrule to notify for jitsi conferences (#8286)David Baker2020-11-021-0/+24
* Implement and use an @lru_cache decorator (#8595)Richard van der Hoff2020-10-301-13/+24
* Start fewer opentracing spans (#8640)Erik Johnston2020-10-261-2/+16
* Fix typos and spelling errors. (#8639)Patrick Cloke2020-10-232-3/+3
* Fix email notifications for invites without local state. (#8627)Erik Johnston2020-10-231-13/+28
* Add `DeferredCache.get_immediate` method (#8568)Richard van der Hoff2020-10-191-1/+1
* Include a simple message in email notifications that include encrypted conten...Patrick Cloke2020-10-191-5/+11
* Apply suggestions from code reviewRichard van der Hoff2020-10-161-1/+1
* type annotations for LruCacheRichard van der Hoff2020-10-161-7/+9
* Make LruCache register its own metrics (#8561)Richard van der Hoff2020-10-161-3/+1
* Fix not sending events over federation when using sharded event persisters (#...Erik Johnston2020-10-143-4/+22
* Enable mypy checking for unreachable code and fix instances. (#8432)Patrick Cloke2020-10-011-2/+2
* Don't push if an user account has expired (#8353)Mathieu Velten2020-09-231-0/+18
* Simplify super() calls to Python 3 syntax. (#8344)Patrick Cloke2020-09-181-1/+1
* Clean up `Notifier.on_new_room_event` code path (#8288)Erik Johnston2020-09-101-1/+1
* Show a confirmation page during user password reset (#8004)Andrew Morgan2020-09-101-1/+1
* Fixup pusher pool notifications (#8287)Erik Johnston2020-09-093-5/+18
* Revert "Fixup pusher pool notifications"Erik Johnston2020-09-093-18/+5
* Fixup pusher pool notificationsErik Johnston2020-09-093-5/+18
* Only add rows to the push actions table if the event notifies or should be ma...Brendan Abolivier2020-09-071-1/+6
* Unread counts fixes (#8254)Brendan Abolivier2020-09-041-1/+1
* Stop sub-classing object (#8249)Patrick Cloke2020-09-047-8/+8
* Re-implement unread counts (again) (#8059)Brendan Abolivier2020-09-022-29/+65
* Use the default templates when a custom template file cannot be found (#8037)Andrew Morgan2020-08-172-95/+8
* Implement new experimental push rules (#7997)Brendan Abolivier2020-08-101-8/+208
|\
| * Incorporate reviewBrendan Abolivier2020-08-061-16/+4
| * LintBrendan Abolivier2020-07-301-19/+32
| * Merge branch 'develop' of github.com:matrix-org/synapse into babolivier/new_p...Brendan Abolivier2020-07-306-148/+97
| |\
| * | Implement new experimental push rules with a database hack to enable themBrendan Abolivier2020-07-281-9/+208
* | | Revert #7736 (#8039)Brendan Abolivier2020-08-061-4/+13
* | | Convert synapse.api to async/await (#8031)Patrick Cloke2020-08-061-1/+1
| |/ |/|
* | Re-implement unread counts (#7736)Brendan Abolivier2020-07-291-13/+4
* | Convert push to async/await. (#7948)Patrick Cloke2020-07-276-139/+95
* | Convert state resolution to async/await (#7942)Patrick Cloke2020-07-241-1/+3
|/
* Add ability to run multiple pusher instances (#7855)Erik Johnston2020-07-161-36/+42
* Allow email subjects to be customised through Synapse's configuration (#7846)Brendan Abolivier2020-07-141-31/+20
* Correctly pass app_name to all email templates. (#7829)Erik Johnston2020-07-141-2/+8
* Don't ignore `set_tweak` actions with no explicit `value`. (#7766)reivilibre2020-07-061-4/+27
* Hack to add push priority to push notifications (#7765)reivilibre2020-07-011-3/+14
* Back out MSC2625 implementation (#7761)Brendan Abolivier2020-07-012-9/+3
* add a commentRichard van der Hoff2020-06-181-0/+2
* Fix unread counts in syncBrendan Abolivier2020-06-171-1/+1
* Implement unread counter (MSC2625) (#7673)Brendan Abolivier2020-06-172-3/+9
|\
| * Merge branch 'develop' into babolivier/mark_unreadBrendan Abolivier2020-06-151-8/+6
| |\
| * | Incorporate review bitsBrendan Abolivier2020-06-121-7/+6
| * | Actually act on mark_unreadBrendan Abolivier2020-06-111-3/+7
| * | Add a new unread_counter to sync responsesBrendan Abolivier2020-06-101-1/+4
* | | Refactor getting replication updates from database. (#7636)Erik Johnston2020-06-161-3/+1
* | | Replace all remaining six usage with native Python 3 equivalents (#7704)Dagfinn Ilmari Mannsåker2020-06-162-5/+2
* | | Ensure the body is a string before comparing push rules. (#7701)Patrick Cloke2020-06-151-2/+2
| |/ |/|
* | Replace iteritems/itervalues/iterkeys with native versions. (#7692)Patrick Cloke2020-06-151-8/+6
|/
* Convert sending mail to async/await. (#7557)Erik Johnston2020-05-222-69/+53
* remove miscellaneous PY2 codeRichard van der Hoff2020-05-151-8/+3
* Fix new flake8 errors (#7470)Erik Johnston2020-05-121-2/+5
* Allow configuration of Synapse's cache without using synctl or environment va...Amber Brown2020-05-112-3/+5
* Do not treat display names as globs for push rules. (#7271)Patrick Cloke2020-04-161-30/+39
* Fix concurrent modification errors in pusher metrics (#7106)Richard van der Hoff2020-03-191-9/+18
* Add prometheus metrics for the number of active pushers (#7103)Richard van der Hoff2020-03-191-1/+23
* Fix undefined `room_id` in `make_summary_text`Brendan Abolivier2020-03-091-1/+3
* No longer use room alias events to calculate room names for push notification...Patrick Cloke2020-02-211-22/+14
* Clarify list/set/dict/tuple comprehensions and enforce via flake8 (#6957)Patrick Cloke2020-02-214-18/+14
* Reduce amount of logging at INFO level. (#6862)Erik Johnston2020-02-061-1/+1
* Add `local_current_membership` table (#6655)Erik Johnston2020-01-151-1/+1
* Change EventContext to use the Storage class (#6564)Erik Johnston2019-12-201-2/+2
* Clean up startup for the pusher (#6558)Richard van der Hoff2019-12-182-9/+13
* Don't call SQLBaseStore methods from outside storesErik Johnston2019-12-041-9/+1
* Clean up newline quote marks around the codebase (#6362)Andrew Morgan2019-11-212-5/+4
* Support for routing outbound HTTP requests via a proxy (#6239)Richard van der Hoff2019-11-011-1/+1
* Update black to 19.10b0 (#6304)Amber Brown2019-11-014-22/+17
* Merge pull request #6294 from matrix-org/erikj/add_state_storageErik Johnston2019-10-313-6/+9
|\
| * Port to use state storageErik Johnston2019-10-303-6/+9
* | Remove usage of deprecated logger.warn method from codebase (#6271)Andrew Morgan2019-10-312-4/+4
|/
* Quick fix to ensure cache descriptors always return deferredsErik Johnston2019-10-281-1/+1
* Generalize email sending logging (#6075)Andrew Morgan2019-09-231-1/+1
* Allow HS to send emails when adding an email to the HS (#6042)Andrew Morgan2019-09-201-0/+29
* Ensure email validation link parameters are URL-encoded (#6063)Andrew Morgan2019-09-201-4/+6
* Add opentracing span for HTTP pushErik Johnston2019-09-091-1/+12
* Allow Synapse to send registration emails + choose Synapse or an external ser...Andrew Morgan2019-09-062-23/+77
* Remove unnecessary parentheses around return statements (#5931)Andrew Morgan2019-08-301-1/+1
* Remove redundant returnErik Johnston2019-08-131-1/+0
* Handle pusher being deleted during processing.Erik Johnston2019-08-012-13/+33
* Explicitly check that tombstone is a state event before notifying.Erik Johnston2019-07-311-1/+7
* Replace returnValue with return (#5736)Amber Brown2019-07-236-82/+65
* Add default push rule to ignore reactions (#5623)J. Ryan Stinnett2019-07-051-0/+13
* Move logging utilities out of the side drawer of util/ and into logging/ (#5606)Amber Brown2019-07-041-1/+1
* Improve email notification logging (#5502)Neil Johnson2019-06-201-1/+1
* Run Black. (#5482)Amber Brown2019-06-2013-697/+675
* Merge pull request #5388 from matrix-org/erikj/fix_email_pushErik Johnston2019-06-173-7/+53
|\
| * Add testErik Johnston2019-06-072-7/+42
| * Fix email notifications for large unnamed rooms.Erik Johnston2019-06-071-0/+11
* | Change password reset links to /_matrix.Erik Johnston2019-06-111-1/+1
|/
* Add ability to perform password reset via email without trusting the identity...Andrew Morgan2019-06-062-20/+69
* Add a default .m.rule.tombstone push rule (#4867)Travis Ralston2019-04-291-0/+17
* Merge pull request #5047 from matrix-org/babolivier/account_expirationBrendan Abolivier2019-04-172-10/+10
|\
| * Send out emails with links to extend an account's validity periodBrendan Abolivier2019-04-172-10/+10
* | Make starting pushers faster during start upErik Johnston2019-04-023-8/+43
|/
* Add missing returnErik Johnston2019-02-221-0/+1
* Correctly handle PusherConfigExceptionErik Johnston2019-02-221-0/+9
* Drop logging level of creating a pusherErik Johnston2019-02-221-1/+1
* Correctly handle null data in HttpPusherErik Johnston2019-02-221-0/+5
* Add prometheus metrics for number of badge update pushes. (#4709)Richard van der Hoff2019-02-221-8/+25
* bail out early in on_new_receipts if no pushers (#4706)Richard van der Hoff2019-02-211-0/+8
* Logging improvements for the pusher (#4691)Richard van der Hoff2019-02-202-13/+14
* Fix flake8 (#4519)Amber Brown2019-01-301-1/+1
* Fix logcontext leak in EmailPusherRichard van der Hoff2018-11-191-2/+3
* Clean up event accesses and testsErik Johnston2018-11-022-4/+4
* Write some tests for the email pusher (#4095)Amber Brown2018-10-302-6/+9
* Fix start_pushers vs _start_pushers confusionRichard van der Hoff2018-10-241-3/+3
* sanity-check the is_processing flagRichard van der Hoff2018-10-242-8/+14
* Run PusherPool.start as a background processRichard van der Hoff2018-10-221-5/+7
* Make on_started synchronous tooRichard van der Hoff2018-10-223-11/+21
* Remove redundant run_as_background_process() from pusherpoolRichard van der Hoff2018-10-223-44/+8
* Give pushers their own background logcontextRichard van der Hoff2018-10-222-58/+54
* move get_all_pushers call downRichard van der Hoff2018-10-221-3/+9
* Factor PusherPool._start_pusher out of _start_pushersRichard van der Hoff2018-10-221-18/+33
* Rename _refresh_pusherRichard van der Hoff2018-10-221-2/+3
* Calculate absolute path for email templatesRichard van der Hoff2018-10-191-6/+2
* Ship the email templates as package_dataRichard van der Hoff2018-10-171-1/+4
* fix link for case that config.email_riot_base_url is setNeil Johnson2018-09-131-1/+1
* merge (#3576)Amber Brown2018-09-142-4/+10
* Fix logcontexts for running pushersRichard van der Hoff2018-08-171-2/+15
* Rename async to async_helpers because `async` is a keyword on Python 3.7 (#3678)Amber Brown2018-08-102-2/+2
* Use new gettersErik Johnston2018-07-231-3/+4
* run isortAmber Brown2018-07-0911-48/+48
* Remove all global reactor imports & pass it around explicitly (#3424)Amber Brown2018-06-252-4/+6
* Remove run_on_reactor (#3395)Amber Brown2018-06-141-3/+0
* Consistently use six's iteritems and wrap lazy keys/values in list() if they'...Amber Brown2018-05-313-3/+4
* Merge remote-tracking branch 'origin/develop' into 3218-official-promAmber Brown2018-05-282-7/+10
|\
| * Merge pull request #3244 from NotAFile/py3-six-4Amber Brown2018-05-241-6/+7
| |\
| | * replace some iteritems with sixAdrian Tschira2018-05-191-6/+7
| * | Replace some more comparisons with sixAdrian Tschira2018-05-191-1/+3
| |/
* | fixesAmber Brown2018-05-231-2/+2
* | cleanupAmber Brown2018-05-221-2/+4
* | fixesAmber Brown2018-05-221-2/+2
* | rest of the changesAmber Brown2018-05-211-17/+11
* | replacing portionsAmber Brown2018-05-212-10/+5
|/
* Merge pull request #3152 from NotAFile/py3-local-importsRichard van der Hoff2018-04-302-3/+3
|\
| * make imports localAdrian Tschira2018-04-282-3/+3
* | Merge remote-tracking branch 'origin/develop' into rav/use_run_in_backgroundRichard van der Hoff2018-04-273-7/+17
|\|
| * Merge pull request #3138 from matrix-org/rav/catch_unhandled_exceptionsRichard van der Hoff2018-04-272-5/+11
| |\
| | * Improve exception handling for background processesRichard van der Hoff2018-04-272-5/+11
| * | Add missing consumeErrorsRichard van der Hoff2018-04-271-2/+6
| |/
* / Use run_in_background in preference to preserve_fnRichard van der Hoff2018-04-271-8/+12
|/
* Update commentsErik Johnston2018-02-211-3/+4
* Batch inserts into event_push_actions_stagingErik Johnston2018-02-201-6/+9
* CommentsErik Johnston2018-02-161-0/+3
* Remove context.push_actionsErik Johnston2018-02-152-11/+4
* Store push actions in staging areaErik Johnston2018-02-151-0/+3
* Better logging when pushes failRichard van der Hoff2018-01-291-2/+8
* add appid/device_display_name to to pusher loggingRichard van der Hoff2018-01-291-2/+2
* Fix logging and add user_idRichard van der Hoff2018-01-221-2/+3
* logging and debug for http pusherRichard van der Hoff2018-01-221-4/+20
* Remove pushers when deleting access tokensRichard van der Hoff2017-11-291-9/+15
* Merge pull request #2675 from matrix-org/rav/remove_broken_logcontext_funcsRichard van der Hoff2017-11-151-3/+3
|\
| * Remove preserve_context_over_{fn, deferred}Richard van der Hoff2017-11-141-3/+3
* | Rename redact_content option to include_contentDavid Baker2017-11-081-1/+2
|/
* replace 'except:' with 'except Exception:'Richard van der Hoff2017-10-234-8/+8
* Omit the *s for @room notificationsDavid Baker2017-10-161-1/+1
* pep8David Baker2017-10-102-3/+5
* Don't KeyError if no power_levels eventDavid Baker2017-10-101-1/+3
* Use notification levels in power_levelsDavid Baker2017-10-103-12/+22
* There was already a constant for thisDavid Baker2017-10-101-3/+4
* More optimisationDavid Baker2017-10-101-6/+9
* What year is it!? Who's the president!?David Baker2017-10-101-1/+1
* Make be fasterDavid Baker2017-10-051-3/+3
* Add fastpath optimisationDavid Baker2017-10-051-3/+9
* pep8David Baker2017-10-051-0/+3
* They're called roomsDavid Baker2017-10-051-4/+4
* Get rule type rightDavid Baker2017-10-051-1/+1
* Support for channel notificationsDavid Baker2017-10-053-8/+59
* Use better method for word boundary searchingDavid Baker2017-10-051-11/+3
* pep8David Baker2017-10-051-0/+1
* Fix notif kws that start/end with non-word charsDavid Baker2017-10-051-2/+21
* Also include the room_idDavid Baker2017-09-181-0/+1
* Use .get - it's much shorterDavid Baker2017-09-181-1/+1
* Add support for event_id_only push formatDavid Baker2017-09-181-0/+19
* Increase cache hit ratio for pushErik Johnston2017-07-141-0/+8
* Add more metrics to push rule evaluationErik Johnston2017-07-131-2/+42
* Push: Don't acquire lock unless necessaryErik Johnston2017-07-131-0/+4
* Perf: Don't filter events for pushErik Johnston2017-07-071-17/+8
* Merge pull request #2332 from matrix-org/rav/fix_pushesRichard van der Hoff2017-07-051-1/+3
|\
| * Fix caching error in the push evaluatorRichard van der Hoff2017-07-051-1/+3
* | Fix TravisCI tests for PR #2301Caleb James DeLisle2017-06-231-1/+1
* | Add configuration parameter to allow redaction of content from push messages ...Caleb James DeLisle2017-06-231-1/+1
|/
* Fix typo when getting app nameErik Johnston2017-06-061-1/+1
* Fix wrong number of argumentsErik Johnston2017-06-061-1/+1
* Only load jinja2 templates onceErik Johnston2017-05-224-60/+105
* CommentErik Johnston2017-05-221-0/+2
* Remove spurious log level guardsErik Johnston2017-05-221-6/+3
* Check if current event is a membership eventErik Johnston2017-05-221-4/+9
* Add debug loggingErik Johnston2017-05-221-0/+24
* CommentErik Johnston2017-05-221-1/+4
* Use tuple unpackingErik Johnston2017-05-221-2/+2
* Speed up calculating push rulesErik Johnston2017-05-191-8/+19
* Move invalidation cb to its own structureErik Johnston2017-05-191-6/+15
* Store ActionGenerator in HomeServerErik Johnston2017-05-192-2/+2
* Don't push users who have leftErik Johnston2017-05-181-1/+4
* Make get_if_app_services_interested_in_user fasterErik Johnston2017-05-181-3/+1
* Remove size of push get_rules cacheErik Johnston2017-05-181-1/+1
* Add commentErik Johnston2017-05-181-0/+3
* Faster push rule calculation via push specific cacheErik Johnston2017-05-172-45/+246
* Revert "Speed up filtering of a single event in push"Erik Johnston2017-05-081-8/+19
* Speed up filtering of a single event in pushErik Johnston2017-04-281-19/+8
* fix upErik Johnston2017-04-251-1/+2
* Don't specify default as dictErik Johnston2017-04-251-1/+1
* Reduce size of joined_user cacheErik Johnston2017-04-251-2/+5
* Support authenticated SMTPDaniel Dent2017-04-051-1/+5
* Merge pull request #2075 from matrix-org/erikj/cache_speedErik Johnston2017-03-311-5/+2
|\