summary refs log tree commit diff
path: root/scripts (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fix port scriptErik Johnston2017-10-261-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 charactersRichard van der Hoff2017-10-021-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 commentErik Johnston2017-07-201-1/+2
|
* Fix port script for user directory tablesErik Johnston2017-07-201-0/+18
|
* add missing boolean to synapse_port_dbMatthew2017-06-161-0/+1
|
* fix synapse_port scriptMatthew2017-06-161-1/+1
|
* Don't assume postgres tables are in the public schema during db portJohn Kristensen2017-03-171-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 typoKevin Liu2017-02-111-1/+1
| | | This is what I get for not proofreading
* Fix synapse_port_db failure (fixes #1902)Kevin Liu2017-02-111-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 tablesErik Johnston2016-09-271-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 formatErik Johnston2016-08-041-0/+21
|
* Handle the fact that some tables have negative rowid rowsErik Johnston2016-08-041-43/+111
|
* Merge pull request #909 from matrix-org/erikj/shared_secretErik Johnston2016-07-061-6/+26
|\ | | | | Add an admin option to shared secret registration (breaks backwards compat)
| * Add null separator to hmacErik Johnston2016-07-061-0/+2
| |
| * Add an admin option to shared secret registrationErik Johnston2016-07-051-3/+16
| |
| * Protect password when registering using shared secretErik Johnston2016-07-051-3/+8
| |
* | Update hash_password scriptKent Shikama2016-07-061-1/+17
|/ | | | Signed-off-by: Kent Shikama <kent@kentshikama.com>
* Update port scriptErik Johnston2016-04-221-42/+81
|
* Don't require config to create databaseErik Johnston2016-04-061-8/+5
|
* Password reset docs and scriptRichard van der Hoff2016-03-162-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 IDDaniel Wagner-Hall2016-02-111-2/+7
|
* copyrightsMatthew Hodgson2016-01-072-2/+2
|
* throwaway 1-liner for generating password hashesMatthew Hodgson2015-12-101-0/+1
|
* SpellingErik Johnston2015-11-191-1/+1
|
* Fix database port script to work with new event_search tableErik Johnston2015-11-181-11/+44
|
* Remove unused _execute_and_decode from scripts/synapse_port_dbMark Haines2015-09-231-2/+0
|
* Merge branch 'master' into developMark Haines2015-09-071-6/+9
|\ | | | | | | | | Conflicts: setup.py
| * Make port script handle empty sent_transactions tableErik Johnston2015-09-021-6/+9
| |
* | update logger to match new ambiguous script name...Matthew Hodgson2015-09-031-1/+1
|/
* Clean up scripts/Erik Johnston2015-08-274-373/+0
|
* Revert register_new_matrix_user to use v1 apiErik Johnston2015-05-221-2/+3
|
* Support reading directly from a configErik Johnston2015-05-081-0/+3
|
* Fix port_from_sqlite_to_postgres after changes to storage layer.Erik Johnston2015-05-081-4/+2
|
* Re-add scripts/register_new_matrix_userErik Johnston2015-05-061-0/+153
|
* Seperate scripts/ into scripts/ and scripts-dev/, where scripts/* are ↵Erik Johnston2015-05-0613-550/+2
| | | | automatically added to the package
* Check that postgres database has correct charset setErik Johnston2015-04-291-0/+4
|
* Add better help to scripts/port_from_sqlite_to_postgres.pyErik Johnston2015-04-281-5/+27
|
* Quickly fix dodgy est. time remainingErik Johnston2015-04-281-7/+14
|
* Correctly handle total/remaining counts in the presence of ↵Erik Johnston2015-04-281-1/+1
| | | | sent_transasctions table
* Correctly handle total/remaining counts in the presence of ↵Erik Johnston2015-04-281-123/+167
| | | | sent_transasctions table
* Remove accidentally committed debug hardcode hackErik Johnston2015-04-281-1/+2
|
* Typo in port scriptErik Johnston2015-04-281-1/+1
|
* Split setuping up and processing of tablesErik Johnston2015-04-271-8/+23
|
* Shuffle progress stuffErik Johnston2015-04-271-201/+174
|
* Don't port over all of the sent_transactions tableErik Johnston2015-04-271-38/+120
|
* PEP8Erik Johnston2015-04-171-2/+1
|
* Fix port script after storage changes. Add very simple (off by default) ↵Erik Johnston2015-04-171-171/+409
| | | | curses UI to see progress.
* Remove mysql/maria supportErik Johnston2015-04-151-34/+24
|
* Change port script to work with postgresErik Johnston2015-04-151-47/+67
|
* Support running porting script multiple timesErik Johnston2015-04-131-8/+100
|
* Add beginnings of migration sqlite->maria db scriptErik Johnston2015-04-101-0/+271
|
* SYN-67: Finish up implementing new database schema managementErik Johnston2015-03-041-54/+0
|
* Run deltas and bump user_version in upgrade scriptKegan Dougal2015-03-021-5/+23
|
* Add upgrade scriptKegan Dougal2015-03-021-0/+36
|
* Correctly handle all the places that can throw exceptionsErik Johnston2015-02-121-2/+5
|
* add some options and docMatthew Hodgson2015-02-071-5/+20
|
* create identicons for new users by default as default avatars, and provide ↵Matthew Hodgson2015-02-071-0/+24
| | | | script to update existing avatarless users
* Print out the auth events on failureErik Johnston2015-02-051-1/+1
|
* Add script to check and auth chain and current state of a roomErik Johnston2015-02-041-0/+65
|
* Move scripts into scriptsMark Haines2015-01-225-0/+83
|
* Add copyrighter script for sqlMark Haines2015-01-121-0/+33
|
* Update copyright noticesMark Haines2015-01-061-1/+1
|
* Change upgrade script to not check hashes or signaturesErik Johnston2014-12-161-46/+53
|
* Fix upgrade script to run all the missing deltas.Erik Johnston2014-12-161-0/+20
|
* Bump UPGRADES and CHANGESErik Johnston2014-12-161-0/+2
|
* Fix bugs in upgrade script.Erik Johnston2014-12-161-1/+5
| | | | | Handle the case when there are colons in server_name. Handle http exceptions more gracefully.
* Rename upgrade scriptErik Johnston2014-12-161-0/+0
|
* Include database bump in upgrade scriptErik Johnston2014-12-161-0/+2
|
* Merge pull request #25 from matrix-org/events_refactorMark Haines2014-12-162-0/+299
|\ | | | | Event refactor
| * Update upgrade scriptErik Johnston2014-12-161-2/+11
| |
| * Finish up upgrade scriptErik Johnston2014-12-151-30/+94
| |
| * Add beginnings of upgrade scriptErik Johnston2014-12-151-0/+223
| |
| * Fix bug where we ignored event_edge_hashes tableErik Johnston2014-12-151-0/+3
| |
* | Add a script for talking matrix federation adding X-Matrix AuthorizationMark Haines2014-12-151-0/+143
|/ | | | headers.
* Use correct default port in scripts/check_signature.pyErik Johnston2014-11-261-1/+1
|
* Fix bugs in generating event signatures and hashingErik Johnston2014-11-032-5/+8
|
* Script for checking event hashesMark Haines2014-11-031-0/+43
|
* handle server names with embeded portsMark Haines2014-11-031-0/+4
|
* script for checking signatures on signed jsonMark Haines2014-11-031-0/+70
|
* Add script to hash exisitng historyMark Haines2014-10-171-0/+69
|
* move gendoc into matrix-doc projectMatthew Hodgson2014-10-173-794/+0
|
* target live siteMatthew Hodgson2014-09-041-2/+2
|
* fix the copyright holder from matrix.org to OpenMarket Ltd, as matrix.org ↵Matthew Hodgson2014-09-032-3/+5
| | | | hasn't been incorporated in time for launch.
* doc generatorMatthew Hodgson2014-09-033-0/+792
|
* add in copyrights to everything, not just the synapse subdir, and add a ↵Matthew Hodgson2014-08-131-0/+33
copyrighter.pl whilst we're at it