Commit Graph

  • 51fe73bc27 Return v2 prev_content when calling getPrevContent() Kegan Dougal 2016-01-11 17:15:52 +00:00
  • 97003f7382 Use timeout=0 rather than timeout=1 because of SYN-588 Kegan Dougal 2016-01-11 16:33:43 +00:00
  • c10218a1fa Fixed Jenkins tests complaints manuroe 2016-01-11 17:12:28 +01:00
  • 5c59a2ea3e Fixed MatrixClient pushRules method and ivar clash. Added MatrixClient.setPushRuleEnabled method. manuroe 2016-01-11 17:00:05 +01:00
  • 0b79ac1386 Merge pull request #60 from matrix-org/kegan/guest-access Kegsay 2016-01-11 15:19:14 +00:00
  • 4fe95f18b9 More commenting on the creation of guest filters Kegan Dougal 2016-01-11 14:52:06 +00:00
  • db5ca49ee2 Linting Kegan Dougal 2016-01-11 09:31:00 +00:00
  • d7158b575f fix trailing space Matthew Hodgson 2016-01-10 20:05:58 +00:00
  • 678d70528e add a Room.getImplicitRoomName so clients can know what a room would be called if it didn't have an explicit m.room.name state event Matthew Hodgson 2016-01-10 20:02:35 +00:00
  • 02b33766ee Document the order of the room timeline because I can never remember which way round it is. David Baker 2016-01-08 20:26:07 +00:00
  • 9bd45cf7c7 more lint and thinkos Matthew Hodgson 2016-01-08 03:45:05 +00:00
  • c64aebdb17 lint and thinkos Matthew Hodgson 2016-01-08 03:41:05 +00:00
  • 387ad09c5f implement account data Matthew Hodgson 2016-01-08 03:22:08 +00:00
  • ea3bd1450e Add functions to support upgrading guest accounts Kegan Dougal 2016-01-07 17:23:56 +00:00
  • 8f4bd9c693 NOP typing/receipts when a guest Kegan Dougal 2016-01-07 15:03:37 +00:00
  • cdb4bc5107 Implement peek syncing. Kegan Dougal 2016-01-07 14:58:28 +00:00
  • 446faed9b5 copyrights please... Matthew Hodgson 2016-01-07 04:15:38 +00:00
  • d36c928d95 Fix tests Kegan Dougal 2016-01-06 17:35:56 +00:00
  • 3a3f25c1bc Remove guest rooms array; replace with a peeking SyncApi Kegan Dougal 2016-01-06 17:29:14 +00:00
  • 73e65bc18b Add setGuestAccess to allow easy room guest access configuration. Kegan Dougal 2016-01-05 17:09:10 +00:00
  • 445491c4ad Fix guest rooms UT to reflect reality Kegan Dougal 2016-01-05 16:57:59 +00:00
  • f12499c6bf Support guest room filters Kegan Dougal 2016-01-05 13:24:51 +00:00
  • 8c6c65ab6c Don't do requests we know are going to fail as a guest Kegan Dougal 2016-01-05 11:50:24 +00:00
  • b85e267fdb Merge pull request #59 from matrix-org/rav/event_context Richard van der Hoff 2016-01-04 12:50:10 +00:00
  • c669d21af7 Enhancements to search results, and event context implementation Richard van der Hoff 2016-01-04 12:50:07 +00:00
  • 3e4cef89fd Merge pull request #58 from matrix-org/notif_sync Kegsay 2015-12-23 10:07:13 +00:00
  • a06d1f62d7 Merge remote-tracking branch 'origin/develop' into notif_sync David Baker 2015-12-22 14:47:39 +00:00
  • 2802092231 Add 60s to client-side timeout to account for slow HSes Kegan Dougal 2015-12-21 13:49:14 +00:00
  • a419e241a6 Merge pull request #57 from matrix-org/rav/search_backfill Richard van der Hoff 2015-12-21 09:15:53 +00:00
  • 7aa4bd7f46 Propagate unread notif count from sync to the room object David Baker 2015-12-18 17:49:42 +00:00
  • 2eec76bc1d Merge pull request #56 from matrix-org/kegan/archived-rooms Kegsay 2015-12-18 16:57:17 +00:00
  • 13fcff9688 Allow passing a next_batch token into /search for backfill Richard van der Hoff 2015-12-18 16:23:48 +00:00
  • 1174147d64 Don't lie in comments; remove spurious flag setting Kegan Dougal 2015-12-18 15:29:28 +00:00
  • de53b292a2 Remove debug logging Kegan Dougal 2015-12-18 15:21:28 +00:00
  • b50d61428c Impl syncing of left rooms. Factor out getting or creating filters. Kegan Dougal 2015-12-18 11:57:46 +00:00
  • 4bc5343b67 Merge branch 'develop' into kegan/archived-rooms Kegan Dougal 2015-12-18 09:47:43 +00:00
  • da560ffeff Fix SYJS-38 - Events stuck in 'sending' state Kegan Dougal 2015-12-18 09:14:48 +00:00
  • 59965b1c59 Add public api for syncing left rooms. Not implemented yet. Kegan Dougal 2015-12-17 17:17:53 +00:00
  • 431f4a4797 Merge pull request #55 from matrix-org/kegan/sync-exp-backoff Kegsay 2015-12-17 16:42:22 +00:00
  • 40c3fe558c Add note stating when timing delays can occur. Kegan Dougal 2015-12-17 16:31:00 +00:00
  • a12cd8d4a0 Fix JSDoc Kegan Dougal 2015-12-17 16:18:28 +00:00
  • ac7a469582 Add setIncludeLeaveRooms Kegan Dougal 2015-12-17 15:53:56 +00:00
  • 2e9376614f BREAKING: Add bindEmail option to register() Kegan Dougal 2015-12-17 14:13:17 +00:00
  • cd9d1daf17 Reset /sync backoff if setTimeout takes a long time to fire Kegan Dougal 2015-12-17 11:27:21 +00:00
  • bfa8dd0007 Cache the local event ID else we can remove a real event. Fixes vector-im/vector-web#530 Kegan Dougal 2015-12-16 17:51:12 +00:00
  • 7e35ef258f Delete the room when it is forgotten and fire a new experimental event Kegan Dougal 2015-12-16 16:25:09 +00:00
  • 8bd43a8d53 Add /forget Kegan Dougal 2015-12-16 15:57:29 +00:00
  • 8b87c0045d Merge pull request #54 from matrix-org/kegan/stale-call-notifications Kegsay 2015-12-15 17:03:03 +00:00
  • 77356f0007 Fix vector-im/vector-web#494 Kegan Dougal 2015-12-15 16:54:26 +00:00
  • 4cd6f615b3 Do bear minimum leave room handling so rejecting invites / leaving rooms are displayed correctly. Kegan Dougal 2015-12-15 16:21:36 +00:00
  • 65ef1dfd75 Lint and tests Kegan Dougal 2015-12-15 15:57:24 +00:00
  • 5719d513b7 Strip protocol part when doing 3PID invites for. Partially fixes vector-im/vector-web#419 Kegan Dougal 2015-12-15 15:52:41 +00:00
  • b90697264c Follow the spec Kegsay 2015-12-15 15:33:56 +00:00
  • 406a2bb001 Do not erroneously emit Call.incoming events on startup Kegan Dougal 2015-12-15 15:13:41 +00:00
  • 3115043b94 Merge pull request #53 from matrix-org/kegan/v2-sync Kegsay 2015-12-15 14:24:26 +00:00
  • bfda04daea Move local timeout logic to the HTTP API class. Fixes /sync bug Kegan Dougal 2015-12-15 11:59:41 +00:00
  • 46504b8b9f Fix tests; need more paranoia Kegan Dougal 2015-12-14 14:16:47 +00:00
  • f48c9175e5 Linting Kegan Dougal 2015-12-14 14:12:49 +00:00
  • bd4d8433ab Fix catchup bugs caused by using a stale pagination token Kegan Dougal 2015-12-14 14:11:25 +00:00
  • a00e318d73 Fix pagination - set prev_batch at the right time Kegan Dougal 2015-12-14 12:28:04 +00:00
  • fcf1abb185 Use v2 transaction IDs to suppress dupes without linear scans of the timeline! Kegan Dougal 2015-12-14 11:35:50 +00:00
  • 13cab79e04 Revert prev commit - emit SYNCING>SYNCING and now comment why we do this Kegan Dougal 2015-12-14 10:31:27 +00:00
  • fc6ce20e14 Check unsigned.age for getAge() for v2. Don't spam SYNCING emissions. Kegan Dougal 2015-12-14 10:27:53 +00:00
  • 9c49d26525 Linting Kegan Dougal 2015-12-14 09:24:33 +00:00
  • d6299b634c Scope filter keys in localStorage on user_id Kegan Dougal 2015-12-14 09:22:02 +00:00
  • a6f64b5f03 v2 filter test Kegan Dougal 2015-12-11 15:27:40 +00:00
  • 465635444f s/user_id/sender/g in tests Kegan Dougal 2015-12-11 15:07:40 +00:00
  • eedff29acb Add filter stub to crypto test Kegan Dougal 2015-12-11 13:35:46 +00:00
  • 7c43d15ea5 More linting; crypto test fix Kegan Dougal 2015-12-11 13:31:26 +00:00
  • de32ac0c44 Fix linting Kegan Dougal 2015-12-11 13:23:46 +00:00
  • 3d9d31d6b1 Fix remaining integration tests Kegan Dougal 2015-12-11 13:22:27 +00:00
  • b219836b3e Fix a bunch of integration tests Kegan Dougal 2015-12-11 12:53:26 +00:00
  • 26d9fed537 Fix MatrixClient unit tests Kegan Dougal 2015-12-11 11:07:31 +00:00
  • d6ba39f292 More linting Kegan Dougal 2015-12-10 15:01:39 +00:00
  • 8576ebce8f Linting Kegan Dougal 2015-12-10 14:57:13 +00:00
  • f08152a1d8 Handle ephemeral and account_data events Kegan Dougal 2015-12-10 14:27:21 +00:00
  • 6af2197183 Process join rooms and add local timeouts to /sync Kegan Dougal 2015-12-10 14:14:56 +00:00
  • 4c7e6807d2 Parse invites from /sync Kegan Dougal 2015-12-10 13:26:50 +00:00
  • 11f0513c62 Merge branch 'develop' into kegan/v2-sync Kegan Dougal 2015-12-10 11:50:48 +00:00
  • 3d57b4ce6a Be paranoid on /sync processing Kegan Dougal 2015-12-09 16:41:36 +00:00
  • 243bdd78f4 Handle presence key in /sync Kegan Dougal 2015-12-09 16:09:47 +00:00
  • b622960b32 Do all prep for /sync calls Kegan Dougal 2015-12-09 15:25:09 +00:00
  • 06f927aa22 Minor cleanup and reshuffle Kegan Dougal 2015-12-09 11:27:03 +00:00
  • f7ffed4b98 More linting Kegan Dougal 2015-12-09 11:19:20 +00:00
  • 0576e4ca0c Linting Kegan Dougal 2015-12-09 11:16:46 +00:00
  • 529fb23555 Linting Kegan Dougal 2015-12-09 10:43:21 +00:00
  • 3543abf7bd Make things work again Kegan Dougal 2015-12-09 10:42:05 +00:00
  • a5847485b9 Merge pull request #52 from matrix-org/kegan/v2-filters Kegsay 2015-12-09 09:10:59 +00:00
  • 2b659656cc Move alllll the sync code to sync.js - still more to do (in FIXME XXX) Kegan Dougal 2015-12-08 17:41:09 +00:00
  • ac3aa5538f Linting Kegan Dougal 2015-12-08 16:10:52 +00:00
  • c65f32f6a6 Add filter integration tests; more bug fixes. Kegan Dougal 2015-12-08 16:08:04 +00:00
  • 86a162c818 Add filter UTs and fix bugs Kegan Dougal 2015-12-08 15:39:55 +00:00
  • 1987726a95 Add initial v2 filter impl Kegan Dougal 2015-12-08 15:23:09 +00:00
  • d2537cd00c Merge pull request #51 from matrix-org/kegan/unsent-timeline Kegsay 2015-12-07 17:00:43 +00:00
  • 61db191835 Add UTs Kegan Dougal 2015-12-07 15:45:13 +00:00
  • b7ac6a2e33 Add config option to sort pending events to the end of the timeline Kegan Dougal 2015-12-07 15:36:32 +00:00
  • c0178c3e80 Add getScheduler. Fix JSDoc Kegan Dougal 2015-12-07 11:29:02 +00:00
  • e58fb29722 Merge pull request #50 from matrix-org/kegan/scrollback-requests Kegsay 2015-12-04 17:39:22 +00:00
  • a1300ec095 Wait for the last request (/messages, not /events) Kegan Dougal 2015-12-04 17:34:56 +00:00
  • 73e0216f78 Scrollback improvements Kegan Dougal 2015-12-04 17:27:16 +00:00