Commit graph

593 commits

Author SHA1 Message Date
ajbura
8ddbc24dd4 Add rooms hierarchy class
Signed-off-by: ajbura <ajbura@gmail.com>
2022-02-10 20:56:23 +05:30
ginnyTheCat
6d9e67b9f2
Fix crashing on droping text (#302)
* Add basic drop overlay

* Prevent crash when dragging text

* Only show popup when files are being dragged

* Make drop box bigger

* Make drag drop overlay without a modal

* Don't show drag drop menu on top of modals

* Use different way to check for modal
2022-02-09 08:29:21 +05:30
ajbura
4803d48ec7 Fix bug in this.isRawModalVisible
Signed-off-by: ajbura <ajbura@gmail.com>
2022-02-08 17:59:15 +05:30
ajbura
7c6a12ea8e Removed dead code
Signed-off-by: ajbura <ajbura@gmail.com>
2022-02-08 17:32:49 +05:30
ajbura
a17d5d01a7 Fix edit message input not expending properly
Signed-off-by: ajbura <ajbura@gmail.com>
2022-02-08 17:27:57 +05:30
ginnyTheCat
cdd909f2dd
Keyboard focus related bugs (#299)
* Focus when opening the emoji board and editing a message

* Clean emoji board after closing

* Focus room search and member search

* Resolve conversations
2022-02-08 17:13:59 +05:30
ajbura
d0e9728c26 Change icon of join public room button
Signed-off-by: ajbura <ajbura@gmail.com>
2022-02-07 15:45:57 +05:30
ajbura
c8ae428df8 Keep direct rooms orthogonal (#183)
Signed-off-by: ajbura <ajbura@gmail.com>
2022-02-05 19:25:59 +05:30
ajbura
a9692f7db4 Show tombstone message in tombstoned room (#195)
Signed-off-by: ajbura <ajbura@gmail.com>
2022-02-05 18:59:44 +05:30
ajbura
d05a426d00 Fix avatar showing av when loading (#247)
Signed-off-by: ajbura <ajbura@gmail.com>
2022-02-05 18:19:30 +05:30
ajbura
a842b4c4d9 Fix select effect in emojiboard (#254)
Signed-off-by: ajbura <ajbura@gmail.com>
2022-02-05 18:07:41 +05:30
ajbura
101abaeda1 Fix sending localEvent id to redact and reply (#231)
Signed-off-by: ajbura <ajbura@gmail.com>
2022-02-05 17:53:02 +05:30
ajbura
bb99167433 Move message options upwards
Signed-off-by: ajbura <ajbura@gmail.com>
2022-02-05 17:51:16 +05:30
ajbura
2bd598f7f8 Trim homserver in Auth component
Signed-off-by: ajbura <ajbura@gmail.com>
2022-02-04 11:43:39 +05:30
ajbura
b008c5f07f Fix reaction tooltip message
Signed-off-by: ajbura <ajbura@gmail.com>
2022-02-04 11:39:18 +05:30
ajbura
736f4edfbd Replace gfmHtml with gfmHtml() as per #282 2022-02-03 20:35:02 +05:30
ginnyTheCat
552a324e08
Drag and drop files (#283)
* Add file drop

* Skip if no files are droped

* Show the page is not accepting file on the welcome page
2022-02-03 20:10:22 +05:30
Ajay Bura
b155d7d1ba Show confirm dialog when change your own power level
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-02-01 09:41:50 +05:30
ginnyTheCat
0e8219b200
Add support for sending spoiler markdown (#267)
* Basic spoiler markdown plugin

* Remove console.log statement
2022-01-31 21:28:42 +05:30
Ajay Bura
5f7fa0557f Add menu header in general settings
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-01-31 15:22:53 +05:30
Ajay Bura
63fb4d57e2 Improve UX of members tab
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-01-31 15:20:12 +05:30
Ajay Bura
b5d6f44f4c Add license for graphics
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-01-31 12:16:49 +05:30
Ajay Bura
b21c8f8c3a Add credits in app about section
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-01-31 12:15:58 +05:30
Ajay Bura
162af35254 Fix bug in room member search
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-01-30 18:57:15 +05:30
Ajay Bura
abe03811f1 Add member list in space settings
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-01-30 18:47:19 +05:30
Ajay Bura
e85a869733 Add max width for room and space options menu
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-01-30 10:41:18 +05:30
Ajay Bura
0c32d5302c Add btn and hotkey to close room settings (#269)
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-01-30 10:05:46 +05:30
Ajay Bura
f310196937 Enable markdown by default
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-01-29 19:54:39 +05:30
ginnyTheCat
c828dfd596
Add Desktop notifications (#252)
* Add notifications

* Abide push actions

* Handle browsers not having notification support

* Ask for notification permission after loading

* Make usePermission work without live permission support

* Focus message when clicking the notification

* make const all caps

* Fix usePermission error in Safari

* Fix live permissions

* Remove userActivity and use document.visibilityState instead

* Change setting label to "desktop notifications"

* Check for notification permissions in the settings.js
2022-01-29 19:50:51 +05:30
Ajay Bura
d0b4e092b3 Add space options in space selector
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-01-29 14:31:14 +05:30
Ajay Bura
91d7d78621 Open space options on right click pinned space icon
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-01-29 14:30:42 +05:30
Ajay Bura
2bc21f13d4 Add space options context menu
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-01-29 14:11:05 +05:30
Ajay Bura
833edc9568 Add space settings
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-01-29 13:48:06 +05:30
Ajay Bura
9d8efce26d Make room permission component reusable for space settings
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-01-29 13:47:37 +05:30
Ajay Bura
6d778ca223 Make room profile component reusable for space settings
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-01-29 13:47:06 +05:30
Ajay Bura
1e739e94e2 Make room alias component reusable for space settings
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-01-29 13:46:32 +05:30
Ajay Bura
8c013aa2a9 Make title prop as node in PopupWindow component
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-01-29 13:45:36 +05:30
Ajay Bura
fb0a0b0dc2 Fix emoji scaling in suggestion
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-01-28 10:55:52 +05:30
ginnyTheCat
ab3d9ddb13
Normalize unicode search (#263)
* Normalize unicode search

* Add option to setup function

* Make the call to normalize more explicit
2022-01-27 15:35:53 +05:30
Ajay Bura
a67b32b3ce Twemojify name suggestion
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-01-27 11:20:36 +05:30
Ajay Bura
55c4c25663 v1.7.0 2022-01-26 18:06:07 +05:30
Ajay Bura
202ff53c41 Hide reaction picker for user without permission
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-01-26 17:16:40 +05:30
Ajay Bura
992da7c7be Refactor navigation
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-01-26 17:03:26 +05:30
Ajay Bura
f47998a553 Fix scroll when switching between home and DM (#243)
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-01-26 15:54:58 +05:30
Ajay Bura
f4d24420e7 Fix gap under typing indicator in some device
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-01-26 15:29:45 +05:30
Justin Shaw
308bdb3d46
Bugfix: Add lazy loading to emoji board (#259)
* add lazy loading to emoji board

* add newline to end of package-lock file
2022-01-26 12:18:11 +05:30
Ajay Bura
20b99dce48 Add support for custom emoji in reactions
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-01-26 12:06:18 +05:30
Ajay Bura
e4f7c6add9 Show underline on link hover
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-01-25 12:15:47 +05:30
Ajay Bura
80110d1a48 Fix scrollbar padding for safari breaks other component styling
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-01-24 14:56:36 +05:30
Ajay Bura
0a0b45fb8e twemojify names in reaction tooltip
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-01-24 14:54:53 +05:30
Ajay Bura
4ef29ae26f Fix username overflow in timeline change messages
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-01-24 14:53:51 +05:30
Ajay Bura
e827fb2eb2 Fix live read recipt count (#227)
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-01-17 12:20:18 +05:30
Ajay Bura
4f161fb891 Disabe search input in encrypted room
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-01-17 12:19:35 +05:30
Ajay Bura
8c30a013c7 Disabe search in encrypted room
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-01-17 10:15:13 +05:30
Ajay Bura
9f3f877bfd Fix type in search icon tooltip
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-01-17 10:00:19 +05:30
Ajay Bura
f3615117d8 Add search icon in room header
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-01-16 18:18:33 +05:30
Ajay Bura
41c72e0a8e Fix crash in profile viewer
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-01-16 18:17:20 +05:30
Ajay Bura
a83b875b66 Re-arrange general room settings
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-01-16 17:55:00 +05:30
Ajay Bura
dcef08009d Add ability to search room messages
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-01-16 14:17:50 +05:30
Ajay Bura
eddba3c652 Fix font weight for dark theme
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-01-16 14:17:23 +05:30
Ajay Bura
f0c9a458bb Add broken avatar fallback
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-01-16 10:41:37 +05:30
Ajay Bura
62c9e271d8 Add padding in scroll view for safari
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-01-15 20:11:37 +05:30
Ajay Bura
871a25364d Fix typo in room-options
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-01-14 09:43:35 +05:30
Ajay Bura
e67abae3e0 Add afterClose param to reusabel context menu
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-01-13 18:43:22 +05:30
Ajay Bura
c50565dfda Open room options with right click
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-01-13 18:31:56 +05:30
Ajay Bura
60c44da974 Refactor room options
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-01-13 18:30:43 +05:30
Ajay Bura
ba6d9d0c23 Add option to change reaction permission
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-01-13 15:45:27 +05:30
Ajay Bura
8c55f38b07 Add ability to change room permissions
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-01-13 13:26:38 +05:30
Ajay Bura
5e843f7a4f Fix crash in profile viewer
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-01-13 10:33:04 +05:30
Ajay Bura
090ada5807 Add option to unban user in profile viewer
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-01-13 10:28:33 +05:30
Ajay Bura
0e17c57856 Remove mention button from profile viewer
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-01-13 09:46:08 +05:30
Ajay Bura
74464992e6 Redesign session chip in profile viewer
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-01-13 09:42:23 +05:30
Ajay Bura
a1d9c21337 Add option to ban user in profile viewer
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-01-12 18:50:54 +05:30
Ajay Bura
248fc15716 Add option to kick user in profile viewer
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-01-12 18:26:52 +05:30
Ajay Bura
e38ddebfb6 Refactor code of profile viewer
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-01-12 16:46:56 +05:30
Ajay Bura
57fc8b2f1a Fix quote from discord bridge
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-01-12 15:11:34 +05:30
Ajay Bura
b7fac8bcbc Update people drawer on power level change
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-01-12 13:57:47 +05:30
Ajay Bura
12f2eed5b3 Add ability to change power level in profile viewer
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-01-12 13:57:13 +05:30
Ajay Bura
3f39fd487f Fix custom power level selection return NaN
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-01-12 11:40:55 +05:30
Ajay Bura
950bf14d95 Fix markdown heading formatting
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-01-12 11:17:44 +05:30
Ajay Bura
a279995982 Add action to open reusabel context menu
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-01-11 20:46:41 +05:30
Ajay Bura
a2eb9734f1 Add PowerLevelSelector component
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-01-11 20:45:10 +05:30
Ajay Bura
cb23991841 Add ReusableContextMenu component
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-01-11 20:43:40 +05:30
Ajay Bura
769d24d196 Add room permissions
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-01-10 20:34:54 +05:30
Ajay Bura
af61f4f1db Refactor SettingTile component
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-01-10 20:33:40 +05:30
Ajay Bura
f8f77075ec Remove error handling from Avatar component
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-01-09 16:22:04 +05:30
Ajay Bura
34bb5f9928 Fix error on room leave
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-01-09 10:29:06 +05:30
Ajay Bura
ca3cced6ad Fix system theme not working on load
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-01-07 10:21:35 +05:30
Ajay Bura
be905ac7be Hide role dropdown icon in profile viewer (#215)
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-01-05 17:50:50 +05:30
Ajay Bura
53f3ccc888 Fix memory leaks
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-01-05 17:48:37 +05:30
Ajay Bura
c304670f47 Add globe icons in search
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-01-05 17:47:41 +05:30
Ajay Bura
6388894aa4 Fix focus bug on room-selector
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-01-05 14:57:11 +05:30
Ajay Bura
c27b11bf25 Add room alias or id as fallback in room profile
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-01-05 14:56:30 +05:30
Gregory Anders
11f395f65f
Add toggle to use browser's preferred theme (#224)
* Add Auto theme that uses browser's preferred color scheme

This will use dark mode automatically if the browser requests it.

* fixup! Add Auto theme that uses browser's preferred color scheme

* Use a toggle to use system theme
2022-01-03 18:46:43 +05:30
Ajay Bura
63a0adaa6e Add ability to enable room encryption
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-01-02 12:08:19 +05:30
Ajay Bura
0ddeb02d23 Add ability to manage room history visibility
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-01-01 16:27:36 +05:30
Ajay Bura
c23acf9e9e Fix context menu margin in auth page
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-01-01 11:47:53 +05:30
Ajay Bura
54635bf0d3 Add ability to manage room addresses
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-01-01 11:43:35 +05:30
Ajay Bura
6fdd9ed48b Remove room-settings hotkeys
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-12-31 17:39:39 +05:30
Ajay Bura
a0399b7f5e Add disabled attribute in Checkbox, Toggle and RadioButton
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-12-31 17:38:25 +05:30
Ajay Bura
387f6bcad4 Fix font-variant-ligatures
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-12-31 10:08:29 +05:30
Ajay Bura
0b43431543 Temp EmojiBoard performance improved
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-12-30 16:37:11 +05:30
Ajay Bura
34862f9ace Fix EmojiBoard styling
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-12-30 14:17:55 +05:30
Ajay Bura
cd465ca35a Fix default checkbox size
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-12-30 12:47:25 +05:30
Ajay Bura
93251e0029 Show pack icon or first emoji as fallback in EmojiBoard sidebar
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-12-30 12:46:48 +05:30
Ajay Bura
c2402ddb72 Add isImage prop in RawIcon
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-12-30 12:44:14 +05:30
Ajay Bura
d3dcb320f4 Add checkbox component
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-12-30 11:37:18 +05:30
Emi
fd9f734de1
Add custom emoji to emoji board (#210)
* Display custom emoji in picker

Adds a single category at the start of the emoji picker to display the user's custom emoji

* Show any amount of custom emoji packs in the Emoji Board

* Use thumbnails in emoji picker + mark as emoji

* Fix emoji picker stretching when too many packs are available

* Sprinkle in a few comments for good measure

* Remove emoji-less packs from the emoji picker
2021-12-30 09:32:49 +05:30
Emi
9ea9bf4035
Add support for sending room-local emoji (#209)
* Add support for sending room-local emoji

Does not add support for sending a room's emoji outside of that room, but enables users to
send an emoji if the packs in a room support it.  Does not include room emoji in the
picker YET.

* Amend PR #209: Don't freak out if the `pack` tag is missing

* Amending PR:  Refactor emojifier, use better method for retrieving packs

* Amending PR:  Improve resiliance to bad data in emoji state events

* Amend PR: Remove redundant code, fix crash on edit
2021-12-29 09:56:17 +05:30
Ajay Bura
f9b70d65d8 Fix message formatting
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-12-28 10:54:46 +05:30
Emi
90621bb1e3
Add support for sending user emoji using autocomplete (#205)
* Add support for sending user emoji using autocomplete

What's included:
- An implementation for detecting user emojis
- Addition of user emojis to the emoji autocomplete in the command bar
- Translation of shortcodes into image tags on message sending

What's not included:
- Loading emojis from the active room, loading the user's global emoji packs, loading emoji from spaces
- Selecting custom emoji using the emoji picker

This is a predominantly proof-of-concept change, and everything here may be subject to
architectural review and reworking.

* Amending PR:  Allow sending multiple of the same emoji

* Amending PR:  Add support for emojis in edited messages

* Amend PR:  Apply requested revisions

This commit consists of several small changes, including:
- Fix crash when the user doesn't have the im.ponies.user_emotes account data entry
- Add mx-data-emoticon attribute to command bar emoji
- Rewrite alt text in the command bar interface
- Remove "vertical-align" attribute from sent emoji

* Amending PR:  Fix bugs (listed below)

- Fix bug where sending emoji w/ markdown off resulted in a crash
- Fix bug where alt text in the command bar was wrong

* Amending PR:  Add support for replacement of twemoji shortcodes

* Amending PR: Fix & refactor getAllEmoji -> getShortcodeToEmoji

* Amending PR: Fix bug: Sending two of the same emoji corrupts message

* Amending PR:  Stylistic fixes
2021-12-28 08:59:39 +05:30
Emi
6ff339b552
Use jumbo emoji for short emoji-only messages (#207)
* Display messages containing only <7 emoji bigger

* Amending PR: Address mentioned concerns

This fixes several concerns raised during the PR review process.  A summary of the changes
implemented is below:
- Size jumbo emoji using the text-h1 class, instead of hardcoding a size
- Increase the emoji limit to 10
- Re-wrap m.text messages in a p tag, fixing a bug where newlines were lost
2021-12-27 10:24:07 +05:30
Ajay Bura
d46b046f2d Adjust drawer width in small screen
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-12-26 16:16:58 +05:30
Ajay Bura
d02e8dcd4e Add optoins to change room visibility
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-12-26 15:34:20 +05:30
Ajay Bura
07b1fe8e47 Add separate icon for public rooms and spaces
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-12-26 11:26:41 +05:30
Ajay Bura
7c368ae029 Fix spolier click not working on some browser
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-12-25 12:26:20 +05:30
Ajay Bura
d6b5f92d6c Add GeneralSettings component
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-12-24 15:09:58 +05:30
Ajay Bura
2b70a49e09 Refactor RoomOptions component
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-12-24 15:09:11 +05:30
Ajay Bura
8cfa20be1e Add RoomNotification component
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-12-24 15:08:16 +05:30
Ajay Bura
246f6caf20 Add disable prop in IconButton and MenuItem
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-12-24 15:05:56 +05:30
Ajay Bura
7750366654 Fix RadioButton style
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-12-24 15:03:57 +05:30
Ajay Bura
0f963a93f1 Fix twemoji scaling
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-12-24 10:18:07 +05:30
Ajay Bura
ea5b63af18 Add RadioButton component
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-12-23 17:09:09 +05:30
Ajay Bura
5e89675c9c Auto update room profile on change
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-12-23 10:03:20 +05:30
Ajay Bura
5777c1ab27 Add RoomSettings comp
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-12-22 20:18:32 +05:30
Ajay Bura
8eda0aeab3 Add room profile comp
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-12-22 20:17:01 +05:30
Ajay Bura
23c430fadc Add tabs comp
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-12-21 18:34:13 +05:30
daemonspring
aa423cfa5b
Removed mixin that was wiping out existing padding (#196)
Line 335 already gives blockquotes their padding. The mixin explicitly sets the right padding back to 0 and the left padding to exactly what it was already set to.
2021-12-20 13:47:38 +05:30
Ajay Bura
eb753a3f32 v1.6.1
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-12-19 20:33:52 +05:30
Ajay Bura
4a300a3cb2 Fix people search icon displacement
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-12-19 20:32:47 +05:30
Ajay Bura
c4e16418e0 Open settings on sidebar user profile click
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-12-19 20:05:13 +05:30
Ajay Bura
27e7a67a9a Separate jump to unread & mark as read
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-12-19 19:37:38 +05:30
Ajay Bura
ce9f140ddf Refector sass
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-12-19 10:28:41 +05:30
Ajay Bura
85c3240b54 Fix theme
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-12-18 10:10:23 +05:30
Ajay Bura
9c12e11375 Fix read receipt count
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-12-17 17:22:38 +05:30
Ajay Bura
630dbee817 Fix theme
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-12-17 11:32:21 +05:30
Ajay Bura
18dc02c700 Fix mxid colors for dark theme
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-12-16 18:39:44 +05:30
Ajay Bura
3d7e509f9a Localize fonts
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-12-16 17:55:16 +05:30
Ajay Bura
ed27e6b8e4 Fix dark theme color
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-12-15 21:43:23 +05:30
Ajay Bura
631ce7645f Fix msg timeline keep scrolling when not in focus
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-12-15 17:26:22 +05:30
Ajay Bura
181382b2b7 Fix show msg header after new msgs divider
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-12-15 17:05:45 +05:30
Ajay Bura
ca15e69ae0 Fix multiple new message indicator
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-12-14 20:47:01 +05:30
Ajay Bura
ba64ba0bd0 Fix dialog closing animation jank
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-12-14 17:26:32 +05:30
Ajay Bura
1df4d32d69 Fix reaction not active
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-12-14 16:23:41 +05:30
Ajay Bura
5d380453a4 Bugs fixed
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-12-13 21:18:23 +05:30
Ajay Bura
ba629f1764 v1.6.0
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-12-13 21:12:42 +05:30
Ajay Bura
6d358d4087 Bugs fixed
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-12-13 21:05:37 +05:30
Ajay Bura
46dd50a744 Fix hide auto fill suggestions on msg send
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-12-13 19:38:11 +05:30
Ajay Bura
c22c407ee5 Make spoiler click to toggle (#176)
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-12-13 15:14:57 +05:30
Ajay Bura
1ed1dfc78a Fix bug
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-12-13 14:40:24 +05:30
Ajay Bura
5797a1d8e5 Add typing outside focus on msg feild (#112)
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-12-13 14:31:43 +05:30
Ajay Bura
6d5d40b8e3 Fix multiple unread divider
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-12-13 11:03:48 +05:30
Ajay Bura
90c6b18cbb Add btn to hide membership events from timeline
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-12-12 20:53:32 +05:30
Ajay Bura
ecb7d5ef10 Fix theme colors
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-12-12 19:55:03 +05:30
Ajay Bura
e2b347c783 Fix messages white-space
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-12-12 18:45:43 +05:30
Ajay Bura
88a988d876 Remove goto cmds from msg input also fix #81
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-12-12 11:31:52 +05:30
Ajay Bura
fbeecc0479 Add hotkey ctrl+k for search
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-12-11 10:50:34 +05:30
Ajay Bura
413188c995 Add recent opened room in search
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-12-11 09:55:38 +05:30
Ajay Bura
77818f9342 Fix bug
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-12-10 17:28:29 +05:30
Ajay Bura
c9ec161ccc Add search modal (#132)
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-12-10 17:22:53 +05:30
Ajay Bura
20443f8a4d Fix crashes
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-12-10 11:45:43 +05:30
Ajay Bura
299ceac557 Fix auto load room members
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-12-10 10:51:32 +05:30
Ajay Bura
9365e5bfb9 Fix bug
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-12-09 19:01:39 +05:30
Ajay Bura
3e75841a83 Fix crash in E2E rooms
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-12-09 15:27:59 +05:30
Ajay Bura
74b8a0f10f Fix msg not auto loading backwards
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-12-09 12:00:19 +05:30
Ajay Bura
c291729ed6 Optimize message comp
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-12-09 11:59:17 +05:30
Ajay Bura
a70245a3b1 Fix date in same day
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-12-08 21:52:25 +05:30
Ajay Bura
dde022d179 Add server side aggregated events
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-12-08 21:23:18 +05:30
Ajay Bura
0d12c64c47 Add animation on profile pic hover
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-12-08 14:02:44 +05:30
Ajay Bura
27d0a88b36 Fix unable to mark as read some rooms
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-12-08 13:49:47 +05:30
Ajay Bura
ca55141276 Show date for msgs older than a day
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-12-08 13:37:25 +05:30
Ajay Bura
e20b9d054d Add animation on hover in sidebar
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-12-08 11:11:05 +05:30
Ajay Bura
c1e3645d57 Implement sending read receipt in new pagination
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-12-07 21:04:07 +05:30
Ajay Bura
50db137dea Add export E2E key (#178) 2021-12-06 10:22:45 +05:30
Ajay Bura
5b109c2b79 Improved performance of local timeline pagination
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-12-04 19:34:22 +05:30
Ajay Bura
25b7093302 Added local timeline pagination
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-12-04 15:25:14 +05:30
Ajay Bura
38cbb87a62 Added unread indicator (#67), reply link back to original (#96)
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-12-03 18:32:10 +05:30
Ajay Bura
0c0a978886 Parse reply using m.in_reply_to (#134)
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-12-03 18:30:05 +05:30
Ajay Bura
fb5f368894 Added primary varient in IconButton
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-12-03 18:26:18 +05:30
Ajay Bura
9454ffd1af Update UX of Divider comp
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-12-03 18:25:29 +05:30
Ajay Bura
16f35d9a34 Fix bug in creating dm
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-11-24 10:08:51 +05:30
Ajay Bura
bb6a64790d More twemojify text
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-11-23 17:07:15 +05:30
Ajay Bura
b9378118dd Twemojify text
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-11-23 16:33:35 +05:30
Ajay Bura
b6485f91ae Fix crash on room create
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-11-23 16:24:12 +05:30
Ajay Bura
e1e8ca9633 Fix space invite open
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-11-23 15:51:39 +05:30
Ajay Bura
72f476a750 Fix sinitizeText
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-11-23 12:30:40 +05:30
Ajay Bura
f897809202 Fix emoji size in Avatar
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-11-23 12:27:01 +05:30
Ajay Bura
647d085c5f Twemojified all text
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-11-23 11:56:02 +05:30
Ajay Bura
9d0f99c509 Fix checkbox in register flow
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-11-22 14:37:14 +05:30
Ajay Bura
fd25a23d91 Downgraded linkifyjs
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-11-21 19:21:03 +05:30
Ajay Bura
7fdf165ff3 Allow html in m.text
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-11-21 18:31:58 +05:30
Ajay Bura
b3e27da26d Fix table scroll
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-11-21 15:27:03 +05:30
Ajay Bura
2479dc4096 Use formatted_body to parse markdown (#133) and partially implement #105, #19
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-11-21 14:30:21 +05:30
Ajay Bura
7e7a5e692e Refectored Message comp
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-11-20 13:29:32 +05:30
Ajay Bura
f628a6c3d6 Updated dependencies
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-11-19 13:20:34 +05:30
Ajay Bura
5b0f95fed9 Fix alignment in ProfileViewer
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-11-19 10:00:47 +05:30
Ajay Bura
6aa98d5eac Fix message not comming in encrypted rooms
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-11-19 10:00:07 +05:30
Ajay Bura
57697142a2 Add pagination in room timeline
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-11-18 13:32:12 +05:30
Ajay Bura
beb32755a3 Allow msg width to span over screen
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-11-15 09:41:12 +05:30
Ajay Bura
cb6e71e544 Save peopleDrawer visibility in localStorage
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-11-15 09:23:59 +05:30
Ajay Bura
1487dcbadc Fix login with CAS #165
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-11-14 13:35:01 +05:30
Ajay Bura
1137c11c59 Bug fixed
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-11-14 11:31:22 +05:30
Samuel Dionne-Riel
14cd84dab7
Add basic support for displaying emotes (#161) 2021-11-14 10:32:32 +05:30
Ajay Bura
b5c5cd9586 Fix add initial_device_display_name on register
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-11-11 16:56:36 +05:30
Ajay Bura
85cc4cb8f7 Fix cropped loading and login screen
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-11-11 16:47:08 +05:30
Ajay Bura
cf6732fb29 Fix crash on profile opening
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-11-11 16:45:55 +05:30
Ajay Bura
1207f5abad Fixed error on register, zoom on safari and removed webpack copying env vars to bundle
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-11-11 14:09:06 +05:30
Samuel Dionne-Riel
6e9394ec7a
Use Unicode aware character-wise slicing (#159) 2021-11-10 13:30:25 +05:30
Ajay Bura
fc470d0622 Minor changes to registration msg
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-11-07 17:44:09 +05:30
Ajay Bura
a3270041e3 Bumped dependencies and v1.5.0
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-11-07 15:46:36 +05:30
Samuel Dionne-Riel
3776e32364
Fix commands activating anywhere in the input (#156)
* Fix commands activating anywhere in the input

Writing `The command to leave a channel is /leave` might have had "fun"
consequences for users.

Fixes #155

* Fix go-to commands activating anywhere in the input

While less obtrusive than `/` commands activating anywhere, it seems
logical to only activate completion of those when at the beginning of
the input.
2021-11-07 10:02:50 +05:30
Ajay Bura
fb5a54dd17 Re: fix alignment on hsInput in safari
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-11-06 19:12:45 +05:30
Ajay Bura
916d564f82 fix alignment on hsInput in safari
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-11-06 18:25:56 +05:30
Ajay Bura
364def188a Removed some servers and fixed shadow on input in safari
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-11-06 18:09:29 +05:30
Ajay Bura
6c5a29fb48 Updated dependencies and build instructions
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-11-06 16:26:18 +05:30
Ajay Bura
a83aecaa69 Full UIAA implement (#93), #32, #146, #64, #102
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-11-06 15:15:35 +05:30
Ajay Bura
3d885ec262 Added debounce, throttle, getUrlParams
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-11-06 15:12:36 +05:30
Ajay Bura
6fdace07c8 Automatic update people list
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-10-29 18:11:02 +05:30
Ajay Bura
8711658e75 Feature: invite/disinvite from profile viewer
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-10-29 17:13:33 +05:30
Ajay Bura
e25dc46863 Add option to select role on roomCreation
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-10-29 14:59:16 +05:30
Ajay Bura
f53f54af7f Refactor 2194cb65a2
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-10-29 13:20:27 +05:30
Ajay Bura
763aa8865b Bumped dependencies
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-10-28 18:39:34 +05:30
Ajay Bura
2194cb65a2 Hide pinned space notification from home icon
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-10-28 15:30:16 +05:30
Ajay Bura
60435d505f Fix duplicate notification count
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-10-28 15:08:26 +05:30
Ajay Bura
af983c76b8 Fix SOO button sorting
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-10-28 13:42:57 +05:30
Zalax
ef161bbb31
Improve SSO display on login page (#150)
sort SSO providers by alphabetical order, and reset provider list on homeserver change (to avoid having them if the homeserver is invalid)
2021-10-27 19:09:35 +05:30
daemonspring
ac364e5ab7
Fixed links splitting across line mid-word (#151)
`break-all` meant that links would split mid-word e.g. I observed `email` become `e\nmail`. `break-word` avoids this but also ensures long links still break before overflowing the line length.
2021-10-27 19:01:45 +05:30
Ajay Bura
2e2b1c6f18 Added variety of msg on loading app
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-10-27 19:00:31 +05:30
Ajay Bura
1fa1496d7f Added logout in loading screen
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-10-27 17:08:26 +05:30
Ajay Bura
8fb9365eaa Enhanced invite list UX
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-10-27 16:48:31 +05:30
Ajay Bura
92ab8331d0 Fix overscroll behavior
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-10-27 16:06:07 +05:30
Ajay Bura
603d373cee Fix notification minus count
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-10-27 16:03:41 +05:30
Ajay Bura
aca2c3a9dd v1.4.0: SSO login and profile viewer
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-10-25 17:53:25 +05:30
Ajay Bura
f544dab3e0 Fix reaction selector doesn't focus msg input (#62)
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-10-25 17:28:14 +05:30
Ajay Bura
c489940f8b Fix message menu placement on large screen (#113)
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-10-25 17:19:11 +05:30
Ajay Bura
dc7ddeaa9b Fix wildcard matching in emojisearch (#121)
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-10-25 16:46:23 +05:30
Ajay Bura
9b5f42cda9 Fix profile picture inconsistency (#104, #147)
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-10-25 14:25:06 +05:30
Ajay Bura
4022e4969d UI improvement in SSO
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-10-24 17:33:56 +05:30
Ajay Bura
ed62d06b5e SegmentedControl bug fixed
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-10-23 15:41:16 +05:30
Ajay Bura
f11e4f6626 Add option to filter PeopleDrawer
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-10-23 15:27:54 +05:30
Ajay Bura
59eec5241a Enhanced people search UX
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-10-22 20:02:01 +05:30
Ajay Bura
d287486165 Added button reset type.
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-10-22 17:13:57 +05:30
Ajay Bura
f70270a0b3 Fixed inconsistent search in emojiboard.
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-10-22 17:02:42 +05:30
Ajay Bura
36380fe5fd Add search in People drawer
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-10-21 17:50:49 +05:30
Ajay Bura
dc7fca4f4c SSO login bug fixed
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-10-19 20:23:15 +05:30
Ajay Bura
977759145e Fix redirect on SSO login (#142), #27, #94
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-10-19 19:38:09 +05:30
James Julich
76c3660cb2
Address 301 redirect issue and Safari regex issue. (#143)
* Address 301 redirect issue and Safari regex issue.

* Restored login redirect

as this doesn't not fix the sso redirect #143.

Co-authored-by: Ajay Bura <32841439+ajbura@users.noreply.github.com>
2021-10-19 18:09:30 +05:30
Gero Gerke
fa10a67811
Implement Profile Viewer (#130)
* Implement Profile Viewer

Fixes #111

* Make user avatar in chat clickable

* design progress

* Refactored code

* progress

* Updated chip comp

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

* Refactored ProfileViewer comp

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

* Added msg functionality in ProfileViewer

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

* Added Ignore functionality in ProfileViewer

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

* Fixed Ignore btn bug

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

* Refectored ProfileViewer comp

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

Co-authored-by: Ajay Bura <ajbura@gmail.com>
2021-10-18 20:55:52 +05:30
jamesjulich
119325c3a2 Add support for SSO login. 2021-10-11 11:21:44 +05:30
kfiven
462a559bd3 Fix unable to send msg in DM from IRC users (#135) 2021-10-11 11:19:32 +05:30