Commit graph

  • ea1e8397fc Thread safety on transaction ID/count Neil Alexander 2020-07-01 11:19:48 +0100
  • d6c94064af Fix race in incomplete transactions Neil Alexander 2020-07-01 11:14:52 +0100
  • cfbdff3c32 well this is tedious Neil Alexander 2020-07-01 10:54:37 +0100
  • 9ef7147772 Try to limit wakeups Neil Alexander 2020-07-01 10:48:57 +0100
  • 4cc1eaac5a Don't stop when there is work to be done Neil Alexander 2020-07-01 10:41:25 +0100
  • a9aa3c263b Count PDUs to make more resilient Neil Alexander 2020-07-01 10:32:49 +0100
  • ead6ee69c3 Reduce unnecessary retries Neil Alexander 2020-07-01 10:25:35 +0100
  • c4571c9cdd Don't send empty transactions Neil Alexander 2020-07-01 10:19:29 +0100
  • cef07c4e4e Clean up transaction properly Neil Alexander 2020-07-01 10:16:42 +0100
  • 3419a7450b Shuffle things around a bit Neil Alexander 2020-07-01 10:12:14 +0100
  • eaa7a679ac Review comments Neil Alexander 2020-07-01 09:48:48 +0100
  • d823ee478b Fix pq query Kegan Dougal 2020-06-30 17:56:11 +0100
  • 861ab9fb76 Replace publicroomsapi with a combination of clientapi/roomserver/currentstateserver Kegan Dougal 2020-06-30 17:36:58 +0100
  • b41308bd51 remove unused types Neil Alexander 2020-06-30 16:16:53 +0100
  • 18245f224a Fix SQLite Neil Alexander 2020-06-30 16:14:57 +0100
  • c8ee57ba07 Rehydrate more opportunistically Neil Alexander 2020-06-30 15:43:15 +0100
  • b4bbefd523 Clean up Neil Alexander 2020-06-30 15:36:42 +0100
  • 61ff558fef Fix query, use transactions in postgres Neil Alexander 2020-06-30 15:11:51 +0100
  • ebaa0cf5d4 Debug logging Neil Alexander 2020-06-30 15:05:08 +0100
  • 6bc65983b0 Fix build Kegan Dougal 2020-06-30 15:04:34 +0100
  • bab00192c2 Try to tidy up JSON Neil Alexander 2020-06-30 14:48:13 +0100
  • 51dba37d7a Don't block if there are PDUs waiting Neil Alexander 2020-06-30 14:32:05 +0100
  • 5082179ce3 Don't error on now rows Neil Alexander 2020-06-30 14:19:49 +0100
  • 2caaaf7a68 Marshal headered event Neil Alexander 2020-06-30 14:14:38 +0100
  • f31be26df4 Use functions Neil Alexander 2020-06-30 14:12:38 +0100
  • a6aaa5aa52 Use RETURNING because LastInsertID is not supported by postgres Neil Alexander 2020-06-30 14:10:24 +0100
  • b53aac0084 Use content_value instead of membership Kegan Dougal 2020-06-30 14:09:50 +0100
  • 693928396d Merge branch 'master' into neilalexander/persistentqueues Neil Alexander 2020-06-30 14:05:09 +0100
  • 56e3d51fa4 Fix table name Neil Alexander 2020-06-30 13:35:11 +0100
  • 6f49758b90
    Remove membership table from account DB (#1172) Kegsay 2020-06-30 13:34:59 +0100
  • 4f206eb478 Fix index Neil Alexander 2020-06-30 13:34:29 +0100
  • 0ac6c802fb Fix table name Neil Alexander 2020-06-30 13:33:41 +0100
  • 2c3540d82b Duplicate postgres code into sqlite for now just to stop build errors, will fix SQLite soon Neil Alexander 2020-06-30 13:31:56 +0100
  • 339ea3d711 Put things into database (postgres for now) Neil Alexander 2020-06-30 13:27:49 +0100
  • 0654697ef3 Unbreak tests; use a membership enum for space Kegan Dougal 2020-06-30 12:04:22 +0100
  • 8a5f32254e Remove membership table from account DB Kegan Dougal 2020-06-30 11:37:26 +0100
  • ca5bbffd8d
    Add a new component: currentstateserver (#1171) Kegsay 2020-06-30 10:37:21 +0100
  • 3a18b7fc78 Update awsy list Kegan Dougal 2020-06-30 10:26:26 +0100
  • ebec012390 comments Kegan Dougal 2020-06-30 09:55:39 +0100
  • 27d54866f8 Add current_state to sample config Kegan Dougal 2020-06-29 22:00:59 +0100
  • a0f325b4b6 Unbreak config tests Kegan Dougal 2020-06-29 17:54:34 +0100
  • db90759ee4 Add a new component: currentstateserver Kegan Dougal 2020-06-29 17:39:57 +0100
  • b6ef3996f2 Update index for event ID and server name Neil Alexander 2020-06-29 15:48:13 +0100
  • a66e2084e8 Merge branch 'master' into neilalexander/persistentqueues Neil Alexander 2020-06-29 15:29:46 +0100
  • e7997c1e97 Initial work on persistent queues Neil Alexander 2020-06-29 15:29:28 +0100
  • 4cf45d1ce9
    Don't include current state in processEventWithMissingState (#1126) Neil Alexander 2020-06-29 14:39:21 +0100
  • b7cfbcd63a
    Merge branch 'master' into neilalexander/gmestate Kegsay 2020-06-29 14:10:08 +0100
  • 1ad7219e4b
    Implement /sync limited and read timeline limit from stored filters (#1168) Kegsay 2020-06-26 15:34:41 +0100
  • f4f2ba7a73 Update whitelist Kegan Dougal 2020-06-26 15:34:24 +0100
  • a4ecedc0c8 Default to the default timeline limit if it's unset, also strip the extra event correctly Kegan Dougal 2020-06-26 15:09:10 +0100
  • 35602c00f3 Update whitelist Kegan Dougal 2020-06-26 14:38:04 +0100
  • 18d30f91c8 Implement /sync limited and read timeline limit from stored filters Kegan Dougal 2020-06-26 14:34:01 +0100
  • 79cf546d92 Move filter table to syncapi where it is used Kegan Dougal 2020-06-26 14:06:23 +0100
  • 164057a3be
    Honour event size limits and return 413 (#1167) Kegsay 2020-06-26 12:51:54 +0100
  • a0c570ccfa Honour event size limits and return 413 Kegan Dougal 2020-06-26 12:16:09 +0100
  • 9592d53364 Fix div 0 error and add new tests to list Kegan Dougal 2020-06-26 11:34:25 +0100
  • 4897beabee
    Finish implementing retiring invites (#1166) Kegsay 2020-06-26 11:07:52 +0100
  • 4fa78f8a91 Update whitelist Kegan Dougal 2020-06-26 11:07:24 +0100
  • 766be7b7e3 Implement retire invite streaming Kegan Dougal 2020-06-26 10:43:28 +0100
  • 66c71488d8 Pass retired invites to the syncapi with the event ID of the invite Kegan Dougal 2020-06-25 18:39:24 +0100
  • c1d2382e6d Reject non-numeric ports (done in GMSL) Kegan Dougal 2020-06-25 18:05:41 +0100
  • 7a8282fccf
    Handle invite v1 (#1165) Kegsay 2020-06-25 17:07:40 +0100
  • 47bd72a433 Update whitelist Kegan Dougal 2020-06-25 17:07:06 +0100
  • 3de8c51e00 Bump gmsl version which falls back to invite v1 if v2 404s Kegan Dougal 2020-06-25 16:34:15 +0100
  • d687f0d640 Implement invite v1 for sytest mainly Kegan Dougal 2020-06-25 16:24:38 +0100
  • 67f7a53f12 Add missing typing test Kegan Dougal 2020-06-25 15:06:46 +0100
  • 43cddfe00f
    Return remote errors from FS.PerformJoin (#1164) Kegsay 2020-06-25 15:04:48 +0100
  • a080ec6caa Update whitelist, pass network errors through in API=1 mode Kegan Dougal 2020-06-25 15:04:31 +0100
  • dda2c278cd Fix tests Kegan Dougal 2020-06-25 14:38:44 +0100
  • f07dfdca9f Linting Kegan Dougal 2020-06-25 13:33:08 +0100
  • 3cc40408fc Handle network errors better when returning remote HTTP errors Kegan Dougal 2020-06-25 13:29:00 +0100
  • f3d9bf0670 Return remote errors from FS.PerformJoin Kegan Dougal 2020-06-25 13:22:16 +0100
  • c2d34422d6
    Remove trailing slash in client api proxy (#1163) Ashley Nelson 2020-06-25 06:27:09 -0500
  • 03009efd06 Remove trailing slash in client api proxy Ashley Nelson 2020-06-24 21:20:12 -0500
  • 46de400aa0
    Hopefully fix databased is locked errors on sqlite account creation (#1162) Kegsay 2020-06-24 20:46:28 +0100
  • a4deab97ae Hopefully fix databased is locked errors on sqlite account creation Kegan Dougal 2020-06-24 18:40:02 +0100
  • e560619f76
    Refactor SendMembership - make ban test pass (#1160) Kegsay 2020-06-24 18:19:54 +0100
  • 9c7250f480
    Merge branch 'master' into kegan/ban Kegsay 2020-06-24 18:19:37 +0100
  • a06d0921c9
    Make same membership transitions 403, add sytests (#1161) Kegsay 2020-06-24 18:19:14 +0100
  • 27d21c9ee4
    Merge branch 'master' into tmp-file-delete Kegsay 2020-06-24 17:46:46 +0100
  • a45c76c491 Only check invite auth events for local invites Kegan Dougal 2020-06-24 17:40:04 +0100
  • a0250067b9 Update blacklist Kegan Dougal 2020-06-24 17:31:43 +0100
  • a82936226d Make same membership transitions 403, add sytests Kegan Dougal 2020-06-24 16:50:52 +0100
  • 3d3979cfff Refactor SendMembership - make ban test pass Kegan Dougal 2020-06-24 16:35:19 +0100
  • 002fe05a20
    Add PerformInvite and refactor how errors get handled (#1158) Kegsay 2020-06-24 15:06:14 +0100
  • 476d17958e Update federation invite code too Kegan Dougal 2020-06-24 14:32:38 +0100
  • fa239080e6 Send back JSONResponse according to the PerformError Kegan Dougal 2020-06-24 14:30:08 +0100
  • da441b60fc Unbreak everything; thanks Go! Kegan Dougal 2020-06-24 13:47:03 +0100
  • bb73c33d02 Merge branch 'master' into kegan/perform-invite Kegan Dougal 2020-06-24 13:41:00 +0100
  • ebaaf65c54 This doesn't pass Kegan Dougal 2020-06-24 13:40:50 +0100
  • f7ef95debb Add PerformInvite and refactor how errors get handled Kegan Dougal 2020-06-24 11:44:44 +0100
  • c72d23c8eb Update whitelist Kegan Dougal 2020-06-24 10:28:03 +0100
  • 0577bfca55
    Pass join errors through internal API boundaries (#1157) Kegsay 2020-06-24 09:59:59 +0100
  • 807d0b607e Update whitelist Kegan Dougal 2020-06-23 18:54:14 +0100
  • 1f93427ed9 Linting Kegan Dougal 2020-06-23 18:44:34 +0100
  • 81beab8002 Add instrumented main for coverage Kegan Dougal 2020-06-23 18:32:22 +0100
  • 523f44c16b Update whitelist Kegan Dougal 2020-06-23 17:34:05 +0100
  • a652f094e5 Include m.room.avatar in stripped state; handle trailing slashes when GETing state events Kegan Dougal 2020-06-23 16:47:42 +0100
  • 2bf0632d0d
    Merge branch 'master' into kegan/invite-tests Kegsay 2020-06-23 16:23:53 +0100
  • 4a88cdf682 Pass join errors through internal API boundaries Kegan Dougal 2020-06-23 16:19:00 +0100