Commit graph

451 commits

Author SHA1 Message Date
fc0a5aea9c Normalization, process quotes in importFetchedStatuses
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-01-24 16:52:15 +01:00
15d4910db5 wip quote post composing
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-01-23 18:44:17 +01:00
c0bee9be3c Display quoted posts
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-01-23 17:55:03 +01:00
d6f0023cc9 Add birthday reminder notification
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-01-20 22:39:58 +01:00
58ab54cd9e Mentions regex should be case-insensitive
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-01-17 20:26:45 +01: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
Alex Gleason
15d32c3b83
MFA: pass scopes to MFA challenge 2022-01-12 12:40:40 -06:00
Alex Gleason
e94acbc44f
MFA: setupMfa/confirmMfa, throw errors to component, don't be optimistic 2022-01-12 11:22:46 -06:00
0a160f4422 User endorsements
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-01-12 18:20:27 +01:00
Alex Gleason
d2363d63bd
Settings: allow immediately saving a changed setting, fixes #800 2022-01-10 21:26:10 -06: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
Alex Gleason
d270e92927
Developers: add ability to edit raw settings JSON 2022-01-07 15:59:50 -06:00
Alex Gleason
2fd5e5cd35
Refactor MFA setup, fixes #792 2022-01-07 14:26:19 -06:00
marcin mikołajczak
8192c93873 Merge branch 'mentions-modal' into 'develop'
Fix modals

See merge request soapbox-pub/soapbox-fe!962
2022-01-07 00:02:57 +00:00
b0477ac1e1 fix broken modals
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-01-07 00:50:32 +01:00
marcin mikołajczak
831a3418f9 Merge branch 'just-messing-around' into 'develop'
Add headers to confirmation modals

See merge request soapbox-pub/soapbox-fe!942
2022-01-06 17:09:08 +00:00
marcin mikołajczak
3dffc46fc1 Support explicit addressing 2022-01-04 20:06:08 +00:00
11107c6df9 Merge remote-tracking branch 'origin/develop' into just-messing-around
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-01-03 18:52:22 +01:00
marcin mikołajczak
9c6f805499 Remote interactions modal 2022-01-02 20:43:53 +00:00
809b875ae3 Add headlines to confirmation modals
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-12-30 18:50:02 +01:00
6805e88b69 Use account lookup in fetchAccountByUsername
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-12-30 16:29:05 +01:00
fc3b9d62a6 Support account subscriptions on Mastodon
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-12-30 16:13:45 +01:00
3a7da5d8d5 Check username availability
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-12-28 19:11:21 +01:00
Alex Gleason
a6dc420b70 Merge branch 'profile-directory' into 'develop'
Profile directory

See merge request soapbox-pub/soapbox-fe!927
2021-12-26 22:23:56 +00:00
marcin mikołajczak
955687d719 Merge branch 'search-race-condition' into 'develop'
Fix another race condition in search results

See merge request soapbox-pub/soapbox-fe!929
2021-12-26 10:54:47 +00:00
b79e760b65 Fix another race condition in search results
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-12-26 11:39:05 +01:00
10f7339e5c Profile directories, adapted from Mastodon
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-12-22 21:22:29 +01:00
Alex Gleason
74d26b36ac Merge branch 'awaiting-approval-modals' into 'develop'
Admin: Make account approval buttons larger, require confirmation when deleting users

See merge request soapbox-pub/soapbox-fe!914
2021-12-14 16:22:19 +00:00
acce32cf1b Make approval buttons larger, require confirmation when deleting users
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-12-14 17:00:20 +01:00
Alex Gleason
ff26336f3a Merge branch 'chats-pagination' into 'develop'
use `/api/v2/pleroma/chats`

See merge request soapbox-pub/soapbox-fe!911
2021-12-14 15:13:11 +00: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
53497c2132 Chats: Create next link if not provided
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-12-14 13:25:08 +01:00
12e4c6c083 wip chat pagination
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-12-13 18:06:47 +01:00
Alex Gleason
72763d1495
Properly filter DMs from timelines 2021-12-12 22:34:10 -06:00
d66b2e10f2 Fix: Race condition in search
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-12-12 20:35:45 +01:00
Alex Gleason
aaad79f6a5
Auth: logIn, don't create an unnecessary app token 2021-12-06 15:33:06 -05:00
Alex Gleason
92439137c1
v2 Suggestions: add AdminAPI, rearrange sidebars, check instance feature flag 2021-11-26 23:36:17 -06:00
4e04f06142 eslint: add key-spacing and space-unary-ops rules
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-11-24 18:28:35 +01:00
Alex Gleason
0e6fac9286
Web Push fixes 2021-11-18 16:21:52 -05: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
e54253d155
Search: resubmit when changing tabs 2021-11-15 16:03:39 -06:00
Alex Gleason
ad70e39143
Search: only search for results in the current filter 2021-11-15 15:59:08 -06:00
Alex Gleason
2c1e6d12f9
Search: clear search when backspaced all the way 2021-11-15 15:31:32 -06:00
Alex Gleason
1e603b8255
Interactions: don't reimport updated status with unfavourite and unreblog.
Mastodon doesn't decrement the counter in the API response, and we actually don't want updated counters anyway.
2021-11-12 13:39:06 -06:00
Alex Gleason
65a2a40cb2
Pull to Refresh: Notifications, Chats, Bookmarks 2021-11-04 14:20:11 -05:00
Alex Gleason
3ad3b5c84a
Status: implement proper Pull to Refresh, refactor horrible status actions 2021-11-04 13:16:28 -05:00
Alex Gleason
15a91d5ae3
Developers: scaffold with WIP developers page 2021-11-02 00:05:33 -05:00
Alex Gleason
f8ca45f5fb Merge branch 'configurable-autoload-more' into 'develop'
ScrollableList: Add option to disable loading more items when scrolled to bottom

See merge request soapbox-pub/soapbox-fe!822
2021-10-24 18:32:07 +00:00
535290654d ScrollableList: Add option to disable loading more items when scrolling to bottom
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-10-24 20:11:28 +02:00
742b1f2b58 Use ScrollableList for search results
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-10-24 19:58:04 +02:00
2f5fff0222 Show user what options they have voted
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-10-22 15:03:21 +02:00
Alex Gleason
a96b9678a3
Push notifications: take to Notifications on click 2021-10-21 17:34:01 -05:00
Alex Gleason
f79d4a3330
Push notifications: switch to serviceWorkerRegistration.showNotification() 2021-10-21 17:09:02 -05:00
Alex Gleason
fc6911caad
Push notifications: refactor, restore 2021-10-21 16:22:54 -05:00
Alex Gleason
e42030daae
Always check error.response before error.response.status 2021-10-20 17:50:35 -05:00
Alex Gleason
0b94774fbe
localforage: remember auth accounts 2021-10-20 16:27:36 -05:00
Alex Gleason
c8cec8fdac
localforage: create custom KVStore instance, refactor Instance actions 2021-10-20 15:17:47 -05:00
Alex Gleason
3c5384f318
localforage: add localforage, remember a fetched instance 2021-10-20 13:18:55 -05:00
Alex Gleason
0423a3a491
Compose: switch to regular snackbar.success 2021-10-19 17:08:37 -05:00
Alex Gleason
5d77f65535 Merge branch 'post-toast' into 'develop'
Compose: preliminary toast upon submission

See merge request soapbox-pub/soapbox-fe!797
2021-10-19 17:44:20 +00:00
Alex Gleason
09f57447c6
Compose: preliminary toast upon submission 2021-10-19 12:29:54 -05:00
Alex Gleason
13c623ca1e
EditProfile: resize avatar/banner in browser, improve error messages 2021-10-19 12:03:04 -05:00
Alex Gleason
c6067dbccb
v2 Media API: poll attachments for completion
https://github.com/mastodon/mastodon/pull/13210
2021-10-19 11:25:43 -05:00
Alex Gleason
5f183d38b1
VERIFY_CREDENTIALS_FAIL: skipAlert 2021-10-19 09:32:15 -05:00
Alex Gleason
04787678a2
Add autoloadTimelines user setting to configure timeline loading behavior 2021-10-15 15:41:40 -05:00
Alex Gleason
966f0e84e4
Share: support title and url params 2021-10-15 15:24:08 -05:00
Alex Gleason
f70791004b
Chats: add account search 2021-10-14 12:23:51 -05:00
Alex Gleason
e8005b9cf6
AutosuggestAccountInput: prevent race condition by cancelling pending requests 2021-10-14 10:05:57 -05:00
Alex Gleason
92c164dc6b
Create AutosuggestAccountInput component, display it in DirectTimeline (WIP) 2021-10-14 09:47:08 -05:00
Alex Gleason
73e4d00cc2
ProfileMediaPanel: fix crash from syncronous noOp 2021-10-13 15:10:26 -05:00
Alex Gleason
da79e5a876
Add conditional Chat/DM buttons throughout the interface 2021-10-13 13:55:02 -05:00
Alex Gleason
2d42995e6f
ProfileMediaPanel: fix navigating between profiles, display LoadingIndicator, display empty message 2021-10-13 12:55:17 -05:00
Alex Gleason
5033e320bc
Importer: fix order of imports in importFetchedStatus 2021-10-09 21:29:10 -05:00
Alex Gleason
135b4c4d7b
Optimistic replies: fix duplicated statuses 2021-10-09 21:12:21 -05:00
Alex Gleason
50feacbd6b
Optimistic, nonblocking statuses 2021-10-09 17:30:20 -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
e8d0ff89ef
Alerts: don't dispatch empty Redux action in showAlertForError() 2021-10-05 16:13:42 -05:00
Alex Gleason
a6f5cf33d0
Media: prefer V2 media API when available 2021-10-05 12:59:37 -05:00
Alex Gleason
c789fba629
Notifications: use Markers for unread count
This works consistently across all backends
2021-10-04 13:27:05 -05:00
Alex Gleason
f5673662dc
Suggestions: display whole ActionButton instead of plus icon 2021-10-02 16:09:28 -05:00
Alex Gleason
96c2e42ebf
Preload: call verifyCredentials after Mastodon preload to get the "source" parameter of the account 2021-09-24 18:47:22 -05:00
Alex Gleason
1b6d2568b3
Preload: fix Mastodon accounts import 2021-09-22 09:23:37 -05:00
Alex Gleason
5180895325
Preload: import accounts from Mastodon's initial-state 2021-09-21 20:26:47 -05:00
Alex Gleason
c4ecbb3a1b
Mastodon: search account by username 2021-09-18 16:07:52 -05:00
Alex Gleason
1bffa04a99
Suggestions: consolidate actions 2021-09-17 15:42:14 -05:00
Alex Gleason
9faff939a0
SuggestionsV2: pull in Mastodon's upstream code 2021-09-16 18:46:04 -05:00
Alex Gleason
06ed4e9096
Preload: refactor actions, add MASTODON_PRELOAD_IMPORT action 2021-09-15 12:55:21 -05:00
Alex Gleason
937782dc62
Rename PRELOAD_IMPORT to PLEROMA_PRELOAD_IMPORT 2021-09-15 12:15:36 -05:00
marcin mikołajczak
495882658a Merge branch 'develop' into 'public-favourites'
# Conflicts:
#   app/soapbox/features/favourited_statuses/index.js
2021-09-11 17:25:49 +00:00
Alex Gleason
196284695b
SoapboxConfig: allow authenticated profiles to be configured 2021-09-10 11:44:18 -05:00
125f446eed rename, add Polish translation
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-09-10 12:41:42 +02: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
3672d9faa5 Show user likes to others if hide_favorites===false
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-09-09 20:05:54 +02:00
Alex Gleason
bb6cdd4b71
Mastodon: return a friendlier login error than 'invalid_grant' 2021-09-08 11:08:22 -05:00
c80f87efaa Add emoji reacts page
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-09-06 21:54:48 +02:00
Alex Gleason
6e27116aa4
Tests: mock staticClient correctly 2021-09-05 14:16:16 -05:00
Alex Gleason
d20fdf1a3f
Subdirectory: use instance static files from subdirectory 2021-09-05 13:16:19 -05:00