Commit graph

303 commits

Author SHA1 Message Date
Alex Gleason
92535a961f
features: support accountLookup for TruthSocial 2022-04-29 09:16:20 -05:00
Alex Gleason
27b7fc4f30
Convert admin/index to TSX 2022-04-28 11:36:45 -05:00
387ebfc56c Allow editing posts on Mastodon
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-04-28 16:26:47 +02:00
Alex Gleason
ee2bfd666b
Features: support backend build name (eg +soapbox) 2022-04-27 13:50:13 -05:00
Justin
49464ad4cc Add support for formatting numbers in millions 2022-04-25 11:08:32 -04:00
Alex Gleason
7038d6a844
Convert a bunch of files to TypeScript 2022-04-24 14:28:07 -05:00
Alex Gleason
f672f46809
WIP Paginated Context API 2022-04-23 22:31:49 -05:00
Alex Gleason
677327336f
Features: sort keys alphabetically 2022-04-23 15:54:57 -05:00
Alex Gleason
ab2e6b2ee3
Features: extensive documentation 2022-04-23 15:40:54 -05:00
Alex Gleason
426f02722a
Make Soapbox component an FC, move console.log 2022-04-21 11:21:09 -05:00
Alex Gleason
b72f398bad
Use feature detection for frontendConfigurations 2022-04-19 18:33:13 -05:00
Alex Gleason
bc8e9254cf
EditProfile: conditional features 2022-04-16 21:16:01 -05:00
Alex Gleason
9d4b084764
Card: improve normalization of Pleroma OG fields 2022-04-16 12:57:17 -05:00
Alex Gleason
13b6652feb
Merge remote-tracking branch 'origin/next' into next-timelines 2022-04-12 20:11:17 -05:00
Alex Gleason
b727ef3d21
Add timeline links to navigation 2022-04-12 20:10:47 -05:00
Alex Gleason
8377e3c86b
Make darkMode a feature (for now) 2022-04-12 19:08:42 -05:00
ae396544a7 Typescript, FC
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-04-11 23:02:37 +02:00
2943b91034 Typescript, convert some components to functional
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-04-11 21:58:48 +02:00
Alex Gleason
41d49e0fe7
Add preliminary Pixelfed support 2022-04-10 18:21:52 -05:00
Alex Gleason
37a8bc7083
WIP: embeds 2022-04-10 17:52:42 -05:00
Alex Gleason
1466a08193
Perform better normalization of allowedEmoji 2022-04-10 15:44:51 -05:00
Alex Gleason
54d76d6b56
Move emoji utils into its own module 2022-04-10 15:25:07 -05:00
Alex Gleason
ec83c3bc57
LandingPage: conditional registration flow 2022-04-05 14:38:49 -05:00
Alex Gleason
d738e7d5bf
Fix tests 2022-04-02 21:40:47 -05:00
Alex Gleason
1e3c6d9430
Remove staff util functions, normalize account staff fields 2022-04-01 19:39:32 -05:00
Alex Gleason
4a8f08e313
StatusActionBar: convert to tsx 2022-04-01 18:39:27 -05:00
Alex Gleason
7efa10e7e0
Convert reducers/admin to Typescript 2022-03-31 18:10:34 -05:00
Alex Gleason
dddba516fb
Convert selectors/index to Typescript 2022-03-31 17:00:31 -05:00
Justin
3bea4927be Change copy for generic 500 error 2022-03-31 07:13:47 -04:00
Alex Gleason
ba7f99096c
utils/features: don't call .get 2022-03-30 16:30:04 -05:00
Alex Gleason
548ecef20f
LinkFooter: convert to TSX 2022-03-30 15:50:16 -05:00
Alex Gleason
b363c20359
Enable Trends and Suggestions for TruthSocial 2022-03-30 10:58:06 -05:00
Justin
1ce5b5b34f Handle max file size before we process with server 2022-03-30 10:40:09 -04:00
Justin
c38ed64308 Add fallback for missing errors 2022-03-30 10:40:09 -04:00
Justin
9352638761 Convert media.js to TSX 2022-03-30 10:40:09 -04:00
36c0fb5882 Support trending statuses from Mastodon 3.5
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-03-29 21:15:06 +02:00
Alex Gleason
a8eed4192d
tintify: tweak color intensity 2022-03-28 18:21:43 -05:00
Alex Gleason
c8bb99af60
Improve color normalization 2022-03-28 18:00:04 -05:00
Alex Gleason
05f5045648
Convert utils/features.ts to TypeScript 2022-03-26 14:23:29 -05:00
Alex Gleason
55c99f0207
utils/features.js: TruthSocial features 2022-03-26 14:06:25 -05:00
Alex Gleason
2940a3ff4d
Put Typescript in "strict" mode, fix or ignore errors 2022-03-24 14:27:27 -05:00
Alex Gleason
14ec40ee95
Typescript: start fixing 'strict' mode errors 2022-03-23 21:43:36 -05:00
Alex Gleason
fff580f053
Normalize Tailwind colors from SoapboxConfig 2022-03-23 15:31:19 -05:00
Alex Gleason
7fc4950387
utils/tailwind.ts: Tailwind/SoapboxConfig conversion functions 2022-03-23 14:28:51 -05:00
Alex Gleason
8f85fd01d5
Make bg-shape colors configurable 2022-03-22 16:25:52 -05:00
Alex Gleason
a42ea0961a
Generate Tailwind colors from brandColor/accentColor 2022-03-22 12:37:57 -05:00
Alex Gleason
18bad4a5ab
Typescript: utils/theme.ts 2022-03-21 18:57:23 -05:00
Alex Gleason
0938612678
Use colors from soapbox.json at runtime 2022-03-21 18:43:31 -05:00
Alex Gleason
5cd894ab02
Truth Social 2022-03-21 13:14:26 -05:00
Alex Gleason
fb9c665e3e
Typescript: utils/config_db.ts 2022-03-20 19:40:08 -05:00
Alex Gleason
da07c9355a
Account: normalize fqn 2022-03-17 15:52:57 -05:00
Alex Gleason
76eeb8a219
Delete+Redraft: drop attachments with integer IDs from Pleroma 2022-03-16 20:54:41 -05:00
Alex Gleason
9fa1dc3fe5
Merge remote-tracking branch 'mkljczk/mastodon-redraft' into pleroma-redraft-quirk 2022-03-16 19:50:41 -05:00
Alex Gleason
75db92719d
Normalize poll emoji 2022-03-10 19:55:14 -06:00
Alex Gleason
8decaa2d9f
Parse Mentions as Immutable.Record 2022-03-10 17:57:12 -06:00
71ea3ed425 Include media attachments when redrafting on Mastodon
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-03-10 18:47:20 +01:00
Alex Gleason
d98c54de4f
ComposeForm: conditional features 2022-03-04 12:47:59 -06:00
Alex Gleason
8d64bf2697
custom: fix import leak 2022-03-03 23:38:59 -06:00
Alex Gleason
afb7827f40
Allow features overrides, document custom/ directory 2022-03-03 23:05:37 -06:00
Alex Gleason
e9efb6078d
Merge remote-tracking branch 'origin/develop' into revert-7d2ccc72 2022-02-28 14:15:09 -06:00
Alex Gleason
d86eac4c1a
Remove isVerified() function 2022-02-27 22:25:23 -06:00
Alex Gleason
3095ee5db1
normalizeAccount(): normalize "verified" field 2022-02-27 22:22:21 -06:00
Alex Gleason
19ac4a54c2
normalizeAccount(): normalize Pleroma legacy fields 2022-02-27 20:25:15 -06:00
Alex Gleason
7054a5e9ac
Create account normalizer 2022-02-27 14:42:42 -06:00
Alex Gleason
3a5c62cb70 Revert "Merge branch 'revert-f59d977a' into 'develop'"
This reverts merge request !1056
2022-02-27 00:13:35 +00:00
Alex Gleason
1f549ebe1a Revert "Merge branch 'typescript' into 'develop'"
This reverts merge request !859
2022-02-26 23:55:34 +00:00
Alex Gleason
79b782600b
Merge remote-tracking branch 'origin/develop' into typescript 2022-02-26 15:40:39 -06:00
ccff91b072 Account notes
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-02-26 15:57:34 +01:00
5b3f7c1cdc Let accent color be configurable
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-02-24 18:28:52 +01:00
Alex Gleason
1e4659248f
statusNormalizer: fix mention to self 2022-02-20 01:19:28 -05:00
Alex Gleason
dc3e610b10
Merge branch 'typescript' of gitlab.com:soapbox-pub/soapbox-fe into typescript 2022-02-19 01:25:31 -05:00
Alex Gleason
2b235a80e4
Merge remote-tracking branch 'origin/develop' into typescript 2022-02-19 01:25:06 -05:00
Alex Gleason
85c32e3f76 Merge branch 'account-migrations' into 'develop'
Allow account migrations

See merge request soapbox-pub/soapbox-fe!1038
2022-02-19 03:03:57 +00:00
Alex Gleason
635f88f5e8
Rewrite code with optional chaining (?.) 2022-02-18 21:04:18 -05:00
23aa11dfe3 Use new API for account aliases
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-02-14 21:00:41 +01:00
Alex Gleason
f4858d0406
Fedibird: support quote posting 2022-02-12 20:08:38 -06:00
Alex Gleason
abcd55752d
Support only external Ethereum auth for now 2022-02-10 19:34:23 -06:00
Alex Gleason
01dd53328b
Cleanup unused code 2022-02-10 16:36:36 -06:00
Alex Gleason
f051b70b10
Support Ethereum external login 2022-02-10 16:34:46 -06:00
Alex Gleason
012a7f8d89
Mitra: support Ethereum login 2022-02-09 19:47:13 -06:00
Alex Gleason
fb7c642dc7
GoToSocial support 2022-02-06 20:46:06 -06:00
Alex Gleason
d5ae29bfda Merge branch 'mastodon-configuration' into 'develop'
Normalize instance configuration for Mastodon

See merge request soapbox-pub/soapbox-fe!1022
2022-02-01 15:23:50 +00:00
Alex Gleason
3708c0128c Merge branch 'birthdays' into 'develop'
Birth dates

See merge request soapbox-pub/soapbox-fe!1000
2022-02-01 01:00:52 +00:00
Alex Gleason
67399473d0 Merge branch 'account-subscriptions-mastodon' into 'develop'
Support account subscriptions on Mastodon

See merge request soapbox-pub/soapbox-fe!940
2022-02-01 00:59:14 +00:00
Alex Gleason
e04e75f831
Set attachment limit from instance 2022-01-31 17:52:12 -06:00
Alex Gleason
630f583c2f
Strip all instances of compat features from statuses 2022-01-30 09:47:31 -06:00
f25c9298ca Merge remote-tracking branch 'soapbox/develop' into account-subscriptions-mastodon
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-01-28 23:47:27 +01:00
Alex Gleason
cac8b5026e
Fix RT spacing in the other place 2022-01-28 14:52:22 -06:00
Justin
f42754ad58 Apply 1 suggestion(s) to 1 file(s) 2022-01-27 19:56:16 +00:00
ac42b43fab Birthdays: renames
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-01-25 21:10:13 +01:00
ecfef7b151 Merge remote-tracking branch 'soapbox/develop' into birthdays 2022-01-25 20:27:16 +01:00
Alex Gleason
462df83989
Status: strip compatibility features from markup when importing 2022-01-24 20:39:22 -06:00
7da12b1526 Merge remote-tracking branch 'soapbox/develop' into birthdays
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-01-24 23:12:07 +01:00
289cdcc776 Use dropdown for reposts, do not display cards for quote posts
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-01-23 22:15:25 +01:00
5e76b5afca Birth dates
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-01-19 21:47:37 +01:00
NEETzsche
5fed85891f Support the blockers_visible option when it's available 2022-01-14 18:06:31 -07:00
7aef1d923b Merge remote-tracking branch 'origin/develop' into account-endorsements
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-01-13 22:29:32 +01:00
0a160f4422 User endorsements
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-01-12 18:20:27 +01:00
Alex Gleason
6323c7d70e
eslint: enforce gaps between groups with import/order 2022-01-10 16:25:06 -06:00
Alex Gleason
966ca91e1a
eslint: alphabetize imports with import/order 2022-01-10 16:17:52 -06:00
Alex Gleason
2a0e2001d6
eslint: enforce import/order 2022-01-10 16:01:24 -06:00
marcin mikołajczak
3dffc46fc1 Support explicit addressing 2022-01-04 20:06:08 +00:00
marcin mikołajczak
9c6f805499 Remote interactions modal 2022-01-02 20:43:53 +00:00
fc3b9d62a6 Support account subscriptions on Mastodon
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-12-30 16:13:45 +01:00
b5b089ac7d Use /lookup for username availability with Pleroma
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-12-30 00:31:09 +01:00
3a7da5d8d5 Check username availability
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-12-28 19:11:21 +01:00
e3d2b44bdc Profile directory: styles, cleanup
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-12-25 18:23:26 +01:00
6a48948af7 Use old chats list API conditionally
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-12-14 13:38:59 +01:00
Alex Gleason
92439137c1
v2 Suggestions: add AdminAPI, rearrange sidebars, check instance feature flag 2021-11-26 23:36:17 -06:00
Alex Gleason
0e6fac9286
Web Push fixes 2021-11-18 16:21:52 -05:00
Alex Gleason
164a150fbb
Admin: fix display of 0% retention 2021-11-16 07:12:55 -06:00
Alex Gleason
1714ac03d2
Status: display a placeholder Card on own links, poll for updated card 2021-11-15 19:10:38 -06:00
Alex Gleason
7259ed58fb
Offline: persist Soapbox config (eg frontend_configurations or soapbox.json) 2021-11-15 16:56:33 -06:00
Alex Gleason
30a9de817a
resizeImage: skip canvas reliability check for now (it's unreliable) 2021-11-15 13:41:33 -06:00
Alex Gleason
9a42ebb41f
resizeImage: output error to console 2021-11-15 13:14:32 -06:00
Alex Gleason
f826d620b4
Start adding Typescript support 2021-11-04 19:28:04 -05:00
d4f32e1219 Use correct 'Import data' link for Mastodon
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-10-31 22:07:41 +01:00
Alex Gleason
13c623ca1e
EditProfile: resize avatar/banner in browser, improve error messages 2021-10-19 12:03:04 -05:00
Alex Gleason
343a210d96
v2 Media API: disable for Pleroma (use v1) 2021-10-19 11:28:48 -05:00
Alex Gleason
6313559409
Favicon unread badge: improve behavior & style 2021-10-15 12:42:42 -05:00
Alex Gleason
69dcd6421a
Display Slack-like favicon unread badge (yoinked from Pleroma FE) 2021-10-15 11:52:35 -05:00
Alex Gleason
135ec190ee
Instead of str.replaceAll, use str.replace with regex (for better browser support) 2021-10-12 10:31:15 -05:00
Alex Gleason
e04a488ea4
Pleroma: mark notifications read in case Markers don't work 2021-10-05 17:39:38 -05:00
Alex Gleason
dbf410e34c
Messages: prefer DirectTimeline, but fall back to Conversations 2021-10-05 17:24:01 -05:00
Alex Gleason
a6f5cf33d0
Media: prefer V2 media API when available 2021-10-05 12:59:37 -05:00
Alex Gleason
c4ecbb3a1b
Mastodon: search account by username 2021-09-18 16:07:52 -05:00
Alex Gleason
dc295c9d65
Features: add Lists 2021-09-18 14:36:42 -05:00
Alex Gleason
46737a5468
Features: add Bookmarks, improve uglification 2021-09-18 14:27:15 -05:00
Alex Gleason
9faff939a0
SuggestionsV2: pull in Mastodon's upstream code 2021-09-16 18:46:04 -05:00
Alex Gleason
ea4915c7dd
Conditionally display subscription button for Pleroma >= 1.0.0 2021-09-13 12:29:48 -05:00
Alex Gleason
4aa9872c94
Load exif.js library asynchronously 2021-09-12 11:40:03 -05:00
Alex Gleason
5eab5ec0a5
Webpack: move Twemoji icons back to CopyPlugin 2021-09-12 10:51:58 -05:00
marcin mikołajczak
c2fc7a0331 Merge branch 'develop' into 'reactions-page'
# Conflicts:
#   app/soapbox/utils/features.js
2021-09-09 20:48:30 +00:00
660661451c Conditionally link to emoji reaction list
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-09-09 20:44:12 +02:00
Alex Gleason
d1d96308a1
Mastodon: redirect password reset to backend 2021-09-08 11:46:38 -05:00
Alex Gleason
74e5ae077a
Standalone: don't memoize isStandalone 2021-08-31 10:10:06 -07:00
Alex Gleason
c624afdfb7
Standalone: add external accounts, refresh on logout 2021-08-30 16:54:04 -07:00
Alex Gleason
be0f252351
Mastodon: conditionally display Markdown, emojiReact column settings, sidebar features, and account aliases 2021-08-23 15:31:42 -05:00
Alex Gleason
6b19f39d51
Federating conditional UI 2021-08-23 14:14:47 -05:00
Alex Gleason
39c95f7a00
Conditional OAuth scopes 2021-08-22 19:13:09 -05:00
Alex Gleason
0b4b3479ea
Standalone: support running Soapbox FE on a subdomain 2021-08-22 14:34:58 -05:00
Alex Gleason
1579e047b5
Add displayName, use as app name 2021-08-21 22:46:33 -05:00
Alex Gleason
fcaf19df76
Auth: rudimentary API baseURL support 2021-08-21 22:08:26 -05:00
Alex Gleason
463b3ba085
Auth: store users by their ActivityPub ID instead of their primary key 2021-08-21 17:38:19 -05:00
Alex Gleason
893c903d71
Mastodon: conditionally disable chats 2021-08-20 15:46:17 -05:00
Alex Gleason
594cf088ed
eslint: extend 'eslint:recommended' 2021-08-03 14:29:36 -05:00
Alex Gleason
a310197a5a
eslint: prefer-const, no-loop-func, no-const-assign, no-var 2021-08-03 12:36:11 -05:00
Alex Gleason
e4dd720d51
EditFederationModal: use ConfigDB directly instead of /api/v1/instance 2021-07-28 17:06:21 -05:00
Alex Gleason
421a78eb43
FederationRestrictions: check presence of mrf_policies instead 2021-07-26 12:23:49 -05:00
Alex Gleason
efe989a8f1
FederationRestrictions: conditional display 2021-07-26 11:46:44 -05:00