Commit graph

58 commits

Author SHA1 Message Date
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
Ajay Bura
50db137dea Add export E2E key (#178) 2021-12-06 10:22:45 +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
7e7a5e692e Refectored Message comp
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-11-20 13:29:32 +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
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
a3270041e3 Bumped dependencies and v1.5.0
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-11-07 15:46:36 +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
60435d505f Fix duplicate notification count
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-10-28 15:08:26 +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
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
Ajay Bura
83c6914a50
Merge pull request #117 from ajbura/master
v1.3.1: Bug fixes
2021-09-26 18:59:53 +05:30
Ajay Bura
9ce95da8f4 Fixed #103: Crash when space nesting has a loop
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-09-25 20:18:06 +05:30
marcin mikołajczak
d6d1b0eeef Fix typo
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-09-14 09:30:37 +02:00
Ajay Bura
b07c50e580 Added unread symbol for Spaces, DMs and Home (#82) 2021-09-12 20:44:13 +05:30
unknown
a888427777 Added Notification.js for noti mapping (#82) 2021-09-11 19:27:35 +05:30
unknown
6b53b78ee3 Improved roomList 2021-09-10 18:37:52 +05:30
unknown
80551124f1 Added RoomOptions component (#25) 2021-09-09 17:49:57 +05:30
unknown
cdf421f0f1 Added option to fav spaces (#52) 2021-09-05 18:56:34 +05:30
unknown
4efc320f23 Added space nesting (#52) 2021-09-03 17:58:01 +05:30
unknown
705910d9e0 Renamed channels to rooms (#30) 2021-08-31 18:43:31 +05:30
unknown
b5dfc337ec refectored Drawer component and added Postie 2021-08-30 21:12:24 +05:30
unknown
18bd9d62cb fixed #71 : input autofocus on touch devices 2021-08-25 13:40:38 +05:30
unknown
eb667bc436 close #2 : added autocomplete for display name & replace fusejs 2021-08-24 15:31:20 +05:30
unknown
e971069595 chat scrollback performance improved 2021-08-21 18:39:21 +05:30
unknown
ac4c0ec1f6 added support for msg editing [#40] 2021-08-20 19:12:57 +05:30
unknown
f49048c6e1 replaced commonmark with micromark and gfm support 2021-08-17 15:10:44 +05:30
unknown
8d4e796f42 added ReadReceipts component 2021-08-16 17:37:29 +05:30
unknown
7fddf80c09 bug fixed attachment related 2021-08-15 18:57:05 +05:30
unknown
0404f30c87 made EmojiBoard reusable 2021-08-14 10:19:29 +05:30