Commit Graph

50 Commits (a1cb72046cc8004f1be20a908edbd764d1399cf3)

Author SHA1 Message Date
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
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
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 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 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 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 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 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 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
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 acadd8ab17 Fix: Remove padding on user profile.
Modals: Allow all modals to be closed by ESC (permitting).
Fix: Handle closing DMs properly. Stop propagation too.
2021-06-24 16:57:12 +01:00
Paul 29bb93f399 Remove twemoji dependency.
Support re-connecting after going / starting offline.
2021-06-22 19:34:52 +01:00
Paul 22b21c030f Add animations to loaders. 2021-06-22 16:29:47 +01:00
Paul 9e460c5b3d Refactor + add message box. 2021-06-20 20:30:42 +01:00
Paul 0461c7e0dd Fix: Remove unneeded argument. 2021-06-20 17:36:20 +01:00
Paul 31d8950ea1 Port settings. 2021-06-19 22:37:12 +01:00
Paul 9706dd75f3 Port modal / popover context. 2021-06-19 18:46:05 +01:00