Commit graph

910 commits

Author SHA1 Message Date
Alex Gleason
6b19f39d51
Federating conditional UI 2021-08-23 14:14:47 -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
74f4c59004
Auth: refactor OAuth token actions 2021-08-21 19:45:45 -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
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
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
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
b157530ebf No account search results message
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-08-08 16:17:29 +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
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
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
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
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
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
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
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
efe989a8f1
FederationRestrictions: conditional display 2021-07-26 11:46:44 -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
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
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
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
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
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
13092271de wip accessible emoji picker
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-07-18 12:53:17 +02: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
a368ddfee8
UserIndex: display dates on accounts in a more compact way 2021-07-14 16:27:14 -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
Alex Gleason
12939e3354
LatestAccountsPanel: add expand button, use compact display of accounts 2021-07-14 13:17:21 -05:00
Alex Gleason
5f3b33cce7
Merge remote-tracking branch 'origin/develop' into admin-recent-users 2021-07-14 12:28:36 -05:00
Alex Gleason
b2ebdbcf80
Admin: display latest accounts in dashboard 2021-07-14 12:27:51 -05:00
Alex Gleason
a362e0bbd7
UserIndex: display account joined date when available 2021-07-14 10:22:07 -05:00
Alex Gleason
022c9f06b3
UserIndex: style search input, rework debounced search 2021-07-13 20:39:03 -05:00
Alex Gleason
30b39d739f
UserIndex: make search work 2021-07-13 20:14:15 -05:00
Alex Gleason
4d35f16483
Staff promotions: fix race conditions 2021-07-13 19:38:58 -05:00
Alex Gleason
aae031f5d0
UserIndex: configurable pageSize 2021-07-13 18:49:41 -05:00
Alex Gleason
105961b3e7
Admin: link status count to local timeline 2021-07-13 18:43:31 -05:00
Alex Gleason
a89ea524a9
Refactor AwaitingApproval 2021-07-13 17:59:55 -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
e580084e9b Merge branch 'admin-permission-groups' into 'develop'
Allow promotion/demotion of users to staff roles

Closes #687

See merge request soapbox-pub/soapbox-fe!611
2021-07-13 17:55:12 +00:00
Alex Gleason
484a27ef2f
Staff promotions: you can't change your own permission groups 2021-07-13 12:39:53 -05:00
Alex Gleason
412432a0bd
Staff promotions: only local accounts can be promoted/demoted 2021-07-13 12:30:24 -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
4c82b4703b
ProfileInfoPanel: avoid redundant staff badge
If the user is an admin, don't display the moderator badge
2021-07-13 11:21:37 -05:00
Alex Gleason
92794847bc
Hide AdminFE from non-admin staff users 2021-07-13 10:41:31 -05:00
Alex Gleason
96af79ad90
Moderators: conditional display of features 2021-07-12 23:32:02 -05:00
Alex Gleason
52b14d9d09
Possible crash fix: defensive checks of this.node 2021-07-11 17:50:30 -05:00
Alex Gleason
c24c8aa4d1
TabsBar: move withRouter to outer component 2021-07-10 05:13:38 -05:00
Alex Gleason
258889c492 Merge branch 'refactor-getOtherAccounts' into 'develop'
Refactor getOtherAccounts selector

See merge request soapbox-pub/soapbox-fe!599
2021-07-10 10:00:48 +00:00
Alex Gleason
61493bab42 Merge branch 'tabs-bar-hack' into 'develop'
TabsBar: force rerender, fixes #680

Closes #680

See merge request soapbox-pub/soapbox-fe!598
2021-07-10 09:56:58 +00:00
Alex Gleason
4e3c002f8a
Refactor getOtherAccounts selector 2021-07-10 04:49:44 -05:00
Alex Gleason
447a2561f4
TabsBar: force rerender 2021-07-10 04:40:16 -05:00
Alex Gleason
225f61cc5b
Merge branch 'upgrade-emoji-mart' into fix-notifications-tab 2021-07-10 02:00:29 -05:00
Alex Gleason
89b9c739b1
Update tests
I have no idea why changing soapbox -> mastodon fixes this, but I'm tired
2021-07-10 01:59:44 -05:00
Alex Gleason
ce5c42b5db
Fix font icon picker 2021-07-10 01:40:00 -05:00