summary refs log tree commit diff
path: root/synapse/push (follow)
Commit message (Expand)AuthorAgeFilesLines
* 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
|\
| * Don't convert to deferreds when not necessaryErik Johnston2017-03-301-5/+2
* | Cache glob to regex at a higher level for pushErik Johnston2017-03-291-47/+57
|/
* Don't recreate so many setsErik Johnston2017-03-161-4/+4
* Get current state by using current_state_events tableErik Johnston2017-03-101-1/+1
* Ensure we pass positive ints to delay functionErik Johnston2017-02-221-1/+2
* Fix email push in pusher workerErik Johnston2017-02-021-2/+2
* Merge pull request #1811 from aperezdc/unhardcode-riot-urlsDavid Baker2017-01-181-6/+14
|\
| * Allow configuring the Riot URL used in notification emailsAdrian Perez de Castro2017-01-131-6/+14
* | Get state at event rather than for room in pushErik Johnston2017-01-171-1/+1
|/
* Add /room/<room_id>/joined_members APIErik Johnston2016-12-081-6/+6
* Fix push notifications for a single unread messageErik Johnston2016-10-181-1/+1
* Reduce redundant database work in email pusherErik Johnston2016-10-181-0/+4
* Fix email push notifs being droppedErik Johnston2016-10-131-14/+25
* _id field must uniquely identify different conditionsErik Johnston2016-09-191-2/+2
* proposal for notifying on e2e eventsMatthew Hodgson2016-09-171-0/+49
* Ensure we don't mutate the cache of push rulesErik Johnston2016-09-151-9/+1
* Make bulk_get_push_rules_for_room use get_joined_users_from_context cacheErik Johnston2016-09-051-1/+1
* Merge pull request #1060 from matrix-org/erikj/state_idsErik Johnston2016-09-011-1/+1
|\
| * Correctly handle the difference between prev and current stateErik Johnston2016-08-311-1/+1
* | Fix email notifs by adding missing paramErik Johnston2016-08-301-1/+1
|/
* Fix push room names for rooms with only an aliasErik Johnston2016-08-301-1/+1
* Use state handler instead of get_users_in_room/get_joined_hostsErik Johnston2016-08-261-1/+1
* Fix room name in email notifsErik Johnston2016-08-261-19/+20
* TypoErik Johnston2016-08-261-1/+0
* Fix up push to use get_current_state_idsErik Johnston2016-08-254-20/+226
* Replace context.current_state with context.current_state_idsErik Johnston2016-08-252-19/+17
* Preserve some logcontextsErik Johnston2016-08-242-9/+12
* Move _bulk_get_push_rules_for_room to storage layerErik Johnston2016-08-192-34/+9
* Make push Measure finer grainedErik Johnston2016-08-171-4/+5
* Merge remote-tracking branch 'origin/develop' into dbkr/contains_display_name...David Baker2016-08-161-4/+4
|\
| * Refactor user_delete_access_tokens. Invalidate get_user_by_access_token to sl...Erik Johnston2016-08-151-4/+4
* | s/underride/override/ in the rule_id tooDavid Baker2016-08-161-1/+1
* | Move display name ruleDavid Baker2016-08-151-16/+20
|/
* Ignore AlreadyCalled errors on timer cancelErik Johnston2016-07-312-3/+16
* Create separate methods for getting messages to pushMark Haines2016-07-282-4/+4
* TypoDavid Baker2016-07-281-1/+1
* even more pep8David Baker2016-06-241-0/+1
* Use similar naming we use in email notifs for pushDavid Baker2016-06-242-20/+22
* Fix ``KeyError: 'msgtype'``. Use ``.get``Mark Haines2016-06-171-14/+15
* Remove dead code.Mark Haines2016-06-072-34/+0
* 3rd time lucky: we'd already calculated it aboveDavid Baker2016-06-031-3/+1
* Oops, we're using the dict formDavid Baker2016-06-031-1/+3
* Add substitutions to email notif FromDavid Baker2016-06-031-1/+1
* Merge branch 'develop' into matthew/brand-from-headerMatthew Hodgson2016-06-035-61/+67
|\
| * Load push rules in storage layer, so that they get cachedErik Johnston2016-06-032-36/+22
| * Remove unnecessary setsErik Johnston2016-06-031-6/+3
| * Only get local usersErik Johnston2016-06-031-2/+5
| * Merge pull request #811 from matrix-org/erikj/state_users_in_roomErik Johnston2016-06-032-11/+18
| |\
| | * Use state to calculate get_users_in_roomErik Johnston2016-06-012-11/+18
| * | Merge pull request #809 from matrix-org/erikj/cache_receipts_in_roomErik Johnston2016-06-031-4/+4
| |\|
| | * Add get_users_with_read_receipts_in_room cacheErik Johnston2016-06-011-4/+4
| * | Merge pull request #821 from matrix-org/dbkr/email_unsubscribeDavid Baker2016-06-022-6/+19
| |\ \
| | * | peppateDavid Baker2016-06-021-1/+3
| | * | Working unsubscribe links going straight to the HSDavid Baker2016-06-021-4/+4
| | * | Merge remote-tracking branch 'origin/dbkr/email_notif_string_fmt_error' into ...David Baker2016-06-021-1/+1
| | |\ \
| | * \ \ Merge remote-tracking branch 'origin/develop' into dbkr/email_unsubscribeDavid Baker2016-06-022-4/+10
| | |\ \ \
| | * \ \ \ Merge branch 'dbkr/split_out_auth_handler' into dbkr/email_unsubscribeDavid Baker2016-06-021-0/+2
| | |\ \ \ \
| | * | | | | Email unsubscribing that may in theory, workDavid Baker2016-06-022-6/+17
| | | |_|_|/ | | |/| | |
| * | | | | Merge pull request #820 from matrix-org/dbkr/email_notif_string_fmt_errorDavid Baker2016-06-021-1/+1
| |\ \ \ \ \ | | | |_|_|/ | | |/| | |
| | * | | | Fix error in email notification string formattingDavid Baker2016-06-021-1/+1
| | | |_|/ | | |/| |
* | / | | brand the email from headerMatthew Hodgson2016-06-021-1/+8
|/ / / /
* / / / add some branding debuggingMatthew Hodgson2016-06-021-0/+1
|/ / /
* | | Disable INCLUDE_ALL_UNREAD_NOTIFSErik Johnston2016-06-021-1/+2
* | | if an email pusher specifies a brand param, use itMatthew Hodgson2016-06-022-3/+8
| |/ |/|
* | Use user_id in email greeting if display name is nullDavid Baker2016-06-021-0/+2
|/
* Add caches to bulk_get_push_rules*Erik Johnston2016-05-311-3/+5
* Check for presence of 'avatar_url' keyDavid Baker2016-05-241-1/+3
* fix NPE in room orderingMatthew Hodgson2016-05-231-2/+2
* consistency is the better part of valourMatthew Hodgson2016-05-231-1/+1
* Tune email notifs to make them quieter:Matthew Hodgson2016-05-232-18/+56
* Merge pull request #793 from matrix-org/matthew/one-push-badge-per-convoMatthew Hodgson2016-05-181-1/+3
|\
| * increment badge count per missed convo, not per msgMatthew Hodgson2016-05-181-1/+3