Commit graph

238 commits

Author SHA1 Message Date
Sean King
9309ef4893
Fix merge conflicts 2021-01-18 20:09:35 -07:00
Sean King
39b50e8fe1
Add moderator button for marking posts sensitive or not sensitive 2021-01-18 19:59:07 -07:00
Alex Gleason
498471958b
Use short names for admin quick actions 2021-01-18 18:25:36 -06:00
Alex Gleason
5b5397312b Merge branch 'admin-improvements' into 'develop'
Admin improvements

See merge request soapbox-pub/soapbox-fe!424
2021-01-18 22:16:28 +00:00
Alex Gleason
c80797ccf8
Admin: delete status directly from menu 2021-01-18 15:57:20 -06:00
Alex Gleason
926335b268
Add "deactivate" and "delete" user modals to every status and account profile 2021-01-18 15:27:35 -06:00
Alex Gleason
47ed1e42c9
Run rootReducer in tests 2021-01-18 14:14:08 -06:00
Alex Gleason
b7bc013acc
Demetricator fixes, closes #543 2021-01-15 13:10:50 -06:00
Alex Gleason
a16e709ff4
Reports: break out separate Report component, basic styling 2020-12-31 17:25:21 -06:00
Alex Gleason
51faa660ca
Admin: refactor Reports reducer 2020-12-31 14:29:31 -06:00
Alex Gleason
8dcd64f168
Admin: fix notification counters for approvals 2020-12-29 20:52:11 -06:00
Alex Gleason
e7bb78712a Merge branch 'admin-dashboard' into 'develop'
Soapbox admin

See merge request soapbox-pub/soapbox-fe!403
2020-12-30 02:44:42 +00:00
Alex Gleason
eec89aaeb5
Refactor TabsBar, refactor IconWithBadge, use Dashboard nav 2020-12-29 20:26:26 -06:00
Alex Gleason
03344756e5
Admin: display awaiting-approval counter in nav 2020-12-29 19:48:39 -06:00
Sean King
83d7622e17
Fix emoji selector test failing 2020-12-24 22:48:22 -07:00
Alex Gleason
e4344c9561
Let allowedEmoji be customizable by the admin, fixes #538 2020-12-24 18:17:53 -06:00
Alex Gleason
983394a242
Merge branch 'heart-react' into develop 2020-12-24 17:05:27 -06:00
Alex Gleason
f587369af0
RemoteTimeline: click favicon to visit remote timeline 2020-12-24 16:57:53 -06:00
Alex Gleason
3d4bd23870
Fix emoji heart tests 2020-12-24 14:40:47 -06:00
Alex Gleason
2e3e60b3d1
Fix timelines not displaying when emoji_reactions is undefined 2020-11-12 13:27:02 -06:00
Alex Gleason
02861aaa8e Merge branch 'server-info-page' into 'develop'
Add server information page for mobile devices, fixes #504

Closes #504

See merge request soapbox-pub/soapbox-fe!376
2020-11-02 15:04:21 +00:00
Sean King
707f873094
Add server information page for mobile devices 2020-10-31 18:58:06 -06:00
Sean King
df85d707bb
Alternative fix without setState in ComponentDidMount 2020-10-29 09:30:08 -06:00
Sean King
3a1bb8f19b
Make display media option work properly 2020-10-29 08:41:43 -06:00
Sean King
285261aad9
Update imports and listenerOptions for components using detect-passive-events 2020-10-15 08:10:45 -06:00
Curtis
9768c18c72 Update status_content.js Fixes #473 2020-10-11 00:21:11 +00:00
Sean King
dcc21221a5
Set collapse in a totally different function instead 2020-10-09 15:27:07 -06:00
Sean King
8e44e72d8e
Don't call updateStatusLinks in ComponentDidMount 2020-10-09 14:52:44 -06:00
Alex Gleason
5dd2366063 Merge branch 'renovate/react-textarea-autosize-8.x' into 'develop'
Update dependency react-textarea-autosize to v8

See merge request soapbox-pub/soapbox-fe!322
2020-10-07 18:38:57 +00:00
Alex Gleason
3144ba6d83
AutosuggestTextarea: inputRef --> ref
For upgrade to react-textarea-autosize v8
2020-10-07 13:25:52 -05:00
Alex Gleason
0bbdaa4191
eslint: trailing comma fixes, unused var 2020-10-07 13:08:36 -05:00
Alex Gleason
17266e172f
Chats: count only unread *chats* not total unread messages for counter 2020-10-02 20:01:09 -05:00
Alex Gleason
3a0b58315f
SoapboxConfig: add a default themeMode toggle 2020-10-01 19:33:03 -05:00
Alex Gleason
a7d2692a71
AutosuggestTextarea: shouldComponentUpdate fixes 2020-09-28 23:54:47 -05:00
Alex Gleason
bd12226a84
Composer: fixes #419 jumpy cursor 2020-09-28 22:04:29 -05:00
Alex Gleason
f71a1e4ce1
Revert "fix composer jump by reseting lastToken on click and arrow up and down in autosuggesttextarea"
This reverts commit 0b7763e726.
2020-09-28 19:06:06 -05:00
Alex Gleason
b78a00a306
Revert "pass getClickableArea into autosuggesttextarea as prop"
This reverts commit 99f0a069dd.
2020-09-28 19:05:56 -05:00
Alex Gleason
18d08a3630
Revert "Composer: remove click listener on unmount"
This reverts commit 136965acdd.
2020-09-28 19:05:45 -05:00
Alex Gleason
a9fef0ca14
Don't import unused react-sparklines, #439 2020-09-27 20:54:19 -05:00
Alex Gleason
136965acdd
Composer: remove click listener on unmount 2020-09-27 17:55:04 -05:00
Mary Kate
99f0a069dd pass getClickableArea into autosuggesttextarea as prop 2020-09-27 16:32:07 -05:00
Mary Kate
0b7763e726 fix composer jump by reseting lastToken on click and arrow up and down in autosuggesttextarea 2020-09-27 15:44:12 -05:00
Alex Gleason
2d29d69f50
ImportData: rename some stuff 2020-09-27 11:18:25 -05:00
Alex Gleason
ba6f6b2aa4
Merge remote-tracking branch 'origin/develop' into import_follows 2020-09-27 11:01:01 -05:00
Alex Gleason
57b82f7778
Merge remote-tracking branch 'origin/develop' into chat_notifications 2020-09-17 22:41:18 -05:00
Curtis ROck
fdc1a051d3 Rough out import follows page and actions 2020-09-14 22:07:33 -05:00
Alex Gleason
35fe2fa4fa
Hovercard: hide on click ref 2020-09-11 15:39:38 -05:00
Alex Gleason
7733905641
Hovercard: update DisplayName snapshot 2020-09-11 12:38:42 -05:00
Alex Gleason
72659f27c1
Hovercard: attach to each element for better positioning 2020-09-11 12:17:32 -05:00
Alex Gleason
1d90950e59
Hovercard: refactor with HoverRefWrapper 2020-09-11 11:37:05 -05:00
Alex Gleason
9692c7539a
Hovercard: appear and disappear properly 2020-09-11 10:05:52 -05:00
Alex Gleason
d8ea37bf5e
Hovercard: clear when card is unhovered 2020-09-10 22:08:17 -05:00
Alex Gleason
4630a5cd04
Hovercard: mouseout clears the card 2020-09-10 20:18:04 -05:00
Alex Gleason
0c4eae5f10
Hovercard: basic Redux+Popper prototype 2020-09-10 19:09:27 -05:00
crockwave
fa606b8040 Render chat unread count update in tab even when tab doesn't have focus
Render chat unread count update even when chat box has focus
Render chat unread count update on page load
2020-09-09 19:01:25 -05:00
Alex Gleason
3631d6d61d
Don't hijack scrollbar when status is unmounted, fixes #404 2020-09-09 14:35:04 -05:00
Alex Gleason
024e9209af
Chats: display of non-image attachments 2020-09-06 17:20:26 -05:00
Alex Gleason
5aef50b89e
Composer: refactor filename truncation 2020-09-06 16:44:19 -05:00
Bárbara de Castro Fernandes
01667a005e Show file icon and name for other file types
Currently the media preview looks blank when the file type is anything
other than an image, video or audio. This commit inserts a generic file
icon and also a label with the filename for these other extensions.
2020-09-06 16:08:09 -03:00
Alex Gleason
865d251ae0
Favicons: empty alt text 2020-09-03 00:26:50 -05:00
Alex Gleason
4b1606e8dd
Favicon: refactor, show domain in alt/title 2020-09-02 22:38:04 -05:00
Alex Gleason
a98fadb4d4
Show remote favicons on statuses, #258 2020-09-02 21:40:26 -05:00
crockwave
f9f43ebb9c Browser tab indicates total count of both Notifications and Unread Chat Messages 2020-09-02 18:16:58 -05:00
Alex Gleason
35c3aaa9d8
Mostly fix FireFox scrolling issues (hopefully), fixes #372 2020-08-30 18:38:50 -05:00
Alex Gleason
a419c5da34 Merge branch 'chats' into 'develop'
ChatMessages MVP

See merge request soapbox-pub/soapbox-fe!185
2020-08-28 22:03:34 +00:00
Alex Gleason
2f2c849dfa
Chats: remove DM links from menus 2020-08-28 15:09:17 -05:00
Mary Kate
82c590d74b simplify onLoadMore in status list 2020-08-26 11:42:20 -05:00
Mary Kate
fbee7a237c pass last statusID into status list before filtering, fixes #340 2020-08-25 14:59:05 -05:00
Alex Gleason
2470e59596
/admin --> /soapbox/config 2020-08-23 21:48:31 -05:00
Alex Gleason
83e715fd7a
SoapboxConfig: Use cog icon instead of shield 2020-08-23 21:38:51 -05:00
Alex Gleason
e3b1e8c31d
SoapboxConfig: Fix menu links to use to instead of href 2020-08-23 20:43:41 -05:00
Alex Gleason
20269bbe3e
soapbox_settings --> soapbox_config 2020-08-23 15:21:19 -05:00
Alex Gleason
2cdf6f7275
Merge remote-tracking branch 'origin/develop' into admin_cfg 2020-08-23 12:16:52 -05:00
Mary Kate
02c7325e4d Check src exists first in hover to play, hopefully fixes #322 2020-08-15 16:24:34 -05:00
Mary Kate
5349045e51 Revert "only render emoji selector in the dom when needed"
This reverts commit 769a512445.
2020-08-10 15:06:39 -05:00
Curtis
ea94b05608 Resolve merge conflicts
Merge branch 'develop' into 'admin_cfg'

# Conflicts:
#   app/soapbox/features/compose/components/action_bar.js
#   app/soapbox/features/edit_profile/index.js
2020-08-09 23:02:48 +00:00
Alex Gleason
4ee0fa8160 Merge branch 'user-verification' into 'develop'
Display user verification icon

See merge request soapbox-pub/soapbox-fe!128
2020-08-07 23:23:11 +00:00
Curtis
36e634b0aa Resolved merge conflicts
Merge branch 'develop' into 'timeline-word-filters'

# Conflicts:
#   app/soapbox/components/sidebar_menu.js
#   app/styles/application.scss
2020-08-07 20:46:44 +00:00
crockwave
a5b69e77a3 Added Admin settings opening in new tab 2020-08-07 12:58:59 -05:00
Alex Gleason
f07de93ee3 Merge branch 'emoji-rendering-hotfix' into 'develop'
Only render emoji selector in the dom when needed

See merge request soapbox-pub/soapbox-fe!131
2020-08-05 21:04:41 +00:00
Mary Kate
769a512445 only render emoji selector in the dom when needed 2020-08-05 15:53:30 -05:00
Mary Kate
e6ee961016 Only render a hover profile card in the dom when relevant 2020-08-05 14:27:42 -05:00
Alex Gleason
aec44bfea6 Verified: Use getIn in display_name.js 2020-08-05 18:04:32 +00:00
Mary Kate
c9b2b66283 add verification icon on verified users 2020-08-05 12:08:52 -05:00
Mary Kate
bdd9204b3c basic filter form component set up 2020-08-04 15:21:42 -05:00
Alex Gleason
eeaf9f0b8e
HoverCard: Do the JS way on DetailedStatus too 2020-08-03 00:40:13 -05:00
Alex Gleason
35c9574c2f
HoverCard: Handle delay in JS instead of CSS 2020-08-02 23:47:19 -05:00
Alex Gleason
2c010768e9 Merge branch 'profile-hover-cards' into 'develop'
Profile hover cards

See merge request soapbox-pub/soapbox-fe!114
2020-08-03 02:27:14 +00:00
Alex Gleason
690d7154c4
HoverCard: Fix JS console errors 2020-08-02 21:05:21 -05:00
Alex Gleason
a7463dd3fc
HoverCard: Add floating NavLinks for clickthrough 2020-08-02 18:53:47 -05:00
Alex Gleason
1f5898b67d
Bring HoverCard out of NavLink 2020-08-02 18:39:32 -05:00
Alex Gleason
abd13e8fa5
Move hovercard into display name for regular status too 2020-08-02 18:18:34 -05:00
marykatefain
ee97e94779 Bookmark posts 2020-07-29 21:08:36 +00:00
Mary Kate
d76f4d422e update detail status page and mobile settings for porfile hover card 2020-07-28 20:59:14 -05:00
Mary Kate
f6ebe5cbd7 profile card basic functionality, needs some UI improvements 2020-07-28 20:02:11 -05:00
Bárbara de Castro Fernandes
563e4e5bab Show profile preview on hover 2020-07-28 14:15:57 -05:00
Mary Kate
a3201605b4 add uploads to polls 2020-07-28 14:15:15 -05:00
Curtis ROck
de917da39e Added menu item for Soapbox settings. Added translations 2020-07-20 21:17:23 -05:00
crockwave
9365b99ad4 Moved settings_checkbox to components primary folder. Created features/configuration. 2020-07-20 18:18:54 -05:00
Sean King
277f4b5f22 Move ThemeToggle to separate class, style it, and fix it on mobile 2020-07-19 18:44:17 -06:00
Alex Gleason
44e882d7fc
Show donor badge 2020-07-04 21:25:43 -05:00
Alex Gleason
853dad032c
componentWillReceiveProps fixes, fixes #184, #231, !80 2020-07-04 19:14:12 -05:00
Alex Gleason
75ab969051
Purge unused Badge components 2020-07-04 17:11:38 -05:00
Alex Gleason
82c07f84b4
Pull patronUrl from /api/patron/v1/instance 2020-07-04 14:21:58 -05:00
Alex Gleason
29f26745e2
Fix linter :( 2020-07-02 18:39:17 -05:00
Alex Gleason
aa35e2ec46
Fix old soapbox.json failing 2020-07-02 18:16:41 -05:00
Alex Gleason
4e94c5d2ca
Merge branch 'develop' into audio-player 2020-07-02 16:32:50 -05:00
Sean King
3be1c9a1f1
Fixes for audio attachments when there is more than 1 attachment and icons for audio attachments 2020-07-02 16:31:52 -05:00
Sean King
1a7cbb21a7
Audio player work (change of sensitive content handling) 2020-07-02 16:31:48 -05:00
Sean King
01d042f80d
Update of work on audio player 2020-07-02 16:31:43 -05:00
Alex Gleason
73b275b8da
Patron updates 2020-06-30 17:33:21 -05:00
Sean King
9166b95dfb Final fixes to the switch from Font Awesome to Fork Awesome 2020-06-26 22:47:48 -06:00
Alex Gleason
ecf26de289 Merge branch 'componentWillReceiveProps_to_DidUpdate_refactor' into 'develop'
Component will receive props to did update refactor Fixes #184

Closes #184

See merge request soapbox-pub/soapbox-fe!80
2020-06-27 00:23:44 +00:00
Alex Gleason
b70ec4e0e3
Merge commit '853a68cd5479ffc5f7a14a93a065db8f08bfe424' into develop
autoPlayGif fixes
2020-06-26 18:17:57 -05:00
crockwave
3d29f7b6e2 partial mods to replace deprecated componentWillReceiveProps 2020-06-22 20:26:20 -05:00
crockwave
8a43cb3709 partial completion of replacing componentWillReceiveProps 2020-06-18 20:30:46 -05:00
crockwave
10ebea7489 Replaced componentWillUpdate to componentDidUpdate. Fixes #185 2020-06-18 16:04:31 -05:00
Alex Gleason
853a68cd54 Fix avatar tests 2020-06-15 16:43:24 -03:00
Bárbara de Castro Fernandes
52f3f8ce8d Handle autoPlayGif for avatars and banners 2020-06-15 16:43:24 -03:00
Bárbara de Castro Fernandes
e19f350111 Use StillImage on media items and fix autoPlayGif on account gallery 2020-06-15 16:43:24 -03:00
Bárbara de Castro Fernandes
2da584b5ee Create StillImage component 2020-06-15 16:43:24 -03:00
Alex Gleason
b4532ccb40
Conversations: Change the way otherAccounts is handled
Fixes #191
2020-06-12 22:04:20 -05:00
Alex Gleason
aa0a4e49be
Disable "Embed" button for now, fixes #192 2020-06-12 18:45:17 -05:00
Alex Gleason
8c10afad3e
Fix empty column display 2020-06-12 16:46:46 -05:00
Alex Gleason
49589e1e7c
Test: Refactor helper functions 2020-06-09 22:14:48 -05:00
Alex Gleason
6d6dbd9113
Test: Start creating component snapshots 2020-06-09 21:29:50 -05:00
Alex Gleason
aed445954d
Jest: Restore avatar tests 2020-06-07 19:57:54 -05:00
Alex Gleason
e78d8d59b6
Compose: Fix content retention on close, fixes #139 2020-06-07 16:40:56 -05:00
Alex Gleason
886b241433
MoreFollows: Only show when all follows have been loaded 2020-06-07 15:09:25 -05:00
Alex Gleason
8f532b1b92
Media gallery: Fix upload limit, hotfix for #150 2020-06-07 14:40:54 -05:00
Alex Gleason
d772608df4
Search: Conditionally display hashtag features, fixes #142 2020-06-07 14:09:33 -05:00
Alex Gleason
81fa77b8a5
TimelineQueueButtonHeader: Make more i18n friendly 2020-06-07 11:26:08 -05:00
Alex Gleason
9323cf1fdf
Pluralize messages on more_follows.js 2020-06-06 14:06:45 -05:00
Alex Gleason
ab280b80e1
SecurityForm: Add navigation links 2020-06-05 14:58:59 -05:00
Alex Gleason
52621e8db8
intl.now() --> Date.now() 2020-06-04 19:30:24 -05:00
Alex Gleason
3ae22ce8ee
Add missing <span> tags back to some FormattedMessages 2020-06-04 18:11:24 -05:00
Alex Gleason
183c6538ca
Pull displayMedia from Redux store 2020-05-28 20:36:39 -05:00
Alex Gleason
d24dcb3e60
gabsocial --> soapbox paths 2020-05-28 17:56:55 -05:00