1
0

Commit Graph

  • 93937b2b31 Remove duplicate rows Erik Johnston 2015-04-10 18:47:03 +01:00
  • c5365dee56 Use case sensitive collations Erik Johnston 2015-04-10 18:46:33 +01:00
  • 4103b1c470 DROP indexes before recreating them Erik Johnston 2015-04-10 18:46:09 +01:00
  • 4d5b098626 Use LONGBLOB and TEXT for arbitary length rows Erik Johnston 2015-04-10 18:45:09 +01:00
  • 7ed2ec3061 Handle the fact that in sqlite binary data might be stored as unicode or bytes Erik Johnston 2015-04-10 13:41:54 +01:00
  • ce797ad373 Bump schema version Erik Johnston 2015-04-10 11:22:30 +01:00
  • 7e863c51e6 Use unsigned bigint Erik Johnston 2015-04-10 11:22:04 +01:00
  • 0f12772e32 SQLite wants INTEGER and not BIGINT for primary keys Erik Johnston 2015-04-10 11:16:09 +01:00
  • d5d4281647 Update full_schemas/16 to match delta files. Add delta/16 scripts Erik Johnston 2015-04-10 10:59:46 +01:00
  • cda4a6f93f Revert non-trivial changes to upgrade scripts Erik Johnston 2015-04-10 10:19:50 +01:00
  • e2722f58ee Fix schema again Erik Johnston 2015-04-10 10:16:29 +01:00
  • a1665c5094 Revert non-trivial schema changes and move them to a new schema version. Erik Johnston 2015-04-10 10:05:44 +01:00
  • 2ded344620 Remove unused import Erik Johnston 2015-04-09 13:46:06 +01:00
  • 9707acfc40 Remove spurious spaces Erik Johnston 2015-04-09 13:45:20 +01:00
  • 8bf285e082 Merge branch 'develop' of github.com:matrix-org/synapse into mysql Erik Johnston 2015-04-09 13:13:26 +01:00
  • cf59d68b17 Merge pull request #120 from matrix-org/bugs/SYN-339 Mark Haines 2015-04-09 11:45:13 +01:00
  • 1280a47fc6 Add comment Mark Haines 2015-04-09 11:42:21 +01:00
  • 23d285ad57 Unset the timer in the timeout callback so that we don't try to cancel it if it has been called Mark Haines 2015-04-09 11:41:50 +01:00
  • 8ad0f4912e Stream ordering and out of order insertions. Erik Johnston 2015-04-09 11:41:36 +01:00
  • 6f9dea7483 SYN-339: Cancel the notifier timeout when the notifier fires Mark Haines 2015-04-09 11:07:20 +01:00
  • 22d7a59306 Fix tests after commit 9a0579 Erik Johnston 2015-04-08 16:57:14 +01:00
  • 279a547a8b Use generic db exceptions rather than sqlite3 specific ones Erik Johnston 2015-04-08 16:53:48 +01:00
  • 83f5125d52 Merge pull request #114 from matrix-org/improve_get_event_cache Mark Haines 2015-04-08 16:50:27 +01:00
  • a43b40449b Merge branch 'develop' of github.com:matrix-org/synapse into mysql Erik Johnston 2015-04-08 16:46:56 +01:00
  • 9cef051ce2 Merge branch 'master' of github.com:matrix-org/synapse into develop Erik Johnston 2015-04-08 16:43:17 +01:00
  • 0575840866 Merge pull request #119 from matrix-org/hotfixes-v0.8.1-r3 v0.8.1-r3 Erik Johnston 2015-04-08 16:41:45 +01:00
  • 45131b2bca Bump version Erik Johnston 2015-04-08 16:35:12 +01:00
  • ccda401dbf SYN-338: Fix typo that caused the cache to throw an exception in some instances Erik Johnston 2015-04-08 16:34:23 +01:00
  • 5b89052d2f Merge pull request #118 from matrix-org/dont-wait-for-notify Erik Johnston 2015-04-08 14:12:36 +01:00
  • 3887350e47 Merge branch 'develop' of github.com:matrix-org/synapse into mysql Erik Johnston 2015-04-08 14:11:07 +01:00
  • 19234cc6c3 typo Erik Johnston 2015-04-08 14:10:06 +01:00
  • e8f1521605 Don't yield on notifying all listeners Erik Johnston 2015-04-08 14:08:30 +01:00
  • 605941ee26 Merge pull request #117 from matrix-org/notifier-leak Mark Haines 2015-04-08 14:02:37 +01:00
  • 5bc41fe9f8 Move comment into docstring Erik Johnston 2015-04-08 14:01:22 +01:00
  • 638be5a6b9 Factor out loops into '_discard_if_notified' Erik Johnston 2015-04-08 13:58:32 +01:00
  • 830d07db82 Also perform paranoia checks in 'on_new_user_event' Erik Johnston 2015-04-08 13:40:20 +01:00
  • 65f5e4e3e4 Add paranoia checks to make sure that we evict stale NotificationListeners when we are about to process them Erik Johnston 2015-04-08 13:31:06 +01:00
  • 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 Erik Johnston 2015-04-08 13:27:36 +01:00
  • c1b34af441 Move database timer logging to seperate logger Erik Johnston 2015-04-08 13:12:38 +01:00
  • 9a05795619 Retry transaction, not SQL query Erik Johnston 2015-04-08 13:11:28 +01:00
  • 24d8134ac1 Fix maria engine to correctly recognize deadlocks Erik Johnston 2015-04-08 13:10:54 +01:00
  • 7f911ef4e3 typo Matthew Hodgson 2015-04-08 10:55:04 +01:00
  • d5e7e6b9b6 Merge branch 'develop' of github.com:matrix-org/synapse into mysql Erik Johnston 2015-04-07 18:17:22 +01:00
  • 0775c62469 Fix --enable-registration flag to work if you don't give a value Erik Johnston 2015-04-07 18:16:23 +01:00
  • 38928c6609 Merge branch 'develop' of github.com:matrix-org/synapse into mysql Erik Johnston 2015-04-07 18:08:38 +01:00
  • a2a93a4fa7 Make demo script use --enable-registration Erik Johnston 2015-04-07 18:08:21 +01:00
  • 4fe95094d1 Merge branch 'develop' of github.com:matrix-org/synapse into mysql Erik Johnston 2015-04-07 18:05:39 +01:00
  • ae8ff92e05 Fix a bug which causes a send event level of 0 to not be honoured. Kegan Dougal 2015-04-07 15:48:20 +01:00
  • 49d6aa1394 Retry on deadlock Erik Johnston 2015-04-07 15:28:37 +01:00
  • 0bfa78b39b PEP8 Erik Johnston 2015-04-07 12:16:05 +01:00
  • 6bc9edd8b2 Fix prepare_sqlite3_database's convert_param_style Erik Johnston 2015-04-07 12:13:58 +01:00
  • 05a35d62b6 Bump database version Erik Johnston 2015-04-07 12:10:15 +01:00
  • 8574bf62dc Add index to presence table Erik Johnston 2015-04-07 12:09:36 +01:00
  • 0af5f5efaf Don't use multiple UNIQUE constraints; it will cause deadlocks Erik Johnston 2015-04-07 12:08:35 +01:00
  • c8d3f6486d Implement or_ignore flag on inserts Erik Johnston 2015-04-07 12:06:01 +01:00
  • 304111afd0 Don't use AUTOINCREMENT, use an in memory version Erik Johnston 2015-04-07 12:05:36 +01:00
  • d0e444a648 Explicitly name the __main__ module logger Erik Johnston 2015-04-07 12:04:02 +01:00
  • 65fd446b4d update leo's contribs a bit Matthew Hodgson 2015-04-03 11:48:08 -04:00
  • 364c7f92b4 potential contributing guide & author list for synapse Matthew Hodgson 2015-04-03 10:08:23 -04:00
  • 4eb6d66b45 Add app service auth back in to v2 register David Baker 2015-04-02 17:51:19 +01:00
  • 6b59650753 Throw sensible errors on not-json when allowing empty body David Baker 2015-04-02 17:45:16 +01:00
  • 41cd778d66 pep8 David Baker 2015-04-02 17:06:17 +01:00
  • 70a84f17f3 Add shared secret auth into register v2 and switch the script over. David Baker 2015-04-02 17:01:29 +01:00
  • 779f7b0f44 Fix unicode support Erik Johnston 2015-04-02 10:06:22 +01:00
  • ef1e019840 Appease pep8 Paul "LeoNerd" Evans 2015-04-01 19:17:38 +01:00
  • 5583e29513 Report process open filehandles in metrics Paul "LeoNerd" Evans 2015-04-01 19:04:55 +01:00
  • c5bf0343e8 Explain how I justified to myself making JsonResource not always send JSON. David Baker 2015-04-01 15:13:14 +01:00
  • e24c32e6f3 Fix SQLite support Erik Johnston 2015-04-01 15:09:51 +01:00
  • e9c908ebc0 Completely replace fallback auth for C/S V2: David Baker 2015-04-01 15:05:30 +01:00
  • 9236136f3a Make work in both Maria and SQLite. Fix tests Erik Johnston 2015-04-01 14:12:33 +01:00
  • 813e54bd5b Fix more AS sender ID thinkos. Kegan Dougal 2015-04-01 14:05:24 +01:00
  • 80a620a83a Merge pull request #116 from matrix-org/application-services-registration-script Kegsay 2015-04-01 13:51:15 +01:00
  • 9fa8bda099 Merge branch 'develop' into application-services-registration-script Kegan Dougal 2015-04-01 10:19:17 +01:00
  • f129ee1e18 Make docs a bit more true David Baker 2015-03-31 18:25:10 +01:00
  • 09cbff174a Fix thinko whereby events *for the AS specifically* were not passed on. Kegan Dougal 2015-03-31 16:43:49 +01:00
  • d18e7779ca Grammar and deduplication David Baker 2015-03-31 14:40:02 +01:00
  • 5e88a09a42 Add same user_id char checks as registration. Kegan Dougal 2015-03-31 14:00:25 +01:00
  • cf1fa59f4b Use a sender localpart instead of a user ID. Kegan Dougal 2015-03-31 13:48:03 +01:00
  • 3470cb36a8 Pyflakes Kegan Dougal 2015-03-31 13:03:31 +01:00
  • c217504949 Edit SQL schema to use string IDs not ints. Use token as ID. Update tests. Kegan Dougal 2015-03-31 12:07:56 +01:00
  • b59aa74556 Fix tests and missing returns on deferreds. Kegan Dougal 2015-03-31 11:35:45 +01:00
  • d33ae65efc Remove more reg/unreg methods. Read config not database for cache. Kegan Dougal 2015-03-31 11:00:00 +01:00
  • 9f642a93ec pep8 David Baker 2015-03-31 09:50:44 +01:00
  • e7887e37a8 Remove appservice REST servlets Kegan Dougal 2015-03-31 09:32:40 +01:00
  • af853a4cdb Add AppServiceConfig Kegan Dougal 2015-03-31 09:22:31 +01:00
  • 4891c4ff72 Update CAPTCHA_SETUP (it continues to ignore fallback, but I guess I should fix it so that doesn't need the key in two different places) David Baker 2015-03-30 18:27:42 +01:00
  • 46183cc69f Add original, unmodified CAPTCHA-SETUP from the webclient repo before modifying (captcha setup is now purely on the HS). David Baker 2015-03-30 18:18:19 +01:00
  • 59bf16eddc New registration for C/S API v2. Only ReCAPTCHA working currently. David Baker 2015-03-30 18:13:10 +01:00
  • 9a506a191a Add note in changelog about change in config option names Erik Johnston 2015-03-30 17:24:09 +01:00
  • 8675ea03de actually tell users /how/ to turn on registration Matthew Hodgson 2015-03-30 12:05:38 -04:00
  • 8366fde82f turn --disable-registration into --enable-registration, given the default is for registration to be disabled by default now. this is backwards incompatible by removing the old --disable-registration arg, but makes for a much more intuitive arg Matthew Hodgson 2015-03-30 12:01:09 -04:00
  • 3e420aebd8 Revert "Add another @cached wrapper, this time on get_presence_state()" Paul "LeoNerd" Evans 2015-03-27 16:16:58 +00:00
  • ff1fa0fbf8 Add another @cached wrapper, this time on get_presence_state() Paul "LeoNerd" Evans 2015-03-27 15:57:16 +00:00
  • abcd03af02 Merge pull request #115 from matrix-org/allow_registration_for_federation_demo Erik Johnston 2015-03-27 10:14:29 +00:00
  • 5116946ae9 Allow registration in the HSes federation demo manuroe 2015-03-27 11:10:52 +01:00
  • 6f4f7e4e22 pep8 David Baker 2015-03-26 14:12:06 +00:00
  • a32e876ef4 Delete pushers when changing password David Baker 2015-03-26 13:40:16 +00:00
  • a198894bf7 Appease pep8 Paul "LeoNerd" Evans 2015-03-26 11:53:58 +00:00
  • 5b999e206e Merge pull request #106 from matrix-org/application-services-txn-reliability Kegsay 2015-03-26 10:30:47 +00:00
  • 32206dde3f Fixes from PR comments Kegan Dougal 2015-03-26 10:11:52 +00:00