Commit graph

1982 commits

Author SHA1 Message Date
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
Alex Gleason
ef17a483ab
Suggestions: don't show suggestions if Home timeline failed 2021-12-13 14:25:06 -05:00
12e4c6c083 wip chat pagination
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-12-13 18:06:47 +01:00
NEETzsche
07fa906eaf Your followers from a blocked domain will not be removed 2021-12-13 09:33:23 -07:00
Alex Gleason
72763d1495
Properly filter DMs from timelines 2021-12-12 22:34:10 -06:00
Alex Gleason
b706024e31 Merge branch 'search-race-condition' into 'develop'
Fix: Race condition in search

See merge request soapbox-pub/soapbox-fe!908
2021-12-12 20:30:30 +00: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
01cd832680 Merge branch 'detailed-status-menu' into 'develop'
Don't show menu items requiring auth when not authenticated for detailed statuses

See merge request soapbox-pub/soapbox-fe!907
2021-12-11 21:03:29 +00:00
f52b69ebbb Don't show menu items requiring auth when not authenticated for detailed statuses
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-12-11 21:51:10 +01:00
6a3d70bfff Update Polish translation
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-12-11 10:22:15 +01:00
Alex Gleason
73208ebe4b
Mastodon: redirect ActivityPub ID for statuses 2021-12-10 16:05:28 -06:00
Alex Gleason
aaad79f6a5
Auth: logIn, don't create an unnecessary app token 2021-12-06 15:33:06 -05:00
Alex Gleason
0b0e7188e3
PullToRefresh: switch back to the old loading indicator for now 2021-12-02 22:37:08 -06:00
Alex Gleason
94f3133dd4 Merge branch 'ptr-improvements' into 'develop'
PullToRefresh improvements

See merge request soapbox-pub/soapbox-fe!898
2021-12-02 21:54:36 +00:00
Alex Gleason
d6bc8d8b6c
PullToRefresh: use iOS style spinner 2021-12-02 15:38:26 -06:00
Alex Gleason
c57d50aa4e
PullToRefresh: increase pull resistance and threshold 2021-12-02 14:11:40 -06:00
Alex Gleason
ed2866a1e1
Profile: add "Share" button as primary action to own profile 2021-12-01 14:08:44 -06:00
Alex Gleason
4c11a3041f
v2 Suggestions: conditionally display admin actions 2021-11-26 23:53:50 -06:00
Alex Gleason
92439137c1
v2 Suggestions: add AdminAPI, rearrange sidebars, check instance feature flag 2021-11-26 23:36:17 -06:00
Alex Gleason
665d7a1e1f Merge branch 'eslint-rules' into 'develop'
eslint: add key-spacing and space-unary-ops rules

See merge request soapbox-pub/soapbox-fe!890
2021-11-24 18:10:46 +00: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
b528c4aa63
Contexts: check for cyclical in_reply_tos and prevent stitching them with tombstones 2021-11-23 15:17:12 -06:00
Alex Gleason
b76bb097f2
Status: protect against infinite context loops 2021-11-23 15:12:50 -06:00
Alex Gleason
09f941a79c Merge branch 'chats-attachments-icon' into 'develop'
Add icons for chat previews with attachments

See merge request soapbox-pub/soapbox-fe!884
2021-11-21 18:44:53 +00:00
f4dc4181ad Add icons for chat previews with attachments
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-11-21 19:29:16 +01:00
Alex Gleason
cde08c8556 Merge branch 'update-zh_CN-translation' into 'develop'
update zh-CN translation

See merge request soapbox-pub/soapbox-fe!882
2021-11-21 05:54:41 +00:00
user
47304e0478 fix hint messages when creating new poll 2021-11-20 22:16:34 -05:00
Shevek
acf1ee71b5 update zh-CN 2021-11-20 22:12:05 -05:00
Alex Gleason
0e6fac9286
Web Push fixes 2021-11-18 16:21:52 -05:00
Alex Gleason
f64cf63108
PlaceholderCard: add .status-card--link so it's responsive 2021-11-16 12:53:28 -06:00
Alex Gleason
28d6c93b39 Revert "Merge branch 'react-17-deprecated' into 'develop'"
This reverts merge request !871
2021-11-16 17:07:30 +00:00
Alex Gleason
02898b6bd6 Merge branch 'bundle-crash' into 'develop'
ActionsModal: check props before calling .map, fixes delete post on mobile

See merge request soapbox-pub/soapbox-fe!878
2021-11-16 17:07:20 +00:00
Alex Gleason
e419f82b38
ActionsModal: check props before calling .map, fixes delete post on mobile 2021-11-16 10:52:13 -06:00
Alex Gleason
164a150fbb
Admin: fix display of 0% retention 2021-11-16 07:12:55 -06:00
Alex Gleason
0f2d464182 Merge branch 'card-placeholder' into 'develop'
Status: display a placeholder Card on own links, poll for updated card

See merge request soapbox-pub/soapbox-fe!874
2021-11-16 04:12:55 +00:00
Alex Gleason
a3ce7b2afe
PendingStatus: display PlaceholderCard when a card is expected 2021-11-15 21:58:30 -06:00
Alex Gleason
dc363cd04b
Fix navigating between profiles 2021-11-15 21:31:17 -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
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
e46e217d57
Search: don't infer filter from results, leave it alone 2021-11-15 15:20:17 -06:00
Alex Gleason
926e92a742
Bundle: componentWillReceiveProps --> componentDidUpdate, React 17 compatibility 2021-11-15 14:34: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
59db8fb442
Notifications: drop status notifications if status is null 2021-11-12 15:06:37 -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
47a3ecc30e
ComposeModal: conditional title when replying 2021-11-12 12:28:58 -06:00
Alex Gleason
a354fd325d
Statuses: optimistic reply counter 2021-11-12 12:18:11 -06:00
Alex Gleason
def3c542c0
RegistrationForm: prevent small error with password matching 2021-11-08 16:27:32 -06:00
Alex Gleason
5a767c8960
Jest: update snapshot 2021-11-08 16:08:25 -06:00
Alex Gleason
109046eef8
RegistrationForm: validate password mismatch 2021-11-08 15:57:37 -06:00
d25354013a Use .destructive
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-11-08 17:21:33 +01:00
287bd6c7f5 Use warning color for delete actions
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-11-07 10:24:09 +01:00
187d579be0 Key navigation
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-11-06 11:26:50 +01:00
Alex Gleason
cb98c16011
Poll: fix crash when voting 2021-11-05 23:29:35 -05:00
Alex Gleason
17b90a9b74
eslint: error on wrong indentation 2021-11-04 15:22:40 -05:00
Alex Gleason
2cecefd749 Merge branch 'card-empty-icon' into 'develop'
Card: fix empty card icon

See merge request soapbox-pub/soapbox-fe!856
2021-11-04 20:12:31 +00:00
Alex Gleason
887da20192 Merge branch 'actions-modal-icons' into 'develop'
Add missing icon to account menu

See merge request soapbox-pub/soapbox-fe!855
2021-11-04 20:02:35 +00:00
adfde143bd Add missing icon to account menu
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-11-04 20:58:11 +01:00
Alex Gleason
0e95a64027
Card: fix empty card icon 2021-11-04 14:57:52 -05:00
Alex Gleason
0b21092281 Merge branch 'more-pull-to-refresh' into 'develop'
Add Pull to Refresh to timelines, Notifications, Chats, Bookmarks

See merge request soapbox-pub/soapbox-fe!854
2021-11-04 19:37:47 +00:00
Alex Gleason
65a2a40cb2
Pull to Refresh: Notifications, Chats, Bookmarks 2021-11-04 14:20:11 -05:00
43fe27eecc Add icons to all? dropdown menus
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-11-04 20:19:04 +01:00
Alex Gleason
f61845b876
Pull to Refresh on public timelines 2021-11-04 13:41:56 -05:00
Alex Gleason
9ce3aa8d1b
HomeTimeline: pull to refresh 2021-11-04 13:30:54 -05:00
Alex Gleason
3ad3b5c84a
Status: implement proper Pull to Refresh, refactor horrible status actions 2021-11-04 13:16:28 -05:00
bdb61c14e3 Add icons for status action bars
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-11-04 19:16:04 +01:00
Alex Gleason
16f6644602
Status: implement actual Pull to Refresh on threads, add PullToRefresh custom component 2021-11-04 12:34:22 -05:00
9ccb295004 Restyle actions modal
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-11-04 17:44:19 +01:00
Alex Gleason
d76219c624
Jest: update snapshots 2021-11-04 00:49:57 -05:00
Alex Gleason
a9a3f09068
Registration/Login: improve text inputs on mobile 2021-11-04 00:36:34 -05:00
Alex Gleason
7b7cfdd4be
ExternalLoginForm: improve mobile text input 2021-11-04 00:33:42 -05:00
Alex Gleason
cb2d699bce Merge branch 'pull-to-refresh' into 'develop'
Column: remove top gap on mobile, implement pulling feedback

See merge request soapbox-pub/soapbox-fe!848
2021-11-04 01:49:18 +00:00
Alex Gleason
3e3433218c
Column: remove top gap on mobile, implement pulling feedback 2021-11-03 20:35:40 -05:00
Alex Gleason
8634db39a5 Merge branch 'polls-unauthorized-modal' into 'develop'
Check if unauthorized when toggling poll options

See merge request soapbox-pub/soapbox-fe!828
2021-11-03 18:15:57 +00:00
3e5f9162c8 Fix search results
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-11-03 08:43:00 +01:00
Alex Gleason
84074fc1b4
SidebarMenu: add invites button 2021-11-02 12:05:36 -05:00
Alex Gleason
860f8c3b93
Developers: become a developer through the console 2021-11-02 11:47:26 -05:00
Alex Gleason
0e3d27a91e
Developers: create an app through a form 2021-11-02 11:11:33 -05:00
Alex Gleason
a1625308cb
Developers: scaffold createApp page at /developers/apps/create 2021-11-02 00:35:35 -05:00
Alex Gleason
1ee87fa7a4
Developers: display dashcounters 2021-11-02 00:16:52 -05:00
Alex Gleason
15a91d5ae3
Developers: scaffold with WIP developers page 2021-11-02 00:05:33 -05:00
Alex Gleason
e860186b4b
IntentionalError: display an ErrorBoundary preview at /error 2021-11-01 23:02:09 -05:00
Alex Gleason
52512ec110
Trends: fix Hashtag component and TrendsPanel, display trends in Search 2021-11-01 20:37:39 -05:00
Alex Gleason
b32745a36d
Search: only show suggestions when not submitted 2021-11-01 14:13:13 -05:00
Alex Gleason
23393710c7
AutosuggestInput: add icon to menu 2021-11-01 13:53:30 -05:00
Alex Gleason
4ef9a88f72
Search: add menu to AutosuggestInput 2021-11-01 13:45:17 -05:00
Alex Gleason
a5bf105ccd
Search: autosuggest accounts in search bar on desktop 2021-11-01 12:25:18 -05:00
Alex Gleason
9c0f65da03
Search: nuke the popout 2021-10-31 22:59:29 -05:00
Alex Gleason
b73b613064
Search: integration suggestions better 2021-10-31 22:58:26 -05:00
Alex Gleason
e64afb5d40 Merge branch 'conditional-attachments' into 'develop'
Compose: pull accept content types from backend if available, fallback to all types

See merge request soapbox-pub/soapbox-fe!835
2021-10-31 21:27:51 +00:00
Alex Gleason
f950ee7c0c Merge branch 'import-data-link' into 'develop'
Use correct 'Import data' link for Mastodon

See merge request soapbox-pub/soapbox-fe!834
2021-10-31 21:22:03 +00:00
Alex Gleason
2946a7432b
Compose: pull accept content types from backend if available, fallback to all types 2021-10-31 16:14:09 -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
21a5c3215a Merge branch 'styles' into 'develop'
Improve search input styles on aliases/list editor pages

See merge request soapbox-pub/soapbox-fe!833
2021-10-31 21:06:54 +00:00
b9153b8866 Improve search input on aliases/list editor pages
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-10-31 21:51:56 +01:00
Alex Gleason
beb0e6edae Merge branch 'search-reducer-refactor' into 'develop'
Search: refactor search reducer, add tests

See merge request soapbox-pub/soapbox-fe!831
2021-10-28 18:36:05 +00:00
Alex Gleason
6b54e88b62
Search: refactor search reducer, add tests 2021-10-28 14:23:54 -04:00
Alex Gleason
7aee517358 Merge branch 'invites-link' into 'develop'
use baseURL for /invites

See merge request soapbox-pub/soapbox-fe!830
2021-10-28 18:13:33 +00:00
fe4c4d93c9 use baseURL for /invites
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-10-28 19:58:18 +02:00
5043588007 Link to Line Awesome icon list
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-10-28 12:40:28 +02:00
92ee89936e Show unauthorized modal when toggling poll options
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-10-27 22:51:17 +02:00
1796a35951 Partially fix post navigation
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-10-26 17:38:49 +02:00
4bc3a0c7dc Styles, set focus to sidebar on open
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-10-26 11:26:58 +02:00
Alex Gleason
7fd5dc1350 Merge branch 'language-pl' into 'develop'
Update Polish translation

See merge request soapbox-pub/soapbox-fe!823
2021-10-24 20:20:22 +00:00
5b149bd9ed Update Polish translation
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-10-24 21:46:13 +02: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
Alex Gleason
b54011241f Merge branch 'search-scrollable-list' into 'develop'
Use ScrollableList for search results

See merge request soapbox-pub/soapbox-fe!821
2021-10-24 18:10:56 +00:00
742b1f2b58 Use ScrollableList for search results
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-10-24 19:58:04 +02:00
marcin mikołajczak
ce9a150abc Update app/soapbox/components/poll.js 2021-10-24 12:33:24 +00:00
f2b91a2231 Fix polls for unauthenticated users
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-10-24 14:03:42 +02:00
Alex Gleason
f290b78636
Timelines: push pending statuses into queue 2021-10-23 15:08:21 -05:00
Alex Gleason
47c68014d0
TabsBar: fix unauthenticated buttons on mobile 2021-10-23 14:29:26 -05:00
Alex Gleason
897f65cf72
PrimaryNavigation, ThumbNavigation: move Search to after Home 2021-10-23 14:09:17 -05:00
Alex Gleason
acf316faf6
Notifications: refactor makeGetNotification, pass the full rebuilt notification all the way through 2021-10-22 17:15:11 -05:00
Alex Gleason
03541ccc6f Merge branch 'video-player' into 'develop'
Video player changes from Mastodon

See merge request soapbox-pub/soapbox-fe!816
2021-10-22 18:14:49 +00:00
a2abb0bad7 Add hotkeys for video control
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-10-22 19:55:09 +02:00
a1c4066077 Fix video not reacting to window resizes
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-10-22 19:03:14 +02:00
a338e7c98f Add tooltips to audio/video player buttons
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-10-22 18:59:15 +02:00
aef01ea262 Change audio/video playback to stop playback when out of view
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-10-22 18:50:32 +02:00
813cd58305 Do not use voters_count for now
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-10-22 15:27:49 +02:00
88d35e13e8 Add single option votes tooltip in polls
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-10-22 15:23:07 +02:00
e6f30abd91 Fix poll options not being selectable via keyboard
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-10-22 15:13:17 +02:00
00aacc5e33 Add voters count support
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-10-22 15:06:34 +02:00
040dfe652a Change vote results to display tied leading options as leading
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-10-22 15:04:21 +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
7fdf22b206
ServiceWorker: clean up entry.js and web_push_notifications.js 2021-10-21 15:31:09 -05:00
Alex Gleason
e42030daae
Always check error.response before error.response.status 2021-10-20 17:50:35 -05:00
Alex Gleason
5a19d52617
errorsMiddleware: only alert when the error has a response (eg not when offline) 2021-10-20 17:50:03 -05:00
Alex Gleason
97cc7eb804
Streaming: fail gracefully when WebSocket construction fails (mainly for Bromite browser) 2021-10-20 16:36:38 -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
3bb891adaa
Notifications: skip importing notifications with a null status 2021-10-19 18:14:51 -05:00
Alex Gleason
001aae849b
TabsBar: display counters only on profile pages where they're needed 2021-10-19 17:43:18 -05:00
Alex Gleason
0423a3a491
Compose: switch to regular snackbar.success 2021-10-19 17:08:37 -05:00
Alex Gleason
0e8ed14ffe
TabsBar: add notifications back for desktop UI 2021-10-19 16:09:22 -05:00
Alex Gleason
876b7d6ce7
AccountTimeline: don't display column settings for now 2021-10-19 15:16:47 -05:00
Alex Gleason
ec22cc8afa
AccountTimeline: add SubNavigation 2021-10-19 15:13:04 -05:00
Alex Gleason
49d0f23ac0
SubNavigation: switch out arrow icon, enlarge it 2021-10-19 13:37:13 -05:00
Alex Gleason
b387e9ce1b Merge branch 'update-translations' into 'develop'
Run yarn manage:translations

See merge request soapbox-pub/soapbox-fe!799
2021-10-19 18:05:44 +00:00