Commit Graph

62933 Commits (d80ad9d358aff27bb0224cb210888560296ae62c)

Author SHA1 Message Date
Richard van der Hoff d7f8017b91 Merge pull request #240 from mebjas/develop-notif
Save a preference in local settings to record when the user has hidden the notifications warning bar.
2016-03-29 10:48:12 +01:00
Matthew Hodgson e068a92cde Merge pull request #248 from matrix-org/matthew/fix-image-load-popping
Fix scroll offset popping around during image load by putting explicit height back on images
2016-03-29 00:48:31 +01:00
Matthew Hodgson 0a2678b917 Add warning if fixupHeight fails, and remove overzealous logging 2016-03-29 00:46:51 +01:00
Richard van der Hoff 334a37c095 Merge branch 'rav/karma' into develop
Implement a very simple Karma test, to demonstrate how it might be done.
2016-03-29 00:13:29 +01:00
Richard van der Hoff cbcca0bfa1 Fix undefined error in test 2016-03-29 00:12:59 +01:00
Richard van der Hoff 9ae3a96b6a Add missing devDependencies 2016-03-29 00:12:59 +01:00
Richard van der Hoff 31e283729e Need babel-loader for karma tests 2016-03-29 00:12:59 +01:00
Richard van der Hoff 3f442aca87 Run mocha tests on jenkins 2016-03-29 00:12:59 +01:00
Richard van der Hoff 6069812fcf Create Junit reports from karma 2016-03-29 00:12:59 +01:00
Richard van der Hoff 04561ea6e6 Use phantomjs when running a single test 2016-03-29 00:12:59 +01:00
Richard van der Hoff 5f3b82a767 Stub out the matrix client 2016-03-29 00:12:59 +01:00
Richard van der Hoff 7e1e2347b5 Don't need alias for test-component-index 2016-03-29 00:12:59 +01:00
Richard van der Hoff e428f48269 Source map working 2016-03-29 00:12:59 +01:00
Richard van der Hoff c516ecebcc No need for .babelrc 2016-03-29 00:12:59 +01:00
Richard van der Hoff d7801ef3a4 Vaguely working webpack test 2016-03-29 00:12:59 +01:00
Richard van der Hoff f60dd93660 Initial implementation of some karma/mocha tests
It does something, but things I don't like:

* it churns for 15 seconds webpacking everything. Do we really need to get
  webpack involved here?

* I don't think there's any way to control which tests get run and which don't.

Other things I'd want to fix up include:

* Make it run on jsdom or phantomjs instead of Chrome
* figure out how to configure babel without a .babelrc
2016-03-29 00:12:58 +01:00
Richard van der Hoff e099aa9ce0 test component index and stub component 2016-03-29 00:12:58 +01:00
Aviral Dasgupta 6b10d5f696 Prettier, animated placeholder :D 2016-03-28 19:39:36 +05:30
Aviral Dasgupta 6c5b4a298b Prettier, animated placeholder :D 2016-03-28 19:32:04 +05:30
Matthew Hodgson fcc82fbd27 unbreak tag sanitizing 2016-03-25 01:25:32 +00:00
Matthew Hodgson a3dcd24e4a fix event-recycling bug and mend history viz changes 2016-03-25 01:12:16 +00:00
Richard van der Hoff c5c5e6d811 Tell webpack not to parse the highlight.js languages
Hopefully, this fixes https://github.com/vector-im/vector-web/issues/1046
without any side-effects.

It relies on the fact that the languages files are pretty simple - in
particular, they don't require any other modules. So we can tell webpack just
to suck them in as they are, rather than parsing them and causing an explosm.
2016-03-24 22:51:50 +00:00
Richard van der Hoff 2462ede539 Switch to dev versions of react-sdk and js-sdk 2016-03-24 17:39:49 +00:00
Richard van der Hoff c227b2279b Minor fixes to image sizing
* use string refs instead of callback funcs
* Add a null-guard in case we don't have an image
2016-03-24 16:58:27 +00:00
David Baker c3dd9a4b17 Unset email pending state on error or we never remove the spinner 2016-03-24 15:03:44 +00:00
Richard van der Hoff cbf5b0eca3 Disable the message composer if we don't have permission to post
Rehashes dave's earlier PR which did the same thing
2016-03-24 13:57:21 +00:00
Richard van der Hoff c7e2b09d8b Merge pull request #249 from matrix-org/rav/refactor_messagecomposer
Split a textinput component out of MessageComposer
2016-03-24 11:45:16 +00:00
Richard van der Hoff b6e4c59877 Merge pull request #1249 from vector-im/dbkr/disable_composer_if_no_permission
CSS for https://github.com/matrix-org/matrix-react-sdk/pull/247
2016-03-24 11:44:16 +00:00
Richard van der Hoff 6ff41c40b6 Split a textinput component out of MessageComposer
Split the text entry section out of MessageComposer: it has a lot of stuff
which won't be needed if we disable input
2016-03-24 11:25:41 +00:00
Matthew Hodgson 8b67a1059d oops, forgot a sync dispatch on onSearchResultsResize 2016-03-24 02:14:16 +00:00
Matthew Hodgson 0bc1624d4e make senderprofile smaller 2016-03-24 01:19:55 +00:00
Matthew Hodgson 5bd0303dda make it work, seemingly 2016-03-24 01:12:51 +00:00
Matthew Hodgson f81f7db6cd fix layout problems exposed by #cats 2016-03-24 01:12:27 +00:00
Minhaz A V 6fc0aaef60 setToolbarHidden(false) if setEnabled has enable = true
Signed-off-by: Minhaz A V <minhazav@gmail.com>
2016-03-24 05:46:52 +05:30
Matthew Hodgson 151a9994ba WIP fix for image load popping 2016-03-24 00:13:32 +00:00
Matthew Hodgson 9e95d2e4ac make image event bodies display as blocks to avoid auto sizing, so we can measure their width to explicitly set their height 2016-03-24 00:13:03 +00:00
Richard van der Hoff 95a46ae201 Merge pull request #1254 from vector-im/rav/uridecode_fragment
URI-decode the hash-fragment
2016-03-23 22:59:46 +00:00
Matthew Hodgson b81d901919 fix spinner when cancelling start chat from memberinfo 2016-03-23 18:17:49 +00:00
Matthew Hodgson 1a62369a01 prioritise new version bar 2016-03-23 18:05:47 +00:00
David Baker 8764b44325 Un-commit config change 2016-03-23 16:41:17 +00:00
Minhaz A V 8605ca134e comment removed and localStorage update moved up
Signed-off-by: Minhaz A V <minhazav@gmail.com>
2016-03-23 22:10:33 +05:30
Richard van der Hoff 090db5490b URI-decode the hash-fragment
It looks like % characters in the hash-fragment are meant to be interpreted as
a URI-encoding, so we should decode them.
2016-03-23 15:58:00 +00:00
David Baker cfcb050822 Add composer controls wrapper to set correct width on the composer controls wrapper div 2016-03-23 15:21:37 +00:00
David Baker 66e36e9d40 CSS for https://github.com/matrix-org/matrix-react-sdk/pull/247 2016-03-23 15:15:38 +00:00
Richard van der Hoff 4507117f89 0.4.1 2016-03-23 14:58:30 +00:00
Richard van der Hoff cad48b62e4 Prepare changelog for v0.4.1 2016-03-23 14:58:30 +00:00
Richard van der Hoff 5138dc9fd8 Bump to react-sdk 0.3.1
Disables ScrollPanel debug.
2016-03-23 14:56:22 +00:00
Richard van der Hoff dcfc283279 0.3.1 2016-03-23 14:55:44 +00:00
Richard van der Hoff 44b3f084bd Prepare changelog for v0.3.1 2016-03-23 14:55:43 +00:00
Richard van der Hoff 9f05249d9c Disable scrollpanel debug
... so that I can (re-)release
2016-03-23 14:53:38 +00:00