Commit graph

2008 commits

Author SHA1 Message Date
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
14c094e9db styles
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-08-28 15:23:09 +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
Sean King
3fcee10887
Move to new fontsource packages 2021-08-12 09:06:28 -06:00
Alex Gleason
fc03a10505
pinnedHosts: fix light theme CSS 2021-08-11 20:34:49 -05: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
3e6d73ed3e Update Polish translation
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-08-08 16:24:35 +02:00
b157530ebf No account search results message
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-08-08 16:17:29 +02:00
f5edfbec1c Polish translation
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-08-07 20:59:11 +02: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
Alex Gleason
ac610bce0f
Statuses: center eye-slash icon 2021-08-06 11:06:23 -05:00
c4f97187d9 lint --fix
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-08-05 15:35:07 +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
dcd964dba9 Merge branch 'eslint-recommended' into 'develop'
eslint: extend 'eslint:recommended'

See merge request soapbox-pub/soapbox-fe!661
2021-08-03 19:57:41 +00: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
594cf088ed
eslint: extend 'eslint:recommended' 2021-08-03 14:29:36 -05: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
Alex Gleason
249c76ffaa Merge branch 'fixes/improve-detailed-status-perfs' into 'develop'
Memoize ancestorIds and descendantIds in detailed status view

See merge request soapbox-pub/soapbox-fe!656
2021-08-03 14:55:36 +00:00
0877574c28 Use OrderedSet
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-08-03 10:50:08 +02:00
f8dcafae98 update tests
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-08-02 21:10:41 +02:00
83e9edb573 Don't display search tabs until there are results
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-08-02 21:08:06 +02: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
29cdc4867b Merge branch 'attachment-list-boost-modal' into 'develop'
List attachments in reply indicator and boost modal

See merge request soapbox-pub/soapbox-fe!654
2021-08-02 16:02:51 +00: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
Alex Gleason
836feb603d Merge branch 'features/polls-behind-cws' into 'develop'
Put poll options behind content warnings

See merge request soapbox-pub/soapbox-fe!653
2021-08-02 16:01:44 +00:00
Claire
b01b175fdc Memoize ancestorIds and descendantIds in detailed status view 2021-08-02 17:46:18 +02: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
Claire
8a406d5736 List attachments in reply indicator and boost modal 2021-08-02 15:30:01 +02:00
6e96ee6443 Add PollPreview component
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-08-01 22:15:52 +02:00
e5184642fe Put poll options behind content warnings
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-08-01 22:14:33 +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
1fd9949566 Lint styles
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-07-30 23:22:55 +02:00
055b001f74 Works fine, I think
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-07-30 23:05:54 +02:00
29d68dac06 Show 'Over X results' if more results are available
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-07-30 21:54:56 +02:00
e7d122dc95 No more items if there are less than 20 results
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-07-30 21:49:28 +02: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
073871248f Merge branch 'no-emoji-selector-outline-but-this-time-it-actually-works' into 'develop'
No outline for emoji selector when invisible, but this time it actually works

See merge request soapbox-pub/soapbox-fe!651
2021-07-30 13:54:47 +00:00
33c7fcdcb7 No outline for emoji selector when invisible, but this time it actually works
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-07-30 13:07:24 +02:00
Alex Gleason
1a9335d494 Merge branch 'no-emoji-selector-outline' into 'develop'
No outline for emoji selector when invisible

Closes #707

See merge request soapbox-pub/soapbox-fe!650
2021-07-29 19:47:05 +00:00
10f55dbb42 No outline for emoji selector when invisible
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-07-29 21:24:06 +02:00
Alex Gleason
e4dd720d51
EditFederationModal: use ConfigDB directly instead of /api/v1/instance 2021-07-28 17:06:21 -05:00
Alex Gleason
9c2393485f Merge branch 'language-pl-3' into 'develop'
Update Polish translation

See merge request soapbox-pub/soapbox-fe!647
2021-07-28 14:43:14 +00: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
32574d05e5 Update Polish translation
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-07-28 12:57:29 +02:00
Alex Gleason
38ad49c1e6 Merge branch 'columns-styles' into 'develop'
Improve lists styling

See merge request soapbox-pub/soapbox-fe!646
2021-07-27 22:12:04 +00:00
8102547f56 Lists UI
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-07-27 22:55:08 +02:00
Alex Gleason
1fa3aa0008
EditFederationModal: handle submission 2021-07-27 14:40:41 -05:00
Alex Gleason
9536fba7a9
EditFederationModal: improve UI 2021-07-27 13:00:32 -05:00
Alex Gleason
6c4be4a515
Create EditFederationModal 2021-07-26 15:07:35 -05:00
Alex Gleason
846b73eb9d
RemoteTimeline: display dropdown menu to admins 2021-07-26 14:25:55 -05:00
Alex Gleason
421a78eb43
FederationRestrictions: check presence of mrf_policies instead 2021-07-26 12:23:49 -05:00
Alex Gleason
3fbb1dd164
Merge remote-tracking branch 'origin/develop' into federation-restrictions-improvements 2021-07-26 11:49:30 -05:00
Alex Gleason
efe989a8f1
FederationRestrictions: conditional display 2021-07-26 11:46:44 -05:00
8cde5dc192 Show sign up panel instead of features panel for unauthenticated
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-07-26 16:52:58 +02:00
04fb58d32a Improve lists styling
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-07-26 16:37:05 +02:00
Alex Gleason
b84631e029
Add back missing line break scss 2021-07-25 16:37:31 -05:00
Alex Gleason
61a4bc90b8
InstanceInfoPanel: refactor to reuse InstanceRestrictions component 2021-07-25 16:27:37 -05:00
Alex Gleason
4599d9e39f
FederationRestrictions: add explanation box 2021-07-25 16:16:37 -05:00
Alex Gleason
075eeee9ee
FederationRestrictions: make RestrictedInstance function like an accordion 2021-07-25 16:02:38 -05:00
Alex Gleason
155b342081
FederationRestrictions: add RestrictedInstance component 2021-07-25 15:08:14 -05:00
Alex Gleason
d922c37891
FederationRestrictions: display a list of hosts with restrictions 2021-07-25 14:50:22 -05:00
Alex Gleason
b462c21d5b
ScheduledStatuses: whitespace fix 2021-07-22 22:15:59 -05:00
Alex Gleason
26c4981740
PushSubscriptions: create actions 2021-07-21 21:04:28 -05:00
Alex Gleason
969653eaa4
Temporarily disable push notifications code (it doesn't work) 2021-07-21 12:35:40 -05:00
Alex Gleason
b22f20a390 Merge branch 'accessible-emoji-picker' into 'develop'
Keyboard-accessible emoji picker

See merge request soapbox-pub/soapbox-fe!634
2021-07-21 16:41:26 +00:00
c5dfd6c7d7 Update snapshot
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-07-21 16:34:50 +02:00
a2cd7764b7 Lint styles
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-07-21 14:07:22 +02:00
5ee92b47ce Keyboard-accessible emoji picker
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-07-21 13:58:22 +02:00
Alex Gleason
b7520e6c6a
SoapboxConfig: fix "left side" text (right side) 2021-07-20 21:07:02 -05:00
Alex Gleason
912bb129be Merge branch 'remove-indexeddb-reads' into 'develop'
Remove unused IndexedDB reads

See merge request soapbox-pub/soapbox-fe!624
2021-07-20 20:26:51 +00: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
76a556cdeb Merge branch 'styles-accessibility' into 'develop'
Minor accessibility improvements

See merge request soapbox-pub/soapbox-fe!578
2021-07-20 18:41:38 +00:00
Alex Gleason
b3f0d7a3ba Merge branch 'language-pl-2' into 'develop'
Update Polish translation, make some strings translatable

See merge request soapbox-pub/soapbox-fe!629
2021-07-20 16:28:22 +00:00
8cf8937bc9 Update snapshots
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-07-20 11:51:49 +02:00
Alex Gleason
10715d91ea Merge branch 'federation-restrictions' into 'develop'
Display federation restrictions on remote timelines

See merge request soapbox-pub/soapbox-fe!632
2021-07-19 23:01:32 +00:00
Alex Gleason
f4ba9b9b2e
Display federation restrictions on remote timelines 2021-07-19 17:25:36 -05:00
0e59139902 Use Mastodon defaults for initial state
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-07-19 23:15:42 +02:00
bedc9ef3fa Use description limits from Pleroma
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-07-19 23:14:31 +02:00
9a5419002a Update Polish translation, make some strings translatable
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-07-19 17:28:28 +02:00
690da99d75 remove emoji selector related changes
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-07-18 14:02:15 +02:00
13092271de wip accessible emoji picker
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-07-18 12:53:17 +02:00
Alex Gleason
567c4ce093 Merge branch 'fix/settings-checkbox' into 'develop'
Fix settings checkboxes

See merge request soapbox-pub/soapbox-fe!627
2021-07-16 23:52:24 +00:00
Alex Gleason
e978c1ca3b Merge branch 'profile-hover-staff-badges-fix' into 'develop'
ProfileHoverCard: fix redundant staff badges

Closes #690

See merge request soapbox-pub/soapbox-fe!622
2021-07-15 16:57:29 +00:00
Alex Gleason
de24322372 Merge branch 'mark-sensitive-fix' into 'develop'
Statuses: refactor visibility of moderator actions

Closes #689

See merge request soapbox-pub/soapbox-fe!621
2021-07-15 16:42:37 +00:00
Alex Gleason
402748f71f
ProfileHoverCard: fix redundant staff badges 2021-07-15 11:37:30 -05:00
Alex Gleason
58c142306d
Rename occurrences of self variable to ownAccount 2021-07-15 11:25:32 -05:00
Alex Gleason
ffbdfb5712
Statuses: refactor visibility of moderator actions 2021-07-15 11:20:15 -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
a368ddfee8
UserIndex: display dates on accounts in a more compact way 2021-07-14 16:27:14 -05:00
Alex Gleason
e2bc0b55a4
Fix lint 2021-07-14 13:56:44 -05:00
Alex Gleason
2ff2060354
LatestAccountsPanel: add backwards compatibility with unsorted AdminAPI endpoint 2021-07-14 13:45:36 -05:00
Alex Gleason
4ca3d68bf6
LatestAccountsPanel: fix expand count 2021-07-14 13:21:23 -05:00