Commit graph

413 commits

Author SHA1 Message Date
ginnyTheCat
1d7fbc841e
Add option to view event source (#320)
* Add view source

* Add view source cons

* Change design

* Use PopupWindow instead of Dialog

* Undo changes to Dialog.jsx
2022-02-22 19:01:04 +05:30
Ajay Bura
6a9964e889 Use font as npm module
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-02-21 21:29:17 +05:30
Ajay Bura
318e7c7458 Make dialog to add existing rooms to space
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-02-20 20:17:13 +05:30
Ajay Bura
f8e2d27bb0 Add tabIndex prop in checkbox
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-02-20 20:14:28 +05:30
Ajay Bura
44544f3289 Add ability to pass node in dialog title
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-02-20 20:13:59 +05:30
ajbura
70f0f91a17 Fix manage rooms not showing avatar for dms
Signed-off-by: ajbura <ajbura@gmail.com>
2022-02-19 19:41:36 +05:30
ajbura
f1394239a3 Fix search dialog styles
Signed-off-by: ajbura <ajbura@gmail.com>
2022-02-19 19:35:12 +05:30
ajbura
9e810502c2 Fix dialog screen overflow
Signed-off-by: ajbura <ajbura@gmail.com>
2022-02-19 19:28:44 +05:30
ajbura
c67a1752c5 Add ability to remove and suggest/not rooms in manage space
Signed-off-by: ajbura <ajbura@gmail.com>
2022-02-19 16:18:39 +05:30
ajbura
d87e40ada5 Add suggested room label in manage rooms
Signed-off-by: ajbura <ajbura@gmail.com>
2022-02-19 13:40:32 +05:30
ajbura
86bbaa437e Fix manage room showing rooms as dms in some homeserver
Signed-off-by: ajbura <ajbura@gmail.com>
2022-02-18 19:28:55 +05:30
ajbura
96b6b56d95 Update loading screen message
Signed-off-by: ajbura <ajbura@gmail.com>
2022-02-17 21:12:28 +05:30
ajbura
1f6e5e71ef Add ability to explore and join space rooms
Signed-off-by: ajbura <ajbura@gmail.com>
2022-02-16 20:25:36 +05:30
ajbura
a55f1df17f Change class name for drawer breadcrumb
Signed-off-by: ajbura <ajbura@gmail.com>
2022-02-16 19:56:02 +05:30
ajbura
e654226e60 Add via param in join room function
Signed-off-by: ajbura <ajbura@gmail.com>
2022-02-16 19:54:21 +05:30
ajbura
189dc93a6e Add join rle to icon src util function
Signed-off-by: ajbura <ajbura@gmail.com>
2022-02-16 19:52:51 +05:30
ajbura
76cb52878c Fix bug in room hierarchy
Signed-off-by: ajbura <ajbura@gmail.com>
2022-02-16 19:50:11 +05:30
ginnyTheCat
8d3f0a9f4d
Create icons for users without an avatar in desktop notifications (#305)
* Add notifications icon for users without an avatar

* Render icon at higher resolution

* Use scale to render at higher resolution
2022-02-15 17:18:25 +05:30
ginnyTheCat
ff9d509137
Prevent crash when opening room permission on conduit homeserver (#312)
* Prevent crash when opening room permission on conduit homeserver

* Make fix easier
2022-02-14 20:41:36 +05:30
ajbura
278fd5bd59 Fix member load triggering re-renders (#261)
Signed-off-by: ajbura <ajbura@gmail.com>
2022-02-13 13:32:57 +05:30
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