Commit graph

90 commits

Author SHA1 Message Date
Krishan
714929c72f Bump Cinny version to 1.8.0 2022-03-08 16:53:17 +05:30
Ajay Bura
a7a5b08ad8 Add function to move space shortcut
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-03-08 16:29:52 +05:30
Ajay Bura
e1a67acde1 Add manage pin spaces
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-03-06 17:52:04 +05:30
Ajay Bura
4ab2af51a5 Add option to create muliple pin spaces shortcut
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-03-06 17:51:21 +05:30
Ajay Bura
424245df18 Add categorized spaces in account data
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-03-02 21:24:11 +05:30
Ajay Bura
094a11ec64 Add categorize spaces function in RoomList
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-03-02 20:57:29 +05:30
Ajay Bura
906fc2dd3d Refector room list drawer
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-02-27 21:10:54 +05:30
Ajay Bura
a62df536dd Move space shortcut from roomlist to accountdata
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-02-27 17:02:03 +05:30
Ajay Bura
79afc7649d Add option to create room/space
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-02-26 21:00:52 +05:30
Ajay Bura
d3ddbc0c72 Fix space add options visible in home
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-02-23 19:48:24 +05:30
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
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
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
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
ajbura
8ddbc24dd4 Add rooms hierarchy class
Signed-off-by: ajbura <ajbura@gmail.com>
2022-02-10 20:56:23 +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
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
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
833edc9568 Add space settings
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-01-29 13:48:06 +05:30
Ajay Bura
55c4c25663 v1.7.0 2022-01-26 18:06:07 +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
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
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
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
60c44da974 Refactor room options
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-01-13 18:30:43 +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
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
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
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
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
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
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
eb753a3f32 v1.6.1
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-12-19 20:33:52 +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
ba629f1764 v1.6.0
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-12-13 21:12:42 +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
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
c9ec161ccc Add search modal (#132)
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-12-10 17:22:53 +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
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
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
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
c1e3645d57 Implement sending read receipt in new pagination
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-12-07 21:04:07 +05:30