Commit Graph

112 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
1534842da9 Add docs 2020-04-18 17:06:51 -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
59096462ca Ignore avatar tests for now due to #34 2020-04-18 14:02:13 -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
bf2f1e0cdf Invalidate CI cache based on yarn.lock instead of package.json 2020-04-17 13:18:33 -05:00
0643abe116 Cache .gitlab-ci node_modules based on package.json hash 2020-04-17 13:16:46 -05:00
70b04a72cc Fix NODE_ENV issue on yarn start 2020-04-16 18:50:41 -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
44589668ae Preload lime theme 2020-04-14 22:33:47 -05:00
3088ffff6a Allow switching theme, fixes #5 2020-04-14 22:09:59 -05:00
5d0d47eeba Reorganize gitlab-ci 2020-04-14 18:18:12 -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
4cb1392bd5 Add back yarn dev for convenience 2020-04-14 16:50:42 -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
5cf3affcd8 Add build:production to gitlab-ci 2020-04-14 13:20:07 -05:00
5907b60117 Fix translationRunner and add it to CI 2020-04-14 13:16:08 -05:00
b34946fc30 Add .gitlab-ci.yml 2020-04-14 13:10:23 -05:00
3a6f825a81 Copy in Mastodon's Yarn scripts and linter configs 2020-04-14 12:30:26 -05:00
ab02089433 Redirect LoginPage after logging in 2020-04-11 21:05:04 -05:00