Commit Graph

391 Commits (2bb33d3ff4acb8d05e54ee9e3d7faa5d8abfd33d)

Author SHA1 Message Date
Michaili K a17317f09c Create separate ImageFile component for image attachments 2021-08-15 18:53:42 +02:00
Ryan Alexander 69b4cebc2d Used global language file for text 2021-08-16 01:57:33 +10:00
Ryan Alexander 2befb9e74e Add Tooltip to settings icon 2021-08-16 01:40:58 +10:00
Paul 4faba20410 Add settings button to server list sidebar.
Move more border radiuses to variables.
2021-08-15 15:21:23 +01:00
Paul Makles 2b7c99390b Merge pull request #66 from janderedev/pr-6 2021-08-15 14:52:12 +01:00
Michaili K 222f4cc447 Add (basic implementation of) background for loading images 2021-08-15 12:59:00 +02:00
Paul 1b1869f408 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 0e8feb2389 Remember whether reply was a mention or not.
Fix input modals refreshing page.
2021-08-14 21:37:43 +01:00
Paul 42eb6640e9 Try optimise members list. 2021-08-13 22:31:28 +01:00
janderedev b63f446b97 fix regex, add * and empty text matchers 2021-08-12 23:17:52 +02:00
janderedev 3189ec5ab7 Scroll to bottom after sed editing message 2021-08-12 22:54:54 +02:00
janderedev 1cd9548cee Merge branch 'master' of https://github.com/revoltchat/revite into pr-6 2021-08-12 22:29:41 +02:00
janderedev 1b3448c796 sed replacement in message box. 2021-08-12 22:21:37 +02:00
Paul 3a150b638a Remove logs. 2021-08-12 19:51:23 +01:00
Paul d3894270c1 Fix search scroll.
Add bot badge.
2021-08-12 12:16:24 +01:00
Paul Makles 642c5cf84f Merge pull request #58 from brecert/master
fix image overflow on older browsers
2021-08-11 13:44:38 +01:00
Paul 77fb6f3527 Small fixes for search. 2021-08-11 13:32:31 +01:00
brecert 3191a61d5b fix image overflow on older browsers 2021-08-10 05:48:26 -04:00
Paul b6230abbd7 Add search back. 2021-08-09 17:34:25 +01:00
Paul f1babfdd51 Handlers for UserShort.
View user's profile picture.
Close #25, adds logic to hamburger.
2021-08-09 15:51:22 +01:00
Paul f2622121a4 Display all server roles separately. 2021-08-08 21:50:29 +01:00
Paul 096ab6caec Switch to React Virtuoso from react-window 2021-08-08 20:28:47 +01:00
Paul 47be4fcd50 Revert typing indicator changes. 2021-08-08 18:46:27 +01:00
Paul 783ad363c9 Temporarily remove TextReact. 2021-08-08 18:40:25 +01:00
Paul a72db7570c Improve category design for members list.
Implement new list for groups.
2021-08-08 18:26:16 +01:00
Paul 467db34523 Style categories. 2021-08-08 17:18:58 +01:00
Paul 6cb1b0df26 Virtualised sidebar test. 2021-08-08 16:17:16 +01:00
Paul 031dc64173 Show server identity in message replies and typing indicator.
Revert reply connector temporarily.
2021-08-08 10:16:48 +01:00
Paul c65073d148 Add server avatars. Closes #52
Add identity edit menu. Closes #51
2021-08-07 22:42:15 +01:00
Paul 0d415b4d5b Manage state per channel. Closes #2 2021-08-07 20:43:08 +01:00
Paul 11e0f54d96 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 07d000a54c 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 e312bf840b Clean up system message code. Fixes #3 2021-08-07 10:32:18 +01:00
Infi fb6237e9e9 Add system message icons. Closes #10 2021-08-07 00:34:57 +02:00
Paul Makles 587aa5aeba Merge pull request #18 from brecert/image-embed-scaling
Improve image embed scaling.
2021-08-06 17:42:32 +01:00
brecert f2897ed615 Improve image embed scaling.
- fixes #15
2021-08-06 12:39:23 -04:00
janderedev feab53f182 ESC now removes the last attachment. Fixes #16 2021-08-06 18:07:11 +02:00
janderedev 1ffd3f991e Esc now removes the last reply, fixes #7 2021-08-06 15:40:32 +02:00
Paul 872b710bc4 Make the linter happy. 2021-08-05 14:47:00 +01:00
nizune 1be8bdfa9b Fixed RTL issue with replies 2021-08-05 12:01:31 +02:00
nizune 8271551c33 New look to replies 2021-08-05 11:54:32 +02:00
nizune 39375ec10d Settings account page done 2021-08-04 20:00:30 +02:00
nizune 3b65501a12 Fixed sent attachments code 2021-08-04 19:59:29 +02:00
nizune c011bb9422 Continue work on category buttons 2021-08-04 18:33:01 +02:00
Paul 74a57e6dd9 Remove buttons on Account page. 2021-08-04 16:43:08 +01:00
Paul 281c4403f3 Large desc option. 2021-08-04 16:17:56 +01:00
Paul c997261e20 Add i18n to replies.
Add Fluent design category button.
Update Account page with new design.
2021-08-04 16:03:38 +01:00
Paul 540b568a06 Start work on fluent categories.
Fix Locale loading when syncing invalid lang.
2021-08-04 14:31:55 +01:00
nizune fd0bc03c78 Fixed message replies + refined account settings 2021-08-04 14:48:33 +02:00
nizune 204fe3dfed Changed Reply bar structure 2021-08-04 14:01:24 +02:00
nizune 42a03234c3 Small fixes to account settings 2021-08-04 11:51:53 +02:00
nizune adc6f7db4f Added detection for multiple attachments.
Co-authored-by: infi <insrt-git@geist.ga>
2021-08-03 22:42:06 +02:00
nizune 5b085d5a5a Fixed titlebar 2021-08-03 19:30:35 +02:00
nizune d3fda236a8 Fixed titlebar 2021-08-03 19:28:22 +02:00
nizune ba76863255 Updated boxicons + small fixes 2021-08-03 17:51:35 +02:00
Paul 635eeebfee Hover animation for home button.
Fix svg alignment in foreign objects.
2021-08-03 15:37:19 +01:00
nizune 52b31d21e4 Refreshed languages menu in settings 2021-08-03 11:51:40 +02:00
Paul 97399211bb Add donation button to home page. 2021-08-02 22:03:59 +01:00
Paul 308bebbbd6 Open settings when clicking top left on desktop. 2021-08-02 21:36:49 +01:00
nizune 936d196beb More settings fixes + clamped long usernames 2021-08-02 17:25:39 +02:00
Paul ea4c9abeaf Disallow text selection in messages on mobile. 2021-08-02 13:06:18 +01:00
nizune 6f08a70d15 Small update for desktop app 2021-08-02 12:22:39 +02:00
nizune 1ded8ed4fc New server sidebar swoosh 2021-08-02 10:57:17 +02:00
nizune 1f6fa49254 Cleaned up titlebar look 2021-08-01 20:41:53 +02:00
nizune 442dc81cdc Changed titlebar icons 2021-08-01 19:29:27 +02:00
Paul dccc571a18 Don't show tooltip / hover when no update. 2021-08-01 17:56:38 +01:00
Paul 4d194ba31a Move update indicator to titlebar on desktop. 2021-08-01 17:52:44 +01:00
nizune c32826e157 Added update button to titlebar 2021-08-01 18:35:10 +02:00
nizune 5849d76443 Added fixes to electron titlebar 2021-08-01 18:17:22 +02:00
Paul 5b8f61690c Improve titlebar design. 2021-08-01 16:44:51 +01:00
Paul 0ff6d0ca90 Improved native options. 2021-08-01 14:22:08 +01:00
Paul 5c100b212e Fix message links from search. 2021-07-31 22:39:15 +01:00
Paul f20f1d8b41 Fix blocked users appearing in typing indicator.
Make typing indicator time out.
2021-07-31 17:58:26 +01:00
Paul 17d35e5eba Add nicknames + role colours back. 2021-07-31 16:59:37 +01:00
Paul 67feb34f58 Fix message links redirecting to home page. 2021-07-31 15:11:58 +01:00
Paul 0a23cfced8 Fix message links from replies. 2021-07-31 13:50:29 +01:00
Paul 54900008a6 Move typing indicator into revolt.js 2021-07-31 13:48:26 +01:00
Paul 329ce392fc Fix elements not observing permissions. 2021-07-31 12:09:18 +01:00
Paul c9296ee99f Remove strict on KaTeX, change error. 2021-07-31 11:04:31 +01:00
Paul 6750812916 Add queued messages back.
Fix various code issues.
i18n invite menu.
2021-07-31 10:31:16 +01:00
Paul 23a9d41450 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 5105e84867 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 b65dbab297 Fix duplicate member entries. 2021-07-30 23:43:26 +01:00
Paul 33decef7de Zero error milestone. 2021-07-30 22:40:49 +01:00
Paul 3f8a698039 Start migration to revolt.js@5.0.0.
200 error milestone
2021-07-30 20:24:53 +01:00
Paul 06aaeab256 Completely remove all references to Username. 2021-07-29 21:47:45 +01:00
Paul 6123133356 Try reverting change to typing indicator. 2021-07-29 21:43:04 +01:00
Paul b21985a304 Load member sidebar into MobX state. 2021-07-29 21:01:03 +01:00
Paul eec46c7761 Clean up code. 2021-07-29 20:11:50 +01:00
Paul 2a420cfb3b Remove useServer and useServers. 2021-07-29 19:01:40 +01:00
Paul 4990ac2350 Remove useChannels.
Add servers to MobX.
2021-07-29 18:49:49 +01:00
Paul 8a5c6fc4d5 Remove useChannel 2021-07-29 18:41:01 +01:00
Paul 551dc7562e Remove remaining references to useUser(s).
Add Channel object.
2021-07-29 16:55:07 +01:00
Paul 86c981d692 Finish migrating user state over to MobX. 2021-07-29 15:51:19 +01:00
Paul 67f041a4f5 Work towards removing useUsers. 2021-07-29 15:11:21 +01:00
Paul 2e7a046f72 Fix typing indicator. 2021-07-28 14:04:27 +01:00
Paul 3543a90cbf Show nickname / role colour in typing indicator.
Try to fix voice context.
2021-07-27 11:45:45 +01:00
Paul 93619cebd7 Temporary member nickname / role colour solution. 2021-07-25 17:52:57 +01:00
Paul 5dac9c4244 Rename occurrences of monoscape to monospace. 2021-07-25 14:26:45 +01:00
Paul 70e9de448d Fix message reply overflow.
Add opera icon to sessions.
2021-07-25 14:18:48 +01:00
Paul 1271c29117 Show friend requests on top-right avatar. 2021-07-25 12:50:34 +01:00
Paul 6b573bba98 Fix scrollbar on server list. 2021-07-25 10:56:22 +01:00
Paul dd4edea933 Add category editor to servers. 2021-07-24 19:39:41 +01:00
Paul 51e83c27e2 Use loading="lazy" in more places.
i18n invites page.
Polish the bans page.
2021-07-24 17:01:50 +01:00
Paul 384152666f Lazy load embed contents.
Use server config for image proxy.
2021-07-24 11:22:08 +01:00
Paul 21de7ab67f Add search sorting. 2021-07-21 18:27:05 +01:00
Paul 5629999fb2 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 b085f715af Fix: Session icon alignment.
Fix: i18n blocked messages / users.
2021-07-10 18:06:21 +01:00
Paul 0afd123ef5 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 b3386ade33 Format and automatically fix linted code. 2021-07-10 15:57:29 +01:00
Paul 1a59bb1abd Add spoilers back. 2021-07-10 15:55:21 +01:00
Paul 0e43dadbe9 Add more internal CSS variables. 2021-07-10 15:42:13 +01:00
Paul e717cb415e Fix attachment scaling. 2021-07-10 15:21:35 +01:00
Paul ae97a1ecd1 Merge branch 'master' of https://gitlab.insrt.uk/revolt/revite 2021-07-10 12:29:33 +01:00
Paul be3e4ba184 Fix: Sever list was not center aligned. 2021-07-10 12:29:32 +01:00
nizune 92681eb354 Added line clamp to embed descriptions 2021-07-10 12:28:18 +02:00
Paul e15dd408ec Fix: Don't lose focus on send.
Sidebar: Show home button on mobile.
2021-07-10 11:21:05 +01:00
nizune c993ece109 Small changes to userhover 2021-07-10 00:09:49 +02:00
nizune f30e5d3c8a Merge branch 'master' of https://gitlab.insrt.uk/revolt/revite 2021-07-09 23:44:26 +02:00
nizune 2b9bbef6cb Fixed edited tag 2021-07-09 23:44:15 +02:00
Paul 2258815dd9 Server Sidebar: Add home icon hover.
Home Sidebar: Remove top bar.
2021-07-09 22:15:36 +01:00
nizune e026be30ea Fix: Removed CSS file for Server Overview 2021-07-09 23:08:00 +02:00
nizune b0bbc85be5 Updated replies 2021-07-09 21:56:09 +02:00
nizune 08ec5e5da5 Fixed username in replies 2021-07-09 21:46:35 +02:00
bree 79d8e7905d Fix: image attachments not having minimum width 2021-07-09 11:09:55 -04:00
Paul 2720c8db8f Experiment: New search function. 2021-07-09 14:34:36 +01:00
nizune e985c4a273 Refined bottom navigation bar on mobile 2021-07-09 13:35:24 +02:00
Paul 72baac442e Fix: Prevent clicking on links in reply / channel header.
Jump to existing message if exists.
2021-07-09 10:15:32 +01:00
Paul be87739473 Add links to message replies and load older messages. 2021-07-09 10:10:36 +01:00
Paul 8c72497ad2 Highlight messages we jump to. 2021-07-09 09:58:38 +01:00
bree e2b182e521 Fix: attatchment sizing on chrome when unloaded 2021-07-08 18:17:59 -04:00
Paul 2729ef859a 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 ed544009ee Fix: Support for DateDivider for RTL 2021-07-08 21:01:21 +02:00
nizune 3325756707 Fix: Set font-family: inherit on auto-complete 2021-07-08 19:17:54 +02:00
nizune b316e41077 Added hamburger and member sidebar icons 2021-07-08 18:39:03 +02:00
bree a4fee369c8 Fix: max-width for other attachment types 2021-07-08 10:32:05 -04:00
bree c286649f88 small fix for attachment width 2021-07-08 10:26:46 -04:00
bree e197f56a5f Merge remote-tracking branch 'upstream/master' 2021-07-08 10:23:47 -04:00
bree 6f3de75c35 remove content jumping when loading image and video attachments 2021-07-08 10:22:42 -04:00
nizune d34dc0d387 Update: started work on new advanced settings 2021-07-08 16:02:52 +02:00
Paul f1b94e722a Update certain logos and re-do mask. 2021-07-08 14:19:54 +01:00
nizune f3c7dd109e Small fixes 2021-07-08 15:16:23 +02:00
Paul a46d58f8f9 Merge session icons together. 2021-07-08 14:07:25 +01:00
nizune 36d40d6a7c Update: Fixed color swatch on mobile 2021-07-08 15:03:41 +02:00
Paul 335a990ae0 Fix: Overlay moving with page.
Fix: Colour picker appearing in wrong position.
2021-07-08 13:54:18 +01:00
nizune 92ca89d991 Fix: Working on scrollable color swatch 2021-07-08 13:30:14 +02:00
Paul bd07b461ac Modals: Add close animation. 2021-07-07 22:02:18 +01:00
Paul 2c4a74bdde 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 f9b5d768d3 Fix: Spoilers would not toggle.
Hook events into Markdown render using ref.
2021-07-07 12:45:55 +01:00
nizune 93d0ea475d Temp. fix for members list sections 2021-07-07 13:37:14 +02:00