Commit graph

186 commits

Author SHA1 Message Date
Paul
5631ad8072 Add API URL injection back and Docker builds. 2021-08-30 15:24:15 +01:00
Paul
899593faf0 Try to bump revolt.js and preact-context-menu. I hate javascript 2021-08-18 11:17:37 +01:00
Paul
c51292722a Downgrade Vite to npm:@insertish/vite@2.4.0-beta.3-dynamic-import-css-3c1466b again. 2021-08-18 11:10:55 +01:00
Paul
cb63cf0d92 Upgrade packages but also revert preact-context-menu update. 2021-08-18 11:04:52 +01:00
Paul
d648787e8d Update Vite to 2.5.0 2021-08-18 10:51:58 +01:00
Paul
aa8095725a Update revolt.js to 5.0.1-alpha.6-patch.1 2021-08-18 10:43:15 +01:00
Martin Löffler
8825452942
Update preact-context-menu to 0.2.1
Closes #13
2021-08-18 02:01:02 +02:00
Paul
745b03452b Fix chat not scrolling to bottom when messages update. 2021-08-16 18:59:40 +01:00
Paul
4abf98adcb 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
f548d91a7c Bump revolt.js version. 2021-08-12 16:17:37 +01: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
Paul
8137409dae Fix search scroll.
Add bot badge.
2021-08-12 12:16:24 +01:00
janderedev
72ccbce765
Show member count on invite screen. Fixes #20 2021-08-12 10:45:22 +02:00
Paul
8cb02d6d34 Fix users not going offline. 2021-08-08 22:25:57 +01:00
Paul
a19ff58e12 Switch to React Virtuoso from react-window 2021-08-08 20:28:47 +01:00
Paul
8e24d1490c Virtualised sidebar test. 2021-08-08 16:17:16 +01:00
Paul
0ea80b5717 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
bb6ac68c8e Clean up system message code. Fixes #3 2021-08-07 10:32:18 +01:00
janderedev
225e14232c Update revolt.js, fixes #1 2021-08-06 14:12:59 +01:00
Paul
55e00bf93f Make the linter happy. 2021-08-05 14:47:00 +01:00
nizune
f25dae77aa Updated boxicons + small fixes 2021-08-03 17:51:35 +02:00
Paul
8872ed56b1 Fix blocked users appearing in typing indicator.
Make typing indicator time out.
2021-07-31 17:58:26 +01:00
Paul
cc444adef8 Hot fix: Fetch channels for newly found servers. 2021-07-31 16:15:01 +01:00
Paul
b95aa3391a Patch revolt.js 2021-07-31 13:56:16 +01:00
Paul
6b6279ffee Move typing indicator into revolt.js 2021-07-31 13:48:26 +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
305243ab43 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
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
3184269ba4 Start migration to revolt.js@5.0.0.
200 error milestone
2021-07-30 20:24:53 +01:00
Paul
b0681dfc99 Load member sidebar into MobX state. 2021-07-29 21:01:03 +01:00
Paul
cf3930b094 Add MobX store, create observable User. 2021-07-29 12:41:28 +01:00
Paul
a8c3482815 Temporary member nickname / role colour solution. 2021-07-25 17:52:57 +01:00
Paul
8c6947f7d4 Add category editor to servers. 2021-07-24 19:39:41 +01:00
Paul
71020e6e8c Bring back ability to edit roles on members.
Improve ban list design.
2021-07-24 18:46:33 +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
2ee3da28b9 Experiment: New search function. 2021-07-09 14:34:36 +01:00
Paul
c54fe0f1bf Feature: Add message links. 2021-07-08 22:47:56 +01:00
Paul
ce67c5acdb Update react-overlapping-panels.
Fix: bottom navigation appearing in wrong place.
Fix: Redirect to server from invite if already joined.
Fix: Use monoscape font for code textareas.
2021-07-07 13:08:39 +01:00
Paul
069a1a11ad Do cursed magic to try to fix voice. 2021-07-06 22:23:04 +01:00
Paul
1fcf4df1ed Fix: System messages would break replies.
Fix: Show correct time format on left side of messages.
2021-07-06 19:29:09 +01:00
Paul
9f85eda402 Update all packages.
Update vite fork to latest. (fixes voice)
2021-07-06 16:07:04 +01:00
Paul
ed12d5f4f9 Fix: Add bottom navigation padding to settings.
Fix: New members joining don't show.
2021-07-05 17:55:08 +01:00
insert
c4b9950514 Merge branch 'master' into 'cleanup'
# Conflicts:
#   src/components/common/LocaleSelector.tsx
2021-07-05 10:17:57 +00:00
Paul
7067627027 Fix: Add default for font combo box.
Don't pass dispatcher in, just provide it globally.
Fix: Allow clicking through to profile from server sidebar.
2021-07-05 10:59:48 +01:00
bree
e070f26bda
Update revolt.js to fix types 2021-07-04 21:09:24 -04:00
Paul
b19479f1b1 Use yarn alias to override vite binary. 2021-07-04 21:06:46 +01:00
Paul
c43aab7c7c Switch crcong's Vite fork to fix dynamic css imports. 2021-07-04 20:46:30 +01:00
Paul
1c80d5675f Feature: Font selector and ligature toggle. 2021-07-04 17:56:18 +01:00
Paul
f81f7768f8 New design for server roles editor. 2021-07-03 22:17:53 +01:00
Paul
ff21d4efa8 Add permissions / roles settings. 2021-07-01 17:36:34 +01:00
Paul
f6daa54411 Handle updates of members for permissions. 2021-06-30 20:06:42 +01:00
Paul
4501a02b5d Migrate to @tippyjs/react from react-tippy.
Fix strokes on home sidebar.
Add tooltips on servers.
Fix reply SVG direction.
2021-06-27 21:54:31 +01:00
Paul
a6ba6d5c5b Remove feather / bootstrap icons in favour of boxicons.
(This build will fail.)
2021-06-27 10:05:32 +01:00
Paul
e4786e7230 Render server categories. 2021-06-27 00:14:58 +01:00
Paul
47f6404f44 Handle permissions in message box. 2021-06-26 22:16:43 +01:00
Paul
352c0e880c Context Menus: Add "mark as unread" back.
Servers: Fix various issues relating to voice channels.
2021-06-24 13:07:55 +01:00
Paul
64682d453f Fix (edited) string on messages.
Fix build issues.
Remove mediasoup from vendor bundle.
2021-06-23 22:56:44 +01:00
Paul
11c524d6a9 Add vortex / voice client. 2021-06-23 14:52:33 +01:00
Paul
babb53c794 Add VoiceChannel support. 2021-06-23 13:52:16 +01:00
Paul
29bb93f399 Remove twemoji dependency.
Support re-connecting after going / starting offline.
2021-06-22 19:34:52 +01:00
Paul
3c8c9a672f Add support for multiple attachment upload. 2021-06-22 17:45:34 +01:00
Paul
d74bc1d8e8 Use custom service worker. 2021-06-22 14:22:35 +01:00
Paul
c52f1f5bca Show Git revision in settings. 2021-06-22 13:47:47 +01:00
Paul
0115ace3fa Port sync, queue management and notifs. 2021-06-21 13:28:26 +01:00
Paul
d0b9cf9090 Work on channels, render content of messages. 2021-06-20 17:31:53 +01:00
Paul
2acb3aeb14 Re-organise assets to be closer to their respective uses. 2021-06-20 11:05:12 +01:00
Paul
31d8950ea1 Port settings. 2021-06-19 22:37:12 +01:00
Paul
0a0c00fe58 Port friends menu over. 2021-06-19 20:00:30 +01:00
Paul
9706dd75f3 Port modal / popover context. 2021-06-19 18:46:05 +01:00
Paul
5b77ed439f Port navigation. 2021-06-19 15:29:04 +01:00
Paul
5aa8f30e14 Port and re-write icon code. 2021-06-19 12:34:53 +01:00
Paul
ec97dbebd0 Hide client behind context.
Use idb for saving data.
Allow logins.
2021-06-18 22:47:25 +01:00
Paul
68a35751b3 Port Login UI 2021-06-18 20:21:54 +01:00
Paul
aa81ebb298 Add client context. 2021-06-18 20:07:26 +01:00
Paul
e7d1ada13d Import assets and add PWA. 2021-06-18 19:25:33 +01:00
Paul
27eeb3acd2 Add Redux and reducers.
Load i18n files and add dayjs.
2021-06-18 17:57:08 +01:00
Paul
0cba2b362d Add prettier. 2021-06-18 15:57:08 +01:00
Paul
34a4bccbbe Add eslint. 2021-06-18 15:46:30 +01:00
Paul
8bb6cd456b Move UI into its own page. 2021-06-18 15:35:35 +01:00
Paul
58821476e6 Add i18n, use default imports for UI. 2021-06-18 15:18:10 +01:00
Paul
9ac2316ed0 Port over more UI elements. 2021-06-18 14:20:57 +01:00
Paul
7eee2cd7c6 Initial commit 2021-06-18 12:05:01 +01:00