imnyang/cinny
Watch
1
0
Fork
You've already forked cinny
0
Commit graph cinny/src/client
Author SHA1 Message Date
cf58a4376e Improve roomlist code
Signed-off-by: Ajay Bura <ajbura@gmail.com>
4y ago
a76dcb289a Improve code quality
Signed-off-by: Ajay Bura <ajbura@gmail.com>
4y ago
127dd8baf4 Add cmd + k hotkey for mac os
Signed-off-by: Ajay Bura <ajbura@gmail.com>
4y ago
714929c72f Bump Cinny version to 1.8.0
4y ago
a7a5b08ad8 Add function to move space shortcut
Signed-off-by: Ajay Bura <ajbura@gmail.com>
4y ago
e1a67acde1 Add manage pin spaces
Signed-off-by: Ajay Bura <ajbura@gmail.com>
4y ago
4ab2af51a5 Add option to create muliple pin spaces shortcut
Signed-off-by: Ajay Bura <ajbura@gmail.com>
4y ago
424245df18 Add categorized spaces in account data
Signed-off-by: Ajay Bura <ajbura@gmail.com>
4y ago
094a11ec64 Add categorize spaces function in RoomList
Signed-off-by: Ajay Bura <ajbura@gmail.com>
4y ago
906fc2dd3d Refector room list drawer
Signed-off-by: Ajay Bura <ajbura@gmail.com>
4y ago
a62df536dd Move space shortcut from roomlist to accountdata
Signed-off-by: Ajay Bura <ajbura@gmail.com>
4y ago
8bc41c2c32 Fix bug when creating room
Signed-off-by: Ajay Bura <ajbura@gmail.com>
4y ago
79afc7649d Add option to create room/space
Signed-off-by: Ajay Bura <ajbura@gmail.com>
4y ago
d3ddbc0c72 Fix space add options visible in home
Signed-off-by: Ajay Bura <ajbura@gmail.com>
4y ago
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
4y ago
318e7c7458 Make dialog to add existing rooms to space
Signed-off-by: Ajay Bura <ajbura@gmail.com>
4y ago
1f6e5e71ef Add ability to explore and join space rooms
Signed-off-by: ajbura <ajbura@gmail.com>
4y ago
e654226e60 Add via param in join room function
Signed-off-by: ajbura <ajbura@gmail.com>
4y ago
76cb52878c Fix bug in room hierarchy
Signed-off-by: ajbura <ajbura@gmail.com>
4y ago
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
4y ago
8ddbc24dd4 Add rooms hierarchy class
Signed-off-by: ajbura <ajbura@gmail.com>
4y ago
736f4edfbd Replace gfmHtml with gfmHtml() as per #282
4y ago
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
4y ago
0e8219b200
Add support for sending spoiler markdown (#267)
* Basic spoiler markdown plugin

* Remove console.log statement
4y ago
0c32d5302c Add btn and hotkey to close room settings (#269)
Signed-off-by: Ajay Bura <ajbura@gmail.com>
4y ago
f310196937 Enable markdown by default
Signed-off-by: Ajay Bura <ajbura@gmail.com>
4y ago
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
4y ago
833edc9568 Add space settings
Signed-off-by: Ajay Bura <ajbura@gmail.com>
4y ago
55c4c25663 v1.7.0
4y ago
992da7c7be Refactor navigation
Signed-off-by: Ajay Bura <ajbura@gmail.com>
4y ago
e827fb2eb2 Fix live read recipt count (#227)
Signed-off-by: Ajay Bura <ajbura@gmail.com>
4y ago
f3615117d8 Add search icon in room header
Signed-off-by: Ajay Bura <ajbura@gmail.com>
4y ago
dcef08009d Add ability to search room messages
Signed-off-by: Ajay Bura <ajbura@gmail.com>
4y ago
e67abae3e0 Add afterClose param to reusabel context menu
Signed-off-by: Ajay Bura <ajbura@gmail.com>
4y ago
60c44da974 Refactor room options
Signed-off-by: Ajay Bura <ajbura@gmail.com>
4y ago
090ada5807 Add option to unban user in profile viewer
Signed-off-by: Ajay Bura <ajbura@gmail.com>
4y ago
a1d9c21337 Add option to ban user in profile viewer
Signed-off-by: Ajay Bura <ajbura@gmail.com>
4y ago
248fc15716 Add option to kick user in profile viewer
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
a279995982 Add action to open reusabel context menu
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
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
6fdd9ed48b Remove room-settings hotkeys
Signed-off-by: Ajay Bura <ajbura@gmail.com>
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
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
d02e8dcd4e Add optoins to change room visibility
Signed-off-by: Ajay Bura <ajbura@gmail.com>
4y ago
5e89675c9c Auto update room profile on change
Signed-off-by: Ajay Bura <ajbura@gmail.com>
4y ago
5777c1ab27 Add RoomSettings comp
Signed-off-by: Ajay Bura <ajbura@gmail.com>
4y ago
eb753a3f32 v1.6.1
Signed-off-by: Ajay Bura <ajbura@gmail.com>
4y ago