Alex Gleason
9faff939a0
SuggestionsV2: pull in Mastodon's upstream code
2021-09-16 18:46:04 -05:00
Alex Gleason
b993056f76
Upgrade websocket.js to @gamestdio/websocket
2021-09-15 21:09:59 -05:00
Alex Gleason
65a3ab982c
Preload: import auth credentials from Mastodon's initial-state
2021-09-15 13:34:22 -05:00
Alex Gleason
ce8787c6ba
Add Pleroma initial-results sample fixture
2021-09-15 12:58:23 -05:00
Alex Gleason
06ed4e9096
Preload: refactor actions, add MASTODON_PRELOAD_IMPORT action
2021-09-15 12:55:21 -05:00
Alex Gleason
1763934c3e
Merge remote-tracking branch 'origin/develop' into mastodon-initial-state
2021-09-15 12:16:56 -05:00
Alex Gleason
937782dc62
Rename PRELOAD_IMPORT to PLEROMA_PRELOAD_IMPORT
2021-09-15 12:15:36 -05:00
Alex Gleason
3d7619d6b7
Add sample initial-state from Mastodon
2021-09-15 12:13:38 -05:00
Alex Gleason
53a0213fbf
Merge remote-tracking branch 'origin/develop' into next
2021-09-15 11:27:56 -05:00
6152ca40a7
Merge remote-tracking branch 'origin' into a11y--
...
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-09-14 14:18:14 +02:00
9734290bfb
Minor accessibility improvements
...
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-09-14 14:09:14 +02:00
Alex Gleason
b5dced5a6a
Lint: remove unused variables
2021-09-13 14:06:39 -05:00
Alex Gleason
b7aba768f4
AccountHeader: nuke 'extra' links
2021-09-13 13:39:49 -05:00
Alex Gleason
8faea0b3cc
ProfileInfoPanel: style join date and stats
2021-09-13 13:36:37 -05:00
Alex Gleason
0eed6405d2
ProfileStats: prettify code
2021-09-13 13:14:15 -05:00
Alex Gleason
5cbeaad97a
Add ProfileStats component
2021-09-13 13:09:11 -05:00
Alex Gleason
b3fee28863
ProfileInfoPanel: don't render badges unless some are found
2021-09-13 13:00:14 -05:00
Alex Gleason
016717ba0d
ProfileInfoPanel: move joined date below bio
2021-09-13 12:53:39 -05:00
Alex Gleason
569f2519df
Merge remote-tracking branch 'origin/develop' into next
2021-09-13 12:43:53 -05:00
Alex Gleason
ea4915c7dd
Conditionally display subscription button for Pleroma >= 1.0.0
2021-09-13 12:29:48 -05:00
Alex Gleason
8569958ec5
Profile: hide Column back button
2021-09-13 12:07:26 -05:00
Alex Gleason
e4e1f7e113
Profile: "Member since {date}" --> "Joined {date}"
2021-09-13 11:50:48 -05:00
Alex Gleason
9a965ac9d1
ProfilePage: add status gaps
2021-09-12 19:46:51 -05:00
Alex Gleason
d6201905c8
Pass iconset into IconButton, IconWithCounter
2021-09-12 19:45:17 -05:00
Alex Gleason
7de9fbcda8
HomeTimeline: nuke HomeColumnHeader
2021-09-12 19:37:27 -05:00
Alex Gleason
41f2c6afd6
Status: hide column header and back button
2021-09-12 19:36:18 -05:00
Alex Gleason
a3f162a2ea
Add 10px gap between statuses
2021-09-12 19:33:00 -05:00
Alex Gleason
9b723794b5
Add StatusPage
2021-09-12 19:16:28 -05:00
Alex Gleason
ca9ff1a0e6
TabsBar: move search to left
2021-09-12 19:08:41 -05:00
Alex Gleason
9d0f235408
Display PrimaryNavigation on DefaultPage
2021-09-12 19:02:39 -05:00
Alex Gleason
3bf15df730
Add SVG icon support
2021-09-12 18:57:30 -05:00
Alex Gleason
1ea45f7cdb
Gut the TabsBar
2021-09-12 18:51:39 -05:00
Alex Gleason
9a33215528
Improve SidebarMenu design
2021-09-12 18:39:26 -05:00
Alex Gleason
e0f97f4e99
Start navigation changes
2021-09-12 18:20:13 -05:00
Alex Gleason
5804285094
Webpack: fix CryptoDonateModal being added to the right chunk
2021-09-12 15:00:28 -05:00
Alex Gleason
08f5e1d021
Webpack: chunk Sentry to reduce entrypoint size
2021-09-12 12:33:39 -05:00
Alex Gleason
726d13e989
Merge branch 'exif-async' into 'develop'
...
Load exif.js library asynchronously
See merge request soapbox-pub/soapbox-fe!748
2021-09-12 16:56:39 +00:00
Alex Gleason
4aa9872c94
Load exif.js library asynchronously
2021-09-12 11:40:03 -05:00
Alex Gleason
33aaffa22d
Use immutable.js consistently
2021-09-12 11:25:44 -05:00
Alex Gleason
5921fa9b2d
Fix emoji tests again
2021-09-12 11:09:01 -05:00
Alex Gleason
5eab5ec0a5
Webpack: move Twemoji icons back to CopyPlugin
2021-09-12 10:51:58 -05:00
Alex Gleason
139b47eb22
Merge branch 'optimize-error-boundary' into 'develop'
...
Webpack: optimize ErrorBoundary
See merge request soapbox-pub/soapbox-fe!744
2021-09-11 23:46:14 +00:00
Alex Gleason
bf9a6950eb
Webpack: optimize ErrorBoundary
2021-09-11 18:29:43 -05:00
Alex Gleason
3fd1a10b73
Webpack: optimize ScheduleForm
2021-09-11 18:00:48 -05:00
Alex Gleason
5766243d5d
Merge branch 'remove-wdyr' into 'develop'
...
Remove wdyr
See merge request soapbox-pub/soapbox-fe!742
2021-09-11 22:19:59 +00:00
Alex Gleason
d040de4c15
Remove wdyr
2021-09-11 17:03:53 -05:00
Alex Gleason
053ca9efff
Webpack: break out CryptoDonate into its own chunk
2021-09-11 16:56:39 -05:00
Alex Gleason
5166a71c27
CryptoDonate: refactor CryptoIcon into its own component
2021-09-11 16:21:12 -05:00
Alex Gleason
b91c7055ea
StatusContent: add missing key
props
2021-09-11 14:31:24 -05:00
Alex Gleason
ad461343d2
Status: fix propType warnings with OrderedSet
2021-09-11 14:24:54 -05:00
Alex Gleason
6caefa9c8f
Merge branch 'sentry' into 'develop'
...
Optionally build with a Sentry endpoint, fixes #738
Closes #738
See merge request soapbox-pub/soapbox-fe!739
2021-09-11 19:09:38 +00:00
Alex Gleason
ea3660abe3
Sentry: disable debug (too noisy)
2021-09-11 13:52:48 -05:00
Alex Gleason
c2560064e3
Sentry: basic monitoring
2021-09-11 13:44:54 -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
32dc0d863f
Merge branch 'webpack-assets' into 'develop'
...
Webpack: move to asset modules, refactor
See merge request soapbox-pub/soapbox-fe!738
2021-09-11 01:54:36 +00:00
Alex Gleason
d0630c765f
Jest: update emoji tests
2021-09-10 20:37:13 -05:00
Alex Gleason
3359bda7f8
Webpack: bundle sounds as assets
2021-09-10 17:23:37 -05:00
Alex Gleason
19181f40c3
Webpack: bundle Twemoji icons as assets
2021-09-10 17:15:57 -05:00
Alex Gleason
50caa0d1d8
Webpack: replace file-loader with asset/resource asset module
2021-09-10 16:17:37 -05: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
1dc78e4e95
fix proptypes
...
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-09-10 00:48:06 +02:00
58bdf4b1c7
do not push filter changes to history
...
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-09-10 00:44:21 +02:00
fc8bb22359
Reactions page improvements
...
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-09-10 00:23:49 +02:00
d60f187c98
Merge branch 'reactions-page' of https://gitlab.com/mkljczk/soapbox-fe into reactions-page
2021-09-09 23:35:51 +02:00
4c4739b5e8
Change chunk name
...
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-09-09 23:35:25 +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
660661451c
Conditionally link to emoji reaction list
...
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-09-09 20:44:12 +02: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
Sean King
c26471d57b
Fix merge conflicts
2021-09-09 10:53:19 -06:00
Alex Gleason
b24cf2361b
SidebarMenu: conditional display of features
2021-09-08 14:03:05 -05:00
Alex Gleason
2c2300cda4
Fix LoginPage & LoginForm tests
2021-09-08 12:20:20 -05:00
Alex Gleason
d1d96308a1
Mastodon: redirect password reset to backend
2021-09-08 11:46:38 -05: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
15283102d1
Upgrade Webpack to v5
2021-09-05 19:34:05 -05:00
Alex Gleason
6e27116aa4
Tests: mock staticClient correctly
2021-09-05 14:16:16 -05:00
Alex Gleason
ea26e86a94
Rename FE_BASE_PATH to FE_SUBDIRECTORY
2021-09-05 13:21:39 -05:00
Alex Gleason
d20fdf1a3f
Subdirectory: use instance static files from subdirectory
2021-09-05 13:16:19 -05:00
Alex Gleason
390cdf4c5e
Authenticated fetch: make the instance appear censored
2021-09-04 14:47:11 -05:00
Alex Gleason
905e160749
Subdirectory: namespace auth to FE_BASE_PATH
2021-09-04 14:18:47 -05:00
Alex Gleason
e8a4a69b4e
Subdirectory fix: load emojis
2021-09-04 13:11:46 -05:00
Alex Gleason
ecb2c1de25
Subdirectory fixes: sounds, publicPath
2021-09-04 12:59:28 -05:00
Alex Gleason
7861270355
Build config: add FE_BUILD_DIR to configure the output path
2021-09-03 14:42:31 -05:00
Alex Gleason
a9b757f6a5
Merge remote-tracking branch 'origin/develop' into fe-basename
2021-09-03 11:44:02 -05:00
Alex Gleason
9a164ca8fa
Authenticated fetch: postpone fetching the instance
2021-09-03 07:42:27 -05:00
Alex Gleason
30848ae080
FE_BASE_PATH: use trim
instead of trimEnd
2021-09-02 17:18:53 -05:00
Alex Gleason
39132d7e0e
Don't use CI_PAGES_URL after all
2021-09-02 17:12:22 -05:00
Alex Gleason
2b1ceb6d08
Build config: subdirectory support
2021-09-02 16:52:53 -05:00
Alex Gleason
ecdf73bbfd
Merge branch 'standalone-fix' into 'develop'
...
Standalone: don't memoize isStandalone
See merge request soapbox-pub/soapbox-fe!703
2021-08-31 17:37:57 +00:00
Alex Gleason
aa068fc123
Standalone fix: update login snapshots (again)
2021-08-31 10:24:36 -07:00
Alex Gleason
74e5ae077a
Standalone: don't memoize isStandalone
2021-08-31 10:10:06 -07: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
Alex Gleason
dca2d98dfc
Merge branch 'compose-block-profile-page' into 'develop'
...
Make avatar in compose box navigate to profile page
See merge request soapbox-pub/soapbox-fe!699
2021-08-30 21:26:00 +00:00
3783378b79
Use Link, check if authenticated
...
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-08-30 23:03:42 +02:00
8f6bd69f11
Make avatar in compose box navigate to profile page
...
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-08-30 22:20:12 +02:00
b8a9a17c09
Update emoji selector snapshot
...
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-08-30 21:54:39 +02:00
5a7b6e6a06
Trap Tab key in emoji selector
...
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-08-30 21:24:34 +02:00
Alex Gleason
e652de227c
Merge branch 'accessibility' into 'develop'
...
Accessibility improvements
See merge request soapbox-pub/soapbox-fe!697
2021-08-28 18:26:33 +00:00
Thibaut Girka
9b879b6931
Fix page incorrectly scrolling when bringing up dropdown menus
2021-08-28 15:38:51 +02:00
Thibaut Girka
7b7808defe
Fix and refactor keyboard navigation in dropdown menus
2021-08-28 15:37:53 +02:00
Eugen Rochko
a8501fb44d
Fix scroll position resetting when opening media modals in web UI
2021-08-28 15:23:12 +02:00
Thibaut Girka
11057970ef
Improve focus handling with dropdown menus
...
- Focus first item when activated via keyboard
- When the dropdown menu closes, give back the focus to
the actual element which was focused prior to opening the menu
2021-08-28 15:23:05 +02:00
Thibaut Girka
675c5a4df2
Improve keyboard navigation in privacy dropdown
...
* Trap tab in privacy dropdown
* Give focus back to last focused element when privacy dropdown menu closes
* Actually give back focus to the element that had it before clicking the dropdown
2021-08-28 15:23:00 +02: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
Thibaut Girka
e43692b4ce
Trap tab in modals
2021-08-28 15:22:25 +02:00
ThibG
2ef0cdb71b
Fix ordering of keyboard access between CW field, textarea and emoji picker
2021-08-28 15:22:20 +02:00
ThibG
4b4e815e40
Add hotkey for opening media files
2021-08-28 15:22:08 +02:00
6c034e3a41
Minor accessibility improvements
...
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-08-28 15:22:04 +02:00
Sean King
6ccd2bc32f
Make profile banner expandable
2021-08-27 14:52:14 -06:00
Alex Gleason
47a05b0512
Merge branch 'fix-join-date' into 'develop'
...
ProfileInfoPanel: fix join date
See merge request soapbox-pub/soapbox-fe!695
2021-08-27 05:50:13 +00:00
Alex Gleason
504962b47b
ProfileInfoPanel: fix join date
2021-08-26 22:48:56 -07:00
Alex Gleason
eea2f38f8c
Build config: allow hardcoding BACKEND_URL into the build
2021-08-26 20:42:20 -07:00
Alex Gleason
2d11a3bd10
Refactor Icon components, add specific ForkAwesomeIcon component
2021-08-26 14:15:34 -07: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
d2a6a90757
Mastodon: fix edit profile source rendering
2021-08-23 16:03:35 -05: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
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
bfa61cf62a
Merge branch 'attachment-previews' into 'develop'
...
Attachment preview icons
See merge request soapbox-pub/soapbox-fe!678
2021-08-21 14:44:57 +00:00
686c458b63
Attachment preview icons
...
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-08-21 16:28:05 +02:00
Alex Gleason
64e2f53692
Mastodon: don't conditionally render chat routes (this causes bugs)
2021-08-20 16:28:15 -05:00
Alex Gleason
e5e15fc3f0
Mastodon: conditionally render emojiReacts
2021-08-20 16:16:53 -05:00
Alex Gleason
893c903d71
Mastodon: conditionally disable chats
2021-08-20 15:46:17 -05:00
88d1b9a0a2
Add missing propType
...
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-08-19 23:52:51 +02:00
5f68df64f1
Fix load more search results
...
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-08-19 23:49:37 +02:00
Shevek
5abd81695a
fix lint
2021-08-14 22:59:33 -04:00
Shevek
d6f9b6547a
use brand color as browser theme color
2021-08-14 22:49:09 -04:00
Alex Gleason
d2a4f433e2
RemoteTimeline: only display filter message if the host isn't pinned
2021-08-11 20:15:26 -05:00
Alex Gleason
4e2f12eb18
pinnedHosts: add host picker to public timelines
2021-08-11 19:38:25 -05:00
Alex Gleason
6961309b85
RemoteTimeline: allow pinning hosts
2021-08-11 18:55:10 -05:00
Alex Gleason
9e12e978d8
RemoteTimeline: rename InstanceInfoPanel
2021-08-11 18:35:31 -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
1d18db3439
AccountTimeline: column settings UI
2021-08-11 15:49:57 -05:00
Alex Gleason
dcf7dd216f
AccountTimeline: let it be configurable like other timelines
2021-08-11 15:31:46 -05:00
Alex Gleason
b53b031720
Lint fix
2021-08-11 12:22:06 -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
Alex Gleason
66ece5251e
Nuke LoadGap
2021-08-09 21:02:00 -05:00