Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: element-hq/element-web
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.7.5-r3
Choose a base ref
...
head repository: element-hq/element-web
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.8.0
Choose a head ref

Commits on Aug 22, 2016

  1. Copy the full SHA
    97daca4 View commit details
  2. Copy the full SHA
    71f73d8 View commit details
  3. Added catch to help get the Historical and any other weird sections i…

    …nto a sound state, so the states can then change correctly from then on
    wmwragg committed Aug 22, 2016
    Copy the full SHA
    895172d View commit details
  4. Copy the full SHA
    ff55a95 View commit details
  5. Copy the full SHA
    4d5e3bc View commit details
  6. Copy the full SHA
    ca4d506 View commit details

Commits on Aug 23, 2016

  1. Initial sub list notifications count. Still needs propagation of muti…

    …ng/unmuting etc. events from room tile up to sub list
    wmwragg committed Aug 23, 2016
    Copy the full SHA
    a980864 View commit details
  2. Copy the full SHA
    ef9d6d4 View commit details
  3. Copy the full SHA
    d3fa680 View commit details
  4. Copy the full SHA
    ee73bc3 View commit details
  5. Copy the full SHA
    2cf2df2 View commit details
  6. Copy the full SHA
    65d7d01 View commit details
  7. Making sure that the sub list count always stays up to date, includin…

    …g when people read the outstanding notifications
    wmwragg committed Aug 23, 2016
    Copy the full SHA
    d2e8201 View commit details
  8. notification panel WIP

    ara4n committed Aug 23, 2016
    Copy the full SHA
    f888ec6 View commit details
  9. notification panel WIP

    ara4n committed Aug 23, 2016
    Copy the full SHA
    2fae966 View commit details

Commits on Aug 25, 2016

  1. Turn react consistency checks back on in develop builds

    The react checks are useful on /develop, to catch programming errors earlier,
    and the original reason for turning them off (so that we could meaningfully
    compare performance between /develop and /beta) is no longer so
    relevant.
    
    This reverts commit b5f029d.
    richvdh committed Aug 25, 2016
    Copy the full SHA
    21ffe22 View commit details
  2. Copy the full SHA
    4cb1f8a View commit details

Commits on Aug 26, 2016

  1. Copy the full SHA
    a0236a9 View commit details
  2. Copy the full SHA
    d2937c2 View commit details
  3. Copy the full SHA
    5467fd8 View commit details
  4. Copy the full SHA
    5b9d3b1 View commit details
  5. Better comments

    wmwragg committed Aug 26, 2016
    Copy the full SHA
    7ad3f4a View commit details
  6. DIE ZALGO

    ara4n committed Aug 26, 2016
    Copy the full SHA
    879c325 View commit details
  7. Copy the full SHA
    dc44590 View commit details

Commits on Aug 28, 2016

  1. Copy the full SHA
    8d42687 View commit details
  2. Bottom line of the scroll area (well the top line of the bottom left …

    …menu) is now tinted same colour as the section headers
    wmwragg committed Aug 28, 2016
    Copy the full SHA
    b782e7b View commit details
  3. Added a border to the top of the sections to better seperate them whe…

    …n they are stuck together
    wmwragg committed Aug 28, 2016
    Copy the full SHA
    900b4b4 View commit details
  4. Removed the 2px border at top of labels to see if that has any effect…

    … on bottom stickies overscroll on matthews machine
    wmwragg committed Aug 28, 2016
    Copy the full SHA
    4ae424f View commit details
  5. Copy the full SHA
    93fff53 View commit details
  6. merge develop

    ara4n committed Aug 28, 2016
    Copy the full SHA
    b96ab58 View commit details
  7. Over scroll of bottom sticky headers should be fixed, and expansion o…

    …f hidden stuck headers should now work
    wmwragg committed Aug 28, 2016
    Copy the full SHA
    f2e8607 View commit details

Commits on Aug 30, 2016

  1. Code clean up, and better comments, along with z-index fixes for scro…

    …llbar and avatar menu
    wmwragg committed Aug 30, 2016
    Copy the full SHA
    ff3ad47 View commit details
  2. Copy the full SHA
    7b7a77b View commit details
  3. Copy the full SHA
    45a813b View commit details
  4. Copy the full SHA
    b91a0dd View commit details
  5. Merge pull request #2028 from vector-im/wmwragg/direct-chat-sublist

    Wmwragg/direct chat sublist
    ara4n authored Aug 30, 2016
    Copy the full SHA
    1bc1fc7 View commit details
  6. repin deps to dev

    ara4n committed Aug 30, 2016
    Copy the full SHA
    c7eba0f View commit details
  7. nudge jenkins

    ara4n committed Aug 30, 2016
    Copy the full SHA
    0aae88d View commit details
  8. Merge pull request #2009 from vector-im/rav/enable_react_checks

    Turn react consistency checks back on in develop builds
    richvdh authored Aug 30, 2016
    Copy the full SHA
    a269411 View commit details
  9. Copy the full SHA
    a047f81 View commit details

Commits on Aug 31, 2016

  1. get adding FilePanel

    ara4n committed Aug 31, 2016
    Copy the full SHA
    9d72a7c View commit details
  2. Copy the full SHA
    37c46cf View commit details
  3. Copy the full SHA
    eaf47ea View commit details
  4. call noisy notifs... noisy

    ara4n committed Aug 31, 2016
    Copy the full SHA
    56dfdbe View commit details
  5. Copy the full SHA
    735da3c View commit details
  6. Copy the full SHA
    cc75eb8 View commit details
  7. fix icon layout

    ara4n committed Aug 31, 2016
    Copy the full SHA
    ad26631 View commit details
  8. fix typing notif layout

    ara4n committed Aug 31, 2016
    Copy the full SHA
    e77e6c2 View commit details
  9. file upload when on call

    ara4n committed Aug 31, 2016
    Copy the full SHA
    7a89328 View commit details

Commits on Sep 1, 2016

  1. Copy the full SHA
    e856747 View commit details
Showing with 3,028 additions and 374 deletions.
  1. +69 −0 CHANGELOG.md
  2. +1 −0 README.md
  3. +14 −4 deploy/redeploy.py
  4. +6 −0 jenkins.sh
  5. +6 −6 package.json
  6. +2 −2 src/component-index.js
  7. +74 −17 src/components/structures/BottomLeftMenu.js
  8. +2 −2 src/components/structures/CompatibilityPage.js
  9. +1 −1 src/components/structures/LeftPanel.js
  10. +95 −7 src/components/structures/RightPanel.js
  11. +165 −50 src/components/structures/RoomDirectory.js
  12. +158 −24 src/components/structures/RoomSubList.js
  13. +15 −0 src/components/views/context_menus/MessageContextMenu.js
  14. +57 −5 src/components/views/context_menus/RoomTagContextMenu.js
  15. +13 −3 src/components/views/dialogs/ChangelogDialog.js
  16. +150 −0 src/components/views/directory/NetworkDropdown.js
  17. +1 −1 src/components/views/globals/GuestWarningBar.js
  18. +16 −3 src/components/views/globals/NewVersionBar.js
  19. +1 −1 src/components/views/login/VectorCustomServerDialog.js
  20. +2 −2 src/components/views/login/VectorLoginFooter.js
  21. +1 −1 src/components/views/login/VectorLoginHeader.js
  22. +0 −57 src/components/views/rooms/BottomLeftMenuTile.js
  23. +7 −1 src/components/views/rooms/{RoomDNDView.js → DNDRoomTile.js}
  24. +60 −23 src/components/views/rooms/RoomTooltip.js
  25. +10 −3 src/components/views/settings/IntegrationsManager.js
  26. +3 −3 src/components/views/settings/Notifications.js
  27. +11 −3 src/skins/vector/css/common.css
  28. +0 −6 src/skins/vector/css/hide.css
  29. +118 −0 src/skins/vector/css/matrix-react-sdk/structures/FilePanel.css
  30. +2 −2 src/skins/vector/css/matrix-react-sdk/structures/MatrixChat.css
  31. +104 −0 src/skins/vector/css/matrix-react-sdk/structures/NotificationPanel.css
  32. +9 −1 src/skins/vector/css/matrix-react-sdk/structures/RoomStatusBar.css
  33. +15 −1 src/skins/vector/css/matrix-react-sdk/structures/RoomView.css
  34. +0 −1 src/skins/vector/css/matrix-react-sdk/structures/SearchBox.css
  35. +12 −0 src/skins/vector/css/matrix-react-sdk/structures/UserSettings.css
  36. +65 −0 src/skins/vector/css/matrix-react-sdk/views/dialogs/ChatInviteDialog.css
  37. +20 −17 ...kins/vector/css/matrix-react-sdk/views/dialogs/{MultiInviteDialog.css → EncryptedEventDialog.css}
  38. +45 −0 src/skins/vector/css/matrix-react-sdk/views/elements/AddressSelector.css
  39. +138 −0 src/skins/vector/css/matrix-react-sdk/views/elements/AddressTile.css
  40. +17 −0 src/skins/vector/css/matrix-react-sdk/views/elements/RichText.css
  41. +0 −1 src/skins/vector/css/matrix-react-sdk/views/messages/MImageBody.css
  42. +49 −9 src/skins/vector/css/matrix-react-sdk/views/rooms/EventTile.css
  43. +1 −1 src/skins/vector/css/matrix-react-sdk/views/rooms/LinkPreviewWidget.css
  44. +25 −13 src/skins/vector/css/matrix-react-sdk/views/rooms/MemberDeviceInfo.css
  45. +23 −5 src/skins/vector/css/matrix-react-sdk/views/rooms/MemberInfo.css
  46. +21 −7 src/skins/vector/css/matrix-react-sdk/views/rooms/MemberList.css
  47. +87 −7 src/skins/vector/css/matrix-react-sdk/views/rooms/MessageComposer.css
  48. +5 −1 src/skins/vector/css/matrix-react-sdk/views/rooms/RoomList.css
  49. +12 −1 src/skins/vector/css/matrix-react-sdk/views/rooms/RoomSettings.css
  50. +38 −28 src/skins/vector/css/matrix-react-sdk/views/rooms/RoomTile.css
  51. +2 −0 src/skins/vector/css/matrix-react-sdk/views/rooms/TabCompleteBar.css
  52. +4 −0 src/skins/vector/css/matrix-react-sdk/views/settings/DevicesPanel.css
  53. +9 −11 src/skins/vector/css/matrix-react-sdk/views/settings/IntegrationsManager.css
  54. +11 −1 src/skins/vector/css/matrix-react-sdk/views/voip/CallView.css
  55. +19 −7 src/skins/vector/css/vector-web/structures/LeftPanel.css
  56. +33 −6 src/skins/vector/css/vector-web/structures/RightPanel.css
  57. +19 −3 src/skins/vector/css/vector-web/structures/RoomDirectory.css
  58. +205 −6 src/skins/vector/css/vector-web/structures/RoomSubList.css
  59. +4 −0 src/skins/vector/css/vector-web/views/dialogs/ChangelogDialog.css
  60. +77 −0 src/skins/vector/css/vector-web/views/directory/NetworkDropdown.css
  61. +2 −0 src/skins/vector/css/vector-web/views/rooms/RoomDropTarget.css
  62. +27 −6 src/skins/vector/css/vector-web/views/rooms/RoomTooltip.css
  63. +15 −0 src/skins/vector/img/avatar-error.svg
  64. BIN src/skins/vector/img/button-md-false.png
  65. +29 −0 src/skins/vector/img/button-md-false.svg
  66. BIN src/skins/vector/img/button-md-false@2x.png
  67. BIN src/skins/vector/img/button-md-false@3x.png
  68. BIN src/skins/vector/img/button-md-true.png
  69. +14 −0 src/skins/vector/img/button-md-true.svg
  70. BIN src/skins/vector/img/button-md-true@2x.png
  71. BIN src/skins/vector/img/button-md-true@3x.png
  72. +17 −0 src/skins/vector/img/button-text-bold-o-n.svg
  73. +17 −0 src/skins/vector/img/button-text-bold.svg
  74. +20 −0 src/skins/vector/img/button-text-bullet-o-n.svg
  75. +20 −0 src/skins/vector/img/button-text-bullet.svg
  76. +25 −0 src/skins/vector/img/button-text-code-o-n.svg
  77. +25 −0 src/skins/vector/img/button-text-code.svg
  78. +18 −0 src/skins/vector/img/button-text-formatting.svg
  79. +17 −0 src/skins/vector/img/button-text-italic-o-n.svg
  80. +17 −0 src/skins/vector/img/button-text-italic.svg
  81. +20 −0 src/skins/vector/img/button-text-numbullet-o-n.svg
  82. +20 −0 src/skins/vector/img/button-text-numbullet.svg
  83. +17 −0 src/skins/vector/img/button-text-quote-o-n.svg
  84. +17 −0 src/skins/vector/img/button-text-quote.svg
  85. +18 −0 src/skins/vector/img/button-text-strike-o-n.svg
  86. +18 −0 src/skins/vector/img/button-text-strike.svg
  87. +18 −0 src/skins/vector/img/button-text-underline-o-n.svg
  88. +18 −0 src/skins/vector/img/button-text-underline.svg
  89. +12 −0 src/skins/vector/img/e2e-blocked.svg
  90. +23 −0 src/skins/vector/img/e2e-unencrypted.svg
  91. +12 −0 src/skins/vector/img/e2e-verified.svg
  92. +12 −0 src/skins/vector/img/e2e-warning.svg
  93. +15 −0 src/skins/vector/img/icon-address-delete.svg
  94. +17 −0 src/skins/vector/img/icon-email-user.svg
  95. +24 −0 src/skins/vector/img/icon-invite-people.svg
  96. +15 −0 src/skins/vector/img/icon-mx-user.svg
  97. +15 −0 src/skins/vector/img/icon-text-cancel.svg
  98. +85 −0 src/skins/vector/img/icon_context_person.svg
  99. +85 −0 src/skins/vector/img/icon_context_person_on.svg
  100. +23 −0 src/skins/vector/img/icon_person.svg
  101. +15 −0 src/skins/vector/img/icons-close-button.svg
  102. +29 −0 src/skins/vector/img/icons-files.svg
  103. +19 −0 src/skins/vector/img/icons-notifications.svg
  104. +21 −8 src/skins/vector/img/icons-people.svg
  105. BIN src/skins/vector/img/logo.png
  106. +15 −0 src/skins/vector/img/search-icon-vector.svg
  107. +2 −2 src/vector/index.js
  108. +1 −1 test/app-tests/joining.js
  109. +31 −1 vector/config.sample.json
  110. +19 −2 vector/index.html
  111. BIN vector/vector-icons/android-chrome-144x144.png
  112. BIN vector/vector-icons/android-chrome-192x192.png
  113. BIN vector/vector-icons/android-chrome-36x36.png
  114. BIN vector/vector-icons/android-chrome-48x48.png
  115. BIN vector/vector-icons/android-chrome-72x72.png
  116. BIN vector/vector-icons/android-chrome-96x96.png
  117. BIN vector/vector-icons/apple-touch-icon-114x114.png
  118. BIN vector/vector-icons/apple-touch-icon-120x120.png
  119. BIN vector/vector-icons/apple-touch-icon-144x144.png
  120. BIN vector/vector-icons/apple-touch-icon-152x152.png
  121. BIN vector/vector-icons/apple-touch-icon-180x180.png
  122. BIN vector/vector-icons/apple-touch-icon-57x57.png
  123. BIN vector/vector-icons/apple-touch-icon-60x60.png
  124. BIN vector/vector-icons/apple-touch-icon-72x72.png
  125. BIN vector/vector-icons/apple-touch-icon-76x76.png
  126. BIN vector/vector-icons/apple-touch-icon-precomposed.png
  127. BIN vector/vector-icons/apple-touch-icon.png
  128. BIN vector/vector-icons/favicon-16x16.png
  129. BIN vector/vector-icons/favicon-32x32.png
  130. BIN vector/vector-icons/favicon-96x96.png
  131. BIN vector/vector-icons/favicon.ico
  132. BIN vector/vector-icons/mstile-70x70.png
69 changes: 69 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,72 @@
Changes in [0.8.0](https://github.com/vector-im/vector-web/releases/tag/v0.8.0) (2016-09-21)
============================================================================================
[Full Changelog](https://github.com/vector-im/vector-web/compare/v0.7.5-r3...v0.8.0)

* Dbkr/rebrand
[\#2285](https://github.com/vector-im/vector-web/pull/2285)
* Listen for close_scalar and close the dialog box when received
[\#2282](https://github.com/vector-im/vector-web/pull/2282)
* Revert "improve lipstick and support scalar logout"
[\#2281](https://github.com/vector-im/vector-web/pull/2281)
* improve lipstick and support scalar logout
[\#2280](https://github.com/vector-im/vector-web/pull/2280)
* Fix changelog links
[\#2071](https://github.com/vector-im/vector-web/pull/2071)
* Paginate Room Directory
[\#2241](https://github.com/vector-im/vector-web/pull/2241)
* Make redeploy script symlink config
[\#2240](https://github.com/vector-im/vector-web/pull/2240)
* Update the version of olm to 1.3.0
[\#2210](https://github.com/vector-im/vector-web/pull/2210)
* Directory network selector
[\#2219](https://github.com/vector-im/vector-web/pull/2219)
* Wmwragg/two state sublist headers
[\#2235](https://github.com/vector-im/vector-web/pull/2235)
* Wmwragg/correct incoming call positioning
[\#2222](https://github.com/vector-im/vector-web/pull/2222)
* Wmwragg/remove old filter
[\#2211](https://github.com/vector-im/vector-web/pull/2211)
* Wmwragg/multi invite bugfix
[\#2198](https://github.com/vector-im/vector-web/pull/2198)
* Wmwragg/chat multi invite
[\#2181](https://github.com/vector-im/vector-web/pull/2181)
* shuffle bottomleftmenu around a bit
[\#2182](https://github.com/vector-im/vector-web/pull/2182)
* Improve autocomplete behaviour (styling)
[\#2175](https://github.com/vector-im/vector-web/pull/2175)
* First wave of E2E visuals
[\#2163](https://github.com/vector-im/vector-web/pull/2163)
* FilePanel and NotificationPanel support
[\#2113](https://github.com/vector-im/vector-web/pull/2113)
* Cursor: pointer on member info create room button
[\#2151](https://github.com/vector-im/vector-web/pull/2151)
* Support for adding DM rooms to the MemberInfo Panel
[\#2147](https://github.com/vector-im/vector-web/pull/2147)
* Wmwragg/one to one indicators
[\#2139](https://github.com/vector-im/vector-web/pull/2139)
* Added back the Directory listing button, with new tootlip
[\#2136](https://github.com/vector-im/vector-web/pull/2136)
* wmwragg/chat invite dialog fix
[\#2134](https://github.com/vector-im/vector-web/pull/2134)
* Wmwragg/one to one chat
[\#2110](https://github.com/vector-im/vector-web/pull/2110)
* Support toggling DM status of rooms
[\#2111](https://github.com/vector-im/vector-web/pull/2111)
* Formatting toolbar for RTE message composer.
[\#2082](https://github.com/vector-im/vector-web/pull/2082)
* jenkins.sh: install olm from jenkins artifacts
[\#2092](https://github.com/vector-im/vector-web/pull/2092)
* e2e device CSS
[\#2085](https://github.com/vector-im/vector-web/pull/2085)
* Bump to olm 1.1.0
[\#2069](https://github.com/vector-im/vector-web/pull/2069)
* Improve readability of the changelog dialog
[\#2056](https://github.com/vector-im/vector-web/pull/2056)
* Turn react consistency checks back on in develop builds
[\#2009](https://github.com/vector-im/vector-web/pull/2009)
* Wmwragg/direct chat sublist
[\#2028](https://github.com/vector-im/vector-web/pull/2028)

Changes in [0.7.5-r3](https://github.com/vector-im/vector-web/releases/tag/v0.7.5-r3) (2016-09-02)
==================================================================================================
[Full Changelog](https://github.com/vector-im/vector-web/compare/v0.7.5-r2...v0.7.5-r3)
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -241,3 +241,4 @@ encrypted.
Note that historical encrypted messages cannot currently be decoded - history
is therefore lost when the page is reloaded.
18 changes: 14 additions & 4 deletions deploy/redeploy.py
Original file line number Diff line number Diff line change
@@ -5,8 +5,8 @@
from flask import Flask, jsonify, request, abort
app = Flask(__name__)

arg_jenkins_url, arg_extract_path, arg_should_clean, arg_symlink = (
None, None, None, None
arg_jenkins_url, arg_extract_path, arg_should_clean, arg_symlink, arg_config_location = (
None, None, None, None, None
)

def download_file(url):
@@ -122,6 +122,9 @@ def on_receive_jenkins_poke():

create_symlink(source=os.path.join(untar_location, "vector"), linkname=arg_symlink)

if arg_config_location:
create_symlink(source=arg_config_location, linkname=os.path.join(untar_location, "vector", 'config.json'))

return jsonify({})

if __name__ == "__main__":
@@ -154,6 +157,12 @@ def on_receive_jenkins_poke():
to the /vector directory INSIDE the tarball."
)
)
parser.add_argument(
"--config", dest="config", help=(
"Write a symlink to config.json in the extracted tarball. \
To this location."
)
)
args = parser.parse_args()
if args.jenkins.endswith("/"): # important for urljoin
arg_jenkins_url = args.jenkins
@@ -162,9 +171,10 @@ def on_receive_jenkins_poke():
arg_extract_path = args.extract
arg_should_clean = args.clean
arg_symlink = args.symlink
arg_config_location = args.config
print(
"Listening on port %s. Extracting to %s%s. Symlinking to %s. Jenkins URL: %s" %
"Listening on port %s. Extracting to %s%s. Symlinking to %s. Jenkins URL: %s. Config location: %s" %
(args.port, arg_extract_path,
" (clean after)" if arg_should_clean else "", arg_symlink, arg_jenkins_url)
" (clean after)" if arg_should_clean else "", arg_symlink, arg_jenkins_url, arg_config_location)
)
app.run(host="0.0.0.0", port=args.port, debug=True)
6 changes: 6 additions & 0 deletions jenkins.sh
Original file line number Diff line number Diff line change
@@ -13,6 +13,12 @@ npm install
# apparently npm 3.10.3 on node 6.4.0 doesn't upgrade #develop target with npm install unless explicitly asked.
npm install matrix-react-sdk matrix-js-sdk

# install olm. A naive 'npm i ./olm/olm-*.tgz' fails because it uses the url
# from our package.json (or even matrix-js-sdk's) in preference.
tar -C olm -xz < olm/olm-*.tgz
rm -r node_modules/olm
cp -r olm/package node_modules/olm

# we may be using a dev branch of react-sdk, in which case we need to build it
(cd node_modules/matrix-react-sdk && npm run build)

12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vector-web",
"version": "0.7.5-r3",
"version": "0.8.0",
"description": "Vector webapp",
"author": "matrix.org",
"repository": {
@@ -17,7 +17,7 @@
"build:css": "catw \"src/skins/vector/css/**/*.css\" -o vector/components.css --no-watch",
"build:compile": "babel --source-maps -d lib src",
"build:bundle": "NODE_ENV=production webpack -p lib/vector/index.js vector/bundle.js",
"build:bundle:dev": "NODE_ENV=production webpack --optimize-occurence-order lib/vector/index.js vector/bundle.js",
"build:bundle:dev": "webpack --optimize-occurence-order lib/vector/index.js vector/bundle.js",
"build:staticfiles": "cpx -v node_modules/olm/olm.js vector/",
"build": "npm run build:staticfiles && npm run build:emojione && npm run build:css && npm run build:compile && npm run build:bundle",
"build:dev": "npm run build:staticfiles && npm run build:emojione && npm run build:css && npm run build:compile && npm run build:bundle:dev",
@@ -39,16 +39,16 @@
"babel-polyfill": "^6.5.0",
"browser-request": "^0.3.3",
"classnames": "^2.1.2",
"draft-js": "^0.7.0",
"draft-js": "^0.8.1",
"extract-text-webpack-plugin": "^0.9.1",
"filesize": "^3.1.2",
"flux": "~2.0.3",
"gemini-scrollbar": "matrix-org/gemini-scrollbar#b302279",
"gfm.css": "^1.1.1",
"highlight.js": "^9.0.0",
"linkifyjs": "2.0.0-beta.4",
"matrix-js-sdk": "0.5.6",
"matrix-react-sdk": "0.6.5-r3",
"matrix-js-sdk": "0.6.0",
"matrix-react-sdk": "0.7.1",
"modernizr": "^3.1.0",
"q": "^1.4.1",
"react": "^15.2.1",
@@ -90,6 +90,6 @@
"webpack": "^1.12.14"
},
"optionalDependencies": {
"olm": "https://matrix.org/packages/npm/olm/olm-1.0.0.tgz"
"olm": "https://matrix.org/packages/npm/olm/olm-1.3.0.tgz"
}
}
4 changes: 2 additions & 2 deletions src/component-index.js
Original file line number Diff line number Diff line change
@@ -38,6 +38,7 @@ module.exports.components['views.context_menus.MessageContextMenu'] = require('.
module.exports.components['views.context_menus.NotificationStateContextMenu'] = require('./components/views/context_menus/NotificationStateContextMenu');
module.exports.components['views.context_menus.RoomTagContextMenu'] = require('./components/views/context_menus/RoomTagContextMenu');
module.exports.components['views.dialogs.ChangelogDialog'] = require('./components/views/dialogs/ChangelogDialog');
module.exports.components['views.directory.NetworkDropdown'] = require('./components/views/directory/NetworkDropdown');
module.exports.components['views.elements.ImageView'] = require('./components/views/elements/ImageView');
module.exports.components['views.elements.Spinner'] = require('./components/views/elements/Spinner');
module.exports.components['views.globals.GuestWarningBar'] = require('./components/views/globals/GuestWarningBar');
@@ -48,8 +49,7 @@ module.exports.components['views.login.VectorLoginFooter'] = require('./componen
module.exports.components['views.login.VectorLoginHeader'] = require('./components/views/login/VectorLoginHeader');
module.exports.components['views.messages.DateSeparator'] = require('./components/views/messages/DateSeparator');
module.exports.components['views.messages.MessageTimestamp'] = require('./components/views/messages/MessageTimestamp');
module.exports.components['views.rooms.BottomLeftMenuTile'] = require('./components/views/rooms/BottomLeftMenuTile');
module.exports.components['views.rooms.RoomDNDView'] = require('./components/views/rooms/RoomDNDView');
module.exports.components['views.rooms.DNDRoomTile'] = require('./components/views/rooms/DNDRoomTile');
module.exports.components['views.rooms.RoomDropTarget'] = require('./components/views/rooms/RoomDropTarget');
module.exports.components['views.rooms.RoomTooltip'] = require('./components/views/rooms/RoomTooltip');
module.exports.components['views.rooms.SearchBar'] = require('./components/views/rooms/SearchBar');
91 changes: 74 additions & 17 deletions src/components/structures/BottomLeftMenu.js
Original file line number Diff line number Diff line change
@@ -17,48 +17,105 @@ limitations under the License.
'use strict';

var React = require('react');
var ReactDOM = require('react-dom');
var sdk = require('matrix-react-sdk')
var dis = require('matrix-react-sdk/lib/dispatcher');

module.exports = React.createClass({
displayName: 'BottomLeftMenu',

propTypes: {
collapsed: React.PropTypes.bool.isRequired,
},

getInitialState: function() {
return({
directoryHover : false,
roomsHover : false,
peopleHover : false,
settingsHover : false,
});
},

// Room events
onDirectoryClick: function() {
dis.dispatch({ action: 'view_room_directory' });
},

onDirectoryMouseEnter: function() {
this.setState({ directoryHover: true });
},

onDirectoryMouseLeave: function() {
this.setState({ directoryHover: false });
},

onRoomsClick: function() {
dis.dispatch({ action: 'view_create_room' });
},

onRoomsMouseEnter: function() {
this.setState({ roomsHover: true });
},

onRoomsMouseLeave: function() {
this.setState({ roomsHover: false });
},

// People events
onPeopleClick: function() {
dis.dispatch({ action: 'view_create_chat' });
},

onPeopleMouseEnter: function() {
this.setState({ peopleHover: true });
},

onPeopleMouseLeave: function() {
this.setState({ peopleHover: false });
},

// Settings events
onSettingsClick: function() {
dis.dispatch({action: 'view_user_settings'});
dis.dispatch({ action: 'view_user_settings' });
},

onRoomDirectoryClick: function() {
dis.dispatch({action: 'view_room_directory'});
onSettingsMouseEnter: function() {
this.setState({ settingsHover: true });
},

onCreateRoomClick: function() {
dis.dispatch({action: 'view_create_room'});
onSettingsMouseLeave: function() {
this.setState({ settingsHover: false });
},

getLabel: function(name) {
if (!this.props.collapsed) {
return <div className="mx_RoomTile_name">{name}</div>
}
else if (this.state.hover) {
// Get the label/tooltip to show
getLabel: function(label, show) {
if (show) {
var RoomTooltip = sdk.getComponent("rooms.RoomTooltip");
return <RoomTooltip name={name}/>;
return <RoomTooltip className="mx_BottomLeftMenu_tooltip" label={label} />;
}
},

render: function() {
var BottomLeftMenuTile = sdk.getComponent('rooms.BottomLeftMenuTile');
var TintableSvg = sdk.getComponent('elements.TintableSvg');
return (
<div className="mx_BottomLeftMenu">
<div className="mx_BottomLeftMenu_options">
<div className="mx_BottomLeftMenu_createRoom" title="Start chat" onClick={ this.onCreateRoomClick }>
<TintableSvg src="img/icons-create-room.svg" width="25" height="25"/>
<div className="mx_BottomLeftMenu_people" onClick={ this.onPeopleClick } onMouseEnter={ this.onPeopleMouseEnter } onMouseLeave={ this.onPeopleMouseLeave } >
<TintableSvg src="img/icons-people.svg" width="25" height="25" />
{ this.getLabel("Start chat", this.state.peopleHover) }
</div>
<div className="mx_BottomLeftMenu_directory" title="Room directory" onClick={ this.onRoomDirectoryClick }>
<div className="mx_BottomLeftMenu_directory" onClick={ this.onDirectoryClick } onMouseEnter={ this.onDirectoryMouseEnter } onMouseLeave={ this.onDirectoryMouseLeave } >
<TintableSvg src="img/icons-directory.svg" width="25" height="25"/>
{ this.getLabel("Room directory", this.state.directoryHover) }
</div>
<div className="mx_BottomLeftMenu_createRoom" onClick={ this.onRoomsClick } onMouseEnter={ this.onRoomsMouseEnter } onMouseLeave={ this.onRoomsMouseLeave } >
<TintableSvg src="img/icons-create-room.svg" width="25" height="25" />
{ this.getLabel("Create new room", this.state.roomsHover) }
</div>
<div className="mx_BottomLeftMenu_settings" title="Settings" onClick={ this.onSettingsClick }>
<TintableSvg src="img/icons-settings.svg" width="25" height="25"/>
<div className="mx_BottomLeftMenu_settings" onClick={ this.onSettingsClick } onMouseEnter={ this.onSettingsMouseEnter } onMouseLeave={ this.onSettingsMouseLeave } >
<TintableSvg src="img/icons-settings.svg" width="25" height="25" />
{ this.getLabel("Settings", this.state.settingsHover) }
</div>
</div>
</div>
4 changes: 2 additions & 2 deletions src/components/structures/CompatibilityPage.js
Original file line number Diff line number Diff line change
@@ -39,9 +39,9 @@ module.exports = React.createClass({
return (
<div className="mx_CompatibilityPage">
<div className="mx_CompatibilityPage_box">
<p>Sorry, your browser is <b>not</b> able to run Vector.</p>
<p>Sorry, your browser is <b>not</b> able to run Riot.</p>
<p>
Vector uses many advanced browser features, some of which are not
Riot uses many advanced browser features, some of which are not
available or experimental in your current browser.
</p>
<p>
2 changes: 1 addition & 1 deletion src/components/structures/LeftPanel.js
Original file line number Diff line number Diff line change
@@ -109,7 +109,7 @@ var LeftPanel = React.createClass({
var CallView = sdk.getComponent('voip.CallView');
callPreview = (
<CallView
className="mx_LeftPanel_callView" onClick={this.onCallViewClick}
className="mx_LeftPanel_callView" showVoice={true} onClick={this.onCallViewClick}
ConferenceHandler={VectorConferenceHandler} />
);
}
Loading