Commit graph

361 commits

Author SHA1 Message Date
Alex Gleason
eb875673fd
ComposeForm: insert emoji from picker into lexical
Fixes https://gitlab.com/soapbox-pub/soapbox/-/issues/1529
2023-09-25 16:31:01 -05:00
Alex Gleason
cdda5363f6
actions: useEmoji --> chooseEmoji 2023-09-25 16:20:47 -05:00
Alex Gleason
0b0a548f8c
EmojiPickerDropdown: minor refactoring 2023-09-25 16:19:08 -05:00
Alex Gleason
cefe9adc05
EmojiNode: fix getTextContent, remove unused exportDOM 2023-09-25 16:12:51 -05:00
Alex Gleason
f3783f1a50
AutosuggestPlugin: don't autosuggest hashtags for now
https://gitlab.com/soapbox-pub/soapbox/-/issues/1527
2023-09-25 16:09:53 -05:00
Alex Gleason
4b5602a086
lexical: render native emojis as Twemoji 2023-09-25 16:02:13 -05:00
Alex Gleason
2a9cb08d08
lexical: restore EmojiNode, fix Android backspace! 2023-09-25 15:46:29 -05:00
Alex Gleason
aea2653b19
AutosuggestPlugin: remove extraneous ? 2023-09-25 15:18:46 -05:00
Alex Gleason
ab22422aa7
MentionNode: use 'segmented' to fix Android problems 2023-09-25 15:12:43 -05:00
Alex Gleason
e88b952a6f
lexical: remove MentionPlugin, only insert mention when selected from autosuggest 2023-09-25 14:49:00 -05:00
Alex Gleason
71bb8cc73e
lexical: fix license path in lexical files 2023-09-25 13:32:12 -05:00
Alex Gleason
f628cd73b0
MentionPlugin: use a simpler regex, fix double-@ mentions
Fixes https://gitlab.com/soapbox-pub/soapbox/-/issues/1530
2023-09-25 13:30:52 -05:00
Alex Gleason
5449ea3326
MentionPlugin: simplify regex and getMatch 2023-09-25 12:25:40 -05:00
Alex Gleason
7ff9d2ed3b
MentionPlugin: do a little refactoring 2023-09-25 12:16:29 -05:00
Alex Gleason
72065ffe23 Merge branch 'emoji-backspace' into 'main'
Disable EmojiNode for now

Closes #1525

See merge request soapbox-pub/soapbox!2755
2023-09-24 20:25:02 +00:00
Alex Gleason
60f0e6ff6a
Disable EmojiNode for now :( 2023-09-24 14:48:38 -05:00
Alex Gleason
4298722da9
EmojiNode: clone with key 2023-09-24 14:46:19 -05:00
Alex Gleason
e6023d725e Merge branch 'fix-composer-md' into 'main'
Fix composer always being in Markdown

Closes #1526

See merge request soapbox-pub/soapbox!2754
2023-09-24 18:31:41 +00:00
Alex Gleason
421cd3721d
Fix composer always being in Markdown
Fixes https://gitlab.com/soapbox-pub/soapbox/-/issues/1526
2023-09-24 13:10:34 -05:00
Alex Gleason
8bbf454af4
LandingTimeline: display About page instead of the feed if the feed is restricted by the API 2023-09-24 12:58:58 -05:00
Alex Gleason
8500e7bb9a
Hide unauth features if they're restricted by the backend 2023-09-24 12:51:00 -05:00
Alex Gleason
aabaaee8b8 Merge branch 'instance-zod' into 'main'
Convert instance to use zod

See merge request soapbox-pub/soapbox!2751
2023-09-24 15:23:33 +00:00
Alex Gleason
550cd38c3c Delete mention-node.tsx 2023-09-24 03:31:22 +00:00
Alex Gleason
17bcd68d73
Fix remote timeline pages 2023-09-23 20:56:37 -05:00
Alex Gleason
3b630ed8fb
Convert instance to use zod 2023-09-23 20:49:33 -05:00
animegrafmays
4179c587bc fix account migration route 2023-09-23 21:43:29 -04:00
Alex Gleason
939c1bfbb8
lexical: fix custom emojis (add a text representation of them) 2023-09-23 17:27:39 -05:00
Hosted Weblate
dcdf352e50
Update translation files
Updated by "Cleanup translation files" hook in Weblate.

Translation: Soapbox/Soapbox
Translate-URL: https://hosted.weblate.org/projects/soapbox-pub/soapbox/
2023-09-23 21:30:10 +00:00
Alex Gleason
bad17c52d8
Merge branch 'main' of gitlab.com:soapbox-pub/soapbox into lexical-rm-nodes 2023-09-23 16:27:36 -05:00
Alex Gleason
e712d7bb52
lexical: remove unused nodes 2023-09-23 16:26:46 -05:00
Alex Gleason
d1c2cdecb5 Merge branch 'lexical-ctrl-enter' into 'main'
lexical: fix ctrl+Enter

See merge request soapbox-pub/soapbox!2747
2023-09-23 21:21:45 +00:00
Alex Gleason
bc3662afc7
lexical: fix ctrl+Enter 2023-09-23 16:20:09 -05:00
Alex Gleason
175d61807d Merge branch 'unauth-improvements' into 'main'
Unauth improvements

See merge request soapbox-pub/soapbox!2743
2023-09-23 21:13:28 +00:00
Alex Gleason
6c318a02ef Merge branch 'lexical' into 'main'
Lexical text editor

See merge request soapbox-pub/soapbox!2177
2023-09-23 21:00:32 +00:00
Alex Gleason
20d1880290
LandingTimeline: remove unnecessary onlyMedia 2023-09-23 15:54:37 -05:00
Alex Gleason
dcab2deda1
RegistrationPage: display "registrations closed" message in place of signup form when registrations are closed 2023-09-23 15:48:44 -05:00
Alex Gleason
46b63571e7
lexical: fix modal close confirmation 2023-09-23 15:33:43 -05:00
Alex Gleason
4f65c96da4
lexical: fix placeholder z-index 2023-09-23 15:23:11 -05:00
Alex Gleason
a67b5f8a25
lexical: add RefPlugin to set the ref 2023-09-23 15:10:05 -05:00
Alex Gleason
d92c150d9d
lexical: set the actual editor as the ref, clear the form on submit 2023-09-23 15:01:16 -05:00
Alex Gleason
448d320f4e
lexical: pass the actual EditorState as the ref, count with onChange callback 2023-09-23 14:54:47 -05:00
Alex Gleason
89b1574c77
Make Lexical the only editor 2023-09-23 14:32:02 -05:00
Alex Gleason
206927fd4b
AutosuggestPlugin: clear suggestions after selecting a suggestion 2023-09-23 14:26:43 -05:00
Alex Gleason
aa4992e716
AutosuggestPlugin: update when suggestions updates 2023-09-23 14:22:27 -05:00
Alex Gleason
8f49446a15
AutosuggestPlugin: pageYOffset --> scrollY 2023-09-23 14:05:48 -05:00
Alex Gleason
b14a6586b4
AutosuggestPlugin: treat Tab the same as Enter 2023-09-23 14:02:05 -05:00
Tassoman
abcb8b97f0
Translated using Weblate (Italian)
Currently translated at 100.0% (1592 of 1592 strings)

Translation: Soapbox/Soapbox
Translate-URL: https://hosted.weblate.org/projects/soapbox-pub/soapbox/it/
2023-09-22 23:02:50 +00:00
Alex Gleason
b8e8be714a
Fix standalone redirect
Fixes https://gitlab.com/soapbox-pub/soapbox/-/issues/1524
2023-09-22 17:33:33 -05:00
Alex Gleason
373fe3a77e
lexical: remove markdown support 2023-09-22 17:22:46 -05:00
Alex Gleason
e619ffffdd
lexical: fix minor spacing/size issues 2023-09-22 15:38:27 -05:00
Alex Gleason
ac591e029e
Merge remote-tracking branch 'origin/main' into lexical 2023-09-22 13:36:04 -05:00
Alex Gleason
52f9339050 Merge branch 'rm-carousel' into 'main'
Remove Truth Social feed carousel

See merge request soapbox-pub/soapbox!2739
2023-09-22 17:01:12 +00:00
Alex Gleason
5e204437df
Remove Truth Social PolicyModal 2023-09-22 11:46:58 -05:00
Alex Gleason
f3ff33ff50
Remove Trending Truths 2023-09-22 11:42:28 -05:00
Alex Gleason
f01d088d06
Remove Truth Social feed carousel 2023-09-22 11:40:11 -05:00
4d5a8d58dc Fix 'Expected "context" media feature range notation'
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-09-21 23:15:07 +02:00
Alex Gleason
48695b9a8a
Merge remote-tracking branch 'origin/main' into lexical 2023-09-21 14:38:57 -05:00
Alex Gleason
2e35c426d4
Fix search being a public route 2023-09-21 13:51:09 -05:00
Alex Gleason
f0cc9ed4d4
Fix EmptyPage being an actual empty page 2023-09-21 13:50:31 -05:00
Alex Gleason
ecc0897ee6
Delete PublicLayout and legacy LandingPage 2023-09-21 13:45:58 -05:00
Alex Gleason
2f3350267c
LandingTimeline: remove sonar animation 2023-09-21 13:43:52 -05:00
Alex Gleason
c697f9a92c
LandingTimeline: remove page title 2023-09-21 13:12:31 -05:00
Alex Gleason
ae86a17ea1
HomePage: hide donation widgets until logged in 2023-09-21 13:10:25 -05:00
Alex Gleason
a131f274b4
LandingPage: remove donation widgets from sidebar when logged out 2023-09-21 13:08:33 -05:00
Alex Gleason
def95d2b5c
Add a LandingTimeline, put the site name and description on it 2023-09-21 12:02:02 -05:00
Alex Gleason
77d18e9cd3
Merge remote-tracking branch 'origin/main' into lexical 2023-09-20 19:13:16 -05:00
Alex Gleason
76884f26b1
Add vite-plugin-checker, fix types 2023-09-20 18:50:17 -05:00
fac42ab2c9 Merge remote-tracking branch 'soapbox/main' into lexical
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-09-20 23:49:55 +02:00
Alex Gleason
6043845ac0 Merge branch 'renovate/immer-10.x' into 'main'
Update dependency immer to v10

See merge request soapbox-pub/soapbox!2729
2023-09-20 21:36:29 +00:00
Alex Gleason
39cc21a6f1
Fix immer import 2023-09-20 16:25:02 -05:00
Alex Gleason
0d15516427 Merge branch 'rm-metamask' into 'main'
Remove support for Ethereum signin

See merge request soapbox-pub/soapbox!2735
2023-09-20 21:23:54 +00:00
Alex Gleason
6305e9d9bc
Remove support for Ethereum signin 2023-09-20 16:12:34 -05:00
Alex Gleason
389ec700b8
Add types to compileTime modules 2023-09-20 16:02:36 -05:00
Alex Gleason
a59b9d563d Merge branch 'rm-rumble-embeds' into 'main'
Remove support for Rumble video embeds

See merge request soapbox-pub/soapbox!2716
2023-09-20 20:51:28 +00:00
Alex Gleason
0d7c595818 Merge branch 'login-ui' into 'main'
Move Login pages into the UI, delete AuthLayout

See merge request soapbox-pub/soapbox!2730
2023-09-20 20:51:00 +00:00
Alex Gleason
7137edad37
Delete AuthLayout 2023-09-20 14:41:34 -05:00
Alex Gleason
0664484ba9
Move External Login form into the UI 2023-09-20 14:40:52 -05:00
Alex Gleason
bdb5f4a2cf
Thread: fix position of ThreadLoginCta 2023-09-20 14:32:20 -05:00
Alex Gleason
df2c2288fb
Move invite signup into the UI 2023-09-20 14:26:08 -05:00
Alex Gleason
977d908db0
Move Edit Password into the UI 2023-09-20 14:19:03 -05:00
Alex Gleason
68bdcd30de
Move Reset Password into the UI 2023-09-20 14:17:09 -05:00
Alex Gleason
59a32b1a0f
Refactor a bunch of components to use BigCard 2023-09-20 14:10:54 -05:00
Alex Gleason
ffae3f89df
Move Login page to UI 2023-09-20 13:57:33 -05:00
Alex Gleason
b502cb1273 Merge branch 'table-style' into 'main'
added table styling to rich text markdown content statuses

See merge request soapbox-pub/soapbox!2724
2023-09-20 18:47:47 +00:00
Tassoman
f3503a67f1 added table styling to rich text markdown content statuses 2023-09-20 18:47:47 +00:00
Alex Gleason
f5d17fd55d
Fix regex crash 2023-09-20 13:38:06 -05:00
Alex Gleason
396dc3eb4b Merge branch 'signup-ui' into 'main'
Move signup page into the UI

See merge request soapbox-pub/soapbox!2723
2023-09-20 18:13:14 +00:00
Alex Gleason
e9caa6f69e
Move signup page into the UI 2023-09-20 12:59:55 -05:00
Tassoman
eccf23eae3 adding tailwind styling for rich text markdown headings 2023-09-20 17:34:33 +00:00
Alex Gleason
84b114a16b Merge branch 'regex-warnings' into 'main'
Remove useless escape characters from regexes

See merge request soapbox-pub/soapbox!2721
2023-09-20 17:24:04 +00:00
Alex Gleason
cda702c28d Merge branch 'remove-seedrandom' into 'main'
Remove types for seedrandom

See merge request soapbox-pub/soapbox!2717
2023-09-20 17:13:51 +00:00
Alex Gleason
079469f665
Remove useless escape characters from regexes 2023-09-20 12:10:49 -05:00
Alex Gleason
e9b245b7d4
Remove 'use strict' expressions 2023-09-20 11:55:04 -05:00
Alex Gleason
25f7771c93
About: add Navlinks to about pages footer 2023-09-20 11:21:08 -05:00
f602be2905 Remove types for seedrandom
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-09-20 15:01:19 +02:00
Alex Gleason
22bb449102
Improve about templates 2023-09-19 17:35:54 -05:00
Alex Gleason
804761fd09
Move About pages to within the UI 2023-09-19 17:29:24 -05:00
Alex Gleason
1e71923f6d
Remove support for Rumble video embeds 2023-09-19 13:10:57 -05:00
Tassoman
d229e3a736
Translated using Weblate (Italian)
Currently translated at 100.0% (1592 of 1592 strings)

Translation: Soapbox/Soapbox
Translate-URL: https://hosted.weblate.org/projects/soapbox-pub/soapbox/it/
2023-09-19 19:49:15 +02:00
Alex Gleason
757d8ba545
Remove Truth Social Ads 2023-09-19 11:17:12 -05:00
Alex Gleason
73ae9ae4c4 Merge branch 'rm-pepe' into 'main'
Remove Truth Social registration

See merge request soapbox-pub/soapbox!2708
2023-09-19 03:42:35 +00:00
Alex Gleason
19fbaa9dff
Delete verification test 2023-09-18 22:16:46 -05:00
Alex Gleason
bea2020287
Remove Truth Social registration 2023-09-18 21:07:32 -05:00
Alex Gleason
a7eb9d4112
Merge remote-tracking branch 'origin/main' into fix-profile-dropdown 2023-09-18 19:55:05 -05:00
Alex Gleason
199d5d9f37
Remove FE_BUILD_DIR build config 2023-09-18 18:57:34 -05:00
Alex Gleason
c67fc393d5
Fix eslint import errors 2023-09-18 18:01:22 -05:00
Alex Gleason
2b11b579a3
Move index.html to project root 2023-09-18 17:39:58 -05:00
Alex Gleason
dd97a46a03
Update code to deal with new paths under src 2023-09-18 16:37:15 -05:00
Alex Gleason
efdec35d98
Delete unused index.ejs 2023-09-18 16:09:21 -05:00
Alex Gleason
f9679d270b
Merge src/soapbox with top-level src directory 2023-09-18 16:08:54 -05:00
Alex Gleason
7d17c87fc7
Rename app/ --> src/ 2023-09-18 16:03:21 -05:00