Commit graph

236 commits

Author SHA1 Message Date
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
Alex Gleason
e14df4139b
Fix 'NaNK' in shortNumberFormat 2021-07-13 14:26:34 -05:00
Alex Gleason
a66f2b3f75
Big emojis: fix possible web crash 2021-07-10 12:41:57 -05:00
Alex Gleason
011b5dd19b
Big emojis: ignore mentions 2021-07-09 18:39:05 -05:00
Alex Gleason
60bdccc0b5
Big emojis: fix nodeList count 2021-07-09 17:02:04 -05:00
Alex Gleason
2082c19c53
Rename justEmojis to onlyEmoji 2021-07-09 16:54:44 -05:00
Alex Gleason
c856e9df55
Big emojis in chats, too 2021-07-09 14:22:01 -05:00
Alex Gleason
817843c77a
Performance: memoize getSoapboxConfig(), getSettings(), and getFeatures() 2021-07-06 13:15:10 -05:00
Alex Gleason
9840bd315f
EmojiReacts: handle undefined emoji reacts on a status 2021-07-04 20:09:17 -05:00
Alex Gleason
d9202baa58
Simplify greentext code 2021-07-01 20:41:03 -05:00
Alex Gleason
55015a72c1
Fix greentext postprocessing 2021-06-30 22:38:33 -05:00
Alex Gleason
258c4d6422
Update resize_image.js from Mastodon 2021-06-16 14:53:43 -05:00
Alex Gleason
eb006202e7
EmailList: let csv links be clickable, add combined.csv support, conditionally display elements 2021-06-15 15:20:00 -05:00
Alex Gleason
da630ab8c2
Let media be cropped less 2021-05-30 13:43:09 -05:00
Alex Gleason
5cfd8106dd
Resizer: set type explicitly 2021-04-17 20:35:46 -05:00
Alex Gleason
1e8dc0a029
Convert resized blobs to files before upload, fixes #617 !477 2021-04-17 17:52:10 -05:00
Alex Gleason
e03f551676
acctFull --> getAcct throughout the UI, make it stateful 2021-04-10 14:13:07 -05:00
Alex Gleason
4b5d22f172
Refactor account FQN with Pleroma BE field 2021-04-10 13:10:44 -05:00
Alex Gleason
2500dcf77a
Refactor API client 2021-03-31 14:47:54 -05:00
Alex Gleason
e0df861658 Merge branch 'link-footer-improvements' into 'develop'
Link footer improvements

See merge request soapbox-pub/soapbox-fe!461
2021-03-30 21:09:46 +00:00
Alex Gleason
284aacccf0
Try to get version from GitLab CI first 2021-03-30 14:02:26 -05:00
Alex Gleason
a032369d33
Include Soapbox FE commit hash when git is available 2021-03-30 13:11:04 -05:00
Alex Gleason
f97bba2308
@preval sourceCode 2021-03-30 12:43:45 -05:00
Alex Gleason
110f2de90c
Fix pagination for blocks/mutes 2021-03-30 11:53:45 -05:00
Alex Gleason
09cbcf6145
Don't rely on ['auth', 'me'] 2021-03-30 00:23:29 -05:00
Alex Gleason
71c62c05b8
Move isLoggedIn to utils/auth.js 2021-03-25 12:25:45 -05:00
Alex Gleason
74f48229fc
Fix streaming access token 2021-03-24 17:53:09 -05:00
Alex Gleason
9cd06a15d5
Refactor loggedin check 2021-03-24 11:44:51 -05:00
Alex Gleason
62d5a97939
Add button verify/unverify a user 2021-03-15 21:52:42 -05:00
Alex Gleason
453290c6d7
Make it harder to accidentally delete a local user 2021-03-15 19:32:52 -05:00
Alex Gleason
d97f9d7472 Merge branch 'rgi-reacts' into 'develop'
Support RGI emoji reacts conditionally

See merge request soapbox-pub/soapbox-fe!421
2021-01-18 20:27:35 +00:00
Alex Gleason
f24e1c9929
Normalize Pleroma user fields, fixes #549 2021-01-18 13:59:24 -06:00
Alex Gleason
fb99d36494
Support RGI emoji reacts conditionally 2021-01-18 13:31:16 -06:00
Alex Gleason
b5d0861bd1
Allow importing mutes 2021-01-07 14:26:05 -06:00
Alex Gleason
3d4bd23870
Fix emoji heart tests 2020-12-24 14:40:47 -06:00
Alex Gleason
fafdc8ef8a
Fix heart emoji react for Pleroma develop branch 2020-12-11 09:12:54 -06:00
Alex Gleason
0bbdaa4191
eslint: trailing comma fixes, unused var 2020-10-07 13:08:36 -05:00
Alex Gleason
93d2e83584
SoapboxConfig: site preview 2020-10-01 18:57:11 -05:00
Alex Gleason
b266813b4b
Reduce semver bundle size, #439 2020-09-27 21:41:11 -05:00
Alex Gleason
c8f839f483
Remove chromatism, #439 2020-09-27 21:25:48 -05:00
Alex Gleason
d5d8c4877e
Interactions: optimistic Favourite and EmojiReact actions, fixes #104 2020-09-27 17:24:55 -05:00
Alex Gleason
5aef50b89e
Composer: refactor filename truncation 2020-09-06 16:44:19 -05:00
Alex Gleason
4b1606e8dd
Favicon: refactor, show domain in alt/title 2020-09-02 22:38:04 -05:00
Alex Gleason
48d0572403
ConfigDB: Refactor updateFromAdmin in reducers/soapbox 2020-08-24 10:08:39 -05:00
Alex Gleason
fdbe981477
Fix timeline queue header when filters are enabled 2020-08-14 16:01:30 -05:00
Alex Gleason
cbdcccb8b2
Fix RGB->HSL precision issues
Moved back to chromatism. Well worth it for the accuracy.
2020-06-12 10:48:04 -05:00
Alex Gleason
74a01a7b3e
MoreFollows: count can never be negative, fixes #146 2020-06-07 15:11:41 -05:00
Alex Gleason
dfb133b22c
Features: focalPoint check 2020-06-07 14:52:13 -05:00
Alex Gleason
75412ca078
Features: add attachmentLimit check 2020-06-07 14:31:04 -05:00
Alex Gleason
cc6aae5937
Reformat features-test.js 2020-06-07 14:26:28 -05:00
Alex Gleason
80ddf656d8
Theming: RGB --> HSL 2020-06-06 22:55:00 -05:00
Alex Gleason
d21db82247
Remove theming cruft 2020-06-02 15:48:27 -05:00
Alex Gleason
67a7adb9a9
Action to set theme, render theme CSS 2020-05-30 19:05:01 -05:00
Alex Gleason
d24dcb3e60
gabsocial --> soapbox paths 2020-05-28 17:56:55 -05:00