Commit Graph

165 Commits (f685352963eeaaec21f46e398572fdc97a501b2d)

Author SHA1 Message Date
Paul 5603278071 chore(assets): create new default set of assets
feat(assets): prepare assets before build
2021-10-23 15:38:52 +01:00
Paul 4ec598db81 Hide edit profile button while editing, closes #301.
Block UI when account edit request is sent, closes #303.
2021-10-10 16:32:30 +01:00
Paul 89c0026fa2 Fix mark read logic, should fix #307.
Add bot delete confirmation, closes #302.
2021-10-10 16:28:56 +01:00
Paul 14e749b65b Mark link as trusted when opening, fixes #331. 2021-10-10 16:11:43 +01:00
Paul Makles 148c0edcbf
Merge pull request #268 from brecert/fix-198 2021-10-09 23:45:52 +01:00
Paul 81379d6ec4 Explicitly deny bad URLs.
Fixes #252.
Handle embed untrusted links better.
2021-09-25 10:54:32 +01:00
Andrew Qu 25bc0c1ea3 fixed name 2021-09-23 22:35:17 -07:00
RigidStudios 7af2bce00e Revert "don't change onboarding on this pr"
This reverts commit 416cc0a991.
2021-09-23 23:11:33 +04:00
RigidStudios 416cc0a991 don't change onboarding on this pr 2021-09-23 00:00:38 +04:00
RigidStudios 75704773af Add linebreak before logo 2021-09-22 18:04:45 +04:00
Paul ce0749d9e8 Prevent double sending of requests. 2021-09-19 13:47:25 +01:00
brecert ecb0bff4f3
Set appropriate `autocomplete` attributes for password reset
- make autocomplete set to `current-password` and `new-password` for password resets
- fixes #198
2021-09-19 04:11:54 -04:00
Paul 51f23f5aa0 Include noreferrer on embed links / window.open. 2021-09-17 09:37:07 +01:00
Paul 52875ab197 Fix change email / password. 2021-09-13 16:41:47 +01:00
Paul Makles 60c3a5ba11
Merge pull request #223 from brecert/identity-fix
Improve server identity avatar preview
2021-09-11 23:53:17 +01:00
Paul 5b422b89e3 Migrate to rAuth v1. 2021-09-11 17:36:23 +01:00
brecert 33d79beae6
Improve server identity avatar preview
- server identity avatar preview now displays your current avatar, but desaturated and grayscale when no avatar is set

resolves #218
2021-09-11 11:38:58 -04:00
Paul Makles 2b3ff50b33
Merge pull request #178 from Snazzah/patch-1 2021-09-09 21:04:58 +01:00
Snazzah b0407490a8 Add translate strings to server identity 2021-09-03 17:45:10 +00:00
Snazzah 11f8d081ba Revamp Server Identity Popover 2021-09-03 17:32:50 +00:00
Snazzah 14c191be60
Fix translation string in Create Bot popover 2021-09-03 10:37:49 -05:00
Paul 2ccc0b7b5e Change invite rendering logic.
Handle link warnings on embeds.
Remove "EDIT!!" 🙏🙏🙏
2021-09-03 13:04:37 +01:00
Paul Makles 966daa6c78
Merge pull request #158 from Snazzah/trusted-links 2021-09-03 11:18:16 +01:00
Paul Makles 8ad1130a00
Merge pull request #159 from Snazzah/bots-look-cool 2021-09-03 11:04:53 +01:00
Paul bde8b58095 Fix pointer style for badges. 2021-09-03 10:46:52 +01:00
Paul a1cb72046c Fix and prettier incoming changes from PR #119.
Cherry pick PR #130: don't show add friend button on banned / deleted accounts.
Also account for this in context menu.
2021-09-03 10:43:48 +01:00
Snazzah 222d328985 add translation 2021-08-31 16:00:35 +00:00
Snazzah d298f877e5 finish translations 2021-08-31 15:55:18 +00:00
Snazzah e92877158c update create bot form 2021-08-31 04:33:47 +00:00
Snazzah 28dbd49957 Move creating bots to a popover 2021-08-31 04:00:45 +00:00
Snazzah 86027f7b3d Initial bot page stylings 2021-08-30 16:18:42 +00:00
Paul 4e3e57a7c9 Fix issues introduced in new Typescript version. 2021-08-30 16:45:23 +01:00
Paul b364fe50f6 Make Typescript happy, testing CI build.
Adjust language names.
2021-08-30 16:08:22 +01:00
Snazzah d8465b1aae Add trusted link handling in renderer/prompt 2021-08-30 14:08:13 +00:00
Paul 0ca99ddceb Fix ghost notifications on closed DMs.
Fix link warning not closing on open.
2021-08-30 13:26:19 +01:00
Ryan Alexander fe04951bcf Make continue button use accent colour 2021-08-29 10:00:23 +10:00
Ryan Alexander 3d0e95d25d Add external link warning 2021-08-29 09:56:20 +10:00
Ryan Alexander dccc0f4eb7
Update Prompt.tsx 2021-08-18 06:28:18 +10:00
Ryan Alexander 49d54ee05a Added create category context menu when right clicking in channel list 2021-08-17 06:31:25 +10:00
Ryan Alexander 792bc99eac
Merge branch 'revoltchat:master' into patch-2 2021-08-16 00:26:18 +10:00
Paul 8a104855a1 Add settings button to server list sidebar.
Move more border radiuses to variables.
2021-08-15 15:21:23 +01:00
Ryan Alexander 6938deb568
Update UserProfile.tsx
Clicking badges that can redirect to a relevant page will do so.

Clicking Supporter will direct to donate page
Clicking Translator will direct to weblate
2021-08-16 00:09:16 +10:00
Paul Makles c0c0c267f4
Merge pull request #67 from ashishcas/fixing-border-radius 2021-08-15 14:50:43 +01:00
Paul f59d0efbcb Remember whether reply was a mention or not.
Fix input modals refreshing page.
2021-08-14 21:37:43 +01:00
ashishcas aedc158654 feat:: updating border radius 2021-08-14 21:44:02 +05:30
Paul Makles 4d9c324326
Merge pull request #60 from janderedev/pr-5 2021-08-12 21:39:23 +01:00
janderedev ac04bd2b44
Filter mutual servers properly 2021-08-12 18:29:01 +02:00
Paul c5a36b09d9 Remove ability to add bot as a friend. 2021-08-12 17:11:34 +01:00
janderedev 3d707a64da
Merge branch 'master' of https://github.com/revoltchat/revite into pr-5 2021-08-12 17:52:38 +02:00
Paul 237a0024df Temporary bot menu. 2021-08-12 15:29:19 +01:00
Paul c27f596d40 Show user flags and the bot owner. 2021-08-12 14:40:13 +01:00
janderedev 1c3d76d45f
Added mutual servers tab on user profile 2021-08-12 12:32:56 +02:00
Paul f19e334d56 Handlers for UserShort.
View user's profile picture.
Close #25, adds logic to hamburger.
2021-08-09 15:51:22 +01:00
Paul 4f1ba8942f Add server avatars. Closes #52
Add identity edit menu. Closes #51
2021-08-07 22:42:15 +01:00
Paul d841b9e3cd Fix profiles not loading. 2021-08-05 23:25:49 +01:00
Paul 55e00bf93f Make the linter happy. 2021-08-05 14:47:00 +01:00
Paul 29cc221a34 Fix elements not observing permissions. 2021-07-31 12:09:18 +01:00
Paul 719e5b4dd8 Add queued messages back.
Fix various code issues.
i18n invite menu.
2021-07-31 10:31:16 +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 c21453b281 100 error milestone.
Remove hooks completely. :)
2021-07-30 21:20:42 +01:00
Paul 3184269ba4 Start migration to revolt.js@5.0.0.
200 error milestone
2021-07-30 20:24:53 +01:00
Paul 768c80b051 Remove useServer and useServers. 2021-07-29 19:01:40 +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 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 f2a69daf03 Fix onboarding. 2021-07-25 13:55:45 +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 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 7586b365fe Format and automatically fix linted code. 2021-07-10 15:57:29 +01:00
Paul ef5944b065 Add more internal CSS variables. 2021-07-10 15:42:13 +01:00
Paul 98ea3e7af7 Modals: Add close animation. 2021-07-07 22:02:18 +01:00
Paul 9bbbf5ffc8 Show tooltip for long statuses. 2021-07-06 22:58:45 +01:00
Paul 67d3fb35a4 Format code. 2021-07-06 19:29:27 +01:00
Paul 98e0edd331 Re-write types for modal actions. 2021-07-06 11:34:36 +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
bree 002d565b3f
Improve `ImageViewer` styles 2021-07-06 03:03:05 -04:00
nizune e5b233e14e Fix: changed outlines to box-shadow 2021-07-05 21:06:08 +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
bree c194fff7fd
Resolve remaining review notes 2021-07-04 21:22:33 -04:00
bree 3c2a85a3e4
Merge branch 'master' into cleanup 2021-07-04 21:06:30 -04:00
Paul 1c80d5675f Feature: Font selector and ligature toggle. 2021-07-04 17:56:18 +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
Paul f81f7768f8 New design for server roles editor. 2021-07-03 22:17:53 +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 b0332c882b Fix profile links from user profiles. 2021-07-02 19:01:28 +01:00
Paul 73c61cd7f8 Add i18n to incoming requests.
Add icon stacking mask.
2021-07-02 18:56:00 +01:00
Paul d8e23aea12 Add pending requests menu. 2021-07-02 18:00:17 +01:00
Paul a569f41d1c Add dayjs language defaults.
Add remove / block user confirmation.
2021-07-02 14:50:24 +01:00
Paul 7982489ab6 Link to profiles from message / member sidebar. 2021-07-02 13:35:50 +01:00
nizune 4102b69ca4 Update: Changed icon pack to Boxicons 2021-06-27 12:17:59 +02:00
Paul 8a16724892 Fix: "Modify Account" did not have access to client 2021-06-26 10:34:48 +01:00
Paul 21859e4c55 Feature: Basic notification options implementation 2021-06-24 23:59:46 +01:00
Paul e03c2f88af Fix: Load Theme early for onboarding. 2021-06-24 21:07:07 +01:00