Commit graph

497 commits

Author SHA1 Message Date
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