Commit graph

351 commits

Author SHA1 Message Date
Alex Gleason
03251de773
Fix me PropType checks 2020-04-27 13:56:26 -05:00
Alex Gleason
099ff10987
Output error if vapid key can't be reached 2020-04-27 13:39:59 -05:00
Alex Gleason
e3a750df28
Pull vapid_key from state 2020-04-26 19:08:11 -05:00
Alex Gleason
741b065d82
Disable Filters navlinks 2020-04-25 23:46:41 -05:00
Alex Gleason
24f448e679
/soapbox --> /instance 2020-04-25 23:27:02 -05:00
Alex Gleason
6477bd3533
Fix eslint error 2020-04-25 19:56:15 -05:00
Alex Gleason
32a5a31591
Add createFilter function 2020-04-25 19:04:47 -05:00
Alex Gleason
7b02e1a823
Scaffold filters section 2020-04-25 18:27:37 -05:00
Alex Gleason
baec6d3fd8
Add Lists to desktop profile dropdown 2020-04-25 18:27:13 -05:00
Alex Gleason
343d3348df
Just disable the "trouble logging in" button for now 2020-04-25 18:00:16 -05:00
Alex Gleason
ba930c505c
Refactor PublicLayout 2020-04-25 17:26:47 -05:00
Alex Gleason
6813f512e6
About Page support 2020-04-25 16:10:01 -05:00
Alex Gleason
b4e3aa8a8c
Obliterate /web once and for all 2020-04-23 21:13:18 -05:00
Alex Gleason
6bcae0dd13
Get captcha working 2020-04-23 20:48:25 -05:00
Alex Gleason
da0de40256
Redirect home after registering 2020-04-23 19:12:42 -05:00
Alex Gleason
af2cbc3455
Basic registration form functionality 2020-04-23 18:41:20 -05:00
Alex Gleason
7d3089270a
SimpleForm e.preventDefault() always 2020-04-23 15:13:05 -05:00
Alex Gleason
606356246a
Fix NaN media height error 2020-04-23 14:59:43 -05:00
Alex Gleason
42f39d6aae
Start refactoring media aspect ratio code 2020-04-23 13:15:52 -05:00
Alex Gleason
85a68e0715
Fix Mastodon startup issues 2020-04-23 11:48:48 -05:00
Alex Gleason
d151ac9b35
Break media_gallery calculations into its own function 2020-04-23 11:19:12 -05:00
Alex Gleason
71b4bb4d06
Fix button error 2020-04-23 09:19:50 -05:00
Alex Gleason
f1c9453620
Use React components in registration form 2020-04-22 23:15:29 -05:00
Alex Gleason
252b3fbf51
Refactor LabelInputContainer 2020-04-22 23:01:36 -05:00
Alex Gleason
924486984e
Refactor SettingsCheckbox 2020-04-22 22:13:57 -05:00
Alex Gleason
a6de9d5e00
Refactor SimpleInput 2020-04-22 22:02:56 -05:00
Alex Gleason
84ee8880e1
Break out registration form 2020-04-22 19:55:23 -05:00
Alex Gleason
4801962988
Refactor InputContainer 2020-04-22 19:36:27 -05:00
Alex Gleason
c367aef6b4
Refactor LabelInput 2020-04-22 19:09:40 -05:00
Alex Gleason
4a675be598
Use native accept='' for FileChooser 2020-04-22 18:15:50 -05:00
Alex Gleason
655fde81e9
Refactor TextInput component 2020-04-22 18:11:12 -05:00
Alex Gleason
104270e5c9
Handle file uploads to profile editor 2020-04-22 17:04:08 -05:00
Alex Gleason
1b1bf4cdbe
Pass maxLength directly to TextInput component 2020-04-22 16:38:16 -05:00
Alex Gleason
6fe57ca055
Boilerplate avatar/header selector 2020-04-22 16:26:44 -05:00
Alex Gleason
4910b99a53
Link to Pleroma admin-fe views 2020-04-21 20:42:19 -05:00
Alex Gleason
36c3529006
Fix eslint error 2020-04-21 19:46:29 -05:00
Alex Gleason
d4d56e5dc8
Add "Edit profile" button 2020-04-21 19:44:55 -05:00
Alex Gleason
e338760fd3
Fix settings/preferences icons 2020-04-21 19:24:57 -05:00
Alex Gleason
f16779219a
Improve profile editor 2020-04-21 19:22:00 -05:00
Alex Gleason
f2b1305ce9
Add basic profile editor 2020-04-21 18:00:05 -05:00
Alex Gleason
6db6793b8b
Clean up preferences 2020-04-21 16:51:04 -05:00
Alex Gleason
aa47b35503
Use to="" links for settings pages 2020-04-21 16:20:17 -05:00
Alex Gleason
68f36685b7
Add patchMe action 2020-04-21 15:53:32 -05:00
Alex Gleason
8a5807f5df
Set reduceMotion body class 2020-04-21 15:16:33 -05:00
Alex Gleason
7e0b4f5f47
Add demetricator preference 2020-04-21 15:14:06 -05:00
Alex Gleason
c90f087d2a
Add dyslexicFont preference 2020-04-21 15:10:45 -05:00
Alex Gleason
394aaaf23f
Add systemFont preference 2020-04-21 15:05:49 -05:00
Alex Gleason
500165c478
Refactor modal settings 2020-04-21 14:41:13 -05:00
Alex Gleason
cafa014018
Let isStaff accept an undefined value 2020-04-21 14:00:31 -05:00
Alex Gleason
2e084e9d77
Fetch account data from profile_page 2020-04-21 12:35:57 -05:00
Alex Gleason
1963f46392
Fall back to page title 2020-04-21 12:04:00 -05:00
Alex Gleason
2afe0e0b56
Add more boolean settings 2020-04-20 20:56:32 -05:00
Alex Gleason
ad60980acf
Refactor theme selector dropdown 2020-04-20 20:33:27 -05:00
Alex Gleason
91b20dc86b
Refactor RadioGroup 2020-04-20 20:20:07 -05:00
Alex Gleason
8b7ee7133b
Start refactoring forms 2020-04-20 19:33:19 -05:00
Alex Gleason
8035048ca4
Add modal confirmation settings 2020-04-20 18:52:33 -05:00
Alex Gleason
84c769c5f6
Add modal root to compose form clickable area 2020-04-20 18:52:12 -05:00
Alex Gleason
0ec8e39051
Fix inline compose form clickable area, fixes #30 2020-04-20 16:53:22 -05:00
Alex Gleason
de703ab748
Add padding to Preferences panel 2020-04-20 16:17:51 -05:00
Alex Gleason
2de1b5466e
Refactor isStaff, fixing profile page issues 2020-04-20 16:08:31 -05:00
Alex Gleason
e761942ced
Let default post privacy be configurable 2020-04-20 15:18:35 -05:00
Alex Gleason
16d65f88f1
Fix eslint error 2020-04-18 17:13:43 -05:00
Alex Gleason
7712eb6621
Use dynamic isStaff function 2020-04-18 15:22:40 -05:00
Alex Gleason
c6b9968855
Add isStaff utility 2020-04-18 15:09:54 -05:00
Alex Gleason
d3bef7038d
Use default title for Helmet 2020-04-18 15:09:25 -05:00
Alex Gleason
9a327139fe
Add tests for account utils 2020-04-18 14:18:04 -05:00
Alex Gleason
ce19fc3cde
Enforce no mixed tabs and spaces 2020-04-18 14:04:18 -05:00
Alex Gleason
bc5b286737
preferences --> settings
I give up trying to organize them. Just going back to using Mastodon's preferences map.
2020-04-18 13:58:51 -05:00
Alex Gleason
fc04e6a718
Fix overriding chat token 2020-04-17 20:21:30 -05:00
Alex Gleason
bdf648f506
Save and fetch preferences from Pleroma 2020-04-17 19:22:40 -05:00
Alex Gleason
3812674a88
Remove uneeded fields from meta reducer 2020-04-17 18:29:45 -05:00
Alex Gleason
10b6a19e0a
Obliterate initial-state nonsense 2020-04-17 18:25:36 -05:00
Alex Gleason
ddfd7ccf98
Clean up initial_state.js 2020-04-17 17:41:43 -05:00
Alex Gleason
725a9b3403
Pull meUsername from Redux 2020-04-17 17:14:04 -05:00
Alex Gleason
08d95c83a7
Pull autoPlayGif from Redux 2020-04-17 17:00:25 -05:00
Alex Gleason
f20e5f7899
Pull expandSpoilers from Redux store 2020-04-17 16:24:36 -05:00
Alex Gleason
5fdcd80ceb
Pull Pleroma meta from verify_credentials into Redux store 2020-04-17 16:13:08 -05:00
Alex Gleason
24810f83c0
fetchMastoPreferences() action for pulling /api/v1/preferences 2020-04-17 16:12:33 -05:00
Alex Gleason
c40fb925e9
Refactor 'me' reducer 2020-04-17 16:10:55 -05:00
Alex Gleason
5781d0de07
Add preferences reducer 2020-04-17 16:10:07 -05:00
Alex Gleason
95d3b72f9b
Refactor fetchMe() function 2020-04-17 16:08:07 -05:00
Alex Gleason
14cdd31388
Basic theme switcher (no persistence) 2020-04-16 16:13:22 -05:00
Alex Gleason
d4f41df8c1
Nest auth_login fieldset, fixes #17 2020-04-15 18:32:12 -05:00
Alex Gleason
1ac1de1d02
Add empty preferences page, /settings/preferences 2020-04-15 16:58:06 -05:00
Alex Gleason
e47c6396f2
Fix compose box closing when removing poll options 2020-04-15 15:32:05 -05:00
Alex Gleason
21789858c0
Expand compose form clickable area 2020-04-15 15:24:47 -05:00
Alex Gleason
a82212cdca
Use poll limits from /api/v1/instance 2020-04-15 13:20:25 -05:00
Alex Gleason
cf1d76a3eb
Set tab title with Helmet 2020-04-14 23:21:36 -05:00
Alex Gleason
3088ffff6a
Allow switching theme, fixes #5 2020-04-14 22:09:59 -05:00
Alex Gleason
d4b63072bf
Copy Jest config from Mastodon and fix tests 2020-04-14 17:45:07 -05:00
Alex Gleason
f99f026474
Fix i18n test failures 2020-04-14 17:11:46 -05:00
Alex Gleason
4cd2748300
Run yarn manage:translations 2020-04-14 16:59:54 -05:00
Alex Gleason
8a19b89c16
Enforce spacing of function parameters in eslint 2020-04-14 16:47:35 -05:00
Alex Gleason
2beb4d725f
Add missing propTypes for eslint 2020-04-14 16:37:36 -05:00
Alex Gleason
141b0e6bfa
Fix most linter errors 2020-04-14 15:45:38 -05:00
Alex Gleason
fc72e39ff4
eslint --fix 2020-04-14 13:44:40 -05:00
Alex Gleason
ab02089433
Redirect LoginPage after logging in 2020-04-11 21:05:04 -05:00
Alex Gleason
d7ca4d3be1
Break out LoginForm and LoginPage into separate components 2020-04-11 21:00:08 -05:00
Alex Gleason
d4c84e2b4e
Skip auth app creation if there's one in localStorage 2020-04-11 19:03:36 -05:00
Alex Gleason
34bae6a5df
Skip verify_credentials if there are no credentials 2020-04-11 18:55:07 -05:00
Alex Gleason
f24bd74a38
Pull promoPanel items dynamically 2020-04-11 17:50:42 -05:00
Alex Gleason
d2c5b8cd3a
soapbox.features --> soapbox.extensions 2020-04-11 16:31:58 -05:00
Alex Gleason
02cd99632a
Update source code link in footer 2020-04-11 15:49:55 -05:00
Alex Gleason
8efc9c700e
Fix styling of hotkeys modal 2020-04-11 15:20:47 -05:00
Alex Gleason
2ee2d79156
Temporary icon for local timeline 2020-04-11 14:52:41 -05:00
Alex Gleason
6c6d6297f9
LogOut working 2020-04-11 14:41:13 -05:00
Alex Gleason
1b8544b758
Show "login failed" message 2020-04-11 13:00:36 -05:00
Alex Gleason
092fb5828b
Fix topnav active link discrepancy 2020-04-10 20:16:34 -05:00
Alex Gleason
33cbbaf953
'/home' -> '/' 2020-04-10 20:10:39 -05:00
Alex Gleason
9769e0fb77
Discard streaming events with empty data 2020-04-10 20:05:40 -05:00
Alex Gleason
af717ce3b8
Restore audio functionality. Begone, ribbit! 2020-04-10 19:54:33 -05:00
Alex Gleason
a47781fb95
Don't fetch identity proofs unless logged in 2020-04-10 19:49:05 -05:00
Alex Gleason
0a667052b9
Refactor links in tabs bar 2020-04-10 19:32:16 -05:00
Alex Gleason
82a4328700
Login through homepage working 2020-04-10 19:03:06 -05:00
Alex Gleason
7bbe293537
Clean up logo code 2020-04-10 17:17:02 -05:00
Alex Gleason
f351823129
Fall back to text logo on homepage 2020-04-10 16:37:19 -05:00
Alex Gleason
84f6b91ce5
Homepage pull dynamic content 2020-04-10 16:20:05 -05:00
Alex Gleason
9a3d045a23
Placeholder homepage 2020-04-10 15:53:16 -05:00
Alex Gleason
a1a427e4e0
Display homepage when user is logged out 2020-04-08 18:38:22 -05:00
Alex Gleason
e003e084e5
Move connectUserStream to UI component 2020-04-07 20:11:37 -05:00
Alex Gleason
a7975f10fa
Remove accidental LoadingBar code 2020-04-06 16:22:59 -05:00
Alex Gleason
42e584ca72
Disable auth form during requests 2020-04-06 16:20:03 -05:00
Alex Gleason
1d213b5d0b
Disable part of initial-state 2020-04-05 21:21:51 -05:00
Alex Gleason
9e50293e67
Get login form working! 2020-04-05 20:29:19 -05:00
Alex Gleason
83a711cd3e
Authorize app with token 2020-04-05 19:12:41 -05:00
Alex Gleason
3924a47ff7
Set/get auth from Redux 2020-04-05 16:54:51 -05:00
Alex Gleason
64cef8a56e
Pull streaming URL from /api/v1/instance 2020-04-05 16:28:08 -05:00
Alex Gleason
da4f5b200c
Redirect login form if user is already logged in 2020-04-04 20:20:37 -05:00
Alex Gleason
8f07c6ea2a
Get basic login working 2020-04-04 15:28:57 -05:00
Alex Gleason
86e9c711a7
Render login form 2020-04-03 20:52:13 -05:00
Alex Gleason
cbf799d53f
Fix (!me) logic 2020-04-02 14:53:04 -05:00
Alex Gleason
d3952925d7
Pull in current user with verify_credentials, refactor "me" 2020-04-01 21:20:47 -05:00
Alex Gleason
f8a1c22adc
Refactor tabs_bar.js 2020-04-01 18:13:55 -05:00
Alex Gleason
88b807e9d2
Default 500 max_toot_chars 2020-04-01 17:29:11 -05:00
Alex Gleason
25c028e541
Pull in logo dynamically 2020-04-01 17:15:29 -05:00
Alex Gleason
16a51fb56c
Pull site_title from Instance 2020-04-01 15:31:40 -05:00
Alex Gleason
606d240703
Load max_toot_chars from Instance 2020-04-01 15:15:55 -05:00
Alex Gleason
8ec0e6e82a
Import Instance into store 2020-04-01 15:05:52 -05:00
Alex Gleason
e33b621fb9
Clean up Patron code 2020-04-01 14:40:14 -05:00
Alex Gleason
c9c08dff5c
Move Soapbox config to fetchable endpoint 2020-04-01 14:38:08 -05:00
Alex Gleason
2a245d076a
Support GET /patron/v1/funding 2020-03-31 17:45:12 -05:00
Alex Gleason
1107aa027d
Fix max_toot_chars 2020-03-30 16:47:22 -05:00
Alex Gleason
d5ca8444bb
Temporarily route to /web subdirectory for Pleroma 2020-03-30 14:08:10 -05:00
Alex Gleason
dc26e91f08
Hide funding panel if no funding is provided 2020-03-30 14:07:13 -05:00
Alex Gleason
3e2a9d8c81
acctFull tweaks 2020-03-28 15:10:35 -05:00
Alex Gleason
57d44889f2
Handle acct_full on the frontend 2020-03-28 13:07:36 -05:00
Alex Gleason
8458ce726c
/api/v1/account_by_username -> /api/v1/accounts 2020-03-28 00:57:26 -05:00
Alex Gleason
346bfd5d8d
Remove hashes from filenames for now 2020-03-27 22:13:36 -05:00
Alex Gleason
882b302408
Add index.html 2020-03-27 21:20:56 -05:00
Alex Gleason
d890f9a399
Building succeeds 2020-03-27 19:35:00 -05:00
Alex Gleason
b1b5dc62db
Initial commit 2020-03-27 15:59:38 -05:00