Commit graph

1251 commits

Author SHA1 Message Date
Paul
57ecf4638e Merge branch 'master' of https://github.com/revoltchat/revite 2021-09-03 11:15:07 +01:00
Paul Makles
4fec0f78cb
Merge pull request #161 from Bawbby/master
Clean up invalid invite page.
2021-09-03 11:14:22 +01:00
Paul Makles
5abe90583a
Merge pull request #177 from yannickfunk/push-notifications
Parse Web Push notifications
2021-09-03 11:08:14 +01:00
Paul
71ffad9adf Format code for MyBots.tsx, fix i18n and make buttons less aggressive. 2021-09-03 11:07:58 +01:00
Paul Makles
8ad1130a00
Merge pull request #159 from Snazzah/bots-look-cool 2021-09-03 11:04:53 +01:00
Paul Makles
3aa90ab570
Merge branch 'master' into contextual_border_radius_variables 2021-09-03 11:01:19 +01:00
Paul
bde8b58095 Fix pointer style for badges. 2021-09-03 10:46:52 +01:00
Paul
a1cb72046c Fix and prettier incoming changes from PR #119.
Cherry pick PR #130: don't show add friend button on banned / deleted accounts.
Also account for this in context menu.
2021-09-03 10:43:48 +01:00
Ryan Alexander
a08ad7aa0b
Rename "ios" & "fxios" to "Safari" and "Firefox" for browser name (#119) 2021-09-03 09:35:02 +00:00
Paul
c302eade17 Update source links from GitLab to GitHub. 2021-09-03 10:30:27 +01:00
Paul
a387d3c6ae Use variables for scrollbar width.
Update language definitions.
2021-09-03 10:17:42 +01:00
Yannick Funk
591df837d5 Parse push notification packet of client 2021-09-02 23:24:22 +02:00
Ed L
978f21f04d increase padding for profile preview 2021-09-01 17:02:37 +01:00
TaiAurori
2f950aab53
add visible joining indicator 2021-08-31 21:37:42 +00:00
TaiAurori
a10e5100d3
add proper placeholder for invalid invite 2021-08-31 21:22:19 +00:00
TaiAurori
f9bb332605
reindent 2021-08-31 20:45:01 +00:00
TaiAurori
0b0d1186eb
invite embeds 2: electric boogaloo 2021-08-31 20:30:02 +00:00
Snazzah
222d328985 add translation 2021-08-31 16:00:35 +00:00
Snazzah
d298f877e5 finish translations 2021-08-31 15:55:18 +00:00
Snazzah
3ad20d6e96 fix typing errors 2021-08-31 15:37:34 +00:00
Snazzah
4bdc29c9d6 remove under construction tip 2021-08-31 04:51:13 +00:00
Snazzah
8ea0615600 update strings and style 2021-08-31 04:50:48 +00:00
Snazzah
e92877158c update create bot form 2021-08-31 04:33:47 +00:00
Snazzah
28dbd49957 Move creating bots to a popover 2021-08-31 04:00:45 +00:00
Snazzah
d2740f2844 error handling & styling 2021-08-31 03:23:07 +00:00
Snazzah
a76d992db1 Add "add bot" button 2021-08-31 02:33:36 +00:00
Snazzah
430714e816 Bot avatar uploading 2021-08-31 01:42:50 +00:00
TaiAurori
2e9a76519e Merge branch 'master' of https://github.com/TaiAurori/revite 2021-08-30 18:24:35 -04:00
TaiAurori
3d1ee73032 invite embeds preview 2021-08-30 18:21:49 -04:00
LambdAurora
1d42f0a60a
Introduce new border radius variables for stable theming. 2021-08-30 23:39:02 +02:00
Bawbby
3046e413cd
Clean up invalid invite page.
- Make it look like a valid invite page.
- Add arrow to go back to home.
2021-08-30 17:11:04 -04:00
Snazzah
3678a32d95 Add bot editing 2021-08-30 19:10:55 +00:00
Paul
d368820aeb Add CTRL + ENTER to force send message.
Fix: cursor jumping to the end of message area.
Fix: inconsistent message send button on mobile.
2021-08-30 18:01:32 +01:00
Snazzah
86027f7b3d Initial bot page stylings 2021-08-30 16:18:42 +00:00
Paul
4e3e57a7c9 Fix issues introduced in new Typescript version. 2021-08-30 16:45:23 +01:00
Paul
b364fe50f6 Make Typescript happy, testing CI build.
Adjust language names.
2021-08-30 16:08:22 +01:00
Snazzah
d8465b1aae Add trusted link handling in renderer/prompt 2021-08-30 14:08:13 +00:00
Paul
2a2f711eb5 Fix Korean language name. 2021-08-30 15:01:15 +01:00
Snazzah
4c34787ef3 Add trusted links to state 2021-08-30 13:07:35 +00:00
Paul
0ca99ddceb Fix ghost notifications on closed DMs.
Fix link warning not closing on open.
2021-08-30 13:26:19 +01:00
Paul
44fdee1214 Add new languages: et, fil, ga, ja, ko, lb, ms, nb_NO, sk, sl, ta, vi. 2021-08-30 13:13:15 +01:00
Paul
ea2e6ada82 Merge branch 'master' of https://github.com/revoltchat/revite 2021-08-30 12:35:14 +01:00
Paul
3443565265 Fix observer on Profile pane. 2021-08-30 12:35:12 +01:00
Paul Makles
d4ea64af42
Merge pull request #154 from Snazzah/pr/editbox
Bump message editor rows to 10
2021-08-30 12:19:47 +01:00
Paul Makles
43010b3b72
Merge pull request #151 from ryanalexander/count-direct-messages
Treat direct messages as mention, group behavior is the same
2021-08-30 12:19:29 +01:00
Paul Makles
8d7a05f667
Merge pull request #155 from Snazzah/pr/mail-provider
Update Mail Providers
2021-08-30 12:18:41 +01:00
Snazzah
ed53cebc01 Update Mail Providers 2021-08-30 05:38:59 +00:00
Snazzah
8a3f0a6629 Bump message editor rows to 10 2021-08-30 05:03:22 +00:00
Ryan Alexander
f3786e473b Treat direct messages as mention, group behaviour is the same 2021-08-29 10:29:58 +10:00
Ryan Alexander
fe04951bcf Make continue button use accent colour 2021-08-29 10:00:23 +10:00
Ryan Alexander
3d0e95d25d Add external link warning 2021-08-29 09:56:20 +10:00
Paul Makles
5c5c9c7d22
Merge pull request #132 from flaree/handle-subdomains 2021-08-26 17:48:28 +01:00
Paul Makles
6e1545412b
Merge pull request #131 from ryanalexander/new-voice-interface 2021-08-23 13:31:07 +01:00
Ryan Alexander
dfae11c204
Update UserIcon.tsx 2021-08-23 22:28:49 +10:00
Zomatree
5a716fb1d6 color -> colour 2021-08-23 12:45:12 +01:00
Jamie
2d3afdaa83
fix indentation 2021-08-23 04:42:18 -07:00
Jamie
c4b881a525
Update Renderer.tsx 2021-08-23 04:38:21 -07:00
Ryan Alexander
5be8e60b45 Prevent granting permissions you don't have 2021-08-23 12:32:44 +01:00
Ryan Alexander
c02c4a63fa Only display TextChannels as option for SystemMessage channels 2021-08-23 12:11:19 +01:00
Ryan Alexander
a6846192de Add audio tab and ability to change audio input device 2021-08-23 11:57:46 +01:00
Kamil G
6842bdc4a5 remove search from experiments 2021-08-23 11:52:13 +01:00
Jamie
852cc22dc2
Update Renderer.tsx 2021-08-22 04:31:48 -07:00
Jamie
5c01944cfb
Handle subdomains on URLs 2021-08-22 03:39:30 -07:00
Ryan Alexander
af691be15c
Update Overview.tsx 2021-08-22 12:26:56 +10:00
Ryan Alexander
f27a07a2da
Update Settings.tsx 2021-08-22 12:26:29 +10:00
Ryan Alexander
04e42ae1c2
Delete Privacy.tsx 2021-08-22 12:26:01 +10:00
Ryan Alexander
ccda5e8609 Add deafen button 2021-08-22 12:22:44 +10:00
Paul
db43c02e01 Changes for #88
Fix tooltip foreground.
Change light mode foreground colours.
Update ::selection styles.
2021-08-19 14:50:00 +01:00
Paul Makles
762cad1614
Merge pull request #93 from ryanalexander/patch-4 2021-08-19 13:49:27 +01:00
Ryan Alexander
b60d590385
Update Appearance.tsx 2021-08-19 00:05:23 +10:00
Paul
2341408557 Fix unresolved import for system user ID. 2021-08-18 11:31:25 +01:00
Ryan Alexander
98d1f06ce6
Update Appearance.tsx 2021-08-18 10:11:17 +10:00
Paul Makles
fe24b28bee
Merge pull request #104 from ryanalexander/patch-5 2021-08-18 00:59:13 +01:00
Ryan Alexander
993b85843b
Update ServerHeader.tsx 2021-08-18 09:58:49 +10:00
Paul Makles
468350b36c
Merge pull request #98 from fatalerrorcoded/master 2021-08-18 00:58:45 +01:00
Paul Makles
ae22c344a1
Merge pull request #87 from ryanalexander/context-categories 2021-08-18 00:58:06 +01:00
Paul
b8c345f493 Add max length to message box. 2021-08-18 00:55:36 +01:00
Ryan Alexander
3d31a6c8f9
Update ServerHeader.tsx 2021-08-18 09:06:57 +10:00
Ryan Alexander
cefeebb4d2
Added verified server badge for any servers created by insert 2021-08-18 08:54:55 +10:00
Ryan Alexander
dccc0f4eb7
Update Prompt.tsx 2021-08-18 06:28:18 +10:00
Paul
69cd410aff Fix home tab item width on Firefox.
Fix inability to leave server, for #95.
Add warning to invite bot.
2021-08-17 20:47:44 +01:00
Paul
5bfba2d7cf Show friend request count in indicator. Fixes #96 2021-08-17 20:05:21 +01:00
Martin Löffler
5ab1773f01
Moved reply mention disable into internal event handler 2021-08-17 20:52:16 +02:00
Martin Löffler
29ed48fa70
Disable mention behavior on self-replies 2021-08-17 17:29:25 +02:00
Martin Löffler
b01a3c5554
Hide reply mention button from current user 2021-08-17 17:20:53 +02:00
Paul Makles
ca6bdd332e
Merge pull request #90 from ryanalexander/patch-3 2021-08-17 15:33:47 +01:00
Paul
e12efe3533 Improve Home design. 2021-08-17 13:52:02 +01:00
Ryan Alexander
457097ade4
Lowered contrast threshold 2021-08-17 19:33:09 +10:00
Ryan Alexander
5ad4485c64
Transparent will now fallback to the contrasting colour of background
https://github.com/revoltchat/revite/issues/88
2021-08-17 19:30:41 +10:00
Ryan Alexander
66e946f0fc
Centered mention count + Fixed file formatting for last commit 2021-08-17 17:19:29 +10:00
Ryan Alexander
49d54ee05a Added create category context menu when right clicking in channel list 2021-08-17 06:31:25 +10:00
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
nizune
68d58ed081 Fixed edited tag 2021-07-09 23:44:15 +02:00
Paul
54185b5839 Server Sidebar: Add home icon hover.
Home Sidebar: Remove top bar.
2021-07-09 22:15:36 +01:00
nizune
f403875ae6 Changed classnames 2021-07-09 23:09:59 +02:00
nizune
968d1473a7 Small fixes 2021-07-09 23:08:27 +02:00
nizune
a2211d9fd7 Fix: Removed CSS file for Server Overview 2021-07-09 23:08:00 +02:00
Paul
252fec804d Merge branch 'master' of https://gitlab.insrt.uk/revolt/revite 2021-07-09 21:28:57 +01:00
nizune
4eb0461977 Updated replies 2021-07-09 21:56:09 +02:00
nizune
2141711d9e Fixed username in replies 2021-07-09 21:46:35 +02:00
Paul
cd394eed3f Update Home and Feedback. 2021-07-09 16:23:06 +01:00
bree
c1dc2b9a1d
Fix: image attachments not having minimum width 2021-07-09 11:09:55 -04:00
Paul
3ea32b596a Fix: use new object for experiment names. 2021-07-09 14:48:27 +01:00
Paul
c1bf700322 Avoid i18n for experiment title / desc. 2021-07-09 14:41:17 +01:00
Paul
2ee3da28b9 Experiment: New search function. 2021-07-09 14:34:36 +01:00
nizune
f9cc96c7f3 Fixed friends menu 2021-07-09 15:02:04 +02:00
nizune
5f8ee9d656 Refined bottom navigation bar on mobile 2021-07-09 13:35:24 +02:00
nizune
9484428d63 Merge branch 'master' of https://gitlab.insrt.uk/revolt/revite 2021-07-09 12:29:00 +02:00
nizune
bca01022c0 Updated assets in Appearance menu - do not touch 2021-07-09 12:26:00 +02:00
Paul
b806902bc4 Fix: Prevent clicking on links in reply / channel header.
Jump to existing message if exists.
2021-07-09 10:15:32 +01:00
Paul
3075fc8e32 Add links to message replies and load older messages. 2021-07-09 10:10:36 +01:00
Paul
7a5ace2def Highlight messages we jump to. 2021-07-09 09:58:38 +01:00
bree
362e7452fe
Fix: attatchment sizing on chrome when unloaded 2021-07-08 18:17:59 -04:00
nizune
f596e73d6b insert used the wrong type of icon 2021-07-09 00:15:10 +02:00
nizune
731a8d0e6c small fixes to theme override panel 2021-07-09 00:11:01 +02:00
Paul
c54fe0f1bf Feature: Add message links. 2021-07-08 22:47:56 +01:00
Paul
4474d2ec56 Re-design theme overrides. 2021-07-08 21:51:12 +01:00
Paul
b9d07152c8 Add tooltips to advanced settings.
Add click to copy theme.
2021-07-08 20:57:52 +01:00
Paul
ee9aab07a9 Remember age gate prompt confirmation.
Translate age gate.
Add additional limitations on KaTeX.
Prevent any message overflow.
2021-07-08 20:16:50 +01:00
nizune
ccb7499c2a Fix: Support for DateDivider for RTL 2021-07-08 21:01:21 +02:00
nizune
2f60013935 Fix: Set font-family: inherit on auto-complete 2021-07-08 19:17:54 +02:00
nizune
76f43a4b98 Added hamburger and member sidebar icons 2021-07-08 18:39:03 +02:00
bree
eb7b915edb
Fix: max-width for other attachment types 2021-07-08 10:32:05 -04:00
bree
59a5d2e752
small fix for attachment width 2021-07-08 10:26:46 -04:00
bree
7843e10d5f
Merge remote-tracking branch 'upstream/master' 2021-07-08 10:23:47 -04:00
bree
f0397f8af8
remove content jumping when loading image and video attachments 2021-07-08 10:22:42 -04:00
nizune
5bd494fa9a Update: started work on new advanced settings 2021-07-08 16:02:52 +02:00
Paul
69193e9a46 Add logic to "log out of all others".
Consider tablet as desktop device.
2021-07-08 14:29:21 +01:00
Paul
a3fa0b0807 Update certain logos and re-do mask. 2021-07-08 14:19:54 +01:00
nizune
e487f8c571 Small fixes 2021-07-08 15:16:23 +02:00
Paul
594980fdac Merge session icons together. 2021-07-08 14:07:25 +01:00
nizune
f0fccac355 Update: Fixed color swatch on mobile 2021-07-08 15:03:41 +02:00
Paul
64f415acfc Fix: Overlay moving with page.
Fix: Colour picker appearing in wrong position.
2021-07-08 13:54:18 +01:00
nizune
123020d77d Fix: Working on scrollable color swatch 2021-07-08 13:30:14 +02:00
nizune
cb797c9689 Merge branch 'master' of https://gitlab.insrt.uk/revolt/revite 2021-07-08 01:14:33 +02:00
nizune
766be90296 Small fixes 2021-07-08 01:14:23 +02:00
Paul
5bc1eca3aa Add masking / mono icons. 2021-07-07 23:30:30 +01:00
nizune
7bb7795f83 test 2021-07-08 00:05:38 +02:00
nizune
6ac743901d Changed name to lowercase. 2021-07-08 00:01:27 +02:00
Paul
98ea3e7af7 Modals: Add close animation. 2021-07-07 22:02:18 +01:00
nizune
41567413f2 Fix: small improvements for sessions tab 2021-07-07 22:35:15 +02:00
nizune
0f0c6cfbae Fixed sessions tab for mobile devices 2021-07-07 22:15:52 +02:00
Paul
ce67c5acdb Update react-overlapping-panels.
Fix: bottom navigation appearing in wrong place.
Fix: Redirect to server from invite if already joined.
Fix: Use monoscape font for code textareas.
2021-07-07 13:08:39 +01:00
Paul
197ba53c60 Fix: Spoilers would not toggle.
Hook events into Markdown render using ref.
2021-07-07 12:45:55 +01:00
nizune
f88a37f831 Temp. fix for members list sections 2021-07-07 13:37:14 +02:00
nizune
60746b8c21 Fix: sessions menu overflow 2021-07-07 10:46:23 +02:00
Paul
c28110ffe5 No, I totally did not commit this to prod. 2021-07-06 23:11:36 +01:00
Paul
8cfbe1ca3f Fluff: Jump to bottom when editing last message in chat. (up arrow) 2021-07-06 23:03:29 +01:00
Paul
9bbbf5ffc8 Show tooltip for long statuses. 2021-07-06 22:58:45 +01:00
Paul
cf7dd6f99b Add collapsible sections to member sidebars. 2021-07-06 22:52:50 +01:00
Paul
d5fae8b9f0 Fix: dayjs locales won't fully load if the locale isn't selected first. 2021-07-06 22:49:14 +01:00
Paul
d69b10adf5 Persist the state of member sidebar toggle. 2021-07-06 22:44:38 +01:00
Paul
069a1a11ad Do cursed magic to try to fix voice. 2021-07-06 22:23:04 +01:00
Paul
67d3fb35a4 Format code. 2021-07-06 19:29:27 +01:00
Paul
1fcf4df1ed Fix: System messages would break replies.
Fix: Show correct time format on left side of messages.
2021-07-06 19:29:09 +01:00
nizune
b62eeb35e7 Fix: Small fixes to Sessions tab 2021-07-06 17:42:32 +02:00
Paul
9f85eda402 Update all packages.
Update vite fork to latest. (fixes voice)
2021-07-06 16:07:04 +01:00
Paul
7b9766cb0b Fix: Use minHeight.
Temporary change: Prevent TextFile from loading large content.
Fixes #1: File preview failing with JSON files.
Add a way to open text files in new tab.
2021-07-06 14:58:54 +01:00
nizune
aebcf2875a Fixed sessions entries to work with RTL 2021-07-06 15:33:26 +02:00
nizune
9deb31a1b6 Fix: Small CSS fixes 2021-07-06 15:16:57 +02:00
nizune
e99cff9fe6 Update: Fixed Jump to bottom bar on mobile 2021-07-06 15:03:48 +02:00
Paul
ddacb34253 Fix: Overflow on account page fields. 2021-07-06 13:31:45 +01:00
Paul
029d902be8 Merge account page. 2021-07-06 13:29:11 +01:00
nizune
3f2d8c2d35 Update: Account management under settings +strings 2021-07-06 14:24:24 +02:00
nizune
0b5b0360b8 Update: Added User ID to accounts page 2021-07-06 13:36:32 +02:00
nizune
9e1a15eb3f Fix: Messagebox is now fully working 2021-07-06 13:16:29 +02:00
Paul
e8a111e6bc Rotate file upload icon instead of switching icon. 2021-07-06 11:52:07 +01:00
Paul
98e0edd331 Re-write types for modal actions. 2021-07-06 11:34:36 +01:00
Paul
ea65825454 Fix: Avoid going through react-redux to update draft. 2021-07-06 11:07:42 +01:00
Paul
b69ba4ca28 Fix: Textarea AutoSize did not resize correctly with long lines. 2021-07-06 11:04:51 +01:00
Paul
56b509a16a Merge branch 'master' of https://gitlab.insrt.uk/revolt/revite 2021-07-06 08:57:02 +01:00
Paul
57ef8408a6 Fix: Certain languages not loading due to bad map. 2021-07-06 08:56:30 +01:00
bree
d829deba98
Fix: Image embeds were unable to be opened into the image view
- Image embeds actions now use a better styling that's the same as the other action stylings
2021-07-06 03:56:04 -04:00
bree
002d565b3f
Improve ImageViewer styles 2021-07-06 03:03:05 -04:00
nizune
de05fad9f4 Update: New settings close button 2021-07-06 00:20:55 +02:00
nizune
862bce7967 Fix: Solid icons in server settings 2021-07-06 00:06:03 +02:00
nizune
e64bffde22 Update: New button design 2021-07-05 23:49:57 +02:00
nizune
fd57f81118 Fix: Small gap fixes 2021-07-05 22:50:55 +02:00
Paul
c11d10a265 Revert change. 2021-07-05 21:28:38 +01:00
Paul
b8a4ada30c Fix: Padding on message box.
Allow 20 max rows on message area.
2021-07-05 21:07:04 +01:00
Paul
c246c2b77a Fix: Changing font reset overrides.
Fix: Left test string in friends.
2021-07-05 21:03:34 +01:00
nizune
e5b233e14e Fix: changed outlines to box-shadow 2021-07-05 21:06:08 +02:00
Paul
52c81fc70b Fix: Increase margin on message area. 2021-07-05 19:53:59 +01:00
Paul
ed12d5f4f9 Fix: Add bottom navigation padding to settings.
Fix: New members joining don't show.
2021-07-05 17:55:08 +01:00
nizune
f1d413b6ef Fix: Small mobile fixes, paddings 2021-07-05 16:24:25 +02:00
Paul
b5a11d5c8f Use tabWidth 4 without actual tabs. 2021-07-05 11:25:20 +01:00
Paul
7bd33d8d34 Run prettier on all files. 2021-07-05 11:23:23 +01:00
insert
c4b9950514 Merge branch 'master' into 'cleanup'
# Conflicts:
#   src/components/common/LocaleSelector.tsx
2021-07-05 10:17:57 +00:00
Paul
7067627027 Fix: Add default for font combo box.
Don't pass dispatcher in, just provide it globally.
Fix: Allow clicking through to profile from server sidebar.
2021-07-05 10:59:48 +01:00
bree
02bbf78dcd
Fix: attachment scaling and better image scaling
- attachment scaling now works for all forms of attachments
- switched to grid based action bar
- added onLoad class so image proportions are "trimmed" once the image has loaded to avoid moving the view around before loading
  - this may be possible to remove at some point
2021-07-05 04:32:05 -04:00
bree
9deeea3884
Hide --sidebar-active and keep it internal 2021-07-04 21:24:16 -04:00
bree
c194fff7fd
Resolve remaining review notes 2021-07-04 21:22:33 -04:00
bree
8ece647857
Replace usage of <></> with null for project and style consistency 2021-07-04 21:13:53 -04:00
bree
e03449b75c
Fix merge conflict missed from before 2021-07-04 21:11:23 -04:00
bree
e070f26bda
Update revolt.js to fix types 2021-07-04 21:09:24 -04:00
bree
3c2a85a3e4
Merge branch 'master' into cleanup 2021-07-04 21:06:30 -04:00
Paul
c43aab7c7c Switch crcong's Vite fork to fix dynamic css imports. 2021-07-04 20:46:30 +01:00
nizune
1129123aed Settings: Changed to solid icons, fixes 2021-07-04 21:33:05 +02:00
Paul
3191d15cd0 Add a way to edit system message channels. 2021-07-04 19:49:58 +01:00
nizune
ff51d0594d Merge branch 'master' of https://gitlab.insrt.uk/revolt/revite 2021-07-04 20:16:42 +02:00
nizune
8d8b13ec12 Fixed descriptions on checkbox components 2021-07-04 20:15:38 +02:00
insert
fbad5aef92 Merge branch 'images' into 'master'
replace js image scaling with css for message attatchments

See merge request revolt/revite!3
2021-07-04 17:53:55 +00:00
Paul
1c80d5675f Feature: Font selector and ligature toggle. 2021-07-04 17:56:18 +01:00
nizune
652736c300 Fix: Fixed detail element in friends list 2021-07-04 17:49:44 +02:00
Paul
1768264272 Add collapsible section component.
Can now collapse server categories.
Client remembers collapse state, incl. advanced appearance settings.
2021-07-04 15:53:06 +01:00
Paul
098e28113b Fix: Handle defaults before transforming languages.
Remove Hardcore Mode.
2021-07-04 13:02:32 +01:00
nizune
49e49f3952 Fix: Small changes to profile context menu 2021-07-04 12:47:06 +01:00
Paul
1a08f50997 Move details styling into its own component. 2021-07-04 12:47:06 +01:00
nizune
4e28470d2d Fix: Small header fixes 2021-07-04 12:47:06 +01:00
Paul
8e0e226ec6 Fix: Defaults / dayjs will not always be present. 2021-07-04 12:46:33 +01:00
bree
a4051330a3
remove most uses of as any in typescript
- replaced many uses of `as any` with another more specific cast `as T`
- filled in missing typed for items that needed to be typed
  - new runtime code was added where necessary to satisfy the new types with comments
- added missing theme variable "sidebar-active" to the Theme variables
- forms using `react-hook-form` are now typechecked
- changed some instances of `target` into `currentTarget` while removing `as any` assertions
2021-07-04 07:09:39 -04:00
bree
b4294359a1
Fix: Chrome support for css image scaling 2021-07-04 00:48:24 -04:00
Paul
841320aab7 Fix: Set head = true as we tick over midnight.
Re-design blocked messages.
2021-07-03 23:51:15 +01:00
Paul
a628b0acd1 Add auto-complete to message editor. 2021-07-03 23:42:05 +01:00
Paul
7e4406682f Add auto-complete to profile editor. 2021-07-03 23:35:27 +01:00
Paul
31d74da8e7 Remove gradient on server banners. 2021-07-03 22:35:49 +01:00
Paul
f81f7768f8 New design for server roles editor. 2021-07-03 22:17:53 +01:00
Paul
c4bbd1e40a Merge branch 'master' of https://gitlab.insrt.uk/revolt/revite 2021-07-03 21:27:23 +01:00
nizune
1ad69b4475 Fix: Some header adjustments 2021-07-03 16:40:56 +02:00
Paul
f25b488863 Fix page height on mobile.
Fix keyboard focus on mobile.
2021-07-03 15:23:29 +01:00
Paul
55633219f9 Fix: Bottom navigation would not let you escape friends. 2021-07-03 15:00:17 +01:00
Paul
324b87b9b5 Temporary blocked messages solution.
Fix settings theme colour.
2021-07-03 14:45:08 +01:00
Paul
a4ac87f24d Add helmet for theme-color in settings.
Update colours in main app.
2021-07-03 14:27:57 +01:00
nizune
e6418e5fab Update: Larger touch targets for mobile 2021-07-03 12:18:10 +02:00
nizune
7553572029 Fix: Friends categories now sticky 2021-07-03 11:12:42 +02:00
nizune
341b4ddc5e Fix: Fixed bugs in friends menu 2021-07-03 10:57:07 +02:00
nizune
b6724c6680 Update: Added solid icons where needed 2021-07-03 10:46:35 +02:00
bree
b821684733
image attachments now have their width and height properly set 2021-07-03 01:47:46 -04:00
bree
036e9a330a
replace js image scaling with css for message attachments 2021-07-02 22:40:53 -04:00
bree
ee5e558e9f
fix long width image previews to fit into view 2021-07-02 22:37:45 -04:00
nizune
b100d06cda Update: Age gate view 2021-07-03 00:46:19 +02:00
Paul
030d743af9 Fix i18n for server settings.
Start work on roles.
Add temporary age gate.
2021-07-02 22:08:03 +01:00
Paul
9e8dde8230 Fix: don't hide sidebars on friends on desktop 2021-07-02 20:59:51 +01:00
Paul
0f5c531694 Fix modals with horizontal form components.
Fix invite / friends menu having sidebars.
2021-07-02 20:57:48 +01:00
Paul
b0332c882b Fix profile links from user profiles. 2021-07-02 19:01:28 +01:00
Paul
73c61cd7f8 Add i18n to incoming requests.
Add icon stacking mask.
2021-07-02 18:56:00 +01:00
nizune
c15a2f1968 Fix: Fixed pending requests menu sizing 2021-07-02 19:48:11 +02:00
Paul
d8e23aea12 Add pending requests menu. 2021-07-02 18:00:17 +01:00
Paul
bfb15e3109 Add collapsible sections in friends menu. 2021-07-02 16:47:42 +01:00
Paul
1cb59ca40c Add SVG masks to server / user icons. 2021-07-02 16:24:36 +01:00
nizune
0f2b6b6b44 Fix: Message copy brackets and icon changes 2021-07-02 16:51:06 +02:00
Paul
a569f41d1c Add dayjs language defaults.
Add remove / block user confirmation.
2021-07-02 14:50:24 +01:00
Paul
7982489ab6 Link to profiles from message / member sidebar. 2021-07-02 13:35:50 +01:00
nizune
bf1eb2c6d1 Update: Continued work on Friends tab + fixes 2021-07-02 13:56:38 +02:00
Paul
3eef61fe11 Fix Friend button styling and actions.
Can now call from friends list.
2021-07-02 11:13:14 +01:00
nizune
212d70f382 Fix: small fixes for mobile 2021-07-02 11:39:07 +02:00
nizune
9c2a769bbd Fix: small fixes to friends menu 2021-07-02 11:13:54 +02:00
Paul
6aa8c5c0ba All class name to be set on category / overline. 2021-07-02 09:41:37 +01:00
nizune
4d9d74224f Update: Work on new Friends tab + minor fixes 2021-07-02 10:38:43 +02:00
Paul
82b8a9b28e Filter theme keys. 2021-07-01 21:24:20 +01:00
Paul
209653dfd7 Fix avatar direction. 2021-07-01 21:23:54 +01:00
Paul
f5b3b15188 Use UserIcon in server list header.
Re-design status context menu.
2021-07-01 19:37:36 +01:00
nizune
9243b3e20d Fix: changed icons to solid on sidebar for temp 2021-07-01 19:27:38 +02:00
nizune
71bc438333 Fix: small fixes for members sidebar 2021-07-01 18:54:11 +02:00
Paul
ff21d4efa8 Add permissions / roles settings. 2021-07-01 17:36:34 +01:00
Paul
471b4b0847 Finish up new sidebar active.
Add rounded corners to sidebar.
2021-07-01 13:42:53 +01:00
Paul
c724ffae43 View roles in server settings. 2021-06-30 21:28:56 +01:00
Paul
f6daa54411 Handle updates of members for permissions. 2021-06-30 20:06:42 +01:00
Paul
b31183e0f8 Fix: Placeholder would overflow sidebar. 2021-06-29 22:21:26 +01:00
nizune
8935c26dfb Merge branch 'master' of https://gitlab.insrt.uk/revolt/revite 2021-06-28 11:36:46 +02:00
nizune
d0e6d2a0e1 Fix: Small changes to tooltip 2021-06-28 11:36:37 +02:00
Paul
431a86c2af Set update indicator default state properly. 2021-06-28 10:29:56 +01:00
nizune
a1729e0836 Merge branch 'master' of https://gitlab.insrt.uk/revolt/revite 2021-06-28 11:27:45 +02:00
nizune
e016c71db2 Fix: Small fixes for RTL items 2021-06-28 11:27:24 +02:00
Paul
4a8561b690 Independent tooltip for missing permissions. 2021-06-28 10:25:51 +01:00
Paul
84da056f09 Add PWA update indicator. 2021-06-28 10:17:38 +01:00
nizune
e27f1bf9d6 Small fixes 2021-06-28 11:12:19 +02:00
nizune
d60c56cdbf Fix: More fixes for the message box and settings 2021-06-28 10:32:55 +02:00
nizune
b812aa64ca Fix: Small update to categories and icons 2021-06-28 09:55:05 +02:00
Paul
af9d6fdedf Attempted implementation of new sidebar style. 2021-06-27 22:35:36 +01:00
Paul
4501a02b5d Migrate to @tippyjs/react from react-tippy.
Fix strokes on home sidebar.
Add tooltips on servers.
Fix reply SVG direction.
2021-06-27 21:54:31 +01:00
nizune
4102b69ca4 Update: Changed icon pack to Boxicons 2021-06-27 12:17:59 +02:00
Paul
e4786e7230 Render server categories. 2021-06-27 00:14:58 +01:00
Paul
47f6404f44 Handle permissions in message box. 2021-06-26 22:16:43 +01:00
Paul
9968792116 Fix notifications playing in servers. 2021-06-26 11:23:28 +01:00
Paul
8a16724892 Fix: "Modify Account" did not have access to client 2021-06-26 10:34:48 +01:00
Paul
41470e2cd5 Support replying to files, show icon in reply. 2021-06-26 09:45:07 +01:00
Paul
994ef65200 Notifications: Block muted channels from push notifs. 2021-06-25 12:37:59 +01:00
Paul
21859e4c55 Feature: Basic notification options implementation 2021-06-24 23:59:46 +01:00
Paul
51ac1f599c Fix: Notification settings not affecting playSound 2021-06-24 22:06:30 +01:00
Paul
e03c2f88af Fix: Load Theme early for onboarding. 2021-06-24 21:07:07 +01:00
Paul
8b91b4a632 Fix: Onboarding would not appear due to content pushing it out of the way. 2021-06-24 20:53:12 +01:00
Paul
557ed030d4 Remove prompt again. 2021-06-24 20:40:22 +01:00
Paul
a50ed9bfe9 Fix: Make settings not jump around.
Fix: Auto-complete font size.
2021-06-24 17:29:01 +01:00
Paul
d2904f57ab Fix: Editor would not open "delete_message".
Fix: Clear status if empty string given.
2021-06-24 17:09:34 +01:00
Paul
1aa2b1226a Fix: Set global emoji pack.
Fix: Use conditional links for bottom navigation.
Fix: Margin error on queued messages.
2021-06-24 17:06:16 +01:00
Paul
acadd8ab17 Fix: Remove padding on user profile.
Modals: Allow all modals to be closed by ESC (permitting).
Fix: Handle closing DMs properly. Stop propagation too.
2021-06-24 16:57:12 +01:00
Paul
3393795817 Fix: Emojis showing through spoilers.
Fix: Copy ID copies wrong ID.
Messaging: Add context menu to avatar / username.
2021-06-24 16:43:37 +01:00
Paul
363789c825 Fix: Icons collapsing in flex.
Feature: Remember what channel was opened last.
Channels: ESC to focus message box / cancel editing.
2021-06-24 16:22:45 +01:00
insert
558ec17726 Merge branch 'file-preview-cleanup' into 'master'
Restructure `FilePreview` to be less "hacky"

See merge request revolt/revite!1
2021-06-24 13:51:41 +00:00
Paul
8f62625506 Settings: Link notification sounds to playSound.
Fix: Restore hooks.ts patch, additionally use numbers.
2021-06-24 14:26:18 +01:00
Paul
352c0e880c Context Menus: Add "mark as unread" back.
Servers: Fix various issues relating to voice channels.
2021-06-24 13:07:55 +01:00
Paul
eef3e11e62 Load mediasoup client and add voice UI. 2021-06-24 10:54:32 +01:00
Paul
55ef70211a Fix internal navigation from Markdown links. 2021-06-23 23:42:13 +01:00
Paul
64682d453f Fix (edited) string on messages.
Fix build issues.
Remove mediasoup from vendor bundle.
2021-06-23 22:56:44 +01:00
bree
46155a65dd
Restructure FilePreview to be less "hacky" 2021-06-23 13:46:31 -04:00
Paul
50bd6addb4 Add message reply UI. 2021-06-23 18:26:41 +01:00
Paul
0ce77951cb Optimise re-renders when scrolling / updating messages. 2021-06-23 16:14:46 +01:00
Paul
11c524d6a9 Add vortex / voice client. 2021-06-23 14:52:33 +01:00
Paul
babb53c794 Add VoiceChannel support. 2021-06-23 13:52:16 +01:00
Paul
8845900779 More version information in settings. 2021-06-22 19:45:44 +01:00
Paul
29bb93f399 Remove twemoji dependency.
Support re-connecting after going / starting offline.
2021-06-22 19:34:52 +01:00
Paul
b1a4604653 Send ack PUTs for unreads. 2021-06-22 18:01:03 +01:00
Paul
3c8c9a672f Add support for multiple attachment upload. 2021-06-22 17:45:34 +01:00
Paul
99572066c8 Show alternative languages in own list. 2021-06-22 16:37:06 +01:00
Paul
22b21c030f Add animations to loaders. 2021-06-22 16:29:47 +01:00
Paul
e98a962071 Make sure to focus window for desktop notifs.
Prevent empty pastes of files.
Log push errors.
2021-06-22 15:43:06 +01:00
Paul
548826527c Avoid importing ulid in service worker. 2021-06-22 14:49:53 +01:00
Paul
5a2350b7a6 Fix import and pass through URL. 2021-06-22 14:40:06 +01:00
Paul
8a0d90e292 Add push notification handling code into sw 2021-06-22 14:37:38 +01:00
Paul
d74bc1d8e8 Use custom service worker. 2021-06-22 14:22:35 +01:00
Paul
c52f1f5bca Show Git revision in settings. 2021-06-22 13:47:47 +01:00
Paul
feaec3f8d9 Add channel auto-complete. 2021-06-22 13:35:43 +01:00
Paul
f724cfdf4f Add auto complete back. 2021-06-22 13:28:03 +01:00
Paul
56dda66c1c Add file pasting and drag-n-drop. 2021-06-22 12:08:39 +01:00
Paul
454ee7fd6e Add server creation button.
Add profile links / app links back.
Add quoting / mentioning back.
2021-06-22 11:56:37 +01:00
Paul
8fe1ce3450 Show errors / queue on message.
Focus editor / box properly.
2021-06-22 10:59:06 +01:00
Paul
5db0854b42 Add global event pipeline.
Add message editor back.
2021-06-22 10:28:13 +01:00
Paul
a3213fe644 Add feedback option for Revite. 2021-06-21 21:53:08 +01:00
Paul
c597fc81f8 Add open route / invite route.
Modularise server header.
2021-06-21 21:35:21 +01:00
Paul
602cca1047 Implement new auto-size text area.
Add bars + header + sidebar to channels.
2021-06-21 21:11:53 +01:00
Paul
d965b20ee2 TextAreaAutoSize test 2021-06-21 14:20:29 +01:00
Paul
3c6e3b9fbf Add bottom navigation and locale selector. 2021-06-21 13:44:43 +01:00
Paul
0115ace3fa Port sync, queue management and notifs. 2021-06-21 13:28:26 +01:00
Paul
3555e9a7bf Use null assertions instead of casting. 2021-06-21 09:02:38 +01:00
Paul
d1bff98635 Port attachments and embeds. 2021-06-20 22:09:18 +01:00
Paul
a24bcf9f86 Fix mobile height.
Add send button.
2021-06-20 20:36:52 +01:00
Paul
9e460c5b3d Refactor + add message box. 2021-06-20 20:30:42 +01:00
Paul
0461c7e0dd Fix: Remove unneeded argument. 2021-06-20 17:36:20 +01:00
Paul
d0b9cf9090 Work on channels, render content of messages. 2021-06-20 17:31:53 +01:00
Paul
89f8ab2694 Use relative imports for dayjs. 2021-06-20 12:55:23 +01:00
Paul
2acb3aeb14 Re-organise assets to be closer to their respective uses. 2021-06-20 11:05:12 +01:00
Paul
06b4e9bc87 If IDB is not present, allow app to load as normal 2021-06-20 10:17:34 +01:00
Paul
a1d3b3503b Reduce re-renders of sidebars. 2021-06-19 23:12:27 +01:00
Paul
014512440f Fix types. 2021-06-19 22:39:30 +01:00
Paul
31d8950ea1 Port settings. 2021-06-19 22:37:12 +01:00
Paul
b4bc2262ae Port context menus. 2021-06-19 20:24:11 +01:00
Paul
0a0c00fe58 Port friends menu over. 2021-06-19 20:00:30 +01:00
Paul
9706dd75f3 Port modal / popover context. 2021-06-19 18:46:05 +01:00
Paul
5b77ed439f Port navigation. 2021-06-19 15:29:04 +01:00
Paul
5aa8f30e14 Port and re-write icon code. 2021-06-19 12:34:53 +01:00
Paul
ec97dbebd0 Hide client behind context.
Use idb for saving data.
Allow logins.
2021-06-18 22:47:25 +01:00
Paul
68a35751b3 Port Login UI 2021-06-18 20:21:54 +01:00
Paul
aa81ebb298 Add client context. 2021-06-18 20:07:26 +01:00
Paul
e7d1ada13d Import assets and add PWA. 2021-06-18 19:25:33 +01:00
Paul
27eeb3acd2 Add Redux and reducers.
Load i18n files and add dayjs.
2021-06-18 17:57:08 +01:00
Paul
0cba2b362d Add prettier. 2021-06-18 15:57:08 +01:00
Paul
34a4bccbbe Add eslint. 2021-06-18 15:46:30 +01:00
Paul
8bb6cd456b Move UI into its own page. 2021-06-18 15:35:35 +01:00
Paul
58821476e6 Add i18n, use default imports for UI. 2021-06-18 15:18:10 +01:00
Paul
9ac2316ed0 Port over more UI elements. 2021-06-18 14:20:57 +01:00
Paul
7eee2cd7c6 Initial commit 2021-06-18 12:05:01 +01:00