Commit graph

1053 commits

Author SHA1 Message Date
Alex Gleason
205926f34b Merge branch 'auth-fixes' into 'develop'
Handle invalid sessionUser. Don't store invalid sessionUser.

See merge request soapbox-pub/soapbox-fe!472
2021-04-10 22:47:30 +00:00
Alex Gleason
8ee095cc63
FQN label phrasing 2021-04-10 17:39:33 -05:00
Alex Gleason
070a7d410d
Handle invalid sessionUser. Don't store invalid sessionUser. 2021-04-10 17:15:52 -05:00
Alex Gleason
6050991934
SoapboxConfig: make displayFqn configurable 2021-04-10 16:21:10 -05:00
Alex Gleason
e03f551676
acctFull --> getAcct throughout the UI, make it stateful 2021-04-10 14:13:07 -05:00
Alex Gleason
4b5d22f172
Refactor account FQN with Pleroma BE field 2021-04-10 13:10:44 -05:00
marcin mikołajczak
fd4806bd6e Update Polish translation 2021-04-10 16:37:54 +00:00
Alex Gleason
340d0579b5
Fix emoji reacts not streaming correctly 2021-04-09 14:48:29 -05:00
Alex Gleason
7567f7bd45
Redirect user away from /auth/sign_in after success 2021-04-06 11:58:14 -05:00
Artur Mancha
172753cbe0 Improving a few translations on the column so it doesn't become cluttered and missing translation 2021-04-05 17:56:21 +00:00
Artur Mancha
a323baeecb Update pt.json 2021-04-04 23:37:49 +00:00
Artur Mancha
97c210cf04 Update pt.json 2021-04-04 04:22:12 +00:00
Alex Gleason
ec00b043cf
Reports are not anonymized anymore 2021-04-03 16:31:39 -05:00
Alex Gleason
9d78e1a448
Fix media context button for videos, fixes #606 2021-04-02 17:01:39 -05:00
Alex Gleason
a12cff8f8b
Fix display of ColumnLoading and BundleColumnError 2021-03-31 15:02:23 -05:00
Alex Gleason
2500dcf77a
Refactor API client 2021-03-31 14:47:54 -05:00
Alex Gleason
a42ece6df4
Don't call ME_FETCH_SUCCESS twice extraneously 2021-03-31 13:36:48 -05:00
Alex Gleason
3bc35cf3eb
Refactor compose reducer account import 2021-03-31 13:36:15 -05:00
Alex Gleason
9510cf4a38
Shorted footer links phrases 2021-03-30 22:04:19 -05:00
Alex Gleason
e6b1284f97
Pull dashboard Soapbox version from utils/code.js 2021-03-30 17:28:36 -05:00
Alex Gleason
e0df861658 Merge branch 'link-footer-improvements' into 'develop'
Link footer improvements

See merge request soapbox-pub/soapbox-fe!461
2021-03-30 21:09:46 +00:00
Alex Gleason
284aacccf0
Try to get version from GitLab CI first 2021-03-30 14:02:26 -05:00
Alex Gleason
5040bca304
Always have LinkFooter on the right side 2021-03-30 13:22:19 -05:00
Alex Gleason
a032369d33
Include Soapbox FE commit hash when git is available 2021-03-30 13:11:04 -05:00
Alex Gleason
f97bba2308
@preval sourceCode 2021-03-30 12:43:45 -05:00
Alex Gleason
dfa1443832
Import Soapbox version/metadata from package.json 2021-03-30 12:22:16 -05:00
Alex Gleason
110f2de90c
Fix pagination for blocks/mutes 2021-03-30 11:53:45 -05:00
Alex Gleason
e1c5736822
Sidebar: unlink multi-accounts 2021-03-30 00:46:21 -05:00
Alex Gleason
73a3ee296b
Rename action.reload -> action.background 2021-03-30 00:45:23 -05:00
Alex Gleason
15d61a98e7
Don't update the state when action.reload === false 2021-03-30 00:35:27 -05:00
Alex Gleason
09cbcf6145
Don't rely on ['auth', 'me'] 2021-03-30 00:23:29 -05:00
Alex Gleason
32b3173604
Set href for menu items with to 2021-03-29 23:29:16 -05:00
Alex Gleason
db201707bf
Middle-click account to open it in a new tab, fixes #603 2021-03-29 23:22:54 -05:00
Alex Gleason
8e84c83fdc
Refactor persistState() 2021-03-29 20:03:27 -05:00
Alex Gleason
aa7e62e8c0
Initialize auth refactor 2021-03-29 19:51:48 -05:00
Alex Gleason
a055431c24 Merge branch 'iss_dein_schnitzel-develop-patch-94378' into 'develop'
Update de.json

See merge request soapbox-pub/soapbox-fe!457
2021-03-29 23:38:46 +00:00
Isabell Deinschnitzel
d14ddaff40 Update de.json 2021-03-29 23:14:49 +00:00
NaiJi
ef0f601096 Update ru.json 2021-03-29 22:45:38 +00:00
Alex Gleason
e54f6b8a2d
yarn manage:translations 2021-03-29 17:10:05 -05:00
Alex Gleason
3fbe0d38af
Redirect account URLs like /@9v5bmXkCYkqU30gp9s to their username, /@alex@spinster.xyz 2021-03-29 15:15:35 -05:00
Alex Gleason
ad84e586f1 Merge branch 'follow-request-notifs' into 'develop'
Add follow request notification support, fixes #595

Closes #595

See merge request soapbox-pub/soapbox-fe!453
2021-03-29 18:55:25 +00:00
Alex Gleason
f21502a1c6
Fix push_notifications-test.js 2021-03-29 13:44:39 -05:00
Alex Gleason
f236b4f3e6
Add follow request notification support 2021-03-29 13:35:30 -05:00
Alex Gleason
a1f4fdcbd8
Persist current user across reloads, fixes #600 2021-03-29 13:02:11 -05:00
Alex Gleason
5e97b57d8b
Redirect after multi-auth OTP login, fixes #597 2021-03-27 15:40:05 -05:00
Alex Gleason
706e0ea6ac
Always redirect home when switching between accounts 2021-03-27 14:37:17 -05:00
Alex Gleason
0ed3e0e3de
Add own profile to profile dropdown 2021-03-27 12:16:45 -05:00
Alex Gleason
fce37be8a4 Merge branch 'multi-accounts' into 'develop'
Multi-account switcher, fixes #23

Closes #23

See merge request soapbox-pub/soapbox-fe!451
2021-03-27 16:06:13 +00:00
Alex Gleason
f728491ad0
Add follow request nav item when account is locked 2021-03-27 10:50:21 -05:00
Alex Gleason
582649538c
Close account switcher when sidebar closes 2021-03-26 22:57:22 -05:00
Alex Gleason
9bff74b575
Remove unused import 2021-03-26 22:42:10 -05:00
Alex Gleason
16ce14e403
Add mobile account switcher 2021-03-26 22:34:30 -05:00
Alex Gleason
20ef262cfc
Fix MFA 2021-03-26 16:42:47 -05:00
Alex Gleason
597546e989
Update captcha snapshot 2021-03-26 16:20:31 -05:00
Alex Gleason
f24422d520
Fix registration form workflow 2021-03-26 15:45:46 -05:00
Alex Gleason
eae309e150
Clear captcha form when registration fails 2021-03-26 15:30:14 -05:00
Alex Gleason
4d1af4764f
Refactor registration action 2021-03-26 15:29:15 -05:00
Alex Gleason
abb24b0c6b Merge branch 'include/tabs_bar.dashboard' into 'develop'
Include a value for tabs_bar.dashboard

See merge request soapbox-pub/soapbox-fe!444
2021-03-26 14:41:55 +00:00
Alex Gleason
41c7612b47
Don't refresh when '_legacy' changes 2021-03-25 23:03:58 -05:00
Alex Gleason
c7c0c41ce6
Use our own INIT_STORE action instead of relying on Redux's internal actions 2021-03-25 22:37:10 -05:00
Alex Gleason
ad3362e3cd
auth: persist the state only if changed 2021-03-25 20:35:19 -05:00
Alex Gleason
fa4d36b7a7
Move ActionBar links into LinkFooter 2021-03-25 18:56:07 -05:00
Alex Gleason
5c6fa253c7
['auth', 'me'] -> 'me' 2021-03-25 18:38:28 -05:00
Alex Gleason
1e2b0c9eee
Fix tests 2021-03-25 17:12:31 -05:00
Alex Gleason
619d298547
Correctly import settings on login 2021-03-25 16:39:52 -05:00
Alex Gleason
659cee1c49
Refresh the page under more general conditions 2021-03-25 15:59:09 -05:00
Alex Gleason
6ead42b06d
Handle logout 2021-03-25 15:15:37 -05:00
Alex Gleason
bbd4edf226
Typofix 2021-03-25 14:52:51 -05:00
Alex Gleason
a5f6fa66ac
Remove LoginModal for now 2021-03-25 14:44:02 -05:00
Alex Gleason
7a5fb6abb5
Add new account from login page 2021-03-25 14:42:09 -05:00
Alex Gleason
663d375dc5
Throttle fetchOwnAccounts correctly 2021-03-25 13:47:01 -05:00
Alex Gleason
c14fc83ac1
Improve style of profile dropdown 2021-03-25 13:23:59 -05:00
Alex Gleason
4ff1f0fa63
Add another isLoggedIn condition 2021-03-25 12:28:53 -05:00
Alex Gleason
71c62c05b8
Move isLoggedIn to utils/auth.js 2021-03-25 12:25:45 -05:00
Alex Gleason
007527328e
Start building LoginModal 2021-03-25 12:21:48 -05:00
Alex Gleason
74f48229fc
Fix streaming access token 2021-03-24 17:53:09 -05:00
Alex Gleason
94da1f6722
Reload the page conditionally 2021-03-24 16:49:24 -05:00
Alex Gleason
b4cab46553
Only reload with SWITCH_ACCOUNT (for now) 2021-03-24 16:24:46 -05:00
Alex Gleason
ee9b4cb969
Upgrade user localStorage auth to the new format 2021-03-24 16:18:14 -05:00
Alex Gleason
a00a1bbc30
Test VERIFY_CREDENTIALS_SUCCESS interactions with me 2021-03-24 15:17:05 -05:00
Alex Gleason
4682cecd33
Add test for SWITCH_ACCOUNT 2021-03-24 15:14:20 -05:00
Alex Gleason
431e41a711
Add tests for VERIFY_CREDENTIALS_SUCCESS 2021-03-24 15:11:18 -05:00
Alex Gleason
886ab93c70
Refactor auth reducer tests, add tests for VERIFY_CREDENTIALS_FAIL 2021-03-24 15:01:10 -05:00
Alex Gleason
79c9c46a9a
Nuke tokens on VERIFY_CREDENTIALS_FAIL 2021-03-24 14:15:36 -05:00
Alex Gleason
760bac1377
Add styled console warning 2021-03-24 13:37:41 -05:00
Alex Gleason
47dd4287d0
Don't import frontend settings on VERIFY_CREDENTIALS_SUCCESS 2021-03-24 12:02:12 -05:00
Alex Gleason
1e531f472e
More isLoggedIn refactoring 2021-03-24 11:52:12 -05:00
Alex Gleason
9cd06a15d5
Refactor loggedin check 2021-03-24 11:44:51 -05:00
Alex Gleason
a731ac88cf
Make login work again 2021-03-24 00:05:06 -05:00
Alex Gleason
0daa95646e
Refactor auth reducer localStorage 2021-03-23 22:19:24 -05:00
Alex Gleason
60a3a5b403
Move session tokens list into security reducer 2021-03-23 21:15:47 -05:00
Alex Gleason
6b8fbbff47
Remove dead code 2021-03-23 21:04:12 -05:00
Alex Gleason
88420ccca6
Fetch unfetched otherAccounts 2021-03-23 21:01:50 -05:00
Alex Gleason
0162eac662
Refactor auth to support multiple accounts 2021-03-23 19:06:55 -05:00
Alex Gleason
a70c6c91af
Delete unused Compose code 2021-03-23 15:00:26 -05:00
Alex Gleason
23cc622dab
Purge unused getting_started feature 2021-03-23 14:54:51 -05:00
Alex Gleason
8a0fa1b285
Display loading animation during search 2021-03-21 16:09:50 -05:00
Alex Gleason
f6de89ca50
Make editing display names of verified users configurable 2021-03-15 22:23:33 -05:00
Alex Gleason
e4751bef9a
Change display of moderation buttons for own user 2021-03-15 21:57:24 -05:00
Alex Gleason
62d5a97939
Add button verify/unverify a user 2021-03-15 21:52:42 -05:00