Commit Graph

92 Commits

Author SHA1 Message Date
2de1b5466e Refactor isStaff, fixing profile page issues 2020-04-20 16:08:31 -05:00
e761942ced Let default post privacy be configurable 2020-04-20 15:18:35 -05:00
16d65f88f1 Fix eslint error 2020-04-18 17:13:43 -05:00
7712eb6621 Use dynamic isStaff function 2020-04-18 15:22:40 -05:00
c6b9968855 Add isStaff utility 2020-04-18 15:09:54 -05:00
d3bef7038d Use default title for Helmet 2020-04-18 15:09:25 -05:00
9a327139fe Add tests for account utils 2020-04-18 14:18:04 -05:00
ce19fc3cde Enforce no mixed tabs and spaces 2020-04-18 14:04:18 -05:00
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
fc04e6a718 Fix overriding chat token 2020-04-17 20:21:30 -05:00
bdf648f506 Save and fetch preferences from Pleroma 2020-04-17 19:22:40 -05:00
3812674a88 Remove uneeded fields from meta reducer 2020-04-17 18:29:45 -05:00
10b6a19e0a Obliterate initial-state nonsense 2020-04-17 18:25:36 -05:00
ddfd7ccf98 Clean up initial_state.js 2020-04-17 17:41:43 -05:00
725a9b3403 Pull meUsername from Redux 2020-04-17 17:14:04 -05:00
08d95c83a7 Pull autoPlayGif from Redux 2020-04-17 17:00:25 -05:00
f20e5f7899 Pull expandSpoilers from Redux store 2020-04-17 16:24:36 -05:00
5fdcd80ceb Pull Pleroma meta from verify_credentials into Redux store 2020-04-17 16:13:08 -05:00
24810f83c0 fetchMastoPreferences() action for pulling /api/v1/preferences 2020-04-17 16:12:33 -05:00
c40fb925e9 Refactor 'me' reducer 2020-04-17 16:10:55 -05:00
5781d0de07 Add preferences reducer 2020-04-17 16:10:07 -05:00
95d3b72f9b Refactor fetchMe() function 2020-04-17 16:08:07 -05:00
14cdd31388 Basic theme switcher (no persistence) 2020-04-16 16:13:22 -05:00
d4f41df8c1 Nest auth_login fieldset, fixes #17 2020-04-15 18:32:12 -05:00
1ac1de1d02 Add empty preferences page, /settings/preferences 2020-04-15 16:58:06 -05:00
e47c6396f2 Fix compose box closing when removing poll options 2020-04-15 15:32:05 -05:00
21789858c0 Expand compose form clickable area 2020-04-15 15:24:47 -05:00
a82212cdca Use poll limits from /api/v1/instance 2020-04-15 13:20:25 -05:00
cf1d76a3eb Set tab title with Helmet 2020-04-14 23:21:36 -05:00
3088ffff6a Allow switching theme, fixes #5 2020-04-14 22:09:59 -05:00
d4b63072bf Copy Jest config from Mastodon and fix tests 2020-04-14 17:45:07 -05:00
f99f026474 Fix i18n test failures 2020-04-14 17:11:46 -05:00
4cd2748300 Run yarn manage:translations 2020-04-14 16:59:54 -05:00
8a19b89c16 Enforce spacing of function parameters in eslint 2020-04-14 16:47:35 -05:00
2beb4d725f Add missing propTypes for eslint 2020-04-14 16:37:36 -05:00
141b0e6bfa Fix most linter errors 2020-04-14 15:45:38 -05:00
fc72e39ff4 eslint --fix 2020-04-14 13:44:40 -05:00
ab02089433 Redirect LoginPage after logging in 2020-04-11 21:05:04 -05:00
d7ca4d3be1 Break out LoginForm and LoginPage into separate components 2020-04-11 21:00:08 -05:00
d4c84e2b4e Skip auth app creation if there's one in localStorage 2020-04-11 19:03:36 -05:00
34bae6a5df Skip verify_credentials if there are no credentials 2020-04-11 18:55:07 -05:00
f24bd74a38 Pull promoPanel items dynamically 2020-04-11 17:50:42 -05:00
d2c5b8cd3a soapbox.features --> soapbox.extensions 2020-04-11 16:31:58 -05:00
02cd99632a Update source code link in footer 2020-04-11 15:49:55 -05:00
8efc9c700e Fix styling of hotkeys modal 2020-04-11 15:20:47 -05:00
2ee2d79156 Temporary icon for local timeline 2020-04-11 14:52:41 -05:00
6c6d6297f9 LogOut working 2020-04-11 14:41:13 -05:00
1b8544b758 Show "login failed" message 2020-04-11 13:00:36 -05:00
092fb5828b Fix topnav active link discrepancy 2020-04-10 20:16:34 -05:00
33cbbaf953 '/home' -> '/' 2020-04-10 20:10:39 -05:00