Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Merge branch 'develop' into anoa/black_exclusion_extension
Browse files Browse the repository at this point in the history
* develop:
  Add default push rule to ignore reactions (#5623)
  Add origin_server_ts and sender fields to m.replace (#5613)
  Remove support for invite_3pid_guest. (#5625)
  remove dead transaction persist code (#5622)
  Fixes to the federation rate limiter (#5621)
  Make errors about email password resets much clearer (#5616)
  Improve the backwards compatibility re-exports of synapse.logging.context (#5617)
  Add a sytest blacklist file (#5611)
  Move logging utilities out of the side drawer of util/ and into logging/ (#5606)
  Fix 'utime went backwards' errors on daemonization. (#5609)
  • Loading branch information
anoadragon453 committed Jul 8, 2019
2 parents a4b259a + 9b1b79f commit 932e37b
Show file tree
Hide file tree
Showing 128 changed files with 1,299 additions and 1,414 deletions.
9 changes: 6 additions & 3 deletions .buildkite/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -173,11 +173,12 @@ steps:
queue: "medium"
command:
- "bash .buildkite/merge_base_branch.sh"
- "bash .buildkite/synapse_sytest.sh"
- "bash /synapse_sytest.sh"
plugins:
- docker#v3.0.1:
image: "matrixdotorg/sytest-synapse:py35"
propagate-environment: true
always-pull: true
retry:
automatic:
- exit_status: -1
Expand All @@ -192,11 +193,12 @@ steps:
POSTGRES: "1"
command:
- "bash .buildkite/merge_base_branch.sh"
- "bash .buildkite/synapse_sytest.sh"
- "bash /synapse_sytest.sh"
plugins:
- docker#v3.0.1:
image: "matrixdotorg/sytest-synapse:py35"
propagate-environment: true
always-pull: true
retry:
automatic:
- exit_status: -1
Expand All @@ -212,11 +214,12 @@ steps:
WORKERS: "1"
command:
- "bash .buildkite/merge_base_branch.sh"
- "bash .buildkite/synapse_sytest.sh"
- "bash /synapse_sytest.sh"
plugins:
- docker#v3.0.1:
image: "matrixdotorg/sytest-synapse:py35"
propagate-environment: true
always-pull: true
soft_fail: true
retry:
automatic:
Expand Down
145 changes: 0 additions & 145 deletions .buildkite/synapse_sytest.sh

This file was deleted.

1 change: 1 addition & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ include demo/README
include demo/demo.tls.dh
include demo/*.py
include demo/*.sh
include sytest-blacklist

recursive-include synapse/storage/schema *.sql
recursive-include synapse/storage/schema *.sql.postgres
Expand Down
1 change: 1 addition & 0 deletions changelog.d/5606.misc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Move logging code out of `synapse.util` and into `synapse.logging`.
1 change: 1 addition & 0 deletions changelog.d/5609.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix 'utime went backwards' errors on daemonization.
1 change: 1 addition & 0 deletions changelog.d/5611.misc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Add a blacklist file to the repo to blacklist certain sytests from failing CI.
1 change: 1 addition & 0 deletions changelog.d/5613.feature
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Add `sender` and `origin_server_ts` fields to `m.replace`.
1 change: 1 addition & 0 deletions changelog.d/5616.misc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Make runtime errors surrounding password reset emails much clearer.
1 change: 1 addition & 0 deletions changelog.d/5617.misc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Move logging code out of `synapse.util` and into `synapse.logging`.
1 change: 1 addition & 0 deletions changelog.d/5621.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Various minor fixes to the federation request rate limiter.
1 change: 1 addition & 0 deletions changelog.d/5622.misc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Remove dead code for persiting outgoing federation transactions.
1 change: 1 addition & 0 deletions changelog.d/5623.feature
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Add default push rule to ignore reactions.
1 change: 1 addition & 0 deletions changelog.d/5625.removal
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Remove support for the `invite_3pid_guest` configuration setting.
8 changes: 4 additions & 4 deletions contrib/example_log_config.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Example log_config file for synapse. To enable, point `log_config` to it in
# Example log_config file for synapse. To enable, point `log_config` to it in
# `homeserver.yaml`, and restart synapse.
#
# This configuration will produce similar results to the defaults within
# This configuration will produce similar results to the defaults within
# synapse, but can be edited to give more flexibility.

version: 1
Expand All @@ -12,7 +12,7 @@ formatters:

filters:
context:
(): synapse.util.logcontext.LoggingContextFilter
(): synapse.logging.context.LoggingContextFilter
request: ""

handlers:
Expand All @@ -35,7 +35,7 @@ handlers:
root:
level: INFO
handlers: [console] # to use file handler instead, switch to [file]

loggers:
synapse:
level: INFO
Expand Down
2 changes: 1 addition & 1 deletion contrib/experiments/test_messaging.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@

from synapse.app.homeserver import SynapseHomeServer

# from synapse.util.logutils import log_function
# from synapse.logging.utils import log_function

from twisted.internet import reactor, defer
from twisted.python import log
Expand Down
2 changes: 1 addition & 1 deletion contrib/systemd/log_config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ formatters:

filters:
context:
(): synapse.util.logcontext.LoggingContextFilter
(): synapse.logging.context.LoggingContextFilter
request: ""

handlers:
Expand Down
7 changes: 7 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
matrix-synapse-py3 (1.1.0-1) UNRELEASED; urgency=medium

[ Amber Brown ]
* Update logging config defaults to match API changes in Synapse.

-- Erik Johnston <erikj@rae> Thu, 04 Jul 2019 13:59:02 +0100

matrix-synapse-py3 (1.1.0) stable; urgency=medium

[ Silke Hofstra ]
Expand Down
2 changes: 1 addition & 1 deletion debian/log.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ formatters:

filters:
context:
(): synapse.util.logcontext.LoggingContextFilter
(): synapse.logging.context.LoggingContextFilter
request: ""

handlers:
Expand Down
2 changes: 1 addition & 1 deletion docker/conf/log.config
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ formatters:

filters:
context:
(): synapse.util.logcontext.LoggingContextFilter
(): synapse.logging.context.LoggingContextFilter
request: ""

handlers:
Expand Down
Loading

0 comments on commit 932e37b

Please sign in to comment.