mirror of https://github.com/watcha-fr/synapse
commit
ce846bb620
@ -0,0 +1,31 @@ |
||||
#!/usr/bin/env bash |
||||
|
||||
set -e |
||||
|
||||
# CircleCI doesn't give CIRCLE_PR_NUMBER in the environment for non-forked PRs. Wonderful. |
||||
# In this case, we just need to do some ~shell magic~ to strip it out of the PULL_REQUEST URL. |
||||
echo 'export CIRCLE_PR_NUMBER="${CIRCLE_PR_NUMBER:-${CIRCLE_PULL_REQUEST##*/}}"' >> $BASH_ENV |
||||
source $BASH_ENV |
||||
|
||||
if [[ -z "${CIRCLE_PR_NUMBER}" ]] |
||||
then |
||||
echo "Can't figure out what the PR number is!" |
||||
exit 1 |
||||
fi |
||||
|
||||
# Get the reference, using the GitHub API |
||||
GITBASE=`curl -q https://api.github.com/repos/matrix-org/synapse/pulls/${CIRCLE_PR_NUMBER} | jq -r '.base.ref'` |
||||
|
||||
# Show what we are before |
||||
git show -s |
||||
|
||||
# Set up username so it can do a merge |
||||
git config --global user.email bot@matrix.org |
||||
git config --global user.name "A robot" |
||||
|
||||
# Fetch and merge. If it doesn't work, it will raise due to set -e. |
||||
git fetch -u origin $GITBASE |
||||
git merge --no-edit origin/$GITBASE |
||||
|
||||
# Show what we are after. |
||||
git show -s |
@ -1 +0,0 @@ |
||||
Removed the link to the unmaintained matrix-synapse-auto-deploy project from the readme. |
@ -0,0 +1 @@ |
||||
Python 3.5+ is now supported. |
@ -1 +0,0 @@ |
||||
Support profile API endpoints on workers |
@ -1 +0,0 @@ |
||||
Refactor state module to support multiple room versions |
@ -1 +0,0 @@ |
||||
Server notices for resource limit blocking |
@ -0,0 +1 @@ |
||||
CircleCI tests now run on the potential merge of a PR. |
@ -1 +0,0 @@ |
||||
Fix error collecting prometheus metrics when run on dedicated thread due to threading concurrency issues |
@ -1 +0,0 @@ |
||||
Allow guests to use /rooms/:roomId/event/:eventId |
@ -1 +0,0 @@ |
||||
The synapse.storage module has been ported to Python 3. |
@ -1 +0,0 @@ |
||||
Split the state_group_cache into member and non-member state events (and so speed up LL /sync) |
@ -1 +0,0 @@ |
||||
Log failure to authenticate remote servers as warnings (without stack traces) |
@ -1 +0,0 @@ |
||||
The CONTRIBUTING guidelines have been updated to mention our use of Markdown and that .misc files have content. |
@ -1 +0,0 @@ |
||||
Reference the need for an HTTP replication port when using the federation_reader worker |
@ -1 +0,0 @@ |
||||
Fix minor spelling error in federation client documentation. |
@ -1 +0,0 @@ |
||||
Remove redundant state resolution function |
@ -1 +0,0 @@ |
||||
The test suite now passes on PostgreSQL. |
@ -1 +0,0 @@ |
||||
Fix MAU cache invalidation due to missing yield |
@ -1 +0,0 @@ |
||||
Fix bug where we resent "limit exceeded" server notices repeatedly |
@ -1 +0,0 @@ |
||||
Add mau_trial_days config param, so that users only get counted as MAU after N days. |
@ -1 +0,0 @@ |
||||
Require twisted 17.1 or later (fixes [#3741](https://github.com/matrix-org/synapse/issues/3741)). |
@ -1 +0,0 @@ |
||||
Fix bug where we broke sync when using limit_usage_by_mau but hadn't configured server notices |
@ -1 +0,0 @@ |
||||
Fix 'federation_domain_whitelist' such that an empty list correctly blocks all outbound federation traffic |
@ -1 +0,0 @@ |
||||
Fix tagging of server notice rooms |
@ -1 +0,0 @@ |
||||
Fix tagging of server notice rooms |
@ -1 +0,0 @@ |
||||
Fix 'admin_uri' config variable and error parameter to be 'admin_contact' to match the spec. |
@ -1 +0,0 @@ |
||||
Don't return non-LL-member state in incremental sync state blocks |
@ -1 +0,0 @@ |
||||
Make sure that we close db connections opened during init |
@ -1 +0,0 @@ |
||||
Fix bug in sending presence over federation |
@ -0,0 +1 @@ |
||||
http/ is now ported to Python 3. |
@ -1 +0,0 @@ |
||||
Fix bug where preserved threepid user comes to sign up and server is mau blocked |
@ -0,0 +1 @@ |
||||
Remove connection ID for replication prometheus metrics, as it creates a large number of new series. |
@ -0,0 +1 @@ |
||||
Implement `event_format` filter param in `/sync` |
@ -0,0 +1 @@ |
||||
Make /sync slightly faster by avoiding needless copies |
@ -0,0 +1 @@ |
||||
guest users should not be part of mau total |
@ -0,0 +1 @@ |
||||
handlers/ is now ported to Python 3. |
@ -0,0 +1 @@ |
||||
Bump dependency on pyopenssl 16.x, to avoid incompatibility with recent Twisted. |
@ -0,0 +1 @@ |
||||
Limit the number of PDUs/EDUs per federation transaction |
@ -0,0 +1 @@ |
||||
Only start postgres instance for postgres tests on Travis CI |
@ -0,0 +1 @@ |
||||
tests/ is now ported to Python 3. |
@ -0,0 +1 @@ |
||||
Fix existing room tags not coming down sync when joining a room |
@ -0,0 +1 @@ |
||||
crypto/ is now ported to Python 3. |
@ -0,0 +1 @@ |
||||
rest/ is now ported to Python 3. |
@ -0,0 +1 @@ |
||||
Fix jwt import check |
@ -0,0 +1 @@ |
||||
add some logging for the keyring queue |
@ -0,0 +1 @@ |
||||
speed up lazy loading by 2-3x |
@ -0,0 +1 @@ |
||||
Improved Dockerfile to remove build requirements after building reducing the image size. |
@ -0,0 +1 @@ |
||||
fix VOIP crashes under Python 3 (#3821) |
@ -0,0 +1 @@ |
||||
Disable lazy loading for incremental syncs for now |
@ -0,0 +1 @@ |
||||
Fix manhole so that it works with latest openssh clients |
@ -0,0 +1 @@ |
||||
Fix outbound requests occasionally wedging, which can result in federation breaking between servers. |
@ -0,0 +1 @@ |
||||
Add synapse_admin_mau:registered_reserved_users metric to expose number of real reaserved users |
@ -0,0 +1 @@ |
||||
federation/ is now ported to Python 3. |
@ -0,0 +1 @@ |
||||
Show heroes if room name/canonical alias has been deleted |
@ -0,0 +1 @@ |
||||
Log when we retry outbound requests |
@ -0,0 +1 @@ |
||||
Removed some excess logging messages. |
@ -0,0 +1 @@ |
||||
Speed up purge history for rooms that have been previously purged |
@ -0,0 +1 @@ |
||||
Refactor some HTTP timeout code. |
@ -0,0 +1 @@ |
||||
Fix running merged builds on CircleCI |
@ -0,0 +1 @@ |
||||
Fix handling of redacted events from federation |
@ -0,0 +1 @@ |
||||
Fix typo in replication stream exception. |
@ -0,0 +1 @@ |
||||
Add in flight real time metrics for Measure blocks |
@ -0,0 +1 @@ |
||||
Disable buffering and automatic retrying in treq requests to prevent timeouts. |
@ -0,0 +1,2 @@ |
||||
Remove documentation regarding installation on Cygwin, the use of WSL is |
||||
recommended instead. |
@ -0,0 +1 @@ |
||||
Mitigate outbound federation randomly becoming wedged |
@ -0,0 +1 @@ |
||||
mention jemalloc in the README |
@ -0,0 +1 @@ |
||||
Don't ratelimit autojoins |
@ -0,0 +1 @@ |
||||
Adding the ability to change MAX_UPLOAD_SIZE for the docker container variables. |
@ -0,0 +1 @@ |
||||
Remove unmaintained "nuke-room-from-db.sh" script |
@ -0,0 +1 @@ |
||||
Fix 500 error when deleting unknown room alias |
@ -0,0 +1 @@ |
||||
Fix some b'abcd' noise in logs and metrics |
@ -0,0 +1 @@ |
||||
Report "python_version" in the phone home stats |
@ -0,0 +1 @@ |
||||
Fix some b'abcd' noise in logs and metrics |
@ -0,0 +1 @@ |
||||
Fix typo in README, synaspse -> synapse |
@ -0,0 +1 @@ |
||||
When we join a room, always try the server we used for the alias lookup first, to avoid unresponsive and out-of-date servers. |
@ -0,0 +1 @@ |
||||
Increase the timeout when filling missing events in federation requests |
@ -0,0 +1 @@ |
||||
Improve logging of outbound federation requests |
@ -0,0 +1 @@ |
||||
Fix incorrect server-name indication for outgoing federation requests |
@ -0,0 +1 @@ |
||||
Improve logging of outbound federation requests |
@ -0,0 +1 @@ |
||||
Fix bug where things occaisonally were not being timed out correctly. |
@ -1,57 +0,0 @@ |
||||
#!/bin/bash |
||||
|
||||
## CAUTION: |
||||
## This script will remove (hopefully) all trace of the given room ID from |
||||
## your homeserver.db |
||||
|
||||
## Do not run it lightly. |
||||
|
||||
set -e |
||||
|
||||
if [ "$1" == "-h" ] || [ "$1" == "" ]; then |
||||
echo "Call with ROOM_ID as first option and then pipe it into the database. So for instance you might run" |
||||
echo " nuke-room-from-db.sh <room_id> | sqlite3 homeserver.db" |
||||
echo "or" |
||||
echo " nuke-room-from-db.sh <room_id> | psql --dbname=synapse" |
||||
exit |
||||
fi |
||||
|
||||
ROOMID="$1" |
||||
|
||||
cat <<EOF |
||||
DELETE FROM event_forward_extremities WHERE room_id = '$ROOMID'; |
||||
DELETE FROM event_backward_extremities WHERE room_id = '$ROOMID'; |
||||
DELETE FROM event_edges WHERE room_id = '$ROOMID'; |
||||
DELETE FROM room_depth WHERE room_id = '$ROOMID'; |
||||
DELETE FROM state_forward_extremities WHERE room_id = '$ROOMID'; |
||||
DELETE FROM events WHERE room_id = '$ROOMID'; |
||||
DELETE FROM event_json WHERE room_id = '$ROOMID'; |
||||
DELETE FROM state_events WHERE room_id = '$ROOMID'; |
||||
DELETE FROM current_state_events WHERE room_id = '$ROOMID'; |
||||
DELETE FROM room_memberships WHERE room_id = '$ROOMID'; |
||||
DELETE FROM feedback WHERE room_id = '$ROOMID'; |
||||
DELETE FROM topics WHERE room_id = '$ROOMID'; |
||||
DELETE FROM room_names WHERE room_id = '$ROOMID'; |
||||
DELETE FROM rooms WHERE room_id = '$ROOMID'; |
||||
DELETE FROM room_hosts WHERE room_id = '$ROOMID'; |
||||
DELETE FROM room_aliases WHERE room_id = '$ROOMID'; |
||||
DELETE FROM state_groups WHERE room_id = '$ROOMID'; |
||||
DELETE FROM state_groups_state WHERE room_id = '$ROOMID'; |
||||
DELETE FROM receipts_graph WHERE room_id = '$ROOMID'; |
||||
DELETE FROM receipts_linearized WHERE room_id = '$ROOMID'; |
||||
DELETE FROM event_search WHERE room_id = '$ROOMID'; |
||||
DELETE FROM guest_access WHERE room_id = '$ROOMID'; |
||||
DELETE FROM history_visibility WHERE room_id = '$ROOMID'; |
||||
DELETE FROM room_tags WHERE room_id = '$ROOMID'; |
||||
DELETE FROM room_tags_revisions WHERE room_id = '$ROOMID'; |
||||
DELETE FROM room_account_data WHERE room_id = '$ROOMID'; |
||||
DELETE FROM event_push_actions WHERE room_id = '$ROOMID'; |
||||
DELETE FROM local_invites WHERE room_id = '$ROOMID'; |
||||
DELETE FROM pusher_throttle WHERE room_id = '$ROOMID'; |
||||
DELETE FROM event_reports WHERE room_id = '$ROOMID'; |
||||
DELETE FROM public_room_list_stream WHERE room_id = '$ROOMID'; |
||||
DELETE FROM stream_ordering_to_exterm WHERE room_id = '$ROOMID'; |
||||
DELETE FROM event_auth WHERE room_id = '$ROOMID'; |
||||
DELETE FROM appservice_room_list WHERE room_id = '$ROOMID'; |
||||
VACUUM; |
||||
EOF |
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue