Commit graph

306 commits

Author SHA1 Message Date
Alex Gleason
7d44e84111
Timelines: fix existingQueuedStatus bug 2020-09-28 14:58:12 -05:00
Alex Gleason
ce1e04c224
Obliterate hydrateStore() 2020-09-27 19:49:55 -05:00
Alex Gleason
c05eb0120a
Purge state on logout, fixes #264 2020-09-27 19:09:35 -05:00
Alex Gleason
d5d8c4877e
Interactions: optimistic Favourite and EmojiReact actions, fixes #104 2020-09-27 17:24:55 -05:00
Alex Gleason
a67ab78c36
Timelines: refactor timelineQueue to use IDs instead of full objects, fixes #156 2020-09-27 16:17:21 -05:00
Alex Gleason
83f31b8a00
Notifications: parseInt ID when sorting 2020-09-27 14:33:21 -05:00
Alex Gleason
f183094f82
Refactor notifications again, this time with OrderedMap, fixes #433 2020-09-23 18:57:10 -05:00
Alex Gleason
9c0793d1f3
Comment TIMELINE_DISCONNECT test 2020-09-23 10:26:01 -05:00
Alex Gleason
3b94700311
Lint: fix import 2020-09-23 10:15:49 -05:00
Alex Gleason
4851ec24f9
Don't just put "null" in the notifications list, fixes #432 2020-09-23 10:14:27 -05:00
Alex Gleason
ed4abfdce3
Chats: allow deleting a message, fixes #358 2020-09-22 16:20:10 -05:00
Alex Gleason
64a68c650e
Notifications: refactor with OrderedSet instead of List 2020-09-22 13:42:08 -05:00
Alex Gleason
9d2da836b3
Snackbar: allow severity levels 2020-09-21 22:56:15 -05:00
Alex Gleason
b51236a6b0
Threading test #422 2020-09-18 17:03:00 -05:00
Alex Gleason
b29ed6b18a
Refactor threading, fixes #422 2020-09-18 16:16:56 -05:00
Alex Gleason
556e11a9cb
Skip importing empty accounts, fixes #424 2020-09-15 10:33:12 -05:00
Alex Gleason
9692c7539a
Hovercard: appear and disappear properly 2020-09-11 10:05:52 -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
Alex Gleason
adc98b7ad2
UserLists: use OrderedSets instead of Lists, fixes #230 2020-09-09 18:06:01 -05:00
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
Alex Gleason
9a2fba1ef5
Revert "Revert "Store fieldsLimits in instance/pleroma/metadata of the Redux store. Render fields to maxFields value in features/edit_profile, using maxFields value""
This reverts commit b3a6c395df.
2020-08-08 20:32:39 -05:00
Alex Gleason
b3a6c395df
Revert "Store fieldsLimits in instance/pleroma/metadata of the Redux store. Render fields to maxFields value in features/edit_profile, using maxFields value"
This reverts commit 3d24cfaf53.
2020-08-08 18:34:35 -05:00
crockwave
3d24cfaf53 Store fieldsLimits in instance/pleroma/metadata of the Redux store. Render fields to maxFields value in features/edit_profile, using maxFields value 2020-08-04 18:05:16 -05:00
Curtis ROck
f23e3f60cb debugged soapbox-test 2020-08-02 22:06:37 -05:00
Alex Gleason
7fe70a64b5
Pleroma relationship fixes 2020-08-02 21:45:42 -05:00
Curtis ROck
f205ff5334 Added tests to reducers/soapbox 2020-08-02 18:45:39 -05:00
crockwave
ba18c3a643 SB settings Save works and brandcolor renders. Logo/banner paths are issues, and adding new homefooter/customCSS are issues 2020-08-01 16:38:29 -05:00
Curtis ROck
78df407e1e remarked out a case, due to that case being triggered during a Soapbox settings save event, which needs debugging. Post to AdminConfig fails with 400 Bad Request response. 2020-07-30 21:55:17 -05:00
crockwave
c6f3816f77 Drafted pushing soapbox object to Redux store on SOAPBOX_POST_SUCCESS 2020-07-30 19:39:41 -05:00
marykatefain
ee97e94779 Bookmark posts 2020-07-29 21:08:36 +00:00
Alex Gleason
5333680a32
Linter fixes 2020-07-28 14:13:29 -05:00
Alex Gleason
ac6b4033dd
Merge remote-tracking branch 'origin/develop' into add-markdown-posts 2020-07-28 14:00:25 -05:00
Alex Gleason
eda4c7d629
Add markdown reducer tests 2020-07-28 13:53:01 -05:00
Alex Gleason
b31cf22f43
Markdown refactoring 2020-07-28 13:43:22 -05:00
Mary Kate
daf039d9bb generalize markdown to content_type 2020-07-28 13:31:44 -05:00
Mary Kate
bc787e0bbe add markdown posts 2020-07-28 12:24:04 -05:00
Alex Gleason
665a27d4c9
Update compose CW tests 2020-07-28 10:57:20 -05:00
Alex Gleason
2aca716cfa
Revert "Merge branch 'decouple_spoiler_from_nsfw' into 'develop'"
This reverts commit 03c2a8f294, reversing
changes made to b6c0884a1d.
2020-07-28 10:52:29 -05:00
Alex Gleason
9b66611540
Revert "Merge branch 'patch-1' into 'develop'"
This reverts commit 20bfeb1db6, reversing
changes made to 475881e80b.
2020-07-28 10:50:51 -05:00
Curtis
d15f8d4a4e Update compose-test.js to accommodate decoupling of CW toggle from sensitive (NSFW) assignment 2020-07-20 19:28:06 +00:00
Alex Gleason
475881e80b Merge branch 'reducers_tests' into 'develop'
Reducers tests

See merge request soapbox-pub/soapbox-fe!103
2020-07-20 19:10:33 +00:00
crockwave
7023471abe edited auth-test 2020-07-15 17:36:34 -05:00
crockwave
e5937b42e4 fix linter error 2020-07-14 18:21:49 -05:00
crockwave
599129897a edited accounts and alerts reducer tests 2020-07-14 17:11:05 -05:00
crockwave
67d94fb226 edited accounts_counters-test 2020-07-14 14:05:05 -05:00
Curtis ROck
26a37382de edited accounts_counters-test 2020-07-14 07:43:56 -05:00
Curtis ROck
3d547f2038 fix linter issue 2020-07-13 22:04:29 -05:00
Curtis ROck
8177a48a9b edit notifications-test 2020-07-13 21:49:42 -05:00
crockwave
40f688a6be edited notifications_test 2020-07-13 20:00:55 -05:00
Curtis ROck
3fe51e4885 edit notifications-test 2020-07-12 17:52:58 -05:00
Curtis ROck
1acdea14b1 fix lint issues 2020-07-11 22:50:02 -05:00
Curtis ROck
81a8231af4 edited notifications-test 2020-07-11 22:37:52 -05:00
crockwave
88b0ed440b edited notifications-test 2020-07-11 17:34:14 -05:00
Alex Gleason
03c2a8f294 Merge branch 'decouple_spoiler_from_nsfw' into 'develop'
Update compose.js to decouple spoiler from marking media as NSFW. Fixes #209

Closes #209

See merge request soapbox-pub/soapbox-fe!90
2020-07-11 19:36:22 +00:00
Curtis ROck
49d69178ae notifications-test edit 2020-07-11 08:34:20 -05:00
Curtis ROck
d2e2d52a0d edit notifications-test 2020-07-10 21:59:19 -05:00
crockwave
d415a432d2 test edits 2020-07-10 18:45:10 -05:00
Curtis ROck
c216833222 linter fixes 2020-07-09 19:37:04 -05:00
crockwave
2018e5238b test editing 2020-07-09 18:44:23 -05:00
Curtis ROck
78d0955db2 fix lint error 2020-07-08 22:19:55 -05:00
Curtis ROck
1402b12e3a debugged tests 2020-07-08 22:05:22 -05:00
crockwave
41ed27751e debugged reducer tests 2020-07-08 19:22:49 -05:00
Curtis ROck
3635d669f4 linter fix 2020-07-07 22:27:41 -05:00
Curtis ROck
e01b7d8d70 fix linter errors 2020-07-07 21:52:56 -05:00
crockwave
3481b4c728 edited height_cache-test, identity_proofs-test, and list_adder-test 2020-07-07 19:38:16 -05:00
Curtis ROck
acfd8fe2ac edit conversations-test 2020-07-07 08:55:44 -05:00
crockwave
c55e937dcc linter fix 2020-07-06 15:08:13 -05:00
crockwave
8ad0b96600 fix linter 2020-07-06 14:52:01 -05:00
crockwave
ff63b6f6c5 edit auth-test 2020-07-06 14:42:11 -05:00
crockwave
ca2ccb8a3c started editing additional reducer tests 2020-07-05 19:38:32 -05:00
Alex Gleason
44e882d7fc
Show donor badge 2020-07-04 21:25:43 -05:00
Alex Gleason
4c6589637d
Tests: relationships reducers 2020-07-04 20:48:31 -05:00
Alex Gleason
61deb1237d
Make relationships load faster
Import pleroma.relationships when the account loads
2020-07-04 20:15:20 -05:00
Alex Gleason
15998abf89
Refactor account reducer 2020-07-04 19:37:07 -05:00
crockwave
f7f2b500b5 edit reducers/compose-test 2020-07-04 14:43:50 -05:00
Alex Gleason
0dc085411c
Refactor Patron code 2020-07-04 14:14:36 -05:00
crockwave
a3df58e260 edited reducers/compose-test.js 2020-07-04 13:13:23 -05:00
crockwave
7da412d8e5 fixed linter errors 2020-07-04 11:38:50 -05:00
crockwave
cb98e71748 edit reducers/compose.js 2020-07-03 18:44:25 -05:00
crockwave
ed9c9800ae further compose reducer tests 2020-07-02 20:18:19 -05:00
Sean King
bf8b875b96
Jest test failure fix. Let's make sure we don't have the roof collapse. 2020-07-02 16:31:51 -05:00
Sean King
1a7cbb21a7
Audio player work (change of sensitive content handling) 2020-07-02 16:31:48 -05:00
Curtis
53d70a98bf Update compose.js to decouple spoiler from marking media as NSFW 2020-07-02 18:32:42 +00:00
crockwave
1144ff3ddf Merge branch 'reducers_tests' of https://gitlab.com/soapbox-pub/soapbox-fe into reducers_tests
further edit to compose-test.js
2020-07-01 16:48:07 -05:00
crockwave
a9d9c44a72 further edit of compose-test.js 2020-07-01 16:40:15 -05:00
Curtis
e88bf30d7a Update compose-test.js 2020-07-01 01:51:21 +00:00
crockwave
0641b29e2a started editing reducers/__tests__/compose-test 2020-06-30 19:18:26 -05:00
Alex Gleason
7fbcf3ca57
Composer: Don't force scope change after settings save, fixes #122 2020-06-16 18:00:27 -05:00
Alex Gleason
4720ccc57d
Use distinct ME_PATCH_SUCCESS action for responding to account updates 2020-06-16 17:36:49 -05:00
Alex Gleason
f01a8b5b8f
Composer: Test scope on reply 2020-06-16 17:30:19 -05:00
Alex Gleason
5e60fe1954
Support Pleroma legacy notification counter, fixes #172 2020-06-10 08:45:48 -05:00
Alex Gleason
0e86d03c97
Tests: Notification reducer NOTIFICATIONS_EXPAND_SUCCESS 2020-06-10 00:52:58 -05:00
Alex Gleason
d78a62ed41
Lint: whitespace issue 2020-06-09 23:13:03 -05:00
Alex Gleason
f4c12c6986
Tests: Boilerplate all reducers 2020-06-09 20:08:07 -05:00
Alex Gleason
0c1eeb9efa
Tests: start reducers/auth tests 2020-06-09 19:31:52 -05:00
Alex Gleason
e78d8d59b6
Compose: Fix content retention on close, fixes #139 2020-06-07 16:40:56 -05:00
Alex Gleason
374e985e37
Composer: Only process mentions if they exist, fixes #133 2020-06-07 16:06:31 -05:00
Alex Gleason
35d5e7d649
SecurityForm: Revoke OAuth token 2020-06-05 15:54:09 -05:00
Alex Gleason
db1ad3e16f
SecurityForm: Display OAuth tokens 2020-06-05 15:43:03 -05:00
Alex Gleason
3e2b282cb8
Postpone setting the brand color until soapbox.json succeeds or fails
Fixes color flickering during load
2020-06-03 14:47:49 -05:00
Alex Gleason
8f566b70e6
Better actions names for INSTANCE_FETCH_SUCCESS etc 2020-06-03 14:26:22 -05:00
Alex Gleason
e8fcd9bf18
Actually set default brandColor in SoapboxMount 2020-06-03 14:20:45 -05:00
Alex Gleason
7d58694cce
Set Azure as default brandColor (can still be set blank with null) 2020-06-03 11:23:21 -05:00
Alex Gleason
a2c9aeb8dd
Conditionally fetch /nodeinfo/2.1.json for Pleroma < 2.1, #137 2020-05-31 12:01:21 -05:00
Bárbara de Castro Fernandes
775f923708 Add 'block user' option to the report window 2020-05-29 15:05:24 -03:00
Alex Gleason
d24dcb3e60
gabsocial --> soapbox paths 2020-05-28 17:56:55 -05:00