1372 Commits

Author SHA1 Message Date
Paul Makles
41f47a1a3f merge: pull request #1143 from Asraye/fix/member-sidebar 2025-09-07 13:09:46 +01:00
Paul Makles
c6130a19bf merge: pull request #1109 from Docteh/smaller3 2025-09-07 13:06:39 +01:00
Paul Makles
3c7cb2a222 merge: pull request #1141 from Asraye/fixemoji-pack 2025-09-07 13:05:41 +01:00
Paul Makles
2625b37f70 merge: pull request #1142 from Asraye/ignore-default-category 2025-09-07 13:04:47 +01:00
Paul Makles
ca3613725a merge: pull request #1137 from Asraye/master 2025-09-07 13:04:05 +01:00
Paul Makles
707d0a2d7d merge: pull request #1146 from Asraye/fix/attachment-actions 2025-09-07 13:01:20 +01:00
Asraye
33e686ab1b fix: correct open/download link behaviour 2025-09-04 04:23:09 +10:00
Asraye
f22e6fa9fe fix: correct open/download link behaviour 2025-09-04 04:22:20 +10:00
Asraye
2e2886f01b fix: filter out members without ViewChannel
Small fix to add a ViewChannel check when rendering members in the sidebar
2025-09-02 16:14:10 +10:00
Asraye
cbdeb1ba6d FIX: Ignore Default category (parity with beta)
Just a little change so people still using Revite don't need to see an ugly "Default" category.
2025-08-31 03:47:43 +10:00
Asraye
608b0a3ef2 FIX: Emoji pack now persists on reload 2025-08-29 21:55:56 +10:00
Asraye
59226959ba Add scroll on mobile 2025-08-21 16:40:51 +10:00
izzy
9d82873d2a chore: make sure role ordering updates are instantenous 2025-08-07 16:57:20 +02:00
izzy
56af4b9423 chore: add default.nix 2025-08-07 12:04:45 +02:00
izzy
cce94d2e0e chore: bump lang submodule 2025-08-07 12:03:54 +02:00
izzy
8ba7a769b3 merge: remote-tracking branch 'origin/role-reordering' 2025-08-07 12:03:35 +02:00
Paul Makles
92e84309ec merge: pull request #1123 from Asraye/patch 2025-08-04 18:03:53 +01:00
Paul Makles
dd5548c5e6 merge: pull request #1126 from solunareclipse1/master 2025-08-04 17:44:49 +01:00
Declan Chidlow
e7d7420d5b feat: Finish crappy role ranking implementation that works but is full of sin 2025-08-04 22:28:24 +08:00
izzy
ee3b54b373 docs: shorten age gate message 2025-07-25 20:34:45 +01:00
izzy
3dc9f6b045 feat: geoblock age restricted content
https://www.ofcom.org.uk/online-safety/protecting-children/online-age-checks-must-be-in-force-from-tomorrow
https://petition.parliament.uk/petitions/722903
https://wikimediafoundation.org/news/2025/07/17/wikimedia-foundation-challenges-uk-online-safety-act-regulations/
2025-07-25 19:49:00 +01:00
izzy
2a1f7cb8bb chore: bump lang submodule 2025-07-25 19:48:16 +01:00
solunareclipse1
1136e8e31b fix: Make animated WebP emotes properly animate
Signed-off-by: solunareclipse1 <sol@solunareclipse1.net>
2025-07-10 23:41:57 -05:00
Asraye
5337031359 Update EmbedInvite.tsx 2025-06-12 16:26:09 +10:00
Asraye
670c4e5f6e Update EmbedInvite.tsx 2025-06-12 15:46:07 +10:00
Declan Chidlow
20c8dde197 feat: Add role re-ordering
Doesn't currently update order in UI
2025-06-12 12:33:39 +08:00
Declan Chidlow
ddaca7b0c4 feat: remove legacy role ranking 2025-06-12 09:59:57 +08:00
Asraye
94fab0852f Ugly ahh patch 2025-06-11 18:08:33 +10:00
Kyle Kienapfel
2c41c5789c feat: drastically shrink the docker image
Right now the generated docker container contains a copy of the development environment used to compile the revite interface.
This PR loses about 440MB compressed, or around 800MB uncompressed from the final image size. node in the final image has been bumped from 16 to 24, sirv-cli, and the dependencies for inject.js have been updated
2025-05-18 01:59:51 -07:00
Kyle Kienapfel
184754ca0f chore: have GHA generate ARM64 image, add description to images
The box where githubs container website complains about a lack
a description is really big. Okay its not important.
2025-05-18 01:29:54 -07:00
Kyle Kienapfel
6bacbfbb56 fix: move disabled-js.svg to proper location 2025-05-18 01:29:17 -07:00
Paul Makles
9e293e0a30 merge: pull request #1108 from Zomatree/feat/reset-bot-password 2025-05-17 13:27:04 +01:00
Paul Makles
d957fbd5dc merge: pull request #1103 from Docteh/automation 2025-05-17 13:26:33 +01:00
Zomatree
0a8b70c8ed chore: update submodule 2025-05-17 13:10:11 +01:00
Zomatree
07d74a4ef4 feat: reset bot token button 2025-05-17 12:59:39 +01:00
Kyle Kienapfel
38ab8a7801 chore: update link to contribution guide in PR template
[skip ci]
2025-05-12 16:14:26 -07:00
Paul Makles
bccf1eebae merge: pull request #1102 from Docteh/docky 2025-05-12 11:16:25 +01:00
Kyle Kienapfel
135dbe2da4 fix: Remove caching from GitHub actions to allow compilation of docker container
The GitHub action `actions/cache@v2` is no longer available. Last successful docker build was 2024-11-15

I've removed the caching, as merely upgrading the version of the cache script did not fix the problem. Since the revoltchat/revite is deprecated I believe that the lack of caching in builds shouldn't be an undue burden on GitHub. Only 9 commits have been made here since builds stopped working

The logic for publishing Docker containers has been shuffled so that the build is executed only once when publishing.

I have tested building to GitHub's container registry, but not to dockerhub, I do not forsee any issues there.

Main reason for doing this, is that a fix for attachment downloads (https://github.com/revoltchat/revite/pull/1067) is not easily available to anyone running self-hosted.
2025-05-11 13:21:08 -07:00
izzy
f95d3d27d8 chore: remove the extra string 2025-05-09 08:48:41 +01:00
izzy
3d41a016cf fix: login error messages not rendering properly 2025-05-09 08:42:58 +01:00
Paul Makles
f9c2fcec56 chore: bump language submodule 2025-01-29 13:42:20 +00:00
Paul Makles
18243f0207 chore: always target blank for download button 2025-01-29 13:41:54 +00:00
Declan Chidlow
7750276554 fix: remove /download from attachments (#1067) 2025-01-29 13:39:17 +00:00
Declan Chidlow
97a6c7d399 fix: remove ability for owners to leave server from ServerInfo modal (#1070)
Co-authored-by: Declan Chidlow <git.rh92c@8shield.net>
2025-01-29 13:39:03 +00:00
Paul Makles
ac2beaf549 chore: update URL to FAQ 2024-12-17 17:35:55 +00:00
Amy
bf951e59ee fix: appending mention to draft content (#1065) 2024-12-17 17:29:57 +00:00
Paul Makles
03f9f7673d merge: pull request #1050 from JackDotJS/fix-blank-category-name 2024-12-17 17:29:16 +00:00
Paul Makles
478d375125 fix: add try-catch block around md renderer
fix: update recursive match to block numbered lists
2024-11-15 13:09:40 +00:00
Paul Makles
cb6296a96e chore: update languages submodule 2024-11-06 09:51:44 +00:00
Paul Makles
48a9d7d370 chore: update donation links 2024-11-06 09:51:35 +00:00
Paul Makles
5de18192b2 chore: delete .env.production 2024-10-27 22:31:42 +00:00
Paul Makles
ef4218d12b merge branch: 'insert/member-subscriptions' 2024-10-27 22:00:22 +00:00
Paul Makles
df4f6578f7 feat: add session token to file uploads 2024-10-27 21:59:16 +00:00
JackDotJS
28c897ac3d fix(settings): fixed inability to rename categories when they have blank names
Signed-off-by: JackDotJS <jackdotjs@proton.me>
2024-10-27 11:14:04 -07:00
Paul Makles
86e8424e46 merge: pull request #1035 from DeclanChidlow/server-leave-mobile 2024-10-16 12:53:00 +01:00
Declan Chidlow
5e66bc8dc4 fix: Add ability to leave server through server info screen 2024-10-15 20:23:36 +08:00
Paul Makles
00e6ead9bd chore: bump revolt.js submodule 2024-07-27 15:18:23 +02:00
Paul Makles
0f0808aa56 feat: add report button to user profiles 2024-06-23 12:23:42 +01:00
Paul Makles
c972e6813f fix: should always call subscribe 2024-06-19 18:16:30 +01:00
Paul Makles
61304f18c2 feat: implement support for Subscribe event 2024-06-19 17:40:59 +01:00
Paul Makles
2722d0a854 chore: remove this so people don't click it 2024-06-09 13:57:36 +01:00
Paul Makles
dfd96c449a chore: synchronise locales 2024-06-09 13:55:52 +01:00
Paul Makles
9eca58dda1 merge: pull request #967 from revoltchat/rexo/fix/remove-deprecated-emoji 2024-06-09 13:51:11 +01:00
Sophie L
6cf0ef95ad fix: remove (broken/deprecated) built-in custom emoji
these have been broken for a while due to the data loss when insert's server failed, and were also deprecated upon the addition of custom server emoji.

they were meant to be temporary anyway, and other clients (including the new web app) don't implement them, so let's remove them to avoid confusion.
2024-05-16 15:29:53 +01:00
insertish
d3661170a4 ci: synced local '.github/workflows/triage_pr.yml' with remote 'workflows/triage_pr.yml'
[skip ci]
2024-03-28 13:37:37 +00:00
Paul Makles
5b6546b761 fix: allow retrying sending files 2024-03-15 19:50:17 +00:00
Sophie L
c25ecc12b2 chore: rm mirroring script 2024-03-13 23:51:56 +00:00
Paul Makles
60fdb5c091 docs: legacy release procedure 2024-03-13 23:41:54 +00:00
Bob Bobs
472e6e07b5 fix: only delete session if error is Unauthorized 2024-03-13 22:55:12 +00:00
Paul Makles
15e8e10151 merge: pull request #864
fix(home): inconsistent discover button height
2023-11-11 19:16:59 +00:00
Paul Makles
782a9b54ba chore: update dest directory 2023-10-04 19:22:54 +01:00
Paul Makles
f52ede1c21 chore: bump languages submodule 2023-10-04 19:18:57 +01:00
Lea
7fef354fe6 fix: appeal to monkey brain 2023-10-04 19:13:07 +01:00
Lea
d4e0f19f95 feat: admin panel link for system message user 2023-10-04 19:13:07 +01:00
wangdejiang
fe63c6633f chore: resolve ts-to-JSX type hints 2023-08-25 18:44:57 +01:00
Sophie L
be3565871c feat: translate account management options 2023-08-25 18:44:34 +01:00
Paul Makles
bc604c0157 chore: bump language submodule 2023-08-01 23:10:06 +01:00
Paul Makles
8c183b530b feat: add admin shortcuts for convenience 2023-08-01 23:09:50 +01:00
Paul Makles
9bbc22b091 chore: update lang submodule; disable typechecking for docker build 2023-07-06 19:01:29 +01:00
Paul Makles
0d5ffb4df8 chore: update alerts to use new health service 2023-07-06 19:00:30 +01:00
Paul Makles
9d83d7cc1c chore: bump language submodule 2023-07-02 08:46:57 +01:00
FluffyCookie000
534b9227de fix: usernames are evolving blog post link (#895) 2023-07-02 08:46:34 +01:00
Paul Makles
5363ff2572 feat: raise katex limit to 512, upgrade dependencies 2023-06-18 10:22:01 +02:00
Paul Makles
3f1c2be709 chore: update language submodule 2023-06-17 16:11:32 +01:00
Paul Makles
04027658e6 feat: add more validation to KaTeX in markdown 2023-06-17 16:11:22 +01:00
Paul Makles
f1594a7b36 chore: show error on modify account 2023-06-15 18:43:36 +01:00
Paul Makles
fa0fcedce5 chore: we cooking now frfr 2023-06-13 22:04:14 +01:00
Paul Makles
70f5e6fc7e chore: monkey patch ulid parse error 2023-06-12 09:58:13 +01:00
Paul Makles
9b9ec867da chore: update typing indicator to at least use display name 2023-06-12 09:52:00 +01:00
Paul Makles
fead4ca879 feat: always show link warning for masked links 2023-06-12 09:51:17 +01:00
Paul Makles
449eee006d fix: copy full username from user profile 2023-06-11 22:26:56 +01:00
Paul Makles
cf691a8462 fix: use display name where available for friends 2023-06-11 22:22:52 +01:00
Paul Makles
c5ca579c95 chore: add helpful hint for new username format 2023-06-11 19:00:34 +01:00
Paul Makles
636367faea chore: strip emoji picker experiment
chore: use discrim
2023-06-11 18:36:07 +01:00
Paul Makles
f20ada7c49 feat: add changelog entry in preparation for update 2023-06-11 17:31:22 +01:00
Paul Makles
75d07ffe0f chore: move badges to top half of user profile 2023-06-11 13:02:38 +01:00
Paul Makles
5b600bec20 feat: back port discriminators and display names 2023-06-11 12:44:05 +01:00
temptrash
86218a7272 feat: swap pomelo usernames for discriminators 2023-06-10 15:01:12 +02:00
Paul Makles
9bc052ea87 chore: don't update the default .env file 2023-06-03 19:29:50 +01:00
Paul Makles
1862db89a3 feat: add support for webhooks
fix: removing reactions crashes client
2023-06-03 19:29:14 +01:00
Paul Makles
00708bb8f4 feat: include message context (if any) when reporting user 2023-05-31 12:06:31 +01:00
Paul Makles
7e87265ccb chore: update lang submodule 2023-05-31 11:50:35 +01:00
kate
d55d86aa3c fix: comment out link for nightly desktop build (#882) 2023-05-06 19:19:45 +01:00
Paul Makles
c426b6c184 chore: bump components and lang submodules 2023-04-21 21:12:20 +01:00
Paul Makles
4d58ff06f3 fix: weird typing errors that cropped up 2023-04-21 21:05:29 +01:00
Paul Makles
9f9902ffb1 fix: reset member sidebar fetch status when we become ready 2023-04-21 20:52:23 +01:00
Ashley
e8989fcffa add a blank space to re run CI 2023-03-22 18:40:24 +03:00
Ashley
06dea9300c fix inconsonant height in buttons 2023-03-20 18:11:10 +03:00
Paul Makles
c13896244c chore: update components submodule 2023-03-18 22:22:02 +00:00
Paul Makles
e17e556ee6 chore: add notice to emoji menu 2023-03-14 21:57:47 +00:00
Paul Makles
7441569cfa chore: enable emoji picker by default 2023-03-14 21:48:19 +00:00
Paul Makles
eff1de7c78 chore: add notices throughout app about development 2023-03-14 21:48:13 +00:00
Paul Makles
b733e13ec2 merge: branch 'master' of https://github.com/revoltchat/revite 2023-03-14 21:16:16 +00:00
Declan Chidlow
e68ceac4f6 fix: overflow management in voice menus (#849) 2023-03-14 21:16:05 +00:00
Paul Makles
3f536589e5 chore: update languages submodule 2023-03-14 21:15:04 +00:00
Paul Makles
21175dffda fix: check if content actually exists
chore: update lang submodule
2023-02-24 13:53:56 +01:00
Paul Makles
5b31ce494e merge: remote-tracking branch 'origin/production' 2023-02-23 20:08:51 +01:00
Paul Makles
056ec623cb chore: move date forwards 2023-02-23 19:12:26 +01:00
Paul Makles
ff0330ec1b feat(modal): add report success modal (also allows blocking user) 2023-02-23 17:52:47 +01:00
Paul Makles
58f35a2813 feat: add changelog entry for in-app reporting 2023-02-22 18:34:35 +01:00
Paul Makles
a00d554f80 feat: render shadows and markdown in changelogs 2023-02-22 18:33:38 +01:00
Paul Makles
7f911f5d2c chore: always build highmem 2023-02-22 17:59:38 +01:00
Paul Makles
122f047c85 fix(modal): trigger on keydown instead of keyup to prevent interference 2023-02-22 17:59:26 +01:00
Paul Makles
7d544c82ab feat: add reporting UI 2023-02-22 17:13:43 +01:00
Paul Makles
46eec5a132 fix: do not trigger modal submission on <select> 2023-02-22 17:00:47 +01:00
Paul Makles
de85527cd8 chore: bump submodules 2023-02-22 15:01:17 +01:00
kate
6062a361f1 fix: allow dash char in autocorrect content validation (#838) 2023-02-05 13:45:32 +00:00
Paul Makles
95d4f61d7f feat: support Streamable embeds 2023-01-29 17:34:07 +00:00
Paul Makles
34ce1d1a86 chore: bump submodule dependencies 2023-01-29 17:33:42 +00:00
insertish
a9f23fe0e3 ci: synced local '.github/workflows/triage_pr.yml' with remote 'workflows/triage_pr.yml'
[skip ci]
2023-01-24 19:43:32 +00:00
insertish
6c08ccff52 ci: synced local '.github/workflows/triage_issue.yml' with remote 'workflows/triage_issue.yml'
[skip ci]
2023-01-24 19:43:32 +00:00
Leda
2f43a2c32d fix: category title input reverts to span on empty string (#699)
Fixes https://github.com/revoltchat/revite/issues/693
2023-01-24 17:59:31 +00:00
cheneyni-451
e34c5c99fe fix(ui): add margin to delete role button (#802)
Co-authored-by: Cheney Ni <cheneyni@umich.edu>
2023-01-24 17:56:50 +00:00
kate
89b3c9c098 fix: dash ("-" char) in emoji names (#816) 2023-01-24 17:55:17 +00:00
Sophie L
dadf0b6329 fix: update draft check (#830) 2023-01-24 17:55:04 +00:00
Lea
fcf6812151 feat: allow rolt.chat for relative navigation (#814) 2022-12-05 14:47:04 +00:00
Lea
09be8c9e4f feat: list custom emojis in autocomplete (#809)
* feat: list custom emojis in autocomplete

* fix: properly align emoji name in autocompletion
2022-12-05 14:44:47 +00:00
kate
6767ea1853 fix(ci): typing issues; broken submodules (#826)
* Remove broken submodules

* Fix yarn typecheck

* Add build:deps before typecheck to fix missing dependencies

* fix: minor linting nitpick

Co-authored-by: Sophie L <beartechtalks@gmail.com>
2022-12-05 14:42:43 +00:00
Paul Makles
9be4afe241 fix: allow setting custom remote for publish 2022-11-06 13:26:41 +00:00
Paul Makles
7e89dcfb13 chore: add notice for iCloud users 2022-11-06 13:21:06 +00:00
Paul Makles
3836156f3d merge: branch 'master' into production 2022-10-23 21:09:49 +01:00
Paul Makles
9f3e47d327 chore: remove captcha from login form 2022-10-23 21:08:36 +01:00
Paul Makles
e29678a6a3 fix: add load suspense on master branch 2022-10-23 21:06:53 +01:00
Paul Makles
40d3356c1b merge: branch 'master' into production 2022-09-20 19:12:25 +01:00
Paul Makles
eb4670ec43 revert: "fix: display server identity (if present) in typing indicator" (#789) 2022-09-20 19:11:45 +01:00
Paul Makles
df20ab7407 merge: branch 'master' into production 2022-09-20 18:44:51 +01:00
Paul Makles
22b2bc0a5e fix: use new lightspeed embed URL 2022-09-20 18:31:12 +01:00
Paul Makles
2a12b79ef7 chore: bump lang submodule 2022-09-20 18:31:05 +01:00
4444dogs
9b6abe374a feat: add seasonal halloween theme (#784)
Co-authored-by: Sophie L <beartechtalks@gmail.com>
2022-09-20 18:26:20 +01:00
Compey
b649b2a923 Use rvlt.gg instead of app.revolt.chat/invite for invites (#783) 2022-09-20 18:25:14 +01:00
Ed L
b64c316dc9 chore: lay groundwork for masquerades 2022-09-20 18:24:59 +01:00
Ed L
bfeefb4c73 feat: use Button component for dev page, linting 2022-09-20 18:24:59 +01:00
Ed L
734fa06425 chore: use ios icon for sessions, update links 2022-09-20 18:24:59 +01:00
Ed L
5a738b7c68 fix: grammar, update command for dev mode 2022-09-20 18:24:59 +01:00
Ed L
f03a88bd78 fix: move leave/delete server option to the bottom 2022-09-20 18:24:59 +01:00
Ed L
e53059ee08 fix: let users message/hide mutuals tab for bots 2022-09-20 18:24:59 +01:00
Ed L
099f7a3116 feat: show role id 2022-09-20 18:24:59 +01:00
Ed L
d2264a2a43 fix: use --monospace-font 2022-09-20 18:24:59 +01:00
Ed L
ef26f67c8e chore: deduplicate imports 2022-09-20 18:24:59 +01:00
Ed L
5b7ec655eb chore: bump deps, remove old login background 2022-09-20 18:24:59 +01:00
Ed L
a381ba6320 feat: revamp onboarding 2022-09-20 18:24:59 +01:00
Jan
4f2fc267f9 feat: display account age next to join messages (#750) 2022-09-20 18:23:06 +01:00
Leda
2687f98952 fix: display server identity (if present) in typing indicator (#703) 2022-09-20 18:22:25 +01:00
Paul Makles
0a27632f05 chore: bump components dep 2022-09-19 10:53:36 +01:00
Paul Makles
1621e3b17d merge: branch 'master' into production 2022-09-18 12:32:36 +01:00
Paul Makles
6b9106c975 fix: correctly match protocols 2022-09-18 12:32:29 +01:00
Paul Makles
e6ad6a552e feat: add focus mode 2022-09-18 12:05:48 +01:00
Paul Makles
7ba2388de4 merge: branch 'master' into production 2022-09-18 10:24:23 +01:00
Paul Makles
47bfaad508 fix: sanitise links passed to react-router
fix: flip protocol sanitisation to use a whitelist
2022-09-18 10:24:15 +01:00
Paul Makles
1a9a2786bb merge: branch 'master' into production 2022-09-17 13:02:15 +01:00
Paul Makles
61a06c3f1a fix: re-write blockquote regex to include lists 2022-09-17 13:01:02 +01:00
Paul Makles
b42c24295f fix: null assertion has a chance of throwing error here 2022-09-17 10:50:26 +01:00
Paul Makles
8fd6963f38 merge: branch 'master' into production 2022-09-16 18:47:09 +01:00
Paul Makles
71e689ece3 chore: update language defns 2022-09-16 18:46:54 +01:00
Paul Makles
7bc806ec63 feat: add indication if language is not fully translated
chore: update language definitions
2022-09-16 14:55:55 +01:00
Paul Makles
1016d80e56 merge: branch 'master' into production 2022-09-08 21:28:25 +01:00
Paul Makles
eab5ed033f merge: branch 'master' of https://github.com/revoltchat/revite 2022-09-08 21:24:29 +01:00
Paul Makles
263d97853a merge: branch 'master' into production 2022-09-08 17:22:00 +01:00
Paul Makles
ff57dbddba fix: correctly specify headers when removing MFA 2022-09-08 11:19:26 +01:00
Paul Makles
de207f0fa7 chore: add revolt.js as a submodule 2022-09-03 14:06:29 +01:00
Paul Makles
1c69756383 merge: branch 'master' into production 2022-09-03 09:19:04 +01:00
Paul Makles
02eb7d83f6 feat: use wxp logo for Windows 7 2022-09-03 09:18:56 +01:00
Paul Makles
14037ef0c7 merge: branch 'master' into production 2022-09-02 16:29:27 +01:00
Paul Makles
2c50d9be6b chore: disable list behaviour if line starts with plus 2022-09-02 16:29:20 +01:00
Paul Makles
594ef00d09 feat: add ability to leave groups / servers silently 2022-09-02 16:20:25 +01:00
Paul Makles
8608257066 merge: branch 'master' into production 2022-09-02 14:42:47 +01:00
Paul Makles
7626a1f461 fix: remove stray text 2022-09-02 14:40:17 +01:00
Paul Makles
83ca6f489e feat: add new reaction button to list 2022-09-02 14:35:16 +01:00
Paul Makles
b7a10bb9ab fix: ensure blockquotes are broken 2022-09-02 14:17:56 +01:00
Paul Makles
f6be6d7cf8 feat: change emojis page from grid to list 2022-09-02 14:17:42 +01:00
Paul Makles
dfbba41be4 feat: redesign emoji uploader 2022-09-02 13:42:34 +01:00
Paul Makles
88bc8f93b6 merge: branch 'master' into production 2022-09-01 14:04:27 +01:00
Paul Makles
024fc6853b chore: bump language definitions 2022-09-01 14:04:09 +01:00
Paul Makles
5bd2d24c56 feat: display timeout status on client 2022-09-01 14:00:43 +01:00
Paul Makles
5c50bed33d chore: update language definitions 2022-08-18 12:56:26 +02:00
Paul Makles
07fd598bf9 fix: don't collapse whitespace / newlines 2022-08-18 12:56:21 +02:00
Paul Makles
a234e3a582 chore: update form components to be more reliable 2022-08-15 20:20:25 +02:00
Paul Makles
a77f2f9b4d chore: remove stray log 2022-08-15 19:37:29 +02:00
Paul Makles
787d5840d2 chore: hide discovery button if not pointing to Revolt 2022-08-15 19:32:02 +02:00
Paul Makles
353507e17a fix: build components during build 2022-08-09 12:52:20 +02:00
Paul Makles
1b41ca03d9 chore: revert back to yarn portals 2022-08-09 12:40:03 +02:00
Paul Makles
3ca2b12dfc chore: add @revoltchat/ui as a submodule 2022-08-09 12:36:16 +02:00
Paul Makles
ff41219cf4 Merge branch 'master' into production 2022-08-08 16:08:12 +01:00
Sophie L
7cf7402cea fix: styling fixes (#721) 2022-08-08 16:06:21 +01:00
Leda
c2a729a5e0 fix: render markdown inside/after HTML tags
fixes #733
2022-08-08 16:02:57 +01:00
Alice Harris
e9977b2a76 fix: large images in website previews escape embed box 2022-08-08 16:02:04 +01:00
Paul Makles
f76e53649b Merge branch 'master' into production 2022-08-08 15:30:21 +01:00
Paul Makles
a4b8fb5fc2 chore: update strings and permission lists 2022-08-08 15:30:10 +01:00
Paul Makles
c9264e1a49 Merge branch 'master' into production 2022-08-08 15:22:17 +01:00
Paul Makles
9a5653bc02 chore: update lang submodule 2022-08-08 15:22:03 +01:00
Paul Makles
50fd3b2d11 chore: clean up repository 2022-08-08 15:21:46 +01:00
Paul Makles
58f294b790 feat: add reaction button to overlay 2022-08-08 15:15:20 +01:00
Paul Makles
e1d3ad1675 chore: update language submodule 2022-08-08 14:36:34 +01:00
Paul Makles
b2e0b5a035 merge: branch 'master' into production 2022-07-31 12:20:41 +02:00
Paul Makles
11a17feaae chore: handle all updates to messages 2022-07-31 12:20:25 +02:00
Paul Makles
ca69a0b4c5 fix: remove eye_speech_bubble (cursed) 2022-07-31 11:38:22 +02:00
Paul Makles
11e8cd652d merge: branch 'master' into production 2022-07-30 12:30:07 +02:00
Paul Makles
6e70b55d02 chore: update lang 2022-07-30 12:29:50 +02:00
Paul Makles
dedc1e0666 feat: add corresponding UI for interactions reactions 2022-07-30 12:23:56 +02:00
Paul Makles
9a70bb0eff merge: branch 'master' into production 2022-07-18 13:07:04 +01:00
Paul Makles
791f4dfd89 chore: bump lang submodule 2022-07-18 13:04:03 +01:00
Paul Makles
3fbf315587 fix: add LoadSuspense around verification page 2022-07-18 13:02:40 +01:00
Paul Makles
9807ef9c9a fix: match optional whitespace in quote regex 2022-07-18 12:59:17 +01:00
Paul Makles
96017c5f33 merge: branch 'master' into production 2022-07-16 15:18:06 +01:00
Paul Makles
084c90613f feat: add reactions 2022-07-16 15:17:02 +01:00
Paul Makles
dbe8a64ffc fix: pass-through to color / unset if no gradient 2022-07-16 12:59:59 +01:00
Paul Makles
176c7883c8 merge: branch 'master' into production 2022-07-15 21:51:24 +01:00
Paul Makles
73fd35bf46 feat: add change group ownership / text system msg 2022-07-15 21:47:32 +01:00
Paul Makles
1a0b4b5703 feat: render masquerade colour 2022-07-15 21:38:11 +01:00
Paul Makles
62a427b7a7 feat: add separator to recovery codes when copying 2022-07-15 16:41:02 +01:00
Paul Makles
64e7038532 chore: bump revolt.js dependency 2022-07-15 16:25:51 +01:00
Paul Makles
7e88e733d5 feat: change colour rendering 2022-07-15 16:17:15 +01:00
Paul Makles
70bda88383 merge: branch 'master' into production 2022-07-14 17:14:12 +01:00
Paul Makles
f3822b625d feat: make emoji picker close on select / interact elsewhere 2022-07-14 17:13:51 +01:00
Paul Makles
df1b39256d feat: show message that user can't message another 2022-07-14 15:06:37 +01:00
Paul Makles
c9066aba2d merge: branch 'master' into production 2022-07-13 13:06:47 +01:00
Paul Makles
fc8cfa5419 fix: actually log out invalidate sessions 2022-07-13 13:05:43 +01:00
Paul Makles
3204d176de merge: branch 'master' into production 2022-07-13 12:57:07 +01:00
Paul Makles
e3a526e2d7 fix: type errors with markdown content 2022-07-13 12:57:01 +01:00
Paul Makles
57887dc86f merge: branch 'master' into production 2022-07-13 12:53:58 +01:00
Paul Makles
4f3f6e26cf feat: convert html AST nodes to text 2022-07-13 12:32:39 +01:00
Paul Makles
2214efe1bc chore: hide emoji settings if no perm 2022-07-12 14:21:44 +01:00
Paul Makles
030c211230 fix: internal links would not redirect properly 2022-07-12 14:15:53 +01:00
Paul Makles
7f6db77c4f chore: change quote depth limit to 5 from 3 2022-07-11 15:33:57 +01:00
Paul Makles
924448dc2c fix: remove html entities using AST plugin 2022-07-11 15:33:34 +01:00
Paul Makles
77c3f8d1bc chore: bump @revoltchat/ui to 1.0.76 2022-07-10 15:30:34 +01:00
Paul Makles
80943afcf6 fix: don't hide settings button behind bottom nav
fixes #691
2022-07-10 14:37:11 +01:00
Paul Makles
f792888268 chore: bump UI library 2022-07-10 14:27:00 +01:00
Paul Makles
aad9a30266 fix: correctly pass-through preview URLs 2022-07-10 13:57:47 +01:00
Paul Makles
0ec7e5e116 feat: try to load any 'valid' emoji 2022-07-10 13:53:19 +01:00
Paul Makles
2b65e98cd3 merge: pull request #730 from revoltchat/feat/emojis 2022-07-09 17:56:49 +01:00
Paul Makles
448722225e fix: change quote matching Regex 2022-07-09 17:55:13 +01:00
Paul Makles
cb6d5a3828 feat: update emoji picker; move settings bhnd expr 2022-07-09 17:53:40 +01:00
Paul Makles
354c22108e feat: it's morbing time 2022-07-08 18:38:39 +01:00
Paul Makles
ec96dde694 feat: render custom emoji 2022-07-08 17:14:15 +01:00
Paul Makles
445e9537d4 merge: remote-tracking branch 'origin/master' into feat/emojis 2022-07-08 17:02:39 +01:00
Paul Makles
c12d40d0da fix: correct mention styling 2022-07-08 16:58:21 +01:00
Paul Makles
7e20d5029e fix: underline anchor; prevent jitter on render 2022-07-08 15:45:16 +01:00
Paul Makles
262b931810 fix: actually render HTML out instead of obliterating it 2022-07-08 15:36:18 +01:00
Paul Makles
4a85dd69cf fix: limit maximum quote depth to 3 2022-07-08 15:19:16 +01:00
Paul Makles
34bb2bbc13 feat: switch to remark from markdown-it (big)
* replaces old mentions with avatar and display name
* renders things directly through React
* replaces most of the markdown hacks with custom AST components
* adds a tooltip to codeblock "copy to clipboard"
2022-07-08 14:24:48 +01:00
Paul Makles
b541301cb1 feat: add test emoji page 2022-07-07 17:33:33 +01:00
Paul Makles
a766183f01 feat: port CreateBot to modal form
fixes #723
2022-07-06 13:15:33 +01:00
Paul Makles
47e3d0bdb5 chore: update README to reflect project changes [skip ci] 2022-07-06 13:09:17 +01:00
Paul Makles
c51b024329 chore(refactor): delete context/revoltjs folder 2022-07-06 13:08:03 +01:00
Paul Makles
e37140dcd0 chore: minor styling change for clipboard modal 2022-07-06 12:50:38 +01:00
Paul Makles
705dcd001b feat: add correct submit buttons to form modals 2022-07-06 12:49:24 +01:00
Paul Makles
f9c6f5cd9d chore: delete intermediate 2022-07-05 21:13:42 +01:00
Paul Makles
f7ff7d0dfe feat: port CreateCategory / fix Channel 2022-07-05 20:55:24 +01:00
Paul Makles
29fb8e0064 feat: port CreateChannel modal 2022-07-05 20:37:40 +01:00
Paul Makles
4009b19f9c feat: port BanMember, KickMember modals 2022-07-05 20:25:00 +01:00
Paul Makles
ec347f585d feat: port CreateInvite 2022-07-05 20:11:32 +01:00
Paul Makles
160d71684f feat: port DeleteMessage and Confirmation 2022-07-05 18:46:13 +01:00
Paul Makles
79c90c1b00 feat: port input modals to new system 2022-07-05 17:53:41 +01:00
Paul Makles
23dec32476 feat(refactor): partially rewrite appearance settings 2022-07-05 15:49:08 +01:00
Paul Makles
a24e027a48 chore: clean up picker / prism imports 2022-07-04 19:04:27 +01:00
Paul Makles
6e70937825 chore: turn emoji picker into an experiment 2022-07-01 19:32:27 +01:00
Paul Makles
e4b61819d3 feat: mogus vented 2022-07-01 19:23:50 +01:00
Paul Makles
6bf58e8379 feat: test emoji picker design 2022-07-01 18:09:53 +01:00
Paul Makles
5dfe72c093 merge: pull request #717 from revoltchat/chore/client-fsm 2022-07-01 15:12:04 +01:00
Paul Makles
c4ac7a1b6d Merge branch 'master' into chore/client-fsm 2022-07-01 15:11:39 +01:00
Paul Makles
401b2d4990 feat: port UserProfile, Onboarding, CreateBot to legacy 2022-06-30 20:39:00 +01:00
Paul Makles
0d3f29515e feat: port ImageViewer 2022-06-30 19:34:04 +01:00
Paul Makles
1664aaee15 feat: add ServerInfo, port ChannelInfo 2022-06-30 19:06:49 +01:00
Paul Makles
8501e33103 chore(refactor): move RequiresOnline into controllers 2022-06-29 17:33:23 +01:00
Paul Makles
a2a52e237d chore(refactor): remove Notifications component 2022-06-29 17:31:59 +01:00
Paul Makles
05516c5823 fix: hide push notifications on electron app 2022-06-29 16:46:25 +01:00
Paul Makles
45692999bf chore(refactor): remove SyncManager 2022-06-29 16:41:26 +01:00
Paul Makles
1fcb3cedc1 feat: consistent authentication flow
fix: missing suspense on login
feat: re-prompt MFA if fail on login
2022-06-29 16:27:57 +01:00
Paul Makles
0261fec676 chore: deprecate RevoltClient context 2022-06-29 16:02:35 +01:00
Paul Makles
0e86f19da2 chore(doc): document client controller 2022-06-29 14:49:48 +01:00
Paul Makles
31220db8fe feat: fully working onboarding on login 2022-06-29 11:48:48 +01:00
Paul Makles
66ae518e51 feat: make login functional again 2022-06-29 10:52:42 +01:00
Paul Makles
8d505c9564 chore: clean up FSM code 2022-06-29 10:28:24 +01:00
Paul Makles
5f2311b09c feat: implement useClient from client controller 2022-06-28 19:59:58 +01:00
Paul Makles
ce88fab714 feat: get fsm to a working testing state 2022-06-28 13:49:50 +01:00
Paul Makles
b53d3bce13 fix: don't display date on ("new") message divider 2022-06-28 13:23:45 +01:00
Paul Makles
c997286340 patch: temporarily fix issue with public invites 2022-06-28 13:22:10 +01:00
Paul Makles
80f4bb3d98 feat: build finite state machine for sessions 2022-06-28 13:20:08 +01:00
Paul Makles
1cfcb20d4d chore(refactor): rename context/modals to controllers/modals 2022-06-27 17:56:06 +01:00
Paul Makles
95ebd935ed fix: duct-tape fix the bot edit issues
fixes #629
2022-06-21 11:14:51 +01:00
Paul Makles
3b7c1cbe20 chore(ci): allow any tag [skip ci] 2022-06-21 11:14:04 +01:00
Paul Makles
cb0a521473 fix: no client context on ModifyAccount
fix: no reactivity on account settings

closes #706
fixes #683
fixes #702
2022-06-21 10:57:58 +01:00
Paul Makles
aa9974149c fix: bump @revoltchat/ui 2022-06-18 17:13:00 +01:00
Paul Makles
569864167e fix: consider whether alert is present in height calc 2022-06-18 17:05:05 +01:00
Paul Makles
f185dec461 feat: handle system alerts and poll rate changes 2022-06-18 17:03:04 +01:00
Paul Makles
03e177f865 feat(modal): implement new server identity modal
closes #172
2022-06-18 15:54:17 +01:00
Paul Makles
f685352963 fix: temporarily hack in mention to profile flow 2022-06-18 15:06:24 +01:00
Paul Makles
6755217ad2 feat(modal): port ModifyAccount and PendingRequest 2022-06-18 15:02:59 +01:00
Paul Makles
211ff2058a chore: remove legacy Redux migration 2022-06-18 14:49:59 +01:00
Paul Makles
b7be9f8c03 feat(modal): port LinkWarning 2022-06-18 14:19:31 +01:00
Paul Makles
241b9cd27b feat(modal): port Clipboard 2022-06-18 12:33:22 +01:00
Paul Makles
d10bd96900 feat(modal): port Error and ShowToken 2022-06-18 12:25:56 +01:00
Paul Makles
374be319c4 feat(modals): port SignedOut and SignOutSessions 2022-06-18 11:56:05 +01:00
Paul Makles
0ee7b73d61 feat: re-work modal behaviour to be more natural 2022-06-18 11:22:37 +01:00
Paul Makles
63d5f6bb7d fix: show update button on native if frame off 2022-06-17 16:57:13 +01:00
Leda
34e6995d86 fix: modify account, and create bot forms not being submitted (#697) 2022-06-17 16:51:10 +01:00
Paul Makles
a1ef1dce5e fix: remove status request
closes #685
closes #643
2022-06-17 16:50:48 +01:00
Paul Makles
a190a51d0b fix(qr): render the QR code consistently 2022-06-14 18:01:19 +01:00
Paul Makles
c9127d6cf3 fix(css): please let the torture stop 2022-06-14 17:21:52 +01:00
div2005
f0d2e31b17 fix: bottom nav alignment is wrong (#684)
Co-authored-by: div2005 <div2005@tuta.io>
Co-authored-by: Paul Makles <paulmakles@gmail.com>
2022-06-14 17:19:18 +01:00
Paul Makles
220a28a151 fix: bottom nav button alignment
fixes #679
2022-06-14 17:16:18 +01:00
Paul Makles
b44779c89a fix: user picker checkbox + width
fixes #657
fixes #681
2022-06-14 17:10:59 +01:00
Paul Makles
5835064219 chore: fix merge conflicts 2022-06-14 16:30:42 +01:00
Paul Makles
b9da79bc11 chore: bump preact-context-menu 2022-06-14 16:27:46 +01:00
Leda
ba99cbaf2a fix: bug in user/channel mention when query text is empty (#659) 2022-06-14 15:24:13 +01:00
Leda
fc0c7611d4 fix: bug where channel icon scales with channel name (#661)
Co-authored-by: Paul Makles <paulmakles@gmail.com>
2022-06-14 15:23:58 +01:00
Leda
2e9c013ed8 fix: display voice channel as link in messages (#658)
* fix: display voice channel as link in messages

* chore: format
2022-06-14 15:17:00 +01:00
Leda
3e40a61624 fix: bug in join server button when in light theme (#660) 2022-06-14 15:13:31 +01:00
Paul Makles
4e22ccb2f7 chore: duct-tape fix for semver library breaking 2022-06-12 22:24:29 +01:00
Paul Makles
00718245f9 fix: make the changelog button in settings work 2022-06-12 22:21:23 +01:00
Paul Makles
cd8ab6739b feat: add changelog modal 2022-06-12 22:19:41 +01:00
Paul Makles
5eabd2861f chore: unlink components 2022-06-12 21:19:27 +01:00
Paul Makles
a404ff7fe0 feat: add auto-update and out-of-date indicator 2022-06-12 21:16:42 +01:00
Paul Makles
7680931f5f chore: i18n 2022-06-12 21:11:23 +01:00
Paul Makles
c1324108e3 fix(eslint): rules included deprecated plugin 2022-06-12 19:38:29 +01:00
Paul Makles
56770d40df chore: bump language submodule 2022-06-12 19:29:17 +01:00
Paul Makles
64f19ec2c0 chore: display error on load if present 2022-06-12 19:27:18 +01:00
Paul Makles
dbb1c1e8fa feat: finalise 2FA login 2022-06-12 19:24:59 +01:00
Paul Makles
c686e85d37 feat: add MFA recovery codes 2022-06-12 16:30:37 +01:00
Paul Makles
8eefc87b05 chore(refactor): clean up component folder structure 2022-06-12 15:24:00 +01:00
Paul Makles
645e1af6db chore: refactor account UI 2022-06-12 15:07:30 +01:00
Paul Makles
8103cc03cf chore: move "resend verification" button 2022-06-12 12:16:15 +01:00
Paul Makles
bdc527ebbe chore(ci): re-enable mirroring 2022-06-10 18:50:14 +01:00
Paul Makles
8a2826da91 fix: use class in markdown rendering 2022-06-10 17:36:59 +01:00
Paul Makles
bd50378234 feat: add account deletion confirmation route 2022-06-10 17:20:31 +01:00
Paul Makles
71f8fc86a4 chore: fix build errors 2022-06-10 17:00:37 +01:00
Paul Makles
277eaa685d chore(ci): stop mirroring to GitLab [skip ci] 2022-06-10 16:53:02 +01:00
Paul Makles
e81b8ed472 feat: new modal renderer + mfa flow modal 2022-06-10 16:52:12 +01:00
Paul Makles
6be0807433 feat: add disable / delete funct; bump revolt-api 2022-06-10 14:32:21 +01:00
Paul Makles
e0ca1681bd chore(refactor): move and re-organise types folder 2022-06-10 14:11:38 +01:00
Paul Makles
ebcbe4bd4b chore: read version from package.json 2022-06-10 12:18:02 +01:00
Paul Makles
ec8b51f559 chore: repository clean-up 2022-06-09 14:58:39 +01:00
Paul Makles
72e60b7528 chore: clean up build errors 2022-06-09 14:50:05 +01:00
Paul Makles
3399991824 merge: pull request #650 from revoltchat/chore/component-migration 2022-06-09 14:49:17 +01:00
Paul Makles
6497e11fb0 Merge branch 'master' into chore/component-migration 2022-06-09 14:48:45 +01:00
Paul Makles
7544c78360 chore: prepare account management buttons 2022-06-09 14:47:53 +01:00
Paul Makles
040c4367f7 chore: clean up code 2022-06-09 14:47:33 +01:00
Paul Makles
ee80dfd3c8 fix: pull Client into state early
(should fix empty server list)
2022-06-09 14:40:54 +01:00
Paul Makles
67c8418c31 fix: actually resolve the error from requests 2022-06-07 17:00:11 +01:00
Paul Makles
2056232759 fix: build errors 2022-05-30 16:46:07 +01:00
Paul Makles
81bf325990 feat: add column element 2022-05-30 16:15:52 +01:00
Paul Makles
906f15f103 fix: use shape="circle" for friend component 2022-05-30 15:54:55 +01:00
Paul Makles
ea106a3902 chore: bump @revoltchat/ui 2022-05-30 15:48:33 +01:00
Paul Makles
41e533ab59 feat(@ui): port Modal component 2022-05-30 15:45:14 +01:00
Paul Makles
68b9d5ea79 feat(@ui): migrate category / overline and header 2022-05-30 14:42:09 +01:00
Paul Makles
673efc0586 fix: make context menu line divider compact 2022-05-30 12:57:30 +01:00
Paul Makles
74f8c552ed feat(@ui): port category button 2022-05-30 12:56:47 +01:00
Paul Makles
f3bdbe52d9 feat(@ui): migrate textarea and tip 2022-05-30 12:47:13 +01:00
Paul Makles
b4777e9816 feat(@ui): migrate line divider, preloader and save status 2022-05-30 12:40:01 +01:00
Paul Makles
ab77d4a812 feat(@ui): migrate radio 2022-05-30 12:29:56 +01:00
Paul Makles
1d243d4762 feat(@ui): migrate input box 2022-05-30 12:26:16 +01:00
Paul Makles
2f9bfbf83f chore: remove Masks component 2022-05-30 12:19:32 +01:00
Paul Makles
c2547b3ead feat(@ui): migrate icon button 2022-05-30 12:01:47 +01:00
Paul Makles
a64fe61199 feat(@ui): migrate date divider and details 2022-05-29 16:40:02 +01:00
Paul Makles
1bd138d6ef feat(@ui): migrate colour swatches and combo box 2022-05-29 16:38:09 +01:00
Paul Makles
4bcfa601a5 feat(@ui): migrate checkbox component 2022-05-29 16:34:54 +01:00
Paul Makles
20d31babce feat(@ui): migrate Banner component 2022-05-29 15:43:36 +01:00
Paul Makles
12b9716043 fix: open last opened server channel instead of first 2022-05-27 22:32:06 +01:00
Paul Makles
e2d9e41a58 chore: bump revolt.js and @revoltchat/ui 2022-05-27 22:31:12 +01:00
Paul Makles
bdf741e0ee feat: add "ordering" data store 2022-05-27 21:21:42 +01:00
Paul Makles
588cb7c019 feat: finish reimplementation of server list 2022-05-27 21:21:42 +01:00
Paul Makles
94dd4b464a chore: server list integration test 2022-05-27 21:21:42 +01:00
Paul Makles
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 Makles
be12c6da20 chore: migrate Button to @revoltchat/ui (#617)
* chore: start moving Button over

* fix: convert ServerIdentityModal

* fix: modal button styling

* fix: popover styles

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

* fix: button sizing

Co-authored-by: Ed L <beartechtalks@gmail.com>
2022-05-23 21:21:29 +01:00
Jan
6fdd701b38 feat: Add option to show Send button on Desktop (#628) 2022-05-23 21:19:55 +01:00
kaname-png
e46a6d55d6 chore: minor ui fixes for mybots page 2022-05-23 21:14:56 +01:00
kaname-png
32d37777f2 fix(components): wrong calculation of dimensions of embeds layouts 2022-05-23 21:14:56 +01:00
Paul Makles
6fcdbd1cef fix: remove explicit cast to string for msg.content 2022-05-21 16:59:34 +01:00
Paul Makles
73d51a3e29 fix: edit bot av / bg 2022-05-19 13:49:38 +01:00
Paul Makles
4541a34cef Merge branch 'master' into production 2022-05-19 13:42:15 +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
Daesun
ac0c100846 feat(sessions): Add confirmation prompt (#575)
Reopening of issue #572
Fixes issue #42
Translations added on PR 31 of revolt/translations

Co-authored-by: Paul Makles <paulmakles@gmail.com>
2022-05-07 21:31:53 +01:00
Jan
93ba922536 fix: permission lists show wrong permissions (#603) 2022-05-07 21:31:18 +01:00
Paul Makles
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
83a3585940 chore: add notice 2022-05-07 10:45:18 +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 Orsetti
b4c7fe543f chore: add "OpenDyslexic" font (#529)
Co-authored-by: Ed L <beartechtalks@gmail.com>
2022-03-29 20:49:16 +01:00
Ed L
28efdd0ea4 fix: fix iOS regex (#519) 2022-03-29 20:47:54 +01:00
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
KuhnChris
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
KuhnChris
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 Alexander
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
wefnib3rygewundib8g374v
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
3nt3
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 Makles
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 Makles
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 L
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 Makles
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 Epely
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
nizune
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
471 changed files with 38164 additions and 17969 deletions

1
.babelrc Normal file
View File

@@ -0,0 +1 @@
{ "plugins": [["@babel/plugin-proposal-decorators", { "legacy": true }]] }

10
.dockerignore Normal file
View File

@@ -0,0 +1,10 @@
.github
.vscode
dist
dist_injected
node_modules
.env
.env.local
Dockerfile
.dockerignore

7
.env
View File

@@ -1,2 +1,5 @@
VITE_API_URL=https://api.revolt.chat # VITE_API_URL=https://api.revolt.chat
VITE_THEMES_URL=https://static.revolt.chat/themes # VITE_API_URL=https://app.revolt.chat/api
# VITE_API_URL=http://local.revolt.chat:8000
VITE_API_URL=https://app.revolt.chat/api
VITE_THEMES_URL=https://themes.revolt.chat

2
.env.build Normal file
View File

@@ -0,0 +1,2 @@
VITE_API_URL=__API_URL__
VITE_THEMES_URL=https://themes.revolt.chat

1
.github/FUNDING.yml vendored
View File

@@ -1 +0,0 @@
ko_fi: insertish

66
.github/ISSUE_TEMPLATE/bug.yml vendored Normal file
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
.github/ISSUE_TEMPLATE/config.yml vendored Normal file
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
.github/ISSUE_TEMPLATE/feature.yml vendored Normal file
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
.github/actions/build/action.yml vendored Normal file
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
.github/pull_request_template.md vendored Normal file
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://developers.revolt.chat/contrib.html)
* [ ] 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

73
.github/workflows/docker.yml vendored Normal file
View File

@@ -0,0 +1,73 @@
name: Docker
on:
push:
branches:
- "master"
tags:
- "*"
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:
publish:
runs-on: ubuntu-latest
if: github.event_name != 'pull_request'
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: "recursive"
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Docker meta
id: meta
uses: docker/metadata-action@v5
with:
images: revoltchat/client, ghcr.io/revoltchat/client
env:
DOCKER_METADATA_ANNOTATIONS_LEVELS: manifest,index
- name: Login to DockerHub
uses: docker/login-action@v1
if: github.event_name != 'pull_request'
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Login to Github Container Registry
uses: docker/login-action@v3
if: github.event_name != 'pull_request'
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and publish
uses: docker/build-push-action@v6
with:
context: .
push: ${{ github.event_name != 'pull_request' }}
platforms: linux/amd64,linux/arm64
tags: ${{ steps.meta.outputs.tags }}
annotations: ${{ steps.meta.outputs.annotations }}
labels: ${{ steps.meta.outputs.labels }}

54
.github/workflows/triage_issue.yml vendored Normal file
View File

@@ -0,0 +1,54 @@
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"){
projectV2(number: 3) {
id
fields(first:20) {
nodes {
... on ProjectV2SingleSelectField {
id
name
options {
id
name
}
}
}
}
}
}
}' > project_data.json
echo 'PROJECT_ID='$(jq '.data.organization.projectV2.id' project_data.json) >> $GITHUB_ENV
echo 'STATUS_FIELD_ID='$(jq '.data.organization.projectV2.fields.nodes[] | select(.name== "Status") | .id' project_data.json) >> $GITHUB_ENV
echo 'TODO_OPTION_ID='$(jq '.data.organization.projectV2.fields.nodes[] | select(.name== "Status") | .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!) {
addProjectV2ItemById(input: {projectId: $project, contentId: $issue}) {
item {
id
}
}
}' -f project=$PROJECT_ID -f issue=$ISSUE_ID --jq '.data.addProjectV2ItemById.item.id')"
echo 'ITEM_ID='$item_id >> $GITHUB_ENV

79
.github/workflows/triage_pr.yml vendored Normal file
View File

@@ -0,0 +1,79 @@
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"){
projectV2(number: 5) {
id
fields(first:20) {
nodes {
... on ProjectV2SingleSelectField {
id
name
options {
id
name
}
}
}
}
}
}
}' > project_data.json
echo 'PROJECT_ID='$(jq '.data.organization.projectV2.id' project_data.json) >> $GITHUB_ENV
echo 'STATUS_FIELD_ID='$(jq '.data.organization.projectV2.fields.nodes[] | select(.name== "Status") | .id' project_data.json) >> $GITHUB_ENV
echo 'INCOMING_OPTION_ID='$(jq '.data.organization.projectV2.fields.nodes[] | select(.name== "Status") | .options[] | select(.name=="🆕 Untriaged") |.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!) {
addProjectV2ItemById(input: {projectId: $project, contentId: $pr}) {
item {
id
}
}
}' -f project=$PROJECT_ID -f pr=$PR_ID --jq '.data.addProjectV2ItemById.item.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: updateProjectV2ItemFieldValue(input: {
projectId: $project
itemId: $item
fieldId: $status_field
value: {
singleSelectOptionId: $status_value
}
}) {
projectV2Item {
id
}
}
}' -f project=$PROJECT_ID -f item=$ITEM_ID -f status_field=$STATUS_FIELD_ID -f status_value=${{ env.INCOMING_OPTION_ID }} --silent

12
.gitignore vendored
View File

@@ -1,5 +1,17 @@
node_modules node_modules
.DS_Store .DS_Store
dist dist
dist_injected
dist-ssr dist-ssr
*.local *.local
*.log
/.idea
.yarn/cache
.yarn/install-state.gz
public/assets
public/assets_*
!public/assets_default
.vscode/chrome_data

8
.gitmodules vendored
View File

@@ -1,3 +1,9 @@
[submodule "external/lang"] [submodule "external/lang"]
path = external/lang path = external/lang
url = https://gitlab.insrt.uk/revolt/translations url = https://github.com/revoltchat/translations
[submodule "external/components"]
path = external/components
url = https://github.com/revoltchat/components
[submodule "external/revolt.js"]
path = external/revolt.js
url = https://github.com/revoltchat/revolt.js

1
.prettierignore Normal file
View File

@@ -0,0 +1 @@
src/components/markdown/prism.ts

View File

@@ -1,8 +1,16 @@
module.exports = { module.exports = {
"tabWidth": 4, tabWidth: 4,
"trailingComma": "all", trailingComma: "all",
"jsxBracketSameLine": true, jsxBracketSameLine: true,
"importOrder": ["preact|classnames|.scss$", "/(lib)", "/(redux)", "/(context)", "/(ui|common)|.svg$", "^[./]"], importOrder: [
"importOrderSeparation": true, "preact|classnames|.scss$",
} "^@revoltchat",
"/(lib)",
"/(redux|mobx)",
"/(context)",
"/(ui|common)$",
".svg|.webp|.png|.jpg$",
"^[./]",
],
importOrderSeparation: true,
};

View File

@@ -1,3 +1,7 @@
{ {
"recommendations": ["esbenp.prettier-vscode"] "recommendations": [
"esbenp.prettier-vscode",
"dbaeumer.vscode-eslint",
"kol.commit-lint"
]
} }

17
.vscode/launch.json vendored Normal file
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"
}
]
}

View File

@@ -1,4 +1,4 @@
{ {
"editor.defaultFormatter": "esbenp.prettier-vscode", "editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": true "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
.yarn/releases/yarn-3.2.0.cjs vendored Executable file

File diff suppressed because one or more lines are too long

11
.yarnrc.yml Normal file
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

21
Dockerfile Normal file
View File

@@ -0,0 +1,21 @@
# syntax=docker.io/docker/dockerfile:1.7-labs
FROM --platform=$BUILDPLATFORM node:16-buster AS builder
WORKDIR /usr/src/app
COPY . .
COPY .env.build .env
RUN yarn install --frozen-lockfile
RUN yarn build:deps
# RUN yarn typecheck # lol no
RUN yarn build:highmem
RUN yarn workspaces focus --production --all
FROM node:24-alpine
WORKDIR /usr/src/app
COPY docker/package.json docker/yarn.lock .
RUN yarn install --frozen-lockfile
COPY --from=builder --exclude=package.json --exclude=yarn.lock --exclude=.yarn* --exclude=.git --exclude=external --exclude=node_modules /usr/src/app .
EXPOSE 5000
CMD [ "yarn", "start:inject" ]

View File

@@ -1,21 +1,97 @@
# Deprecation Notice
This project is deprecated, however it still may receive maintenance updates.
PRs for small fixes are more than welcome.
## Deploying a new release
Ensure `.env.local` points to `https://app.revolt.chat/api`.
```bash
cd ~/deployments/revite
git pull
git submodule update
# check:
git status
export REVOLT_SAAS_BRANCH=revite/main
export REMOTE=root@production
scripts/publish.sh
# SSH in and restart revite:
ssh $REMOTE
tmux a -t 4
```
# Revite # Revite
## Description
This is the web client for Revolt, which is also available live at [app.revolt.chat](https://app.revolt.chat). 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). ## Pending Rewrite
Official screenshots of the client are available in [this Google Drive folder](https://drive.google.com/drive/folders/1Ckhl7_9OTTaKzyisrWHzZw1hHj55JwhD). The following code is pending a partial or full rewrite:
- `src/components`: components are being migrated to [revoltchat/components](https://github.com/revoltchat/components)
- `src/styles`: needs to be migrated to [revoltchat/components](https://github.com/revoltchat/components)
- `src/lib`: this needs to be organised
## Stack
- [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 build:deps
yarn dev
```
You can now access the client at http://local.revolt.chat:3000.
## CLI Commands ## 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 build:deps` | Build external dependencies. |
| `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 lint \| egrep "no-literals" -B 1` | Scan for untranslated strings. |
* `yarn build`: Creates a production build of the client. ## License
* `yarn preview`: Starts a local server with the production build. Revite is licensed under the [GNU Affero General Public License v3.0](https://github.com/revoltchat/revite/blob/master/LICENSE).
* `yarn lint`: Runs ESLint to check project.
* `yarn fmt`: Runs prettier on source code.
* `yarn typecheck`: Runs Typescript compiler in noEmit mode.

View File

@@ -1 +0,0 @@
1.0.0-vite

8
default.nix Normal file
View File

@@ -0,0 +1,8 @@
{ pkgs ? import <nixpkgs> {} }:
pkgs.mkShell rec {
buildInputs = [
pkgs.nodejs
pkgs.nodejs.pkgs.yarn
];
}

16
docker/package.json Normal file
View File

@@ -0,0 +1,16 @@
{
"name": "inject-and-sirv",
"version": "0.0.1",
"scripts": {
"start:inject": "node scripts/inject.js && sirv dist_injected --port 5000 --cors --single --host"
},
"private": true,
"dependencies": {
"fs-extra": "^11.3.0",
"klaw": "^4.1.0",
"sirv-cli": "^3.0.1"
},
"engines": {
"node": ">=18"
}
}

116
docker/yarn.lock Normal file
View File

@@ -0,0 +1,116 @@
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
# yarn lockfile v1
"@polka/url@^1.0.0-next.24":
version "1.0.0-next.29"
resolved "https://registry.yarnpkg.com/@polka/url/-/url-1.0.0-next.29.tgz#5a40109a1ab5f84d6fd8fc928b19f367cbe7e7b1"
integrity sha512-wwQAWhWSuHaag8c4q/KN/vCoeOJYshAIvMQwD4GpSb3OiZklFfvAgmj0VCBBImRpuF/aFgIRzllXlVX93Jevww==
console-clear@^1.1.0:
version "1.1.1"
resolved "https://registry.yarnpkg.com/console-clear/-/console-clear-1.1.1.tgz#995e20cbfbf14dd792b672cde387bd128d674bf7"
integrity sha512-pMD+MVR538ipqkG5JXeOEbKWS5um1H4LUUccUQG68qpeqBYbzYy79Gh55jkd2TtPdRfUaLWdv6LPP//5Zt0aPQ==
fs-extra@^11.3.0:
version "11.3.0"
resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-11.3.0.tgz#0daced136bbaf65a555a326719af931adc7a314d"
integrity sha512-Z4XaCL6dUDHfP/jT25jJKMmtxvuwbkrD1vNSMFlo9lNLY2c5FHYSQgHPRZUjAB26TpDEoW9HCOgplrdbaPV/ew==
dependencies:
graceful-fs "^4.2.0"
jsonfile "^6.0.1"
universalify "^2.0.0"
get-port@^5.1.1:
version "5.1.1"
resolved "https://registry.yarnpkg.com/get-port/-/get-port-5.1.1.tgz#0469ed07563479de6efb986baf053dcd7d4e3193"
integrity sha512-g/Q1aTSDOxFpchXC4i8ZWvxA1lnPqx/JHqcpIw0/LX9T8x/GBbi6YnlN5nhaKIFkT8oFsscUKgDJYxfwfS6QsQ==
graceful-fs@^4.1.6, graceful-fs@^4.2.0:
version "4.2.11"
resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.11.tgz#4183e4e8bf08bb6e05bbb2f7d2e0c8f712ca40e3"
integrity sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==
jsonfile@^6.0.1:
version "6.1.0"
resolved "https://registry.yarnpkg.com/jsonfile/-/jsonfile-6.1.0.tgz#bc55b2634793c679ec6403094eb13698a6ec0aae"
integrity sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==
dependencies:
universalify "^2.0.0"
optionalDependencies:
graceful-fs "^4.1.6"
klaw@^4.1.0:
version "4.1.0"
resolved "https://registry.yarnpkg.com/klaw/-/klaw-4.1.0.tgz#5df608067d8cb62bbfb24374f8e5d956323338f3"
integrity sha512-1zGZ9MF9H22UnkpVeuaGKOjfA2t6WrfdrJmGjy16ykcjnKQDmHVX+KI477rpbGevz/5FD4MC3xf1oxylBgcaQw==
kleur@^4.1.4:
version "4.1.5"
resolved "https://registry.yarnpkg.com/kleur/-/kleur-4.1.5.tgz#95106101795f7050c6c650f350c683febddb1780"
integrity sha512-o+NO+8WrRiQEE4/7nwRJhN1HWpVmJm511pBHUxPLtp0BUISzlBplORYSmTclCnJvQq2tKu/sgl3xVpkc7ZWuQQ==
local-access@^1.0.1:
version "1.1.0"
resolved "https://registry.yarnpkg.com/local-access/-/local-access-1.1.0.tgz#e007c76ba2ca83d5877ba1a125fc8dfe23ba4798"
integrity sha512-XfegD5pyTAfb+GY6chk283Ox5z8WexG56OvM06RWLpAc/UHozO8X6xAxEkIitZOtsSMM1Yr3DkHgW5W+onLhCw==
mri@^1.1.0:
version "1.2.0"
resolved "https://registry.yarnpkg.com/mri/-/mri-1.2.0.tgz#6721480fec2a11a4889861115a48b6cbe7cc8f0b"
integrity sha512-tzzskb3bG8LvYGFF/mDTpq3jpI6Q9wc3LEmBaghu+DdCssd1FakN7Bc0hVNmEyGq1bq3RgfkCb3cmQLpNPOroA==
mrmime@^2.0.0:
version "2.0.1"
resolved "https://registry.yarnpkg.com/mrmime/-/mrmime-2.0.1.tgz#bc3e87f7987853a54c9850eeb1f1078cd44adddc"
integrity sha512-Y3wQdFg2Va6etvQ5I82yUhGdsKrcYox6p7FfL1LbK2J4V01F9TGlepTIhnK24t7koZibmg82KGglhA1XK5IsLQ==
sade@^1.6.0:
version "1.8.1"
resolved "https://registry.yarnpkg.com/sade/-/sade-1.8.1.tgz#0a78e81d658d394887be57d2a409bf703a3b2701"
integrity sha512-xal3CZX1Xlo/k4ApwCFrHVACi9fBqJ7V+mwhBsuf/1IOKbBy098Fex+Wa/5QMubw09pSZ/u8EY8PWgevJsXp1A==
dependencies:
mri "^1.1.0"
semiver@^1.0.0:
version "1.1.0"
resolved "https://registry.yarnpkg.com/semiver/-/semiver-1.1.0.tgz#9c97fb02c21c7ce4fcf1b73e2c7a24324bdddd5f"
integrity sha512-QNI2ChmuioGC1/xjyYwyZYADILWyW6AmS1UH6gDj/SFUUUS4MBAWs/7mxnkRPc/F4iHezDP+O8t0dO8WHiEOdg==
sirv-cli@^3.0.1:
version "3.0.1"
resolved "https://registry.yarnpkg.com/sirv-cli/-/sirv-cli-3.0.1.tgz#9a53e4fa85fdc08d54a76fd76a7c866cd4c3988b"
integrity sha512-ICXaF2u6IQhLZ0EXF6nqUF4YODfSQSt+mGykt4qqO5rY+oIiwdg7B8w2PVDBJlQulaS2a3J8666CUoDoAuCGvg==
dependencies:
console-clear "^1.1.0"
get-port "^5.1.1"
kleur "^4.1.4"
local-access "^1.0.1"
sade "^1.6.0"
semiver "^1.0.0"
sirv "^3.0.0"
tinydate "^1.0.0"
sirv@^3.0.0:
version "3.0.1"
resolved "https://registry.yarnpkg.com/sirv/-/sirv-3.0.1.tgz#32a844794655b727f9e2867b777e0060fbe07bf3"
integrity sha512-FoqMu0NCGBLCcAkS1qA+XJIQTR6/JHfQXl+uGteNCQ76T91DMUjPa9xfmeqMY3z80nLSg9yQmNjK0Px6RWsH/A==
dependencies:
"@polka/url" "^1.0.0-next.24"
mrmime "^2.0.0"
totalist "^3.0.0"
tinydate@^1.0.0:
version "1.3.0"
resolved "https://registry.yarnpkg.com/tinydate/-/tinydate-1.3.0.tgz#e6ca8e5a22b51bb4ea1c3a2a4fd1352dbd4c57fb"
integrity sha512-7cR8rLy2QhYHpsBDBVYnnWXm8uRTr38RoZakFSW7Bs7PzfMPNZthuMLkwqZv7MTu8lhQ91cOFYS5a7iFj2oR3w==
totalist@^3.0.0:
version "3.0.1"
resolved "https://registry.yarnpkg.com/totalist/-/totalist-3.0.1.tgz#ba3a3d600c915b1a97872348f79c127475f6acf8"
integrity sha512-sf4i37nQ2LBx4m3wB74y+ubopq6W/dIzXg0FDGjsYnZHVa1Da8FH853wlL2gtUhg+xJXjfk3kUZS3BRoQeoQBQ==
universalify@^2.0.0:
version "2.0.1"
resolved "https://registry.yarnpkg.com/universalify/-/universalify-2.0.1.tgz#168efc2180964e6386d061e094df61afe239b18d"
integrity sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw==

1
external/components vendored Submodule

Submodule external/components added at 4be02430c7

2
external/lang vendored

1
external/revolt.js vendored Submodule

Submodule external/revolt.js added at a45710f80c

View File

@@ -1,37 +1,143 @@
<!DOCTYPE html> <!DOCTYPE html>
<html lang="en"> <html lang="en" background="#191919">
<head> <head>
<meta charset="UTF-8" /> <meta charset="UTF-8" />
<title>Revolt</title>
<meta name="apple-mobile-web-app-title" content="Revolt">
<!--<link rel="icon" type="image/svg+xml" href="/src/favicon.svg" />--> <!--App Title-->
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no" /> <title>Revolt</title>
<meta name="apple-mobile-web-app-capable" content="yes"> <meta name="apple-mobile-web-app-title" content="Revolt" />
<!--App Icons--> <!--App Scaling-->
<link rel="apple-touch-icon" href="public/assets/icons/apple-touch.png"> <meta
<link rel="icon" type="image/png" href="/src/assets/logo_round.png" /> 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--> <!--App Icons-->
<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
<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" /> rel="apple-touch-icon"
<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" /> href="public/assets/icons/apple-touch.png"
<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 rel="icon" type="image/png" href="/assets/logo_round.png" />
<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" /> <!--Splash Screens for iOS Devices-->
<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
<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" /> href="public/assets/splashscreens/iphone5_splash.png"
<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" /> media="(device-width: 320px) and (device-height: 568px) and (-webkit-device-pixel-ratio: 2)"
</head> rel="apple-touch-startup-image"
<body> />
<div id="app"></div> <link
<script type="module" src="/src/main.tsx"></script> href="public/assets/splashscreens/iphone6_splash.png"
</body> media="(device-width: 375px) and (device-height: 667px) and (-webkit-device-pixel-ratio: 2)"
<style> rel="apple-touch-startup-image"
html { />
background-color: #191919; <link
} href="public/assets/splashscreens/iphoneplus_splash.png"
</style> media="(device-width: 621px) and (device-height: 1104px) and (-webkit-device-pixel-ratio: 3)"
</html> 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>

View File

@@ -1,109 +1,176 @@
{ {
"version": "0.0.0", "version": "1.0.1",
"scripts": { "scripts": {
"dev": "vite", "dev": "node scripts/setup_assets.js --check && vite",
"build": "rimraf build && vite build", "pull": "node scripts/setup_assets.js",
"preview": "vite preview", "build:deps": "cd external && cd components && yarn && yarn build:esm && cd .. && cd revolt.js && yarn && yarn build",
"lint": "eslint 'src/**/*.{js,jsx,ts,tsx}'", "build": "yarn && rimraf build && node scripts/setup_assets.js --check && yarn build:deps && vite build",
"fmt": "prettier --write 'src/**/*.{js,jsx,ts,tsx}'", "build:highmem": "NODE_OPTIONS='--max-old-space-size=4096' yarn build",
"typecheck": "tsc --noEmit" "preview": "vite preview",
}, "lint": "eslint src/**/*.{js,jsx,ts,tsx}",
"eslintConfig": { "fmt": "prettier --write 'src/**/*.{js,jsx,ts,tsx}'",
"parser": "@typescript-eslint/parser", "typecheck": "tsc --noEmit",
"extends": [ "start": "sirv dist --cors --single --host",
"preact", "start:inject": "node scripts/inject.js && sirv dist_injected --cors --single --host"
"plugin:@typescript-eslint/recommended" },
], "eslintConfig": {
"ignorePatterns": [ "parser": "@typescript-eslint/parser",
"build/" "extends": [
], "preact",
"rules": { "plugin:@typescript-eslint/recommended"
"@typescript-eslint/explicit-module-boundary-types": "off" ],
"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": "^_"
}
],
"react/jsx-no-literals": "warn"
}
},
"dependencies": {
"@revoltchat/rehype-katex": "6.0.3-patch.1",
"fs-extra": "^10.0.0",
"klaw": "^3.0.0",
"lottie-react": "^2.4.0",
"sirv-cli": "^1.0.14",
"vite": "^3.0.5"
},
"devDependencies": {
"@babel/plugin-proposal-decorators": "^7.17.9",
"@floating-ui/react-dom": "^1.0.0",
"@floating-ui/react-dom-interactions": "^0.9.1",
"@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": "^1.4.4",
"@insertish/vite-plugin-babel-macros": "^1.0.5",
"@preact/preset-vite": "^2.0.0",
"@revoltchat/ui": "^1.0.77",
"@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.45.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": "^4",
"@types/lodash.defaultsdeep": "^4.6.6",
"@types/lodash.isequal": "^4.5.5",
"@types/node": "^15.14.9",
"@types/preact-i18n": "^2.3.0",
"@types/prismjs": "^1.26.0",
"@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/semver": "^7",
"@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",
"eslint-plugin-jsdoc": "^39.3.2",
"eslint-plugin-mobx": "^0.0.8",
"eventemitter3": "^4.0.7",
"history": "4",
"json-stringify-deterministic": "^1.0.2",
"localforage": "^1.9.0",
"lodash": "^4.17.21",
"lodash.defaultsdeep": "^4.6.1",
"lodash.isequal": "^4.5.0",
"long": "^5.2.0",
"mdast-util-to-hast": "^12.1.2",
"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.1",
"preact-i18n": "^2.4.0-preactx",
"prettier": "^2.3.1",
"prismjs": "^1.28.0",
"qrcode.react": "^3.0.2",
"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",
"rehype-prism": "^2.1.3",
"rehype-react": "^7.1.1",
"remark-breaks": "^3.0.2",
"remark-gfm": "^3.0.1",
"remark-math": "^5.1.1",
"remark-parse": "^10.0.1",
"remark-rehype": "^10.1.0",
"revolt.js": "6.0.17",
"rimraf": "^3.0.2",
"sass": "^1.35.1",
"semver": "^7.3.7",
"shade-blend-color": "^1.0.0",
"slate": "^0.81.1",
"slate-history": "^0.66.0",
"slate-react": "^0.81.0",
"stacktrace-js": "^2.0.2",
"styled-components": "^5.3.0",
"typescript": "^4.4.2",
"ulid": "^2.3.0",
"unified": "^10.1.2",
"unist-util-visit": "^4.1.0",
"use-resize-observer": "^7.0.0",
"vite-plugin-pwa": "^0.12.3",
"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",
"resolutions": {
"@revoltchat/ui": "portal:external/components",
"revolt.js": "portal:external/revolt.js"
} }
},
"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"
}
} }

View File

@@ -1,10 +1,22 @@
[{ [
"relation": ["delegate_permission/common.handle_all_urls"], {
"target": { "relation": ["delegate_permission/common.handle_all_urls"],
"namespace": "android_app", "target": {
"package_name": "chat.revolt.app.twa", "namespace": "android_app",
"sha256_cert_fingerprints": [ "package_name": "chat.revolt.app.twa",
"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" "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"
]
}
} }
}] ]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

View File

@@ -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

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

6
public/disabled-js.svg Normal file
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

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
scripts/inject.js Normal file
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
scripts/locale.js Normal file
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(".");
}),
]) +
";",
);

35
scripts/publish.sh Executable file
View File

@@ -0,0 +1,35 @@
#!/bin/bash
# Build and publish release to production server
# Remote Server
if [ -z "$REMOTE" ]; then
echo "Please set REMOTE!"
exit
fi
# Remote Directory
REMOTE_DIR=/root/deployments/revite
# Post-install script
POST_INSTALL=""
# Assets
export REVOLT_SAAS=https://github.com/revoltchat/assets
# Exit when any command fails
set -e
# 1. Build Revite
yarn build:highmem
# 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
scripts/setup_assets.js Normal file
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);
}
})();

86
src/assets/changelogs.tsx Normal file
View File

@@ -0,0 +1,86 @@
import Lottie, { LottieRefCurrentProps } from "lottie-react";
import { JSX } from "preact";
import usernameAnim from "../controllers/modals/components/legacy/usernameUpdateLottie.json";
type Element =
| string
| {
type: "image";
src: string;
shadow?: boolean;
}
| { type: "element"; element: JSX.Element };
export interface ChangelogPost {
date: Date;
title: string;
content: Element[];
}
export const changelogEntries: Record<number, ChangelogPost> = {
1: {
date: new Date("2022-06-12T20:39:16.674Z"),
title: "Secure your account with 2FA",
content: [
"Two-factor authentication is now available to all users, you can now head over to settings to enable recovery codes and an authenticator app.",
{
type: "image",
src: "https://autumn.revolt.chat/attachments/E21kwmuJGcASgkVLiSIW0wV3ggcaOWjW0TQF7cdFNY/image.png",
},
"Once enabled, you will be prompted on login.",
{
type: "image",
src: "https://autumn.revolt.chat/attachments/LWRYoKR2tE1ggW_Lzm547P1pnrkNgmBaoCAfWvHE74/image.png",
},
"Other authentication methods coming later, stay tuned!",
],
},
2: {
date: new Date("2023-02-23T20:00:00.000Z"),
title: "In-App Reporting Is Here",
content: [
"You can now report any user, server, or message directly from the app.",
{
type: "image",
src: "https://autumn.revolt.chat/attachments/ZuDVIjGiCl61Pk9XGk5qfc8-idN9EnFAk55DUQp713/the.png",
shadow: true,
},
"If you want to learn more about how we're making Revolt safer for you, check out our new blog post :point_right: [https://revolt.chat/posts/improving-user-safety](https://revolt.chat/posts/improving-user-safety)",
],
},
3: {
date: new Date("2023-06-11T15:00:00.000Z"),
title: "Usernames are Changing",
content: [
{
type: "element",
element: (
<Lottie
animationData={usernameAnim}
style={{
background: "var(--secondary-background)",
borderRadius: "6px",
}}
/>
),
},
"Revolt has undergone a significant change to its username system, transitioning from unique username handles to a new system of display names and usernames with four-digit number tags called discriminators. The four-digit number tags serve as identifiers to differentiate users with the same username, allowing individuals to select desired usernames that reflect their identity.",
{
type: "element",
element: (
<a href="https://revolt.chat/posts/evolving-usernames">
Read more on our blog!
</a>
),
},
],
},
};
export const changelogEntryArray = Object.keys(changelogEntries).map(
(index) => changelogEntries[index as unknown as number],
);
export const latestChangelog = changelogEntryArray.length;

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