Commit graph

610 commits

Author SHA1 Message Date
Paul
745b03452b Fix chat not scrolling to bottom when messages update. 2021-08-16 18:59:40 +01:00
Paul
d13b5e812d Add leet speak to languages menu. 2021-08-16 18:16:49 +01:00
Paul
1f2e58b10e Include @ symbol when reply is a mention. 2021-08-16 18:08:44 +01:00
Paul
b4f16f0d00 Handle role hoisting / ranking.
Closes #76 and closes #75.
2021-08-16 17:02:24 +01:00
Paul
72e9cda844 Attempt to fix attachments not showing up on Samsung Internet. 2021-08-16 15:16:54 +01:00
Ryan Alexander
30448ce5a0
Update ContextMenus.tsx
Add Create Invite button to server context menu
2021-08-16 08:00:53 +10:00
Paul
8ba5c13cfc Fix Revolt on WebKit browsers. 2021-08-15 22:58:16 +01:00
Ryan Alexander
44521716c6
Update ServerListSidebar.tsx 2021-08-16 05:24:37 +10:00
Ryan Alexander
8124119e73
Update ServerListSidebar.tsx 2021-08-16 05:17:21 +10:00
Ryan Alexander
9ec2fa54af
Removed css changes to appearance tab text 2021-08-16 04:14:39 +10:00
Ryan Alexander
07061c4af1
Update Appearance.tsx 2021-08-16 04:14:10 +10:00
Paul Makles
a17487606f
Merge pull request #70 from MichailiK/feature/message/image-loading-background 2021-08-15 18:04:24 +01:00
Paul
d72adacb24 Fix search not working on mobile. 2021-08-15 18:01:25 +01:00
Michaili K
88c9775e23
Create separate ImageFile component for image attachments 2021-08-15 18:53:42 +02:00
Ryan Alexander
a6c788f469
Used global language file for text 2021-08-16 01:57:33 +10:00
Ryan Alexander
3e3c490a22
Add Tooltip to settings icon 2021-08-16 01:40:58 +10:00
Paul
5dbee0c42a oops uh this should be 50% 2021-08-15 15:48:45 +01:00
Ryan Alexander
792bc99eac
Merge branch 'revoltchat:master' into patch-2 2021-08-16 00:26:18 +10:00
Paul
8a104855a1 Add settings button to server list sidebar.
Move more border radiuses to variables.
2021-08-15 15:21:23 +01:00
Ryan Alexander
6938deb568
Update UserProfile.tsx
Clicking badges that can redirect to a relevant page will do so.

Clicking Supporter will direct to donate page
Clicking Translator will direct to weblate
2021-08-16 00:09:16 +10:00
Paul Makles
ff9545ba2f
Merge pull request #66 from janderedev/pr-6 2021-08-15 14:52:12 +01:00
Paul Makles
c0c0c267f4
Merge pull request #67 from ashishcas/fixing-border-radius 2021-08-15 14:50:43 +01:00
Paul
c2485f2a78 Add Thai and Bulgarian. 2021-08-15 14:16:36 +01:00
Michaili K
1b4d1e73df
Add (basic implementation of) background for loading images 2021-08-15 12:59:00 +02:00
Paul
4abf98adcb Bump revolt.js to fix objects not being properly updated.
Also don't re-fetch members on each message.
Add cursor: pointer to attachment images upon request.
Use client message cache for replies.
2021-08-15 09:58:22 +01:00
Paul
f59d0efbcb Remember whether reply was a mention or not.
Fix input modals refreshing page.
2021-08-14 21:37:43 +01:00
ashishcas
aedc158654 feat:: updating border radius 2021-08-14 21:44:02 +05:30
Paul
8609a1f016 Try optimise members list. 2021-08-13 22:31:28 +01:00
janderedev
3e1c8c862a
Merge branch 'master' of https://github.com/revoltchat/revite into pr-6 2021-08-13 15:54:14 +02:00
Paul
40d0421fa2 Fix inviting bots to servers. 2021-08-12 22:27:14 +01:00
janderedev
dfed9515d1
fix regex, add * and empty text matchers 2021-08-12 23:17:52 +02:00
janderedev
82d3dd3c7b
Scroll to bottom after sed editing message 2021-08-12 22:54:54 +02:00
Paul Makles
4d9c324326
Merge pull request #60 from janderedev/pr-5 2021-08-12 21:39:23 +01:00
janderedev
60947b71ed
Merge branch 'master' of https://github.com/revoltchat/revite into pr-6 2021-08-12 22:29:41 +02:00
janderedev
884402e62a
sed replacement in message box. 2021-08-12 22:21:37 +02:00
Paul
4ac3165bdc Remove logs. 2021-08-12 19:51:23 +01:00
janderedev
ac04bd2b44
Filter mutual servers properly 2021-08-12 18:29:01 +02:00
Paul
c5a36b09d9 Remove ability to add bot as a friend. 2021-08-12 17:11:34 +01:00
janderedev
3d707a64da
Merge branch 'master' of https://github.com/revoltchat/revite into pr-5 2021-08-12 17:52:38 +02:00
Paul
01cdce492e Add bot invite menu. 2021-08-12 16:07:41 +01:00
Paul
237a0024df Temporary bot menu. 2021-08-12 15:29:19 +01:00
Paul
c27f596d40 Show user flags and the bot owner. 2021-08-12 14:40:13 +01:00
Paul
8137409dae Fix search scroll.
Add bot badge.
2021-08-12 12:16:24 +01:00
janderedev
1c3d76d45f
Added mutual servers tab on user profile 2021-08-12 12:32:56 +02:00
janderedev
72ccbce765
Show member count on invite screen. Fixes #20 2021-08-12 10:45:22 +02:00
Paul Makles
a944ed5040
Merge pull request #58 from brecert/master
fix image overflow on older browsers
2021-08-11 13:44:38 +01:00
Paul
d912e7209f Small fixes for search. 2021-08-11 13:32:31 +01:00
brecert
6f99af6527
fix image overflow on older browsers 2021-08-10 05:48:26 -04:00
Paul
7a80c0edb5 Add search back. 2021-08-09 17:34:25 +01:00
Paul
f19e334d56 Handlers for UserShort.
View user's profile picture.
Close #25, adds logic to hamburger.
2021-08-09 15:51:22 +01:00
Paul
c8b5753211 Anchor scroll to bottom when switching channels. 2021-08-08 23:01:47 +01:00
Paul
d5b0d8d9cf Display all server roles separately. 2021-08-08 21:50:29 +01:00
Paul
a19ff58e12 Switch to React Virtuoso from react-window 2021-08-08 20:28:47 +01:00
Paul
a3e2ed3b94 Revert typing indicator changes. 2021-08-08 18:46:27 +01:00
Paul
add94d59ff Temporarily remove TextReact. 2021-08-08 18:40:25 +01:00
Paul
5c45e29f92 Improve category design for members list.
Implement new list for groups.
2021-08-08 18:26:16 +01:00
Paul
f2c59ae451 Style categories. 2021-08-08 17:18:58 +01:00
Paul
8e24d1490c Virtualised sidebar test. 2021-08-08 16:17:16 +01:00
Paul
17f68088d1 Show server identity in message replies and typing indicator.
Revert reply connector temporarily.
2021-08-08 10:16:48 +01:00
Paul
ef1eb74486 Don't show server mark as read on channels. 2021-08-07 23:04:44 +01:00
Paul
4f1ba8942f Add server avatars. Closes #52
Add identity edit menu. Closes #51
2021-08-07 22:42:15 +01:00
Paul
97816e1feb Add max-width to settings sidebar. 2021-08-07 21:24:28 +01:00
Paul
7c7f813118 Scroll to last position when re-opening a chat. 2021-08-07 20:53:17 +01:00
Paul
1f903cd56b Manage state per channel. Closes #2 2021-08-07 20:43:08 +01:00
Paul
7d76a657fa Fix new state updates. 2021-08-07 16:55:14 +01:00
Paul
4ec1ff5c59 Re-write voice context. Working towards #21 2021-08-07 16:15:55 +01:00
Paul
0fe154c651 Fix voice and abnormal CPU usage. 2021-08-07 14:13:05 +01:00
Paul
0ea80b5717 Fixes #9 and closes #8. This adds a way to mark servers as read.
Servers are also marked as read when joining them.
You can now also mark DMs as read.
2021-08-07 12:30:19 +01:00
Paul
2f06112921 Add a way to copy message links.
Remove focus from auto complete after click, fixes #12.
2021-08-07 10:52:22 +01:00
Paul
bb6ac68c8e Clean up system message code. Fixes #3 2021-08-07 10:32:18 +01:00
Infi
34e8d54512 Add system message icons. Closes #10 2021-08-07 00:34:57 +02:00
Paul Makles
6320eb3253
Merge pull request #44 from janderedev/pr-3 2021-08-06 21:13:14 +01:00
janderedev
fbdbf5d0bc
Fix issues with language detection 2021-08-06 22:12:10 +02:00
Paul
7e1698cc79 Refresh the feedback menu. 2021-08-06 21:07:11 +01:00
janderedev
735e9b7f5e
Display the system language first. Fixes #4 2021-08-06 20:48:10 +02:00
Paul
973d8adbed Add GitHub links to feedback page. 2021-08-06 18:57:39 +01:00
Paul Makles
ae7101a673
Merge pull request #18 from brecert/image-embed-scaling
Improve image embed scaling.
2021-08-06 17:42:32 +01:00
brecert
144a63a5c8
Improve image embed scaling.
- fixes #15
2021-08-06 12:39:23 -04:00
janderedev
cae3b68c7f
ESC now removes the last attachment. Fixes #16 2021-08-06 18:07:11 +02:00
janderedev
1e25821816
Esc now removes the last reply, fixes #7 2021-08-06 15:40:32 +02:00
nizune
1ac5de173b final commit 2021-08-06 09:31:25 +02:00
Paul
d841b9e3cd Fix profiles not loading. 2021-08-05 23:25:49 +01:00
Paul
1e7600e867 Fix settings. 2021-08-05 20:19:02 +01:00
Paul
7b45205e01 Format code. 2021-08-05 14:47:20 +01:00
Paul
55e00bf93f Make the linter happy. 2021-08-05 14:47:00 +01:00
nizune
5930415c05 Fixed RTL issue with replies 2021-08-05 12:01:31 +02:00
nizune
123dc6bbfc New look to replies 2021-08-05 11:54:32 +02:00
Paul
f2cf3559db Add Toki Pona SVG. 2021-08-04 19:22:13 +01:00
nizune
fcbd0019a0 Settings account page done 2021-08-04 20:00:30 +02:00
nizune
7a8b12e15c Fixed sent attachments code 2021-08-04 19:59:29 +02:00
nizune
95a149407b Continue work on category buttons 2021-08-04 18:33:01 +02:00
Paul
0aa18d22e9 Remove buttons on Account page. 2021-08-04 16:43:08 +01:00
Paul
b648a7b9ac Large desc option. 2021-08-04 16:17:56 +01:00
Paul
fe75f5a6ca Add i18n to replies.
Add Fluent design category button.
Update Account page with new design.
2021-08-04 16:03:38 +01:00
Paul
8cc92e0c42 Start work on fluent categories.
Fix Locale loading when syncing invalid lang.
2021-08-04 14:31:55 +01:00
nizune
c93f0245f1 Fixed message replies + refined account settings 2021-08-04 14:48:33 +02:00
nizune
1504f307fc Changed Reply bar structure 2021-08-04 14:01:24 +02:00
Paul
184663a3ac Categorise constructed languages. 2021-08-04 12:31:51 +01:00
nizune
6d8a8e14dd Added constructed languages category 2021-08-04 13:29:12 +02:00
nizune
5c9b3a1c86 Finished account settings 2021-08-04 12:56:59 +02:00
Paul
90c46155e4 Add hide email button.
Add device name for Revolt Desktop.
Add Italian and Toki Pona.
2021-08-04 11:40:58 +01:00
nizune
0884df407e Changed button look to plain in account settings 2021-08-04 12:22:48 +02:00
nizune
73c4bf34d6 Changed design of account settings 2021-08-04 12:21:29 +02:00
nizune
907e11bd5e Small fixes to account settings 2021-08-04 11:51:53 +02:00
nizune
3887029f66 Fixed scrollbar out of place in settings menu 2021-08-04 10:49:45 +02:00
nizune
c72df91e3d Cleaned up desktop settings 2021-08-04 10:01:17 +02:00
nizune
f5e2779983 Added detection for multiple attachments.
Co-authored-by: infi <insrt-git@geist.ga>
2021-08-03 22:42:06 +02:00
Paul
4c4477e79e Add new native options. 2021-08-03 20:04:46 +01:00
nizune
f4b04635de Fixed titlebar 2021-08-03 19:30:35 +02:00
nizune
85879faf7b Fixed titlebar 2021-08-03 19:28:22 +02:00
nizune
f25dae77aa Updated boxicons + small fixes 2021-08-03 17:51:35 +02:00
nizune
a10646888f Finished cleaning up User Settings CSS 2021-08-03 17:07:02 +02:00
Paul
e1ffefe2ba Hover animation for home button.
Fix svg alignment in foreign objects.
2021-08-03 15:37:19 +01:00
nizune
9581a4df92 Refreshed languages menu in settings 2021-08-03 11:51:40 +02:00
Paul
0139a91882 Add donation button to home page. 2021-08-02 22:03:59 +01:00
Paul
38dd135f67 Open settings when clicking top left on desktop. 2021-08-02 21:36:49 +01:00
nizune
df39b1fc2b Cleaned up CSS for settings page 2021-08-02 17:55:49 +02:00
nizune
03f572f365 More settings fixes + clamped long usernames 2021-08-02 17:25:39 +02:00
nizune
2f563ef726 More work on settings panel 2021-08-02 16:21:16 +02:00
Paul
f465a8d81f Trick Facebook container extension to disable tracking warning, see issue https://github.com/mozilla/contain-facebook/issues/783 2021-08-02 13:14:10 +01:00
Paul
61680fe386 Merge branch 'master' of https://gitlab.insrt.uk/revolt/revite 2021-08-02 13:13:12 +01:00
nizune
4a248ffa5b Started work on redoing settings structure 2021-08-02 14:09:54 +02:00
Paul
44b5725793 Disallow text selection in messages on mobile. 2021-08-02 13:06:18 +01:00
nizune
ab54afc1e0 Small update for desktop app 2021-08-02 12:22:39 +02:00
nizune
12047ba944 New server sidebar swoosh 2021-08-02 10:57:17 +02:00
Paul
ed826cf1bb Add settings closing animation. 2021-08-01 21:55:13 +01:00
Paul
fd010ed75e Closing animation for settings. 2021-08-01 21:08:42 +01:00
nizune
f1966b4560 Cleaned up titlebar look 2021-08-01 20:40:02 +01:00
nizune
11c766511a Changed titlebar icons 2021-08-01 20:40:02 +01:00
Paul
d6e32fe8dc Move titlebar. 2021-08-01 20:40:02 +01:00
Paul
591d21c28b Don't show tooltip / hover when no update. 2021-08-01 20:40:02 +01:00
Paul
796dc467b8 Move update indicator to titlebar on desktop. 2021-08-01 17:52:44 +01:00
nizune
6baaccd70d Added update button to titlebar 2021-08-01 18:35:10 +02:00
nizune
f1626b9c99 Added fixes to electron titlebar 2021-08-01 18:17:22 +02:00
Paul
4ae0dc6935 Improve titlebar design. 2021-08-01 16:44:51 +01:00
Paul
31636d569c Improved native options. 2021-08-01 14:22:08 +01:00
Paul
63d2d1b760 Fix message links from search. 2021-07-31 22:39:15 +01:00
Paul
8872ed56b1 Fix blocked users appearing in typing indicator.
Make typing indicator time out.
2021-07-31 17:58:26 +01:00
Paul
76478f67be Fix notifications not opening server. 2021-07-31 17:00:50 +01:00
Paul
9bb9d1fa1e Add nicknames + role colours back. 2021-07-31 16:59:37 +01:00
Paul
909985b47d Fix message links redirecting to home page. 2021-07-31 15:11:58 +01:00
Paul
5eed9ecc5e Fix message links from replies. 2021-07-31 13:50:29 +01:00
Paul
6b6279ffee Move typing indicator into revolt.js 2021-07-31 13:48:26 +01:00
Paul
29cc221a34 Fix elements not observing permissions. 2021-07-31 12:09:18 +01:00
Paul
463aa79356 Remove strict on KaTeX, change error. 2021-07-31 11:04:31 +01:00
Paul
719e5b4dd8 Add queued messages back.
Fix various code issues.
i18n invite menu.
2021-07-31 10:31:16 +01:00
Paul
305243ab43 Fix server id not being replaced properly.
Fix links in spoilers opening when revealing.
Fix unread icon appearing for home.
Fix unreads not being acknowledged.
2021-07-31 10:05:59 +01:00
Paul
58d9744fad Update to revolt.js 5.0.0-alpha.10
Fix member sidebar not showing on mobile.
2021-07-31 09:34:55 +01:00
Paul
bdd93e8840 Fix duplicate member entries. 2021-07-30 23:43:26 +01:00
Paul
4c9554c5e9 Zero error milestone. 2021-07-30 22:40:49 +01:00
Paul
c21453b281 100 error milestone.
Remove hooks completely. :)
2021-07-30 21:20:42 +01:00
Paul
3184269ba4 Start migration to revolt.js@5.0.0.
200 error milestone
2021-07-30 20:24:53 +01:00
Paul
564c1d8494 Completely remove all references to Username. 2021-07-29 21:47:45 +01:00
Paul
0397700b88 Try reverting change to typing indicator. 2021-07-29 21:43:04 +01:00
Paul
6531486636 Handle additional side effects from events. 2021-07-29 21:23:06 +01:00
Paul
b0681dfc99 Load member sidebar into MobX state. 2021-07-29 21:01:03 +01:00
Paul
b06729d0b3 Handle all packets. 2021-07-29 20:39:58 +01:00
Paul
d5cd45196e Clean up code. 2021-07-29 20:11:50 +01:00
Paul
768c80b051 Remove useServer and useServers. 2021-07-29 19:01:40 +01:00
Paul
bde9a2e8f7 Remove useChannels.
Add servers to MobX.
2021-07-29 18:49:49 +01:00
Paul
411fac2527 Remove useChannel 2021-07-29 18:41:01 +01:00
Paul
0571c065bd Remove remaining references to useUser(s).
Add Channel object.
2021-07-29 16:55:07 +01:00
Paul
748713be53 Fix: Should use observer not observable. 2021-07-29 16:08:35 +01:00
Paul
f8611ddea5 Finish migrating user state over to MobX. 2021-07-29 15:51:19 +01:00
Paul
4dffaad6c1 Work towards removing useUsers. 2021-07-29 15:11:21 +01:00
Paul
cf3930b094 Add MobX store, create observable User. 2021-07-29 12:41:28 +01:00
Paul
781fa5de10 Attempt to fix no permission on server. 2021-07-28 17:55:53 +01:00
Paul
25fa375ce0 Fix typing indicator. 2021-07-28 14:04:27 +01:00
Paul
98f9672801 Show nickname / role colour in typing indicator.
Try to fix voice context.
2021-07-27 11:45:45 +01:00
Paul
a8c3482815 Temporary member nickname / role colour solution. 2021-07-25 17:52:57 +01:00
Paul
e61c647fda Update donation link.
Add settings tip to home page.
2021-07-25 14:37:19 +01:00
Paul
6d5fb0a8a3 Rename occurrences of monoscape to monospace. 2021-07-25 14:26:45 +01:00
Paul
6cf18b1b9b Fix message reply overflow.
Add opera icon to sessions.
2021-07-25 14:18:48 +01:00
Paul
f2a69daf03 Fix onboarding. 2021-07-25 13:55:45 +01:00
Paul
fd03c64d92 Show friend requests on top-right avatar. 2021-07-25 12:50:34 +01:00
Paul
e12ebc9b0d Fix scrollbar on server list. 2021-07-25 10:56:22 +01:00
Paul
8c6947f7d4 Add category editor to servers. 2021-07-24 19:39:41 +01:00
Paul
71020e6e8c Bring back ability to edit roles on members.
Improve ban list design.
2021-07-24 18:46:33 +01:00
Paul
dbaf246c27 Use loading="lazy" in more places.
i18n invites page.
Polish the bans page.
2021-07-24 17:01:50 +01:00
Paul
ca975aae7b Lazy load embed contents.
Use server config for image proxy.
2021-07-24 11:22:08 +01:00
Paul
38157ae14b Add search sorting. 2021-07-21 18:27:05 +01:00
Paul
f5e70afb35 Experimental hooks. 2021-07-14 14:42:22 +01:00
Paul
7374591458 Add editing role name / colour.
Animate avatars on message hover.
Switch to 24-hour time format by default.
2021-07-14 13:25:40 +01:00
Paul
c00b5ae37a Merge branch 'master' of https://gitlab.insrt.uk/revolt/revite 2021-07-10 18:06:22 +01:00
Paul
93ee98717d Fix: Session icon alignment.
Fix: i18n blocked messages / users.
2021-07-10 18:06:21 +01:00
nizune
cc78c7f434 Fixed settings theme color 2021-07-10 18:39:01 +02:00
Paul
5b5ca47cb0 Merge branch 'master' of https://gitlab.insrt.uk/revolt/revite 2021-07-10 17:35:19 +01:00
Paul
3351674c21 Fix: Prevent context menu on images in settings.
Revert mobile change.
Messages: Add channel id matching.
2021-07-10 17:35:18 +01:00
nizune
af14463669 Minified SVGs for Appearance 2021-07-10 18:05:13 +02:00
Paul
4f6d2de75f Fix: Hide panels in server / channel settings. 2021-07-10 16:26:58 +01:00
Paul
7586b365fe Format and automatically fix linted code. 2021-07-10 15:57:29 +01:00
Paul
392cb23541 Add spoilers back. 2021-07-10 15:55:21 +01:00
Paul
ef5944b065 Add more internal CSS variables. 2021-07-10 15:42:13 +01:00
Paul
9846262e8b Fix attachment scaling. 2021-07-10 15:21:35 +01:00
Paul
92fed40e40 Merge branch 'master' of https://gitlab.insrt.uk/revolt/revite 2021-07-10 12:29:33 +01:00
Paul
e09fd006a8 Fix: Sever list was not center aligned. 2021-07-10 12:29:32 +01:00
nizune
9ff0ce789a Added line clamp to embed descriptions 2021-07-10 12:28:18 +02:00
Paul
6a2dd50236 Fix: Don't lose focus on send.
Sidebar: Show home button on mobile.
2021-07-10 11:21:05 +01:00
nizune
586b153eb8 Small changes to userhover 2021-07-10 00:09:49 +02:00
nizune
70cba134e3 Merge branch 'master' of https://gitlab.insrt.uk/revolt/revite 2021-07-09 23:44:26 +02:00