Commit Graph

1375 Commits (34601c479e56b4f9e51345f513c06d05f70cf310)

Author SHA1 Message Date
Ed L 1f86f493d0 fix: let users message/hide mutuals tab for bots 2022-09-20 18:24:59 +01:00
Ed L fe65bc3dcb feat: show role id 2022-09-20 18:24:59 +01:00
Ed L 3e5d1c598d fix: use --monospace-font 2022-09-20 18:24:59 +01:00
Ed L 75aca87020 chore: deduplicate imports 2022-09-20 18:24:59 +01:00
Ed L bd62abd69e chore: bump deps, remove old login background 2022-09-20 18:24:59 +01:00
Ed L d86888ed3b feat: revamp onboarding 2022-09-20 18:24:59 +01:00
Jan 3912e40a8f feat: display account age next to join messages (#750) 2022-09-20 18:23:06 +01:00
Leda 23c12b73e3 fix: display server identity (if present) in typing indicator (#703) 2022-09-20 18:22:25 +01:00
Paul Makles 8a4fa1d1c3 fix: correctly match protocols 2022-09-18 12:32:29 +01:00
Paul Makles 0ca988427f feat: add focus mode 2022-09-18 12:05:48 +01:00
Paul Makles eade491473 fix: sanitise links passed to react-router
fix: flip protocol sanitisation to use a whitelist
2022-09-18 10:24:15 +01:00
Paul Makles 2ee26e839d fix: re-write blockquote regex to include lists 2022-09-17 13:01:02 +01:00
Paul Makles 3b72077307 fix: null assertion has a chance of throwing error here 2022-09-17 10:50:26 +01:00
Paul Makles 08cf77d2eb chore: update language defns 2022-09-16 18:46:54 +01:00
Paul Makles 54e2661faa feat: add indication if language is not fully translated
chore: update language definitions
2022-09-16 14:55:55 +01:00
Paul Makles 39f7d31025 fix: correctly specify headers when removing MFA 2022-09-08 11:19:26 +01:00
Paul Makles 4a52208a68 feat: use wxp logo for Windows 7 2022-09-03 09:18:56 +01:00
Paul Makles 13bab3acbd chore: disable list behaviour if line starts with plus 2022-09-02 16:29:20 +01:00
Paul Makles c6be688b0b feat: add ability to leave groups / servers silently 2022-09-02 16:20:25 +01:00
Paul Makles e728c2061c fix: remove stray text 2022-09-02 14:40:17 +01:00
Paul Makles f91dd334dc feat: add new reaction button to list 2022-09-02 14:35:16 +01:00
Paul Makles 1fc65ae75b fix: ensure blockquotes are broken 2022-09-02 14:17:56 +01:00
Paul Makles 9925a10ece feat: change emojis page from grid to list 2022-09-02 14:17:42 +01:00
Paul Makles f195bb3a23 feat: redesign emoji uploader 2022-09-02 13:42:34 +01:00
Paul Makles 2a0c619a71 feat: display timeout status on client 2022-09-01 14:00:43 +01:00
Paul Makles d55992ee25 fix: don't collapse whitespace / newlines 2022-08-18 12:56:21 +02:00
Paul Makles d1ba7e045b chore: remove stray log 2022-08-15 19:37:29 +02:00
Paul Makles 04590873cd chore: hide discovery button if not pointing to Revolt 2022-08-15 19:32:02 +02:00
Sophie L fab495c5f4 fix: styling fixes (#721) 2022-08-08 16:06:21 +01:00
Leda 3de2c1ed72 fix: render markdown inside/after HTML tags
fixes #733
2022-08-08 16:02:57 +01:00
Alice Harris 6da3527f24 fix: large images in website previews escape embed box 2022-08-08 16:02:04 +01:00
Paul Makles 4bdcfa457e chore: update strings and permission lists 2022-08-08 15:30:10 +01:00
Paul Makles 726e1d6e02 chore: clean up repository 2022-08-08 15:21:46 +01:00
Paul Makles 7f5d08176d feat: add reaction button to overlay 2022-08-08 15:15:20 +01:00
Paul Makles 8e7aeb3d41 chore: handle all updates to messages 2022-07-31 12:20:25 +02:00
Paul Makles 24ede917f4 fix: remove eye_speech_bubble (cursed) 2022-07-31 11:38:22 +02:00
Paul Makles 2d7a8ac667 feat: add corresponding UI for `interactions` reactions 2022-07-30 12:23:56 +02:00
Paul Makles af7cd15681 feat: add reactions 2022-07-16 15:17:02 +01:00
Paul Makles bd1bc79996 fix: pass-through to color / unset if no gradient 2022-07-16 12:59:59 +01:00
Paul Makles 29718df94d feat: add change group ownership / text system msg 2022-07-15 21:47:32 +01:00
Paul Makles c9fedc2c85 feat: render masquerade colour 2022-07-15 21:38:11 +01:00
Paul Makles cc712e19b2 feat: add separator to recovery codes when copying 2022-07-15 16:41:02 +01:00
Paul Makles 27e85d7590 feat: change colour rendering 2022-07-15 16:17:15 +01:00
Paul Makles 720de38a1e feat: make emoji picker close on select / interact elsewhere 2022-07-14 17:13:51 +01:00
Paul Makles 040a6b03cf feat: show message that user can't message another 2022-07-14 15:06:37 +01:00
Paul Makles 1dfa41a6ec fix: actually log out invalidate sessions 2022-07-13 13:05:43 +01:00
Paul Makles e269e5e256 fix: type errors with markdown content 2022-07-13 12:57:01 +01:00
Paul Makles 27a0ec9bf5 feat: convert html AST nodes to text 2022-07-13 12:32:39 +01:00
Paul Makles 3310672e51 chore: hide emoji settings if no perm 2022-07-12 14:21:44 +01:00
Paul Makles 1697e16fc4 fix: internal links would not redirect properly 2022-07-12 14:15:53 +01:00
Paul Makles 57249f662e chore: change quote depth limit to 5 from 3 2022-07-11 15:33:57 +01:00
Paul Makles 396dc90149 fix: remove html entities using AST plugin 2022-07-11 15:33:34 +01:00
Paul Makles a710af7cb4 chore: bump UI library 2022-07-10 14:27:00 +01:00
Paul Makles 2d3eb46d6b fix: correctly pass-through preview URLs 2022-07-10 13:57:47 +01:00
Paul Makles 093f0580f8 feat: try to load any 'valid' emoji 2022-07-10 13:53:19 +01:00
Paul Makles 18f2e1f8d5 fix: change quote matching Regex 2022-07-09 17:55:13 +01:00
Paul Makles 5760fea3ca feat: update emoji picker; move settings bhnd expr 2022-07-09 17:53:40 +01:00
Paul Makles 97bcf04fc3 feat: it's morbing time 2022-07-08 18:38:39 +01:00
Paul Makles 0f1aaadaa1 feat: render custom emoji 2022-07-08 17:14:15 +01:00
Paul Makles 51939bb57a merge: remote-tracking branch 'origin/master' into feat/emojis 2022-07-08 17:02:39 +01:00
Paul Makles b9cb5531f0 fix: correct mention styling 2022-07-08 16:58:21 +01:00
Paul Makles 51fc78df36 fix: underline anchor; prevent jitter on render 2022-07-08 15:45:16 +01:00
Paul Makles 4f6e2e730e fix: actually render HTML out instead of obliterating it 2022-07-08 15:36:18 +01:00
Paul Makles 3245bb753c fix: limit maximum quote depth to 3 2022-07-08 15:19:16 +01:00
Paul Makles e72af54f1c feat: switch to `remark` from `markdown-it` (big)
* replaces old mentions with avatar and display name
* renders things directly through React
* replaces most of the markdown hacks with custom AST components
* adds a tooltip to codeblock "copy to clipboard"
2022-07-08 14:24:48 +01:00
Paul Makles d0b1a4b2f3 feat: add test emoji page 2022-07-07 17:33:33 +01:00
Paul Makles 13f107d2b9 feat: port `CreateBot` to modal form
fixes #723
2022-07-06 13:15:33 +01:00
Paul Makles de4d644743 chore(refactor): delete `context/revoltjs` folder 2022-07-06 13:08:03 +01:00
Paul Makles fa9b02c71b chore: minor styling change for clipboard modal 2022-07-06 12:50:38 +01:00
Paul Makles 468e6f5a0d feat: add correct submit buttons to form modals 2022-07-06 12:49:24 +01:00
Paul Makles 11d0631351 chore: delete intermediate 2022-07-05 21:13:42 +01:00
Paul Makles 59c31732b5 feat: port `CreateCategory` / fix `Channel` 2022-07-05 20:55:24 +01:00
Paul Makles 773041a5ce feat: port `CreateChannel` modal 2022-07-05 20:37:40 +01:00
Paul Makles bb20f85469 feat: port `BanMember`, `KickMember` modals 2022-07-05 20:25:00 +01:00
Paul Makles 1c6c667028 feat: port `CreateInvite` 2022-07-05 20:11:32 +01:00
Paul Makles 1f4945603a feat: port `DeleteMessage` and `Confirmation` 2022-07-05 18:46:13 +01:00
Paul Makles 32474a5c6f feat: port input modals to new system 2022-07-05 17:53:41 +01:00
Paul Makles 56955a5934 feat(refactor): partially rewrite appearance settings 2022-07-05 15:49:08 +01:00
Paul Makles 55f11e0b0f chore: clean up picker / prism imports 2022-07-04 19:04:27 +01:00
Paul Makles e60f182c80 chore: turn emoji picker into an experiment 2022-07-01 19:32:27 +01:00
Paul Makles 918dd15894 feat: mogus vented 2022-07-01 19:23:50 +01:00
Paul Makles c0e30fcd94 feat: test emoji picker design 2022-07-01 18:09:53 +01:00
Paul Makles 9720da7ec4 Merge branch 'master' into chore/client-fsm 2022-07-01 15:11:39 +01:00
Paul Makles 828f002efd feat: port `UserProfile`, `Onboarding`, `CreateBot` to legacy 2022-06-30 20:39:00 +01:00
Paul Makles cd402d2d65 feat: port `ImageViewer` 2022-06-30 19:34:04 +01:00
Paul Makles c55e35042a feat: add `ServerInfo`, port `ChannelInfo` 2022-06-30 19:06:49 +01:00
Paul Makles 739cd19620 chore(refactor): move `RequiresOnline` into controllers 2022-06-29 17:33:23 +01:00
Paul Makles 5b2782678e chore(refactor): remove `Notifications` component 2022-06-29 17:31:59 +01:00
Paul Makles 1e6a3a5160 fix: hide push notifications on electron app 2022-06-29 16:46:25 +01:00
Paul Makles d2f06ca62c chore(refactor): remove `SyncManager` 2022-06-29 16:41:26 +01:00
Paul Makles fedb5a1e60 feat: consistent authentication flow
fix: missing suspense on login
feat: re-prompt MFA if fail on login
2022-06-29 16:27:57 +01:00
Paul Makles 25b166ab83 chore: deprecate `RevoltClient` context 2022-06-29 16:02:35 +01:00
Paul Makles bf985f01ff chore(doc): document client controller 2022-06-29 14:49:48 +01:00
Paul Makles f9e61cec09 feat: fully working onboarding on login 2022-06-29 11:48:48 +01:00
Paul Makles d74cdfbefe feat: make login functional again 2022-06-29 10:52:42 +01:00
Paul Makles 68c8ca50f3 chore: clean up FSM code 2022-06-29 10:28:24 +01:00
Paul Makles c142c2e74d feat: implement `useClient` from client controller 2022-06-28 19:59:58 +01:00
Paul Makles fb466c44ed feat: get fsm to a working testing state 2022-06-28 13:49:50 +01:00
Paul Makles 5ef2860e60 fix: don't display date on ("new") message divider 2022-06-28 13:23:45 +01:00
Paul Makles f311e1be76 patch: temporarily fix issue with public invites 2022-06-28 13:22:10 +01:00
Paul Makles 0ecc3d319b feat: build finite state machine for sessions 2022-06-28 13:20:08 +01:00
Paul Makles 3d47c79b57 chore(refactor): rename `context/modals` to `controllers/modals` 2022-06-27 17:56:06 +01:00
Paul Makles 1a6e333d7d fix: duct-tape fix the bot edit issues
fixes #629
2022-06-21 11:14:51 +01:00
Paul Makles 7107dd9b29 fix: no client context on ModifyAccount
fix: no reactivity on account settings

closes #706
fixes #683
fixes #702
2022-06-21 10:57:58 +01:00
Paul Makles fd1ec47f72 fix: consider whether alert is present in height calc 2022-06-18 17:05:05 +01:00
Paul Makles 59022f91ae feat: handle system alerts and poll rate changes 2022-06-18 17:03:04 +01:00
Paul Makles 23d6a7c647 feat(modal): implement new server identity modal
closes #172
2022-06-18 15:54:17 +01:00
Paul Makles 05b4f14417 fix: temporarily hack in mention to profile flow 2022-06-18 15:06:24 +01:00
Paul Makles cdb24bb0c7 feat(modal): port ModifyAccount and PendingRequest 2022-06-18 15:02:59 +01:00
Paul Makles 2a59161929 chore: remove legacy Redux migration 2022-06-18 14:49:59 +01:00
Paul Makles eff997e251 feat(modal): port LinkWarning 2022-06-18 14:19:31 +01:00
Paul Makles 295c22383c feat(modal): port Clipboard 2022-06-18 12:33:22 +01:00
Paul Makles 35819441e4 feat(modal): port Error and ShowToken 2022-06-18 12:25:56 +01:00
Paul Makles 62ce6fdbf3 feat(modals): port SignedOut and SignOutSessions 2022-06-18 11:56:05 +01:00
Paul Makles bfd9439f27 feat: re-work modal behaviour to be more natural 2022-06-18 11:22:37 +01:00
Paul Makles 12217ae2a8 fix: show update button on native if frame off 2022-06-17 16:57:13 +01:00
Leda 1e8fd76819 fix: modify account, and create bot forms not being submitted (#697) 2022-06-17 16:51:10 +01:00
Paul Makles c7b1349f7d fix: remove status request
closes #685
closes #643
2022-06-17 16:50:48 +01:00
Paul Makles 238131aaf7 fix(qr): render the QR code consistently 2022-06-14 18:01:19 +01:00
Paul Makles 444a2b7ed3 fix(css): please let the torture stop 2022-06-14 17:21:52 +01:00
div2005 8334ef0d2b fix: bottom nav alignment is wrong (#684)
Co-authored-by: div2005 <div2005@tuta.io>
Co-authored-by: Paul Makles <paulmakles@gmail.com>
2022-06-14 17:19:18 +01:00
Paul Makles 8616c75760 fix: bottom nav button alignment
fixes #679
2022-06-14 17:16:18 +01:00
Paul Makles 6d2e1d6a5a fix: user picker checkbox + width
fixes #657
fixes #681
2022-06-14 17:10:59 +01:00
Paul Makles 17e33b6df2 chore: fix merge conflicts 2022-06-14 16:30:42 +01:00
Leda 5f53fe7f53 fix: bug in user/channel mention when query text is empty (#659) 2022-06-14 15:24:13 +01:00
Leda d4e92bc6c8 fix: bug where channel icon scales with channel name (#661)
Co-authored-by: Paul Makles <paulmakles@gmail.com>
2022-06-14 15:23:58 +01:00
Leda d1fe273310 fix: display voice channel as link in messages (#658)
* fix: display voice channel as link in messages

* chore: format
2022-06-14 15:17:00 +01:00
Leda a3729fcbdb fix: bug in join server button when in light theme (#660) 2022-06-14 15:13:31 +01:00
Paul Makles 11dba75daf chore: duct-tape fix for semver library breaking 2022-06-12 22:24:29 +01:00
Paul Makles 634a3e175f fix: make the changelog button in settings work 2022-06-12 22:21:23 +01:00
Paul Makles 5c94494280 feat: add changelog modal 2022-06-12 22:19:41 +01:00
Paul Makles 52ab0e5526 feat: add auto-update and out-of-date indicator 2022-06-12 21:16:42 +01:00
Paul Makles e862a2c908 chore: i18n 2022-06-12 21:11:23 +01:00
Paul Makles 74a42914d7 fix(eslint): rules included deprecated plugin 2022-06-12 19:38:29 +01:00
Paul Makles b0b3642040 chore: display error on load if present 2022-06-12 19:27:18 +01:00
Paul Makles cc031464ba feat: finalise 2FA login 2022-06-12 19:24:59 +01:00
Paul Makles 2536ef86f7 feat: add MFA recovery codes 2022-06-12 16:30:37 +01:00
Paul Makles 68285b04d6 chore(refactor): clean up component folder structure 2022-06-12 15:24:00 +01:00
Paul Makles 98bdea0b65 chore: refactor account UI 2022-06-12 15:07:30 +01:00
Paul Makles db653b3981 chore: move "resend verification" button 2022-06-12 12:16:15 +01:00
Paul Makles 9121da99e3 fix: use `class` in markdown rendering 2022-06-10 17:36:59 +01:00
Paul Makles 595cfd6a90 feat: add account deletion confirmation route 2022-06-10 17:20:31 +01:00
Paul Makles 7a32bd7942 chore: fix build errors 2022-06-10 17:00:37 +01:00
Paul Makles 0ec005cfd7 feat: new modal renderer + mfa flow modal 2022-06-10 16:52:12 +01:00
Paul Makles abf7413066 feat: add disable / delete funct; bump revolt-api 2022-06-10 14:32:21 +01:00
Paul Makles a5e5f3ea0b chore(refactor): move and re-organise types folder 2022-06-10 14:11:38 +01:00
Paul Makles e220c82f71 chore: clean up build errors 2022-06-09 14:50:05 +01:00
Paul Makles 4d6edca667 Merge branch 'master' into chore/component-migration 2022-06-09 14:48:45 +01:00
Paul Makles 511be88188 chore: prepare account management buttons 2022-06-09 14:47:53 +01:00
Paul Makles 50b1c49fce chore: clean up code 2022-06-09 14:47:33 +01:00