Commit Graph

44 Commits

Author SHA1 Message Date
Richard van der Hoff 9d8973bf1f 0.5.0 2016-03-22 17:56:32 +00:00
Richard van der Hoff ad5d07caf8 0.4.2 2016-03-17 00:58:33 +00:00
Richard van der Hoff cc475e6392 add jsdoc as dev dependency 2016-03-17 00:58:16 +00:00
Richard van der Hoff e4c6717bd5 Don't fail release if dist dir already exists 2016-03-17 00:58:16 +00:00
Richard van der Hoff 4436087777 Use npm version to do release stuff 2016-03-16 23:12:38 +00:00
Richard van der Hoff 16ab2fd82a Add uglifyjs to devDependencies
The release script requires it, so we better install it
2016-03-11 12:15:00 +00:00
Richard van der Hoff 28e6f00766 Prep r0.4.1 2016-03-11 11:50:47 +00:00
Richard van der Hoff 3d3e52b104 s/version.txt/git-revision.txt/ 2016-02-25 16:48:41 +00:00
Richard van der Hoff 05326984df Add a 'version.txt' file to the tarball
This will enable the vector build to know what it got
2016-02-25 15:21:23 +00:00
David Baker 670d230f2e Bump to 0.4.0 2016-02-24 13:49:58 +00:00
Richard van der Hoff 706966ffe9 Support for non-contiguous event timelines
This provides optional support for fetching old events via the /context API,
and paginating backwards and forwards from them, eventually merging into the
live timeline.

To support it, events are now stored in an EventTimeline, rather than directly
in an array in the Room; the old names are maintained as references for
compatibility.

The feature has to be enabled explicitly, otherwise it would be impossible for
existing clients to back-paginate to the old events after a gappy /sync.

Still TODO here:

* An object which provides a window into the timelines to make them possible to
  use. This will be a separate PR.

* Rewrite the 'EventContext' used by the searchRoomEvents API in terms of an
  EventTimeline - it is essentially a subset.
2016-01-15 13:19:11 +00:00
Kegan Dougal b17385120a Bump to 0.3.0 and add CHANGELOG 2015-10-28 16:42:44 +00:00
Kegan Dougal 19721c3f53 Bump to 0.2.2 and update CHANGELOG 2015-10-13 10:31:00 +01:00
Kegan Dougal 92e3a28315 Add gendoc script 2015-09-11 10:24:38 +01:00
Kegan Dougal 22a9db6c29 Add CHANGELOG and bump to 0.2.1 2015-09-11 10:12:54 +01:00
Kegan Dougal 14e91624bd no-op if joinRoom is called when you're already joined. Add test for this.
Also ignore missing require()s when building (missing olm).
2015-07-28 13:13:55 +01:00
Kegan Dougal 3905e56e1f Bump to 0.2.0 - Add missing jsdoc, update CHANGELOG. 2015-07-28 11:45:46 +01:00
Mark Haines 58e44a2fc3 Disable end-to-end crypto 2015-07-23 09:30:50 +01:00
Mark Haines 67318247c8 Use an npmified version of olm.js 2015-07-21 15:09:54 +01:00
Mark Haines 65d64bf223 Merge remote-tracking branch 'origin/develop' into markjh/end_to_end
Conflicts:
	lib/client.js
	lib/matrix.js
2015-07-20 10:43:23 +01:00
Mark Haines a375aa30ea Add script for running tests without converage 2015-07-20 10:36:30 +01:00
Kegan Dougal 3e60842c3b Sort out access levels for functions; add JSDoc. 2015-07-14 11:11:41 +01:00
Kegan Dougal 2d08a6530c Don't need extra escaping; doesn't take coverage correctly. 2015-07-01 11:41:55 +01:00
Kegan Dougal 841e02d102 Don't minify tests so we can get proper stack traces when running 'npm test'. 2015-07-01 10:33:03 +01:00
Kegan Dougal 805d914940 Bump to 0.1.1. Add 'npm run release' script. 2015-06-23 15:42:08 +01:00
Kegan Dougal 4316a22913 Bump to 0.1.0 - Generate browser (min) version 2015-06-12 17:17:39 +01:00
Kegan Dougal 8a21e05f56 Specify the right key name when replacing index.js for browserify. 2015-06-10 17:48:06 +01:00
Kegan Dougal e48eb5a9ed Use the right glob expression 2015-06-08 10:53:31 +01:00
Kegan Dougal 86ca88a71d Tweak coverage include fileset to not include spec files. 2015-06-08 10:50:58 +01:00
Kegan Dougal 5013a3bd3d Add lint command 2015-06-08 10:38:34 +01:00
Kegan Dougal fd8a754ef7 Add code coverage. 2015-06-08 10:29:07 +01:00
Kegan Dougal 9ee386db88 Merge branch 'develop' into testing-setup
Conflicts:
	package.json
2015-06-08 09:49:15 +01:00
Kegan Dougal 0d25fbcbe7 Add MatrixClient.startClient tests using Jasmine. 2015-06-05 17:32:50 +01:00
Kegan Dougal d095eff1a4 Bake in support for promises.
This means we can specify the SDK's dependency on Q to make setting things up
significantly easier.
2015-06-05 11:41:26 +01:00
Kegan Dougal 35052e9f13 Add jshint as build step. Add dist/README 2015-06-04 16:42:49 +01:00
Kegan Dougal 7ab3e25218 Add @module docs. Remove browser-build.sh
Add @links for HTML output. Replace browser-build.sh with inline commands
in package.json so building will work on non-unix machines. Update README.
2015-06-04 16:34:00 +01:00
Kegan Dougal 9b4ba0afe8 Redo build process for browsers and node. Update examples.
We now rely on browserify for building browser-specific versions of the JS
SDK. This can be initiated by running 'npm run build-js'. Node versions are
unaffected.
2015-06-03 15:51:48 +01:00
Kegan Dougal 8d294211c3 Add brower-build script to run the SDK through browserify.
Add script names 'build-js' and 'watch-js' to package.json to handle releases
and development versions respectively.
2015-06-03 15:16:15 +01:00
Kegan Dougal 8853ad9601 Bug fixes 2015-05-12 14:29:42 +01:00
Kegan Dougal 4a7f2d2eaf Bump to 0.0.3 2015-05-12 14:24:30 +01:00
Kegan Dougal 76ac69305e Bump version 2015-04-01 14:55:44 +01:00
Kegan Dougal 50f5279fb7 Add git repo to package.json 2015-03-04 17:42:29 +00:00
Kegan Dougal 335198c8f1 Tidy up, add deps and add a few more calls. 2015-03-04 14:37:43 +00:00
Kegan Dougal 0dfa52ef63 Initial commit 2015-03-04 13:37:04 +00:00