Commit graph

313 commits

Author SHA1 Message Date
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
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
b0681dfc99 Load member sidebar into MobX state. 2021-07-29 21:01:03 +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
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
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
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
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
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
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
93ee98717d Fix: Session icon alignment.
Fix: i18n blocked messages / users.
2021-07-10 18:06:21 +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
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
a2211d9fd7 Fix: Removed CSS file for Server Overview 2021-07-09 23:08:00 +02: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
bree
c1dc2b9a1d
Fix: image attachments not having minimum width 2021-07-09 11:09:55 -04:00
Paul
2ee3da28b9 Experiment: New search function. 2021-07-09 14:34:36 +01:00
nizune
5f8ee9d656 Refined bottom navigation bar on mobile 2021-07-09 13:35:24 +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
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
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
Paul
98ea3e7af7 Modals: Add close animation. 2021-07-07 22:02:18 +01: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
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
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
e99cff9fe6 Update: Fixed Jump to bottom bar on mobile 2021-07-06 15:03:48 +02:00
nizune
3f2d8c2d35 Update: Account management under settings +strings 2021-07-06 14:24:24 +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
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
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
nizune
e5b233e14e Fix: changed outlines to box-shadow 2021-07-05 21:06:08 +02: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
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
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
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
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
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
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
nizune
e6418e5fab Update: Larger touch targets for mobile 2021-07-03 12:18:10 +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
Paul
030d743af9 Fix i18n for server settings.
Start work on roles.
Add temporary age gate.
2021-07-02 22:08:03 +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
73c61cd7f8 Add i18n to incoming requests.
Add icon stacking mask.
2021-07-02 18:56:00 +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
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
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
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
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