summary refs log tree commit diff
path: root/synapse/push (follow)
Commit message (Expand)AuthorAgeFilesLines
* Rename storage classes (#12913)Erik Johnston2022-05-313-10/+14
* Fix invite notifications for users without pushers (#12840)DeepBlueV7.X2022-05-301-6/+4
* Fix up `state_store` naming (#12871)Erik Johnston2022-05-251-3/+3
* Remove `dont_notify` from the `.m.rule.room.server_acl` rule (#12849)Å imon Brandner2022-05-241-1/+1
* Experimental support for MSC3772 (#12740)Patrick Cloke2022-05-244-3/+136
* Update EventContext `get_current_event_ids` and `get_prev_event_ids` to accep...Shay2022-05-201-2/+7
* Fix push for m.read events (#12721)SpiritCroc2022-05-171-1/+1
* Consolidate logic for parsing relations. (#12693)Patrick Cloke2022-05-161-3/+3
* Remove unneeded `ActionGenerator` class. (#12691)Patrick Cloke2022-05-113-53/+7
* Refactor `EventContext` (#12689)Erik Johnston2022-05-101-0/+4
* Move free functions into PushRuleEvaluatorForEvent. (#12677)Patrick Cloke2022-05-102-34/+68
* Add class-diagrams and notes for push. (#12676)Patrick Cloke2022-05-101-0/+79
* Implement MSC3786: Add a default push rule to ignore m.room.server_acl events...Å imon Brandner2022-05-101-0/+15
* Implement changes to MSC2285 (hidden read receipts) (#12168)Å imon Brandner2022-05-041-1/+3
* Refactor and convert `Linearizer` to async (#12357)Sean Quah2022-04-051-1/+1
* Un-revert Jinja2 fix (#12313)Brendan Abolivier2022-03-281-4/+5
* Add cache for `get_membership_from_event_ids` (#12272)Erik Johnston2022-03-251-14/+16
* Merge branch 'master' into developRichard van der Hoff2022-03-241-5/+4
|\
| * Revert "Replace instances of deprecated `Jinja2.Markup` with `markupsafe.Mark...Andrew Morgan2022-03-241-5/+4
* | Merge branch 'master' into developAndrew Morgan2022-03-241-4/+5
|\|
| * Replace instances of deprecated `Jinja2.Markup` with `markupsafe.Markup` (#12...Andrew Morgan2022-03-241-4/+5
* | Use the ignored_users table to test event visibility & sync. (#12225)Patrick Cloke2022-03-151-1/+1
|/
* Add an additional HTTP pusher + push rule tests. (#12188)Nick Mills-Barrett2022-03-113-25/+25
* Fix `PushRuleEvaluator` and `Filter` to work on frozendicts (#12100)Richard van der Hoff2022-02-281-4/+4
* Remove `HomeServer.get_datastore()` (#12031)Richard van der Hoff2022-02-236-8/+8
* Upgrade mypy to version 0.931 (#12030)Sean Quah2022-02-182-5/+7
* Prevent duplicate push notifications for room reads (#11835)lukasdenk2022-02-171-1/+6
* Revert experimental push rules from #7997. (#11884)Patrick Cloke2022-02-021-212/+7
* Improvements to bundling aggregations. (#11815)Patrick Cloke2022-01-261-1/+1
* Fix missing app variable in mail subject (#11745)David Robertson2022-01-131-2/+2
* Use auto_attribs/native type hints for attrs classes. (#11692)Patrick Cloke2022-01-132-28/+28
* Re-apply: Move glob_to_regex and re_word_boundary to matrix-python-common #11...reivilibre2022-01-051-3/+4
* Add type hints to event_push_actions. (#11594)Patrick Cloke2021-12-214-38/+36
* Ensure emails are canonicalized before fetching associated user. (#11547)Patrick Cloke2021-12-101-1/+4
* Add a constant for receipt types (m.read). (#11531)Patrick Cloke2021-12-081-1/+2
* Revert "Move `glob_to_regex` and `re_word_boundary` to `matrix-python-common`...Sean Quah2021-12-071-4/+3
* Move `glob_to_regex` and `re_word_boundary` to `matrix-python-common` (#11505)Sean Quah2021-12-061-3/+4
* Improved push typing (#11409)Marcus2021-11-304-34/+187
* Add remaining type hints to `synapse.events`. (#11098)Patrick Cloke2021-11-022-6/+8
* disallow-untyped-defs for synapse.push (#11023)David Robertson2021-10-114-8/+22
* Relax `ignore-missing-imports` for modules that have stubs now and update myp...David Robertson2021-10-081-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