Commit Graph

550 Commits (58cd9deb6a2399b7a48061dd8cfbaff2a9be1bbb)

Author SHA1 Message Date
Paul 9096083706 fix: remove removed messages from reply bar
fixes #71
fixes #143
2021-11-14 19:30:41 +00:00
Paul 9403707ba3 fix: prevent reply overflow
fixes #399
2021-11-14 18:46:46 +00:00
Paul 9ffacc07ca fix: accent buttons and allow selection of back
fixes #398
fixes #397
2021-11-14 18:29:46 +00:00
Paul b7674f89b2 feat: add moderation badge 2021-11-13 23:11:40 +00:00
Paul bc83047fdd feat: add new badges 2021-11-13 22:55:41 +00:00
Steveplays 0248d01028 fix: added hover event to overline + removed context menu (#393) 2021-11-12 20:20:50 +00:00
Paul 571fc49b32 fix(markdown): enable linkify, disable fuzzyLink 2021-11-04 21:04:44 +00:00
Paul 718f530017 feat(messaging): render masqueraded messages 2021-11-04 20:55:26 +00:00
Paul fd3c7630a1 chore(markdown): disable linkify 2021-11-04 14:35:41 +00:00
Paul 2bb33d3ff4 fix(markdown): fix line breaks
fixes #214
2021-11-04 14:33:59 +00:00
Paul f88894b377 fix(sidebar): handle channel as muted if 'none' 2021-11-04 13:42:46 +00:00
Ed L e87222ef3d feat(i18n): translate home buttons and server tooltips (#361) 2021-10-31 22:42:40 +00:00
bree 7b140d1467 feat: require at least two characters to autocomplete emoji (#298) 2021-10-31 22:36:38 +00:00
3nt3 939309f8ed fix: add context menu to individual attachments if > 1 attached (#348) 2021-10-31 21:25:33 +00:00
RigidStudios 3233c01e2d fix: muted channels no longer have new messages badge (#297) 2021-10-31 21:10:42 +00:00
Paul 8bbe8d46ae feat(categories): autosave category changes 2021-10-30 18:20:12 +01:00
Paul acdd37c0f3 Fix mark read logic, should fix #307.
Add bot delete confirmation, closes #302.
2021-10-10 16:28:56 +01:00
Paul Makles 5563306070 Merge pull request #267 from brecert/fix-196 2021-10-09 23:44:36 +01:00
Paul 1f75459b62 Virtualise server settings user lists. Closes #300 2021-09-25 14:43:28 +01:00
Paul 26be8e66c0 Explicitly deny bad URLs.
Fixes #252.
Handle embed untrusted links better.
2021-09-25 10:54:32 +01:00
Paul Makles 504d913341 Merge pull request #278 from TaiAurori/master 2021-09-24 13:59:57 +01:00
TaiAurori 458fe4efee singular form of "members" when only one member 2021-09-21 14:41:57 -04:00
TaiAurori b94e27634e move imports 2021-09-21 14:13:41 -04:00
TaiAurori 773562f43f invite embed tweaks 2021-09-21 14:02:38 -04:00
brecert c46f59b617 Change `UserHover` to use global identity instead of server
- fixes #196
2021-09-19 03:42:01 -04:00
brecert 6f445f1054 Fix enter key sending message while still composing 2021-09-17 17:20:22 -04:00
Paul b0775c3c6a Include noreferrer on embed links / window.open. 2021-09-17 09:37:07 +01:00
Paul 8b4b6832e9 Fix unreads and mark as read. 2021-09-14 21:09:42 +01:00
Paul 24be8d8eeb Bump revolt.js to include rate limiter.
Handle new server flags.
Show server ping in developer tab.
2021-09-14 17:18:44 +01:00
Paul 5f806135d9 Simplify how last message is handled. 2021-09-14 15:07:42 +01:00
Paul Makles c7a38d0b03 Merge pull request #216 from gregorypappas/dominant-baseline 2021-09-12 00:28:23 +01:00
brecert b310692091 Improve reply mention styling
- [#220] reply mention now uses translations
- reply mention styling improved
  - `@` fits better
  - `min-width: 6ch` is used to remove shifting between `on` and `off` lengths, mostly for the english `on/off` but could be modified to work with any language in the future.
2021-09-11 11:53:50 -04:00
Gregory Pappas bc88631ac8 FIx ping counter alignment in Firefox but actually
This property isn't transformed into kebab-case due to a bug in Preact.
2021-09-10 06:52:05 -05:00
Paul Makles a955e2a267 Merge pull request #203 from goaaats/fix/youtube_timestamp
Append youtube timestamp to embed url if provided by january
2021-09-09 22:53:36 +01:00
Paul eb22979c7b Remove stray console.log and update translations.
Update themes endpoint and filter unmatched commits.
2021-09-09 22:39:17 +01:00
Paul Makles f77acd8c57 Merge pull request #199 from brecert/mentions-methods 2021-09-09 22:00:03 +01:00
Paul Makles 7bb5084cb3 Merge pull request #190 from leodr/settings-category-alignment
Add padding to settings category titles to align the visually with icons
2021-09-09 21:08:13 +01:00
Paul Makles 0a3c4bb41b Merge pull request #194 from gregorypappas/patch-1
Fix ping count alignment in Firefox
2021-09-09 21:07:40 +01:00
Paul Makles 1d1ddad31d Merge pull request #180 from Snazzah/invite-count 2021-09-09 21:04:43 +01:00
Paul Makles 9532863e96 Merge pull request #202 from brecert/hide-channels 2021-09-09 20:55:41 +01:00
Paul Makles 522af40e48 Merge pull request #206 from goaaats/fix/default_channel 2021-09-09 20:53:15 +01:00
brecert aee256572e Fix major image bugs for chrome 93+
- fixed major bugs for chrome 93+ at the cost of minor issues that may appear (unsure, did not find any in testing)
- position scaled image to the left for firefox (firefox aspect-ratio still does not scale correctly)
- added `--width` and `--height` to the `Grid` for theme creators who may want to use such information easily
2021-09-08 07:01:11 -04:00
goat 50988b787b remove unused import 2021-09-07 21:42:32 +02:00
goat bfccd9cfac fix: choose the first channel in the server if none is selected 2021-09-07 21:40:46 +02:00
goat faf4ce8ac8 fix: append youtube timestamp to embed url if provided by january 2021-09-07 17:36:33 +02:00
brecert 3f01dd07ac Add the ability to hide the channel sidebar
(the left one)
2021-09-07 10:51:46 -04:00
brecert 53451b58f3 Add `shift+click` to channel links 2021-09-07 09:26:12 -04:00
brecert 82366cf1ea Add `shift+click` to mention mentions 2021-09-07 09:09:12 -04:00
brecert 42382a0107 Change mention to channel mention 2021-09-07 08:58:39 -04:00
brecert bc2fef4596 Add `shift+click` to link to a channel in the textarea 2021-09-07 08:34:40 -04:00
brecert e3067837ad Add `shift+click` to mention a user in the textarea 2021-09-07 08:14:22 -04:00
Gregory Pappas db3df2e49f Fix ping count alignment in Firefox 2021-09-07 02:13:15 -05:00
Leo Driesch 01c10f6368 Add padding to settings category titles to align the visually with icons 2021-09-06 20:26:15 +02:00
Snazzah 83afb4e494 Format member count in invites 2021-09-03 18:34:16 +00:00
Paul 31079af034 Change invite rendering logic.
Handle link warnings on embeds.
Remove "EDIT!!" 🙏🙏🙏
2021-09-03 13:04:37 +01:00
Paul Makles 84ea239569 Merge pull request #169 from TaiAurori/master 2021-09-03 11:29:46 +01:00
Paul 7627189005 Fix issues introduced by #162.
Switch to more consistent naming scheme.
2021-09-03 11:21:51 +01:00
Paul Makles 8fd640d7d8 Merge pull request #158 from Snazzah/trusted-links 2021-09-03 11:18:16 +01:00
Paul Makles 36eae23871 Merge pull request #159 from Snazzah/bots-look-cool 2021-09-03 11:04:53 +01:00
Paul Makles bac6fa21cb Merge branch 'master' into contextual_border_radius_variables 2021-09-03 11:01:19 +01:00
Paul 695f02aa13 Update source links from GitLab to GitHub. 2021-09-03 10:30:27 +01:00
Paul ab4167cab4 Use variables for scrollbar width.
Update language definitions.
2021-09-03 10:17:42 +01:00
TaiAurori c6e5588d24 add visible joining indicator 2021-08-31 21:37:42 +00:00
TaiAurori 0f1a8bcc56 add proper placeholder for invalid invite 2021-08-31 21:22:19 +00:00
TaiAurori 6376aeeef6 reindent 2021-08-31 20:45:01 +00:00
TaiAurori 4328c1c638 invite embeds 2: electric boogaloo 2021-08-31 20:30:02 +00:00
TaiAurori 9a5c8a7a29 Merge branch 'master' of https://github.com/TaiAurori/revite 2021-08-30 18:24:35 -04:00
TaiAurori b8a2b7ef3f invite embeds preview 2021-08-30 18:21:49 -04:00
LambdAurora 24ae88b888 Introduce new border radius variables for stable theming. 2021-08-30 23:39:02 +02:00
Snazzah c96dc63395 Add bot editing 2021-08-30 19:10:55 +00:00
Paul 08c963e715 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
Paul 6d59c441d6 Fix issues introduced in new Typescript version. 2021-08-30 16:45:23 +01:00
Snazzah 800d5b7625 Add trusted link handling in renderer/prompt 2021-08-30 14:08:13 +00:00
Paul c370a24fad Fix Korean language name. 2021-08-30 15:01:15 +01:00
Paul 13e0fc86b0 Fix ghost notifications on closed DMs.
Fix link warning not closing on open.
2021-08-30 13:26:19 +01:00
Paul Makles 514aa1117b 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
Ryan Alexander 516f3effdf Treat direct messages as mention, group behaviour is the same 2021-08-29 10:29:58 +10:00
Ryan Alexander 8354758cae Add external link warning 2021-08-29 09:56:20 +10:00
Paul Makles 9d09a30fa3 Merge pull request #132 from flaree/handle-subdomains 2021-08-26 17:48:28 +01:00
Paul Makles 957698d245 Merge pull request #131 from ryanalexander/new-voice-interface 2021-08-23 13:31:07 +01:00
Ryan Alexander b3b9953a81 Update UserIcon.tsx 2021-08-23 22:28:49 +10:00
Zomatree 41a206f6c4 color -> colour 2021-08-23 12:45:12 +01:00
Jamie 1ef0bd3b49 fix indentation 2021-08-23 04:42:18 -07:00
Jamie dc6b1ac427 Update Renderer.tsx 2021-08-23 04:38:21 -07:00
Jamie 73c386f1d0 Update Renderer.tsx 2021-08-22 04:31:48 -07:00
Jamie 7d937af8fc Handle subdomains on URLs 2021-08-22 03:39:30 -07:00
Ryan Alexander b71208e6a8 Add deafen button 2021-08-22 12:22:44 +10:00
Paul af99c7e1fd Changes for #88
Fix tooltip foreground.
Change light mode foreground colours.
Update ::selection styles.
2021-08-19 14:50:00 +01:00
Paul 1956c9fbd9 Fix unresolved import for system user ID. 2021-08-18 11:31:25 +01:00
Paul Makles 88fc488f59 Merge pull request #104 from ryanalexander/patch-5 2021-08-18 00:59:13 +01:00
Ryan Alexander 5ab656bc2a Update ServerHeader.tsx 2021-08-18 09:58:49 +10:00
Paul Makles fc6e0d29cf Merge pull request #98 from fatalerrorcoded/master 2021-08-18 00:58:45 +01:00
Paul cc28ea4b5c Add max length to message box. 2021-08-18 00:55:36 +01:00
Ryan Alexander 73dfb262ac Update ServerHeader.tsx 2021-08-18 09:06:57 +10:00
Ryan Alexander e0d75077a3 Added verified server badge for any servers created by insert 2021-08-18 08:54:55 +10:00
Paul 7fa93f1f22 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 61c7b4236e Show friend request count in indicator. Fixes #96 2021-08-17 20:05:21 +01:00
Martin Löffler 61901b4bc1 Moved reply mention disable into internal event handler 2021-08-17 20:52:16 +02:00
Martin Löffler d419c455af Disable mention behavior on self-replies 2021-08-17 17:29:25 +02:00
Martin Löffler 59dde14333 Hide reply mention button from current user 2021-08-17 17:20:53 +02:00
Ryan Alexander bbdba3881e Centered mention count + Fixed file formatting for last commit 2021-08-17 17:19:29 +10:00
Paul 127dcf0528 Include @ symbol when reply is a mention. 2021-08-16 18:08:44 +01:00
Paul cb064aba50 Handle role hoisting / ranking.
Closes #76 and closes #75.
2021-08-16 17:02:24 +01:00
Paul 7f24ee3c9a Attempt to fix attachments not showing up on Samsung Internet. 2021-08-16 15:16:54 +01:00
Paul 73212b8435 Fix Revolt on WebKit browsers. 2021-08-15 22:58:16 +01:00
Ryan Alexander b4c6837660 Update ServerListSidebar.tsx 2021-08-16 05:24:37 +10:00
Ryan Alexander 2ecc2b920c Update ServerListSidebar.tsx 2021-08-16 05:17:21 +10:00
Paul Makles 936f4813c5 Merge pull request #70 from MichailiK/feature/message/image-loading-background 2021-08-15 18:04:24 +01:00
Paul 13771d7623 Fix search not working on mobile. 2021-08-15 18:01:25 +01:00
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