imnyang/cinny
Watch
1
0
Fork
You've already forked cinny
0
Commit graph

779 commits

Author SHA1 Message Date
248fc15716 Add option to kick user in profile viewer
Signed-off-by: Ajay Bura <ajbura@gmail.com>
4y ago
e38ddebfb6 Refactor code of profile viewer
Signed-off-by: Ajay Bura <ajbura@gmail.com>
4y ago
57fc8b2f1a Fix quote from discord bridge
Signed-off-by: Ajay Bura <ajbura@gmail.com>
4y ago
b7fac8bcbc Update people drawer on power level change
Signed-off-by: Ajay Bura <ajbura@gmail.com>
4y ago
12f2eed5b3 Add ability to change power level in profile viewer
Signed-off-by: Ajay Bura <ajbura@gmail.com>
4y ago
3f39fd487f Fix custom power level selection return NaN
Signed-off-by: Ajay Bura <ajbura@gmail.com>
4y ago
950bf14d95 Fix markdown heading formatting
Signed-off-by: Ajay Bura <ajbura@gmail.com>
4y ago
a279995982 Add action to open reusabel context menu
Signed-off-by: Ajay Bura <ajbura@gmail.com>
4y ago
a2eb9734f1 Add PowerLevelSelector component
Signed-off-by: Ajay Bura <ajbura@gmail.com>
4y ago
cb23991841 Add ReusableContextMenu component
Signed-off-by: Ajay Bura <ajbura@gmail.com>
4y ago
769d24d196 Add room permissions
Signed-off-by: Ajay Bura <ajbura@gmail.com>
4y ago
af61f4f1db Refactor SettingTile component
Signed-off-by: Ajay Bura <ajbura@gmail.com>
4y ago
f8f77075ec Remove error handling from Avatar component
Signed-off-by: Ajay Bura <ajbura@gmail.com>
4y ago
34bb5f9928 Fix error on room leave
Signed-off-by: Ajay Bura <ajbura@gmail.com>
4y ago
ca3cced6ad Fix system theme not working on load
Signed-off-by: Ajay Bura <ajbura@gmail.com>
4y ago
be905ac7be Hide role dropdown icon in profile viewer (#215)
Signed-off-by: Ajay Bura <ajbura@gmail.com>
4y ago
53f3ccc888 Fix memory leaks
Signed-off-by: Ajay Bura <ajbura@gmail.com>
4y ago
c304670f47 Add globe icons in search
Signed-off-by: Ajay Bura <ajbura@gmail.com>
4y ago
6388894aa4 Fix focus bug on room-selector
Signed-off-by: Ajay Bura <ajbura@gmail.com>
4y ago
c27b11bf25 Add room alias or id as fallback in room profile
Signed-off-by: Ajay Bura <ajbura@gmail.com>
4y ago
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
4y ago
63a0adaa6e Add ability to enable room encryption
Signed-off-by: Ajay Bura <ajbura@gmail.com>
4y ago
0ddeb02d23 Add ability to manage room history visibility
Signed-off-by: Ajay Bura <ajbura@gmail.com>
4y ago
c23acf9e9e Fix context menu margin in auth page
Signed-off-by: Ajay Bura <ajbura@gmail.com>
4y ago
54635bf0d3 Add ability to manage room addresses
Signed-off-by: Ajay Bura <ajbura@gmail.com>
4y ago
6fdd9ed48b Remove room-settings hotkeys
Signed-off-by: Ajay Bura <ajbura@gmail.com>
4y ago
a0399b7f5e Add disabled attribute in Checkbox, Toggle and RadioButton
Signed-off-by: Ajay Bura <ajbura@gmail.com>
4y ago
387f6bcad4 Fix font-variant-ligatures
Signed-off-by: Ajay Bura <ajbura@gmail.com>
4y ago
0b43431543 Temp EmojiBoard performance improved
Signed-off-by: Ajay Bura <ajbura@gmail.com>
4y ago
34862f9ace Fix EmojiBoard styling
Signed-off-by: Ajay Bura <ajbura@gmail.com>
4y ago
cd465ca35a Fix default checkbox size
Signed-off-by: Ajay Bura <ajbura@gmail.com>
4y ago
93251e0029 Show pack icon or first emoji as fallback in EmojiBoard sidebar
Signed-off-by: Ajay Bura <ajbura@gmail.com>
4y ago
c2402ddb72 Add isImage prop in RawIcon
Signed-off-by: Ajay Bura <ajbura@gmail.com>
4y ago
d3dcb320f4 Add checkbox component
Signed-off-by: Ajay Bura <ajbura@gmail.com>
4y ago
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
4y ago
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
4y ago
f9b70d65d8 Fix message formatting
Signed-off-by: Ajay Bura <ajbura@gmail.com>
4y ago
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
4y ago
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
4y ago
9854f4eb2d Make contributing guideline short and simple
Signed-off-by: Ajay Bura <ajbura@gmail.com>
4y ago
d46b046f2d Adjust drawer width in small screen
Signed-off-by: Ajay Bura <ajbura@gmail.com>
4y ago
d02e8dcd4e Add optoins to change room visibility
Signed-off-by: Ajay Bura <ajbura@gmail.com>
4y ago
07b1fe8e47 Add separate icon for public rooms and spaces
Signed-off-by: Ajay Bura <ajbura@gmail.com>
4y ago
7c368ae029 Fix spolier click not working on some browser
Signed-off-by: Ajay Bura <ajbura@gmail.com>
4y ago
d6b5f92d6c Add GeneralSettings component
Signed-off-by: Ajay Bura <ajbura@gmail.com>
4y ago
2b70a49e09 Refactor RoomOptions component
Signed-off-by: Ajay Bura <ajbura@gmail.com>
4y ago
8cfa20be1e Add RoomNotification component
Signed-off-by: Ajay Bura <ajbura@gmail.com>
4y ago
246f6caf20 Add disable prop in IconButton and MenuItem
Signed-off-by: Ajay Bura <ajbura@gmail.com>
4y ago
7750366654 Fix RadioButton style
Signed-off-by: Ajay Bura <ajbura@gmail.com>
4y ago
0f963a93f1 Fix twemoji scaling
Signed-off-by: Ajay Bura <ajbura@gmail.com>
4y ago