Author SHA1 Message Date
Paul Makles 4d996deb1e feat: add "ordering" data store 2022-05-27 21:18:12 +01:00
Paul Makles a9e4839727 feat: finish reimplementation of server list 2022-05-27 19:57:41 +01:00
Paul Makles 959c084727 chore: server list integration test 2022-05-26 11:13:52 +01:00
Paul Makles 1e3fe45075 fix: unlink @revoltchat/ui 2022-05-25 16:47:30 +01:00
Paul Makles 9e948175b3 chore: update and add new languages 2022-05-25 16:43:59 +01:00
Paul Makles 6eee71ddab chore: add config.yml [skip ci] 2022-05-24 16:18:38 +01:00
Paul Makles 7e245df179 fix: correct naming error [skip ci] 2022-05-24 13:18:47 +01:00
Paul Makles 2e13685998 chore: add build / publish script [skip ci] 2022-05-24 13:17:30 +01:00
Paul Makles 0f3b1b0491 chore: bump language submodule 2022-05-24 12:53:51 +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 a35e68799a chore: update language submodule 2022-05-23 21:22:22 +01:00
Paul MaklesandEd L 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 0e5f64afd6 revert: "chore(deps-dev): bump prismjs from 1.24.1 to 1.27.0" (#625) 2022-05-11 12:11:13 +01:00
dependabot[bot] ee899e795c chore(deps-dev): bump prismjs from 1.24.1 to 1.27.0 (#620)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-10 12:30:36 +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 cca97f9bb9 fix: remove un-used dep 2022-05-09 22:14:13 +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 4f48e3d176 chore: remove files that are being moved [skip ci] 2022-05-08 12:53:22 +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
DaesunandPaul Makles 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 1590c5abab chore: use conventional issue title 2022-05-07 20:35:44 +01:00
Paul Makles dbbe66def6 chore: use conventional issue title 2022-05-07 20:35:35 +01:00
Paul Makles 2d5128fca8 chore: bump lang 2022-05-07 16:58:01 +01:00
Paul Makles 7ffa0744c0 fix: don't cast message.content 2022-05-07 16:55:46 +01:00
Paul Makles ce5dedcecf chore: bump revolt.js 2022-05-07 16:41:53 +01:00
Paul Makles 0818c32895 chore: add defaults 2022-05-07 15:42:00 +01:00
Paul Makles 567888a223 chore: update lang 2022-05-07 15:24:37 +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
Paul Makles b2a9cfd987 feat: "modernise" Docker image and use alpine 2022-04-29 16:17:31 +01:00
Paul Makles f3cf4f01ca chore(ci): go in the opposite direction 2022-04-29 15:49:05 +01:00
Paul Makles 37a5e3af5f chore(ci): try to fix memory issues 2022-04-29 15:32:19 +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
Omkaar 988a703837 fix: typo #570 (#576)
This commit fixes a typo.
2022-04-29 13:58:18 +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 c20f630d10 chore: bump lang submodule 2022-04-27 20:19:11 +01:00
Paul Makles d31237e9e1 chore: clean up 2022-04-27 20:18:51 +01:00
Paul Makles 890cb94acb fix: use working esm package for UI 2022-04-24 14:10:23 +01:00
Paul Makles 147880a447 chore: update README 2022-04-23 17:25:33 +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 36051b3374 chore: bump revolt.js 2022-04-21 19:14:05 +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
Paul Makles 5d4ef8b178 chore: update language definitions 2022-03-29 21:23:34 +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 OrsettiandEd L 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
Ed L c8c470d383 chore: specify yarn 1 for corepack (#551) 2022-03-29 20:47:35 +01:00
Ed L 83c9c36e16 chore: remove highlight.js, use node 16 for ci (#511) 2022-03-29 20:47:19 +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
Paul Makles 3a12f92867 fix(ci): running out of memory, need to remove ARM 2022-03-24 18:23:53 +00:00
Reinis Mazeiks e93db2345f feat: add Latvian to the language list (#556) 2022-03-16 15:00:41 +00:00
Paul Makles ce643a5a09 chore: remove commit section from template 2022-03-09 21:36:47 +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 6a465c1c08 fix: bump preact-context-menu 2022-03-05 15:06:18 +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 4692dda8f3 fix(iOS): bump preact-context-menu
closes #138
2022-03-05 12:07:13 +00:00
Paul Makles 20060a029d feat(vite): support legacy browsers 2022-03-04 23:42:20 +00:00
Paul Makles 741c937bb7 chore: add our signing key to assetlinks 2022-03-04 18:28:53 +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 27f6420da2 fix: just re-enable context menu for now 2022-01-29 10:25:57 +00:00
Paul Makles c5286071ff chore: update language definitions 2022-01-29 09:42:15 +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 a81645090e chore: update language definitions 2022-01-21 23:18:10 +00: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 3ce04f543f chore: update language definitions 2022-01-15 15:23:12 +00:00
Paul Makles dc527467d5 chore(locale): add languages (Bengali, Catalonian, Danish, Esperanto) 2022-01-15 15:23:03 +00:00
Paul Makles 45b9c355a7 chore: update language definitions 2022-01-15 14:47:41 +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
Paul Makles 56f2411652 feat(messaging): add basic support for text embeds 2022-01-15 14:11:08 +00:00
Paul Makles 4526a696c6 chore: get rid of scss warnings for snow 2022-01-15 13:49:43 +00:00
Paul Makles b5189a769f fix(build): type errors with revolt-api 2022-01-15 13:41:02 +00:00
ayntgl 2c5467c189 fix(components): convert .systemIcon to non-clickable (#498) 2022-01-15 13:37:08 +00:00
trashtemp afa76f0623 Merge branch 'master' of https://github.com/revoltchat/revite 2022-01-15 14:33:26 +01:00
trashtemp 8566cd613d fix(messagebox): fixed broken padding 2022-01-15 14:33:14 +01:00
Paul Makles e67f8f95cd fix(messaging): prevent message overlay from sticking after finishing edit 2022-01-15 13:00:27 +00:00
Paul Makles bb5f940ad1 chore: bump revolt.js 2022-01-15 12:54:18 +00:00
Paul Makles ba40da2a15 fix: don't show unread indicator on active channel 2022-01-15 12:54:18 +00:00
Paul Makles 2c8bbe7d1f feat(messaging): add message overlay logic 2022-01-15 12:54:16 +00:00
Paul Makles 7e4f4cf001 fix(messaging): hide overlay on mobile 2022-01-15 12:53:15 +00:00
Paul Makles 8bda3123da fix(unreads): allow dynamic unread changes 2022-01-15 12:53:15 +00:00
trashtemp 200db35c25 fix(msgbar): removed IconButton dependency 2022-01-15 13:33:04 +01:00
trashtemp b4555fd028 fix(import): used root path instead 2022-01-15 13:22:20 +01:00
trashtemp a3005cfcd8 fix(msgbar): use vertical dots 2022-01-15 13:16:27 +01:00
trashtemp 4a58a4082b fix(msgbar): added support for keyboard focus 2022-01-15 12:55:23 +01:00
trashtemp 79550cb2ad fix(sidebar): changed server sidebar width 2022-01-15 12:36:50 +01:00
trashtemp 8029f39c4e fix(discover): height 2022-01-15 10:56:02 +01:00
trashtemp 62335e4902 fix: added shadow on hover 2022-01-14 23:06:47 +01:00
trashtemp 0c9c712ee0 fix(msgbar): improved design, added actions 2022-01-14 22:52:19 +01:00
Paul Makles ddbef13a12 feat(tooltip): add new tooltip animation 2022-01-14 21:04:29 +00:00
f509acbe80 feat(messaging): quick action bar (#493)
Co-authored-by: Kuhn Chris <kuhnchris+github@kuhnchris.eu>
Co-authored-by: Paul Makles <paulmakles@gmail.com>
2022-01-14 21:03:52 +00:00
trashtemp fe382f9532 fix: rtl padding 2022-01-14 21:16:37 +01:00
trashtemp f01943c681 fix(typindicator): some design tweaks 2022-01-14 20:53:09 +01:00
Paul Makles 3fd56e4fdc feat: add sc minification + display class names 2022-01-14 18:51:03 +00:00
Paul Makles 8dd18c9fb4 fix: enable tooltip on status in user buttons 2022-01-14 18:51:02 +00:00
trashtemp 2dcfc340fa fix: increased margin between username and bot tag 2022-01-14 19:17:17 +01:00
trashtemp c77213f02f fix(markdown): used padding-inline-left for RTL 2022-01-14 18:43:32 +01:00
trashtemp 9c8de2b454 fix(discover): changed background color on load 2022-01-14 18:32:03 +01:00
trashtemp d6a541f380 Merge branch 'master' of https://github.com/revoltchat/revite 2022-01-14 18:14:05 +01:00
trashtemp 43c66a4e22 fix(discover): fixed discover background on load 2022-01-14 18:13:52 +01:00
Jan dd39e13623 fix: make member search case insensitive (#506) 2022-01-14 16:54:34 +00:00
Ed L 5a46c50b81 fix: properly detect ipados (#504) 2022-01-14 16:53:53 +00:00
ayntgl eea4d49743 fix(components): add padding-right to markdown code element (#499) 2022-01-14 16:49:32 +00:00
4224f83035 chore(project management): Pull Request Template (#491)
Co-authored-by: Ed L <beartechtalks@gmail.com>
Co-authored-by: Kuhn Chris <kuhnchris+github@kuhnchris.eu>
2022-01-14 16:37:40 +00:00
trashtemp 2415e98fbe fix(appearance): new strings for discover button 2022-01-14 17:16:11 +01:00
trashtemp d3ffe8e6f6 fix(sidebar): removed top margin 2022-01-14 17:04:14 +01:00
trashtemp b93f274db5 fix(embed): resolved embed width 2022-01-13 22:52:52 +01:00
trashtemp 6aaabb4815 fix(app): font sizing, better system msgs 2022-01-13 22:31:35 +01:00
Paul Makles 5a49bc7d20 fix: fix server last section state 2022-01-13 19:44:02 +00:00
trashtemp 07870c849d fix(tooltips): fixed light mode tooltip 2022-01-13 20:02:30 +01:00
trashtemp 59685a961a fix: fixed positioning 2022-01-13 20:00:53 +01:00
trashtemp a21436479c fix(mention): bolder text on mention badge 2022-01-13 19:56:49 +01:00
trashtemp 6c244d2ae7 fix(sidebar): added new settings button 2022-01-13 19:50:15 +01:00
trashtemp 8a1f20615e fix(sidebar): decreased vertical spacing 2022-01-13 19:30:42 +01:00
trashtemp a7c63c639e chore(tooltips): reworked tooltip design 2022-01-13 17:31:15 +01:00
trashtemp 3b4227d4ba fix(header): fixed comp name 2022-01-11 23:17:57 +01:00
trashtemp 3d68dab0b4 feat(search): started work on new search 2022-01-11 23:15:18 +01:00
trashtemp 7da7bc8ef7 fix(discover): fixed border radius 2022-01-11 21:26:22 +01:00
trashtemp 1cdc6b51df fix(sidebar): hide discover button on mobile 2022-01-11 21:24:02 +01:00
Paul Makles 8fcda5a6de feat: add a way to toggle offline users list 2022-01-10 23:40:47 +00:00
Paul Makles c6cc1f3672 chore: disable offline users in lounge server 2022-01-10 23:25:48 +00:00
Paul Makles af8cc984a9 fix: temporary fix for bad member list performance 2022-01-10 23:02:00 +00:00
Paul Makles 90a53452e8 fix: ignore bot and server invites in layout paths 2022-01-10 20:38:13 +00:00
Paul Makles 5768ff7c2f fix: remove theme shop from settings 2022-01-10 20:37:20 +00:00
Paul Makles 645221b384 fix(invite): fix invite embed logic 2022-01-10 20:23:06 +00:00
Paul Makles 0255c3167a feat: clean up invite bot page 2022-01-10 20:16:06 +00:00
Paul Makles bf82c24281 fix: add description to settings button 2022-01-10 20:00:29 +00:00
Paul Makles 599aab9a31 chore: update home buttons 2022-01-10 18:53:10 +00:00
Paul Makles 450b404ec5 feat: handle discover last path properly 2022-01-10 18:43:27 +00:00
Paul Makles 1d26beee10 fix: change Discover remote 2022-01-10 18:28:23 +00:00
Paul Makles 9e48c8f022 chore: update language defintions 2022-01-10 18:18:52 +00:00
Paul Makles 540c851d8f feat: full discovery integration 2022-01-10 18:18:43 +00:00
trashtemp 600ea42c0f fix(tooltip): added new tag to discover 2022-01-10 17:56:48 +01:00
trashtemp 733926dfd3 fix(discovery): added border radius 2022-01-10 10:02:17 +01:00
Paul Makles 03f44c5bed chore: bump language definitions 2022-01-10 00:57:15 +00:00
Paul Makles abecd0ec11 feat: add Revolt discover (note: has CORS issues) 2022-01-10 00:57:00 +00:00
Paul Makles 56925b3ea2 fix: use config for client in login 2022-01-08 16:51:34 +00:00
Paul Makles fc046936aa fix: use config for initial configuration fetch 2022-01-08 16:38:38 +00:00
Paul Makles 8d1e26d03e fix: fix build errors 2022-01-07 21:43:00 +00:00
Paul Makles 81af91fa1f fix: enable auto reconnect 2022-01-06 17:06:04 +00:00
Ryan AlexanderandPaul Makles cf55921077 fix: App soft crash when deleting servers (#492)
Co-authored-by: Paul Makles <paulmakles@gmail.com>
2022-01-06 10:35:07 +00:00
Paul Makles 8c1f5dfb68 chore: important fix 2022-01-05 22:58:37 +00:00
Paul Makles 188f682094 chore: add gigachad 2022-01-05 22:47:31 +00:00
Paul Makles 76c1f78ba6 chore: fix emoji path 2022-01-05 22:45:26 +00:00
Ed L 28c07e7046 meta: add issue forms (#414) 2022-01-05 21:49:09 +00:00
wefnib3rygewundib8g374vando8z e40420b7e9 chore: remove duplicate email provider (#368)
Co-authored-by: o8z <88407406+o8z@users.noreply.github.com>
2022-01-05 21:43:30 +00:00
Paul Makles e13edcbb76 fix: contain emojis; also add more 2022-01-05 15:05:29 +00:00
Ryan Alexander 6c6f6396e4 Merge pull request #487 from ryanalexander/dont-embed-discovery
fix: Don't embed discovery links
2022-01-05 17:38:03 +10:00
Ryan c28c6134c1 fix: Don't embed discovery links 2022-01-05 10:28:30 +10:00
Paul Makles 2edf122b34 fix(settings): fix mobile scrollbar padding 2022-01-04 23:11:58 +00:00
Paul Makles cad1c2fc3a chore: bump language definitions 2022-01-04 22:56:27 +00:00
Paul Makles a5a6833c2c fix: bump revolt.js and add pong timeout 2022-01-04 22:56:20 +00:00
trashtemp dfd9043ca0 fix(app): tweaked glass value for few components 2022-01-04 20:00:06 +01:00
trashtemp 62b7ba2e4d fix(settings): fixed mobile settings padding 2022-01-04 19:49:37 +01:00
Paul Makles dbf681c2e9 fix: fix again the thing above i cant be asked to write commit messages anymore 2022-01-04 15:07:46 +00:00
Paul Makles a09fbe685d fix: finally fix the members sidebar (real) 2022-01-04 15:01:53 +00:00
Paul Makles 00764b8cc3 fix(sidebar): use autorun instead of reaction 2022-01-04 14:47:39 +00:00
Paul Makles b745cdd4d7 fix: show full member list on update 2022-01-04 14:40:03 +00:00
Paul Makles 270624d5ec patch: prevent re-render on member list render 2022-01-04 14:35:08 +00:00
Paul Makles 0543e56678 fix(context menu): adjust transparency to account for Firefox 2022-01-04 14:02:07 +00:00
Paul Makles e7e8dbf23d fix: fixed jump to bottom bar positioning 2022-01-04 14:01:45 +00:00
Paul Makles 136faadcec fix: try to avoid freezing UI due to members sidebar (at least after first load) 2022-01-04 13:58:24 +00:00
Paul Makles 0609b40f81 fix: assume attachment URL is volatile 2022-01-04 13:40:52 +00:00
Paul Makles fc91a75acb fix(sidebar): don't keep refetching server members 2022-01-04 13:37:19 +00:00
Paul Makles 3baf82ca94 fix: don't assume roles exist when rendering 2022-01-04 13:35:55 +00:00
Ed L d328c9e61b feat(profile): add link to username settings (#364) 2022-01-04 13:26:42 +00:00
Paul Makles 21cd3f4558 fix: add hover effects to system message usernames
closes #411
closes #463
2022-01-04 11:12:57 +00:00
Ayyan 202a70b91f feat(UserProfile): add button to cancel outgoing friend request (#461) 2022-01-04 11:11:11 +00:00
3nt3andPaul Makles 42771f7137 feat: make kick and ban red in the context menu (#350)
Co-authored-by: Paul Makles <paulmakles@gmail.com>
2022-01-04 11:03:39 +00:00
Ryan Alexander 5735020013 feat: add markdown formatting for messages containing timestamps (#482) 2022-01-04 10:53:12 +00:00
Paul Makles 69b430d886 chore: update language definitions 2022-01-02 23:48:28 +00:00
Paul Makles c26ef4c2b2 chore: merge branch 'ui/glass-header' 2022-01-02 23:48:19 +00:00
Paul Makles f3c3017e0c fix(vite): remove "second" compression pass 2022-01-02 16:08:26 +00:00
Paul Makles 67936f53ed revert: "fix(vite): remove "second" compression pass"
This reverts commit 096e0c84c1.
2022-01-02 16:07:47 +00:00
Paul Makles 1d4eed872b chore: clean up code 2022-01-02 15:46:51 +00:00
Paul Makles 1b6275d1b5 fix(mobx): save stores on first load 2022-01-02 15:43:13 +00:00
Paul Makles d92c50fdb8 fix(mobx): ignore lack of sync object 2022-01-02 15:41:43 +00:00
Paul Makles a688063d96 feat: add better debugging flags 2022-01-02 15:33:58 +00:00
Paul Makles bdb1d939e7 chore: fix build errors 2022-01-02 13:12:22 +00:00
Paul Makles 096e0c84c1 fix(vite): remove "second" compression pass 2022-01-02 13:09:03 +00:00
insertish 668963e7a0 ci: Synced local '.github/workflows/triage_pr.yml' with remote 'workflows/triage_pr.yml' 2021-12-31 17:32:42 +00:00
insertish 0a1deb5289 ci: Synced local '.github/workflows/triage_pr.yml' with remote 'workflows/triage_pr.yml' 2021-12-31 14:50:30 +00:00
Paul Makles 73dfc0ace6 feat: add stop-gap emoji solution 😎 2021-12-31 00:49:59 +00:00
Paul Makles 7c120685d4 fix: change header borders depending on whether in server 2021-12-30 19:56:41 +00:00
Paul Makles 4773b76ea9 fix(channel header): fix action callbacks 2021-12-30 19:44:15 +00:00
Paul Makles b065fba6a4 fix: change conditions for corners on header 2021-12-30 19:14:21 +00:00
Paul Makles 85bd84713e fix: allow home button to be flush with background by removing border when not in server 2021-12-30 19:00:41 +00:00
trashtemp 504d882df8 fix(settings): removed obscure string 2021-12-30 19:53:52 +01:00
trashtemp b936d4462d Merge branch 'ui/glass-header' of https://github.com/revoltchat/revite into ui/glass-header 2021-12-30 19:42:23 +01:00
trashtemp 14ee357ac8 fix(serverlist): adjusted design 2021-12-30 19:42:12 +01:00
Paul Makles a921e8ed0d fix: apply border when sidebar collapsed 2021-12-30 18:35:13 +00:00
Paul Makles b5789126f8 chore: clean up server banner code 2021-12-30 18:27:22 +00:00
Paul Makles bad7458560 feat: provide and consume scroll offsets 2021-12-30 18:15:31 +00:00
Paul Makles 9387575372 fix(bottom navigation): change logic to avoid getting trapped in heck (friends list) 2021-12-30 18:04:47 +00:00
Paul Makles e758b23ac3 feat: implement logic for status changer in mobile settings 2021-12-30 18:04:08 +00:00
Paul Makles 66d3e7c616 fix(context menu): position above all elements 2021-12-30 17:23:24 +00:00
Paul Makles 6693f826fd fix: apply reasonable defaults to all scrollbar thumbs 2021-12-30 15:33:13 +00:00
Paul Makles 7496f484e1 fix: add template to new msg bar translation 2021-12-30 15:12:38 +00:00
trashtemp 5417632f87 fix(mobile): hide indexheader 2021-12-30 14:53:51 +01:00
trashtemp 4034e17e0d fix(mobile): cleanup 2021-12-30 14:48:13 +01:00
trashtemp bf6b996c09 fix(mobile): send button fixed 2021-12-30 14:47:32 +01:00
trashtemp b7ec4a8b78 fix(settings): scrollbar 2021-12-30 14:44:33 +01:00
trashtemp fdbd931ea7 fix(app): fixed broken scrollbar on mobile 2021-12-30 14:37:56 +01:00
trashtemp c0bf3fbc0b feat(home): added temporary text 2021-12-30 14:35:44 +01:00
trashtemp ee3f6bede7 fix(settings): fixed scrollbar for mobile 2021-12-30 14:16:31 +01:00
trashtemp 672b657f58 fix(details): fixed for glass header 2021-12-30 14:13:25 +01:00
trashtemp 675992bbc1 fix(scrollbar): fixed scrollbar 2021-12-30 14:07:41 +01:00
trashtemp fc0224562f fix(friends): fixed friends tab
* you can deny requests on mobile now
* fixed menu to work with glass header
2021-12-30 14:02:00 +01:00
trashtemp b34ed4c24c fix(friends): small fixes 2021-12-29 23:58:36 +01:00
trashtemp 9052ada1c7 chore: removed mention 2021-12-29 23:57:41 +01:00
trashtemp dec4315892 feat(emoji): added funny short codes 2021-12-29 23:04:42 +01:00
trashtemp 9c78e0912d fix(friends): fix for friends menu 2021-12-29 16:46:57 +01:00
trashtemp 086ab7b3bc fix(channel): last update before master merge 2021-12-29 16:39:35 +01:00
Paul Makles cc531705b4 feat(theme): add transparency effects toggle 2021-12-29 00:18:00 +00:00
trashtemp 5974a2b83b fix(typindicator): fixed var color 2021-12-29 00:35:26 +01:00
trashtemp 94520bf064 feat(typindicator): added glass effect 2021-12-29 00:34:02 +01:00
trashtemp 45762e4bf6 feat(contextmenu): glass effect on context menu 2021-12-29 00:10:17 +01:00
Paul Makles a4155a1153 fix: apparently fix app jumping around 2021-12-28 22:58:19 +00:00
trashtemp d20fa9e3ea fix(jumpbar): started css rewrite 2021-12-28 23:42:50 +01:00
trashtemp e4159e1c6d hotfix(jumpbar): jump bar fixed on mobile 2021-12-28 23:40:07 +01:00
Paul Makles 17a2ca773b feat: dynamically calculate header translucency and clamp minimum opacity 2021-12-28 21:59:09 +00:00
trashtemp d3b78ebc48 fix(messagebox): fixed padding on action button 2021-12-28 21:42:09 +01:00
trashtemp 03ec5275ee fix(header): padding 2021-12-28 21:04:18 +01:00
trashtemp e8784946ae chore(header): deprecated old header code 2021-12-28 20:43:42 +01:00
trashtemp 37c15eaa3e fix(header): fixed header background 2021-12-28 20:38:57 +01:00
trashtemp e814064001 fix(developer): fixed height issue in dev tab 2021-12-28 17:06:04 +01:00
trashtemp ef0644074c fix(group): fixed height in members list 2021-12-28 16:30:25 +01:00
trashtemp 614ec68622 fix(settings): added design for account header 2021-12-28 16:08:05 +01:00
Paul Makles b5077b62ff fix(invite): allow logged out users to view invites 2021-12-28 12:24:35 +00:00
trashtemp 855b3739e6 fix(homescreen): fixed height 2021-12-27 16:07:13 +01:00
trashtemp bbe1e0d178 fix(header): fixed header in settings 2021-12-27 16:05:33 +01:00
trashtemp 32182b1803 fix(settings): fixing header in mobile settings 2021-12-27 15:58:30 +01:00
trashtemp 356291cc4f fix(header): added mobile support 2021-12-27 15:48:31 +01:00
trashtemp 850d685175 fix(header): header fixes 2021-12-27 15:47:06 +01:00
trashtemp 93925834cc fix(header): header rewrite complete 2021-12-27 15:38:49 +01:00
trashtemp a396e511ec fix(header): changed class names 2021-12-27 15:15:37 +01:00
trashtemp c655a59979 fix(header): server header rewrite 2021-12-27 15:13:36 +01:00
trashtemp 3a92cf06c3 fix(header): fixed default header color 2021-12-27 15:11:37 +01:00
trashtemp 746d017142 fix(header): rewrite of server header 2021-12-27 15:10:02 +01:00
trashtemp 7241498f87 fix(header): added text overflow 2021-12-27 14:44:02 +01:00
trashtemp 2ce4136a52 fix(sidebars): fixed sidebar margins 2021-12-27 14:20:17 +01:00
Paul Makles ce3be17b74 fix(login): make login form an observer of server config 2021-12-26 23:22:15 +00:00
Paul Makles 3999dbbe66 fix: hydrating server config should always be null if not present 2021-12-26 23:12:49 +00:00
Paul Makles 336e2ddeb7 chore: allow state to be visible globally 2021-12-26 23:04:14 +00:00
trashtemp 63e52fe69c fix(friends): respect header padding 2021-12-26 23:57:09 +01:00
trashtemp 64df7edf9b fix(header): new unread bar fixed on mobile 2021-12-26 23:43:07 +01:00
trashtemp 4d59bb96b2 fix(header): fixed voice dialog 2021-12-26 23:38:01 +01:00
trashtemp 2a4d0c3311 fix(header): commented out server banner until fix 2021-12-26 23:35:05 +01:00
trashtemp 83f38d71ce feat(header): new glass header on channel view 2021-12-26 22:26:27 +01:00
Paul Makles f0c2829c58 fix: change invite routing order 2021-12-26 19:56:46 +00:00
trashtemp e20c3ee518 fix(home): fixed grid on home screen 2021-12-26 20:47:34 +01:00
trashtemp 716edb3318 feat(servers): added new icons to server sidebar 2021-12-26 20:28:48 +01:00
Paul 5797eb3686 fix(home / seasonal): correctly read state 2021-12-26 15:04:35 +00:00
Paul bb707fb287 fix(settings): persist false-y values 2021-12-26 15:03:44 +00:00
Paul 301070a3cb fix(reply): mention toggle would not persist 2021-12-26 15:00:50 +00:00
Paul 5737b32271 fix(mobx): use correct key for saving sync options 2021-12-26 14:45:18 +00:00
Paul d73772929d feat(native): overlay titlebar on login srceen 2021-12-25 23:38:21 +00:00
Paul 84c5c3abe9 chore: bump language definitions 2021-12-25 23:18:56 +00:00
Paul Makles e4440f127a feat(login): new login screen design #466 2021-12-25 23:18:37 +00:00
Paul 55930d30e3 chore: pre-merge submodule update 2021-12-25 23:17:59 +00:00
trashtemp ba82ff9f39 feat(login): animated hand wave 2021-12-25 22:48:00 +01:00
Paul 1b644d450d fix: allow invite screen to properly load while signed out 2021-12-25 20:43:54 +00:00
trashtemp d439d63a91 fix(login): remove bold text 2021-12-25 21:29:44 +01:00
trashtemp 029bff3d68 fix(login): added polish 2021-12-25 21:21:29 +01:00
Paul 7f586e6f8c chore: bump revolt.js to fix issue 2021-12-25 20:12:51 +00:00
trashtemp b14ea73663 fix(login): general cleanup 2021-12-25 20:51:11 +01:00
trashtemp 68e83a4e47 fix(login): added accent color links 2021-12-25 19:59:30 +01:00
trashtemp a07a17d892 fix(login): finished new login screen 2021-12-25 19:48:48 +01:00
Paul 896cc13812 fix: verification / password reset broken
force create new client
2021-12-25 16:44:29 +00:00
Paul a23230850a feat(error): add button to reset app data 2021-12-25 16:41:57 +00:00
Paul 064f223c78 fix: catch errors from redux migration 2021-12-25 16:37:39 +00:00
Paul 028a8660c1 feat: handle errors for message renderer separately 2021-12-25 16:03:05 +00:00
Paul c96b09bb81 fix: pre-emptive render without valid user 2021-12-25 15:56:47 +00:00
Paul b7429e47b0 chore: update language definitions 2021-12-25 15:42:59 +00:00
Paul 318177b414 fix: don't fail if channel is null on reply 2021-12-25 15:42:13 +00:00
trashtemp 7844c84fbe fix(login): changed logo back to wideSVG 2021-12-25 16:40:27 +01:00
trashtemp 5c59f187bd feat(login): new login screen design 2021-12-25 16:01:19 +01:00
Paul b955f2820c fix: hide new message bar on jump to bottom 2021-12-25 14:49:31 +00:00
Paul de1b947b7d feat: add global error handling and reporting 2021-12-25 14:32:28 +00:00
Paul 56126fa303 fix: handle invalid channels even when sidebar is closed 2021-12-25 13:20:20 +00:00
Paul d7f52fb6f4 fix(sidebar): force open on mobile devices 2021-12-25 11:00:51 +00:00
Paul 8a0033699d chore(dev): setup chrome user data directory 2021-12-25 10:37:48 +00:00
trashtemp d1e1449f99 fix(channel): mobile jump bar fixed 2021-12-25 11:33:30 +01:00
trashtemp 7e02979560 fix(channel): jump to beginning bar 2021-12-25 11:20:44 +01:00
Paul 56ab2a2917 feat(sidebar): show DMs under home button 2021-12-24 23:53:26 +00:00
trashtemp 3b3ec69edd fix(header): fixed icons cutting off in header 2021-12-25 00:47:42 +01:00
trashtemp 6b11248364 fix(servers): fixed server text font size 2021-12-25 00:01:15 +01:00
trashtemp 245c7a46ed fix(settings): more work on server settings pages 2021-12-24 23:27:35 +01:00
trashtemp 9b4619cbd1 fix(settings): improved server settings tabs 2021-12-24 22:54:46 +01:00
Paul 5169066772 chore: bump revolt.js to fix bug with empty servers 2021-12-24 20:44:24 +00:00
trashtemp 6bed278fe8 chore(settings): added new translation strings 2021-12-24 21:22:01 +01:00
trashtemp 73b6da4e1e fix(channel): added string to new message bar 2021-12-24 19:01:55 +01:00
trashtemp c53f74abbf fix(modals): fixed design of modals 2021-12-24 18:55:39 +01:00
trashtemp 18f7f91ff0 fix(settings): more settings fixes pt. 2 2021-12-24 18:36:40 +01:00
Paul af3eb754f7 feat(messaging): hide new message bar on esc or sent message 2021-12-24 17:20:05 +00:00
Paul b2c24d33ed fix: make the create group button do the correct thing 2021-12-24 17:15:39 +00:00
trashtemp bdc84b1d98 fix(settings): started settings cleanup 2021-12-24 17:39:25 +01:00
Paul 739dd53637 fix: add margin to theme selector 2021-12-24 15:51:11 +00:00
Paul c64906051d fix: hide new messages bar on click 2021-12-24 14:49:21 +00:00
Paul f1a9c889b8 fix(messaging): only show date if date changes 2021-12-24 14:41:33 +00:00
Paul 3b6519c530 fix: use contrasting colour for new message divider 2021-12-24 14:35:37 +00:00
Paul 3d723574f4 feat(messaging): show last read message divider 2021-12-24 14:32:04 +00:00
Paul 46c652d54c chore: update language definitions 2021-12-24 14:15:56 +00:00
Paul fee56d8f54 chore: clean up contrasting colours code 2021-12-24 14:13:10 +00:00
Paul a46fbcf409 feat(sidebar): change swoosh colour depending on sidebar collapse 2021-12-24 13:06:52 +00:00
Paul d8d002cc4a feat(header): add chevron / unified sidebar collapse 2021-12-24 13:02:49 +00:00
Paul e263b627aa fix(settings): display index header only on mobile and show user 2021-12-24 12:45:28 +00:00
Paul 63164fe2d0 feat(theme): add toggle for seasonal theme 2021-12-24 12:41:07 +00:00
Paul 5029d0ac86 fix: avoid writing mobx data to localforage 2021-12-24 12:06:11 +00:00
Paul 189d0b5ff9 fix(mobx): properly persist login state 2021-12-24 12:00:24 +00:00
Paul ef1ddb7771 chore: bump language defintions 2021-12-24 11:46:12 +00:00
Paul e380534d2a Merge branch 'mobx' 2021-12-24 11:45:49 +00:00
Paul c31bcd0200 fix(auth): block render while logging in 2021-12-24 11:32:59 +00:00
Paul 74430b1a8f feat(mobx): migrate legacy data 2021-12-24 11:19:02 +00:00
Paul e89bbb7455 feat(mobx): add sync back (do not look at the code) 2021-12-24 02:05:18 +00:00
Paul cc0e45526c feat(mobx): refactor and remove (react-)redux 2021-12-23 21:43:11 +00:00
Paul 6e1bcab92b feat(mobx): migrate unreads to revolt.js 2021-12-23 19:37:19 +00:00
trashtemp cc76e78db8 fix(settings): started work on settings cleanup 2021-12-23 17:35:58 +00:00
trashtemp d2d7083542 fix(home,settings): updated homepage, settings
* new home screen
* cleaned up settings
2021-12-23 17:29:35 +00:00
Paul 73d99e4518 feat(home): add snow 2021-12-23 13:16:43 +00:00
Paul 136238f62e chore: exclude revolt.js from pre bundling 2021-12-23 12:21:00 +00:00
Paul f14ef2b78f chore: pull languages 2021-12-22 22:11:32 +00:00
Paul 4719150368 feat(renderer): add additional languages to cb
Closes #28
2021-12-22 22:11:25 +00:00
Paul 3d73834bef fix(server settings): unrestrict height 2021-12-22 10:36:23 +00:00
Paul Makles 1aff8ef516 chore(ci): only mirror master and production 2021-12-21 17:50:46 +00:00
Paul Makles b80a6a9c3e chore(ci): remove preview PR workflow (#452) 2021-12-21 17:50:08 +00:00
Paul Makles 1780d06c97 chore(ci): triage PR on synchronize 2021-12-21 17:47:14 +00:00
Paul Makles c29efc155b chore(ci): update CI tasks to move PRs when updated 2021-12-21 17:37:59 +00:00
Paul 71c0a782c1 fix(notifications): use effective name and avatar for notif 2021-12-21 12:38:53 +00:00
Paul f7be9df980 chore(mobx): add legacy redux migations 2021-12-21 12:31:14 +00:00
trashtemp 8eabc47915 fix(profile): finished modal design 2021-12-21 13:26:47 +01:00
trashtemp 9ab7e5718f fix(profile): fixed status label alignment 2021-12-21 12:20:33 +01:00
Paul 3be5307340 chore: hide badge editor 2021-12-21 11:14:47 +00:00
Paul 256a9650b2 feat(profile): add "add to server" button for bots 2021-12-21 10:44:14 +00:00
Paul 9415c2b5d8 chore(settings): add dummy element for index 2021-12-20 21:07:20 +00:00
Paul Maklesandtrashtemp 6e4c4f3ae2 fix(ui): fixes for mobile UI, settings and sessions pages (#451)
Co-authored-by: trashtemp <96388163+trashtemp@users.noreply.github.com>
2021-12-20 20:48:37 +00:00
Paul Makles e7459790c5 chore(ci): bump Docker image to node v16 2021-12-20 20:48:27 +00:00
trashtemp 27bc4e74b9 fix: fixed channel sidebar on mobile 2021-12-20 14:56:37 +01:00
Paul Maklesandtrashtemp 9298f205fc feat(settings): UI improvements (#448)
* Fixed CSS for Settings.tsx + new Theme Shop design

* reformat

* More changes to UI CSS

* Small CSS fixes for Settings.tsx, Account, Bots

* Updated theme shop, settings pages, cleanup

* chore: force sync language submodule

* fix(sidebar): prevent items from shrinking

* fix(push): fix timestamp and icon for push notifications

* fix(voice): hide grant permission button after grant

* chore: hide new shop / chevron before merge

* chore(ci): bump node to v16 in dockerfile

* fix(sidebar): change width of channel sidebar

Co-authored-by: trashtemp <96388163+trashtemp@users.noreply.github.com>
2021-12-20 13:37:21 +00:00
Paul Makles 68578d2620 feat(mobx): start work on migrations 2021-12-20 12:01:45 +00:00
Ed L 535a40df0c fix: make the autocompletor actually run when editing messages (#445) 2021-12-20 11:31:33 +00:00
Paul Makles 89dda8fe82 feat(mobx): migrate trusted links 2021-12-17 10:20:55 +00:00
Paul Makles 120e6a35d8 feat(mobx): migrate audio settings 2021-12-16 22:05:31 +00:00
Paul c7df0088fc feat(mobx): rewrite appearance menu 2021-12-15 18:23:05 +00:00
Paul Makles 65be047dc6 feat(mobx): continue implementing themes; performance work on settings 2021-12-13 17:27:30 +00:00
Paul Makles bd4369cf29 feat(mobx): start implementing theme store 2021-12-13 17:27:06 +00:00
Paul 26a34032f9 feat(mobx): start work on settings store 2021-12-12 23:55:58 +00:00
Paul fef2c5997f chore(mobx): write jsdoc for auth / mqueue 2021-12-12 15:47:15 +00:00
Paul faca4ac32b feat(mobx): add message queue store 2021-12-12 15:33:47 +00:00
Paul ec83230c59 chore(mobx): write jsdoc for notif opt. 2021-12-12 12:26:45 +00:00
Paul 413bf6949b feat(mobx): server notification options + data store 2021-12-11 23:34:46 +00:00
Paul f8b8d96d3d feat(mobx): migrate auth and config 2021-12-11 21:04:12 +00:00
David Roth 91f6947634 fix(docker): fix vite-plugin-pwa failing on build #416 (#443) 2021-12-11 19:42:03 +00:00
Paul bc799931a8 feat(mobx): add persistence 2021-12-11 16:24:23 +00:00
Paul 2b55770ecc chore(mobx): refactor into interfaces 2021-12-11 14:36:26 +00:00
Paul a8491267a4 feat(mobx): add layout (paths + sections) 2021-12-11 14:34:12 +00:00
Paul f87ecfcbd7 feat(mobx): add experiments store 2021-12-11 13:23:01 +00:00
Paul 830b24a393 chore(mobx): clean up documentation 2021-12-11 12:08:43 +00:00
Paul 49f45aa5aa chore(mobx): remove extra util class 2021-12-11 11:59:26 +00:00
Paul b36cde771e feat(mobx): expose application state to window 2021-12-11 11:58:07 +00:00
Paul 87a9841885 feat(mobx): implement locale options 2021-12-11 11:56:33 +00:00
Paul Makles 89748d7044 feat(mobx): start working on notif options, create blank files 2021-12-10 17:00:34 +00:00
Paul Makles 185f76d850 feat(mobx): write experiments, lastOpened and localeOptions stores 2021-12-10 13:55:05 +00:00
Paul Makles 5a41c25e3c feat(mobx): add drafts and state context 2021-12-10 12:53:41 +00:00
Paul Makles 66bfc658c3 chore: notes 2021-12-08 20:42:20 +00:00
Paul Makles 3a093018eb feat(i18n): add 3 languages 2021-12-07 16:44:17 +00:00
Ed L d8f48743b3 fix: make the category name input use --font (#413) 2021-11-22 22:13:48 +00:00
Paul 657e9eb04e feat(push): read URL from notification
also matches fix on delta, closes #410
2021-11-20 12:53:35 +00:00
Paul 6748ec9295 chore: bump vite to 2.6.14 2021-11-20 11:55:05 +00:00
An00nymushun 1983155486 fix(ui): flicker on modal close (#407) 2021-11-18 20:36:24 +00:00
Paul e5a11a2f1e fix: prevent overscroll
fixes #367
2021-11-14 23:02:51 +00:00
Paul 67834309b1 fix: use masquerade everywhere applicable
fixes #400
2021-11-14 19:53:50 +00:00
Paul fb1de01edd fix: remove removed messages from reply bar
fixes #71
fixes #143
2021-11-14 19:30:41 +00:00
Paul 74e786053e fix: scroll to top in settings
fixes #108
2021-11-14 19:18:37 +00:00
Paul b2a222d7e8 fix: prevent native settings being opened on non-native
fixes #344
2021-11-14 18:51:19 +00:00
Paul b938f6620b fix: prevent reply overflow
fixes #399
2021-11-14 18:46:46 +00:00
Paul 374f5d1747 fix: accent buttons and allow selection of back
fixes #398
fixes #397
2021-11-14 18:29:46 +00:00
Ed L 94fb1c6d71 fix: censor the whole email (#374) 2021-11-14 14:26:35 +00:00
Paul 8664cda744 feat: add moderation badge 2021-11-13 23:11:40 +00:00
Paul f467349083 feat: add new badges 2021-11-13 22:55:41 +00:00
Ed LandPaul Makles 50e1aa0dff feat: add delete server button to server settings (#373)
Co-authored-by: Paul Makles <paulmakles@gmail.com>
2021-11-12 22:24:30 +00:00
tbodt 31d90481c2 chore: rename the string for previewing the profile page (#390) 2021-11-12 22:21:35 +00:00
Steveplays bef24b7cdd fix: added hover event to overline + removed context menu (#393) 2021-11-12 20:20:50 +00:00
insertish 594693f8d7 ci: Synced local '.github/workflows/triage_pr.yml' with remote 'workflows/triage_pr.yml' 2021-11-11 20:08:36 +00:00
insertish 11b164c3f5 ci: Created local '.github/workflows/triage_pr.yml' from remote 'workflows/triage_pr.yml' 2021-11-11 19:09:01 +00:00
insertish 8a2e36ffb4 ci: Synced local '.github/workflows/triage_issue.yml' with remote 'workflows/triage_issue.yml' 2021-11-11 19:01:54 +00:00
Paul Maklesandweb-flow 931dc4b693 ci: update global workflows (#392)
Co-authored-by: web-flow <noreply@github.com>
2021-11-11 18:35:11 +00:00
Paul Makles 5b6c1050ad chore: add quick start instructions 2021-11-11 16:41:55 +00:00
Paul 3cf8c64d7c fix(markdown): enable linkify, disable fuzzyLink 2021-11-04 21:04:44 +00:00
Paul d82573b5fc feat(messaging): render masqueraded messages 2021-11-04 20:55:26 +00:00
Paul 7e7f9d0f23 chore(markdown): disable linkify 2021-11-04 14:35:41 +00:00
Paul 112a6f5497 fix(markdown): fix line breaks
fixes #214
2021-11-04 14:33:59 +00:00
Paul 20590641bc fix(sidebar): handle channel as muted if 'none' 2021-11-04 13:42:46 +00:00
Paul 3d5df68771 chore: bump languages and generate yarn.lock 2021-10-31 22:47:50 +00:00
Ed L 893cd6b4cc feat(i18n): translate home buttons and server tooltips (#361) 2021-10-31 22:42:40 +00:00
bree 1800aace43 feat: require at least two characters to autocomplete emoji (#298) 2021-10-31 22:36:38 +00:00
David EpelyandPaul Makles 3ef3f84877 fix(settings): close microphone access navigating away from page (#219)
Co-authored-by: Paul Makles <paulmakles@gmail.com>
2021-10-31 21:52:20 +00:00
appare d5c8749b80 feat(settings): prompt for audio access from button (#263) 2021-10-31 21:40:04 +00:00
3nt3 b09ccd90ba fix: add context menu to individual attachments if > 1 attached (#348) 2021-10-31 21:25:33 +00:00
megumin aa13e9d96f fix: Correct grammar in bot invite screen (#237) 2021-10-31 21:12:26 +00:00
RigidStudios 856bbb598c fix: muted channels no longer have new messages badge (#297) 2021-10-31 21:10:42 +00:00
Sirawit Thaya e12869fbe4 feat: Theme shop link on appearance rewrites history
#245
2021-10-31 21:07:49 +00:00
o8z eab5c299a8 feat(login): add more email providers (#363) 2021-10-31 18:17:12 +00:00
Marie c4881db86c feat: handle nsfw flag & added monospace font (#258) 2021-10-31 17:57:35 +00:00
Paul Makles 3b843dbfad Merge pull request #296 from quuu/category_name_fix 2021-10-31 17:54:06 +00:00
Paul cda1465f35 chore(languages): add Belarusian (be) to Revolt
#362
2021-10-31 17:44:49 +00:00
Paul dafdf24300 chore(languages): Change Tamil flag.
Closes #352
2021-10-31 17:36:26 +00:00
Paul ef05a5993c chore(submodule): pull in latest language changes 2021-10-31 16:48:23 +00:00
Paul Makles 92597ab1cd Merge pull request #360 from revoltchat/rework/categories-kanban 2021-10-31 16:38:10 +00:00
Paul f97925073a feat(rbd): transform rbd types to Preact from React 2021-10-31 16:04:37 +00:00
Paul Makles 7ab8632bd0 Merge pull request #359 from 3nt3/master 2021-10-31 09:59:08 +00:00
Paul c208064d2c feat(categories): include uncategorised channels; add category / channel; delete category 2021-10-30 19:38:18 +01:00
Paul bb5509f660 feat(categories): autosave category changes 2021-10-30 18:20:12 +01:00
Paul Makles ae2efcd9c6 Merge pull request #266 from brecert/fix-265 2021-10-30 15:55:34 +00:00
3nt3 d78640ed48 Merge branch 'master' of github.com:3nt3/revite 2021-10-30 04:20:30 +02:00
3nt3 81cd821601 Fix icloud address from mail.aol.com to mail.icloud.com
Fixes #325

Signed-off-by: 3nt3 <gott@3nt3.de>
2021-10-30 04:19:37 +02:00
Paul da47348273 feat(categories): basic dnd kanban board 2021-10-27 23:25:08 +01:00
Paul Makles 314ecee95c Start implementing kanban view. 2021-10-27 20:28:26 +01:00
Paul bcfc2336a4 fix(asset): wrong path specified for wideSVG 2021-10-23 16:57:07 +01:00
Paul 6e3905eb0f fix(asset): wideSVG is refusing to exist, use legacy loading mechanism 2021-10-23 16:42:04 +01:00
Paul 6595b7687a fix(assets): missed 1 space 2021-10-23 16:04:23 +01:00
Paul d8f2cac171 feat(assets): pull specific branch for assets if specified 2021-10-23 16:00:20 +01:00
Paul 5e0c8e0444 fix(assets): remove duplicate, fix wideSVG 2021-10-23 15:48:35 +01:00
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 195a9bda35 Fix(voice): Voice UI would not react to actions.
Feat(voice): Allow accessing user profile from voice UI.

Fixes #89. Fixes #91.
2021-10-20 22:39:26 +01:00
Paul d6169f3c3a Consider channel overrides for perms, fixes #334. 2021-10-10 19:44:05 +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 26277dc0ce Merge 220 commits for translations. 2021-10-10 16:14:08 +01:00
Paul 14e749b65b Mark link as trusted when opening, fixes #331. 2021-10-10 16:11:43 +01:00
Paul Makles 40d95025b5 Merge pull request #320 from Snazzah/patch-2 2021-10-10 15:06:14 +01:00
Paul Makles 148c0edcbf Merge pull request #268 from brecert/fix-198 2021-10-09 23:45:52 +01:00
Paul Makles a04c68f5e8 Merge pull request #267 from brecert/fix-196 2021-10-09 23:44:36 +01:00
Paul Makles 90bd92e0ef Merge pull request #328 from f3rr31/patch-1 2021-10-09 23:08:39 +01:00
f3rr31 e996e0b25d Spelling error fix for Magyar at line #104
Changed Magyar to magyar at line #104. Magyar is magyar (small caps) in Hungarian; same as with Estonian (eesti) and Finnish (suomi).
2021-10-10 00:02:17 +02:00
Snazzah b0d6d62371 Add HEY to mail providers 2021-10-02 22:55:50 -05:00
Paul Makles 6c2f76debc Remove conditional workflow run since it just doesn't work. 2021-09-30 10:47:24 +00:00
Paul Makles 22516992a6 Update mirroring.yml 2021-09-30 10:46:08 +00:00
Paul 920f78b650 Virtualise server settings user lists. Closes #300 2021-09-25 14:43:28 +01:00
Paul 81379d6ec4 Explicitly deny bad URLs.
Fixes #252.
Handle embed untrusted links better.
2021-09-25 10:54:32 +01:00
Paul Makles 66289911ba Merge pull request #294 from RigidStudios/fixroles 2021-09-24 15:39:04 +01:00
Paul Makles 4dda7f12db Merge pull request #215 from Snazzah/bots-token 2021-09-24 15:35:26 +01:00
Paul Makles 44b02fecb0 Merge pull request #260 from brecert/profile-fix 2021-09-24 15:34:45 +01:00
Paul Makles 8c23b309d9 Merge pull request #287 from RigidStudios/startnotes 2021-09-24 14:25:49 +01:00
Paul Makles e9a88bc31c Merge pull request #278 from TaiAurori/master 2021-09-24 13:59:57 +01:00
Paul Makles 6407f3b924 Merge pull request #257 from brecert/no-send-composing 2021-09-24 13:16:57 +01:00
Andrew Qu 25bc0c1ea3 fixed name 2021-09-23 22:35:17 -07:00
RigidStudios d1b686945a Revert "ConversationStart changed for notes/normal channel"
This reverts commit 74297085d7.
2021-09-23 23:11:38 +04:00
RigidStudios 7af2bce00e Revert "don't change onboarding on this pr"
This reverts commit 416cc0a991.
2021-09-23 23:11:33 +04:00
RigidStudios 8ac7403522 Prettier, Fix no role refresh 2021-09-23 23:08:28 +04:00
Paul Makles db111bfc01 Merge pull request #262 from Mysterious-Dev/gitignore 2021-09-23 17:48:55 +01:00
Paul Makles 6e47863c7c Merge pull request #283 from RigidStudios/onboardinglb 2021-09-23 17:07:52 +01:00
RigidStudios 416cc0a991 don't change onboarding on this pr 2021-09-23 00:00:38 +04:00
RigidStudios 74297085d7 ConversationStart changed for notes/normal channel 2021-09-22 23:59:22 +04:00
RigidStudios 75704773af Add linebreak before logo 2021-09-22 18:04:45 +04:00
TaiAurori 21122583aa singular form of "members" when only one member 2021-09-21 14:41:57 -04:00
TaiAurori f7f101f7b2 move imports 2021-09-21 14:13:41 -04:00
TaiAurori 3d5c7ab9ce invite embed tweaks 2021-09-21 14:02:38 -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
brecert 51092db01b Change UserHover to use global identity instead of server
- fixes #196
2021-09-19 03:42:01 -04:00
brecert abe2e2db40 Fix send message related context menu options when unable to send messages
- fixes `reply` and `quote message` from appearing in the context menus for messages when unable to send messages.
- fixes #265
2021-09-19 00:47:01 -04:00
Mysterious_Dev 77249b7a25 Gitignore 2021-09-18 12:20:47 +02:00
brecert 945e072327 Fixes background not updating on profile
- fixes #110
2021-09-17 19:44:19 -04:00
Paul Makles 3b9916c072 Merge pull request #259 from brecert/theme-fix 2021-09-17 22:38:20 +01:00
brecert 63479737a8 Fix trying to in undefined for themes 2021-09-17 17:30:14 -04:00
brecert 5b16977b0e Fix enter key sending message while still composing 2021-09-17 17:20:22 -04:00
Paul Makles 2ff9c91287 Merge pull request #251 from brecert/actions-demo-test 2021-09-17 09:40:23 +01:00
Paul 51f23f5aa0 Include noreferrer on embed links / window.open. 2021-09-17 09:37:07 +01:00
brecert f01eb1d70f Add commit messages 2021-09-16 16:38:18 -04:00
Paul d5430a7920 Use server configuration for voso websocket. 2021-09-16 10:27:33 +01:00
Paul Makles 0494f0647a Create SECURITY.md 2021-09-15 16:49:13 +00:00
Paul 1614d7a739 Fix overflow on home tab. 2021-09-15 14:53:40 +01:00
Paul Makles 7d5911c96d Merge pull request #240 from nerrixDE/master 2021-09-15 14:48:55 +01:00
brecert d123c5c44d Fix push issues for cleanup by removing single-commit
- note: in the future, `JamesIves/github-pages-deploy-action@4.1.5` may need to be replaced or supplemented by git commands to fully reset the preview branch so that images and builds do not linger and take up storage for too long
2021-09-14 19:21:55 -04:00
brecert 2e8c3aa242 Make BASE in cleanup relative 2021-09-14 18:58:57 -04:00
Snazzah bf7fd14fb7 Use 5 dots 2021-09-14 17:54:17 -05:00
Paul 4b8ad44aa9 Fix unreads and mark as read. 2021-09-14 21:09:42 +01:00
Paul Makles fc03336ea3 Merge pull request #225 from brecert/theme_shop
Fix theme shop themes not applying as a base
2021-09-14 20:39:28 +01:00
Nerrix afbd513fb8 Link revolt.social for server & bot discovery 2021-09-14 19:06:34 +02:00
Paul 75ee61525f Bump revolt.js to include rate limiter.
Handle new server flags.
Show server ping in developer tab.
2021-09-14 17:18:44 +01:00
Paul Makles ffb0443bf6 Merge pull request #208 from goaaats/feat/no_channels_design 2021-09-14 15:42:46 +01:00
Paul 857e6e4d54 Merge incoming translations. (103 commits) 2021-09-14 15:42:15 +01:00
Paul cc45b9e255 Simplify how last message is handled. 2021-09-14 15:07:42 +01:00
brecert ba2d0dd6d1 Fix wrong folder 2021-09-14 01:48:28 -04:00
brecert 44b1e2a079 Fix not cding into the folder 2021-09-14 01:37:37 -04:00
brecert 450789fafe Merge install and build together 2021-09-14 01:30:52 -04:00
brecert 785badae6e Fix env location 2021-09-14 01:16:31 -04:00
brecert aaac315736 Fix shell not being included for build action 2021-09-14 01:10:57 -04:00
brecert f554687878 Fix build being build_preview 2021-09-14 00:51:27 -04:00
brecert f584819a16 Fix secret not needing to be interpolated 2021-09-14 00:44:46 -04:00
brecert 628bf52ff3 Use ignored paths for pull_request events as well 2021-09-14 00:27:30 -04:00
brecert cdf900d08b Change docker workflow to exclude preview workflows
- changed the docker workflow to exclude preview workflows from causing the docker workflow to run again
2021-09-14 00:26:18 -04:00
brecert 951a773b2c Change mirror to only run if a key is set 2021-09-14 00:22:16 -04:00
brecert 12547ba0fe Improve preview cleanup interpolation 2021-09-14 00:03:58 -04:00
brecert f28fd40a78 Add support for external repositories with pull request previews 2021-09-13 23:54:39 -04:00
Paul 45c7cd0307 Fix inaccessible invite page / reset page / verify page when logged in. 2021-09-13 17:22:17 +01:00
Paul 52875ab197 Fix change email / password. 2021-09-13 16:41:47 +01:00
Paul Makles 8da6f87efb Merge pull request #216 from gregorypappas/dominant-baseline 2021-09-12 00:28:23 +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 Makles 4c5504cea8 Merge pull request #224 from brecert/misc-fixes 2021-09-11 23:52:15 +01:00
Paul Makles d09de028b3 Merge pull request #222 from brecert/actions-demo 2021-09-11 23:51:28 +01:00
brecert 537f9b1596 Fix theme shop themes not applying as a base
- [#217] fixed theme shop themes not applying as a base
- added `themes` state path to store themes locally at
2021-09-11 15:40:14 -04:00
Paul 5b422b89e3 Migrate to rAuth v1. 2021-09-11 17:36:23 +01:00
brecert 806e3108cb Improve reply mention styling
- [#220] reply mention now uses translations
- reply mention styling improved
  - `@` fits better
  - `min-width: 6ch` is used to remove shifting between `on` and `off` lengths, mostly for the english `on/off` but could be modified to work with any language in the future.
2021-09-11 11:53:50 -04: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
brecert 4a5d78d909 Use single-commit for build-previews 2021-09-11 10:12:14 -04:00
brecert 9bd31c4c7e Use base url for building actions 2021-09-10 18:03:06 -04:00
brecert 08e226cd0c Disable yarn check temporarily 2021-09-10 14:59:37 -04:00
brecert 28df14b734 Add pull request preview actions 2021-09-10 14:48:48 -04:00
Gregory Pappas ee97e9bc0f FIx ping counter alignment in Firefox but actually
This property isn't transformed into kebab-case due to a bug in Preact.
2021-09-10 06:52:05 -05:00
Snazzah 5f68a5c831 Remove bots token dots 2021-09-10 05:09:26 +00:00
Paul a4138b52b0 Update translations. 2021-09-09 23:19:20 +01:00
Paul 0daaeef9d4 Update Typescript to 4.4.2.
Fix issues associated with new version.
2021-09-09 23:02:47 +01:00
Paul Makles 7bd6348e9d Merge pull request #211 from iamdey/fix_settings_audio 2021-09-09 22:56:53 +01:00
Paul 4f8cae961b Bump revolt-api 2021-09-09 22:55:02 +01:00
Paul Makles 633933fb48 Merge pull request #203 from goaaats/fix/youtube_timestamp
Append youtube timestamp to embed url if provided by january
2021-09-09 22:53:36 +01:00
Paul 048267b419 Remove stray console.log and update translations.
Update themes endpoint and filter unmatched commits.
2021-09-09 22:39:17 +01:00
Paul Makles efbbb6f1aa Merge pull request #199 from brecert/mentions-methods 2021-09-09 22:00:03 +01:00
Paul Makles 99116981ab Merge pull request #188 from brecert/theme_shop 2021-09-09 21:58:13 +01:00
Paul Makles 0acfd23334 Merge pull request #190 from leodr/settings-category-alignment
Add padding to settings category titles to align the visually with icons
2021-09-09 21:08:13 +01:00
Paul Makles d7e245ba58 Merge pull request #192 from goaaats/fix/filter_alt_lang
Filter "alt" languages when selecting based on navigator
2021-09-09 21:07:50 +01:00
Paul Makles 9b4f91dde5 Merge pull request #194 from gregorypappas/patch-1
Fix ping count alignment in Firefox
2021-09-09 21:07:40 +01:00
Paul Makles f4b54c2f64 Merge pull request #210 from goaaats/fix/empty_invite_redirect 2021-09-09 21:06:27 +01:00
Paul Makles 2b3ff50b33 Merge pull request #178 from Snazzah/patch-1 2021-09-09 21:04:58 +01:00
Paul Makles 6930e0eb40 Merge pull request #180 from Snazzah/invite-count 2021-09-09 21:04:43 +01:00
Paul Makles c38bd702b7 Merge pull request #184 from Rexogamer/master 2021-09-09 21:04:26 +01:00
Paul Makles 3c487cd2a6 Merge pull request #185 from zaxutic/monospace-font 2021-09-09 21:04:05 +01:00
Paul Makles da7a27f325 Merge pull request #179 from Snazzah/server-identity-revamp 2021-09-09 21:03:43 +01:00
Paul Makles ee1f37abbc Merge pull request #189 from AirTMZ/patch-1
Update Locale.tsx language selection from Japan -> Japanese
2021-09-09 21:03:03 +01:00
Paul Makles 01b6c292ee Merge pull request #202 from brecert/hide-channels 2021-09-09 20:55:41 +01:00
Paul Makles f925479121 Merge pull request #206 from goaaats/fix/default_channel 2021-09-09 20:53:15 +01:00
Paul Makles 932756d7c7 Merge pull request #204 from Snazzah/bots-banner-and-info
Add banner and info box to bots page
2021-09-09 20:49:54 +01:00
Paul Makles 4bf3140f22 Merge pull request #209 from brecert/image-fixes 2021-09-09 20:43:26 +01:00
Paul Makles 5f233249ef Merge pull request #181 from Snazzah/samsung-icon-session 2021-09-09 20:35:32 +01:00
David Epely cd7c612058 [settings][audio] fix labels of microphone selection
- ask user for microphone permission (prompt).
- handle error when permission is blocked.
- Suggest retry if the permission is still not set and no prompt.
2021-09-08 22:57:13 +02:00
goat 8185b59771 fix: redirect to / on empty invites 2021-09-08 19:35:53 +02:00
brecert 999fc5b639 Fix major image bugs for chrome 93+
- fixed major bugs for chrome 93+ at the cost of minor issues that may appear (unsure, did not find any in testing)
- position scaled image to the left for firefox (firefox aspect-ratio still does not scale correctly)
- added `--width` and `--height` to the `Grid` for theme creators who may want to use such information easily
2021-09-08 07:01:11 -04:00
Snazzah 0dfeb7b421 Merge remote-tracking branch 'origin' into samsung-icon-session 2021-09-08 08:42:26 +00:00
goat 87d1391e1b feat: add channel placeholder 2021-09-08 02:40:57 +02:00
goat 3b77628f9f feat: use channel component for server route 2021-09-08 02:36:31 +02:00
goat a32a7d409f remove unused import 2021-09-07 21:42:32 +02:00
goat 55a7b00954 fix: choose the first channel in the server if none is selected 2021-09-07 21:40:46 +02:00
Snazzah b9330f559c Add banner and info box to bots page 2021-09-07 17:51:44 +00:00
goat 64f1cc5e4a fix: append youtube timestamp to embed url if provided by january 2021-09-07 17:36:33 +02:00
brecert 04158302ac Remove the ability to hide the channel sidebar on mobile 2021-09-07 10:57:40 -04:00
brecert ed56967e10 Add the ability to hide the channel sidebar
(the left one)
2021-09-07 10:51:46 -04:00
brecert f35ebeab67 Add shift+click to channel links 2021-09-07 09:26:12 -04:00
brecert a308e6ecb8 Add shift+click to mention mentions 2021-09-07 09:09:12 -04:00
brecert b166b06321 Change mention to channel mention 2021-09-07 08:58:39 -04:00
brecert dd9b486dab Add shift+click to link to a channel in the textarea 2021-09-07 08:34:40 -04:00
brecert 2966e77917 Add shift+click to mention a user in the textarea 2021-09-07 08:14:22 -04:00
brecert 28b2d8dcab Improve accessibility and styling of theme shop 2021-09-07 06:31:49 -04:00
brecert 068540d366 Make theme shop hidden an experiment 2021-09-07 05:27:51 -04:00
Gregory Pappas 00d4d975cf Fix ping count alignment in Firefox 2021-09-07 02:13:15 -05:00
brecert d7f08449cb Minor style improvements 2021-09-07 02:47:12 -04:00
goat ef1a6a4454 fix: filter alt langs when selecting by navigator 2021-09-07 01:31:16 +02:00
Leo Driesch c520fbf59a Add padding to settings category titles to align the visually with icons 2021-09-06 20:26:15 +02:00
AirTMZ d6b3456129 Update Locale.tsx 2021-09-06 16:10:11 +01:00
brecert 6a32e451ac Use VITE_THEMES_URL for the default theme manifest
- typed `ImportMeta` to have `env`
2021-09-06 06:38:53 -04:00
brecert 6d85c9b725 Add under construction warning for the theme shop 2021-09-06 06:24:01 -04:00
brecert 414dcd51c0 Add base theme shop implementation and pane
- added theme shop settings pane
- added `generateVariables` for themes
- added `preview.svg` for previewing themes until a proper solution is made
2021-09-06 06:02:30 -04:00
Michael Vo 8603a390c0 Use monospace font for Theme Overrides code section 2021-09-05 16:16:20 +10:00
Ed L 46831314d1 add tooltip/help icon for bot id 2021-09-04 23:34:44 +01:00
Paul 4787a2166f Update submodule origin. 2021-09-04 22:50:03 +01:00
Snazzah 20bcc96ab3 Add Samsung Browser Icon to Sessions 2021-09-04 14:59:56 +00:00
Paul bd3678f515 Add Enchantment Table. 2021-09-04 15:50:58 +01:00
Paul eea13a30b8 Fix .env.build values. 2021-09-03 22:59:04 +01:00
Paul fc633ee017 All need to include sirv-cli. 2021-09-03 21:36:18 +01:00
Snazzah 2b84850891 Format member count in invites 2021-09-03 18:34:16 +00:00
Paul 2c27044900 Fix Docker builds. 2021-09-03 19:27:39 +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 Makles 240a60919a Merge pull request #167 from KeepSOBP/patch-1 2021-09-03 13:12:26 +01:00
Paul Makles 831f691cda Merge pull request #171 from Rexogamer/preview-padding 2021-09-03 13:05:20 +01:00
Paul 2ccc0b7b5e Change invite rendering logic.
Handle link warnings on embeds.
Remove "EDIT!!" 🙏🙏🙏
2021-09-03 13:04:37 +01:00
Paul Makles 571b30243c Merge pull request #169 from TaiAurori/master 2021-09-03 11:29:46 +01:00
Paul 9adad4a4ab Fix issues introduced by #162.
Switch to more consistent naming scheme.
2021-09-03 11:21:51 +01:00
Paul Makles 966daa6c78 Merge pull request #158 from Snazzah/trusted-links 2021-09-03 11:18:16 +01:00
Paul 60cbc7c9da Add i18n to invalid invite screen. 2021-09-03 11:16:37 +01:00
Paul 57ecf4638e Merge branch 'master' of https://github.com/revoltchat/revite 2021-09-03 11:15:07 +01:00
Paul Makles 4fec0f78cb Merge pull request #161 from Bawbby/master
Clean up invalid invite page.
2021-09-03 11:14:22 +01:00
Paul Makles 5abe90583a Merge pull request #177 from yannickfunk/push-notifications
Parse Web Push notifications
2021-09-03 11:08:14 +01:00
Paul 71ffad9adf Format code for MyBots.tsx, fix i18n and make buttons less aggressive. 2021-09-03 11:07:58 +01:00
Paul Makles 8ad1130a00 Merge pull request #159 from Snazzah/bots-look-cool 2021-09-03 11:04:53 +01:00
Paul Makles 57def75734 Merge pull request #162 from LambdAurora/contextual_border_radius_variables
Introduce new border radius variables for stable theming.
2021-09-03 11:01:30 +01:00
Paul Makles 3aa90ab570 Merge branch 'master' into contextual_border_radius_variables 2021-09-03 11:01:19 +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
Ryan Alexander a08ad7aa0b Rename "ios" & "fxios" to "Safari" and "Firefox" for browser name (#119) 2021-09-03 09:35:02 +00:00
Paul c302eade17 Update source links from GitLab to GitHub. 2021-09-03 10:30:27 +01:00
Paul a387d3c6ae Use variables for scrollbar width.
Update language definitions.
2021-09-03 10:17:42 +01:00
Yannick Funk 591df837d5 Parse push notification packet of client 2021-09-02 23:24:22 +02:00
KeepSOBP d47827b9d0 Refactor all 2021-09-02 11:35:37 +09:00
Ed L 978f21f04d increase padding for profile preview 2021-09-01 17:02:37 +01:00
TaiAurori 2f950aab53 add visible joining indicator 2021-08-31 21:37:42 +00:00
TaiAurori a10e5100d3 add proper placeholder for invalid invite 2021-08-31 21:22:19 +00:00
TaiAurori f9bb332605 reindent 2021-08-31 20:45:01 +00:00
TaiAurori 0b0d1186eb invite embeds 2: electric boogaloo 2021-08-31 20:30:02 +00: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 3ad20d6e96 fix typing errors 2021-08-31 15:37:34 +00:00
KeepSOBP 6836380721 Support multiple architectures for docker
* add github container registry 
* refactor!
2021-08-31 21:51:55 +09:00
Snazzah 4bdc29c9d6 remove under construction tip 2021-08-31 04:51:13 +00:00
Snazzah 8ea0615600 update strings and style 2021-08-31 04:50:48 +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 d2740f2844 error handling & styling 2021-08-31 03:23:07 +00:00
Snazzah a76d992db1 Add "add bot" button 2021-08-31 02:33:36 +00:00
Snazzah 430714e816 Bot avatar uploading 2021-08-31 01:42:50 +00:00
TaiAurori 2e9a76519e Merge branch 'master' of https://github.com/TaiAurori/revite 2021-08-30 18:24:35 -04:00
TaiAurori 3d1ee73032 invite embeds preview 2021-08-30 18:21:49 -04:00
LambdAurora 1d42f0a60a Introduce new border radius variables for stable theming. 2021-08-30 23:39:02 +02:00
Bawbby 3046e413cd Clean up invalid invite page.
- Make it look like a valid invite page.
- Add arrow to go back to home.
2021-08-30 17:11:04 -04:00
Snazzah 3678a32d95 Add bot editing 2021-08-30 19:10:55 +00:00
Paul d368820aeb Add CTRL + ENTER to force send message.
Fix: cursor jumping to the end of message area.
Fix: inconsistent message send button on mobile.
2021-08-30 18:01:32 +01:00
Snazzah 86027f7b3d Initial bot page stylings 2021-08-30 16:18:42 +00:00
Paul 3628aeffdd Select the correct repository. 2021-08-30 16:51:06 +01:00
Paul 4e3e57a7c9 Fix issues introduced in new Typescript version. 2021-08-30 16:45:23 +01:00
Paul dac6f3dbba Clone submodules for Docker builds. 2021-08-30 16:25:45 +01:00
Paul b364fe50f6 Make Typescript happy, testing CI build.
Adjust language names.
2021-08-30 16:08:22 +01:00
Paul 17c09baf89 Try to automate Docker builds. 2021-08-30 15:45:18 +01:00
Paul 5631ad8072 Add API URL injection back and Docker builds. 2021-08-30 15:24:15 +01:00
Snazzah d8465b1aae Add trusted link handling in renderer/prompt 2021-08-30 14:08:13 +00:00
Paul 2a2f711eb5 Fix Korean language name. 2021-08-30 15:01:15 +01:00
Snazzah 4c34787ef3 Add trusted links to state 2021-08-30 13:07:35 +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
Paul 44fdee1214 Add new languages: et, fil, ga, ja, ko, lb, ms, nb_NO, sk, sl, ta, vi. 2021-08-30 13:13:15 +01:00
Paul ea2e6ada82 Merge branch 'master' of https://github.com/revoltchat/revite 2021-08-30 12:35:14 +01:00
Paul 3443565265 Fix observer on Profile pane. 2021-08-30 12:35:12 +01:00
Paul Makles d4ea64af42 Merge pull request #154 from Snazzah/pr/editbox
Bump message editor rows to 10
2021-08-30 12:19:47 +01:00
Paul Makles 43010b3b72 Merge pull request #151 from ryanalexander/count-direct-messages
Treat direct messages as mention, group behavior is the same
2021-08-30 12:19:29 +01:00
Paul Makles 8d7a05f667 Merge pull request #155 from Snazzah/pr/mail-provider
Update Mail Providers
2021-08-30 12:18:41 +01:00
Paul Makles 912071db3e Merge pull request #150 from ryanalexander/external-link-prompt 2021-08-30 12:17:16 +01:00
Snazzah ed53cebc01 Update Mail Providers 2021-08-30 05:38:59 +00:00
Snazzah 8a3f0a6629 Bump message editor rows to 10 2021-08-30 05:03:22 +00:00
Ryan Alexander f3786e473b Treat direct messages as mention, group behaviour is the same 2021-08-29 10:29:58 +10: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
Paul Makles 5c5c9c7d22 Merge pull request #132 from flaree/handle-subdomains 2021-08-26 17:48:28 +01:00
Paul Makles 6e1545412b Merge pull request #131 from ryanalexander/new-voice-interface 2021-08-23 13:31:07 +01:00
Ryan Alexander dfae11c204 Update UserIcon.tsx 2021-08-23 22:28:49 +10:00
Zomatree 5a716fb1d6 color -> colour 2021-08-23 12:45:12 +01:00
Jamie 2d3afdaa83 fix indentation 2021-08-23 04:42:18 -07:00
Jamie c4b881a525 Update Renderer.tsx 2021-08-23 04:38:21 -07:00
Ryan Alexander 5be8e60b45 Prevent granting permissions you don't have 2021-08-23 12:32:44 +01:00
Ryan Alexander c02c4a63fa Only display TextChannels as option for SystemMessage channels 2021-08-23 12:11:19 +01:00
Ryan Alexander a6846192de Add audio tab and ability to change audio input device 2021-08-23 11:57:46 +01:00
Kamil G 6842bdc4a5 remove search from experiments 2021-08-23 11:52:13 +01:00
Jamie 852cc22dc2 Update Renderer.tsx 2021-08-22 04:31:48 -07:00
Jamie 5c01944cfb Handle subdomains on URLs 2021-08-22 03:39:30 -07:00
Ryan Alexander af691be15c Update Overview.tsx 2021-08-22 12:26:56 +10:00
Ryan Alexander f27a07a2da Update Settings.tsx 2021-08-22 12:26:29 +10:00
Ryan Alexander 04e42ae1c2 Delete Privacy.tsx 2021-08-22 12:26:01 +10:00
Ryan Alexander ccda5e8609 Add deafen button 2021-08-22 12:22:44 +10:00
Paul db43c02e01 Changes for #88
Fix tooltip foreground.
Change light mode foreground colours.
Update ::selection styles.
2021-08-19 14:50:00 +01:00
Paul Makles 762cad1614 Merge pull request #93 from ryanalexander/patch-4 2021-08-19 13:49:27 +01:00
Ryan Alexander b60d590385 Update Appearance.tsx 2021-08-19 00:05:23 +10:00
Paul 2341408557 Fix unresolved import for system user ID. 2021-08-18 11:31:25 +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
Ryan Alexander 98d1f06ce6 Update Appearance.tsx 2021-08-18 10:11:17 +10:00
Martin Löffler 8825452942 Update preact-context-menu to 0.2.1
Closes #13
2021-08-18 02:01:02 +02:00
Paul Makles fe24b28bee Merge pull request #104 from ryanalexander/patch-5 2021-08-18 00:59:13 +01:00
Ryan Alexander 993b85843b Update ServerHeader.tsx 2021-08-18 09:58:49 +10:00
Paul Makles 468350b36c Merge pull request #98 from fatalerrorcoded/master 2021-08-18 00:58:45 +01:00
Paul Makles ae22c344a1 Merge pull request #87 from ryanalexander/context-categories 2021-08-18 00:58:06 +01:00
Ryan Alexander cfc55a4a9d Delete verified.svg 2021-08-18 09:57:50 +10:00
Ryan Alexander 62ad6ca7d9 Delete revolt_r.svg 2021-08-18 09:57:44 +10:00
Ryan Alexander 70c66f40df Add files via upload 2021-08-18 09:57:33 +10:00
Ryan Alexander f6b206b74d Add files via upload 2021-08-18 09:57:01 +10:00
Paul b8c345f493 Add max length to message box. 2021-08-18 00:55:36 +01:00
Ryan Alexander 3d31a6c8f9 Update ServerHeader.tsx 2021-08-18 09:06:57 +10:00
Ryan Alexander a164cd4016 Add files via upload 2021-08-18 09:06:27 +10:00
Ryan Alexander 7806ece660 Verified badge 2021-08-18 08:55:39 +10:00
Ryan Alexander cefeebb4d2 Added verified server badge for any servers created by insert 2021-08-18 08:54:55 +10:00
Ryan Alexander dccc0f4eb7 Update Prompt.tsx 2021-08-18 06:28:18 +10:00
Paul 69cd410aff Fix home tab item width on Firefox.
Fix inability to leave server, for #95.
Add warning to invite bot.
2021-08-17 20:47:44 +01:00
Paul 5bfba2d7cf Show friend request count in indicator. Fixes #96 2021-08-17 20:05:21 +01:00
Martin Löffler 5ab1773f01 Moved reply mention disable into internal event handler 2021-08-17 20:52:16 +02:00
Martin Löffler 29ed48fa70 Disable mention behavior on self-replies 2021-08-17 17:29:25 +02:00
Martin Löffler b01a3c5554 Hide reply mention button from current user 2021-08-17 17:20:53 +02:00
Paul Makles ca6bdd332e Merge pull request #90 from ryanalexander/patch-3 2021-08-17 15:33:47 +01:00
Paul e12efe3533 Improve Home design. 2021-08-17 13:52:02 +01:00
Ryan Alexander 457097ade4 Lowered contrast threshold 2021-08-17 19:33:09 +10:00
Ryan Alexander 5ad4485c64 Transparent will now fallback to the contrasting colour of background
https://github.com/revoltchat/revite/issues/88
2021-08-17 19:30:41 +10:00
Ryan Alexander 66e946f0fc Centered mention count + Fixed file formatting for last commit 2021-08-17 17:19:29 +10:00
Ryan Alexander 49d54ee05a Added create category context menu when right clicking in channel list 2021-08-17 06:31:25 +10:00
Paul 745b03452b Fix chat not scrolling to bottom when messages update. 2021-08-16 18:59:40 +01:00
Paul d13b5e812d Add leet speak to languages menu. 2021-08-16 18:16:49 +01:00
Paul 1f2e58b10e Include @ symbol when reply is a mention. 2021-08-16 18:08:44 +01:00
Paul b4f16f0d00 Handle role hoisting / ranking.
Closes #76 and closes #75.
2021-08-16 17:02:24 +01:00
Paul 72e9cda844 Attempt to fix attachments not showing up on Samsung Internet. 2021-08-16 15:16:54 +01:00
Paul Makles dcb038f986 Merge pull request #83 from ryanalexander/patch-1
Update ContextMenus.tsx
2021-08-15 23:03:17 +01:00
Ryan Alexander 30448ce5a0 Update ContextMenus.tsx
Add Create Invite button to server context menu
2021-08-16 08:00:53 +10:00
Paul 8ba5c13cfc Fix Revolt on WebKit browsers. 2021-08-15 22:58:16 +01:00
Paul Makles 8ca83ad95d Merge pull request #80 from ryanalexander/patch-1 2021-08-15 20:26:06 +01:00
Ryan Alexander 44521716c6 Update ServerListSidebar.tsx 2021-08-16 05:24:37 +10:00
Ryan Alexander 8124119e73 Update ServerListSidebar.tsx 2021-08-16 05:17:21 +10:00
Paul Makles c99c3ffc35 Merge pull request #79 from ryanalexander/master 2021-08-15 19:29:42 +01:00
Ryan Alexander 9ec2fa54af Removed css changes to appearance tab text 2021-08-16 04:14:39 +10:00
Ryan Alexander 07061c4af1 Update Appearance.tsx 2021-08-16 04:14:10 +10:00
Paul Makles a17487606f Merge pull request #70 from MichailiK/feature/message/image-loading-background 2021-08-15 18:04:24 +01:00
Paul d72adacb24 Fix search not working on mobile. 2021-08-15 18:01:25 +01:00
Michaili K 88c9775e23 Create separate ImageFile component for image attachments 2021-08-15 18:53:42 +02:00
Paul Makles 24050a8e05 Merge pull request #74 from ryanalexander/patch-1 2021-08-15 16:59:17 +01:00
Ryan Alexander a6c788f469 Used global language file for text 2021-08-16 01:57:33 +10:00
Ryan Alexander 3e3c490a22 Add Tooltip to settings icon 2021-08-16 01:40:58 +10:00
Paul 5dbee0c42a oops uh this should be 50% 2021-08-15 15:48:45 +01:00
Paul Makles a2bc3b8188 Merge pull request #72 from ryanalexander/patch-2 2021-08-15 15:40:18 +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
Paul Makles ff9545ba2f Merge pull request #66 from janderedev/pr-6 2021-08-15 14:52:12 +01:00
Paul Makles c0c0c267f4 Merge pull request #67 from ashishcas/fixing-border-radius 2021-08-15 14:50:43 +01:00
Paul c2485f2a78 Add Thai and Bulgarian. 2021-08-15 14:16:36 +01:00
Michaili K 1b4d1e73df Add (basic implementation of) background for loading images 2021-08-15 12:59:00 +02: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 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 8609a1f016 Try optimise members list. 2021-08-13 22:31:28 +01:00
janderedev 3e1c8c862a Merge branch 'master' of https://github.com/revoltchat/revite into pr-6 2021-08-13 15:54:14 +02:00
Paul 40d0421fa2 Fix inviting bots to servers. 2021-08-12 22:27:14 +01:00
janderedev dfed9515d1 fix regex, add * and empty text matchers 2021-08-12 23:17:52 +02:00
janderedev 82d3dd3c7b Scroll to bottom after sed editing message 2021-08-12 22:54:54 +02:00
Paul Makles 4d9c324326 Merge pull request #60 from janderedev/pr-5 2021-08-12 21:39:23 +01:00
janderedev 60947b71ed Merge branch 'master' of https://github.com/revoltchat/revite into pr-6 2021-08-12 22:29:41 +02:00
janderedev 884402e62a sed replacement in message box. 2021-08-12 22:21:37 +02:00
Paul 4ac3165bdc Remove logs. 2021-08-12 19:51: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 f548d91a7c Bump revolt.js version. 2021-08-12 16:17:37 +01:00
Paul 01cdce492e Add bot invite menu. 2021-08-12 16:07:41 +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 3cc7caefd1 Update translations 2021-08-12 12:46:29 +02:00
Paul Makles 65d44c72bd Merge pull request #59 from janderedev/pr-4 2021-08-12 11:33:44 +01:00
janderedev 1c3d76d45f Added mutual servers tab on user profile 2021-08-12 12:32:56 +02:00
janderedev 72ccbce765 Show member count on invite screen. Fixes #20 2021-08-12 10:45:22 +02:00
Paul Makles a944ed5040 Merge pull request #58 from brecert/master
fix image overflow on older browsers
2021-08-11 13:44:38 +01:00
Paul d912e7209f Small fixes for search. 2021-08-11 13:32:31 +01:00
brecert 6f99af6527 fix image overflow on older browsers 2021-08-10 05:48:26 -04:00
Paul 7a80c0edb5 Add search back. 2021-08-09 17:34:25 +01: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 c8b5753211 Anchor scroll to bottom when switching channels. 2021-08-08 23:01:47 +01:00
Paul 8cb02d6d34 Fix users not going offline. 2021-08-08 22:25:57 +01:00
Paul d5b0d8d9cf Display all server roles separately. 2021-08-08 21:50:29 +01:00
Paul a19ff58e12 Switch to React Virtuoso from react-window 2021-08-08 20:28:47 +01:00
Paul a3e2ed3b94 Revert typing indicator changes. 2021-08-08 18:46:27 +01:00
Paul add94d59ff Temporarily remove TextReact. 2021-08-08 18:40:25 +01:00
Paul db8dedd3a7 Merge branch 'master' of https://github.com/revoltchat/revite 2021-08-08 18:26:28 +01:00
Paul 5c45e29f92 Improve category design for members list.
Implement new list for groups.
2021-08-08 18:26:16 +01:00
Paul Makles 56caaa75b9 Merge pull request #49 from infi/master
Improve Readme to new format, closes #45
2021-08-08 17:35:47 +01:00
Paul f2c59ae451 Style categories. 2021-08-08 17:18:58 +01:00
Paul 8e24d1490c Virtualised sidebar test. 2021-08-08 16:17:16 +01:00
Paul 17f68088d1 Show server identity in message replies and typing indicator.
Revert reply connector temporarily.
2021-08-08 10:16:48 +01:00
Paul ef1eb74486 Don't show server mark as read on channels. 2021-08-07 23:04:44 +01:00
Paul 4f1ba8942f Add server avatars. Closes #52
Add identity edit menu. Closes #51
2021-08-07 22:42:15 +01:00
Paul 97816e1feb Add max-width to settings sidebar. 2021-08-07 21:24:28 +01:00
Infi 318b4b2608 Improve Readme to new format, closes #45 2021-08-07 22:23:50 +02:00
Paul 7c7f813118 Scroll to last position when re-opening a chat. 2021-08-07 20:53:17 +01:00
Paul 1f903cd56b Manage state per channel. Closes #2 2021-08-07 20:43:08 +01:00
Paul 7d76a657fa Fix new state updates. 2021-08-07 16:55:14 +01:00
Paul 4ec1ff5c59 Re-write voice context. Working towards #21 2021-08-07 16:15:55 +01:00
Paul 0fe154c651 Fix voice and abnormal CPU usage. 2021-08-07 14:13:05 +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 2f06112921 Add a way to copy message links.
Remove focus from auto complete after click, fixes #12.
2021-08-07 10:52:22 +01:00
Paul bb6ac68c8e Clean up system message code. Fixes #3 2021-08-07 10:32:18 +01:00
Paul Makles 64cfb1f233 Merge pull request #46 from infi/master
Add system message icons. Closes #10
2021-08-07 09:08:41 +01:00
Infi 34e8d54512 Add system message icons. Closes #10 2021-08-07 00:34:57 +02:00
Paul 25615cc16d Bump lang. 2021-08-06 21:16:25 +01:00
Paul Makles 6320eb3253 Merge pull request #44 from janderedev/pr-3 2021-08-06 21:13:14 +01:00
janderedev fbdbf5d0bc Fix issues with language detection 2021-08-06 22:12:10 +02:00
Paul 7e1698cc79 Refresh the feedback menu. 2021-08-06 21:07:11 +01:00
janderedev 735e9b7f5e Display the system language first. Fixes #4 2021-08-06 20:48:10 +02:00
Paul 973d8adbed Add GitHub links to feedback page. 2021-08-06 18:57:39 +01:00
Paul Makles cbc5ce9008 Create main.yml 2021-08-06 16:58:31 +00:00
Paul Makles ae7101a673 Merge pull request #18 from brecert/image-embed-scaling
Improve image embed scaling.
2021-08-06 17:42:32 +01:00
brecert 144a63a5c8 Improve image embed scaling.
- fixes #15
2021-08-06 12:39:23 -04:00
Paul Makles 0d732ededb Merge pull request #17 from janderedev/pr-2
ESC now removes the last attachment. Fixes #16
2021-08-06 17:11:06 +01:00
janderedev cae3b68c7f ESC now removes the last attachment. Fixes #16 2021-08-06 18:07:11 +02:00
Paul Makles 8d65e1ee11 Merge pull request #14 from janderedev/pr-1 2021-08-06 14:48:15 +01:00
janderedev 1e25821816 Esc now removes the last reply, fixes #7 2021-08-06 15:40:32 +02:00
janderedev 225e14232c Update revolt.js, fixes #1 2021-08-06 14:12:59 +01:00
janderedev fee3c97e1f Update revolt.js, fixes #1 2021-08-06 14:59:34 +02:00
nizune 1ac5de173b final commit 2021-08-06 09:31:25 +02:00
Paul d841b9e3cd Fix profiles not loading. 2021-08-05 23:25:49 +01:00
insert 2847318294 Update .gitlab-ci.yml file 2021-08-05 20:19:15 +01:00
Paul 1e7600e867 Fix settings. 2021-08-05 20:19:02 +01:00
Paul 7b45205e01 Format code. 2021-08-05 14:47:20 +01:00
Paul 55e00bf93f Make the linter happy. 2021-08-05 14:47:00 +01:00
nizune 5930415c05 Fixed RTL issue with replies 2021-08-05 12:01:31 +02:00
nizune 123dc6bbfc New look to replies 2021-08-05 11:54:32 +02:00
Paul f2cf3559db Add Toki Pona SVG. 2021-08-04 19:22:13 +01:00
nizune fcbd0019a0 Settings account page done 2021-08-04 20:00:30 +02:00
nizune 7a8b12e15c Fixed sent attachments code 2021-08-04 19:59:29 +02:00
nizune 95a149407b Continue work on category buttons 2021-08-04 18:33:01 +02:00
Paul 0aa18d22e9 Remove buttons on Account page. 2021-08-04 16:43:08 +01:00
Paul b648a7b9ac Large desc option. 2021-08-04 16:17:56 +01:00
Paul fe75f5a6ca Add i18n to replies.
Add Fluent design category button.
Update Account page with new design.
2021-08-04 16:03:38 +01:00
Paul 8cc92e0c42 Start work on fluent categories.
Fix Locale loading when syncing invalid lang.
2021-08-04 14:31:55 +01:00
nizune c93f0245f1 Fixed message replies + refined account settings 2021-08-04 14:48:33 +02:00
nizune 1504f307fc Changed Reply bar structure 2021-08-04 14:01:24 +02:00
Paul 184663a3ac Categorise constructed languages. 2021-08-04 12:31:51 +01:00
nizune 6d8a8e14dd Added constructed languages category 2021-08-04 13:29:12 +02:00
nizune 5c9b3a1c86 Finished account settings 2021-08-04 12:56:59 +02:00
Paul 90c46155e4 Add hide email button.
Add device name for Revolt Desktop.
Add Italian and Toki Pona.
2021-08-04 11:40:58 +01:00
nizune 0884df407e Changed button look to plain in account settings 2021-08-04 12:22:48 +02:00
nizune 73c4bf34d6 Changed design of account settings 2021-08-04 12:21:29 +02:00
nizune 907e11bd5e Small fixes to account settings 2021-08-04 11:51:53 +02:00
nizune 3887029f66 Fixed scrollbar out of place in settings menu 2021-08-04 10:49:45 +02:00
nizune c72df91e3d Cleaned up desktop settings 2021-08-04 10:01:17 +02:00
nizuneandinfi f5e2779983 Added detection for multiple attachments.
Co-authored-by: infi <insrt-git@geist.ga>
2021-08-03 22:42:06 +02:00
Paul 4c4477e79e Add new native options. 2021-08-03 20:04:46 +01:00
nizune f4b04635de Fixed titlebar 2021-08-03 19:30:35 +02:00
nizune 85879faf7b Fixed titlebar 2021-08-03 19:28:22 +02:00
nizune f25dae77aa Updated boxicons + small fixes 2021-08-03 17:51:35 +02:00
nizune a10646888f Finished cleaning up User Settings CSS 2021-08-03 17:07:02 +02:00
Paul e1ffefe2ba Hover animation for home button.
Fix svg alignment in foreign objects.
2021-08-03 15:37:19 +01:00
nizune 9581a4df92 Refreshed languages menu in settings 2021-08-03 11:51:40 +02:00
Paul 0139a91882 Add donation button to home page. 2021-08-02 22:03:59 +01:00
Paul 38dd135f67 Open settings when clicking top left on desktop. 2021-08-02 21:36:49 +01:00
nizune df39b1fc2b Cleaned up CSS for settings page 2021-08-02 17:55:49 +02:00
nizune 03f572f365 More settings fixes + clamped long usernames 2021-08-02 17:25:39 +02:00
nizune 2f563ef726 More work on settings panel 2021-08-02 16:21:16 +02:00
Paul f465a8d81f Trick Facebook container extension to disable tracking warning, see issue https://github.com/mozilla/contain-facebook/issues/783 2021-08-02 13:14:10 +01:00
Paul 61680fe386 Merge branch 'master' of https://gitlab.insrt.uk/revolt/revite 2021-08-02 13:13:12 +01:00
nizune 4a248ffa5b Started work on redoing settings structure 2021-08-02 14:09:54 +02:00
Paul 44b5725793 Disallow text selection in messages on mobile. 2021-08-02 13:06:18 +01:00
nizune ab54afc1e0 Small update for desktop app 2021-08-02 12:22:39 +02:00
nizune 12047ba944 New server sidebar swoosh 2021-08-02 10:57:17 +02:00
nizune f71b8e82eb Merge branch 'master' of https://gitlab.insrt.uk/revolt/revite 2021-08-02 10:30:05 +02:00
Paul ed826cf1bb Add settings closing animation. 2021-08-01 21:55:13 +01:00
Paul fd010ed75e Closing animation for settings. 2021-08-01 21:08:42 +01:00
nizune f1966b4560 Cleaned up titlebar look 2021-08-01 20:40:02 +01:00
nizune 11c766511a Changed titlebar icons 2021-08-01 20:40:02 +01:00
Paul d6e32fe8dc Move titlebar. 2021-08-01 20:40:02 +01:00
Paul 591d21c28b Don't show tooltip / hover when no update. 2021-08-01 20:40:02 +01:00
Paul 33baf90d34 Fix iOS touch. 2021-08-01 20:29:36 +01:00
nizune 05f2994a19 Cleaned up titlebar look 2021-08-01 20:41:53 +02:00
nizune 0add738df3 Changed titlebar icons 2021-08-01 19:29:27 +02:00
Paul 0c0dac598e Move titlebar. 2021-08-01 18:11:18 +01:00
Paul 60d09ce747 Don't show tooltip / hover when no update. 2021-08-01 17:56:38 +01:00
Paul 796dc467b8 Move update indicator to titlebar on desktop. 2021-08-01 17:52:44 +01:00
nizune 6baaccd70d Added update button to titlebar 2021-08-01 18:35:10 +02:00
nizune f1626b9c99 Added fixes to electron titlebar 2021-08-01 18:17:22 +02:00
Paul 4ae0dc6935 Improve titlebar design. 2021-08-01 16:44:51 +01:00
Paul 31636d569c Improved native options. 2021-08-01 14:22:08 +01:00
Paul 63d2d1b760 Fix message links from search. 2021-07-31 22:39:15 +01:00
Paul 8872ed56b1 Fix blocked users appearing in typing indicator.
Make typing indicator time out.
2021-07-31 17:58:26 +01:00
Paul 76478f67be Fix notifications not opening server. 2021-07-31 17:00:50 +01:00
Paul 9bb9d1fa1e Add nicknames + role colours back. 2021-07-31 16:59:37 +01:00
Paul cc444adef8 Hot fix: Fetch channels for newly found servers. 2021-07-31 16:15:01 +01:00
Paul 909985b47d Fix message links redirecting to home page. 2021-07-31 15:11:58 +01:00
Paul b95aa3391a Patch revolt.js 2021-07-31 13:56:16 +01:00
Paul 5eed9ecc5e Fix message links from replies. 2021-07-31 13:50:29 +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 463aa79356 Remove strict on KaTeX, change error. 2021-07-31 11:04:31 +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 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 564c1d8494 Completely remove all references to Username. 2021-07-29 21:47:45 +01:00
Paul 0397700b88 Try reverting change to typing indicator. 2021-07-29 21:43:04 +01:00
Paul 6531486636 Handle additional side effects from events. 2021-07-29 21:23:06 +01:00
Paul b0681dfc99 Load member sidebar into MobX state. 2021-07-29 21:01:03 +01:00
Paul b06729d0b3 Handle all packets. 2021-07-29 20:39:58 +01:00
Paul d5cd45196e Clean up code. 2021-07-29 20:11:50 +01:00
Paul 768c80b051 Remove useServer and useServers. 2021-07-29 19:01:40 +01:00
Paul bde9a2e8f7 Remove useChannels.
Add servers to MobX.
2021-07-29 18:49:49 +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 748713be53 Fix: Should use observer not observable. 2021-07-29 16:08:35 +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 cf3930b094 Add MobX store, create observable User. 2021-07-29 12:41:28 +01:00
Paul 781fa5de10 Attempt to fix no permission on server. 2021-07-28 17:55:53 +01:00
Paul 25fa375ce0 Fix typing indicator. 2021-07-28 14:04:27 +01:00
Paul 98f9672801 Show nickname / role colour in typing indicator.
Try to fix voice context.
2021-07-27 11:45:45 +01:00
Paul a8c3482815 Temporary member nickname / role colour solution. 2021-07-25 17:52:57 +01:00
Paul e61c647fda Update donation link.
Add settings tip to home page.
2021-07-25 14:37:19 +01:00
Paul 6d5fb0a8a3 Rename occurrences of monoscape to monospace. 2021-07-25 14:26:45 +01:00
Paul 6cf18b1b9b Fix message reply overflow.
Add opera icon to sessions.
2021-07-25 14:18:48 +01:00
Paul f2a69daf03 Fix onboarding. 2021-07-25 13:55:45 +01:00
Paul fd03c64d92 Show friend requests on top-right avatar. 2021-07-25 12:50:34 +01:00
Paul e12ebc9b0d Fix scrollbar on server list. 2021-07-25 10:56:22 +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 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
nizune 95a7ee405d Fixed app to portrait only mode for the time being 2021-07-23 18:55:18 +00:00
Paul 38157ae14b Add search sorting. 2021-07-21 18:27:05 +01:00
Paul f5e70afb35 Experimental hooks. 2021-07-14 14:42:22 +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
389 changed files with 30925 additions and 14069 deletions
+1
View File
@@ -0,0 +1 @@
{ "plugins": [["@babel/plugin-proposal-decorators", { "legacy": true }]] }
+10
View File
@@ -0,0 +1,10 @@
.github
.vscode
dist
dist_injected
node_modules
.env
.env.local
Dockerfile
.dockerignore
+1 -1
View File
@@ -1,2 +1,2 @@
VITE_API_URL=https://api.revolt.chat
VITE_THEMES_URL=https://static.revolt.chat/themes
VITE_THEMES_URL=https://themes.revolt.chat
+2
View File
@@ -0,0 +1,2 @@
VITE_API_URL=__API_URL__
VITE_THEMES_URL=https://themes.revolt.chat
-1
View File
@@ -1 +0,0 @@
ko_fi: insertish
+66
View File
@@ -0,0 +1,66 @@
name: Bug report
description: File a bug report
title: "bug: "
labels: ["bug"]
body:
- type: markdown
attributes:
value: |
Thanks for taking the time to fill out this bug report!
- type: textarea
id: what-happened
attributes:
label: What happened?
description: What did you expect to happen?
validations:
required: true
- type: dropdown
id: branch
attributes:
label: Branch
description: What branch of Revolt are you using?
options:
- Production (app.revolt.chat)
- Nightly (nightly.revolt.chat)
validations:
required: true
- type: textarea
id: commit-hash
attributes:
label: Commit hash
description: What is your commit hash? You can find this at the bottom of Settings, next to the branch name.
validations:
required: true
- type: dropdown
id: browsers
attributes:
label: What browsers are you seeing the problem on?
multiple: true
options:
- Firefox
- Chrome
- Safari
- Microsoft Edge
- Other (please specify in the "What happened" form)
- type: textarea
id: logs
attributes:
label: Relevant log output
description: Please copy and paste any relevant log output. (To get this, press `CTRL`- or `CMD`-`SHIFT`-`I` and navigate to the "Console" tab.)
render: shell
- type: checkboxes
id: desktop
attributes:
label: Desktop
description: Is this bug specific to [the desktop client](https://github.com/revoltchat/desktop)? (If not, leave this unchecked.)
options:
- label: Yes, this bug is specific to Revolt Desktop and is *not* an issue with Revolt Desktop itself.
required: false
- type: checkboxes
id: pwa
attributes:
label: PWA
description: Is this bug specific to the PWA (i.e. "installing" the web app on iOS or Android)? (If not, leave this unchecked.)
options:
- label: Yes, this bug is specific to the PWA.
required: false
+7
View File
@@ -0,0 +1,7 @@
contact_links:
- name: Lounge Chat
url: https://rvlt.gg/Testers
about: Ask questions and discuss with others.
- name: Discussions
url: https://github.com/orgs/revoltchat/discussions
about: For larger feature requests and general question & answer.
+24
View File
@@ -0,0 +1,24 @@
name: Feature request
description: Make a feature request
title: "feature request: "
labels: ["enhancement"]
body:
- type: markdown
attributes:
value: |
Before you start, a lot of bigger features may be better suited as [API issues](https://github.com/revoltchat/delta/issues/new) or [centralised discussions](https://github.com/revoltchat/revolt/discussions/new).
- type: textarea
id: your-idea
attributes:
label: What do you want to see?
description: Describe your idea in as much detail as possible - if applicable, screenshots/mockups are really useful.
validations:
required: true
- type: checkboxes
id: pwa
attributes:
label: PWA
description: Is this feature request specific to the PWA (i.e. "installing" the web app on iOS or Android)? (If not, leave this unchecked.)
options:
- label: Yes, this feature request is specific to the PWA.
required: false
+33
View File
@@ -0,0 +1,33 @@
name: Build
description: Builds a project instance, assuming all the correct project files are in the build folder
inputs:
base:
name: Base path
description: The path to use as a base for linking
required: true
default: /
folder:
name: Build Folder
description: The folder to try to build from
required: true
default: .
runs:
using: composite
steps:
- name: Setup Node
uses: actions/setup-node@v2
with:
node-version: 16
cache: "yarn"
- name: Install Dependencies and Build
shell: bash -l {0}
env:
BUILD_FOLDER: ${{ inputs.folder }}
BASE: ${{ inputs.base }}
run: |
cd "$BUILD_FOLDER"
yarn install
yarn build --base "$BASE"
+7
View File
@@ -0,0 +1,7 @@
## Please make sure to check the following tasks before opening and submitting a PR
* [ ] I understand and have followed the [contribution guide](https://github.com/revoltchat/revolt/discussions/282)
* [ ] I have tested my changes locally and they are working as intended
* [ ] These changes do not have any notable side effects on other Revolt projects
* [ ] (optional) I have opened a pull request on [the translation repository](https://github.com/revoltchat/translations)
* [ ] I have included screenshots to demonstrate my changes
+111
View File
@@ -0,0 +1,111 @@
name: Docker
on:
push:
branches:
- "master"
tags:
- "v*"
paths-ignore:
- ".github/**"
- "!.github/workflows/docker.yml"
- "!.github/workflows/preview_*.yml"
- ".vscode/**"
- ".gitignore"
- ".gitlab-ci.yml"
- "LICENSE"
- "README"
pull_request:
branches:
- "master"
paths-ignore:
- ".github/**"
- "!.github/workflows/docker.yml"
- "!.github/workflows/preview_*.yml"
- ".vscode/**"
- ".gitignore"
- ".gitlab-ci.yml"
- "LICENSE"
- "README"
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
architecture: [linux/amd64]
steps:
- name: Checkout
uses: actions/checkout@v2
with:
submodules: "recursive"
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Cache Docker layers
uses: actions/cache@v2
with:
path: /tmp/.buildx-cache/${{ matrix.architecture }}
key: ${{ runner.os }}-buildx-${{ matrix.architecture }}-${{ github.sha }}
- name: Build
uses: docker/build-push-action@v2
with:
context: .
platforms: ${{ matrix.architecture }}
cache-from: type=local,src=/tmp/.buildx-cache/${{ matrix.architecture }}
cache-to: type=local,dest=/tmp/.buildx-cache-new/${{ matrix.architecture }},mode=max
- name: Move cache
run: |
rm -rf /tmp/.buildx-cache/${{ matrix.architecture }}
mv /tmp/.buildx-cache-new/${{ matrix.architecture }} /tmp/.buildx-cache/${{ matrix.architecture }}
publish:
needs: [test]
runs-on: ubuntu-latest
if: github.event_name != 'pull_request'
steps:
- name: Checkout
uses: actions/checkout@v2
with:
submodules: "recursive"
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Cache amd64 Docker layers
uses: actions/cache@v2
with:
path: /tmp/.buildx-cache/linux/amd64
key: ${{ runner.os }}-buildx-linux/amd64-${{ github.sha }}
- name: Docker meta
id: meta
uses: docker/metadata-action@v3
with:
images: revoltchat/client, ghcr.io/revoltchat/client
- name: Login to DockerHub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Login to Github Container Registry
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and publish
uses: docker/build-push-action@v2
with:
context: .
push: true
platforms: linux/amd64
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=local,src=/tmp/.buildx-cache/linux/amd64
cache-to: type=local,dest=/tmp/.buildx-cache-new,mode=max
- name: Move cache
run: |
rm -rf /tmp/.buildx-cache
mv /tmp/.buildx-cache-new /tmp/.buildx-cache
+17
View File
@@ -0,0 +1,17 @@
name: Mirroring
on:
push:
branches:
- "master"
- "production"
jobs:
to_gitlab:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v1
- uses: pixta-dev/repository-mirroring-action@v1
with:
target_repo_url: git@gitlab.com:insert/revolt-vite.git
ssh_private_key: ${{ secrets.GITLAB_SSH_PRIVATE_KEY }}
+49
View File
@@ -0,0 +1,49 @@
name: Add Issue to Board
on:
issues:
types: [opened]
jobs:
track_issue:
runs-on: ubuntu-latest
steps:
- name: Get project data
env:
GITHUB_TOKEN: ${{ secrets.PAT }}
run: |
gh api graphql -f query='
query {
organization(login: "revoltchat"){
projectNext(number: 3) {
id
fields(first:20) {
nodes {
id
name
settings
}
}
}
}
}' > project_data.json
echo 'PROJECT_ID='$(jq '.data.organization.projectNext.id' project_data.json) >> $GITHUB_ENV
echo 'STATUS_FIELD_ID='$(jq '.data.organization.projectNext.fields.nodes[] | select(.name== "Status") | .id' project_data.json) >> $GITHUB_ENV
echo 'TODO_OPTION_ID='$(jq '.data.organization.projectNext.fields.nodes[] | select(.name== "Status") |.settings | fromjson.options[] | select(.name=="Todo") |.id' project_data.json) >> $GITHUB_ENV
- name: Add issue to project
env:
GITHUB_TOKEN: ${{ secrets.PAT }}
ISSUE_ID: ${{ github.event.issue.node_id }}
run: |
item_id="$( gh api graphql -f query='
mutation($project:ID!, $issue:ID!) {
addProjectNextItem(input: {projectId: $project, contentId: $issue}) {
projectNextItem {
id
}
}
}' -f project=$PROJECT_ID -f issue=$ISSUE_ID --jq '.data.addProjectNextItem.projectNextItem.id')"
echo 'ITEM_ID='$item_id >> $GITHUB_ENV
+72
View File
@@ -0,0 +1,72 @@
name: Add PR to Board
on:
pull_request_target:
types: [opened, synchronize, ready_for_review, review_requested]
jobs:
track_pr:
runs-on: ubuntu-latest
steps:
- name: Get project data
env:
GITHUB_TOKEN: ${{ secrets.PAT }}
run: |
gh api graphql -f query='
query {
organization(login: "revoltchat"){
projectNext(number: 3) {
id
fields(first:20) {
nodes {
id
name
settings
}
}
}
}
}' > project_data.json
echo 'PROJECT_ID='$(jq '.data.organization.projectNext.id' project_data.json) >> $GITHUB_ENV
echo 'STATUS_FIELD_ID='$(jq '.data.organization.projectNext.fields.nodes[] | select(.name== "Status") | .id' project_data.json) >> $GITHUB_ENV
echo 'INCOMING_OPTION_ID='$(jq '.data.organization.projectNext.fields.nodes[] | select(.name== "Status") |.settings | fromjson.options[] | select(.name=="Incoming PRs") |.id' project_data.json) >> $GITHUB_ENV
- name: Add PR to project
env:
GITHUB_TOKEN: ${{ secrets.PAT }}
PR_ID: ${{ github.event.pull_request.node_id }}
run: |
item_id="$( gh api graphql -f query='
mutation($project:ID!, $pr:ID!) {
addProjectNextItem(input: {projectId: $project, contentId: $pr}) {
projectNextItem {
id
}
}
}' -f project=$PROJECT_ID -f pr=$PR_ID --jq '.data.addProjectNextItem.projectNextItem.id')"
echo 'ITEM_ID='$item_id >> $GITHUB_ENV
- name: Set fields
env:
GITHUB_TOKEN: ${{ secrets.PAT }}
run: |
gh api graphql -f query='
mutation (
$project: ID!
$item: ID!
$status_field: ID!
$status_value: String!
) {
set_status: updateProjectNextItemField(input: {
projectId: $project
itemId: $item
fieldId: $status_field
value: $status_value
}) {
projectNextItem {
id
}
}
}' -f project=$PROJECT_ID -f item=$ITEM_ID -f status_field=$STATUS_FIELD_ID -f status_value=${{ env.INCOMING_OPTION_ID }} --silent
+12
View File
@@ -1,5 +1,17 @@
node_modules
.DS_Store
dist
dist_injected
dist-ssr
*.local
*.log
/.idea
.yarn/cache
.yarn/install-state.gz
public/assets
public/assets_*
!public/assets_default
.vscode/chrome_data
+40
View File
@@ -0,0 +1,40 @@
image: node:16-buster
variables:
GIT_SUBMODULE_STRATEGY: recursive
cache:
paths:
- node_modules
# Fetch dependencies and setup project for compilation.
install:
stage: prepare
script:
- yarn
# Type check the project
typecheck:
stage: test
needs:
- install
dependencies:
- install
script:
- yarn typecheck
# Lint the project and check prettier output.
lint:
stage: test
allow_failure: true
needs:
- install
dependencies:
- install
script:
- yarn lint
- yarn --check 'src/**/*.{js,jsx,ts,tsx}'
stages:
- prepare
- test
+1 -1
View File
@@ -1,3 +1,3 @@
[submodule "external/lang"]
path = external/lang
url = https://gitlab.insrt.uk/revolt/translations
url = https://github.com/revoltchat/translations
+1
View File
@@ -0,0 +1 @@
src/components/markdown/prism.ts
+15 -7
View File
@@ -1,8 +1,16 @@
module.exports = {
"tabWidth": 4,
"trailingComma": "all",
"jsxBracketSameLine": true,
"importOrder": ["preact|classnames|.scss$", "/(lib)", "/(redux)", "/(context)", "/(ui|common)|.svg$", "^[./]"],
"importOrderSeparation": true,
}
tabWidth: 4,
trailingComma: "all",
jsxBracketSameLine: true,
importOrder: [
"preact|classnames|.scss$",
"^@revoltchat",
"/(lib)",
"/(redux|mobx)",
"/(context)",
"/(ui|common)$",
".svg|.webp|.png|.jpg$",
"^[./]",
],
importOrderSeparation: true,
};
+5 -1
View File
@@ -1,3 +1,7 @@
{
"recommendations": ["esbenp.prettier-vscode"]
"recommendations": [
"esbenp.prettier-vscode",
"dbaeumer.vscode-eslint",
"kol.commit-lint"
]
}
+17
View File
@@ -0,0 +1,17 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "pwa-chrome",
"request": "launch",
"name": "Launch Chrome against localhost",
"url": "http://local.revolt.chat:3000",
"webRoot": "${workspaceFolder}",
"runtimeExecutable": "/usr/bin/chromium",
"userDataDir": "${workspaceFolder}/.vscode/chrome_data"
}
]
}
+1 -1
View File
@@ -1,4 +1,4 @@
{
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": true
}
}
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+785
View File
File diff suppressed because one or more lines are too long
+11
View File
@@ -0,0 +1,11 @@
nodeLinker: node-modules
plugins:
- path: .yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs
spec: "@yarnpkg/plugin-interactive-tools"
- path: .yarn/plugins/@yarnpkg/plugin-typescript.cjs
spec: "@yarnpkg/plugin-typescript"
- path: .yarn/plugins/@yarnpkg/plugin-workspace-tools.cjs
spec: "@yarnpkg/plugin-workspace-tools"
yarnPath: .yarn/releases/yarn-3.2.0.cjs
+17
View File
@@ -0,0 +1,17 @@
FROM node:16-buster AS builder
WORKDIR /usr/src/app
COPY . .
COPY .env.build .env
RUN yarn install --frozen-lockfile
RUN yarn typecheck
RUN yarn build:highmem
RUN yarn workspaces focus --production --all
FROM node:16-alpine
WORKDIR /usr/src/app
COPY --from=builder /usr/src/app .
EXPOSE 5000
CMD [ "yarn", "start:inject" ]
+49 -11
View File
@@ -1,21 +1,59 @@
# Revite
## Description
This is the web client for Revolt, which is also available live at [app.revolt.chat](https://app.revolt.chat).
You can track progress on the client on [our Wekan board](https://wekan.insrt.uk/b/jj3x5C6nbYzM6ERQD/revolt).
## Stack
Official screenshots of the client are available in [this Google Drive folder](https://drive.google.com/drive/folders/1Ckhl7_9OTTaKzyisrWHzZw1hHj55JwhD).
- [Preact](https://preactjs.com/)
- [Vite](https://vitejs.dev/)
## Submodule Hint
This project contains submodules. Run `git submodule init` after you clone this repository to initialize the submodules.
It is also recommended to run `git submodule update` after you pull from upstream.
## Resources
### Revite
- [Revite Issue Board](https://github.com/revoltchat/revite/issues)
- [Google Drive Folder with Screenshots](https://drive.google.com/drive/folders/1Ckhl7_9OTTaKzyisrWHzZw1hHj55JwhD)
### Revolt
- [Revolt Project Board](https://github.com/revoltchat/revolt/discussions) (Submit feature requests here)
- [Revolt Testers Server](https://app.revolt.chat/invite/Testers)
- [Contribution Guide](https://developers.revolt.chat/contributing)
## Quick Start
Get revite up and running locally.
```
git clone --recursive https://github.com/revoltchat/revite
cd revite
yarn
yarn dev
```
You can now access the client at http://local.revolt.chat:3000.
## CLI Commands
* `yarn dev`: Runs a development server.
| Command | Description |
| ------------------- | -------------------------------------------- |
| `yarn pull` | Setup assets required for Revite. |
| `yarn dev` | Start the Revolt client in development mode. |
| `yarn build` | Build the Revolt client. |
| `yarn preview` | Start a local server with the built client. |
| `yarn lint` | Run ESLint on the client. |
| `yarn fmt` | Run Prettier on the client. |
| `yarn typecheck` | Run TypeScript type checking on the client. |
| `yarn start` | Start a local sirv server with built client. |
| `yarn start:inject` | Inject a given API URL and start server. |
* `yarn build`: Creates a production build of the client.
## License
* `yarn preview`: Starts a local server with the production build.
* `yarn lint`: Runs ESLint to check project.
* `yarn fmt`: Runs prettier on source code.
* `yarn typecheck`: Runs Typescript compiler in noEmit mode.
Revite is licensed under the [GNU Affero General Public License v3.0](https://github.com/revoltchat/revite/blob/master/LICENSE).
+1 -1
View File
@@ -1 +1 @@
1.0.0-vite
0.5.3-1
+6
View File
@@ -0,0 +1,6 @@
<svg width="225" height="161" viewBox="0 0 225 161" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M69.6951 15.0002L20.9951 63.7002L69.6951 112.4L81.7601 100.325L45.1301 63.6952L81.7601 27.0652L69.6951 15.0002ZM132.955 112.39L181.655 63.6902L132.955 14.9902L120.89 27.0652L157.52 63.6952L120.89 100.325L132.955 112.39Z" fill="white"/>
<path d="M197 73H137C133.686 73 131 75.6863 131 79V139C131 142.314 133.686 145 137 145H197C200.314 145 203 142.314 203 139V79C203 75.6863 200.314 73 197 73Z" fill="#242424"/>
<path d="M191 79H143C139.686 79 137 81.6863 137 85V133C137 136.314 139.686 139 143 139H191C194.314 139 197 136.314 197 133V85C197 81.6863 194.314 79 191 79Z" fill="#D14F4F"/>
<path d="M181.5 95.5L153.5 123.5M153.5 95.5L181.5 123.5L153.5 95.5Z" stroke="white" stroke-width="5" stroke-linecap="round"/>
</svg>

After

Width:  |  Height:  |  Size: 828 B

+1 -1
+139 -33
View File
@@ -1,37 +1,143 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<title>Revolt</title>
<meta name="apple-mobile-web-app-title" content="Revolt">
<html lang="en" background="#191919">
<head>
<meta charset="UTF-8" />
<!--<link rel="icon" type="image/svg+xml" href="/src/favicon.svg" />-->
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no" />
<meta name="apple-mobile-web-app-capable" content="yes">
<!--App Title-->
<title>Revolt</title>
<meta name="apple-mobile-web-app-title" content="Revolt" />
<!--App Icons-->
<link rel="apple-touch-icon" href="public/assets/icons/apple-touch.png">
<link rel="icon" type="image/png" href="/src/assets/logo_round.png" />
<!--App Scaling-->
<meta
name="viewport"
content="width=device-width, initial-scale=1.0, user-scalable=no"
/>
<meta name="apple-mobile-web-app-capable" content="yes" />
<!--Splash Screens for iOS Devices-->
<link href="public/assets/splashscreens/iphone5_splash.png" media="(device-width: 320px) and (device-height: 568px) and (-webkit-device-pixel-ratio: 2)" rel="apple-touch-startup-image" />
<link href="public/assets/splashscreens/iphone6_splash.png" media="(device-width: 375px) and (device-height: 667px) and (-webkit-device-pixel-ratio: 2)" rel="apple-touch-startup-image" />
<link href="public/assets/splashscreens/iphoneplus_splash.png" media="(device-width: 621px) and (device-height: 1104px) and (-webkit-device-pixel-ratio: 3)" rel="apple-touch-startup-image" />
<link href="public/assets/splashscreens/iphonex_splash.png" media="(device-width: 375px) and (device-height: 812px) and (-webkit-device-pixel-ratio: 3)" rel="apple-touch-startup-image" />
<link href="public/assets/splashscreens/iphonexr_splash.png" media="(device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 2)" rel="apple-touch-startup-image" />
<link href="public/assets/splashscreens/iphonexsmax_splash.png" media="(device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 3)" rel="apple-touch-startup-image" />
<link href="public/assets/splashscreens/ipad_splash.png" media="(device-width: 768px) and (device-height: 1024px) and (-webkit-device-pixel-ratio: 2)" rel="apple-touch-startup-image" />
<link href="public/assets/splashscreens/ipadpro1_splash.png" media="(device-width: 834px) and (device-height: 1112px) and (-webkit-device-pixel-ratio: 2)" rel="apple-touch-startup-image" />
<link href="public/assets/splashscreens/ipadpro3_splash.png" media="(device-width: 834px) and (device-height: 1194px) and (-webkit-device-pixel-ratio: 2)" rel="apple-touch-startup-image" />
<link href="public/assets/splashscreens/ipadpro2_splash.png" media="(device-width: 1024px) and (device-height: 1366px) and (-webkit-device-pixel-ratio: 2)" rel="apple-touch-startup-image" />
</head>
<body>
<div id="app"></div>
<script type="module" src="/src/main.tsx"></script>
</body>
<style>
html {
background-color: #191919;
}
</style>
</html>
<!--App Icons-->
<link
rel="apple-touch-icon"
href="public/assets/icons/apple-touch.png"
/>
<link rel="icon" type="image/png" href="/assets/logo_round.png" />
<!--Splash Screens for iOS Devices-->
<link
href="public/assets/splashscreens/iphone5_splash.png"
media="(device-width: 320px) and (device-height: 568px) and (-webkit-device-pixel-ratio: 2)"
rel="apple-touch-startup-image"
/>
<link
href="public/assets/splashscreens/iphone6_splash.png"
media="(device-width: 375px) and (device-height: 667px) and (-webkit-device-pixel-ratio: 2)"
rel="apple-touch-startup-image"
/>
<link
href="public/assets/splashscreens/iphoneplus_splash.png"
media="(device-width: 621px) and (device-height: 1104px) and (-webkit-device-pixel-ratio: 3)"
rel="apple-touch-startup-image"
/>
<link
href="public/assets/splashscreens/iphonex_splash.png"
media="(device-width: 375px) and (device-height: 812px) and (-webkit-device-pixel-ratio: 3)"
rel="apple-touch-startup-image"
/>
<link
href="public/assets/splashscreens/iphonexr_splash.png"
media="(device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 2)"
rel="apple-touch-startup-image"
/>
<link
href="public/assets/splashscreens/iphonexsmax_splash.png"
media="(device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 3)"
rel="apple-touch-startup-image"
/>
<link
href="public/assets/splashscreens/ipad_splash.png"
media="(device-width: 768px) and (device-height: 1024px) and (-webkit-device-pixel-ratio: 2)"
rel="apple-touch-startup-image"
/>
<link
href="public/assets/splashscreens/ipadpro1_splash.png"
media="(device-width: 834px) and (device-height: 1112px) and (-webkit-device-pixel-ratio: 2)"
rel="apple-touch-startup-image"
/>
<link
href="public/assets/splashscreens/ipadpro3_splash.png"
media="(device-width: 834px) and (device-height: 1194px) and (-webkit-device-pixel-ratio: 2)"
rel="apple-touch-startup-image"
/>
<link
href="public/assets/splashscreens/ipadpro2_splash.png"
media="(device-width: 1024px) and (device-height: 1366px) and (-webkit-device-pixel-ratio: 2)"
rel="apple-touch-startup-image"
/>
<!--CSS for noscript screen-->
<style>
noscript {
background: #242424;
color: white;
position: fixed;
top: 0;
left: 0;
width: 100vw;
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;
user-select: none;
}
noscript > div {
padding: 12px;
display: flex;
font-family: "Open Sans", sans-serif;
flex-direction: column;
justify-content: center;
text-align: center;
}
noscript > div > h1 {
margin: 8px 0;
text-transform: uppercase;
font-size: 20px;
font-weight: 700;
}
noscript > div > p {
margin: 4px 0;
font-size: 14px;
}
noscript > div > a {
align-self: center;
margin-top: 20px;
padding: 8px 10px;
font-size: 14px;
width: 80px;
font-weight: 600;
background: #ed5151;
border-radius: 4px;
text-decoration: none;
color: white;
transition: background-color 0.2s;
}
noscript > div > a:hover {
background-color: #cf4848;
}
noscript > div > a:active {
background-color: #b64141;
}
</style>
</head>
<body>
<div id="app"></div>
<script type="module" src="/src/main.tsx"></script>
<noscript>
<div>
<img src="disabled-js.svg" />
<h1>Well, this is really awkward...</h1>
<p>Seems like your JavaScript is disabled.</p>
<p>You'll need to enable JavaScript to run this app.</p>
<a href="https://app.revolt.chat" target="_blank">Reload</a>
</div>
</noscript>
</body>
</html>
+164 -107
View File
@@ -1,109 +1,166 @@
{
"version": "0.0.0",
"scripts": {
"dev": "vite",
"build": "rimraf build && vite build",
"preview": "vite preview",
"lint": "eslint 'src/**/*.{js,jsx,ts,tsx}'",
"fmt": "prettier --write 'src/**/*.{js,jsx,ts,tsx}'",
"typecheck": "tsc --noEmit"
},
"eslintConfig": {
"parser": "@typescript-eslint/parser",
"extends": [
"preact",
"plugin:@typescript-eslint/recommended"
],
"ignorePatterns": [
"build/"
],
"rules": {
"@typescript-eslint/explicit-module-boundary-types": "off"
}
},
"dependencies": {
"preact": "^10.5.13"
},
"devDependencies": {
"@fontsource/atkinson-hyperlegible": "^4.4.5",
"@fontsource/bree-serif": "^4.4.5",
"@fontsource/comic-neue": "^4.4.5",
"@fontsource/fira-code": "^4.4.5",
"@fontsource/inter": "^4.4.5",
"@fontsource/lato": "^4.4.5",
"@fontsource/montserrat": "^4.4.5",
"@fontsource/noto-sans": "^4.4.5",
"@fontsource/open-sans": "^4.4.5",
"@fontsource/poppins": "^4.4.5",
"@fontsource/raleway": "^4.4.5",
"@fontsource/roboto": "^4.4.5",
"@fontsource/roboto-mono": "^4.4.5",
"@fontsource/source-code-pro": "^4.4.5",
"@fontsource/space-mono": "^4.4.5",
"@fontsource/ubuntu": "^4.4.5",
"@fontsource/ubuntu-mono": "^4.4.5",
"@hcaptcha/react-hcaptcha": "^0.3.6",
"@preact/preset-vite": "^2.0.0",
"@rollup/plugin-replace": "^2.4.2",
"@styled-icons/boxicons-logos": "^10.34.0",
"@styled-icons/boxicons-regular": "^10.34.0",
"@styled-icons/boxicons-solid": "^10.34.0",
"@styled-icons/simple-icons": "^10.33.0",
"@tippyjs/react": "^4.2.5",
"@traptitech/markdown-it-katex": "^3.4.3",
"@traptitech/markdown-it-spoiler": "^1.1.6",
"@trivago/prettier-plugin-sort-imports": "^2.0.2",
"@types/lodash.defaultsdeep": "^4.6.6",
"@types/lodash.isequal": "^4.5.5",
"@types/markdown-it": "^12.0.2",
"@types/node": "^15.12.4",
"@types/preact-i18n": "^2.3.0",
"@types/prismjs": "^1.16.5",
"@types/react-helmet": "^6.1.1",
"@types/react-router-dom": "^5.1.7",
"@types/react-scroll": "^1.8.2",
"@types/styled-components": "^5.1.10",
"@types/twemoji": "^12.1.1",
"@typescript-eslint/eslint-plugin": "^4.27.0",
"@typescript-eslint/parser": "^4.27.0",
"classnames": "^2.3.1",
"dayjs": "^1.10.6",
"detect-browser": "^5.2.0",
"eslint": "^7.28.0",
"eslint-config-preact": "^1.1.4",
"eventemitter3": "^4.0.7",
"highlight.js": "^11.0.1",
"idb": "^6.1.2",
"localforage": "^1.9.0",
"lodash.defaultsdeep": "^4.6.1",
"lodash.isequal": "^4.5.0",
"markdown-it": "^12.0.6",
"markdown-it-emoji": "^2.0.0",
"markdown-it-sub": "^1.0.0",
"markdown-it-sup": "^1.0.0",
"mediasoup-client": "npm:@insertish/mediasoup-client@3.6.36-esnext",
"preact-context-menu": "^0.1.5",
"preact-i18n": "^2.4.0-preactx",
"prettier": "^2.3.1",
"prismjs": "^1.23.0",
"react-device-detect": "^1.17.0",
"react-helmet": "^6.1.0",
"react-hook-form": "6.3.0",
"react-overlapping-panels": "1.2.2",
"react-redux": "^7.2.4",
"react-router-dom": "^5.2.0",
"react-scroll": "^1.8.2",
"redux": "^4.1.0",
"revolt.js": "4.3.3-alpha.14",
"rimraf": "^3.0.2",
"sass": "^1.35.1",
"shade-blend-color": "^1.0.0",
"styled-components": "^5.3.0",
"typescript": "^4.3.2",
"ulid": "^2.3.0",
"use-resize-observer": "^7.0.0",
"vite": "npm:@insertish/vite@2.4.0-beta.3-dynamic-import-css-3c1466b",
"vite-plugin-pwa": "^0.8.1",
"workbox-precaching": "^6.1.5"
}
"version": "0.0.0",
"scripts": {
"dev": "node scripts/setup_assets.js --check && vite",
"pull": "node scripts/setup_assets.js",
"build": "rimraf build && node scripts/setup_assets.js --check && vite build",
"build:highmem": "NODE_OPTIONS='--max-old-space-size=4096' yarn build",
"preview": "vite preview",
"lint": "eslint src/**/*.{js,jsx,ts,tsx}",
"fmt": "prettier --write 'src/**/*.{js,jsx,ts,tsx}'",
"typecheck": "tsc --noEmit",
"start": "sirv dist --cors --single --host",
"start:inject": "node scripts/inject.js && sirv dist_injected --cors --single --host"
},
"eslintConfig": {
"parser": "@typescript-eslint/parser",
"extends": [
"preact",
"plugin:@typescript-eslint/recommended"
],
"ignorePatterns": [
"build/"
],
"rules": {
"radix": "off",
"no-spaced-func": "off",
"react/no-danger": "off",
"@typescript-eslint/explicit-module-boundary-types": "off",
"@typescript-eslint/no-non-null-assertion": "off",
"@typescript-eslint/no-unused-vars": [
"warn",
{
"varsIgnorePattern": "^_"
}
],
"no-unused-vars": [
"warn",
{
"varsIgnorePattern": "^_"
}
],
"require-jsdoc": [
"error",
{
"require": {
"FunctionDeclaration": true,
"MethodDefinition": true,
"ClassDeclaration": true,
"ArrowFunctionExpression": false,
"FunctionExpression": false
},
"ignore": {
"MethodDefinition": [
"toJSON",
"hydrate"
]
}
}
]
}
},
"dependencies": {
"fs-extra": "^10.0.0",
"klaw": "^3.0.0",
"sirv-cli": "^1.0.14",
"vite": "^2.6.14"
},
"devDependencies": {
"@babel/plugin-proposal-decorators": "^7.17.9",
"@fontsource/atkinson-hyperlegible": "^4.4.5",
"@fontsource/bitter": "^4.5.7",
"@fontsource/comic-neue": "^4.4.5",
"@fontsource/fira-code": "^4.4.5",
"@fontsource/inter": "^4.4.5",
"@fontsource/jetbrains-mono": "^4.4.5",
"@fontsource/lato": "^4.4.5",
"@fontsource/lexend": "^4.5.2",
"@fontsource/montserrat": "^4.4.5",
"@fontsource/noto-sans": "^4.4.5",
"@fontsource/open-sans": "^4.5.2",
"@fontsource/opendyslexic": "^4.5.2",
"@fontsource/poppins": "^4.4.5",
"@fontsource/raleway": "^4.4.5",
"@fontsource/roboto": "^4.4.5",
"@fontsource/roboto-mono": "^4.4.5",
"@fontsource/source-code-pro": "^4.4.5",
"@fontsource/space-mono": "^4.4.5",
"@fontsource/ubuntu": "^4.4.5",
"@fontsource/ubuntu-mono": "^4.4.5",
"@hcaptcha/react-hcaptcha": "^0.3.6",
"@insertish/vite-plugin-babel-macros": "^1.0.5",
"@preact/preset-vite": "^2.0.0",
"@revoltchat/ui": "1.0.33",
"@rollup/plugin-replace": "^2.4.2",
"@styled-icons/boxicons-logos": "^10.38.0",
"@styled-icons/boxicons-regular": "^10.38.0",
"@styled-icons/boxicons-solid": "^10.38.0",
"@styled-icons/simple-icons": "^10.33.0",
"@tippyjs/react": "4.2.6",
"@traptitech/markdown-it-katex": "^3.4.3",
"@traptitech/markdown-it-spoiler": "^1.1.6",
"@trivago/prettier-plugin-sort-imports": "^2.0.2",
"@types/lodash.defaultsdeep": "^4.6.6",
"@types/lodash.isequal": "^4.5.5",
"@types/markdown-it": "^12.0.2",
"@types/node": "^15.12.4",
"@types/preact-i18n": "^2.3.0",
"@types/prismjs": "^1.16.5",
"@types/react-beautiful-dnd": "^13",
"@types/react-helmet": "^6.1.1",
"@types/react-router-dom": "^5.1.7",
"@types/react-scroll": "^1.8.2",
"@types/styled-components": "^5.1.10",
"@types/twemoji": "^12.1.1",
"@typescript-eslint/eslint-plugin": "^4.27.0",
"@typescript-eslint/parser": "^4.27.0",
"@vitejs/plugin-legacy": "^1.7.1",
"classnames": "^2.3.1",
"color-rgba": "^2.4.0",
"dayjs": "^1.10.6",
"detect-browser": "^5.2.0",
"eslint": "^7.28.0",
"eslint-config-preact": "^1.1.4",
"eventemitter3": "^4.0.7",
"json-stringify-deterministic": "^1.0.2",
"localforage": "^1.9.0",
"lodash.defaultsdeep": "^4.6.1",
"lodash.isequal": "^4.5.0",
"long": "^5.2.0",
"markdown-it": "^12.0.6",
"markdown-it-emoji": "^2.0.0",
"mediasoup-client": "npm:@insertish/mediasoup-client@3.6.36-esnext",
"mobx": "^6.6.0",
"mobx-react-lite": "3.4.0",
"preact": "^10.5.14",
"preact-context-menu": "0.4.0-patch.0",
"preact-i18n": "^2.4.0-preactx",
"prettier": "^2.3.1",
"prismjs": "^1.23.0",
"react-beautiful-dnd": "^13.1.0",
"react-device-detect": "2.2.2",
"react-helmet": "^6.1.0",
"react-hook-form": "6.3.0",
"react-overlapping-panels": "1.2.2",
"react-router-dom": "^5.2.0",
"react-scroll": "^1.8.2",
"react-virtuoso": "^2.12.0",
"revolt.js": "6.0.1",
"rimraf": "^3.0.2",
"sass": "^1.35.1",
"shade-blend-color": "^1.0.0",
"stacktrace-js": "^2.0.2",
"styled-components": "^5.3.0",
"typescript": "^4.4.2",
"ulid": "^2.3.0",
"use-resize-observer": "^7.0.0",
"vite-plugin-pwa": "^0.11.13",
"workbox-precaching": "^6.1.5"
},
"name": "client",
"main": "index.js",
"repository": "https://github.com/revoltchat/revite.git",
"author": "Paul <paulmakles@gmail.com>",
"license": "MIT",
"packageManager": "yarn@3.2.0"
}
+21 -9
View File
@@ -1,10 +1,22 @@
[{
"relation": ["delegate_permission/common.handle_all_urls"],
"target": {
"namespace": "android_app",
"package_name": "chat.revolt.app.twa",
"sha256_cert_fingerprints": [
"6E:62:C1:BF:5A:2D:11:31:A3:22:91:8D:22:2B:2C:49:D3:70:F3:A1:45:DF:11:6A:97:DC:4C:A9:3B:C3:AA:FB"
]
[
{
"relation": ["delegate_permission/common.handle_all_urls"],
"target": {
"namespace": "android_app",
"package_name": "chat.revolt.app.twa",
"sha256_cert_fingerprints": [
"6E:62:C1:BF:5A:2D:11:31:A3:22:91:8D:22:2B:2C:49:D3:70:F3:A1:45:DF:11:6A:97:DC:4C:A9:3B:C3:AA:FB"
]
}
},
{
"relation": ["delegate_permission/common.handle_all_urls"],
"target": {
"namespace": "android_app",
"package_name": "chat.revolt.app.twa",
"sha256_cert_fingerprints": [
"2B:C7:89:87:BD:62:88:38:7B:C0:D7:5F:D1:10:F4:91:D5:24:A6:B3:25:3A:75:C2:3A:91:07:1B:63:C0:98:67"
]
}
}
}]
]
-4
View File
@@ -1,4 +0,0 @@
<svg width="343" height="343" viewBox="0 0 343 343" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M163.994 101.423C163.994 118.65 154.621 128.991 134.617 128.991H101.497V74.4793H134.623C154.621 74.4793 163.994 85.1293 163.994 101.423ZM16 30L48.0653 74.5844V249.881H101.503V166.887H114.317L159.948 249.899H220.262L169.636 162.814C183.771 159.366 196.307 151.183 205.17 139.62C214.033 128.057 218.692 113.807 218.375 99.2285C218.375 61.0106 191.502 30 137.749 30H48.0653H16Z" fill="#EFAB44" stroke="#EFAB44" stroke-width="0.97733"/>
<path d="M323.215 148.038L280.59 190.653L241.854 151.906L284.469 109.292C258.674 98.6844 227.937 103.835 206.997 124.797C186.057 145.737 180.895 176.485 191.503 202.28L122.731 271.04C118.447 275.324 118.447 282.25 122.731 286.534L145.984 309.787C150.268 314.071 157.194 314.071 161.478 309.787L230.238 241.015C256.033 251.622 286.781 246.461 307.721 225.521C328.661 204.57 333.812 173.822 323.215 148.038Z" fill="#99AAB5"/>
</svg>

Before

Width:  |  Height:  |  Size: 973 B

-4
View File
@@ -1,4 +0,0 @@
<svg width="343" height="343" viewBox="0 0 343 343" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M252.571 30L333.429 171.5L252.571 313H90.8571L10 171.5L90.8571 30H252.571Z" fill="#509AF0"/>
<path d="M164.486 82.3018C182.31 82.3018 196.421 86.5928 206.818 95.1748C217.298 103.757 222.538 115.722 222.538 131.071C222.538 139.323 220.475 146.791 216.349 153.475C212.223 160.159 206.406 165.523 198.896 169.566C209.046 173.032 216.803 178.561 222.167 186.153C227.613 193.744 230.336 202.945 230.336 213.755C230.336 230.672 225.427 243.875 215.607 253.365C205.787 262.772 192.295 267.476 175.131 267.476C162.093 267.476 150.499 264.34 140.349 258.068V313H104.577V137.012C104.577 126.697 107.176 117.373 112.375 109.038C117.573 100.621 124.794 94.0608 134.036 89.3572C143.278 84.6536 153.428 82.3018 164.486 82.3018ZM186.766 133.794C186.766 127.027 184.703 121.581 180.577 117.455C176.534 113.329 171.17 111.266 164.486 111.266C157.472 111.266 151.695 113.618 147.157 118.322C142.618 122.943 140.349 129.338 140.349 137.507V231.456C147.115 236.242 156.028 238.635 167.085 238.635C175.502 238.635 182.186 236.283 187.137 231.58C192.089 226.793 194.564 220.687 194.564 213.26C194.564 204.348 192.295 197.416 187.756 192.465C183.3 187.432 176.699 184.915 167.952 184.915H155.945V158.797H165.6C179.711 158.302 186.766 149.968 186.766 133.794Z" fill="white"/>
</svg>

Before

Width:  |  Height:  |  Size: 1.3 KiB

-15
View File
@@ -1,15 +0,0 @@
<svg width="343" height="343" viewBox="0 0 343 343" fill="none" xmlns="http://www.w3.org/2000/svg">
<g clip-path="url(#clip0)">
<rect x="141.421" y="31" width="200" height="200" transform="rotate(45 141.421 31)" fill="#01BE6E"/>
<path d="M137.926 182.464C128.751 173.507 120.668 165.642 116.08 147.51H148.194V133.965H116.298V116.051H102.535V134.184H70.4214V147.728H103.191C103.191 147.728 102.972 150.35 102.535 152.316C97.9475 170.23 92.486 181.59 70.4214 192.731L75.0091 206.276C95.9814 195.134 106.904 181.153 111.711 165.642C116.298 177.439 124.163 187.051 133.12 195.79L137.926 182.464Z" fill="white"/>
<path d="M180.307 138.551H161.956L129.842 228.775H143.605L152.781 201.686H189.482L198.658 228.775H212.421L180.307 138.551ZM157.368 188.142L171.132 152.095L184.895 188.36L157.368 188.142Z" fill="white"/>
<path d="M305.473 170.182L208.174 267.48C206.834 268.82 205.148 269.773 203.306 270.234L148.421 281.018L159.206 226.123C159.666 224.291 160.619 222.605 161.959 221.265L259.258 123.967L274.421 108.803L320.421 103.921V155.233L305.473 170.182Z" fill="#99AAB5"/>
<path d="M208.174 267.478L305.473 170.18L259.258 123.965L161.959 221.263C160.619 222.603 159.666 224.289 159.206 226.121L148.421 281.016L203.306 270.232C205.148 269.771 206.834 268.818 208.174 267.478ZM336.883 138.769C345.06 130.592 345.06 117.337 336.883 109.16L320.278 92.5542C312.1 84.3771 298.845 84.3771 290.668 92.5542L274.063 109.16L320.278 155.375L336.883 138.769Z" fill="#EA596E"/>
<path d="M305.473 170.182L208.174 267.48C206.834 268.82 205.148 269.773 203.306 270.234L148.421 281.018L159.206 226.123C159.666 224.291 160.619 222.605 161.959 221.265L259.258 123.967L305.473 170.182Z" fill="#FFCC4D"/>
</g>
<defs>
<clipPath id="clip0">
<rect width="343" height="343" fill="white"/>
</clipPath>
</defs>
</svg>

Before

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.7 KiB

-3
View File
@@ -1,3 +0,0 @@
<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M30.9299 18.0767C30.9299 20.7484 29.4776 22.3521 26.3783 22.3521H21.2468V13.8981H26.3792C29.4776 13.8981 30.9299 15.5498 30.9299 18.0767ZM8 7L12.9681 13.9144V41.1006H21.2477V28.2293H23.2331L30.3031 41.1035H39.648L31.8041 27.5976C33.9941 27.0629 35.9365 25.7938 37.3097 24.0006C38.683 22.2073 39.4048 19.9973 39.3556 17.7364C39.3556 11.8093 35.192 7 26.8636 7H8Z" fill="white"/>
</svg>

Before

Width:  |  Height:  |  Size: 490 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 66 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 76 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 110 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 81 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 59 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 58 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 35 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 70 KiB

+1
View File
@@ -0,0 +1 @@
<svg xmlns:xlink="http://www.w3.org/1999/xlink" width="64.00001046823172" xmlns="http://www.w3.org/2000/svg" id="screenshot" version="1.1" viewBox="-0.000008942940667111543 -0.0000033745862566547657 64.00001046823172 64.00000545874563" height="64.00000545874563" style="-webkit-print-color-adjust: exact;"><g id="shape-d9b11490-3403-11ec-bc16-7b519797d558"><rect rx="0" ry="0" x="0" y="0" transform="matrix(1.0000000000000007,-8.726646259971662e-8,-1.5707963280665485e-7,1.0000000000000124,0.000005026548230091521,0.0000027925264056705146)" width="64" height="64" style="fill: rgb(255, 255, 255); fill-opacity: 1;"/></g></svg>

After

Width:  |  Height:  |  Size: 626 B

@@ -0,0 +1 @@
<svg xmlns:xlink="http://www.w3.org/1999/xlink" width="64.00001046823172" xmlns="http://www.w3.org/2000/svg" id="screenshot" version="1.1" viewBox="-0.000008942940667111543 -0.0000033745862566547657 64.00001046823172 64.00000545874563" height="64.00000545874563" style="-webkit-print-color-adjust: exact;"><g id="shape-d9b11490-3403-11ec-bc16-7b519797d558"><rect rx="0" ry="0" x="0" y="0" transform="matrix(1.0000000000000007,-8.726646259971662e-8,-1.5707963280665485e-7,1.0000000000000124,0.000005026548230091521,0.0000027925264056705146)" width="64" height="64" style="fill: rgb(255, 255, 255); fill-opacity: 1;"/></g></svg>

After

Width:  |  Height:  |  Size: 626 B

@@ -0,0 +1 @@
<svg xmlns:xlink="http://www.w3.org/1999/xlink" width="64.00001046823172" xmlns="http://www.w3.org/2000/svg" id="screenshot" version="1.1" viewBox="-0.000008942940667111543 -0.0000033745862566547657 64.00001046823172 64.00000545874563" height="64.00000545874563" style="-webkit-print-color-adjust: exact;"><g id="shape-d9b11490-3403-11ec-bc16-7b519797d558"><rect rx="0" ry="0" x="0" y="0" transform="matrix(1.0000000000000007,-8.726646259971662e-8,-1.5707963280665485e-7,1.0000000000000124,0.000005026548230091521,0.0000027925264056705146)" width="64" height="64" style="fill: rgb(255, 255, 255); fill-opacity: 1;"/></g></svg>

After

Width:  |  Height:  |  Size: 626 B

+1
View File
@@ -0,0 +1 @@
<svg xmlns:xlink="http://www.w3.org/1999/xlink" width="64.00001046823172" xmlns="http://www.w3.org/2000/svg" id="screenshot" version="1.1" viewBox="-0.000008942940667111543 -0.0000033745862566547657 64.00001046823172 64.00000545874563" height="64.00000545874563" style="-webkit-print-color-adjust: exact;"><g id="shape-d9b11490-3403-11ec-bc16-7b519797d558"><rect rx="0" ry="0" x="0" y="0" transform="matrix(1.0000000000000007,-8.726646259971662e-8,-1.5707963280665485e-7,1.0000000000000124,0.000005026548230091521,0.0000027925264056705146)" width="64" height="64" style="fill: rgb(255, 255, 255); fill-opacity: 1;"/></g></svg>

After

Width:  |  Height:  |  Size: 626 B

@@ -0,0 +1 @@
<svg xmlns:xlink="http://www.w3.org/1999/xlink" width="64.00001046823172" xmlns="http://www.w3.org/2000/svg" id="screenshot" version="1.1" viewBox="-0.000008942940667111543 -0.0000033745862566547657 64.00001046823172 64.00000545874563" height="64.00000545874563" style="-webkit-print-color-adjust: exact;"><g id="shape-d9b11490-3403-11ec-bc16-7b519797d558"><rect rx="0" ry="0" x="0" y="0" transform="matrix(1.0000000000000007,-8.726646259971662e-8,-1.5707963280665485e-7,1.0000000000000124,0.000005026548230091521,0.0000027925264056705146)" width="64" height="64" style="fill: rgb(255, 255, 255); fill-opacity: 1;"/></g></svg>

After

Width:  |  Height:  |  Size: 626 B

+1
View File
@@ -0,0 +1 @@
<svg xmlns:xlink="http://www.w3.org/1999/xlink" width="64.00001046823172" xmlns="http://www.w3.org/2000/svg" id="screenshot" version="1.1" viewBox="-0.000008942940667111543 -0.0000033745862566547657 64.00001046823172 64.00000545874563" height="64.00000545874563" style="-webkit-print-color-adjust: exact;"><g id="shape-d9b11490-3403-11ec-bc16-7b519797d558"><rect rx="0" ry="0" x="0" y="0" transform="matrix(1.0000000000000007,-8.726646259971662e-8,-1.5707963280665485e-7,1.0000000000000124,0.000005026548230091521,0.0000027925264056705146)" width="64" height="64" style="fill: rgb(255, 255, 255); fill-opacity: 1;"/></g></svg>

After

Width:  |  Height:  |  Size: 626 B

+1
View File
@@ -0,0 +1 @@
<svg xmlns:xlink="http://www.w3.org/1999/xlink" width="64.00001046823172" xmlns="http://www.w3.org/2000/svg" id="screenshot" version="1.1" viewBox="-0.000008942940667111543 -0.0000033745862566547657 64.00001046823172 64.00000545874563" height="64.00000545874563" style="-webkit-print-color-adjust: exact;"><g id="shape-d9b11490-3403-11ec-bc16-7b519797d558"><rect rx="0" ry="0" x="0" y="0" transform="matrix(1.0000000000000007,-8.726646259971662e-8,-1.5707963280665485e-7,1.0000000000000124,0.000005026548230091521,0.0000027925264056705146)" width="64" height="64" style="fill: rgb(255, 255, 255); fill-opacity: 1;"/></g></svg>

After

Width:  |  Height:  |  Size: 626 B

@@ -0,0 +1 @@
<svg xmlns:xlink="http://www.w3.org/1999/xlink" width="64.00001046823172" xmlns="http://www.w3.org/2000/svg" id="screenshot" version="1.1" viewBox="-0.000008942940667111543 -0.0000033745862566547657 64.00001046823172 64.00000545874563" height="64.00000545874563" style="-webkit-print-color-adjust: exact;"><g id="shape-d9b11490-3403-11ec-bc16-7b519797d558"><rect rx="0" ry="0" x="0" y="0" transform="matrix(1.0000000000000007,-8.726646259971662e-8,-1.5707963280665485e-7,1.0000000000000124,0.000005026548230091521,0.0000027925264056705146)" width="64" height="64" style="fill: rgb(255, 255, 255); fill-opacity: 1;"/></g></svg>

After

Width:  |  Height:  |  Size: 626 B

@@ -0,0 +1 @@
<svg xmlns:xlink="http://www.w3.org/1999/xlink" width="64.00001046823172" xmlns="http://www.w3.org/2000/svg" id="screenshot" version="1.1" viewBox="-0.000008942940667111543 -0.0000033745862566547657 64.00001046823172 64.00000545874563" height="64.00000545874563" style="-webkit-print-color-adjust: exact;"><g id="shape-d9b11490-3403-11ec-bc16-7b519797d558"><rect rx="0" ry="0" x="0" y="0" transform="matrix(1.0000000000000007,-8.726646259971662e-8,-1.5707963280665485e-7,1.0000000000000124,0.000005026548230091521,0.0000027925264056705146)" width="64" height="64" style="fill: rgb(255, 255, 255); fill-opacity: 1;"/></g></svg>

After

Width:  |  Height:  |  Size: 626 B

@@ -0,0 +1 @@
<svg xmlns:xlink="http://www.w3.org/1999/xlink" width="64.00001046823172" xmlns="http://www.w3.org/2000/svg" id="screenshot" version="1.1" viewBox="-0.000008942940667111543 -0.0000033745862566547657 64.00001046823172 64.00000545874563" height="64.00000545874563" style="-webkit-print-color-adjust: exact;"><g id="shape-d9b11490-3403-11ec-bc16-7b519797d558"><rect rx="0" ry="0" x="0" y="0" transform="matrix(1.0000000000000007,-8.726646259971662e-8,-1.5707963280665485e-7,1.0000000000000124,0.000005026548230091521,0.0000027925264056705146)" width="64" height="64" style="fill: rgb(255, 255, 255); fill-opacity: 1;"/></g></svg>

After

Width:  |  Height:  |  Size: 626 B

@@ -0,0 +1 @@
<svg xmlns:xlink="http://www.w3.org/1999/xlink" width="64.00001046823172" xmlns="http://www.w3.org/2000/svg" id="screenshot" version="1.1" viewBox="-0.000008942940667111543 -0.0000033745862566547657 64.00001046823172 64.00000545874563" height="64.00000545874563" style="-webkit-print-color-adjust: exact;"><g id="shape-d9b11490-3403-11ec-bc16-7b519797d558"><rect rx="0" ry="0" x="0" y="0" transform="matrix(1.0000000000000007,-8.726646259971662e-8,-1.5707963280665485e-7,1.0000000000000124,0.000005026548230091521,0.0000027925264056705146)" width="64" height="64" style="fill: rgb(255, 255, 255); fill-opacity: 1;"/></g></svg>

After

Width:  |  Height:  |  Size: 626 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

@@ -0,0 +1,3 @@
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-chat" viewBox="0 0 16 16">
<path d="M2.678 11.894a1 1 0 0 1 .287.801 10.97 10.97 0 0 1-.398 2c1.395-.323 2.247-.697 2.634-.893a1 1 0 0 1 .71-.074A8.06 8.06 0 0 0 8 14c3.996 0 7-2.807 7-6 0-3.192-3.004-6-7-6S1 4.808 1 8c0 1.468.617 2.83 1.678 3.894zm-.493 3.905a21.682 21.682 0 0 1-.713.129c-.2.032-.352-.176-.273-.362a9.68 9.68 0 0 0 .244-.637l.003-.01c.248-.72.45-1.548.524-2.319C.743 11.37 0 9.76 0 8c0-3.866 3.582-7 8-7s8 3.134 8 7-3.582 7-8 7a9.06 9.06 0 0 1-2.347-.306c-.52.263-1.639.742-3.468 1.105z"/>
</svg>

After

Width:  |  Height:  |  Size: 613 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 68 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 79 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 113 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 84 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 62 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 62 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 39 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 74 KiB

+21
View File
@@ -0,0 +1,21 @@
<svg xmlns:xlink="http://www.w3.org/1999/xlink" width="1266.1200469886633" xmlns="http://www.w3.org/2000/svg" id="screenshot" version="1.1" viewBox="-0.00002945408027699159 -0.0001327683537510893 1266.1200469886633 240.00014843559939" height="240.00014843559939" style="-webkit-print-color-adjust: exact;"><g id="shape-0d86b240-33f8-11ec-bc16-7b519797d558" width="1268" height="242" fill="none"><g id="shape-939dc8a0-33f8-11ec-bc16-7b519797d558"><g><path d="M14795 8655 c-472 -46 -855 -158 -1277 -372 -384 -195 -700 -454
-973 -798 -370 -468 -598 -1019 -691 -1675 -42 -299 -58 -819 -34 -1131 50
-637 207 -1176 477 -1634 415 -702 1027 -1168 1838 -1398 530 -151 1212 -178
1790 -72 782 144 1452 566 1915 1205 263 362 451 843 495 1261 l7 66 -953 5
c-644 4 -956 2 -961 -5 -3 -6 -9 -31 -13 -55 -17 -113 -95 -302 -174 -422 -56
-86 -187 -216 -277 -276 -199 -132 -398 -190 -694 -201 -277 -10 -504 36 -725
146 -461 230 -726 723 -786 1466 -15 190 -6 638 16 794 63 454 203 797 424
1046 212 238 488 376 831 416 143 16 386 7 513 -20 197 -42 402 -144 539 -269
123 -114 224 -276 281 -452 31 -94 41 -139 62 -272 l6 -38 956 0 955 0 -6 58
c-50 437 -133 735 -296 1067 -258 524 -661 930 -1195 1202 -365 186 -721 291
-1175 349 -175 22 -690 27 -875 9z M19190 5090 l0 -3490 945 0 945 0 0 1365 0
1365 1260 0 1260 0 0 -1365 0 -1365 940 0 940 0 0 3490 0 3490 -940 0 -940 0
0 -1365 0 -1365 -1260 0 -1260 0 0 1365 0 1365 -945 0 -945 0 0 -3490z M27365
5253 c-604 -1831 -1122 -3401 -1151 -3491 l-52 -162 1017 0 1017 0 179 592
c98 326 189 628 202 671 l24 77 1154 0 1154 0 24 -77 c13 -43 104 -345 202
-671 l179 -592 1017 0 1018 0 -14 43 c-19 57 -854 2589 -1639 4969 -355 1077
-646 1960 -646 1963 0 3 -582 5 -1293 5 l-1293 0 -1099 -3327z m2429 1390
c225 -747 677 -2250 682 -2268 l6 -25 -727 0 -727 0 6 23 c3 12 156 524 341
1137 185 613 338 1123 341 1133 4 12 16 17 39 17 23 0 35 -5 39 -17z M32960
7820 l0 -760 1050 0 1050 0 0 -2730 0 -2730 930 0 930 0 0 2730 0 2730 1050 0
1050 0 0 760 0 760 -3030 0 -3030 0 0 -760z" transform="translate(0, 0) scale(0.25, 0.25) translate(0.000000,960.000000) scale(0.100000,-0.100000)" fill="#ffffff" stroke="none"/></g></g></g></svg>

After

Width:  |  Height:  |  Size: 2.1 KiB

-7
View File
@@ -1,7 +0,0 @@
#!/bin/bash
version=$(cat VERSION)
docker build -t revoltchat/client:${version} . &&
docker tag revoltchat/client:${version} revoltchat/client:latest &&
docker push revoltchat/client:${version} &&
docker push revoltchat/client:latest
+49
View File
@@ -0,0 +1,49 @@
/* eslint-disable */
const { copy, remove, access, readFile, writeFile } = require("fs-extra");
const klaw = require("klaw");
let target = /__API_URL__/g;
let replacement = process.env.REVOLT_PUBLIC_URL;
let BUILD_DIRECTORY = "dist";
let OUT_DIRECTORY = "dist_injected";
if (typeof replacement === "undefined") {
console.error("No REVOLT_PUBLIC_URL specified in environment variables.");
process.exit(1);
}
(async () => {
console.log("Ensuring project has been built at least once.");
try {
await access(BUILD_DIRECTORY);
} catch (err) {
console.error("Build project at least once!");
return process.exit(1);
}
console.log("Determining if injected build already exists...");
try {
await access(OUT_DIRECTORY);
console.log("Deleting existing build...");
await remove(OUT_DIRECTORY);
} catch (err) {}
await copy(BUILD_DIRECTORY, OUT_DIRECTORY);
console.log("Processing bundles...");
for await (const file of klaw(OUT_DIRECTORY)) {
let path = file.path;
if (path.endsWith(".js")) {
let data = await readFile(path);
if (target.test(data)) {
console.log("Matched file", path);
let processed = data.toString().replace(target, replacement);
await writeFile(path, processed);
}
}
}
console.log("Complete.");
})();
+22
View File
@@ -0,0 +1,22 @@
const { readdirSync } = require("fs");
console.log(
"var locale_keys = " +
JSON.stringify([
...readdirSync("node_modules/dayjs/locale")
.filter((x) => x.endsWith(".js"))
.map((x) => {
v = x.split(".");
v.pop();
return v.join(".");
}),
...readdirSync("external/lang")
.filter((x) => x.endsWith(".json"))
.map((x) => {
v = x.split(".");
v.pop();
return v.join(".");
}),
]) +
";",
);
+30
View File
@@ -0,0 +1,30 @@
#!/bin/bash
# Build and publish release to production server
# Remote Server
REMOTE=revolt-de-nrb-1
# Remote Directory
REMOTE_DIR=/root/revite
# Post-install script
POST_INSTALL="pm2 restart revite"
# Assets
export REVOLT_SAAS=https://github.com/revoltchat/assets
# 1. Build Revite
yarn
yarn build
# 2. Archive built files
tar -czvf build.tar.gz dist
# 3. Upload built files
scp build.tar.gz $REMOTE:$REMOTE_DIR/build.tar.gz
rm build.tar.gz
# 4. Apply changes
ssh $REMOTE "cd $REMOTE_DIR; tar -xvzf build.tar.gz; rm build.tar.gz; $POST_INSTALL"
+39
View File
@@ -0,0 +1,39 @@
/* eslint-disable */
const { copy, remove, access } = require("fs-extra");
const { exec: cexec } = require("child_process");
const { resolve } = require("path");
let target = process.env.REVOLT_SAAS;
let branch = process.env.REVOLT_SAAS_BRANCH;
let DEFAULT_DIRECTORY = "public/assets_default";
let OUT_DIRECTORY = "public/assets";
function exec(command) {
return new Promise((fulfil, reject) => {
cexec(command, (err, stdout, stderr) => {
if (err) {
reject(err);
return;
}
fulfil({ stdout, stderr });
});
});
}
(async () => {
try {
await access(OUT_DIRECTORY);
if (process.argv[2] === "--check") return;
await remove(OUT_DIRECTORY);
} catch (err) {}
if (target) {
let arg = branch ? `-b ${branch} ` : "";
await exec(`git clone ${arg}${target} ${OUT_DIRECTORY}`);
await exec(`rm -rf ${resolve(OUT_DIRECTORY, ".git")}`);
} else {
await copy(DEFAULT_DIRECTORY, OUT_DIRECTORY);
}
})();
+106
View File
@@ -673,6 +673,7 @@ export const emojiDictionary = {
mandarin: "🍊",
lemon: "🍋",
banana: "🍌",
nanner: "🍌",
pineapple: "🍍",
mango: "🥭",
apple: "🍎",
@@ -876,6 +877,7 @@ export const emojiDictionary = {
train: "🚋",
bus: "🚌",
oncoming_bus: "🚍",
trolley: "🚎",
trolleybus: "🚎",
minibus: "🚐",
ambulance: "🚑",
@@ -1847,4 +1849,108 @@ export const emojiDictionary = {
england: "🏴󠁧󠁢󠁥󠁮󠁧󠁿",
scotland: "🏴󠁧󠁢󠁳󠁣󠁴󠁿",
wales: "🏴󠁧󠁢󠁷󠁬󠁳󠁿",
...{
"1984": "custom:1984.gif",
KekW: "custom:KekW.png",
amogus: "custom:amogus.gif",
awaa: "custom:awaa.png",
boohoo: "custom:boohoo.png",
boohoo_goes_hard: "custom:boohoo_goes_hard.png",
boohoo_shaken: "custom:boohoo_shaken.png",
cat_arrival: "custom:cat_arrival.gif",
cat_awson: "custom:cat_awson.png",
cat_blob: "custom:cat_blob.png",
cat_bonk: "custom:cat_bonk.png",
cat_concern: "custom:cat_concern.png",
cat_fast: "custom:cat_fast.gif",
cat_kitty: "custom:cat_kitty.png",
cat_lick: "custom:cat_lick.gif",
cat_not_like: "custom:cat_not_like.png",
cat_put: "custom:cat_put.gif",
cat_pwease: "custom:cat_pwease.png",
cat_rage: "custom:cat_rage.png",
cat_sad: "custom:cat_sad.png",
cat_snuff: "custom:cat_snuff.gif",
cat_spin: "custom:cat_spin.gif",
cat_squish: "custom:cat_squish.gif",
cat_stare: "custom:cat_stare.gif",
cat_steal: "custom:cat_steal.gif",
cat_sussy: "custom:cat_sussy.gif",
clueless: "custom:clueless.png",
death: "custom:death.gif",
developers: "custom:developers.gif",
fastwawa: "custom:fastwawa.gif",
ferris: "custom:ferris.png",
ferris_bongo: "custom:ferris_bongo.gif",
ferris_nom: "custom:ferris_nom.png",
ferris_pensive: "custom:ferris_pensive.png",
ferris_unsafe: "custom:ferris_unsafe.png",
flesh: "custom:flesh.png",
flooshed: "custom:flooshed.png",
flosh: "custom:flosh.png",
flushee: "custom:flushee.png",
forgor: "custom:forgor.png",
hollow: "custom:hollow.png",
john: "custom:john.png",
lightspeed: "custom:lightspeed.png",
little_guy: "custom:little_guy.png",
lmaoooo: "custom:lmaoooo.gif",
lol: "custom:lol.png",
looking: "custom:looking.gif",
marie: "custom:marie.png",
marie_furret: "custom:marie_furret.gif",
marie_smug: "custom:marie_smug.png",
megumin: "custom:megumin.png",
michi_above: "custom:michi_above.png",
michi_awww: "custom:michi_awww.gif",
michi_drag: "custom:michi_drag.gif",
michi_flustered: "custom:michi_flustered.png",
michi_glare: "custom:michi_glare.png",
michi_sus: "custom:michi_sus.png",
monkaS: "custom:monkaS.png",
monkaStare: "custom:monkaStare.png",
monkey_grr: "custom:monkey_grr.png",
monkey_pensive: "custom:monkey_pensive.png",
monkey_zany: "custom:monkey_zany.png",
nazu_sit: "custom:nazu_sit.png",
nazu_sus: "custom:nazu_sus.png",
ok_and: "custom:ok_and.gif",
owo: "custom:owo.png",
pat: "custom:pat.png",
pointThink: "custom:pointThink.png",
rainbowHype: "custom:rainbowHype.gif",
rawr: "custom:rawr.png",
rember: "custom:rember.png",
revolt: "custom:revolt.png",
sickly: "custom:sickly.png",
stare: "custom:stare.png",
tfyoulookingat: "custom:tfyoulookingat.png",
thanks: "custom:thanks.png",
thonk: "custom:thonk.png",
trol: "custom:trol.png",
troll_smile: "custom:troll_smile.gif",
uber: "custom:uber.png",
ubertroll: "custom:ubertroll.png",
verycool: "custom:verycool.png",
verygood: "custom:verygood.png",
wawafast: "custom:wawafast.gif",
wawastance: "custom:wawastance.png",
yeahokayyy: "custom:yeahokayyy.png",
yed: "custom:yed.png",
yems: "custom:yems.png",
michael: "custom:michael.gif",
charle: "custom:charle.gif",
sadge: "custom:sadge.webp",
sus: "custom:sus.webp",
chade: "custom:chade.gif",
gigachad: "custom:gigachad.webp",
sippy: "custom:sippy.webp",
ayame_heart: "custom:ayame_heart.png",
catgirl_peek: "custom:catgirl_peek.png",
girl_happy: "custom:girl_happy.png",
hug_plushie: "custom:hug_plushie.png",
huggies: "custom:huggies.png",
noted: "custom:noted.gif",
waving: "custom:waving.png",
},
};
-3
View File
@@ -1,3 +0,0 @@
<svg width="500" height="500" viewBox="0 0 500 500" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M290.947 209.226C290.947 227.612 280.944 238.648 259.595 238.648H224.247V180.471H259.601C280.944 180.471 290.947 191.837 290.947 209.226ZM133 133L167.222 180.583V367.669H224.254V279.094H237.93L286.63 367.689H351L296.969 274.746C312.054 271.066 325.434 262.333 334.893 249.993C344.353 237.652 349.325 222.444 348.986 206.885C348.986 166.096 320.306 133 262.938 133H167.222H133Z" fill="#FF4654" stroke="#FF4654" stroke-width="1.04306"/>
</svg>

Before

Width:  |  Height:  |  Size: 551 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.4 KiB

-29
View File
@@ -1,29 +0,0 @@
import call_join from "./call_join.mp3";
import call_leave from "./call_leave.mp3";
import message from "./message.mp3";
import outbound from "./outbound.mp3";
const SoundMap: { [key in Sounds]: string } = {
message,
outbound,
call_join,
call_leave,
};
export type Sounds = "message" | "outbound" | "call_join" | "call_leave";
export const SOUNDS_ARRAY: Sounds[] = [
"message",
"outbound",
"call_join",
"call_leave",
];
export function playSound(sound: Sounds) {
const file = SoundMap[sound];
const el = new Audio(file);
try {
el.play();
} catch (err) {
console.error("Failed to play audio file", file, err);
}
}

Some files were not shown because too many files have changed in this diff Show More