Commit Graph

367 Commits

Author SHA1 Message Date
Ajay Bura 13fac8a7e8 Manage ignored users (#814)
* Add options to display/ignore usersId's

* Update string

* Hide search icon in encrypted rooms (#763)

* Fix styles
2022-09-05 08:30:45 +05:30
Ajay Bura 9bc861ecc5 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
2022-09-04 13:10:07 +05:30
Ajay Bura 5012d7b5a8 Fix commands (#791)
* Fix commands and added more

* Add /me & /shrug commands

* Add help command

* Fix cmd descriptions

* Add reason in command
2022-09-03 21:46:40 +05:30
jameskitt616 38f923fc24 Implement cancel replyto on escape key press (#777) 2022-08-27 08:21:41 +05:30
Ajay Bura 4d08b1d5f2 Edit last message with up arrow key (#774) 2022-08-21 19:41:48 +05:30
Ajay Bura e18984869f Fix room not selecting with bad emoji data (#772) 2022-08-20 21:07:20 +05:30
Ajay Bura ac6631e4b3 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>
2022-08-20 20:51:37 +05:30
Ajay Bura ffc2742e49 Fix minor css bugs 2022-08-19 13:57:24 +05:30
Andrew Morgan eb65bdcfb9 Fix grammar of read receipt text (#744)
'other' should be plural in this context.
2022-08-12 16:03:56 +05:30
Ajay Bura f2833ea929 Fix emoji board style 2022-08-11 16:31:02 +05:30
Ajay Bura 92de05f1d7 Add navigation bar to sticker board 2022-08-11 16:13:53 +05:30
anyone00 73fac10d14 Support RTL text in the input fields (#720)
* Support RTL text in the room input field

set the correct direction for text according to the language written in

* Make all input RTLable

Co-authored-by: Krishan <33421343+kfiven@users.noreply.github.com>
2022-08-07 14:41:56 +05:30
Ajay Bura 12e3a3625c Reset read receipt on sending sticker 2022-08-06 12:50:23 +05:30
ginnyTheCat 3d40e05948 Show full timestamp on hover (#714)
* Show full timestamp on hover

* Not always display time

* Always show full timestamp in search
2022-08-06 09:35:56 +05:30
Ajay Bura f89bc00072 Custom emoji & Sticker support (#686)
* Remove comments

* Show custom emoji first in suggestions

* Show global image packs in emoji picker

* Display emoji and sticker in room settings

* Fix some pack not visible in emojiboard

* WIP

* Add/delete/rename images to exisitng packs

* Change pack avatar, name & attribution

* Add checkbox to make pack global

* Bug fix

* Create or delete pack

* Add personal emoji in settings

* Show global pack selector in settings

* Show space emoji in emojiboard

* Send custom emoji reaction as mxc

* Render stickers as stickers

* Fix sticker jump bug

* Fix reaction width

* Fix stretched custom emoji

* Fix sending space emoji in message

* Remove unnessesary comments

* Send user pills

* Fix pill generating regex

* Add support for sending stickers
2022-08-06 09:04:23 +05:30
ginnyTheCat 24e05bd77a Fix shortcuts on non QWERTY keyboards (#715)
* Use key instead of keyCode or code

* Use key for Escape
2022-08-05 19:12:25 +05:30
Ajay Bura 65ef66f1d9 Follow system theme by default 2022-07-09 18:08:35 +05:30
Krishan a56e0ce84a Don't enable e2ee from profileViewer for bridge users (#666) 2022-07-08 20:24:35 +05:30
ginnyTheCat fdd0423b1b Add emoji name fallback (#658) 2022-06-29 18:19:43 +05:30
Ajay Bura 73b6f3d63b Don't show verify button if CS is not enable 2022-05-29 09:47:30 +05:30
Ajay Bura 1c67bb7402 Fix emoji autocomplete in some cases (#565) 2022-05-29 09:36:46 +05:30
Ajay Bura 19aec41ef5 Fix join with alias (#533) 2022-05-11 20:56:49 +05:30
Ajay Bura 0cf96617c8 Fix emoji verificaition not working with some client 2022-05-08 12:26:31 +05:30
Ajay Bura 6bbb83b072 Fixed cinny verified device failed to verify other 2022-05-08 11:55:41 +05:30
Ajay Bura cb1a912403 Fix own cross siging trust before verification without key #514 2022-05-07 09:50:29 +05:30
Ajay Bura b67cba8ecd Fix space path visible in DM's 2022-05-05 19:58:16 +05:30
Ajay Bura 93209ab549 Fix public room showing leaved room as joined 2022-05-04 14:54:43 +05:30
Ajay Bura 7a1af5abf1 Merge branch 'dev' of https://github.com/ajbura/cinny into dev 2022-05-04 14:22:20 +05:30
Ajay Bura 14c3c6d20d Fix bugs in dm tab 2022-05-04 14:22:16 +05:30
Rubin Elezi 6cc22876fd Don't enable e2ee for bridged platform (#476)
* Don't enable e2ee for bridged platform

* remove comments

* Change function name

Co-authored-by: Ajay Bura <32841439+ajbura@users.noreply.github.com>
2022-05-04 10:58:30 +05:30
Ajay Bura 17e8e6354a Add join with address option (#420, #447) 2022-05-03 16:01:50 +05:30
Ajay Bura 4ae601e27b Fixes #430, #434, #455 2022-05-03 14:05:56 +05:30
Ajay Bura 6d965fdc6d Bug fixes in emoji verificaiton 2022-05-03 12:52:26 +05:30
Ajay Bura 75fca57424 Fix #514 2022-05-01 20:56:30 +05:30
Ajay Bura df4cad035e Show error on wrong security key 2022-05-01 17:40:47 +05:30
Ajay Bura 815421d9bf Fix key backup not working without phrase 2022-05-01 17:32:29 +05:30
Ajay Bura 859f5d512c Session verification by emojis (#513)
* Add option to verify with security key/phrase

* Manually merge #311 by @ginnyTheCat
2022-05-01 13:22:55 +05:30
Ajay Bura 3a5368f9cc Replace confirm and prompt with custom dialogs (#500) 2022-04-25 20:21:21 +05:30
ginnyTheCat 73aebbbb95 Show devices without encryption support separately from unverified session (#499)
* Show devices without encryption support separately

* Fix typo

* Don't show sessions without encryption support in red
2022-04-24 21:59:50 +05:30
Ajay Bura 3e121dc5a6 Show popup window in full screen at mobile devices 2022-04-24 17:29:49 +05:30
Ajay Bura a26e8c080a Fix crash on invite from dendrite hs (#453) 2022-04-24 17:10:18 +05:30
Ajay Bura 9adb564811 Fix members btn not visible in small devices 2022-04-24 16:47:24 +05:30
Ajay Bura 3fafb8230c Fix app stuck on welcome screen in small device 2022-04-24 16:35:42 +05:30
Ajay Bura 304ccd65ee Fix padding in room header 2022-04-24 16:17:26 +05:30
Ajay Bura b36331583c Remove unwanted css 2022-04-24 15:55:05 +05:30
Laurenz 67853a05c0 Adapt to different device widths (#401)
* Now adapting to small screen sizes, needs improvements

* Fix that site only gets into mobile mode when resized

* - Added navigation event triggered if user requests to return to navigation on compact screens
- People drawer wont be shown on compact screens
  - Still accessible using settings
  - would be duplicated UI
- mobileSize is now compactSize

* Put threshold for collapsing the base UI in a shared file

* Switch to a more simple solution using CSS media queries over JS
- Move back button to the left a bit so it doesnt get in touch with room icon

* switch from component-individual-thresholds to device-type thresholds
- <750px: Mobile
- <900px: Tablet
- >900px: Desktop

* Make Settings drawer component collapse on mobile

* Fix EmojiBoard not showing up and messing up UI when screen is smaller than 360px

* Improve code quality; allow passing classNames to IconButton
- remove unnessesary div wrappers
- use dir.side where appropriate
- rename threshold and its mixins to more descriptive names
- Rename "OPEN_NAVIGATION" to "NAVIGATION_OPENED"

* - follow BEM methology
- remove ROOM_SELECTED listener
- rename NAVIGATION_OPENED to OPEN_NAVIGATION where appropriate
- this does NOT changes that ref should be used for changing visability

* Use ref to change visability to avoid re-rendering

* Use ref to change visability to avoid re-rendering

* Fix that room component is not hidden by default.
This resulted in a broken view when application is viewed in mobile size without having selected a room since loading.

* fix: leaving a room should bring one back to navigation

Co-authored-by: Ajay Bura <32841439+ajbura@users.noreply.github.com>
2022-04-24 15:53:10 +05:30
Ajay Bura 06013332a4 Add support to manage cross-signing and key backup (#461)
* Add useDeviceList hook

Signed-off-by: Ajay Bura <ajbura@gmail.com>

* Add isCrossVerified func to matrixUtil

Signed-off-by: Ajay Bura <ajbura@gmail.com>

* Add className prop in sidebar avatar comp

Signed-off-by: Ajay Bura <ajbura@gmail.com>

* Add unverified session indicator in sidebar

Signed-off-by: Ajay Bura <ajbura@gmail.com>

* Add info card component

Signed-off-by: Ajay Bura <ajbura@gmail.com>

* Add css variables

Signed-off-by: Ajay Bura <ajbura@gmail.com>

* Add cross signin status hook

Signed-off-by: Ajay Bura <ajbura@gmail.com>

* Add hasCrossSigninAccountData function

Signed-off-by: Ajay Bura <ajbura@gmail.com>

* Add cross signin info card in device manage component

Signed-off-by: Ajay Bura <ajbura@gmail.com>

* Add cross signing and key backup component

Signed-off-by: Ajay Bura <ajbura@gmail.com>

* Fix typo

Signed-off-by: Ajay Bura <ajbura@gmail.com>

* WIP

Signed-off-by: Ajay Bura <ajbura@gmail.com>

* Add cross singing dialogs

Signed-off-by: Ajay Bura <ajbura@gmail.com>

* Add cross signing set/reset

Signed-off-by: Ajay Bura <ajbura@gmail.com>

* Add SecretStorageAccess component

Signed-off-by: Ajay Bura <ajbura@gmail.com>

* Add key backup

Signed-off-by: Ajay Bura <ajbura@gmail.com>

* WIP

* WIP

* WIP

* WIP

* Show progress when restoring key backup

* Add SSSS and key backup
2022-04-24 15:42:24 +05:30
Krishan 2a4673842c Improve strings (#488)
* Update SpaceOptions.jsx

* Update RoomOptions.jsx

* Update RoomProfile.jsx

* Update ProfileEditor.jsx

* Update RoomSettings.jsx

* Update SpaceSettings.jsx

* Update Message.jsx

* Update DeviceManage.jsx

* Update Message.jsx

* Update RoomProfile.jsx
2022-04-18 08:55:16 +05:30
Ajay Bura b2b4e20edd Add reusable dialog (#459)
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-03-31 20:39:05 +05:30
Krishan fe12d6298d String update and file extension name consistency (#436)
* Fixes #434

* Fixes #433

* Prtially fixes #432

* Disable auto labelling of issues

* Use yaml instead of yml as recommended by yaml.org

* shortened the strings

* simplified option description
2022-03-30 13:42:52 +05:30