Commit graph

4655 commits

Author SHA1 Message Date
marcin mikołajczak
fa8f4b7a2a Merge branch 'icons' into 'develop'
Replace LineAwesome with Tabler in some places

See merge request soapbox-pub/soapbox-fe!1683
2022-07-26 14:07:53 +00:00
df136bb8c8 Use file-spreadsheet icon
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-07-26 12:56:31 +02:00
eb62ebfa52 Replace LineAwesome with Tabler in some places
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-07-26 12:30:51 +02:00
58952f0ab2 Add break-words to profile fields content
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-07-26 11:53:36 +02:00
Alex Gleason
83329d0887
Copy react-notification's source code directly into the project 2022-07-25 22:58:09 -05:00
Alex Gleason
8cce389568
Use a perfect regex 2022-07-25 17:41:28 -05:00
Justin
40562248e0 Add ToS acceptance to registration 2022-07-25 15:41:23 -04:00
Alex Gleason
46de5efc69
Always send the "to" field 2022-07-25 12:24:03 -05:00
Alex Gleason
2db72c2a58 Merge branch 'developers-commithash' into 'develop'
Developers: display Soapbox version and commit hash in developers menu

See merge request soapbox-pub/soapbox-fe!1673
2022-07-25 15:44:47 +00:00
Alex Gleason
5916041fec
Add useTheme hook 2022-07-22 17:25:52 -05:00
Alex Gleason
7bbb9839ba
SoapboxMount: break even more out into SoapboxHead 2022-07-22 17:14:49 -05:00
Alex Gleason
dcd32e32a4
Add configurable GDPR alert 2022-07-22 17:04:53 -05:00
Alex Gleason
e3db81d652
SoapboxMount: break SoapboxLoad into a separate component 2022-07-22 17:01:26 -05:00
da1caf93dd For multi-response polls, show the number of people that voted instead of the sum of all votes submitted
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-07-22 23:48:27 +02:00
Alex Gleason
24ab5cd19a Merge branch 'external-login-errors' into 'develop'
ExternalLogin: display snackbar errors

See merge request soapbox-pub/soapbox-fe!1672
2022-07-22 17:41:57 +00:00
Alex Gleason
6be7c58883 Merge branch 'mastodon-admin-scopes' into 'develop'
Add Mastodon admin scopes

See merge request soapbox-pub/soapbox-fe!1668
2022-07-22 14:15:16 +00:00
marcin mikołajczak
f12fc96eb9 Merge branch 'restore-account-endorsements' into 'develop'
Restore featured accounts

See merge request soapbox-pub/soapbox-fe!1670
2022-07-22 13:37:59 +00:00
045a73f1d9 conditionally show endorse toggle
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-07-22 13:29:00 +02:00
Alex Gleason
1ffd61af67
DevelopersMenu: display source code version 2022-07-21 19:53:43 -05:00
Alex Gleason
cbd9dd52ee
DevelopersMenu: refactor DashWidget into a React.FC 2022-07-21 19:46:37 -05:00
Alex Gleason
131c783ea9
ExternalLogin: display snackbar errors 2022-07-21 17:16:46 -05:00
a3afeb6c54 Fix: When I visit a link to a status, the user's avatar is focused
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-07-21 23:47:21 +02:00
3c835cf724 Restore featured accounts
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-07-21 23:14:23 +02:00
Alex Gleason
cff1762cc3
Add Mastodon admin scopes 2022-07-21 15:26:46 -05:00
Alex Gleason
8a392c187f
Add eslint-plugin-compat 2022-07-21 12:19:36 -05:00
Justin
2dcf42e2c8 Merge branch 'improve-mobile-suggestions' into 'develop'
Improve mobile display of feed suggestions

See merge request soapbox-pub/soapbox-fe!1664
2022-07-21 14:57:26 +00:00
Alex Gleason
d32b6bca83 Merge branch 'autofill' into 'develop'
Restore autocomplete in some cases

See merge request soapbox-pub/soapbox-fe!1662
2022-07-21 14:45:22 +00:00
Justin
e6a1b20005 Merge branch 'timeline-fix' into 'develop'
Refetch timeline if user stops following someone

See merge request soapbox-pub/soapbox-fe!1663
2022-07-21 13:56:07 +00:00
Justin
a5b8837a4d Improve mobile display of feed suggestions 2022-07-21 09:54:58 -04:00
Justin
c53b7a984f Refetch timeline if user stops following someone 2022-07-20 14:23:11 -04:00
Alex Gleason
287429d651
Restore autocomplete in some cases 2022-07-20 12:41:39 -05:00
b294769dfe Merge remote-tracking branch 'soapbox/develop' into styles
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-07-20 19:21:53 +02:00
Justin
25b8835e6a Fix backdrop-blur for Firefox 2022-07-20 09:13:12 -04:00
Justin
c30e8f1fd9 Set the ref on the actual carousel div 2022-07-20 09:01:36 -04:00
f6900ed6ca Pullable: Remove pullingContent={undefined}
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-07-19 23:44:11 +02:00
Alex Gleason
077b2398ba Merge branch 'normalize-username' into 'develop'
Login: strip whitespace around username, strip leading @

See merge request soapbox-pub/soapbox-fe!1655
2022-07-19 19:57:31 +00:00
Alex Gleason
edfd498b7f
Sync up TruthSocial features 2022-07-19 14:22:19 -05:00
marcin mikołajczak
d6f3cc7442 Merge branch 'emoji-pointer' into 'develop'
Add cursor-pointer to emoji reactions in StatusInteractionBar

See merge request soapbox-pub/soapbox-fe!1656
2022-07-19 13:47:19 +00:00
Justin
04a4e82df3 Merge branch 'carousel-cutoff' into 'develop'
Carousel cutoff

See merge request soapbox-pub/soapbox-fe!1649
2022-07-19 13:12:13 +00:00
c43ad4fe88 Add cursor-pointer to emoji reactions in StatusInteractionBar
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-07-19 12:35:41 +02:00
marcin mikołajczak
87e39f52e6 Merge branch 'color-picker' into 'develop'
Fix color picker closing on toggle

See merge request soapbox-pub/soapbox-fe!1653
2022-07-19 05:11:51 +00:00
marcin mikołajczak
6b23aee703 Merge branch 'edit-media-attachments' into 'develop'
Allow reusing media_attachments if editing posts

See merge request soapbox-pub/soapbox-fe!1652
2022-07-19 05:11:38 +00:00
marcin mikołajczak
5d45c5dd95 Merge branch 'chats-autosuggest' into 'develop'
Chats account autosuggest fixes

See merge request soapbox-pub/soapbox-fe!1651
2022-07-19 05:11:30 +00:00
marcin mikołajczak
0f94fd3cec Merge branch 'chats-empty-message' into 'develop'
Display 'No chats found' in a card

See merge request soapbox-pub/soapbox-fe!1650
2022-07-19 05:11:18 +00:00
marcin mikołajczak
5edcc0459c Merge branch 'birthday-input-clear' into 'develop'
Allow to clear BirthdayInput

See merge request soapbox-pub/soapbox-fe!1654
2022-07-19 05:11:07 +00:00
Alex Gleason
0a74c64bb7
Actually, remove pattern from login inputs (it can be an email too) 2022-07-18 21:52:27 -05:00
Alex Gleason
fb45d62d70
Login: strip whitespace around username, strip leading @ 2022-07-18 21:50:02 -05:00
marcin mikołajczak
b0a9244782 Update index.tsx 2022-07-18 22:35:07 +00:00
4af99de109 Allow to clear BirthdayInput
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-07-19 00:11:12 +02:00
15852154c5 Fix color picker closing on toggle
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-07-18 23:44:37 +02:00
2ba135bdce Allow reusing media_attachments if editing posts
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-07-18 23:31:40 +02:00
81e14962ca Chats account autosuggest fixes
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-07-18 23:28:48 +02:00
2f5ca7c740 Display 'No chats found' in a card
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-07-18 23:01:09 +02:00
marcin mikołajczak
547bb0a9e9 Merge branch 'feed-suggestions-hide-empty' into 'develop'
Hide FeedSuggestions if empty

See merge request soapbox-pub/soapbox-fe!1647
2022-07-18 19:56:15 +00:00
Justin
0de3da4302 Ensure no cuttoff in Feed Carousel 2022-07-18 15:23:39 -04:00
b92cdabd62 Hide FeedSuggestions if empty
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-07-18 21:10:05 +02:00
bd05f8a245 Add object-cover to avatars in FeedSuggestions
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-07-18 21:08:43 +02:00
Justin
d807aae502 Add test for 'patchMe' action 2022-07-18 12:53:57 -04:00
Justin
781639bde8 Add test for 'fetchMe' action 2022-07-18 12:50:18 -04:00
marcin mikołajczak
9de46333b2 Merge branch 'hide-profile-tabs' into 'develop'
Hide tabs on Followers, Following… pages

See merge request soapbox-pub/soapbox-fe!1630
2022-07-18 15:41:01 +00:00
Justin
a6122d0527 refactor 2022-07-18 10:26:51 -04:00
Justin
6b2027cba5 Fix test 2022-07-18 10:16:56 -04:00
Justin
d8a1545ee8 Query account on hover for follow stats 2022-07-18 09:54:56 -04:00
marcin mikołajczak
32db37029c Merge branch 'edit-quotes' into 'develop'
Show quoted post when editing a quote

See merge request soapbox-pub/soapbox-fe!1643
2022-07-17 18:34:26 +00:00
f80925c061 Show quoted post when editing a quote
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-07-17 20:17:21 +02:00
marcin mikołajczak
66168f5ad9 Merge branch 'break-words-reply-indicator' into 'develop'
Fix: post content is not truncated or wrapped in reply box

Closes #1041

See merge request soapbox-pub/soapbox-fe!1642
2022-07-17 17:53:17 +00:00
marcin mikołajczak
7ef9686e92 Merge branch 'quotes-text-formatting' into 'develop'
Fix: markdown dropped from quote replies

Closes #1038

See merge request soapbox-pub/soapbox-fe!1641
2022-07-17 17:48:24 +00:00
c7fc5e65f8 Fix: post content is not truncated or wrapped in reply box
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-07-17 19:41:01 +02:00
448da6347a Fix: markdown dropped from quote replies
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-07-17 19:36:42 +02:00
ff1b63f796 Fix notifications loading
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-07-17 19:15:59 +02:00
marcin mikołajczak
c2d511bcd5 Merge branch 'announcements' into 'develop'
Announcements: Fix emoji url

See merge request soapbox-pub/soapbox-fe!1639
2022-07-16 20:36:24 +00:00
1eca63faa6 Announcements: Fix emoji url
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-07-16 22:24:27 +02:00
marcin mikołajczak
c5b751a68d Merge branch 'announcements' into 'develop'
Announcements

See merge request soapbox-pub/soapbox-fe!1614
2022-07-16 19:02:10 +00:00
86579abd45 Workaround for filtering on latest Mastodon
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-07-16 19:59:00 +02:00
38066799e3 Merge remote-tracking branch 'soapbox/develop' into hide-profile-tabs
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-07-16 00:31:32 +02:00
b57cecea8d Minor visual improvements
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-07-16 00:27:52 +02:00
3d057daa43 Apply suggestions
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-07-16 00:03:52 +02:00
Justin
7482d37f5c Merge branch 'add-loading-state-to-carousel' into 'develop'
Add disabled state when changing feed filter

See merge request soapbox-pub/soapbox-fe!1636
2022-07-14 20:58:00 +00:00
Justin
6f727ae139 Add disabled state when changing feed filter 2022-07-14 15:46:04 -04:00
Alex Gleason
3377f1dcd1 Merge branch 'developers-stuff' into 'develop'
Add advanced settings under Developers section, refactor

See merge request soapbox-pub/soapbox-fe!1625
2022-07-14 18:18:22 +00:00
Alex Gleason
04ff9de05d Merge branch 'phone-input' into 'develop'
Introduce PhoneInput component

See merge request soapbox-pub/soapbox-fe!1632
2022-07-14 18:16:40 +00:00
Alex Gleason
489792e1f3 Merge branch 'ptr-fix' into 'develop'
Remove PullToRefresh from ScrollableList, wrap outer components instead

See merge request soapbox-pub/soapbox-fe!1633
2022-07-14 18:10:43 +00:00
Justin
150510bc8a Format number after changing country code 2022-07-14 14:08:59 -04:00
Alex Gleason
4b94bc8b5d
Merge remote-tracking branch 'origin/develop' into ptr-fix 2022-07-14 13:01:18 -05:00
Jason Hollis
4925e17d0c
Fixed grammar 2022-07-14 12:56:50 -04:00
Justin
07f6935789 Refactor dropdown into 'addon' on Input 2022-07-14 11:55:00 -04:00
marcin mikołajczak
0c13ecf10f Merge branch 'ts-notifications' into 'develop'
Notifications: TS

See merge request soapbox-pub/soapbox-fe!1628
2022-07-14 05:42:09 +00:00
marcin mikołajczak
2d5454a93f Merge branch 'ts' into 'develop'
TypeScript, React.FC

See merge request soapbox-pub/soapbox-fe!1592
2022-07-14 05:41:41 +00:00
Alex Gleason
f4f34cf585
Remove PullToRefresh from ScrollableList, wrap outer components instead 2022-07-13 20:13:37 -05:00
Alex Gleason
99c67916dd
PhoneInput: add some helpful comments 2022-07-13 19:50:07 -05:00
Alex Gleason
efad8e0e67
Fix SmsVerification test 2022-07-13 19:34:29 -05:00
Alex Gleason
6f2ba29f81
Merge remote-tracking branch 'origin/develop' into phone-input 2022-07-13 19:15:46 -05:00
Alex Gleason
ca833e5eed
Revert "Timeline: don't try to memoize getStatusIds"
This reverts commit dd58f8fce7.
2022-07-13 19:15:39 -05:00
Alex Gleason
21e7215beb
Remove legacy phone formatting code 2022-07-13 19:09:13 -05:00
Alex Gleason
11a0329924
Fix pages that use PhoneInput 2022-07-13 19:08:19 -05:00
Alex Gleason
7f7edf9162
PhoneInput: improve styles 2022-07-13 18:45:42 -05:00
Alex Gleason
0591bf72a5
PhoneInput: remove unnecessary handleCountryChange function 2022-07-13 18:10:16 -05:00
Alex Gleason
ba98a8e82f
PhoneInput: prettify input while typing 2022-07-13 18:09:48 -05:00
Alex Gleason
f62dcc6650
Simplify PhoneInput to only care about its own internal state 2022-07-13 17:37:40 -05:00
849d82d620 Update Polish translation
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-07-13 23:59:27 +02:00
3e6dc0cfe7 PinnedStatuses: TS, FC
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-07-13 21:03:45 +02:00
479386af03 Merge remote-tracking branch 'soapbox/develop' into ts
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-07-13 20:57:12 +02:00
54ad8f7fbb Hide tabs on Followers, Following… pages
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-07-13 20:54:43 +02:00
583e4171f1 Add some tests
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-07-13 19:57:22 +02:00
Alex Gleason
0ed1c3ca83
Improve display of PhoneInput 2022-07-13 12:26:07 -05:00
Alex Gleason
85cf99f618
CountryCodeDropdown: use button element 2022-07-13 12:16:54 -05:00
Alex Gleason
a8c709b41c
Refactor formatPhoneNumber to accept countryCode 2022-07-13 11:40:02 -05:00
Alex Gleason
5c9cecf8c8
Add PhoneInput component 2022-07-13 09:42:58 -05:00
Alex Gleason
dd58f8fce7
Timeline: don't try to memoize getStatusIds 2022-07-11 19:29:38 -05:00
d527425f67 Update notification.test.tsx
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-07-12 00:25:07 +02:00
37d97eb857 Notifications: TS
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-07-11 23:27:43 +02:00
marcin mikołajczak
ffe14d9aa7 Merge branch 'notifications-empty-messages' into 'develop'
Show different 'empty notifications' message if category is selected

See merge request soapbox-pub/soapbox-fe!1627
2022-07-11 20:20:44 +00:00
c9edf20ab7 Show different 'empty notifications' message if category is selected
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-07-11 20:10:14 +02:00
marcin mikołajczak
30bf4a04b3 Merge branch 'styles-' into 'develop'
Federation restrictions page styles

See merge request soapbox-pub/soapbox-fe!1622
2022-07-11 17:53:47 +00:00
Alex Gleason
70cd4148e6 Merge branch 'subscription-button-no-tooltip' into 'develop'
SubscriptionButton: remove tooltip warning about web push

See merge request soapbox-pub/soapbox-fe!1618
2022-07-11 17:15:03 +00:00
Alex Gleason
641c87866e
SettingsStore: add advanced quickfilter toggle 2022-07-11 12:10:02 -05:00
Alex Gleason
c8004a7532
SettingsStore: add advanced settings toggles 2022-07-11 12:04:00 -05:00
Alex Gleason
faa02ecc3d
Preferences: prefer custom hooks 2022-07-11 11:54:51 -05:00
Alex Gleason
5a8bae5126
Rename developers modules with hypens 2022-07-11 11:44:03 -05:00
Alex Gleason
55cff5638f
CreateApp: manage params with POJO 2022-07-11 11:42:10 -05:00
Alex Gleason
104c2305fb
CreateApp: convert to TSX+FC 2022-07-11 11:34:14 -05:00
Alex Gleason
930a10a63e
SettingsStore: convert to TSX+FC 2022-07-11 10:48:25 -05:00
Justin
96e47962c9 Hide carousel if no avatars 2022-07-11 09:10:10 -04:00
Justin
1254f8a3f3 Merge branch 'feed-suggestions' into 'develop'
Feed suggestions

See merge request soapbox-pub/soapbox-fe!1595
2022-07-11 13:00:41 +00:00
604ad37c11 Federation restrictions page styles
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-07-11 00:02:08 +02:00
f6a0d31b54 Disable announcements reactions on Pleroma
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-07-10 23:35:22 +02:00
724fe8b765 statuses links
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-07-10 00:15:14 +02:00
1805dec968 remove onLinkClick
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-07-09 23:59:41 +02:00
ec040ff253 Merge remote-tracking branch 'soapbox/develop' into announcements
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-07-09 23:54:04 +02:00
d5a6e978e6 Announcements
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-07-09 23:47:58 +02:00
Alex Gleason
cb26a515a2
Fix suggestions test types 2022-07-09 15:08:01 -05:00
Alex Gleason
3874d1d9ef
Merge remote-tracking branch 'origin/develop' into feed-suggestions 2022-07-09 15:02:45 -05:00
Alex Gleason
ef6510f03b
Merge remote-tracking branch 'origin/develop' into subscription-fixes 2022-07-09 14:46:47 -05:00
Alex Gleason
8bcf5fe82d
Update tests for Jest v28, apply uuid hack
https://github.com/uuidjs/uuid/pull/616#issuecomment-1111012599
2022-07-09 14:25:19 -05:00
f5c3497ece Merge remote-tracking branch 'soapbox/develop' into announcements 2022-07-09 19:35:03 +02:00
Alex Gleason
16c08b23a8
Fix improper import of Tabler icons 2022-07-09 11:22:38 -05:00
Alex Gleason
6ddb44f626
Upgrade Tabler to v1.73.0, use new import paths, remove Webpack hack 2022-07-09 11:20:02 -05:00
Alex Gleason
018117049e
Update icons in notifications filter bar 2022-07-08 18:33:10 -05:00
Alex Gleason
f66d65924a
Better enforcement of notification types 2022-07-08 18:09:57 -05:00
Alex Gleason
627e6c574f
Drop invalid notifications 2022-07-08 17:52:39 -05:00
Alex Gleason
463c9fc9f5
Please the linter gods 2022-07-08 17:49:30 -05:00
Alex Gleason
b10dc7ea6e
Notification: fix ariaLabel crash 2022-07-08 17:20:41 -05:00
8be4bb7409 Ensure attachment meta is not null
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-07-09 00:15:26 +02:00
Alex Gleason
48bd46cf92
Web push locales: add pleroma locales 2022-07-08 17:08:41 -05:00
Alex Gleason
143aa119d2
notification.chat_mention --> notification.pleroma:chat_mention 2022-07-08 17:07:38 -05:00
Alex Gleason
94cbffc194
Add missing web push locales 2022-07-08 17:05:19 -05:00
2925c88360 wip
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-07-09 00:01:25 +02:00
Alex Gleason
44d0a75044
SubscriptionButton: remove tooltip warning about web push 2022-07-08 16:54:23 -05:00
Alex Gleason
1b373fae97
Fix registration test 2022-07-08 15:08:24 -05:00
Alex Gleason
da9eaf2b82
verifyCredentials: do alert on failure 2022-07-08 14:48:06 -05:00