Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge pull request #6464 from matrix-org/erikj/make_public_sql_base | Erik Johnston | 2019-12-05 | 1 | -9/+9 |
|\ | | | | | Clean up SQLBaseStore private function usage | ||||
| * | Remove underscore from SQLBaseStore functions | Erik Johnston | 2019-12-04 | 1 | -9/+9 |
| | | |||||
* | | Fix background updates for synapse_port_db | Brendan Abolivier | 2019-12-04 | 1 | -0/+2 |
| | | |||||
* | | Make synapse_port_db exit with a non-0 code if something failed | Brendan Abolivier | 2019-12-04 | 1 | -0/+1 |
|/ | |||||
* | Fix error when using synapse_port_db on a vanilla synapse db | Andrew Morgan | 2019-12-02 | 1 | -1/+4 |
| | |||||
* | Remove usage of deprecated logger.warn method from codebase (#6271) | Andrew Morgan | 2019-10-31 | 2 | -4/+4 |
| | | | Replace every instance of `logger.warn` with `logger.warning` as the former is deprecated. | ||||
* | Merge pull request #6247 from matrix-org/babolivier/port_db_column | Brendan Abolivier | 2019-10-24 | 1 | -0/+1 |
|\ | | | | | Add new boolean column to synapse_port_db | ||||
| * | Add new boolean column to synapse_port_db | Brendan Abolivier | 2019-10-24 | 1 | -0/+1 |
| | | |||||
* | | Fix up changelog v1.5.0rc1 | Andrew Morgan | 2019-10-24 | 1 | -7/+9 |
|/ | |||||
* | Fix import paths in synapse_port_db | Brendan Abolivier | 2019-10-23 | 1 | -11/+19 |
| | |||||
* | Make synapse_port_db correctly create indexes (#6102) | Brendan Abolivier | 2019-10-23 | 1 | -52/+130 |
| | | | | | | | Make `synapse_port_db` correctly create indexes in the PostgreSQL database, by having it run the background updates on the database before migrating the data. To ensure we're migrating the right data, also block the port if the SQLite3 database still has pending or ongoing background updates. Fixes #4877 | ||||
* | Add missing BOOLEAN_COLUMNs to synapse_port_db (#6216) | Bart Noordervliet | 2019-10-18 | 1 | -0/+2 |
| | | | | Small fix to synapse_port_db to be able to convert from database schema v56. | ||||
* | Update the TLS cipher string and provide configurability for TLS on outgoing ↵ | Amber Brown | 2019-06-28 | 1 | -1/+1 |
| | | | | federation (#5550) | ||||
* | Run Black. (#5482) | Amber Brown | 2019-06-20 | 2 | -6/+6 |
| | |||||
* | Expose statistics on extrems to prometheus (#5384) | Amber Brown | 2019-06-13 | 1 | -1/+1 |
| | |||||
* | Merge pull request #5325 from matrix-org/babolivier/port_db_account_validity | Brendan Abolivier | 2019-06-10 | 1 | -0/+1 |
|\ | | | | | Add account_validity's email_sent column to the list of boolean columns in synapse_port_db | ||||
| * | Add account_validity's email_sent column to the list of boolean columns in ↵ | Brendan Abolivier | 2019-06-03 | 1 | -0/+1 |
| | | | | | | | | | | | | synapse_port_db Fixes #5306 | ||||
* | | add a script to generate new signing_key files | Richard van der Hoff | 2019-06-05 | 1 | -0/+37 |
|/ | |||||
* | drop tables listed in #1830 (#4992) | Neil Johnson | 2019-04-08 | 1 | -5/+0 |
| | | | | | | | | | | | | | | | Tables dropped: * application_services, * application_services_regex, * transaction_id_to_pdu, * stats_reporting * current_state_resets * event_content_hashes * event_destinations * event_edge_hashes * event_signatures * feedback * room_hosts * state_forward_extremities | ||||
* | Fix issue #4596 | Anders | 2019-04-03 | 1 | -1/+1 |
| | | | | | Make synapse_port_db --curses work with Python 3. Signed-off-by: Anders Jensen-Waud <anders@jensenwaud.com> | ||||
* | Include a default configuration file in the 'docs' directory. (#4791) | Richard van der Hoff | 2019-03-04 | 1 | -0/+11 |
| | |||||
* | Consider e2e_room_keys.is_verified column as boolean | Eric | 2019-02-20 | 1 | -0/+1 |
| | | | | | | | This column was considered as an int, crashing the whole migration process Signed-off-by: Eric <eric@pedr0.net> | ||||
* | Add a script to generate a clean config file (#4315) | Richard van der Hoff | 2018-12-22 | 1 | -0/+67 |
| | |||||
* | Port hash_password to Python 3 (#4161) | Amber Brown | 2018-11-08 | 1 | -7/+34 |
| | | | | | | * port hash_password * changelog | ||||
* | Port register_new_matrix_user to Python 3 and add tests (#4085) | Amber Brown | 2018-10-26 | 1 | -202/+2 |
| | |||||
* | Fix a number of flake8 errors | Richard van der Hoff | 2018-10-24 | 1 | -1/+2 |
| | | | | | | | | | | | | Broadly three things here: * disable W504 which seems a bit whacko * remove a bunch of `as e` expressions from exception handlers that don't use them * use `r""` for strings which include backslashes Also, we don't use pep8 any more, so we can get rid of the duplicate config there. | ||||
* | Make scripts/ and scripts-dev/ pass pyflakes (and the rest of the codebase ↵ | Amber Brown | 2018-10-20 | 4 | -210/+179 |
| | | | | on py3) (#4068) | ||||
* | add --no-admin flag to registration script (#3836) | Bruno Windels | 2018-09-28 | 1 | -4/+14 |
| | |||||
* | Admin API for creating new users (#3415) | Amber Brown | 2018-07-20 | 1 | -3/+29 |
| | |||||
* | Replace some type checks with six type checks | Adrian Tschira | 2018-04-07 | 1 | -1/+3 |
| | | | | Signed-off-by: Adrian Tschira <nota@notafile.com> | ||||
* | Port script: Set up state_group_id_seq | Richard van der Hoff | 2018-04-06 | 1 | -0/+13 |
| | | | | Fixes https://github.com/matrix-org/synapse/issues/3050. | ||||
* | Port script: clean up a bit | Richard van der Hoff | 2018-04-06 | 1 | -25/+29 |
| | | | | | Improve logging and comments. Group all the stuff to do with inspecting tables together rather than creating the port tables in the middle. | ||||
* | Port script: avoid nasty errors when setting up | Richard van der Hoff | 2018-04-06 | 1 | -8/+6 |
| | | | | We really shouldn't spit out "Failed to create port table", it looks scary. | ||||
* | Script to move remote media to another media store | Richard van der Hoff | 2018-01-31 | 1 | -0/+133 |
| | |||||
* | sanity checks | Matthew Hodgson | 2017-11-21 | 1 | -1/+4 |
| | |||||
* | don't double-invite in sync_room_to_group.pl | Matthew Hodgson | 2017-11-19 | 1 | -3/+6 |
| | |||||
* | quick and dirty room membership<->group membership sync script | Matthew Hodgson | 2017-11-17 | 1 | -0/+39 |
| | |||||
* | Less s's | Erik Johnston | 2017-11-14 | 1 | -2/+2 |
| | |||||
* | Add new boolean columns to port script | Erik Johnston | 2017-11-14 | 1 | -0/+7 |
| | |||||
* | Make the port script drop NUL values in all tables | David Baker | 2017-10-31 | 1 | -7/+19 |
| | | | | | | Postgres doesn't support NULs in strings so it makes the script throw an exception and stop if any values contain \0. Drop them with appropriate warning. | ||||
* | Add groups table to BOOLEAN_COLUMNS in synapse_port_db | Luke Barnard | 2017-10-26 | 1 | -0/+1 |
| | |||||
* | Fix port script | Erik Johnston | 2017-10-26 | 1 | -0/+1 |
| | | | | | | | We changed _simple_update_one_txn to use _simple_update_txn but didn't yank it out in the port script. Fixes #2565 | ||||
* | Drop search values with nul characters | Richard van der Hoff | 2017-10-02 | 1 | -4/+7 |
| | | | | | | https://github.com/matrix-org/synapse/issues/2187 contains a report of a port failing due to nul characters somewhere in the search table. Let's try dropping the offending rows. | ||||
* | Extend comment | Erik Johnston | 2017-07-20 | 1 | -1/+2 |
| | |||||
* | Fix port script for user directory tables | Erik Johnston | 2017-07-20 | 1 | -0/+18 |
| | |||||
* | add missing boolean to synapse_port_db | Matthew | 2017-06-16 | 1 | -0/+1 |
| | |||||
* | fix synapse_port script | Matthew | 2017-06-16 | 1 | -1/+1 |
| | |||||
* | Don't assume postgres tables are in the public schema during db port | John Kristensen | 2017-03-17 | 1 | -3/+1 |
| | | | | | | | When fetching the list of tables from the postgres database during the db port, it is assumed that the tables are in the public schema. This is not always the case, so lets just rely on postgres to determine the default schema to use. | ||||
* | Fix typo | Kevin Liu | 2017-02-11 | 1 | -1/+1 |
| | | | This is what I get for not proofreading | ||||
* | Fix synapse_port_db failure (fixes #1902) | Kevin Liu | 2017-02-11 | 1 | -0/+1 |
| | | | | | See https://matrix.to/#/!cURbafjkfsMDVwdRDQ:matrix.org/$148686272020hCgRD:potatofrom.space Signed-off-by: Kevin Liu <kevin@potatofrom.space> | ||||
* | Update port script with recently added tables | Erik Johnston | 2016-09-27 | 1 | -0/+9 |
| | | | | | | This also fixes a bug where the port script would explode when it encountered the newly added boolean column `public_room_list_stream.visibility` | ||||
* | Allow upgrading from old port_from_sqlite3 format | Erik Johnston | 2016-08-04 | 1 | -0/+21 |
| | |||||
* | Handle the fact that some tables have negative rowid rows | Erik Johnston | 2016-08-04 | 1 | -43/+111 |
| | |||||
* | Merge pull request #909 from matrix-org/erikj/shared_secret | Erik Johnston | 2016-07-06 | 1 | -6/+26 |
|\ | | | | | Add an admin option to shared secret registration (breaks backwards compat) | ||||
| * | Add null separator to hmac | Erik Johnston | 2016-07-06 | 1 | -0/+2 |
| | | |||||
| * | Add an admin option to shared secret registration | Erik Johnston | 2016-07-05 | 1 | -3/+16 |
| | | |||||
| * | Protect password when registering using shared secret | Erik Johnston | 2016-07-05 | 1 | -3/+8 |
| | | |||||
* | | Update hash_password script | Kent Shikama | 2016-07-06 | 1 | -1/+17 |
|/ | | | | Signed-off-by: Kent Shikama <kent@kentshikama.com> | ||||
* | Update port script | Erik Johnston | 2016-04-22 | 1 | -42/+81 |
| | |||||
* | Don't require config to create database | Erik Johnston | 2016-04-06 | 1 | -8/+5 |
| | |||||
* | Password reset docs and script | Richard van der Hoff | 2016-03-16 | 2 | -1/+39 |
| | | | | | Replace the bash/perl gen_password script with a python one, and write a note on how to use it. | ||||
* | Mark AS users with their AS's ID | Daniel Wagner-Hall | 2016-02-11 | 1 | -2/+7 |
| | |||||
* | copyrights | Matthew Hodgson | 2016-01-07 | 2 | -2/+2 |
| | |||||
* | throwaway 1-liner for generating password hashes | Matthew Hodgson | 2015-12-10 | 1 | -0/+1 |
| | |||||
* | Spelling | Erik Johnston | 2015-11-19 | 1 | -1/+1 |
| | |||||
* | Fix database port script to work with new event_search table | Erik Johnston | 2015-11-18 | 1 | -11/+44 |
| | |||||
* | Remove unused _execute_and_decode from scripts/synapse_port_db | Mark Haines | 2015-09-23 | 1 | -2/+0 |
| | |||||
* | Merge branch 'master' into develop | Mark Haines | 2015-09-07 | 1 | -6/+9 |
|\ | | | | | | | | | Conflicts: setup.py | ||||
| * | Make port script handle empty sent_transactions table | Erik Johnston | 2015-09-02 | 1 | -6/+9 |
| | | |||||
* | | update logger to match new ambiguous script name... | Matthew Hodgson | 2015-09-03 | 1 | -1/+1 |
|/ | |||||
* | Clean up scripts/ | Erik Johnston | 2015-08-27 | 4 | -373/+0 |
| | |||||
* | Revert register_new_matrix_user to use v1 api | Erik Johnston | 2015-05-22 | 1 | -2/+3 |
| | |||||
* | Support reading directly from a config | Erik Johnston | 2015-05-08 | 1 | -0/+3 |
| | |||||
* | Fix port_from_sqlite_to_postgres after changes to storage layer. | Erik Johnston | 2015-05-08 | 1 | -4/+2 |
| | |||||
* | Re-add scripts/register_new_matrix_user | Erik Johnston | 2015-05-06 | 1 | -0/+153 |
| | |||||
* | Seperate scripts/ into scripts/ and scripts-dev/, where scripts/* are ↵ | Erik Johnston | 2015-05-06 | 13 | -550/+2 |
| | | | | automatically added to the package | ||||
* | Check that postgres database has correct charset set | Erik Johnston | 2015-04-29 | 1 | -0/+4 |
| | |||||
* | Add better help to scripts/port_from_sqlite_to_postgres.py | Erik Johnston | 2015-04-28 | 1 | -5/+27 |
| | |||||
* | Quickly fix dodgy est. time remaining | Erik Johnston | 2015-04-28 | 1 | -7/+14 |
| | |||||
* | Correctly handle total/remaining counts in the presence of ↵ | Erik Johnston | 2015-04-28 | 1 | -1/+1 |
| | | | | sent_transasctions table | ||||
* | Correctly handle total/remaining counts in the presence of ↵ | Erik Johnston | 2015-04-28 | 1 | -123/+167 |
| | | | | sent_transasctions table | ||||
* | Remove accidentally committed debug hardcode hack | Erik Johnston | 2015-04-28 | 1 | -1/+2 |
| | |||||
* | Typo in port script | Erik Johnston | 2015-04-28 | 1 | -1/+1 |
| | |||||
* | Split setuping up and processing of tables | Erik Johnston | 2015-04-27 | 1 | -8/+23 |
| | |||||
* | Shuffle progress stuff | Erik Johnston | 2015-04-27 | 1 | -201/+174 |
| | |||||
* | Don't port over all of the sent_transactions table | Erik Johnston | 2015-04-27 | 1 | -38/+120 |
| | |||||
* | PEP8 | Erik Johnston | 2015-04-17 | 1 | -2/+1 |
| | |||||
* | Fix port script after storage changes. Add very simple (off by default) ↵ | Erik Johnston | 2015-04-17 | 1 | -171/+409 |
| | | | | curses UI to see progress. | ||||
* | Remove mysql/maria support | Erik Johnston | 2015-04-15 | 1 | -34/+24 |
| | |||||
* | Change port script to work with postgres | Erik Johnston | 2015-04-15 | 1 | -47/+67 |
| | |||||
* | Support running porting script multiple times | Erik Johnston | 2015-04-13 | 1 | -8/+100 |
| | |||||
* | Add beginnings of migration sqlite->maria db script | Erik Johnston | 2015-04-10 | 1 | -0/+271 |
| | |||||
* | SYN-67: Finish up implementing new database schema management | Erik Johnston | 2015-03-04 | 1 | -54/+0 |
| | |||||
* | Run deltas and bump user_version in upgrade script | Kegan Dougal | 2015-03-02 | 1 | -5/+23 |
| | |||||
* | Add upgrade script | Kegan Dougal | 2015-03-02 | 1 | -0/+36 |
| | |||||
* | Correctly handle all the places that can throw exceptions | Erik Johnston | 2015-02-12 | 1 | -2/+5 |
| | |||||
* | add some options and doc | Matthew Hodgson | 2015-02-07 | 1 | -5/+20 |
| | |||||
* | create identicons for new users by default as default avatars, and provide ↵ | Matthew Hodgson | 2015-02-07 | 1 | -0/+24 |
| | | | | script to update existing avatarless users | ||||
* | Print out the auth events on failure | Erik Johnston | 2015-02-05 | 1 | -1/+1 |
| | |||||
* | Add script to check and auth chain and current state of a room | Erik Johnston | 2015-02-04 | 1 | -0/+65 |
| | |||||
* | Move scripts into scripts | Mark Haines | 2015-01-22 | 5 | -0/+83 |
| | |||||
* | Add copyrighter script for sql | Mark Haines | 2015-01-12 | 1 | -0/+33 |
| | |||||
* | Update copyright notices | Mark Haines | 2015-01-06 | 1 | -1/+1 |
| | |||||
* | Change upgrade script to not check hashes or signatures | Erik Johnston | 2014-12-16 | 1 | -46/+53 |
| | |||||
* | Fix upgrade script to run all the missing deltas. | Erik Johnston | 2014-12-16 | 1 | -0/+20 |
| | |||||
* | Bump UPGRADES and CHANGES | Erik Johnston | 2014-12-16 | 1 | -0/+2 |
| | |||||
* | Fix bugs in upgrade script. | Erik Johnston | 2014-12-16 | 1 | -1/+5 |
| | | | | | Handle the case when there are colons in server_name. Handle http exceptions more gracefully. | ||||
* | Rename upgrade script | Erik Johnston | 2014-12-16 | 1 | -0/+0 |
| | |||||
* | Include database bump in upgrade script | Erik Johnston | 2014-12-16 | 1 | -0/+2 |
| | |||||
* | Merge pull request #25 from matrix-org/events_refactor | Mark Haines | 2014-12-16 | 2 | -0/+299 |
|\ | | | | | Event refactor | ||||
| * | Update upgrade script | Erik Johnston | 2014-12-16 | 1 | -2/+11 |
| | | |||||
| * | Finish up upgrade script | Erik Johnston | 2014-12-15 | 1 | -30/+94 |
| | | |||||
| * | Add beginnings of upgrade script | Erik Johnston | 2014-12-15 | 1 | -0/+223 |
| | | |||||
| * | Fix bug where we ignored event_edge_hashes table | Erik Johnston | 2014-12-15 | 1 | -0/+3 |
| | | |||||
* | | Add a script for talking matrix federation adding X-Matrix Authorization | Mark Haines | 2014-12-15 | 1 | -0/+143 |
|/ | | | | headers. | ||||
* | Use correct default port in scripts/check_signature.py | Erik Johnston | 2014-11-26 | 1 | -1/+1 |
| | |||||
* | Fix bugs in generating event signatures and hashing | Erik Johnston | 2014-11-03 | 2 | -5/+8 |
| | |||||
* | Script for checking event hashes | Mark Haines | 2014-11-03 | 1 | -0/+43 |
| | |||||
* | handle server names with embeded ports | Mark Haines | 2014-11-03 | 1 | -0/+4 |
| | |||||
* | script for checking signatures on signed json | Mark Haines | 2014-11-03 | 1 | -0/+70 |
| | |||||
* | Add script to hash exisitng history | Mark Haines | 2014-10-17 | 1 | -0/+69 |
| | |||||
* | move gendoc into matrix-doc project | Matthew Hodgson | 2014-10-17 | 3 | -794/+0 |
| | |||||
* | target live site | Matthew Hodgson | 2014-09-04 | 1 | -2/+2 |
| | |||||
* | fix the copyright holder from matrix.org to OpenMarket Ltd, as matrix.org ↵ | Matthew Hodgson | 2014-09-03 | 2 | -3/+5 |
| | | | | hasn't been incorporated in time for launch. | ||||
* | doc generator | Matthew Hodgson | 2014-09-03 | 3 | -0/+792 |
| | |||||
* | add in copyrights to everything, not just the synapse subdir, and add a ↵ | Matthew Hodgson | 2014-08-13 | 1 | -0/+33 |
copyrighter.pl whilst we're at it |