Commit Graph

136 Commits

Author SHA1 Message Date
Alex Gleason
9247f37e75 Chats: fix #399 scrolling in FireFox 2020-09-07 16:07:05 -05:00
Alex Gleason
9da87405f8 Chats: improve the way messageIds are sorted 2020-09-04 18:03:38 -05:00
crockwave
91605d7d91 Fixed reducer error 2020-09-03 11:10:03 -05:00
Curtis ROck
181eef1edd corrected errors 2020-09-02 21:47:46 -05:00
Curtis ROck
b337a4560e Apply non-blank default BrandColor only when API and soapbox.json methods fail, and only when API and/or JSON method succeeds, but brandColor value is blank 2020-08-31 22:00:11 -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
2c551130e6 Rip out markers, don't rely on them for unread count 2020-08-28 16:49:27 -05:00
Alex Gleason
572a1db9f7 Chats: mobile styling 2020-08-28 14:42:58 -05:00
Alex Gleason
e7c6862fd0 Chats: refactor ChatBox into its own component 2020-08-28 13:17:19 -05:00
Sean King
6872568d9e Add .wav audio as supported file type 2020-08-27 20:31:07 -06:00
Alex Gleason
a3585305f7 Fix notification reducer tests 2020-08-27 16:20:45 -05:00
Alex Gleason
f80f18d376 Chats: mark chats as read 2020-08-27 16:09:03 -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
44f7ad5e1c Chats: sort chats in reducer instead of component 2020-08-27 13:45:37 -05:00
Alex Gleason
10257f324d Chats: clicking "message" launches a new chat 2020-08-27 13:01:06 -05:00
Alex Gleason
8b621d30fc Chats: fix flickering during update 2020-08-27 00:24:11 -05:00
Alex Gleason
9af664bda8 Start making the chat faster, but it flickers 2020-08-27 00:06:27 -05:00
Alex Gleason
c4aae14148 Chats: handle null last_message 2020-08-26 20:20:14 -05:00
Alex Gleason
02b3b08999 Chats: use semantic names for action properties 2020-08-26 19:53:54 -05:00
Alex Gleason
da6239c4fc Chats: move out of importer pipeline, entirely through reducers 2020-08-26 18:17:47 -05:00
Alex Gleason
b9d7f927a6 Chats: get streaming working again 2020-08-26 17:29:22 -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
b66e28d8bb Chats: store chat_message_lists in Redux 2020-08-26 15:54:14 -05:00
Alex Gleason
dbafbbc065 Chats: make streaming mostly work 2020-08-26 13:40:42 -05:00
Alex Gleason
f52186bc01 Don't write settings back to Redux after PATCH, prevents race conditions 2020-08-26 00:37:55 -05:00
Alex Gleason
5a7cc14812 Chats: rudimentary sending a message 2020-08-25 21:31:34 -05:00
Alex Gleason
cab490e1d3 Chats: display chat message content 2020-08-25 20:33:49 -05:00
Alex Gleason
b98f06e3d3 Chats: Import and normalize chats 2020-08-25 12:38:21 -05:00
Alex Gleason
f1cff927c0 Display Chat list 2020-08-24 21:26:42 -05:00
Alex Gleason
fa9421a7c1 Reports counter: Only count open reports 2020-08-24 18:00:09 -05:00
Alex Gleason
c3c77c1795 Show reports counter icon for staff members, fixes #273 2020-08-24 17:18:53 -05:00
Alex Gleason
20f64079e0 Preload /api/v1/instance 2020-08-24 15:53:38 -05:00
Alex Gleason
0dfe22de36 Fix updateFromAdmin() broken comparison 2020-08-24 10:38:29 -05:00
Alex Gleason
48d0572403 ConfigDB: Refactor updateFromAdmin in reducers/soapbox 2020-08-24 10:08:39 -05:00
Alex Gleason
d310fb4f18 SoapboxConfig: Rudimentary deletion of rows 2020-08-23 22:41:22 -05:00
Alex Gleason
ec42888fff Add getSoapboxConfig() like getSettings() 2020-08-23 16:04:01 -05:00
Alex Gleason
83b799a3a1 ConfigSoapbox: Update phrasing, add + icons to form 2020-08-23 15:04:32 -05:00
Alex Gleason
5a9f17ebac Start refactoring AdminAPI actions 2020-08-23 12:48:45 -05:00
Alex Gleason
2cdf6f7275 Merge remote-tracking branch 'origin/develop' into admin_cfg 2020-08-23 12:16:52 -05:00
Alex Gleason
99d96ed901 Fix login issues due to no pleroma_settings_store fallback 2020-08-15 14:43:34 -05:00
crockwave
d966107f1b Add default copyright value to reducer
Fixed checkbox processing
2020-08-14 19:03:11 -05:00
crockwave
cf260ec793 Handles virgin rendering, default soapbox object if soapbox.json missing, local state used only for UI changes, and retention of settings in both DB and store as soapbox object
Need to monitor for soapbox object dispatch events so that hitting Back causes re-render of timeline page
Need to explore refactoring update of soapbox object before being passed to API
2020-08-14 16:51:04 -05:00
crockwave
8b2c7b344b Trying to get blank customCss field to appear on virgin usage 2020-08-13 19:04:54 -05:00
Alex Gleason
101f519d4b Spinster migration hotfix: fix locale set to "" 2020-08-13 04:46:45 -05:00
crockwave
cea7723fc3 refactored to improve default soapbox object for store
refactored to render with local state if avail or with props
refactored to build soapbox object for api and store from local state if avail or with props
2020-08-12 17:24:14 -05:00
Mary Kate
5b3accdc53 Hotfix to remove media uploads entirely on del and redraft compose form since it was tricking user into thinking it would retain the media when submitted 2020-08-10 18:18:23 -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
2fff5db5d5 Handle max_fields fallback differently 2020-08-09 14:01:16 -05:00