Commit graph

  • cac9f758dc
    Other tweaks, typing works Neil Alexander 2021-01-06 11:12:46 +0000
  • 783fba2d6a Disable IncrementalSync stuff and re-assess Eric Eastwood 2021-01-06 04:01:41 -0600
  • c7328cee41 Some WIP code for IncrementalSync but breaks other Sytests Eric Eastwood 2021-01-06 03:22:50 -0600
  • 9e4fd0157f Properly cut out join and leave events Eric Eastwood 2020-12-31 17:02:21 -0600
  • 810dd7842c Filter out events after the leave event Eric Eastwood 2020-12-28 16:12:04 -0600
  • 88374a5cc4 Add leave rooms to /sync response Eric Eastwood 2020-12-28 15:32:59 -0600
  • 4cf73a5dc2 Refactor to allow passing actual filter Eric Eastwood 2020-12-24 23:39:46 -0600
  • 82afb32464 Implement archived rooms (include_leave filter on /sync) Eric Eastwood 2020-12-22 22:31:01 -0600
  • b353c039ff
    Wakeups largely working Neil Alexander 2021-01-06 10:17:34 +0000
  • 62d75f6418 fix database names to reflect renaming Marco Kundt 2020-12-12 21:40:02 +0100
  • 475ae4ca3b
    It's half-alive Neil Alexander 2021-01-05 17:22:27 +0000
  • 600a0588a3
    Merge branch 'master' into hs/fix-appsevice-alias-queries-part-2 Will Hunt 2021-01-05 12:03:45 +0000
  • e3ce6a924f
    Add MSC's section to example config (#1675) Jason Robinson 2021-01-05 13:31:10 +0200
  • b7a9da87e2 remove unused Will Hunt 2021-01-05 11:08:21 +0000
  • 3a66d3c6cf Hit appservice when trying to join a non-existent alias Will Hunt 2021-01-05 10:56:09 +0000
  • 85c564ef9a Add field ShouldHitAppservice to GetRoomIDForAlias Will Hunt 2021-01-05 10:54:40 +0000
  • 7464da6708
    Disable gocyclo Neil Alexander 2021-01-05 10:53:54 +0000
  • a5ba01eb76 Fix complexity Will Hunt 2021-01-05 10:52:12 +0000
  • 50ba0cce78
    Merge branch 'master' into hs/as-transaction-send-if-in-room Will Hunt 2021-01-04 15:03:19 +0000
  • 9814e714ba Use QueryStateAfterEventsResponse Will Hunt 2021-01-04 15:01:14 +0000
  • 05324b6861
    Send/state tweaks (#1681) Neil Alexander 2021-01-04 13:47:48 +0000
  • b5303d9889
    Don't use request context for /send Neil Alexander 2021-01-04 13:30:32 +0000
  • 04417d7083
    Check missing event count Neil Alexander 2021-01-04 13:03:43 +0000
  • 6ca7fa8a4d Check membership of room Will Hunt 2021-01-04 12:49:38 +0000
  • 597350a67f
    Ensure appservices can auth as users in their namespaces (#1672) Jason Robinson 2021-01-04 12:43:23 +0200
  • e7f2d770df
    Update docker-compose.deps.yml to use postgres:11 (#1677) Will Hunt 2021-01-04 10:36:36 +0000
  • ef985b08da
    Update docker-compose.deps.yml to use postgres:11 Will Hunt 2021-01-04 09:11:29 +0000
  • 34d0a50271 Also allow appservice itself to auth with user_id Jason Robinson 2021-01-03 01:21:55 +0200
  • 9c8757946a Add MSC's section to example config Jason Robinson 2021-01-03 00:00:35 +0200
  • bca2790c67 Ensure appservices can auth as users in their namespaces Jason Robinson 2020-12-25 22:46:29 +0200
  • 3dd0b89d0f
    test drop in replacement of jsoniter 6543 2020-12-21 15:33:53 +0100
  • a85051ca9d
    fix imports (#1665) 6543 2020-12-21 14:27:01 +0000
  • 135046fe0e
    rm import of userapi/storage/accounts/sqlite3/storage.go 6543 2020-12-21 13:24:43 +0000
  • a8e947e93d Add health check endpoint Eric Eastwood 2020-12-18 02:06:52 -0600
  • 284c129c2f
    Limit sync properly Neil Alexander 2020-12-18 18:44:27 +0000
  • fdb65e52b7
    Query update Neil Alexander 2020-12-18 18:26:09 +0000
  • 44c53e32f8
    Query update Neil Alexander 2020-12-18 18:19:57 +0000
  • b9262eab70
    Try to not hit the database more than needed to get state deltas Neil Alexander 2020-12-18 18:14:03 +0000
  • 0a333f4e45
    add sqlite driver import back 6543 2020-12-18 19:10:06 +0100
  • 30aea701f8
    fix imports 6543 2020-12-18 19:07:38 +0100
  • e50273cfe6
    Update selectStateInRange to not return irrelevant events Neil Alexander 2020-12-18 17:33:47 +0000
  • 4a0461378a
    Version 0.3.4 v0.3.4 Neil Alexander 2020-12-18 14:53:31 +0000
  • 932ff6b166
    Fix /register Neil Alexander 2020-12-18 14:51:30 +0000
  • e4d1f0958f
    Do not check if a username is exclusive if the request is for an appservice in /register (#1652) Will Hunt 2020-12-18 14:36:59 +0000
  • cb9f319e11
    Return unauthorised instead of forbidden Neil Alexander 2020-12-18 14:36:43 +0000
  • fed8ccc3da
    Handle accessTokenErr Neil Alexander 2020-12-18 14:36:05 +0000
  • 4fe4c180e6
    Ensure we wake for our own device list updates (#1661) Neil Alexander 2020-12-18 14:04:17 +0000
  • c5061dbf56
    Whitelist 'Users receive device_list updates for their own devices' Neil Alexander 2020-12-18 13:43:25 +0000
  • fac71edc62
    Fix #1655 by re-adding the appservice alias query (#1660) Neil Alexander 2020-12-18 13:33:28 +0000
  • 65ff5c9a2c
    Don't send null in joined_rooms response (#1659) Neil Alexander 2020-12-18 13:33:08 +0000
  • a5b25878c7
    Make sure we wake up for our own key changes Neil Alexander 2020-12-18 13:26:49 +0000
  • 8508af345e
    Merge branch 'master' into matthew/peeking-over-fed Neil Alexander 2020-12-18 13:18:10 +0000
  • 5feea4c4fc
    Fix #1655 by re-adding the appservice alias query Neil Alexander 2020-12-18 13:06:55 +0000
  • b0ec24ef42
    Check domain name is ours Neil Alexander 2020-12-18 12:40:36 +0000
  • b4dae18c50
    Don't send null in joined_rooms response Neil Alexander 2020-12-18 12:33:36 +0000
  • 139d935ae6
    Merge branch 'master' into hs/fix-as-exclusive Neil Alexander 2020-12-18 11:17:44 +0000
  • 50963b724b
    More sane next batch handling, typing notification tweaks, give invites their own stream position, device list fix (#1641) Neil Alexander 2020-12-18 11:11:21 +0000
  • 281643567b
    Ensure send-to-device uses real positions too Neil Alexander 2020-12-18 09:34:12 +0000
  • 92eadf18b9
    Use real receipt positions Neil Alexander 2020-12-18 09:23:06 +0000
  • 07967477fa
    Merge branch 'master' into hs/fix-as-exclusive Will Hunt 2020-12-18 01:03:10 +0000
  • 67ab81b866 Also fix the senderLocalpart problem Will Hunt 2020-12-18 01:02:08 +0000
  • a518e2971a
    Fix flakey complement (#1653) Kegsay 2020-12-17 18:25:51 +0000
  • 3771b58a04 Fix flakey complement Kegan Dougal 2020-12-17 18:14:34 +0000
  • 25febe0ab7
    Un-whitelist tests that look to be genuinely wrong Neil Alexander 2020-12-17 18:01:45 +0000
  • 4222175cb9
    Fix invites maybe Neil Alexander 2020-12-17 17:40:06 +0000
  • cf8f637ae0
    Fix test Neil Alexander 2020-12-17 16:11:48 +0000
  • 6907e38d08
    Give invites their own position, fix other things Neil Alexander 2020-12-17 15:58:40 +0000
  • 2eef224435 fix broken test Will Hunt 2020-12-17 15:35:11 +0000
  • dcab0654cb
    Revert "Rely on positions from notifier rather than manually advancing them" Neil Alexander 2020-12-17 15:08:46 +0000
  • fdb935ecd2 Move statements Will Hunt 2020-12-17 14:56:58 +0000
  • 53112a62cc
    Rely on positions from notifier rather than manually advancing them Neil Alexander 2020-12-17 14:49:53 +0000
  • 1c1abbc99f remove useless comment Will Hunt 2020-12-17 14:28:20 +0000
  • b3ba38bd87 Do not check if a username is exclusive if the request is for an appservice in /register Will Hunt 2020-12-17 14:24:22 +0000
  • c35e46521f
    Tweaks, restore StreamingToken.MarshalText which somehow went missing? Neil Alexander 2020-12-17 13:28:45 +0000
  • 7200691610
    Fix typo Neil Alexander 2020-12-17 13:06:08 +0000
  • aad3e573e9
    Merge branch 'master' into neilalexander/synctokens2 Neil Alexander 2020-12-17 13:04:54 +0000
  • 9a1ef81fa2
    Add CS sendevent metrics Neil Alexander 2020-12-17 10:52:31 +0000
  • e8085a9493 MSC2716: Incremental existing history Eric Eastwood 2020-12-16 15:10:36 -0600
  • e1ace7e44a
    Add event ID index on current state table (helps performance) (#1649) Neil Alexander 2020-12-16 18:16:39 +0000
  • 76becac003
    Add start_stream to /messages (#1648) Kegsay 2020-12-16 18:10:39 +0000
  • b3064ce25a
    Add event ID index on current state table (helps performance) Neil Alexander 2020-12-16 18:00:20 +0000
  • ed5297ff0d Add start_stream to /messages Kegan Dougal 2020-12-16 17:48:47 +0000
  • 42e9cbf342
    NOTSPEC: Make ?from= optional in /messages (#1647) Kegsay 2020-12-16 17:31:03 +0000
  • cd659163dd
    Run only on release (and produce release tags) TR_SLimey 2020-12-16 17:19:45 +0000
  • 70413fb32f NOTSPEC: Make ?from= optional in /messages Kegan Dougal 2020-12-16 17:10:16 +0000
  • 56b5847c74
    Add prometheus metrics for destination queues, sync requests Neil Alexander 2020-12-16 15:02:39 +0000
  • b891c00b09
    Add RoomInfo cache, remove RoomServerRoomNIDsCache (#1646) Neil Alexander 2020-12-16 12:15:12 +0000
  • 384ad0e2a0
    Adding comments about RoomInfoCache safety Neil Alexander 2020-12-16 12:14:51 +0000
  • e336d53f5e
    Use RoomInfo cache to find room version if possible in Events() Neil Alexander 2020-12-16 11:55:38 +0000
  • cfee085119
    LRU package is already threadsafe Neil Alexander 2020-12-16 11:08:28 +0000
  • 14c8fa3deb
    Don't panic if the roomInfo isn't known yet Neil Alexander 2020-12-16 11:01:27 +0000
  • 1085c06d3c
    Add RoomInfo cache, remove RoomServerRoomNID cache, ensure caches are thread-safe Neil Alexander 2020-12-16 10:42:13 +0000
  • 9057143033
    Hit the database far less in Events to find room NIDs and room versions (#1643) Neil Alexander 2020-12-16 10:33:28 +0000
  • d2bcc5f746
    Fix main.wasm output path (fixes #1645) Neil Alexander 2020-12-16 09:33:48 +0000
  • b0d24163c6
    Give same treatment to room version lookups Neil Alexander 2020-12-15 18:02:22 +0000
  • 5758b38628
    Fix SQLite selectRoomNIDsForEventNIDsSQL Neil Alexander 2020-12-15 16:45:11 +0000
  • 9cd6b1a9f1
    Close the rows Neil Alexander 2020-12-15 16:40:50 +0000
  • 57be20e7da
    Hit the database far less to find room NIDs for event NIDs Neil Alexander 2020-12-15 16:28:33 +0000
  • 2a2e2e7d41
    Merge branch 'master' into neilalexander/devicelist Neil Alexander 2020-12-15 15:55:17 +0000
  • 38318b0f16
    De-map device list positions in streaming tokens (#1642) Neil Alexander 2020-12-15 15:09:10 +0000