Travis Ralston and GitHub
d5eb011f48
Merge pull request #3843 from matrix-org/travis/ftue/user-lists/5.3-go-button
...
Move DM creation logic into DMInviteDialog
2020-01-16 15:05:09 -07:00
Travis Ralston and GitHub
43f97af805
Merge pull request #3848 from matrix-org/travis/fix-cut
...
Remove all text when cutting in the composer
2020-01-16 15:03:41 -07:00
Travis Ralston
372861c9df
Merge branch 'develop' into travis/ftue/user-lists/5.3-go-button
2020-01-16 13:36:59 -07:00
Travis Ralston and GitHub
3ed7beac78
Merge pull request #3804 from matrix-org/t3chguy/rightpanel
...
'Members' button always toggle the right panel
2020-01-16 10:11:24 -07:00
Travis Ralston
cd9fc72fff
Merge branch 'develop' into t3chguy/rightpanel
2020-01-16 10:04:18 -07:00
Travis Ralston and GitHub
64c4677699
Merge pull request #3842 from matrix-org/t3chguy/fix_isModified
...
Fix timing of when Composer considers itself to be modified
2020-01-16 09:54:36 -07:00
Travis Ralston and GitHub
564a30b7be
Merge pull request #3852 from matrix-org/travis/fix-member-avatar
...
Fix not being able to open profiles from the timeline
2020-01-16 09:47:17 -07:00
Travis Ralston
4ea2a2fee4
Merge branch 'develop' into t3chguy/fix_isModified
2020-01-16 09:46:28 -07:00
Travis Ralston
869fd0b2c9
Fix not being able to open profiles from the timeline
...
MemberAvatar was referencing the wrong dispatcher (it was imported as `dis`, like everywhere else, not `dispatcher`).
Fixes https://github.com/vector-im/riot-web/issues/11887
2020-01-16 09:40:11 -07:00
Travis Ralston
1b4ab856c9
Assume the position is at the end when the offset has no last part
...
We get an NPE when the user cuts their entire message, and this fixes it.
2020-01-15 21:05:00 -07:00
Travis Ralston
b137cd21d3
Replace the selected range instead of force-setting it
...
This gives people the option of cutting parts or all of their message.
2020-01-15 21:04:18 -07:00
Travis Ralston
be3ef2b50e
Remove all text when cutting in the composer
...
The previous function did in fact remove the elements, but left the model thinking there was a zero-length string. This approach deletes the text from the model and the DOM, resulting in the placeholder being shown when cutting all the text.
Part of https://github.com/vector-im/riot-web/issues/11378
2020-01-15 19:08:14 -07:00
Travis Ralston and GitHub
cad9562f8d
Merge pull request #3828 from krkc/develop
...
Added cut/copy and pasting user pills from editor.
2020-01-15 15:36:33 -07:00
Travis Ralston and GitHub
070e59e1ce
Merge pull request #3846 from matrix-org/travis/fix-help-tab
...
Fix imports for help & support tab
2020-01-15 12:44:35 -07:00
Travis Ralston
dd88809622
Fix imports for help & support tab
...
This was missed, somehow, in the sourcemaps stuff. The tab currently breaks the dialog on load.
2020-01-15 12:02:34 -07:00
Travis Ralston and GitHub
dbff2bb9f0
Merge pull request #3841 from matrix-org/travis/ftue/user-lists/5.2-i18n
...
Humanize the recent DM rooms ourselves for translations
2020-01-15 10:58:32 -07:00
Travis Ralston
d763d7e633
Merge branch 'develop' into travis/ftue/user-lists/5.2-i18n
2020-01-15 10:49:38 -07:00
Travis Ralston and GitHub
0529efc5cd
Merge pull request #3840 from matrix-org/travis/ftue/user-lists/5.1-suggestions
...
Improve the quality of invite suggestions by filtering out DMs
2020-01-15 10:49:00 -07:00
Travis Ralston and GitHub
c2b3661a69
Merge pull request #3845 from matrix-org/travis/fix-develop
...
Fix linter and tests on develop
2020-01-15 10:38:08 -07:00
Travis Ralston
8f37f8638d
Build the js-sdk for Jest tests
...
This is theoretically a fix for the tests failing post-sourcemaps.
2020-01-15 10:28:27 -07:00
Travis Ralston
457e63f24e
Fix reference to js-sdk lint config
2020-01-15 10:25:36 -07:00
Travis Ralston and GitHub
7bfb3686cd
Merge pull request #3839 from matrix-org/travis/sourcemaps
...
Fix sourcemaps by refactoring the build system
2020-01-15 10:11:33 -07:00
Travis Ralston
8b6a5d37aa
Remove simulated error state used for screenshot
2020-01-14 23:35:45 -07:00
Travis Ralston
b9852c7264
Appease the linter
2020-01-14 23:35:07 -07:00
Travis Ralston
443744733d
Move DM creation logic into DMInviteDialog
...
Fixes https://github.com/vector-im/riot-web/issues/11645
The copy hasn't been reviewed by anyone and could probably use some work.
2020-01-14 23:32:00 -07:00
Travis Ralston
76183fc8fd
Appease the linter
2020-01-13 21:21:18 -07:00
Travis Ralston
b69b284efa
Humanize the recent DM rooms ourselves for translations
2020-01-13 21:20:01 -07:00
Travis Ralston
9188183c9b
Improve the quality of invite suggestions by filtering out DMs
...
This helps the small rooms from being scored highly, bringing out users you've not seen in a long while.
2020-01-13 21:04:13 -07:00
Travis Ralston
90c7535a69
Export VIEWS from MatrixChat for riot-web tests
2020-01-13 20:15:58 -07:00
Travis Ralston
1e70af00a3
Fix GroupView test
...
It was counting the wrong number of updates for reasons I don't understand.
2020-01-13 20:15:58 -07:00
Travis Ralston
813b14018e
Fix CI build steps for new environment.
...
Some of the CI stuff requires the autogenerated files to be present. Easiest way to get them all is to build the thing. Previously this was done in an install stage, but we don't do that anymore.
2020-01-13 20:15:58 -07:00
Travis Ralston
bf6798e109
Appease the linter
2020-01-13 13:28:33 -07:00
Travis Ralston
5fd27a10bb
Merge branch 'develop' into travis/sourcemaps
2020-01-13 11:19:41 -07:00
Travis Ralston and GitHub
528777049a
Merge pull request #3827 from matrix-org/travis/sm-e2e-tests
...
Enable end-to-end tests for sourcemaps (+Windows instructions)
2020-01-13 11:15:46 -07:00
Travis Ralston
e66f2a6c3f
Revert ES6ification of end-to-end tests and add instructions for Windows
...
Because the tests are run directly by node, we have to use the CommonJS module syntax. We could run the thing through babel, but then we just have another babel.
Windows instructions are from experience and may not be optimized.
2020-01-10 10:13:41 -07:00
Travis Ralston
9f04f94c65
Enable e2e and Riot tests, removing Karma
2020-01-09 17:55:57 -07:00
Travis Ralston and GitHub
3591f802a8
Merge pull request #3824 from matrix-org/travis/sm-misc
...
Regenerate i18n for sourcemaps branch
2020-01-09 17:47:32 -07:00
Travis Ralston
4b65cdf3f2
Regenerate i18n
...
Apparently we need to do this.
2020-01-09 17:40:57 -07:00
Travis Ralston and GitHub
4c3703a5ea
Merge pull request #3823 from matrix-org/travis/sm-fix-tests
...
Fix tests for sourcemaps branch
2020-01-09 17:38:21 -07:00
Travis Ralston
d7dd67f69e
Remove subtly irrelevant package
2020-01-09 17:28:32 -07:00
Travis Ralston
aa38946166
Actually define some tests in TextualBody's test
...
Jest really wants you to do things the right way.
2020-01-09 17:24:13 -07:00
Travis Ralston
4bc5ada50e
Fix test bootstrap for new skinning approach
2020-01-09 17:23:46 -07:00
Travis Ralston
54f3288dea
Fix imports for tests
...
This doesn't fix the fact that someone called it "peg".
2020-01-09 17:23:27 -07:00
Travis Ralston
4dfbce3108
Fix languageHandler's use of $webapp languages.json for Jest
2020-01-09 17:22:50 -07:00
Travis Ralston
ffd037dfa8
Fix resolution of files for Jest
2020-01-09 17:22:21 -07:00
Travis Ralston
0e8af15b9c
Add webcrypto dep back
...
Probably accidentally merge-conflicted out
2020-01-09 17:15:13 -07:00
Travis Ralston
5f51432987
Convert babel config to a different babel config
...
This is needed because of https://github.com/facebook/jest/issues/6229
2020-01-09 17:14:50 -07:00
Travis Ralston
23eb6cbeb3
Upgrade Jest and babel-jest to match js-sdk
...
This also magically gets rid of a ton of errors
2020-01-09 16:17:27 -07:00
Travis Ralston
a8c8406ac4
Merge remote-tracking branch 'origin/t3chguy/jest' into travis/sourcemaps
2020-01-09 16:06:46 -07:00
Travis Ralston and GitHub
a27f2d8379
Merge pull request #3817 from matrix-org/travis/sourcemaps-develop
...
Sourcemaps: develop -> feature branch
2020-01-09 14:59:22 -07:00
Travis Ralston
135c84251c
Fix more imports post-merge
2020-01-09 14:19:19 -07:00
Travis Ralston
dc914774fb
Delete files that were conflicting in the merge and deleted on develop
2020-01-09 14:19:19 -07:00
Travis Ralston
a6376461d0
Use yarn's updated lockfile
...
Didn't manually handle this conflict, just let yarn do its thing.
2020-01-09 14:19:19 -07:00
Travis Ralston
19f78d4d97
Fix class construction in MemberList
2020-01-09 14:17:33 -07:00
Travis Ralston
727ce892de
Fix remaining RoomView conflict
...
RoomContext was pulled out to its own file.
2020-01-09 14:17:33 -07:00
Travis Ralston
3e5cc9550b
Fix import merge conflicts, removing any that aren't needed anymore
...
Many imports were removed as part of refactoring work, so here we are.
2020-01-09 14:17:33 -07:00
Travis Ralston
a0da13200f
Fix conflicts in package.json
...
We removed the emojistrip script
2020-01-09 14:15:16 -07:00
Travis Ralston
fde32f13a5
[CONFLICT CHUNKS] Merge branch 'develop' into travis/sourcemaps-develop
2020-01-09 14:15:09 -07:00
Travis Ralston and GitHub
d40091afc5
Merge pull request #3820 from matrix-org/travis/ftue/user-lists/4.5.5-paste
...
Support pasting a bunch of identifiers into the invite dialog
2020-01-09 14:13:55 -07:00
Travis Ralston and GitHub
ad33a2322e
Merge pull request #3819 from matrix-org/travis/ftue/user-lists/4.5-3pids
...
Support 3PIDs (email addresses) in the invite dialog
2020-01-09 14:13:32 -07:00
Travis Ralston and GitHub
6ca9a7c998
Merge pull request #3766 from matrix-org/travis/babel7-wp-es6-fixes
...
Misc fixes for ES6 imports/exports
2020-01-09 14:00:59 -07:00
Travis Ralston and GitHub
ba73600cf0
Merge pull request #3815 from matrix-org/travis/ftue/user-lists/4-composer
...
Wire up the invite targets dialog to a real composer and show selections
2020-01-09 13:57:22 -07:00
Travis Ralston
4e4871c281
Move lang import to the top of the file
2020-01-09 13:56:25 -07:00
Travis Ralston
2caebef7a1
Make the SVG smaller
2020-01-09 13:40:35 -07:00
Travis Ralston
cb9e4376b8
Fix flow comment
2020-01-09 13:39:50 -07:00
Travis Ralston
94e9c6ac9f
Make the SVG smaller
2020-01-09 13:38:47 -07:00
Travis Ralston and GitHub
f452ea225a
FlowJS is not Flow
2020-01-09 12:31:16 -07:00
Travis Ralston and GitHub
1d9d706b9c
Merge pull request #3789 from matrix-org/t3chguy/render_html_entities_in_og-description
...
Render encoded html entities in og:description
2020-01-08 21:38:31 -07:00
Travis Ralston
4ad4437f33
Support pasting a bunch of identifiers into the invite dialog
...
Part of https://github.com/vector-im/riot-web/issues/11199
2020-01-08 21:21:08 -07:00
Travis Ralston
35b27bd231
Merge branch 'travis/ftue/user-lists/4.5-3pids' into travis/ftue/user-lists/4.5.5-paste
2020-01-08 21:21:03 -07:00
Travis Ralston
94e7587db7
Merge branch 'travis/ftue/user-lists/4-composer' into travis/ftue/user-lists/4.5.5-paste
2020-01-08 21:20:57 -07:00
Travis Ralston
6e5de1893b
Bind handlers to this
2020-01-08 21:01:53 -07:00
Travis Ralston
ab5d82b5ac
Appease the linter
2020-01-08 20:53:20 -07:00
Travis Ralston
79ab69353c
Support searching for 3PIDs from the invite dialog
...
Part of https://github.com/vector-im/riot-web/issues/11199
2020-01-08 20:49:29 -07:00
Travis Ralston
36b7be920b
Merge branch 'travis/sourcemaps' into travis/babel7-wp-es6-fixes
2020-01-08 14:42:01 -07:00
Travis Ralston and GitHub
85c4c72bf3
Merge pull request #3767 from matrix-org/travis/babel7-wp-package
...
Update package.json for new build process + cosmetics
2020-01-08 11:10:05 -07:00
Travis Ralston and GitHub
59f608ffd6
Merge pull request #3761 from matrix-org/travis/babel7-wp-es6-export
...
Convert CommonJS exports to ES6 exports
2020-01-08 09:09:11 -07:00
Travis Ralston and GitHub
9aab1503a5
Merge pull request #3764 from matrix-org/travis/babel7-wp-es6-imports-2
...
Round 2 of CommonJS to ES6 imports
2020-01-08 09:08:36 -07:00
Travis Ralston
9213f88180
Re-add docs
2020-01-07 15:13:42 -07:00
Travis Ralston and GitHub
284a69f0b2
Merge pull request #3763 from matrix-org/travis/babel7-wp-es6-js-sdk
...
Use the new js-sdk imports and import from src
2020-01-07 14:27:19 -07:00
Travis Ralston and GitHub
f11f8dbc59
Merge pull request #3762 from matrix-org/travis/babel7-wp-es6-imports
...
Convert many imports to handle ES6 exports
2020-01-07 14:26:52 -07:00
Travis Ralston
67a67e3cb2
Merge branch 'travis/ftue/user-lists/4-composer' into travis/ftue/user-lists/4.5-paste-and-3pids
2020-01-07 13:04:36 -07:00
Travis Ralston
e7d48e00d2
Appease the scss linter too
2020-01-07 12:25:22 -07:00
Travis Ralston
4936e16a15
Remove unused ThreepidMember class for now
...
It's going to be used for future work in this area, but for this particular PR it isn't needed.
2020-01-07 12:21:14 -07:00
Travis Ralston
45a44b9102
Appease the linter
2020-01-07 12:20:02 -07:00
Travis Ralston
091bfdeaa0
Add checkmarks to selected individuals
2020-01-07 12:13:40 -07:00
Travis Ralston
ffd40c2c40
Initial editor for user list selection
...
For https://github.com/vector-im/riot-web/issues/11199
2020-01-07 12:13:40 -07:00
Travis Ralston and GitHub
b44e4ab45c
Merge pull request #3802 from matrix-org/travis/ftue/user-lists/3-filtering
...
Support filtering and searching for users to invite in DMs
2020-01-06 13:38:32 -07:00
Travis Ralston and GitHub
fb867fc05b
Merge pull request #3801 from matrix-org/travis/ftue/user-lists/2-suggestions
...
Add suggestions for which users to invite to chat
2020-01-06 12:32:27 -07:00
Travis Ralston
6c410e6027
Fix comment style
2020-01-06 12:23:35 -07:00
Travis Ralston
bef824e84e
Remove harmful html entities encoding and other style nits
...
React will take care of this for us. It's harmful because simple characters get converted to something illegible.
2020-01-06 12:22:17 -07:00
Travis Ralston and GitHub
4ab7b9ba92
Merge pull request #3809 from aaronraimist/pinned-msg-display-name
...
Use display name when pinned messages are changed
2020-01-05 22:18:21 -07:00
Travis Ralston and GitHub
92fb6fcdc2
Merge pull request #3790 from justin-sleep/fix-dark-diff-highlighting
...
Fix inverted diff line highlighting in dark theme
2020-01-05 17:08:38 -07:00
Travis Ralston and GitHub
781b69f4e3
Merge pull request #3693 from matrix-org/hs/bridge-info
...
Bridge info settings tab
2020-01-05 17:03:15 -07:00
Travis Ralston
8b4c1e3dec
Support searching in the user directory for invite targets
...
Part of https://github.com/vector-im/riot-web/issues/11200
2020-01-03 21:22:06 -07:00
Travis Ralston
df25a98810
Implement basic filtering for invite targets
...
Part of https://github.com/vector-im/riot-web/issues/11200
2020-01-03 21:22:06 -07:00
Travis Ralston
250222726d
Merge branch 'travis/ftue/user-lists/2-suggestions' into travis/ftue/user-lists/3-filtering
2020-01-03 20:34:00 -07:00
Travis Ralston
31d5617c97
Add suggestions for which users to invite to chat
...
Fixes https://github.com/vector-im/riot-web/issues/11198
Note this doesn't implement the entire algorithm in 11198 because it feels too complicated at this stage. Instead, the idea is to review the suggestions closer to when the whole dialog is complete and fix them then: https://github.com/vector-im/riot-web/issues/11769
Algorithm for picking members is largely based on https://github.com/matrix-org/matrix-react-sdk/commit/db5218e19a26b650d4af37de81f516c68ab7e9b8
2020-01-03 19:41:06 -07:00
Travis Ralston
206d4c78d2
Fix references to 'this' in Avatar and Unread
2020-01-03 12:32:29 -07:00
Travis Ralston
9edc361afc
Use new imports for js-sdk's ContentRepo
...
Per https://github.com/matrix-org/matrix-js-sdk/pull/1134/commits/f4d1c5c006027962cd18dffb3f7c521d9e24e831
2020-01-03 12:29:22 -07:00