Commit Graph

3272 Commits (a971fa9d584b35c35b675b65ed86faed77b46cf7)
 

Author SHA1 Message Date
Erik Johnston a971fa9d58 Use try..finally in contextlib.contextmanager 10 years ago
Erik Johnston ded4128965 Use True for True rather than 1 10 years ago
Erik Johnston f9e12f79ca Add missing yield in storage func 10 years ago
Erik Johnston c756dfeb14 Correctly identify deadlocks 10 years ago
Erik Johnston 63677d1f47 Change port script to work with postgres 10 years ago
Erik Johnston 127fad17dd Add postgres database engine 10 years ago
Erik Johnston 5a95cd4442 Rename user_ips.user -> user_id 10 years ago
Erik Johnston 58d8339966 Add support for postgres instead of mysql. Change sql accourdingly. blob + varbinary -> bytea. No support for UNSIGNED or CREATE INDEX IF NOT EXISTS. 10 years ago
Erik Johnston 3c741682e5 Correctly increment the _next_id initially 10 years ago
Erik Johnston 86fc9b617c For backwards compat, make state_groups.id have a type of int, not varchar 10 years ago
Erik Johnston 90bcb86957 Support running porting script multiple times 10 years ago
Erik Johnston 1bede47843 Add beginnings of migration sqlite->maria db script 10 years ago
Erik Johnston 93937b2b31 Remove duplicate rows 10 years ago
Erik Johnston c5365dee56 Use case sensitive collations 10 years ago
Erik Johnston 4103b1c470 DROP indexes before recreating them 10 years ago
Erik Johnston 4d5b098626 Use LONGBLOB and TEXT for arbitary length rows 10 years ago
Erik Johnston 7ed2ec3061 Handle the fact that in sqlite binary data might be stored as unicode or bytes 10 years ago
Erik Johnston ce797ad373 Bump schema version 10 years ago
Erik Johnston 7e863c51e6 Use unsigned bigint 10 years ago
Erik Johnston 0f12772e32 SQLite wants INTEGER and not BIGINT for primary keys 10 years ago
Erik Johnston d5d4281647 Update full_schemas/16 to match delta files. Add delta/16 scripts 10 years ago
Erik Johnston cda4a6f93f Revert non-trivial changes to upgrade scripts 10 years ago
Erik Johnston e2722f58ee Fix schema again 10 years ago
Erik Johnston a1665c5094 Revert non-trivial schema changes and move them to a new schema version. 10 years ago
Erik Johnston 2ded344620 Remove unused import 10 years ago
Erik Johnston 9707acfc40 Remove spurious spaces 10 years ago
Erik Johnston 8bf285e082 Merge branch 'develop' of github.com:matrix-org/synapse into mysql 10 years ago
Mark Haines cf59d68b17 Merge pull request #120 from matrix-org/bugs/SYN-339 10 years ago
Mark Haines 1280a47fc6 Add comment 10 years ago
Mark Haines 23d285ad57 Unset the timer in the timeout callback so that we don't try to cancel it if it has been called 10 years ago
Erik Johnston 8ad0f4912e
Stream ordering and out of order insertions. 10 years ago
Mark Haines 6f9dea7483 SYN-339: Cancel the notifier timeout when the notifier fires 10 years ago
Erik Johnston 22d7a59306 Fix tests after commit 9a0579 10 years ago
Erik Johnston 279a547a8b Use generic db exceptions rather than sqlite3 specific ones 10 years ago
Mark Haines 83f5125d52 Merge pull request #114 from matrix-org/improve_get_event_cache 10 years ago
Erik Johnston a43b40449b Merge branch 'develop' of github.com:matrix-org/synapse into mysql 10 years ago
Erik Johnston 9cef051ce2 Merge branch 'master' of github.com:matrix-org/synapse into develop 10 years ago
Erik Johnston 0575840866 Merge pull request #119 from matrix-org/hotfixes-v0.8.1-r3 10 years ago
Erik Johnston 45131b2bca Bump version 10 years ago
Erik Johnston ccda401dbf SYN-338: Fix typo that caused the cache to throw an exception in some instances 10 years ago
Erik Johnston 5b89052d2f Merge pull request #118 from matrix-org/dont-wait-for-notify 10 years ago
Erik Johnston 3887350e47 Merge branch 'develop' of github.com:matrix-org/synapse into mysql 10 years ago
Erik Johnston 19234cc6c3 typo 10 years ago
Erik Johnston e8f1521605 Don't yield on notifying all listeners 10 years ago
Mark Haines 605941ee26 Merge pull request #117 from matrix-org/notifier-leak 10 years ago
Erik Johnston 5bc41fe9f8 Move comment into docstring 10 years ago
Erik Johnston 638be5a6b9 Factor out loops into '_discard_if_notified' 10 years ago
Erik Johnston 830d07db82 Also perform paranoia checks in 'on_new_user_event' 10 years ago
Erik Johnston 65f5e4e3e4 Add paranoia checks to make sure that we evict stale NotificationListeners when we are about to process them 10 years ago
Erik Johnston 07d4041709 Fix bug where we didn't inform the NotificataionListeners about new rooms they have been subscribed to. This meant that the listeners didn't clean themselves up fully from all the dicts 10 years ago