Commit Graph

1338 Commits (472e6e07b5ef39d7cd6c847f71462dbbc4fc42db)

Author SHA1 Message Date
Paul Makles a2a52e237d chore(refactor): remove `Notifications` component 2022-06-29 17:31:59 +01:00
Paul Makles 05516c5823 fix: hide push notifications on electron app 2022-06-29 16:46:25 +01:00
Paul Makles 45692999bf chore(refactor): remove `SyncManager` 2022-06-29 16:41:26 +01:00
Paul Makles 1fcb3cedc1 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 0261fec676 chore: deprecate `RevoltClient` context 2022-06-29 16:02:35 +01:00
Paul Makles 0e86f19da2 chore(doc): document client controller 2022-06-29 14:49:48 +01:00
Paul Makles 31220db8fe feat: fully working onboarding on login 2022-06-29 11:48:48 +01:00
Paul Makles 66ae518e51 feat: make login functional again 2022-06-29 10:52:42 +01:00
Paul Makles 8d505c9564 chore: clean up FSM code 2022-06-29 10:28:24 +01:00
Paul Makles 5f2311b09c feat: implement `useClient` from client controller 2022-06-28 19:59:58 +01:00
Paul Makles ce88fab714 feat: get fsm to a working testing state 2022-06-28 13:49:50 +01:00
Paul Makles b53d3bce13 fix: don't display date on ("new") message divider 2022-06-28 13:23:45 +01:00
Paul Makles c997286340 patch: temporarily fix issue with public invites 2022-06-28 13:22:10 +01:00
Paul Makles 80f4bb3d98 feat: build finite state machine for sessions 2022-06-28 13:20:08 +01:00
Paul Makles 1cfcb20d4d chore(refactor): rename `context/modals` to `controllers/modals` 2022-06-27 17:56:06 +01:00
Paul Makles 95ebd935ed fix: duct-tape fix the bot edit issues
fixes #629
2022-06-21 11:14:51 +01:00
Paul Makles cb0a521473 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 569864167e fix: consider whether alert is present in height calc 2022-06-18 17:05:05 +01:00
Paul Makles f185dec461 feat: handle system alerts and poll rate changes 2022-06-18 17:03:04 +01:00
Paul Makles 03e177f865 feat(modal): implement new server identity modal
closes #172
2022-06-18 15:54:17 +01:00
Paul Makles f685352963 fix: temporarily hack in mention to profile flow 2022-06-18 15:06:24 +01:00
Paul Makles 6755217ad2 feat(modal): port ModifyAccount and PendingRequest 2022-06-18 15:02:59 +01:00
Paul Makles 211ff2058a chore: remove legacy Redux migration 2022-06-18 14:49:59 +01:00
Paul Makles b7be9f8c03 feat(modal): port LinkWarning 2022-06-18 14:19:31 +01:00
Paul Makles 241b9cd27b feat(modal): port Clipboard 2022-06-18 12:33:22 +01:00
Paul Makles d10bd96900 feat(modal): port Error and ShowToken 2022-06-18 12:25:56 +01:00
Paul Makles 374be319c4 feat(modals): port SignedOut and SignOutSessions 2022-06-18 11:56:05 +01:00
Paul Makles 0ee7b73d61 feat: re-work modal behaviour to be more natural 2022-06-18 11:22:37 +01:00
Paul Makles 63d5f6bb7d fix: show update button on native if frame off 2022-06-17 16:57:13 +01:00
Leda 34e6995d86
fix: modify account, and create bot forms not being submitted (#697) 2022-06-17 16:51:10 +01:00
Paul Makles a1ef1dce5e fix: remove status request
closes #685
closes #643
2022-06-17 16:50:48 +01:00
Paul Makles a190a51d0b fix(qr): render the QR code consistently 2022-06-14 18:01:19 +01:00
Paul Makles c9127d6cf3 fix(css): please let the torture stop 2022-06-14 17:21:52 +01:00
div2005 f0d2e31b17
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 220a28a151 fix: bottom nav button alignment
fixes #679
2022-06-14 17:16:18 +01:00
Paul Makles b44779c89a fix: user picker checkbox + width
fixes #657
fixes #681
2022-06-14 17:10:59 +01:00
Paul Makles 5835064219 chore: fix merge conflicts 2022-06-14 16:30:42 +01:00
Leda ba99cbaf2a
fix: bug in user/channel mention when query text is empty (#659) 2022-06-14 15:24:13 +01:00
Leda fc0c7611d4
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 2e9c013ed8
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 3e40a61624
fix: bug in join server button when in light theme (#660) 2022-06-14 15:13:31 +01:00
Paul Makles 4e22ccb2f7 chore: duct-tape fix for semver library breaking 2022-06-12 22:24:29 +01:00
Paul Makles 00718245f9 fix: make the changelog button in settings work 2022-06-12 22:21:23 +01:00
Paul Makles cd8ab6739b feat: add changelog modal 2022-06-12 22:19:41 +01:00
Paul Makles a404ff7fe0 feat: add auto-update and out-of-date indicator 2022-06-12 21:16:42 +01:00
Paul Makles 7680931f5f chore: i18n 2022-06-12 21:11:23 +01:00
Paul Makles c1324108e3 fix(eslint): rules included deprecated plugin 2022-06-12 19:38:29 +01:00
Paul Makles 64f19ec2c0 chore: display error on load if present 2022-06-12 19:27:18 +01:00
Paul Makles dbb1c1e8fa feat: finalise 2FA login 2022-06-12 19:24:59 +01:00
Paul Makles c686e85d37 feat: add MFA recovery codes 2022-06-12 16:30:37 +01:00
Paul Makles 8eefc87b05 chore(refactor): clean up component folder structure 2022-06-12 15:24:00 +01:00
Paul Makles 645e1af6db chore: refactor account UI 2022-06-12 15:07:30 +01:00
Paul Makles 8103cc03cf chore: move "resend verification" button 2022-06-12 12:16:15 +01:00
Paul Makles 8a2826da91 fix: use `class` in markdown rendering 2022-06-10 17:36:59 +01:00
Paul Makles bd50378234 feat: add account deletion confirmation route 2022-06-10 17:20:31 +01:00
Paul Makles 71f8fc86a4 chore: fix build errors 2022-06-10 17:00:37 +01:00
Paul Makles e81b8ed472 feat: new modal renderer + mfa flow modal 2022-06-10 16:52:12 +01:00
Paul Makles 6be0807433 feat: add disable / delete funct; bump revolt-api 2022-06-10 14:32:21 +01:00
Paul Makles e0ca1681bd chore(refactor): move and re-organise types folder 2022-06-10 14:11:38 +01:00
Paul Makles 72e60b7528 chore: clean up build errors 2022-06-09 14:50:05 +01:00
Paul Makles 6497e11fb0
Merge branch 'master' into chore/component-migration 2022-06-09 14:48:45 +01:00
Paul Makles 7544c78360 chore: prepare account management buttons 2022-06-09 14:47:53 +01:00
Paul Makles 040c4367f7 chore: clean up code 2022-06-09 14:47:33 +01:00
Paul Makles ee80dfd3c8 fix: pull `Client` into state early
(should fix empty server list)
2022-06-09 14:40:54 +01:00
Paul Makles 67c8418c31 fix: actually resolve the error from requests 2022-06-07 17:00:11 +01:00
Paul Makles 2056232759 fix: build errors 2022-05-30 16:46:07 +01:00
Paul Makles 81bf325990 feat: add column element 2022-05-30 16:15:52 +01:00
Paul Makles 906f15f103 fix: use shape="circle" for friend component 2022-05-30 15:54:55 +01:00
Paul Makles 41e533ab59 feat(@ui): port Modal component 2022-05-30 15:45:14 +01:00
Paul Makles 68b9d5ea79 feat(@ui): migrate category / overline and header 2022-05-30 14:42:09 +01:00
Paul Makles 673efc0586 fix: make context menu line divider compact 2022-05-30 12:57:30 +01:00
Paul Makles 74f8c552ed feat(@ui): port category button 2022-05-30 12:56:47 +01:00
Paul Makles f3bdbe52d9 feat(@ui): migrate textarea and tip 2022-05-30 12:47:13 +01:00
Paul Makles b4777e9816 feat(@ui): migrate line divider, preloader and save status 2022-05-30 12:40:01 +01:00
Paul Makles ab77d4a812 feat(@ui): migrate radio 2022-05-30 12:29:56 +01:00
Paul Makles 1d243d4762 feat(@ui): migrate input box 2022-05-30 12:26:16 +01:00
Paul Makles 2f9bfbf83f chore: remove Masks component 2022-05-30 12:19:32 +01:00
Paul Makles c2547b3ead feat(@ui): migrate icon button 2022-05-30 12:01:47 +01:00
Paul Makles a64fe61199 feat(@ui): migrate date divider and details 2022-05-29 16:40:02 +01:00
Paul Makles 1bd138d6ef feat(@ui): migrate colour swatches and combo box 2022-05-29 16:38:09 +01:00
Paul Makles 4bcfa601a5 feat(@ui): migrate checkbox component 2022-05-29 16:34:54 +01:00
Paul Makles 20d31babce feat(@ui): migrate Banner component 2022-05-29 15:43:36 +01:00
Paul Makles 12b9716043 fix: open last opened server channel instead of first 2022-05-27 22:32:06 +01:00
Paul Makles bdf741e0ee feat: add "ordering" data store 2022-05-27 21:21:42 +01:00
Paul Makles 588cb7c019 feat: finish reimplementation of server list 2022-05-27 21:21:42 +01:00
Paul Makles 94dd4b464a chore: server list integration test 2022-05-27 21:21:42 +01:00
Paul Makles 9e948175b3 chore: update and add new languages 2022-05-25 16:43:59 +01:00
Jan 8efe3ecbc0
feat: add warning on self-hosted instances (#645)
* feat: add warning on self-hosted instances

* update text
2022-05-24 12:53:06 +01:00
Paul Makles be12c6da20
chore: migrate Button to @revoltchat/ui (#617)
* chore: start moving Button over

* fix: convert ServerIdentityModal

* fix: modal button styling

* fix: popover styles

* fix: clean up references to ui/*.*

* fix: button sizing

Co-authored-by: Ed L <beartechtalks@gmail.com>
2022-05-23 21:21:29 +01:00
Jan 6fdd701b38
feat: Add option to show Send button on Desktop (#628) 2022-05-23 21:19:55 +01:00
kaname-png e46a6d55d6 chore: minor ui fixes for mybots page 2022-05-23 21:14:56 +01:00
kaname-png 32d37777f2 fix(components): wrong calculation of dimensions of embeds layouts 2022-05-23 21:14:56 +01:00
Paul Makles 6fcdbd1cef fix: remove explicit cast to string for `msg.content` 2022-05-21 16:59:34 +01:00
Paul Makles 73d51a3e29 fix: edit bot av / bg 2022-05-19 13:49:38 +01:00
Paul Makles 5d7b8f1851 fix: add overflow to attachment grid 2022-05-19 13:42:06 +01:00
Paul Makles dc110ca082 chore: bump deps. 2022-05-19 13:37:33 +01:00
Paul Makles 97ab6c075d feat: add lightspeed.tv support 2022-05-19 13:37:24 +01:00
Paul Makles 744afe2f6a feat: GIF and Video embed support 2022-05-19 13:34:19 +01:00
Paul Makles e74c3a5f80 fix: return correct error 2022-05-17 21:10:47 +01:00
Paul Makles f8e67af962 fix: allow viewing text files > 100kB
closes #35
2022-05-16 19:32:58 +01:00
Paul Makles 8f0c69f528 chore: remove super and subtext (closes #438) 2022-05-10 12:27:44 +01:00
Paul Makles e1e3e55dc7 feat: add minimise to tray option 2022-05-10 12:26:57 +01:00
Paul Makles 9e90ce6854 fix: override backdrop-filter if transparency effects are off
closes #550
2022-05-09 22:05:57 +01:00
Paul Makles 81e9774cc0 fix: re-sort member sidebar on channel change
closes #593
2022-05-09 22:00:17 +01:00
Paul Makles e9cba5b4e2 fix: allow selecting text on profiles
closes #433
2022-05-09 21:58:08 +01:00
Jan e9258d7c23
fix: #614 breaks in desktop client :trollface: (#616) 2022-05-08 22:17:36 +01:00
Jan 7345172271
fix: don't open new tab to download attachment (#614) 2022-05-08 21:53:07 +01:00
Paul Makles eb1bd27ec0 feat: add ban list search (closes #579) 2022-05-08 10:40:45 +01:00
Paul Makles 0ce128b108 fix: handle null relationship; fixes #607
not sure if this was intended from the API side
2022-05-08 10:19:33 +01:00
Daesun ac0c100846
feat(sessions): Add confirmation prompt (#575)
Reopening of issue #572
Fixes issue #42
Translations added on PR 31 of revolt/translations

Co-authored-by: Paul Makles <paulmakles@gmail.com>
2022-05-07 21:31:53 +01:00
Jan 93ba922536
fix: permission lists show wrong permissions (#603) 2022-05-07 21:31:18 +01:00
Paul Makles 7ffa0744c0 fix: don't cast message.content 2022-05-07 16:55:46 +01:00
Paul Makles 0de941394d feat: show 'bridge' badge for masqueraded bot messages 2022-05-07 15:24:12 +01:00
Paul Makles 4c08483848 feat: add message / block for bots 2022-05-07 15:24:00 +01:00
Paul Makles 08e1db6d35 feat: show that permissions / roles are not editable
closes #594
2022-04-30 15:54:27 +01:00
Paul Makles 4ccfaea973 feat: add a preloader for members list 2022-04-30 15:22:06 +01:00
Paul Makles a66e96677f revert: #588 2022-04-30 14:45:57 +01:00
Evilhotdog 4c87bc54a8
feat: add sounds when user joins/leaves call (#587) 2022-04-29 15:22:18 +01:00
Freeplay 2b8b9c959f
fix: bottom padding in settings (#588) 2022-04-29 15:21:53 +01:00
Paul Makles 37d5ba24c5 merge: branch 'quark/permissions' 2022-04-29 13:48:38 +01:00
Paul Makles d876f52346 fix: bump revolt.js to fix perm calculation 2022-04-28 17:53:27 +01:00
Paul Makles 14a2f4882e chore: refactor permission checks 2022-04-28 15:02:22 +01:00
Paul Makles b217571325 chore: translations for role page 2022-04-28 14:51:34 +01:00
Paul Makles d31237e9e1 chore: clean up 2022-04-27 20:18:51 +01:00
Paul Makles eee1d4060f feat: new permissions menus
closes #322
2022-04-22 21:06:12 +01:00
Paul Makles 4aad0493ae fix: add padding to message box when no file perm
closes #84
2022-04-21 19:35:45 +01:00
Paul Makles 48558dd5e4 chore: split `content` into `content`, `system` 2022-04-21 17:46:14 +01:00
Paul Makles d129d9816d fix(invites): use new invite handling 2022-04-09 19:02:41 +01:00
Paul Makles 7b7f3c3af8 fix(state): save state on reset 2022-04-09 19:02:33 +01:00
Paul Makles 6915186738 fix: actually close error modal 2022-04-09 19:02:22 +01:00
Paul Makles 56f59d132b fix: don't paste file anyways if too large 2022-04-09 19:02:10 +01:00
Paul Makles b2f4411850 feat: switch to revolt.js@6.0.0 + new revolt-api 2022-04-09 15:47:04 +01:00
Daesun 002cb5e6c1
fix(login): Fix render of welcome and subtitle text per page (#573) 2022-04-05 23:42:32 +01:00
Daesun 777d06f469
fix(voice channel): Fix overflow and scrolling (#574) 2022-04-05 23:42:15 +01:00
Ed L 3f9e6fc2e2
feat: notify user of aup when creating server (#495) 2022-04-05 23:38:59 +01:00
Alyxia Sother c3f4ad8f8d improvement(plugins-page) Use more i18 components 2022-03-29 20:50:43 +01:00
Alyxia Sother cdc077ffa1 improvement(plugins-page): Refactor using card
I've (hackily so) written my own plugin card to replace the previous
usage of the `Checkbox` component.
Beware, ye who tread these lands, for they are decrepid.
2022-03-29 20:50:43 +01:00
Alyxia Sother 0d6720e3b1 improvement(plugins-page): Use i18n Text
Note that, since the translation PR has not been made yet, this patch
was used to test the changes: https://public.alyxia.dev/revolt/lang.diff
2022-03-29 20:50:43 +01:00
Alyxia Sother 07439bd5f6 feat: Implement a plugins page 2022-03-29 20:50:43 +01:00
Reinis Mazeiks 8021169131
feat: prevent accidental send while in code block (#557) 2022-03-29 20:49:25 +01:00
Avis Orsetti b4c7fe543f
chore: add "OpenDyslexic" font (#529)
Co-authored-by: Ed L <beartechtalks@gmail.com>
2022-03-29 20:49:16 +01:00
Ed L 28efdd0ea4
fix: fix iOS regex (#519) 2022-03-29 20:47:54 +01:00
Paul Makles ca240fb6d7 chore: clean up the patch from yesterday 2022-03-29 19:23:46 +01:00
Paul Makles cf049bd4ee fix: don't delete, set undefined 2022-03-28 09:51:35 +01:00
Paul Makles b3be822568 feat(experiment): basic plugin API 2022-03-27 21:45:54 +01:00
Paul Makles f9f0d5c55a fix: pre-cache to not include extra files 2022-03-25 11:17:04 +00:00
Reinis Mazeiks e93db2345f
feat: add Latvian to the language list (#556) 2022-03-16 15:00:41 +00:00
Paul Makles d01b9cae40 fix: re-enable callouts 2022-03-06 19:52:24 +00:00
Paul Makles 8e1031cf91 fix(iOS): disable touch callouts globally 2022-03-06 19:39:21 +00:00
Paul Makles f65c9bdd5e fix: context menus are now bound by spread 2022-03-06 19:13:12 +00:00
Paul Makles 009565f0cc fix(iOS): fix image / video uploads from iOS
closes #477
2022-03-05 14:56:19 +00:00
Paul Makles 18761e2181 fix(iOS): actually fix context menus
closes #138
2022-03-05 14:41:41 +00:00
Paul Makles 3e045cf8a8 fix(ios): try to accept all content types
for #477
2022-03-05 12:07:57 +00:00
Paul Makles dc3925c003 fix(invites): handle invites correctly 2022-03-04 18:26:36 +00:00
Paul Makles d95070d8c7 fix(modals): make text input full width 2022-03-04 16:53:10 +00:00
Paul Makles 498e76b535 fix(home): fix the create group button
closes #546
2022-03-04 16:46:50 +00:00
Paul Makles 0f8be1767d fix: delete singleton renderer on channel delete 2022-03-04 16:45:57 +00:00
Paul Makles 542c0482c5 fix: improve handling of inactive channels
(closes #432)
2022-03-04 16:45:44 +00:00
Paul Makles d83455c759 chore: outage over, flick the switch 2022-03-01 19:44:38 +00:00
Paul Makles d3220d7c70 fix: fix the link 2022-03-01 10:21:28 +00:00
Paul Makles 094be08bbf fix(status bar): calculate height correctly 2022-03-01 10:15:57 +00:00
Paul Makles b1a7a94d26 feat: push temporary outage information 2022-03-01 10:12:45 +00:00
Paul Makles 041c039827 feat(permission): implement new server / channel permission menus 2022-02-27 23:44:29 +00:00
Paul Makles 3632b6b351 fix(theme): better still just, handle it optionally 2022-01-31 01:05:06 +00:00
Paul Makles edaf2256d5 fix(theme): don't crash the app on invalid fonts 2022-01-31 01:04:13 +00:00
Paul Makles 334e54146b chore: clean up stray console.log 2022-01-29 11:45:56 +00:00
Paul Makles b4642b1efe chore: bump revolt.js
fixes #528
2022-01-29 11:11:19 +00:00
Paul Makles 1089651cb0 fix(member sidebar): more aggressively check if we need to update 2022-01-29 09:42:04 +00:00
trashtemp 6020d94c3a
fix: changed anim name 2022-01-22 17:13:06 +01:00
Paul Makles e4b1be591c fix(theme): use alternative contrast algorithm 2022-01-21 23:17:55 +00:00
trashtemp 50b0e0f5f2
fix: added flex shrink to mention 2022-01-21 09:47:18 +01:00
trashtemp 2c321bf0f1
fix: added flex shrink to message reply 2022-01-21 09:46:11 +01:00
trashtemp 074057b481
fix: added animation to jumpbar 2022-01-21 09:15:31 +01:00
trashtemp 4d769f42e1
fix(settings): added bezier curve to animations 2022-01-21 09:06:55 +01:00
trashtemp 622f2b2bca
fix(messagebox): fixed z-index 2022-01-21 08:30:54 +01:00
trashtemp e959f29eae
fix(reply): used var instead of fixed hex 2022-01-21 00:26:06 +01:00
trashtemp 344519de00
fix: added string to toggle 2022-01-21 00:13:13 +01:00
trashtemp ad40197df9
fix: flex shrink 2022-01-21 00:04:44 +01:00
trashtemp 0de078a794
feat: new replies 2022-01-21 00:02:55 +01:00
trashtemp 6e89e10461
fix(jumpbar): fixed collision on mobile 2022-01-20 15:26:58 +01:00
trashtemp 68acfe26de
fix(messagebox): mobile button increased width 2022-01-20 11:38:12 +01:00
trashtemp 13f119942c
fix(settings): fixed small issues with mobile 2022-01-20 11:03:47 +01:00
trashtemp 4ea97e0209
chore: updated vite-plugin-pwa, fixes 2022-01-16 17:22:06 +01:00
trashtemp da5d82537d
fix(voice): fixed header style 2022-01-16 13:44:00 +01:00
trashtemp 59fb8a3c0f
fix(userprofile): entry style touch up 2022-01-15 23:00:12 +01:00
trashtemp e6684b8f78
fix(message): re-added click to usericon 2022-01-15 22:50:29 +01:00
trashtemp 2bef311f9a
fix(modals): finally fixed width 2022-01-15 22:19:29 +01:00
trashtemp cc458453d3
fix(button): removed z-index 2022-01-15 20:59:14 +01:00
trashtemp 0dec90f53d
chore: added fonts and weights, removed font
+ added new font-weight for Open Sans
+ added "Bitter" font
- bye bye Bree Serif :'(
2022-01-15 20:56:00 +01:00
trashtemp 79114d72b8
fix(serverheader): fixed positioning of header 2022-01-15 17:40:34 +01:00
trashtemp 8fa6f87dc2
fix(messagebox): fixed padding 2 2022-01-15 17:37:56 +01:00
trashtemp c5461f3134
fix(messagebox): fixed padding 2022-01-15 17:31:57 +01:00
Paul Makles 196bbe2634 fix(embed): exclusively use markdown renderer for text embeds 2022-01-15 16:06:41 +00:00
Paul Makles 8eb2f4e7e3 fix(messaging): bring cursor pointer back for av. 2022-01-15 15:59:25 +00:00
Paul Makles 271a126a3f fix(bottom nav): replace path instead of going back 2022-01-15 15:46:48 +00:00
Paul Makles 05266790ae fix(state): sync locale correctly 2022-01-15 15:43:32 +00:00
Paul Makles dc527467d5 chore(locale): add languages (Bengali, Catalonian, Danish, Esperanto) 2022-01-15 15:23:03 +00:00
Paul Makles 60cd17d673 feat(context menu): add "mark as unread" 2022-01-15 14:46:19 +00:00
Paul Makles a58372fc42 chore: add sippy (emote) 2022-01-15 14:43:59 +00:00
Paul Makles 4996a4d785 feat(fonts): add Lexend 2022-01-15 14:42:35 +00:00