Commit graph

722 commits

Author SHA1 Message Date
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
bdbc6eb79c Merge branch 'heart-react' into 'develop'
Fix heart emoji react for Pleroma develop branch; let emojis be customizable the admin

Closes #538

See merge request soapbox-pub/soapbox-fe!398
2020-12-30 02:36:22 +00:00
Alex Gleason
21bddfd37b
Admin: disable non-working navlinks for now 2020-12-29 20:34:28 -06: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
Alex Gleason
299c14adc8
Admin: optimistic awaiting-approval actions 2020-12-29 18:38:58 -06:00
Alex Gleason
a3f208c1be
Admin: make awaiting approval actions work 2020-12-29 18:22:31 -06:00
Alex Gleason
1ad3ea4437
Admin: awaiting approval basics 2020-12-29 15:55:45 -06:00
Alex Gleason
c156dd7a0d
Admin: hide invite link when registrations are enabled 2020-12-29 14:51:44 -06:00
Alex Gleason
0ccc113931
Admon: add dummy placeholder links 2020-12-29 14:16:19 -06:00
Alex Gleason
62a4338cf3
Admin: placeholding "Awaiting Approval" link 2020-12-29 13:14:09 -06:00
Alex Gleason
248a33e79a
Admin: add reports
Drop domain_count because it's less important
2020-12-29 12:44:29 -06:00
Alex Gleason
d3daf63dd5
Start admin area, create dashboard 2020-12-29 12:34:23 -06:00
Alex Gleason
d9c89ae0e3
Markdown: add experimental warning in Preferences 2020-12-29 10:30:21 -06:00
Alex Gleason
e4344c9561
Let allowedEmoji be customizable by the admin, fixes #538 2020-12-24 18:17:53 -06:00
Alex Gleason
f587369af0
RemoteTimeline: click favicon to visit remote timeline 2020-12-24 16:57:53 -06:00
Alex Gleason
a4bb347151
RemoteTimeline: remove column settings 2020-12-24 16:40:33 -06:00
Alex Gleason
b6bec67eea
RemoteTimeline: add filter box 2020-12-24 16:39:57 -06:00
Alex Gleason
1794e5a72d
Rudimentary remote timelines 2020-12-24 16:20:58 -06:00
Alex Gleason
958aa8c18e
Make Markdown posting configurable, use text/plain by default 2020-12-24 14:26:48 -06:00
Sean King
cf27b2799b
Remove unnecessary div in account section headline 2020-11-10 20:38:18 -07:00
Sean King
d769ee7c90
Refactor promo and features panels 2020-11-10 17:22:02 -07: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
b8f88f807b
Add media display option to Preferences 2020-10-28 10:52:42 -06:00
Sean King
1575c92e44
Fix icon picker problem with passive events 2020-10-27 22:37:53 -06:00
Alex Gleason
a36f172be9 Merge branch 'icon_picker_admin_config' into 'develop'
Add font icon picker for admin config, fixes #338

Closes #338

See merge request soapbox-pub/soapbox-fe!219
2020-10-28 03:57:06 +00:00
Sean King
0e5a7b61b0
Fix icon picker issues 2020-10-22 15:01:54 -06:00
Sean King
d7f7e52032
Remove unneeded container for icon picker 2020-10-21 15:17:00 -06:00
Alex Gleason
b997cde0d8
SoapboxConfig: add default getValue 2020-10-18 13:41:38 -05:00
Sean King
faf64d9609
Fix hijack scrolling 2020-10-16 20:01:00 -06:00
Sean King
9507b7a82f
Use forked Emoji Mart picker to do the font icon picker instead 2020-10-16 19:35:28 -06:00
Sean King
3d64f9647c
Work on using Emoji Mart picker 2020-10-16 10:55:35 -06:00
Sean King
285261aad9
Update imports and listenerOptions for components using detect-passive-events 2020-10-15 08:10:45 -06:00
Sean King
8385e30df1
Clean up CSS and move IconPicker to the Soapbox Config js 2020-10-14 08:46:45 -06:00
Sean King
9ebf166739
Fix merge conflicts 2020-10-14 08:22:42 -06:00
Alex Gleason
6aaba91379 Update chat_message_list.js 2020-10-09 01:36:42 +00:00
Sean King
211163383e
Don't throttle const isNearBottom 2020-10-08 19:14:39 -06:00
Sean King
3a38eed5ba
Don't do scrollToBottom if we're loading. 2020-10-08 19:13:00 -06:00
Sean King
5deac9f5e0
Use throttle for handleResize instead 2020-10-08 19:02:39 -06:00
Sean King
a1909b72f2
Reduce number of calls to scrollToBottom 2020-10-08 13:46:36 -06:00
Alex Gleason
0bbdaa4191
eslint: trailing comma fixes, unused var 2020-10-07 13:08:36 -05:00
Alex Gleason
b8e78ab6a3
v1.0.0 --> v1.1.0 2020-10-04 22:28:34 -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
a817deffa0
SoapboxConfig: button styles 2020-10-01 21:48:24 -05:00
Alex Gleason
83a06e2708
SoapboxConfig: i18n "Default theme" 2020-10-01 21:26:20 -05:00
Alex Gleason
d65eedb67b
SoapboxConfig: style improvements 2020-10-01 20:53:11 -05:00
Alex Gleason
b99bb7bd4b
SoapboxConfig: improve layout 2020-10-01 19:44:40 -05:00
Alex Gleason
3a0b58315f
SoapboxConfig: add a default themeMode toggle 2020-10-01 19:33:03 -05:00
Alex Gleason
93d2e83584
SoapboxConfig: site preview 2020-10-01 18:57:11 -05:00
Alex Gleason
58d5b1940e
Accordion: fix PropType error 2020-10-01 16:17:32 -05:00
Alex Gleason
645474a77c Merge branch 'accordion' into 'develop'
Accordions

See merge request soapbox-pub/soapbox-fe!285
2020-10-01 21:11:52 +00:00
Alex Gleason
7b6276fa59
Accordion: replace ExplanationBox with Accordion 2020-10-01 16:00:50 -05:00
Alex Gleason
63fc0b4e26
Accordion: refactor 2020-10-01 15:19:38 -05:00
Alex Gleason
43afd599cd
Redirect Soapbox Legacy canary URLs to /about/canary 2020-10-01 11:56:33 -05:00
Mary Kate
12bdeac718 updates to Soapbox Config. Remove unnecessary fields, add accordion component 2020-09-30 14:09:00 -05:00
Alex Gleason
1109a000cb
Update snapshots 2020-09-29 23:42:08 -05:00
Alex Gleason
b9d484623c
Add closed registration message fixes #177 2020-09-29 22:28:42 -05:00
Alex Gleason
d0496caeb1
Auth form validation improvements 2020-09-29 21:29:06 -05:00
Alex Gleason
14a5d478f3
Snackbar: update (most) existing alerts to snackbars 2020-09-29 19:10:57 -05:00
Alex Gleason
b782f6ab1a
Snackbar: clean up styles, basic functionality 2020-09-29 18:55:05 -05:00
Alex Gleason
bd12226a84
Composer: fixes #419 jumpy cursor 2020-09-28 22:04:29 -05:00
Sean King
49ad44bcd4 Fix merge conflicts hopefully 2020-09-28 20:31:24 -06: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
edf3612f93
SoapboxConfig: hide CustomCSS for now, #447 2020-09-28 13:52:13 -05:00
Alex Gleason
532e37a347 Merge branch 'form-aesthetic-improvements' into 'develop'
Preferences Form aesthetic improvements

See merge request soapbox-pub/soapbox-fe!270
2020-09-28 16:05:43 +00:00
Mary Kate
061a820ce5 fix language picker dropdown arrow 2020-09-28 10:51:42 -05:00
Alex Gleason
3d81dd2892
DetailedStatus: fix link on display name 2020-09-27 23:53:43 -05:00
Alex Gleason
d5517aad79
Remove standalone components 2020-09-27 22:48:08 -05:00
Alex Gleason
5fa3d66a64 Merge branch 'fix-composer-jump2' into 'develop'
Fix composer issues

Closes #200 and #419

See merge request soapbox-pub/soapbox-fe!260
2020-09-27 23:15:55 +00:00
Alex Gleason
d243b53486
PrivacyDropdown: clean up dispatch calls 2020-09-27 18:02:57 -05:00
Mary Kate
5ad39921f9 re-open compose modal after changing privacy, fixes #200 2020-09-27 17:04:24 -05:00
Alex Gleason
c77c89ea08
UI: fix PropType warning on page 2020-09-27 16:48:23 -05:00
Mary Kate
99f0a069dd pass getClickableArea into autosuggesttextarea as prop 2020-09-27 16:32:07 -05:00
Alex Gleason
7926854fe6
ImportData: fix webpackChunkName 2020-09-27 12:36:24 -05:00
Alex Gleason
0666557282
ImportData: move FileChooserCSV params into CSVImporter 2020-09-27 12:34:35 -05:00
Alex Gleason
e6e4a5c447
ImportData: allow importing Blocks 2020-09-27 12:24:38 -05:00
Alex Gleason
a2500d9332
ImportData: form validation, Save --> Import 2020-09-27 11:43:26 -05:00
Alex Gleason
1ebc679b8b
ImportData: POST CSV directly instead of reading it 2020-09-27 11:41:46 -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
Sean King
21f68bf623 Merge branch 'develop' into 'icon_picker_admin_config'
# Conflicts:
#   app/soapbox/features/forms/index.js
#   app/soapbox/features/soapbox_config/index.js
2020-09-26 19:52:52 +00:00
Alex Gleason
68a43d2df3
LoginForm: properly convey "isLoading" state 2020-09-25 19:49:30 -05:00
Alex Gleason
633d453edf
Halloween: update settings hint 2020-09-25 18:06:15 -05:00
Alex Gleason
14e10382f2
Halloween mode 2020-09-25 15:39:54 -05:00
Alex Gleason
eb76860422
Move react-color into soapbox_config, reduce initial bundle size, fixes #427 2020-09-23 22:46:45 -05:00
Alex Gleason
f183094f82
Refactor notifications again, this time with OrderedMap, fixes #433 2020-09-23 18:57:10 -05:00
Alex Gleason
c96c537a52
Chats: clean up menu icon 2020-09-22 17:00:01 -05:00
Alex Gleason
41eb69ecd1
Chats: report user from message, fixes #391 2020-09-22 16:34:43 -05:00
Alex Gleason
ed4abfdce3
Chats: allow deleting a message, fixes #358 2020-09-22 16:20:10 -05:00
Alex Gleason
2dd3b39e7e
Chats: add label to send button 2020-09-22 14:21:07 -05:00
Alex Gleason
64a68c650e
Notifications: refactor with OrderedSet instead of List 2020-09-22 13:42:08 -05:00
Alex Gleason
1080204a97
Chats: add key to dividers in ChatMessageList 2020-09-21 22:15:00 -05:00
crockwave
c815e4607d Removed use of media upload API, by implementing FileReader 2020-09-19 18:32:43 -05:00
crockwave
241c83233a Debugged import follows. Handles 2 column CSVs with header. Need to change synchronous get to asynchronous get 2020-09-19 16:22:14 -05:00
Alex Gleason
bf91463284
Chats: add timestamps, fixes #370 2020-09-18 18:55:57 -05:00
crockwave
3c26d4ed73 Refined import follows. Breaks on Save event 2020-09-18 18:23:58 -05:00
Alex Gleason
377506a92f
Chats: allow toggle notification sounds from mobile 2020-09-18 00:28:54 -05:00
Alex Gleason
efe66d4301 Merge branch 'chat_notifications' into 'develop'
Chat notifications

Closes #398 and #354

See merge request soapbox-pub/soapbox-fe!211
2020-09-18 04:40:27 +00:00
Alex Gleason
cbf8f82035
Fix 0 bug for user panel, fixes #415 !235 2020-09-17 23:35:08 -05:00
Alex Gleason
d77ee9fec2
Chat notifs: refactor actions 2020-09-17 23:06:54 -05:00
Alex Gleason
57b82f7778
Merge remote-tracking branch 'origin/develop' into chat_notifications 2020-09-17 22:41:18 -05:00
Alex Gleason
6d900d9c19
About i18n: improve siteTitle translation 2020-09-17 22:13:30 -05:00
Alex Gleason
6b4cdacd67
Merge remote-tracking branch 'origin/develop' into translate_public_header 2020-09-17 22:06:34 -05:00
Curtis ROck
fdc1a051d3 Rough out import follows page and actions 2020-09-14 22:07:33 -05:00
Alex Gleason
5682688aed
Chats: fix #418 scrolling resize issue 2020-09-11 22:44:09 -05:00
Sean King
f60ca1aa8f Merge branch 'develop' into 'icon_picker_admin_config'
# Conflicts:
#   package.json
2020-09-11 19:27:04 +00:00
Alex Gleason
40937b9fdc
Chats: allow clicking recipient in chatroom 2020-09-11 13:09:39 -05:00
Alex Gleason
ec491add23
UserPanel: only show stats when they're available 2020-09-11 13:04:45 -05:00
Alex Gleason
d6a39b3e09
Hovercard: put hovercard on chat window 2020-09-11 13:04:31 -05:00
Alex Gleason
7494a0fd00
Hovercard: delete legacy code 2020-09-11 12:30:16 -05:00
Alex Gleason
72659f27c1
Hovercard: attach to each element for better positioning 2020-09-11 12:17:32 -05:00
Alex Gleason
24bf880e0b
Hovercard: refactor detailed status 2020-09-11 11:42:02 -05:00
Alex Gleason
4630a5cd04
Hovercard: mouseout clears the card 2020-09-10 20:18:04 -05:00
Sean King
c32693176a Merge branch 'develop' of https://gitlab.com/soapbox-pub/soapbox-fe into icon_picker_admin_config 2020-09-10 18:12:09 -06:00
Alex Gleason
0c4eae5f10
Hovercard: basic Redux+Popper prototype 2020-09-10 19:09:27 -05:00
Alex Gleason
8c9206be3e
Use a better poll icon 2020-09-09 22:00:11 -05:00
Curtis ROck
16eab5c5f1 Added keystroke triggered marking of chats as read in chatbox 2020-09-09 21:37:35 -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
adc98b7ad2
UserLists: use OrderedSets instead of Lists, fixes #230 2020-09-09 18:06:01 -05:00
Alex Gleason
2135bf7b34
SoapboxConfig: let getValue be set for promoItems 2020-09-09 16:31:02 -05:00
Alex Gleason
f1af5d6bfa Merge branch 'scroll-status' into 'develop'
Scroll detailed status into view, fixes #257

Closes #257

See merge request soapbox-pub/soapbox-fe!223
2020-09-09 20:21:48 +00:00
Alex Gleason
fd971f053f
Scroll detailed status into view, fixes #257 2020-09-09 15:03:26 -05:00
Alex Gleason
28e8ab9067
Highlight home tab for public timelines, fixes #406 2020-09-09 14:52:27 -05:00
Sean King
a55b8bef68 Fix lint error 2020-09-09 10:03:16 -06:00
Sean King
228a044daa Value changes, still broken 2020-09-09 09:56:24 -06:00
Sean King
4166c932a2
Add font icon picker, not yet fixed fatal error 2020-09-08 20:15:25 -06:00
Alex Gleason
255419a6e9
Chats: display attachments in a shitty letterbox to support FireFox 2020-09-07 19:13:59 -05:00
Alex Gleason
fb35417fe2
Chats: prevent repeat API calls 2020-09-07 18:42:59 -05:00
Alex Gleason
9247f37e75
Chats: fix #399 scrolling in FireFox 2020-09-07 16:07:05 -05:00
Bárbara de Castro Fernandes
458bdef633 Enable empty poll removal by deleting one of its options
Previously, the user had to click on the "poll" icon at the bottom of
the compose form in order to remove a poll. This commit changes how poll
options behave so as to enable an empty poll to be removed through the
deletion of either one of its options.

This closes #317.
2020-09-07 16:04:21 -03:00
Alex Gleason
60402a7402
Chats: add submit button, fixes #356 2020-09-06 17:43:16 -05:00
Alex Gleason
a02155846d
Chats: allow files to be removed before sending 2020-09-06 17:09:06 -05:00
Alex Gleason
ed41b13064
Chats: refactor ChatBox state yet again, display unsent attachment 2020-09-06 16:24:34 -05:00
Alex Gleason
cf0baab6de
Chats: add upload progress 2020-09-06 15:39:16 -05:00
Alex Gleason
07f29ebcb9
Chats: put attachment above content 2020-09-06 14:15:06 -05:00
Alex Gleason
afd823fae0
Chats: refactor ChatBox state 2020-09-06 13:55:24 -05:00
Alex Gleason
b7295e238f
Chats: get media uploads working 2020-09-06 12:37:38 -05:00
Alex Gleason
6dc38adeaa
Chats: add upload button to chat input 2020-09-06 11:55:20 -05:00
Curtis ROck
3d282f45fa fixed toggle click state change bug 2020-09-06 05:13:44 -05:00
Curtis ROck
f3b44c5560 Render toggle for chats audio notifications 2020-09-05 21:16:14 -05:00
Alex Gleason
84e5175481
Chats: improve attachments, make modal work 2020-09-05 16:39:57 -05:00
Alex Gleason
d8d5186a01
Chats: basic display of attachments 2020-09-04 20:17:03 -05:00
Alex Gleason
8f1b11a394
Chats: move messages fetch logic into ChatMessageList 2020-09-04 18:10:24 -05:00
Alex Gleason
9da87405f8
Chats: improve the way messageIds are sorted 2020-09-04 18:03:38 -05:00
Alex Gleason
c595e393da
Chats: fix pagination bugs, use flex column-reverse 2020-09-04 17:19:26 -05:00
Alex Gleason
8e6a662fbb
Chats: fix error loading chatroom page 2020-09-04 17:16:23 -05:00
Alex Gleason
ad3aa296cd
Merge remote-tracking branch 'origin/develop' into chat-pagination 2020-09-04 15:42:15 -05:00
Alex Gleason
57b2a120e5
Composer: allow attaching any type of file 2020-09-04 00:15:10 -05:00
Alex Gleason
cf8f5fde60
Composer: use paperclip for uploads icon 2020-09-04 00:11:27 -05:00
Alex Gleason
d464d53a92
Composer: change globe icon to globe-w 2020-09-03 23:58:32 -05:00
Alex Gleason
0e7132d25e
Chats: add the building blocks for pagination 2020-09-03 19:23:00 -05:00
Alex Gleason
9b55f813bb
Chats: mark read more aggresively on mobile, fixes #367 2020-09-03 14:47:04 -05:00
Alex Gleason
9d7b86935f
Chats: fetch chats in UI instead of chat list, fixes #384 2020-09-03 14:18:11 -05:00
Alex Gleason
57fc08771c
Chats: format content, fixes #382, related #380 2020-09-03 14:11:33 -05:00
Alex Gleason
2db5c67a49
Chats: parse custom emoji, #386 2020-09-03 13:48:15 -05:00
Alex Gleason
5f25ddb27c Merge branch 'bookmark_detailed_status' into 'develop'
Add bookmark button to detailed status action bar view, fixes #366

Closes #366

See merge request soapbox-pub/soapbox-fe!196
2020-09-03 17:57:12 +00: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
Alex Gleason
ddbe840453
Fix chat close error, fixes #378 2020-09-01 09:18:51 -05:00
Alex Gleason
70bd26526b
Chats: make links open in a new tab, fixes #371 2020-09-01 00:23:40 -05:00
Sean King
f9d7da0d51
Add bookmark button to detailed status action bar view 2020-08-30 23:09:02 -06:00
Alex Gleason
c8e6bd9540 Merge branch 'deactivate_via_post' into 'develop'
Added method='post' to all HTML forms Fixes #365

Closes #365

See merge request soapbox-pub/soapbox-fe!194
2020-08-31 02:59:29 +00:00
Sean King
7acf9fb702
Fix jest tests for method='post' MR 2020-08-30 20:34:24 -06:00
Curtis
ea75d9d18f Merge branch 'develop' into 'translate_public_header'
# Conflicts:
#   app/soapbox/locales/ar.json
#   app/soapbox/locales/ast.json
#   app/soapbox/locales/bg.json
#   app/soapbox/locales/bn.json
#   app/soapbox/locales/br.json
#   app/soapbox/locales/ca.json
#   app/soapbox/locales/co.json
#   app/soapbox/locales/cs.json
#   app/soapbox/locales/cy.json
#   app/soapbox/locales/da.json
#   app/soapbox/locales/de.json
#   app/soapbox/locales/el.json
#   app/soapbox/locales/en.json
#   app/soapbox/locales/eo.json
#   app/soapbox/locales/es-AR.json
#   app/soapbox/locales/es.json
#   app/soapbox/locales/et.json
#   app/soapbox/locales/eu.json
#   app/soapbox/locales/fa.json
#   app/soapbox/locales/fi.json
#   app/soapbox/locales/fr.json
#   app/soapbox/locales/ga.json
#   app/soapbox/locales/gl.json
#   app/soapbox/locales/he.json
#   app/soapbox/locales/hi.json
#   app/soapbox/locales/hr.json
#   app/soapbox/locales/hu.json
#   app/soapbox/locales/hy.json
#   app/soapbox/locales/id.json
#   app/soapbox/locales/io.json
#   app/soapbox/locales/it.json
#   app/soapbox/locales/ja.json
#   app/soapbox/locales/ka.json
#   app/soapbox/locales/kk.json
#   app/soapbox/locales/ko.json
#   app/soapbox/locales/lt.json
#   app/soapbox/locales/lv.json
#   app/soapbox/locales/mk.json
#   app/soapbox/locales/ms.json
#   app/soapbox/locales/nl.json
#   app/soapbox/locales/nn.json
#   app/soapbox/locales/no.json
#   app/soapbox/locales/oc.json
#   app/soapbox/locales/pl.json
#   app/soapbox/locales/pt-BR.json
#   app/soapbox/locales/pt.json
#   app/soapbox/locales/ro.json
#   app/soapbox/locales/ru.json
#   app/soapbox/locales/sk.json
#   app/soapbox/locales/sl.json
#   app/soapbox/locales/sq.json
#   app/soapbox/locales/sr-Latn.json
#   app/soapbox/locales/sr.json
#   app/soapbox/locales/sv.json
#   app/soapbox/locales/ta.json
#   app/soapbox/locales/te.json
#   app/soapbox/locales/th.json
#   app/soapbox/locales/tr.json
#   app/soapbox/locales/uk.json
#   app/soapbox/locales/zh-CN.json
#   app/soapbox/locales/zh-HK.json
#   app/soapbox/locales/zh-TW.json
2020-08-31 02:19:58 +00:00
Sean King
ca077e43f9
Make remote follow button actually show 2020-08-30 20:15:02 -06:00
Sean King
c2273ac8de Merge branch 'develop' into 'remote_follow'
# Conflicts:
#   app/soapbox/features/account/components/header.js
2020-08-31 02:06:16 +00:00
Alex Gleason
8bfa77ddca
Chats: link avatar to account #359 2020-08-30 19:50:39 -05:00
Alex Gleason
445bb30ac0
Chats: display the last message in chats list, fixes #361 2020-08-30 19:31:09 -05:00
Curtis ROck
e5de8427f1 fix jest test errors 2020-08-30 15:19:47 -05:00
Curtis ROck
68bd985eee fix jest test issues 2020-08-30 14:48:46 -05:00
Curtis ROck
eb34546c78 Added method='post' to all HTML forms 2020-08-30 14:21:29 -05:00
Alex Gleason
e3e57f8dc7
Chats: don't crash when there's an image post, fixes #369 2020-08-29 22:57:26 -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
399c2874bb
Chats: display recipient name in ChatRoom 2020-08-28 16:26:42 -05:00
Alex Gleason
229d5c3f90
Chats: add mobile chat notification counter 2020-08-28 15:22:33 -05:00
Alex Gleason
2f2c849dfa
Chats: remove DM links from menus 2020-08-28 15:09:17 -05:00
Alex Gleason
7d0bd47ac1
Chats: update "Message" button with conditional logic for mobile 2020-08-28 15:06:55 -05:00
Alex Gleason
572a1db9f7
Chats: mobile styling 2020-08-28 14:42:58 -05:00
Alex Gleason
46323e088a
Chats: rename ChatListAccount to just Chat 2020-08-28 13:28:11 -05:00
Alex Gleason
b1ccec1cf5
Chats: hide FAB on chat pages 2020-08-28 13:27:54 -05:00
Alex Gleason
e7c6862fd0
Chats: refactor ChatBox into its own component 2020-08-28 13:17:19 -05:00
Alex Gleason
d67d76bf3a
Chats: only mark read on hover when the chat is open 2020-08-28 10:45:03 -05:00
Alex Gleason
942b3fdebe
Chats: add individual chat page for mobile 2020-08-27 22:46:48 -05:00
Alex Gleason
cd30d79b5b
Chats: render independent ChatIndex for mobile 2020-08-27 22:11:15 -05:00
Alex Gleason
e682c3db28
Chats: use textarea instead of input 2020-08-27 19:25:16 -05:00
Alex Gleason
3fbdce6901
Chats: mark as read when the input is focused 2020-08-27 18:06:25 -05:00
Alex Gleason
a349bce10f
Chats: show message date on hover 2020-08-27 17:27:37 -05:00
Alex Gleason
abd6c419f1
Chats: hide for mobile (for now) 2020-08-27 16:54:07 -05:00
Alex Gleason
22063ae3c8
Chats: replace avatar with unread counter 2020-08-27 16:41:24 -05:00
Alex Gleason
f80f18d376
Chats: mark chats as read 2020-08-27 16:09:03 -05:00
Alex Gleason
ac028ed584
Chats: add unread counters to chats 2020-08-27 15:43:19 -05:00
Alex Gleason
020e21adcd
Oh right, maps can't be sorted... 2020-08-27 15:07:15 -05:00
Alex Gleason
859f340716
Chats: rudimentary display of chat message notifications 2020-08-27 14:33:03 -05:00
Alex Gleason
14eec701cb
Chats: add empty chats message 2020-08-27 14:02:52 -05:00
Alex Gleason
44f7ad5e1c
Chats: sort chats in reducer instead of component 2020-08-27 13:45:37 -05:00
Alex Gleason
9493b261ef
Chats: only show message button if the user supports chats 2020-08-27 13:32:52 -05:00
Alex Gleason
59c2029535
Chats: style pending messages 2020-08-27 12:51:35 -05:00
Alex Gleason
29f415d786
Chats: sort most recently updated chats to the top 2020-08-26 23:20:16 -05:00
Alex Gleason
c4aae14148
Chats: handle null last_message 2020-08-26 20:20:14 -05:00
Alex Gleason
9a3aab27c9
Chats: clicking the profile message button calls onMessage 2020-08-26 19:46:23 -05:00
Alex Gleason
efa6f94cdd
Fix onEndorseToggle props warning 2020-08-26 19:20:18 -05:00
Alex Gleason
4b173f0580
Chats: sort messages properly 2020-08-26 17:02:25 -05:00
Alex Gleason
759c4ae4d0
Fix chat submission 2020-08-26 16:54:44 -05:00
Alex Gleason
ecefab9956
Chats: get messages showing up again 2020-08-26 16:12:42 -05:00
Alex Gleason
96ccf02ab8 Merge branch '340-load-more-community-fix' into 'develop'
Pass last statusID into status list before filtering, fixes #340

Closes #340

See merge request soapbox-pub/soapbox-fe!188
2020-08-26 19:43:32 +00:00
Alex Gleason
5c03f855f6
lastStatusId: move assignment out of selector 2020-08-26 14:31:22 -05:00
Alex Gleason
5fc8b3ff3d
Chats: improve display of links and emoji 2020-08-26 00:33:26 -05:00
Alex Gleason
a296e6fcd1
Differentiate chat bubbles 2020-08-26 00:21:54 -05:00
Alex Gleason
c94258dfb9
Chats: improve scroll behavior 2020-08-25 22:12:08 -05:00
Alex Gleason
205078c865
Chats: focus input under some circumstances 2020-08-25 22:03:53 -05:00
Alex Gleason
dcaadb2153
Chats: autoscroll
https://stackoverflow.com/a/41700815
2020-08-25 21:45:05 -05:00
Alex Gleason
5a7cc14812
Chats: rudimentary sending a message 2020-08-25 21:31:34 -05:00
Alex Gleason
5373c5b1c4
Chats: start styling ChatWindow 2020-08-25 21:03:10 -05:00
Alex Gleason
cab490e1d3
Chats: display chat message content 2020-08-25 20:33:49 -05:00
Alex Gleason
a2cd0b7630
Chats: improve toggle surface area 2020-08-25 19:13:54 -05:00
Alex Gleason
0736e6d46c
Chats: Let main window be minimized 2020-08-25 18:53:36 -05:00
Alex Gleason
1c6c9f0f5d
Chats: Toggle pane open and minimized 2020-08-25 18:45:05 -05:00
Alex Gleason
072aed02da
Chats: Allow closing a chat 2020-08-25 18:11:48 -05:00
Alex Gleason
f87f33fb94
Chats: Click chat to open pane 2020-08-25 17:54:10 -05:00
Alex Gleason
c84ca30197
Chats: Click chat to open pane 2020-08-25 17:24:47 -05:00
Alex Gleason
0d7a926fa5
Chats: Style the chat boxes 2020-08-25 17:07:07 -05:00
Alex Gleason
6e0bac3d43
Chats: Get chats from paneData 2020-08-25 16:00:27 -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
d6b3268da4
Render chats in panes layout 2020-08-25 14:58:35 -05:00
Mary Kate
d74a1908c7 move deactivated profile logic to css 2020-08-25 13:47:36 -05:00
Alex Gleason
b98f06e3d3
Chats: Import and normalize chats 2020-08-25 12:38:21 -05:00
Alex Gleason
7693fb87cc
Scaffold chat click 2020-08-25 11:33:51 -05:00
Alex Gleason
e35e8f613f
Rudimentary ChatList display 2020-08-24 21:32:39 -05:00
Alex Gleason
f1cff927c0
Display Chat list 2020-08-24 21:26:42 -05:00
Alex Gleason
9785019054
Add rudimentary support for pleroma:chat_mention notification type 2020-08-24 19:51:24 -05:00
Alex Gleason
fa9421a7c1
Reports counter: Only count open reports 2020-08-24 18:00:09 -05:00
Alex Gleason
ebea858ca2
Reports Counter: Only fetch reports when user is staff 2020-08-24 17:31:45 -05:00
Alex Gleason
c3c77c1795
Show reports counter icon for staff members, fixes #273 2020-08-24 17:18:53 -05:00
Alex Gleason
bb30f0c989
SoapboxConfig: toJSON() --> toJS() 2020-08-24 11:09:59 -05:00
Alex Gleason
e1a86d4e1c
SoapboxConfig: Improve style of delete icons 2020-08-23 23:55:03 -05:00
Alex Gleason
011b80f717
SoapboxConfig: Improve raw JSON editor 2020-08-23 23:46:34 -05:00
Alex Gleason
e173af54f1
SoapboxConfig: Raw JSON editor 2020-08-23 23:19:56 -05:00
Alex Gleason
11840c4be8
SoapboxConfig: "downscaled" --> "displayed" 2020-08-23 22:44:13 -05:00
Alex Gleason
d310fb4f18
SoapboxConfig: Rudimentary deletion of rows 2020-08-23 22:41:22 -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
91e860a67b
SoapboxConfig: Actually upload the logo and banner files 2020-08-23 21:35:33 -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
a6efad793e
SoapboxConfig: Refactor the form state and the onChange behavior 2020-08-23 20:29:29 -05:00
Alex Gleason
ec42888fff
Add getSoapboxConfig() like getSettings() 2020-08-23 16:04:01 -05:00
Alex Gleason
20269bbe3e
soapbox_settings --> soapbox_config 2020-08-23 15:21:19 -05:00