Richard Lewis
5fc9b8a6b8
Indentation.
2018-03-29 16:23:20 +01:00
Richard Lewis
b4e70e30f3
Expects object, not naked ID.
2018-03-28 19:21:49 +01:00
Richard Lewis
4ac9653ab9
Refactor widget postMessage API.
2018-03-28 12:22:06 +01:00
Richard Lewis
74628120bf
Bump CI build
2018-03-22 10:21:37 +00:00
Richard Lewis
4d8f5072f7
Allow react performance profiling on widget iframes.
2018-03-16 10:20:14 +00:00
Richard Lewis
83412acbe7
Display sticker content (URL), rather than thumbnail.
2018-03-14 11:11:21 +00:00
Richard Lewis
66ea78de65
Clean up whitelisted permission addition / logging.
2018-03-13 11:59:15 +00:00
Richard Lewis
8b311c706c
Null guard widget listener
2018-03-13 11:58:47 +00:00
Richard Lewis
7d13edc67a
Get user widgets by default (if roomID is not specified).
2018-03-13 11:58:18 +00:00
Richard Lewis
f820374f9f
Logging.
2018-03-13 11:01:51 +00:00
Richard Lewis
53b716bad6
Throw capability request exception.
2018-03-13 10:51:01 +00:00
Richard Lewis
de33294000
Center loading spinner.
2018-03-13 10:07:49 +00:00
Richard Lewis
a81269cba8
Check if user widget.
2018-03-13 10:07:27 +00:00
Richard Lewis
b2d23b6999
Switch to 'm.sticker' message events. Allow whitelisting of wisget capabilities.
2018-03-12 13:56:02 +00:00
Richard Lewis
46f46ee294
Simplify request mapping.
2018-03-09 23:04:00 +00:00
Richard Lewis
7e062090de
Cleanup timeout before unmount.
2018-03-09 21:12:56 +00:00
Richard Lewis
a33859326e
Use getUserWidgets where possible.
2018-03-09 09:15:16 +00:00
Richard Lewis
e7c19fd83b
Don't render placeholder when image is visible.
2018-03-08 23:12:12 +00:00
Richard Lewis
e36ae3cede
Fix context menu offset.
2018-03-08 17:33:07 +00:00
Richard Lewis
fdec4b36c9
Hide padding if last control.
2018-03-08 17:25:28 +00:00
Richard Lewis
3ab8b1f866
Hide sticker picker delete button and show minimise button.
2018-03-08 17:20:42 +00:00
Richard Lewis
c59dd5b840
Add placeholders for sticker images (and fancy transitions).
2018-03-08 12:31:01 +00:00
Richard Lewis
b2bb15beb3
Remove accidentally checked in yarn.lock
2018-03-07 11:59:44 +00:00
Richard Lewis
7f91b47598
Move sticker picker icon.
2018-03-07 11:52:42 +00:00
Richard Lewis
b529edb5cc
Linting
2018-03-06 11:02:36 +00:00
Richard Lewis
d5465cf2fa
Prefix and clarify global variable naming.
2018-03-06 10:55:59 +00:00
Richard Lewis
7755a3ce90
Nest sticker image element for correct positioning of tooltips.
2018-03-06 10:48:32 +00:00
Richard Lewis
e2cedbe9d7
Pull in changes from develop
2018-03-05 16:43:59 +00:00
David Baker
9a7a7ea2d6
Merge pull request #1784 from matrix-org/luke/fix-group-avatar-default-colour
...
Fix varying default group avatar colour for given group
2018-03-01 15:56:33 +00:00
Luke Barnard
94c1baa25d
Fix varying default group avatar colour for given group
2018-03-01 15:42:22 +00:00
Luke Barnard
a62a650c5a
Merge pull request #1783 from matrix-org/luke/fix-group-avatar-update
...
Fix bug where avatar change not reflected in LLP
2018-03-01 15:38:12 +00:00
Luke Barnard
86295acba3
Merge branch 'develop' into luke/fix-group-avatar-update
2018-03-01 15:27:06 +00:00
Luke Barnard
d5908fbc1e
Fix FlairStore cache busting
2018-03-01 15:06:05 +00:00
David Baker
e91ae6b5ac
Merge pull request #1782 from matrix-org/luke/fix-drag-drop-click-weirdness
...
Workaround for atlassian/react-beautiful-dnd#273
2018-03-01 15:05:47 +00:00
David Baker
ef58f71152
Merge pull request #1781 from matrix-org/luke/feature-disable-tag-panel
...
Add setting to disable TagPanel
2018-03-01 15:05:09 +00:00
Luke Barnard
61a6f140f5
onClientSync -> _onClientSync
2018-03-01 14:43:26 +00:00
Luke Barnard
4037a22492
Fix bug where avatar change not reflected in LLP
...
Fixes vector-im/riot-web#6189
2018-03-01 14:40:03 +00:00
Luke Barnard
64332b3021
Workaround for atlassian/react-beautiful-dnd#273
...
Fix two bugs in Riot due to a single bug in react-b-dnd
Fixes vector-im/riot-web#6253
Fixes vector-im/riot-web#6156
2018-03-01 13:48:46 +00:00
Luke Barnard
f29918b766
gen-i18n
2018-02-28 18:18:59 +00:00
Luke Barnard
27c71f15b9
Add setting to disable TagPanel
2018-02-28 18:16:01 +00:00
David Baker
1ac62a17ff
Merge pull request #1779 from matrix-org/luke/fix-room-settings-power-levels
...
Fix room power level settings
2018-02-28 17:07:31 +00:00
Luke Barnard
fa9ff4ae6e
Merge pull request #1769 from matrix-org/t3chguy/fix_hide_joins_parts
...
fix shouldHideEvent saying an event is a leave/join when a profile ch…
2018-02-28 16:58:26 +00:00
Luke Barnard
d3dc2a33b4
Fix bug preventing setting room power levels
...
- don't use refs, use onChange of PowerSelector
- store power levels as state in the RoomSetting component
2018-02-28 16:32:20 +00:00
Luke Barnard
567d83ba52
Update PowerSelector to support powerLevelKey prop
...
As a key to send as second argument to onChange. This is useful
when passing the same callback to multiple PowerSelectors.
2018-02-28 16:15:20 +00:00
Luke Barnard
9a72e69a43
Handle lack of room directory visibility response
2018-02-28 16:14:18 +00:00
Luke Barnard
dd529791fb
Remove unused prop
2018-02-28 16:13:01 +00:00
Luke Barnard
d91d1932f4
Add tests for RoomSettings
...
For setting:
- name
- topic
- history visibility
- power levels
Testing RoomSettings required more stubbing on the matrix client.
The power level tests should be failing at this commit, with
fixes being made in upcoming commits.
Some tests are marked as known failures that we should fix but
aren't necessarily bugs:
- SettingStore.setValue is used when saving despite the user not
having made a change.
- Testing directory publicity changes cannot be tested because we
update state asynchronously in componentWillMount (which we do
not block on in beforeEach).
Also, we needed to use `export default` to make sure everything
uses the same client peg and client.
2018-02-28 16:07:21 +00:00
Richard Lewis
f3c928a4fc
Lint.
2018-02-28 13:43:19 +00:00
Richard Lewis
21c8bed94d
Bump build
2018-02-28 09:55:35 +00:00
Michael Telatynski
bd4b40309d
fix based on PR review
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2018-02-28 00:49:14 +00:00