Commit graph

640 commits

Author SHA1 Message Date
IceDBorn
70e9d9254d Fix navigating outside of current space when a call is active 2023-03-25 21:30:11 +02:00
IceDBorn
df538c2b2b Remove colons from jitsi room name to prevent broken rooms 2023-03-25 08:02:20 +02:00
IceDBorn
7c60cca171 Disable unused jitsi options 2023-03-25 07:54:40 +02:00
IceDBorn
34afe16dca Print space name in parenthesis 2023-03-25 07:20:26 +02:00
IceDBorn
70796e2d0b Move voice channel switching logic to navigation 2023-03-25 03:36:08 +02:00
IceDBorn
dde59f3596 Fix call position upon entering fullscreen after moving pip 2023-03-24 11:32:57 +02:00
IceDBorn
79fcd7eea8 Print room and space name on header 2023-03-24 11:15:21 +02:00
IceDBorn
73374938f5 Implement pip dragging 2023-03-24 07:24:27 +02:00
IceDBorn
636e9ad6ef Separate fullscreen and pip call header css 2023-03-24 07:15:55 +02:00
IceDBorn
7bf7f23a5e WIP call style 2023-03-24 07:05:22 +02:00
jim3692
b76feea519 Implement conditional PiP support 2023-03-22 20:56:31 +02:00
jim3692
68e66e2319 Fix re-enter + Cleanup 2023-03-22 20:37:39 +02:00
jim3692
1264e70408 Fix call switching 2023-03-22 20:12:29 +02:00
jim3692
8a5a1f04e1 Remove hardcoded id 2023-03-22 19:56:48 +02:00
jim3692
b34de2c79d Fix re-enter jitsi call 2023-03-22 19:53:19 +02:00
jim3692
2d25d0f916 Rollback listeners 2023-03-22 19:26:28 +02:00
jim3692
f0f81cc499 Fix join call confirmation 2023-03-22 19:09:00 +02:00
IceDBorn
a9e950ba2f Restyle pip 2023-03-22 01:00:07 +02:00
IceDBorn
6962ec819a Dispose call when closing 2023-03-22 00:58:08 +02:00
CrazyStevenz
5f17e4153b Wip call handling 2023-03-22 00:41:40 +02:00
CrazyStevenz
dba8638109 Fix jitsi call close button 2023-03-21 22:37:10 +02:00
IceDBorn
83c86dc5f2 Create call component to keep it alive upon changing channels 2023-03-21 08:36:23 +02:00
IceDBorn
881255547b Add jitsi config options 2023-03-20 12:56:19 +02:00
IceDBorn
2e305cd0f9 Use matrix room name and id for jitsi room name 2023-03-20 12:24:02 +02:00
IceDBorn
ed6ec55578 Add initial jitsi call code 2023-03-20 11:00:26 +02:00
Krishan
a6fb44e1ab Release v2.2.4 2023-01-30 15:27:17 +11:00
Krishan
4ea14c853e Release v2.2.3 2023-01-15 16:16:40 +11:00
Ajay Bura
38bbc1c6f5
Vite plugin to add svg as inline data (#1072)
* add vite plugin to add svg as inline data

* Add node types package
2023-01-15 09:52:58 +05:30
Stefano Pigozzi
9a34daa2bc
Set accept attribute to image/* in ImageUpload (#989)
That way, browsers will suggest to the users to upload an image file instead of any kind of file.

The behaviour is in-line with Element's, which specifies the same attribute when selecting an avatar.

Please note that it does not prevent users from uploading non-image files as avatars, as browsers interpret that attribute as a mere suggestion, which can be bypassed in the file select dialog.

Partially fixes #982.
2023-01-15 09:44:16 +05:30
Ajay Bura
e5e3f5f0a3 Add jsdelivr cdn for twemoji 2023-01-14 18:51:42 +05:30
Ajay Bura
899a89cb3b
Replace Webpack to Vite (#1023)
* Add vite, typescript and prettier

* Configure vite

* Fix tsconfig error

* Fix manifest json

* Move manifest json to root

* Bug fix

* Move back manifest json to public
2022-12-20 20:47:51 +05:30
dependabot[bot]
62e0821be2
Bump matrix-js-sdk from 20.1.0 to 21.0.1 (#959)
* Bump matrix-js-sdk from 20.1.0 to 21.0.0

Bumps [matrix-js-sdk](https://github.com/matrix-org/matrix-js-sdk) from 20.1.0 to 21.0.0.
- [Release notes](https://github.com/matrix-org/matrix-js-sdk/releases)
- [Changelog](https://github.com/matrix-org/matrix-js-sdk/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/matrix-org/matrix-js-sdk/compare/v20.1.0...v21.0.0)

---
updated-dependencies:
- dependency-name: matrix-js-sdk
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* Bump matrix-js-sdk from 20.1.0 to 21.0.1

Bumps [matrix-js-sdk](https://github.com/matrix-org/matrix-js-sdk) from 20.1.0 to 21.0.1.
- [Release notes](https://github.com/matrix-org/matrix-js-sdk/releases)
- [Changelog](https://github.com/matrix-org/matrix-js-sdk/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/matrix-org/matrix-js-sdk/compare/v20.1.0...v21.0.1)

---
updated-dependencies:
- dependency-name: matrix-js-sdk
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* Fix upload content

* Change min supported node

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>
2022-11-08 20:19:22 +05:30
mjarr
6a907b1542
Remove MSC3244 use from restricted room creation (#892)
* Remove MSC3244 use from restricted room creation

* Fix condition
2022-11-01 20:36:38 +05:30
Ajay Bura
91a6916f4c Release v2.2.2 2022-09-28 20:48:41 +05:30
Krishan
9185ee0cf9
Release v2.2.1 2022-09-28 19:26:12 +05:30
Ajay Bura
759f16d5b9 Fix crash on space leave 2022-09-28 18:17:15 +05:30
Ajay Bura
d0ddedc2b2 Wrap view source text 2022-09-28 13:54:58 +05:30
ginnyTheCat
4291005161
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
2022-09-25 19:31:59 +05:30
Krishan
80d9a2ca7d
Release v2.2.0 2022-09-17 19:04:13 +05:30
ginnyTheCat
cbd1bf35c6
Only escape when editing (#852)
* Only escape when editing

* Base edit change detection on rendered content
2022-09-17 16:55:26 +05:30
Ajay Bura
c1be57b205 Add clear cache btn in loading screen 2022-09-17 15:48:45 +05:30
morguldir
4848bef0dd
Add Clear cache and reload button (#793)
Inspired by: 3c5c2bef6d/src/components/views/elements/ErrorBoundary.tsx (L61-L68)

Signed-off-by: morguldir <morguldir@protonmail.com>

Signed-off-by: morguldir <morguldir@protonmail.com>
2022-09-17 13:21:22 +05:30
ginnyTheCat
a8f374dd43
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
2022-09-16 21:21:53 +05:30
ginnyTheCat
15c1f6dadf
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
2022-09-14 14:30:06 +05:30
ginnyTheCat
b0174f3acc
Delete notifications after messages have been read or deleted (#830)
* Delete read notifications

* Delete notifications for deleted messages

* Correctly remove notification
2022-09-11 18:51:59 +05:30
ginnyTheCat
a343d9999e
Handle messages with invalid body (#833) 2022-09-11 18:51:05 +05:30
ginnyTheCat
0a2cca6e40
Change UI label (#832) 2022-09-11 16:44:39 +05:30
Ajay Bura
bca00f46a9 Add plain text command 2022-09-11 12:18:32 +05:30
Ajay Bura
5848c02d50 Remove markdown icon from input 2022-09-11 09:19:22 +05:30
Ajay Bura
29ddcfa1f9 Update command strings 2022-09-11 08:27:59 +05:30