Commit graph

465 commits

Author SHA1 Message Date
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
Alex Gleason
474d67f591
Standalone: fallback to limited featureset when authenticated fetch is enabled 2021-08-31 09:02:43 -07:00
Louise Fleur-de-Sel
174bab0ca5 Export Follows, Blocks and Mutes as CSV Files 2021-08-31 14:58:16 +00:00
Alex Gleason
c624afdfb7
Standalone: add external accounts, refresh on logout 2021-08-30 16:54:04 -07:00
Thibaut Girka
64665df236 Improve dropdown menu keyboard navigation
* Allow selecting menu items with the space bar in status dropdown menus

* Fix modals opened by keyboard navigation being immediately closed

* Fix menu items triggering modal actions

* Add Tab trapping inside dropdown menu

* Give focus back to last focused element when status dropdown menu closes
2021-08-28 15:22:43 +02:00
Alex Gleason
56462d8a9a
Add accounts_meta reducer to support storing source data for multiple accounts 2021-08-23 17:51:32 -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
3e4a687a4b
Standalone: fix token scope request 2021-08-22 17:13:01 -05:00
Alex Gleason
28b1bdf1ee
Standalone: fix auth with Mastodon 2021-08-22 14:46:40 -05:00
Alex Gleason
0b4b3479ea
Standalone: support running Soapbox FE on a subdomain 2021-08-22 14:34:58 -05:00
Alex Gleason
1b30468366
Auth: move some actions into security.js 2021-08-22 10:55:56 -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
74f4c59004
Auth: refactor OAuth token actions 2021-08-21 19:45:45 -05:00
Alex Gleason
a1cbbfcb02
Auth: refactor app actions 2021-08-21 19:16:54 -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
e5e15fc3f0
Mastodon: conditionally render emojiReacts 2021-08-20 16:16:53 -05:00
Alex Gleason
4e2f12eb18
pinnedHosts: add host picker to public timelines 2021-08-11 19:38:25 -05:00
Alex Gleason
a5460bb97e
pinnedHosts: actions 2021-08-11 18:23:42 -05:00
Alex Gleason
fbeb8de2a0
AccountTimeline: pinned post column settings 2021-08-11 16:00:49 -05:00
Alex Gleason
dcf7dd216f
AccountTimeline: let it be configurable like other timelines 2021-08-11 15:31:46 -05:00
Alex Gleason
bde53541b7 Merge branch 'account-aliases' into 'develop'
Account aliases

See merge request soapbox-pub/soapbox-fe!663
2021-08-11 17:02:56 +00:00
d36ec10c6a Auto select search tab that has results
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-08-07 20:57:22 +02:00
403d6ae48c Search results improvements
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-08-07 20:42:39 +02:00
f203a4d389 WIP: Account aliases
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-08-05 15:31:29 +02:00
Alex Gleason
497b6b08d4 Merge branch 'store-current-search-tab' into 'develop'
Keep selected search results tab

See merge request soapbox-pub/soapbox-fe!657
2021-08-03 19:39:09 +00:00
Alex Gleason
5548644bd6
eslint: no-extra-semi 2021-08-03 14:22:51 -05:00
Alex Gleason
a310197a5a
eslint: prefer-const, no-loop-func, no-const-assign, no-var 2021-08-03 12:36:11 -05:00
bd16715763 Keep active search results tab
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-08-02 20:51:15 +02:00
Alex Gleason
3b0946501d Merge branch 'fixes/filter-poll-options' into 'develop'
Apply filters to poll options

See merge request soapbox-pub/soapbox-fe!655
2021-08-02 16:02:15 +00:00
Claire
6a20e5f786 Apply filters to poll options
Co-authored-by: marcin mikołajczak <me@mkljczk.pl>
2021-08-02 17:20:53 +02:00
Alex Gleason
e7813e178a Merge branch 'search-tabs' into 'develop'
Tabbed, paginated search results

See merge request soapbox-pub/soapbox-fe!652
2021-07-30 23:16:31 +00:00
d0f3fe6771 Tabbed, paginated search results
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-07-30 17:51:43 +02:00
Alex Gleason
e4dd720d51
EditFederationModal: use ConfigDB directly instead of /api/v1/instance 2021-07-28 17:06:21 -05:00
193b326d15 a11y: Option to always underline links in posts
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-07-28 16:03:59 +02:00
Alex Gleason
1fa3aa0008
EditFederationModal: handle submission 2021-07-27 14:40:41 -05:00
Alex Gleason
26c4981740
PushSubscriptions: create actions 2021-07-21 21:04:28 -05:00
Alex Gleason
09d7ec3161
Remove unused IndexedDB reads
https://github.com/mastodon/mastodon/pull/14730
2021-07-20 15:05:58 -05:00
Alex Gleason
c5fa16f581
Notifications: import target account during streaming event for Move notification 2021-07-15 10:58:43 -05:00
Alex Gleason
30b39d739f
UserIndex: make search work 2021-07-13 20:14:15 -05:00
Alex Gleason
fa91defea0
Rename 'dirty' to 'should_refetch' 2021-07-13 18:35:37 -05:00
Alex Gleason
2f6cd35f38
Admin: refactor actions to use accountIds instead of nicknames 2021-07-13 18:30:46 -05:00
Alex Gleason
732fba73f5
Admin: refactor fetchUsers() action 2021-07-13 17:27:11 -05:00
Alex Gleason
3043924045
Refactor UserIndex to use its own state instead of Redux 2021-07-13 17:01:31 -05:00
Alex Gleason
80a682f120
Admin: add UserIndex to view a list of registered users 2021-07-13 15:16:31 -05:00
Alex Gleason
b892c6fe22
Staff promotions: change action names to more closely match AdminAPI endpoints 2021-07-13 12:34:58 -05:00
Alex Gleason
859eb77ffc
Refactor verification actions 2021-07-13 12:26:56 -05:00
Alex Gleason
5eafa25ea9
Allow promotion/demotion of users to staff roles 2021-07-13 12:21:12 -05:00
Alex Gleason
75d464b4d4
Notifications: no need to reverse fetched data 2021-07-09 17:56:25 -05:00
Alex Gleason
a13d31ac30
Notifications: import target account from 'Move' notification 2021-07-09 17:40:15 -05:00
Alex Gleason
bc7f72a691
Hide broken reposts
https://gitlab.com/soapbox-pub/soapbox/-/issues/28
2021-07-08 19:30:02 -05:00
Alex Gleason
c505cde24f
Timelines: fix dequeue, fix component propTypes 2021-07-08 14:52:07 -05:00
Alex Gleason
2978745311
Timelines: big refactor, use Immutable.OrderedSet 2021-07-08 14:28:53 -05:00
Alex Gleason
817843c77a
Performance: memoize getSoapboxConfig(), getSettings(), and getFeatures() 2021-07-06 13:15:10 -05:00
Alex Gleason
bf59785941 Merge branch 'develop' into 'develop'
Localizable about pages

See merge request soapbox-pub/soapbox-fe!546
2021-07-02 02:03:13 +00:00
Alex Gleason
9ea1df2fb1
Scheduled statuses validation 2021-06-30 14:53:29 -05:00
Alex Gleason
411ecadeda Merge branch 'move' into 'develop'
Account move notification

See merge request soapbox-pub/soapbox-fe!560
2021-06-30 16:06:57 +00:00
ace220850d Account move notification
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-06-30 13:42:38 +02:00
Alex Gleason
3edf243bbe
Admin: optimistic user deletions 2021-06-30 03:02:52 -05:00
Alex Gleason
97f89acff9
ScheduledStatuses: ability to view and cancel scheduled statuses 2021-06-27 17:04:23 -05:00
Alex Gleason
600146f2be
Composer: refactor submitCompose code 2021-06-27 14:46:47 -05:00
Alex Gleason
1f5580ce66
Separate status creation from composer 2021-06-27 14:17:37 -05:00
Alex Gleason
5f9d95301c
ScheduledStatuses: scaffolding 2021-06-27 13:59:10 -05:00
2df8b927ea Allow translating more strings
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-06-27 00:04:27 +02:00
25ceec244d think before you copy n paste
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-06-26 19:36:16 +02:00
a690f26613 Allow to subscribe to an account
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-06-26 19:28:31 +02:00
e8ceedd689 Localizable about pages
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-06-26 15:07:52 +02:00
9527c0b939 Confirmation modals about missing image descriptions
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-06-21 22:12:37 +02:00
ddf9f3c4fe You seem to use different code style
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-06-21 20:39:22 +02:00
df8cc9b12e Confirmation modals about missing image descriptions (configurable)
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-06-21 20:33:05 +02:00
NEETzsche
3a209e2fea Schedule posts 2021-06-18 16:04:31 +00:00
Alex Gleason
94a57e7e34
Fix streaming notifictaions 2021-06-17 02:18:17 -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
085135b660
CryptoDonatePanel: set default limit to 1 2021-06-10 18:55:19 -05:00
Alex Gleason
7525713460
CryptoDonate: configure wallets and panel in SoapboxConfig 2021-06-10 13:48:43 -05:00
Alex Gleason
acfca37dec
CryptoDonate: add CryptoDonateWidget to homepage 2021-06-10 12:56:27 -05:00
Alex Gleason
421069bfd1
Support blocking notifications from strangers 2021-06-06 22:43:18 -05:00
Alex Gleason
0a3cd3fc05
Return detailed alert on HTTP 502 2021-05-21 20:16:09 -05:00
Alex Gleason
82e026b010
Fix verify_credentials bug, fixes #638 2021-05-09 10:37:49 -05:00
Alex Gleason
9a859dad14
Properly dispatch fetchMeFail, don't show white screen on VERIFY_CREDENTIALS_FAIL 2021-05-07 21:53:24 -05:00
Alex Gleason
b5ca28701f
Let fedi explanation box be dismissed, fixes #624 2021-04-26 12:11:47 -05:00
Alex Gleason
ccac733e48
Redirect after signing up, fixes #620 2021-04-18 12:41:51 -05:00
Alex Gleason
6050991934
SoapboxConfig: make displayFqn configurable 2021-04-10 16:21:10 -05:00
Alex Gleason
e03f551676
acctFull --> getAcct throughout the UI, make it stateful 2021-04-10 14:13:07 -05:00
Alex Gleason
340d0579b5
Fix emoji reacts not streaming correctly 2021-04-09 14:48:29 -05:00
Alex Gleason
2500dcf77a
Refactor API client 2021-03-31 14:47:54 -05:00