rainny.git
3 years agoRelease v2.2.2 v2.2.2
Ajay Bura [Wed, 28 Sep 2022 15:18:41 +0000 (20:48 +0530)]
Release v2.2.2

3 years agoUpdate dependency matrix-js-sdk to v20 (#879)
renovate[bot] [Wed, 28 Sep 2022 15:13:56 +0000 (20:43 +0530)]
Update dependency matrix-js-sdk to v20 (#879)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
3 years agoRelease v2.2.1 v2.2.1
Krishan [Wed, 28 Sep 2022 13:56:12 +0000 (19:26 +0530)]
Release v2.2.1

3 years agoUpdate dependency matrix-js-sdk to v19.7.0 (#876)
renovate[bot] [Wed, 28 Sep 2022 13:46:07 +0000 (19:16 +0530)]
Update dependency matrix-js-sdk to v19.7.0 (#876)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
3 years agoFix crash on space leave
Ajay Bura [Wed, 28 Sep 2022 12:47:15 +0000 (18:17 +0530)]
Fix crash on space leave

3 years agoWrap view source text
Ajay Bura [Wed, 28 Sep 2022 08:24:58 +0000 (13:54 +0530)]
Wrap view source text

3 years agoHandle nested lists (#853)
ginnyTheCat [Sun, 25 Sep 2022 14:01:59 +0000 (16:01 +0200)]
Handle nested lists (#853)

* Handle nested lists

* Allow heading to not be followed by an empty line

* Don't parse as inline code if contains newlines

* Use escape rule in plain as well

3 years agoLock file maintenance (#873)
renovate[bot] [Sat, 24 Sep 2022 07:15:50 +0000 (12:45 +0530)]
Lock file maintenance (#873)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
3 years agoUpdate dependency sass to v1.55.0 (#872)
renovate[bot] [Sat, 24 Sep 2022 07:13:13 +0000 (12:43 +0530)]
Update dependency sass to v1.55.0 (#872)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
3 years agoUpdate dependency html-loader to v4.2.0 (#871)
renovate[bot] [Sat, 24 Sep 2022 07:10:16 +0000 (12:40 +0530)]
Update dependency html-loader to v4.2.0 (#871)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
3 years agoUpdate dependency eslint to v8.24.0 (#870)
renovate[bot] [Sat, 24 Sep 2022 07:07:41 +0000 (12:37 +0530)]
Update dependency eslint to v8.24.0 (#870)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
3 years agoUpdate dependency webpack-dev-server to v4.11.1 (#869)
renovate[bot] [Sat, 24 Sep 2022 07:05:29 +0000 (12:35 +0530)]
Update dependency webpack-dev-server to v4.11.1 (#869)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
3 years agoUpdate dependency @khanacademy/simple-markdown to v0.8.4 (#868)
renovate[bot] [Sat, 24 Sep 2022 07:03:28 +0000 (12:33 +0530)]
Update dependency @khanacademy/simple-markdown to v0.8.4 (#868)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
3 years agoRequire approval before opening dep update PR (#865)
Krishan [Mon, 19 Sep 2022 15:02:40 +0000 (20:32 +0530)]
Require approval before opening dep update PR (#865)

3 years agoLock file maintenance (#858)
renovate[bot] [Mon, 19 Sep 2022 04:37:01 +0000 (10:07 +0530)]
Lock file maintenance (#858)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
3 years agoUpdate dependency linkifyjs to v4.0.0 (#861)
renovate[bot] [Mon, 19 Sep 2022 04:33:45 +0000 (10:03 +0530)]
Update dependency linkifyjs to v4.0.0 (#861)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
3 years agoUpdate dependency sanitize-html to v2.7.2 (#862)
renovate[bot] [Mon, 19 Sep 2022 04:32:57 +0000 (10:02 +0530)]
Update dependency sanitize-html to v2.7.2 (#862)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
3 years agoUpdate dependency linkify-html to v4.0.0 (#860)
renovate[bot] [Mon, 19 Sep 2022 04:32:15 +0000 (10:02 +0530)]
Update dependency linkify-html to v4.0.0 (#860)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
3 years agoUpdate babel monorepo to v7.19.1 (#859)
renovate[bot] [Mon, 19 Sep 2022 03:43:58 +0000 (09:13 +0530)]
Update babel monorepo to v7.19.1 (#859)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
3 years agoLock file maintenance (#857)
renovate[bot] [Mon, 19 Sep 2022 03:28:19 +0000 (08:58 +0530)]
Lock file maintenance (#857)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
3 years agoUpdate sdk doc link so that it's not fixed to one version
Ajay Bura [Sun, 18 Sep 2022 14:48:23 +0000 (20:18 +0530)]
Update sdk doc link so that it's not fixed to one version

3 years agoRelease v2.2.0 v2.2.0
Krishan [Sat, 17 Sep 2022 13:34:13 +0000 (19:04 +0530)]
Release v2.2.0

3 years agoOnly escape when editing (#852)
ginnyTheCat [Sat, 17 Sep 2022 11:25:26 +0000 (13:25 +0200)]
Only escape when editing (#852)

* Only escape when editing

* Base edit change detection on rendered content

3 years agoAdd clear cache btn in loading screen
Ajay Bura [Sat, 17 Sep 2022 10:18:45 +0000 (15:48 +0530)]
Add clear cache btn in loading screen

3 years agoAdd Clear cache and reload button (#793)
morguldir [Sat, 17 Sep 2022 07:51:22 +0000 (09:51 +0200)]
Add Clear cache and reload button (#793)

Inspired by: https://github.com/matrix-org/matrix-react-sdk/blob/3c5c2bef6dbac51ce6e1864056523815ca4c38d9/src/components/views/elements/ErrorBoundary.tsx#L61-L68

Signed-off-by: morguldir <morguldir@protonmail.com>
Signed-off-by: morguldir <morguldir@protonmail.com>
3 years agoParsing HTML to Markdown AST (#847)
ginnyTheCat [Fri, 16 Sep 2022 15:51:53 +0000 (17:51 +0200)]
Parsing HTML to Markdown AST (#847)

* Force mentions to have a space after the #

* Use types for rendering

* Parse HTML

* Add code block support

* Add table support

* Allow starting heading without a space

* Escape relevant plaintext areas

* Resolve many crashes

* Use better matrix id regex

* Don't match . after id

* Don't parse mentions as links

* Add emote support

* Only emit HTML link if necessary

* Implement review changes

3 years agoLock file maintenance (#846)
renovate[bot] [Wed, 14 Sep 2022 13:33:59 +0000 (19:03 +0530)]
Lock file maintenance (#846)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
3 years agoBump css-minimizer-webpack-plugin from 4.0.0 to 4.1.0 (#843)
dependabot[bot] [Wed, 14 Sep 2022 11:23:47 +0000 (16:53 +0530)]
Bump css-minimizer-webpack-plugin from 4.0.0 to 4.1.0 (#843)

Bumps [css-minimizer-webpack-plugin](https://github.com/webpack-contrib/css-minimizer-webpack-plugin) from 4.0.0 to 4.1.0.
- [Release notes](https://github.com/webpack-contrib/css-minimizer-webpack-plugin/releases)
- [Changelog](https://github.com/webpack-contrib/css-minimizer-webpack-plugin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/css-minimizer-webpack-plugin/compare/v4.0.0...v4.1.0)

---
updated-dependencies:
- dependency-name: css-minimizer-webpack-plugin
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3 years agoUpdate dependency matrix-js-sdk to v19.5.0 (#845)
renovate[bot] [Wed, 14 Sep 2022 11:21:02 +0000 (16:51 +0530)]
Update dependency matrix-js-sdk to v19.5.0 (#845)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
3 years agoBump blurhash from 1.1.5 to 2.0.0 (#842)
dependabot[bot] [Wed, 14 Sep 2022 11:18:42 +0000 (16:48 +0530)]
Bump blurhash from 1.1.5 to 2.0.0 (#842)

Bumps [blurhash](https://github.com/woltapp/blurhash) from 1.1.5 to 2.0.0.
- [Release notes](https://github.com/woltapp/blurhash/releases)
- [Commits](https://github.com/woltapp/blurhash/commits)

---
updated-dependencies:
- dependency-name: blurhash
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3 years agoBump webpack-dev-server from 4.10.1 to 4.11.0 (#841)
dependabot[bot] [Wed, 14 Sep 2022 11:16:11 +0000 (16:46 +0530)]
Bump webpack-dev-server from 4.10.1 to 4.11.0 (#841)

Bumps [webpack-dev-server](https://github.com/webpack/webpack-dev-server) from 4.10.1 to 4.11.0.
- [Release notes](https://github.com/webpack/webpack-dev-server/releases)
- [Changelog](https://github.com/webpack/webpack-dev-server/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack/webpack-dev-server/compare/v4.10.1...v4.11.0)

---
updated-dependencies:
- dependency-name: webpack-dev-server
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3 years agoBump eslint from 8.23.0 to 8.23.1 (#840)
dependabot[bot] [Wed, 14 Sep 2022 11:14:47 +0000 (16:44 +0530)]
Bump eslint from 8.23.0 to 8.23.1 (#840)

Bumps [eslint](https://github.com/eslint/eslint) from 8.23.0 to 8.23.1.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.23.0...v8.23.1)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3 years agoAllow rendering messages as plaintext (#805)
ginnyTheCat [Wed, 14 Sep 2022 09:00:06 +0000 (11:00 +0200)]
Allow rendering messages as plaintext (#805)

* Parse room input from user id and emoji

* Add more plain outputs

* Add reply support

* Always include formatted reply

* Add room mention parser

* Allow single linebreak after codeblock

* Remove margin from math display blocks

* Escape shrug

* Rewrite HTML tag function

* Normalize def keys

* Fix embedding replies into replies

* Don't add margin to file name

* Collapse spaces in HTML message body

* Don't crash with no plaintext rendering

* Add blockquote support

* Remove ref support

* Fix image html rendering

* Remove debug output

* Remove duplicate default option value

* Add table plain rendering support

* Correctly handle paragraph padding when mixed with block content

* Simplify links if possible

* Make blockquote plain rendering better

* Don't error when emojis are matching but not found

* Allow plain only messages with newlines

* Set user id as user mention fallback

* Fix mixed up variable name

* Replace replaceAll with replace

3 years agoBump sass from 1.54.5 to 1.54.9 (#837)
dependabot[bot] [Sun, 11 Sep 2022 13:29:31 +0000 (18:59 +0530)]
Bump sass from 1.54.5 to 1.54.9 (#837)

Bumps [sass](https://github.com/sass/dart-sass) from 1.54.5 to 1.54.9.
- [Release notes](https://github.com/sass/dart-sass/releases)
- [Changelog](https://github.com/sass/dart-sass/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sass/dart-sass/compare/1.54.5...1.54.9)

---
updated-dependencies:
- dependency-name: sass
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Ajay Bura <32841439+ajbura@users.noreply.github.com>
3 years agoBump @babel/core from 7.18.13 to 7.19.0 (#824)
dependabot[bot] [Sun, 11 Sep 2022 13:29:16 +0000 (18:59 +0530)]
Bump @babel/core from 7.18.13 to 7.19.0 (#824)

Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.18.13 to 7.19.0.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.19.0/packages/babel-core)

---
updated-dependencies:
- dependency-name: "@babel/core"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Ajay Bura <32841439+ajbura@users.noreply.github.com>
3 years agoBump webpack-merge from 5.7.3 to 5.8.0 (#822)
dependabot[bot] [Sun, 11 Sep 2022 13:28:33 +0000 (18:58 +0530)]
Bump webpack-merge from 5.7.3 to 5.8.0 (#822)

Bumps [webpack-merge](https://github.com/survivejs/webpack-merge) from 5.7.3 to 5.8.0.
- [Release notes](https://github.com/survivejs/webpack-merge/releases)
- [Changelog](https://github.com/survivejs/webpack-merge/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/survivejs/webpack-merge/compare/v5.7.3...v5.8.0)

---
updated-dependencies:
- dependency-name: webpack-merge
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Ajay Bura <32841439+ajbura@users.noreply.github.com>
3 years agoBump eslint-plugin-react from 7.31.1 to 7.31.8 (#838)
dependabot[bot] [Sun, 11 Sep 2022 13:27:15 +0000 (18:57 +0530)]
Bump eslint-plugin-react from 7.31.1 to 7.31.8 (#838)

Bumps [eslint-plugin-react](https://github.com/jsx-eslint/eslint-plugin-react) from 7.31.1 to 7.31.8.
- [Release notes](https://github.com/jsx-eslint/eslint-plugin-react/releases)
- [Changelog](https://github.com/jsx-eslint/eslint-plugin-react/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jsx-eslint/eslint-plugin-react/compare/v7.31.1...v7.31.8)

---
updated-dependencies:
- dependency-name: eslint-plugin-react
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Ajay Bura <32841439+ajbura@users.noreply.github.com>
3 years agoBump @babel/preset-env from 7.18.10 to 7.19.0 (#825)
dependabot[bot] [Sun, 11 Sep 2022 13:24:24 +0000 (18:54 +0530)]
Bump @babel/preset-env from 7.18.10 to 7.19.0 (#825)

Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.18.10 to 7.19.0.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.19.0/packages/babel-preset-env)

---
updated-dependencies:
- dependency-name: "@babel/preset-env"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Ajay Bura <32841439+ajbura@users.noreply.github.com>
3 years agoBump html-webpack-plugin from 5.3.1 to 5.5.0 (#829)
dependabot[bot] [Sun, 11 Sep 2022 13:23:03 +0000 (18:53 +0530)]
Bump html-webpack-plugin from 5.3.1 to 5.5.0 (#829)

Bumps [html-webpack-plugin](https://github.com/jantimon/html-webpack-plugin) from 5.3.1 to 5.5.0.
- [Release notes](https://github.com/jantimon/html-webpack-plugin/releases)
- [Changelog](https://github.com/jantimon/html-webpack-plugin/blob/main/CHANGELOG.md)
- [Commits](https://github.com/jantimon/html-webpack-plugin/compare/v5.3.1...v5.5.0)

---
updated-dependencies:
- dependency-name: html-webpack-plugin
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Ajay Bura <32841439+ajbura@users.noreply.github.com>
3 years agoDelete notifications after messages have been read or deleted (#830)
ginnyTheCat [Sun, 11 Sep 2022 13:21:59 +0000 (15:21 +0200)]
Delete notifications after messages have been read or deleted (#830)

* Delete read notifications

* Delete notifications for deleted messages

* Correctly remove notification

3 years agoHandle messages with invalid body (#833)
ginnyTheCat [Sun, 11 Sep 2022 13:21:05 +0000 (15:21 +0200)]
Handle messages with invalid body (#833)

3 years agoChange UI label (#832)
ginnyTheCat [Sun, 11 Sep 2022 11:14:39 +0000 (13:14 +0200)]
Change UI label (#832)

3 years agoAdd plain text command
Ajay Bura [Sun, 11 Sep 2022 06:48:32 +0000 (12:18 +0530)]
Add plain text command

3 years agoRemove markdown icon from input
Ajay Bura [Sun, 11 Sep 2022 03:49:22 +0000 (09:19 +0530)]
Remove markdown icon from input

3 years agoUpdate command strings
Ajay Bura [Sun, 11 Sep 2022 02:57:59 +0000 (08:27 +0530)]
Update command strings

3 years agoUpdate and simplify actions (#831)
Krishan [Wed, 7 Sep 2022 08:16:44 +0000 (13:46 +0530)]
Update and simplify actions  (#831)

* Replace action with one we use already

* Simplify PR actions

* fix name

3 years agoFix emojiboard icon background
Ajay Bura [Wed, 7 Sep 2022 07:54:26 +0000 (13:24 +0530)]
Fix emojiboard icon background

3 years agoFix crash in manage device
Ajay Bura [Wed, 7 Sep 2022 07:44:15 +0000 (13:14 +0530)]
Fix crash in manage device

3 years agoFix crash with unknown mime type
Ajay Bura [Wed, 7 Sep 2022 03:10:10 +0000 (08:40 +0530)]
Fix crash with unknown mime type

3 years agoFix unwanted changes
Ajay Bura [Tue, 6 Sep 2022 08:55:13 +0000 (14:25 +0530)]
Fix unwanted changes

3 years agoFix wrong notification count
Ajay Bura [Tue, 6 Sep 2022 08:52:56 +0000 (14:22 +0530)]
Fix wrong notification count

3 years agoConfigure Renovate (#819)
renovate[bot] [Mon, 5 Sep 2022 14:13:11 +0000 (19:43 +0530)]
Configure Renovate (#819)

* Add renovate.json

* Add renovate config

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Krishan <33421343+kfiven@users.noreply.github.com>
3 years agoAdd lockfile changes action (#818)
Krishan [Mon, 5 Sep 2022 13:56:28 +0000 (19:26 +0530)]
Add lockfile changes action (#818)

3 years agoCopy Olm directly from node modules (fixes #206) (#817)
Krishan [Mon, 5 Sep 2022 06:56:44 +0000 (12:26 +0530)]
Copy Olm directly from node modules (fixes #206) (#817)

3 years agoManage ignored users (#814)
Ajay Bura [Mon, 5 Sep 2022 03:00:45 +0000 (08:30 +0530)]
Manage ignored users (#814)

* Add options to display/ignore usersId's

* Update string

* Hide search icon in encrypted rooms (#763)

* Fix styles

3 years agoPin all deps for greatest reliability/predictability (#812)
Krishan [Sun, 4 Sep 2022 14:21:58 +0000 (19:51 +0530)]
Pin all deps for greatest reliability/predictability (#812)

3 years agoRemove favicons-webpack-plugin (#811)
Ajay Bura [Sun, 4 Sep 2022 13:53:02 +0000 (19:23 +0530)]
Remove favicons-webpack-plugin (#811)

* Remove favicons-webpack-plugin

* Copy android/* icons to dist

* Add favicon ico

3 years agoAllow mimetypes with suffix in safe check (#808)
ginnyTheCat [Sun, 4 Sep 2022 13:45:07 +0000 (15:45 +0200)]
Allow mimetypes with suffix in safe check (#808)

3 years agoFix multiple favicon changing request
Ajay Bura [Sun, 4 Sep 2022 08:03:41 +0000 (13:33 +0530)]
Fix multiple favicon changing request

3 years agoNotification settings (#807)
Ajay Bura [Sun, 4 Sep 2022 07:40:07 +0000 (13:10 +0530)]
Notification settings (#807)

* Add account data hook

* Add options to change global notification

* Add options to add keywords

* Fix wrong notification count

* Show unread badge in favicon (#251)

* Fix favicon badge

* Fix bug

* Fix favicon not updating

* Add favicon svg's

* remove dead code

3 years agoFix commands (#791)
Ajay Bura [Sat, 3 Sep 2022 16:16:40 +0000 (21:46 +0530)]
Fix commands (#791)

* Fix commands and added more

* Add /me & /shrug commands

* Add help command

* Fix cmd descriptions

* Add reason in command

3 years agoAdd npmrc so that newer node/npm version works (#806)
Krishan [Sat, 3 Sep 2022 16:06:47 +0000 (21:36 +0530)]
Add npmrc so that newer node/npm version works (#806)

* Add .npmrc so that it works with newer npm

* Remove engine upper limit as it works with npmrc

* Lockfile maintainace, created new mapping with npm install

* Add npmrc so Docker doesnt fail on new npm version

* Revert 8a1946d55833daee6b335189733f02251de4c181 will set renovate

3 years agoBump katex from 0.16.0 to 0.16.2 (#802)
dependabot[bot] [Fri, 2 Sep 2022 14:01:28 +0000 (19:31 +0530)]
Bump katex from 0.16.0 to 0.16.2 (#802)

Bumps [katex](https://github.com/KaTeX/KaTeX) from 0.16.0 to 0.16.2.
- [Release notes](https://github.com/KaTeX/KaTeX/releases)
- [Changelog](https://github.com/KaTeX/KaTeX/blob/main/CHANGELOG.md)
- [Commits](https://github.com/KaTeX/KaTeX/compare/v0.16.0...v0.16.2)

---
updated-dependencies:
- dependency-name: katex
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3 years agoBump eslint from 8.22.0 to 8.23.0 (#799)
dependabot[bot] [Fri, 2 Sep 2022 13:51:45 +0000 (19:21 +0530)]
Bump eslint from 8.22.0 to 8.23.0 (#799)

Bumps [eslint](https://github.com/eslint/eslint) from 8.22.0 to 8.23.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.22.0...v8.23.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Ajay Bura <32841439+ajbura@users.noreply.github.com>
3 years agoBump webpack-dev-server from 4.10.0 to 4.10.1 (#800)
dependabot[bot] [Fri, 2 Sep 2022 13:46:28 +0000 (19:16 +0530)]
Bump webpack-dev-server from 4.10.0 to 4.10.1 (#800)

Bumps [webpack-dev-server](https://github.com/webpack/webpack-dev-server) from 4.10.0 to 4.10.1.
- [Release notes](https://github.com/webpack/webpack-dev-server/releases)
- [Changelog](https://github.com/webpack/webpack-dev-server/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack/webpack-dev-server/compare/v4.10.0...v4.10.1)

---
updated-dependencies:
- dependency-name: webpack-dev-server
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Ajay Bura <32841439+ajbura@users.noreply.github.com>
3 years agoBump html-react-parser from 3.0.1 to 3.0.4 (#797)
dependabot[bot] [Fri, 2 Sep 2022 13:45:59 +0000 (19:15 +0530)]
Bump html-react-parser from 3.0.1 to 3.0.4 (#797)

Bumps [html-react-parser](https://github.com/remarkablemark/html-react-parser) from 3.0.1 to 3.0.4.
- [Release notes](https://github.com/remarkablemark/html-react-parser/releases)
- [Changelog](https://github.com/remarkablemark/html-react-parser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/remarkablemark/html-react-parser/compare/v3.0.1...v3.0.4)

---
updated-dependencies:
- dependency-name: html-react-parser
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Ajay Bura <32841439+ajbura@users.noreply.github.com>
3 years agoBump eslint-plugin-react from 7.30.1 to 7.31.1 (#796)
dependabot[bot] [Fri, 2 Sep 2022 13:45:28 +0000 (19:15 +0530)]
Bump eslint-plugin-react from 7.30.1 to 7.31.1 (#796)

Bumps [eslint-plugin-react](https://github.com/jsx-eslint/eslint-plugin-react) from 7.30.1 to 7.31.1.
- [Release notes](https://github.com/jsx-eslint/eslint-plugin-react/releases)
- [Changelog](https://github.com/jsx-eslint/eslint-plugin-react/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jsx-eslint/eslint-plugin-react/compare/v7.30.1...v7.31.1)

---
updated-dependencies:
- dependency-name: eslint-plugin-react
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Ajay Bura <32841439+ajbura@users.noreply.github.com>
3 years agoBump actions/github-script from 6.1.1 to 6.2.0 (#794)
dependabot[bot] [Fri, 2 Sep 2022 13:45:03 +0000 (19:15 +0530)]
Bump actions/github-script from 6.1.1 to 6.2.0 (#794)

Bumps [actions/github-script](https://github.com/actions/github-script) from 6.1.1 to 6.2.0.
- [Release notes](https://github.com/actions/github-script/releases)
- [Commits](https://github.com/actions/github-script/compare/v6.1.1...v6.2.0)

---
updated-dependencies:
- dependency-name: actions/github-script
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Ajay Bura <32841439+ajbura@users.noreply.github.com>
3 years agoBump @babel/core from 7.18.10 to 7.18.13 (#783)
dependabot[bot] [Fri, 2 Sep 2022 13:44:34 +0000 (19:14 +0530)]
Bump @babel/core from 7.18.10 to 7.18.13 (#783)

Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.18.10 to 7.18.13.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.18.13/packages/babel-core)

---
updated-dependencies:
- dependency-name: "@babel/core"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Ajay Bura <32841439+ajbura@users.noreply.github.com>
3 years agoBump sass from 1.54.4 to 1.54.5 (#781)
dependabot[bot] [Fri, 2 Sep 2022 13:44:14 +0000 (19:14 +0530)]
Bump sass from 1.54.4 to 1.54.5 (#781)

Bumps [sass](https://github.com/sass/dart-sass) from 1.54.4 to 1.54.5.
- [Release notes](https://github.com/sass/dart-sass/releases)
- [Changelog](https://github.com/sass/dart-sass/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sass/dart-sass/compare/1.54.4...1.54.5)

---
updated-dependencies:
- dependency-name: sass
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Ajay Bura <32841439+ajbura@users.noreply.github.com>
3 years agoRelease v2.1.3
Krishan [Wed, 31 Aug 2022 15:55:35 +0000 (21:25 +0530)]
Release v2.1.3

3 years agoBump matrix-js-sdk from 19.2.0 to 19.4.0
Ajay Bura [Wed, 31 Aug 2022 16:21:02 +0000 (21:51 +0530)]
Bump matrix-js-sdk from 19.2.0 to 19.4.0

3 years agoImplement cancel replyto on escape key press (#777)
jameskitt616 [Sat, 27 Aug 2022 02:51:41 +0000 (04:51 +0200)]
Implement cancel replyto on escape key press (#777)

3 years agoSimplify readme and add various helpful links (#776)
Krishan [Mon, 22 Aug 2022 02:59:47 +0000 (08:29 +0530)]
Simplify readme and add various helpful links (#776)

* Simplyfy readme and add various helpful links

* update intro

* Add desktop app link

3 years agoEdit last message with up arrow key (#774)
Ajay Bura [Sun, 21 Aug 2022 14:11:48 +0000 (19:41 +0530)]
Edit last message with up arrow key (#774)

3 years agoRework Markdown parsing (#719)
ginnyTheCat [Sun, 21 Aug 2022 14:04:09 +0000 (16:04 +0200)]
Rework Markdown parsing (#719)

* Switch markdown parser

* Add inline maths

* Basic plain text rendering

* Add display math support

* Remove unnecessary <p> tag

* Fixed spoiler not working

* Add spoiler reason input support

* Make paragraphs display with newline in between

* Handle single newlines

* Fix typo when allowing start attribute

* Cleanup for merge

* Remove unused import

3 years agoFix open room from search always open same space
Ajay Bura [Sun, 21 Aug 2022 03:21:13 +0000 (08:51 +0530)]
Fix open room from search always open same space

3 years agoFix image lightbox height
Ajay Bura [Sun, 21 Aug 2022 03:03:47 +0000 (08:33 +0530)]
Fix image lightbox height

3 years agoBump actions/github-script from 6.1.0 to 6.1.1 (#755)
dependabot[bot] [Sat, 20 Aug 2022 15:39:36 +0000 (21:09 +0530)]
Bump actions/github-script from 6.1.0 to 6.1.1 (#755)

Bumps [actions/github-script](https://github.com/actions/github-script) from 6.1.0 to 6.1.1.
- [Release notes](https://github.com/actions/github-script/releases)
- [Commits](https://github.com/actions/github-script/compare/v6.1.0...v6.1.1)

---
updated-dependencies:
- dependency-name: actions/github-script
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3 years agoBump eslint from 8.21.0 to 8.22.0 (#756)
dependabot[bot] [Sat, 20 Aug 2022 15:39:08 +0000 (21:09 +0530)]
Bump eslint from 8.21.0 to 8.22.0 (#756)

Bumps [eslint](https://github.com/eslint/eslint) from 8.21.0 to 8.22.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.21.0...v8.22.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3 years agoFix room not selecting with bad emoji data (#772)
Ajay Bura [Sat, 20 Aug 2022 15:37:20 +0000 (21:07 +0530)]
Fix room not selecting with bad emoji data (#772)

3 years agoBump sass from 1.54.3 to 1.54.4 (#757)
dependabot[bot] [Sat, 20 Aug 2022 15:35:35 +0000 (21:05 +0530)]
Bump sass from 1.54.3 to 1.54.4 (#757)

Bumps [sass](https://github.com/sass/dart-sass) from 1.54.3 to 1.54.4.
- [Release notes](https://github.com/sass/dart-sass/releases)
- [Changelog](https://github.com/sass/dart-sass/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sass/dart-sass/compare/1.54.3...1.54.4)

---
updated-dependencies:
- dependency-name: sass
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Krishan <33421343+kfiven@users.noreply.github.com>
3 years agoBump webpack-dev-server from 4.9.3 to 4.10.0 (#758)
dependabot[bot] [Sat, 20 Aug 2022 15:33:02 +0000 (21:03 +0530)]
Bump webpack-dev-server from 4.9.3 to 4.10.0 (#758)

Bumps [webpack-dev-server](https://github.com/webpack/webpack-dev-server) from 4.9.3 to 4.10.0.
- [Release notes](https://github.com/webpack/webpack-dev-server/releases)
- [Changelog](https://github.com/webpack/webpack-dev-server/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack/webpack-dev-server/compare/v4.9.3...v4.10.0)

---
updated-dependencies:
- dependency-name: webpack-dev-server
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Krishan <33421343+kfiven@users.noreply.github.com>
3 years agoPush Docker image to ghcr registry (#764)
Krishan [Sat, 20 Aug 2022 15:29:02 +0000 (20:59 +0530)]
Push Docker image to ghcr registry (#764)

* Push Docker image to ghcr registry

* Fix secret name

* add permission to token to write package to ghcr

Co-authored-by: Ajay Bura <32841439+ajbura@users.noreply.github.com>
3 years agoUpdate sidebar on room/space switch (#768)
Ajay Bura [Sat, 20 Aug 2022 15:21:37 +0000 (20:51 +0530)]
Update sidebar on room/space switch (#768)

* Select last room on space/tab change (#353)

* Update sidbar on room select from search (#374)

* Select last room on space/tab change (#353)

* Update sidbar on room select from search (#374)

* Fix wrong space gets selected with some rooms

* Fix auto select room in categorized space

* Fix room remain selected on leave

* Fix leaved room appear in category & search

* Remove globally exposed vars

* Hide pin spaces from home

* Fix selecting dm always open dm tab

* Order category by AtoZ (#769)

Co-authored-by: Krishan <33421343+kfiven@users.noreply.github.com>
3 years agoAdd cancel edit-message on Escape Key press (#765)
jameskitt616 [Sat, 20 Aug 2022 13:26:37 +0000 (15:26 +0200)]
Add cancel edit-message on Escape Key press (#765)

3 years agoFix more css bugs
Ajay Bura [Fri, 19 Aug 2022 09:49:12 +0000 (15:19 +0530)]
Fix more css bugs

3 years agoFix minor css bugs
Ajay Bura [Fri, 19 Aug 2022 08:27:24 +0000 (13:57 +0530)]
Fix minor css bugs

3 years agoOpen image in lightbox (#767)
Ajay Bura [Fri, 19 Aug 2022 06:45:22 +0000 (12:15 +0530)]
Open image in lightbox (#767)

* Add lightbox

* Fix vertical media height (#467)

* Update dialog animation

* Fix overlay opacity

* Fix dialog animation

* Update open in new tab icon

3 years agoImprove MIME type handling on File Upload and in Message Component (#688)
James [Sun, 14 Aug 2022 11:01:17 +0000 (12:01 +0100)]
Improve MIME type handling on File Upload and in Message Component (#688)

* move allowed MIME types to own util file

* add check for safe MIME type before choosing how to upload

* check for allowed blob type to decide what component to load

* re-add check for safe mimetype

* fix bracket positioning

3 years agoFix grammar of read receipt text (#744)
Andrew Morgan [Fri, 12 Aug 2022 10:33:56 +0000 (11:33 +0100)]
Fix grammar of read receipt text (#744)

'other' should be plural in this context.

3 years agoRelease v2.1.2 v2.1.2
Ajay Bura [Thu, 11 Aug 2022 13:40:12 +0000 (19:10 +0530)]
Release v2.1.2

3 years agoBump @fontsource/inter from 4.5.11 to 4.5.12 (#726)
dependabot[bot] [Thu, 11 Aug 2022 13:16:19 +0000 (18:46 +0530)]
Bump @fontsource/inter from 4.5.11 to 4.5.12 (#726)

Bumps [@fontsource/inter](https://github.com/fontsource/fontsource/tree/HEAD/fonts/google/inter) from 4.5.11 to 4.5.12.
- [Release notes](https://github.com/fontsource/fontsource/releases)
- [Changelog](https://github.com/fontsource/fontsource/blob/main/CHANGELOG.md)
- [Commits](https://github.com/fontsource/fontsource/commits/HEAD/fonts/google/inter)

---
updated-dependencies:
- dependency-name: "@fontsource/inter"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3 years agoBump @fontsource/roboto from 4.5.7 to 4.5.8 (#727)
dependabot[bot] [Thu, 11 Aug 2022 13:14:00 +0000 (18:44 +0530)]
Bump @fontsource/roboto from 4.5.7 to 4.5.8 (#727)

Bumps [@fontsource/roboto](https://github.com/fontsource/fontsource/tree/HEAD/fonts/google/roboto) from 4.5.7 to 4.5.8.
- [Release notes](https://github.com/fontsource/fontsource/releases)
- [Changelog](https://github.com/fontsource/fontsource/blob/main/CHANGELOG.md)
- [Commits](https://github.com/fontsource/fontsource/commits/HEAD/fonts/google/roboto)

---
updated-dependencies:
- dependency-name: "@fontsource/roboto"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3 years agoBump sass from 1.54.1 to 1.54.3 (#728)
dependabot[bot] [Thu, 11 Aug 2022 13:13:31 +0000 (18:43 +0530)]
Bump sass from 1.54.1 to 1.54.3 (#728)

Bumps [sass](https://github.com/sass/dart-sass) from 1.54.1 to 1.54.3.
- [Release notes](https://github.com/sass/dart-sass/releases)
- [Changelog](https://github.com/sass/dart-sass/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sass/dart-sass/compare/1.54.1...1.54.3)

---
updated-dependencies:
- dependency-name: sass
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3 years agoFix image not loading without h/w data (#738)
Ajay Bura [Thu, 11 Aug 2022 13:11:09 +0000 (18:41 +0530)]
Fix image not loading without h/w data (#738)

3 years agoOnly render mxc images in markdown
Ajay Bura [Thu, 11 Aug 2022 11:50:55 +0000 (17:20 +0530)]
Only render mxc images in markdown

3 years agoFix emoji board style
Ajay Bura [Thu, 11 Aug 2022 11:01:02 +0000 (16:31 +0530)]
Fix emoji board style

3 years agoReplace space by underscore in emoji shortcodes
Ajay Bura [Thu, 11 Aug 2022 10:54:22 +0000 (16:24 +0530)]
Replace space by underscore in emoji shortcodes

3 years agoAdd navigation bar to sticker board
Ajay Bura [Thu, 11 Aug 2022 10:43:53 +0000 (16:13 +0530)]
Add navigation bar to sticker board