Alex Gleason
c4c99a1c1b
EditProfile: refactor initialState
2020-05-28 15:29:24 -05:00
Alex Gleason
1d44de0873
EditProfile: Unescape account params in componentWillMount()
2020-05-28 15:07:25 -05:00
crockwave
76b3849c93
Convert HTML to text value in Profile Page for Display name and Bio fields
...
Fixed linter errors
* used unescape method from lodash to translate HTML to plain text
* Moved translation to the componentDidMount event
* Removed decodeHtml method from utils/html
2020-05-28 14:52:09 -05:00
Alex Gleason
503072f715
Merge branch 'handle_keydown_issues' into 'master'
...
Handle Esc/click outside the "Are you sure you want to delete this post?" modal events. Fixes #118 and #127
Closes #127 and #118
See merge request soapbox-pub/soapbox-fe!27
2020-05-28 19:50:53 +00:00
Alex Gleason
fc95a374b3
Merge branch 'cw_input_focus'
2020-05-28 14:45:04 -05:00
Alex Gleason
9e64cd82b9
Focus spoiler input from ComposeForm, refocus textarea on close
2020-05-28 14:44:36 -05:00
crockwave
84ba6a0cc3
Added auto-focus of content warning input box when CW button clicked
...
Removed spoilerActive prop and used existing spoiler prop
Fixed linter issue and removed commented code
2020-05-28 14:11:42 -05:00
Alex Gleason
01d437a91e
Disable non-working links in LinkFooter for now #108
2020-05-28 13:56:36 -05:00
Alex Gleason
2e786c2f06
Remove extraneous links from LinkFooter #108
2020-05-28 13:50:49 -05:00
Alex Gleason
575a8889c1
Make home footer navlinks customizable #108
2020-05-28 13:44:44 -05:00
Alex Gleason
a9eb5c1765
Force videos to 300px height on Pleroma, fixes #117
2020-05-28 12:30:54 -05:00
Bárbara de Castro Fernandes
4505e3931a
Fix autoPlayGif
2020-05-28 09:47:20 -03:00
Alex Gleason
2319d9f080
MoreFollows refactor
2020-05-27 20:22:53 -05:00
Alex Gleason
387c26939a
Merge branch 'message_on_followers_diff' into 'master'
...
Display label at end of follows/followers lists when follows/followers count > follows/followers list.size Fixes #2
Closes #2
See merge request soapbox-pub/soapbox-fe!19
2020-05-28 00:16:42 +00:00
Curtis
4a5525adf0
Display label at end of follows/followers list when count > list.size
2020-05-28 00:16:42 +00:00
Sean King
996b61215c
Change box-shadow color to make it look good on both light and dark themes.
2020-05-27 23:56:14 +00:00
crockwave
25d7df6300
- On Esc/click outside the "Are you sure you want to delete this post?" modal, now reverts back to the compose modal and retains any edited text
...
- Ctrl-Enter publishing also works in all of the compose modals
2020-05-27 16:30:42 -05:00
Alex Gleason
a85684835f
Fix ProfilePage issues, fixes #58
2020-05-26 23:56:54 -05:00
Alex Gleason
f04e1fddae
Use Conversation IDs instead of status IDs, fixes #77
2020-05-26 23:22:07 -05:00
Alex Gleason
70a3e53db4
Revert "Height cache stick to reduce jitteryness, fixes #117 "
...
This reverts commit fabb300caf
.
2020-05-26 21:41:35 -05:00
Alex Gleason
f3ca015e17
Open links in a new tab, fixes #98
2020-05-26 20:54:02 -05:00
Alex Gleason
fabb300caf
Height cache stick to reduce jitteryness, fixes #117
2020-05-26 20:39:55 -05:00
Alex Gleason
6f0c9840be
Fall back on auto video height if not given, fixes #91
2020-05-26 20:28:18 -05:00
Alex Gleason
6f76e1796b
Merge branch 'compose-refactor' into 'master'
...
Fix composer issues
Closes #95 , #86 , and #116
See merge request soapbox-pub/soapbox-fe!25
2020-05-26 23:31:08 +00:00
Sean King
da7ed8cf35
Update action_bar.js
2020-05-26 22:57:59 +00:00
Alex Gleason
e06f8ce894
Composer: Remove preselectDate
...
This value is only used to track when a reply happens. On soapbox-fe, a reply causes a new ComposeForm to mount, so we can track it that way instead.
2020-05-26 17:36:56 -05:00
Alex Gleason
188067ac48
Composer: Always place cursor at the end of text
2020-05-26 17:22:32 -05:00
Alex Gleason
5633bf4317
Composer: simplify cursor update code
2020-05-26 17:03:27 -05:00
Alex Gleason
55578a4381
Composer: shouldCollapse --> isClickOutside
2020-05-26 15:26:55 -05:00
Alex Gleason
808e05a03f
Pass maxTootChars from ComposeFormContainer instead of ComposeForm
2020-05-26 15:24:03 -05:00
Alex Gleason
d9e6efbe79
Revert "Merge branch 'compose_caret_to_end' into 'master'"
...
This reverts commit 886e877996
, reversing
changes made to b6a7404031
.
2020-05-26 15:21:40 -05:00
Bárbara de Castro Fernandes
6c07579ab2
Always show 'Add or Remove from lists' menu item for Pleroma users
2020-05-26 09:49:05 -03:00
Alex Gleason
438d8009d4
Add password reset, fixes #13
2020-05-24 19:37:15 -05:00
Alex Gleason
a2e19e3720
Add resetPassword action
2020-05-24 18:22:36 -05:00
Alex Gleason
7e0dec594f
Floating action button CSS fixes
2020-05-24 18:04:27 -05:00
Sean King
1861d3227c
Rework the Post compose button
2020-05-24 22:48:52 +00:00
Alex Gleason
d2d1f744ca
Improve mobile sidebar styling, fixes #94
2020-05-24 14:45:29 -05:00
Alex Gleason
6b97d4d0be
Revert "Adjusted scss for sidebar mobile menu to prevent rendering problems"
...
This reverts commit e9d8651208
.
2020-05-24 14:39:49 -05:00
Alex Gleason
406e8c00b8
Make delete+redraft work, fixes #82
2020-05-24 14:09:16 -05:00
Alex Gleason
e04ab557ac
Make emoji reacts more responsive
2020-05-23 20:29:25 -05:00
Alex Gleason
29bcc4a0d1
Rearrange Like button events to prevent clashing
2020-05-23 20:01:16 -05:00
Alex Gleason
e9596fc191
Handle mobile emoji clicks (regular Status), use setRef
2020-05-23 19:50:03 -05:00
Alex Gleason
4af3c453e6
Click to open EmojiSelector on mobile (DetailedStatus)
2020-05-23 19:35:14 -05:00
Alex Gleason
8b505c0488
Set EmojiSelector visibility from props
2020-05-23 17:02:14 -05:00
Alex Gleason
c29d779bf5
Fix EmojiSelector position on mobile
2020-05-23 12:18:13 -05:00
Alex Gleason
02228d41e5
Make ALLOWED_EMOJI slightly configurable to let tests pass
2020-05-23 11:54:26 -05:00
Alex Gleason
7db74c7080
😂 --> 😆
2020-05-23 00:04:25 -05:00
Alex Gleason
4c9326b673
Try customizing the emoji list
2020-05-22 23:29:30 -05:00
Alex Gleason
68d40dc8ad
Improve position of inline status emoji picker
2020-05-22 21:34:07 -05:00
Alex Gleason
b13e8bdd96
Refactor simpleEmojiReact, allow inline reactions
2020-05-22 21:15:07 -05:00
Alex Gleason
850d9a1007
Refactor handleEmojiReactClick()
2020-05-22 20:16:26 -05:00
Alex Gleason
2060f15ebb
Set Like button icon to chosen emoji
2020-05-22 19:04:45 -05:00
Alex Gleason
c0fe85ca29
Fix getReactForStatus(), upgrade immutable.js
2020-05-22 17:45:45 -05:00
Alex Gleason
bf1f744b99
Actually, pleroma.emoji_reactions doesn't return accounts so I can't reduce them to one per account 😩
2020-05-22 17:02:56 -05:00
Alex Gleason
571990b78b
Fix reduceEmoji() test
2020-05-22 15:42:57 -05:00
Alex Gleason
b4f5321c0f
Make oneEmojiPerAccount() work
2020-05-22 14:17:05 -05:00
Alex Gleason
0ed867f7bd
Fix emoji component errors
2020-05-22 00:08:55 -05:00
Alex Gleason
792ca08d03
Implement getReactForStatus(), start oneEmojiPerAccount()
2020-05-21 23:52:10 -05:00
Alex Gleason
0e5971545f
Add EmojiSelector popup to inline statuses (not working yet)
2020-05-21 23:19:39 -05:00
Alex Gleason
21b250c6ea
Add tests for emoji utils
2020-05-21 23:17:11 -05:00
Alex Gleason
3ce90dcf66
Refactor EmojiSelector into its own component
2020-05-21 21:14:15 -05:00
Alex Gleason
aec10e18a1
Fix linter errors
2020-05-21 20:40:06 -05:00
Alex Gleason
13defcda1a
Merge remote-tracking branch 'origin/master' into emojireacts
2020-05-21 20:34:21 -05:00
Alex Gleason
6e13cb8c9b
Improve detailed status action buttons
2020-05-21 20:33:55 -05:00
Alex Gleason
1c711ed123
"reacted to" --> "liked" for favourite notifications
2020-05-21 19:01:41 -05:00
Alex Gleason
49cb776e47
Gab --> Post on compose button
2020-05-21 17:49:00 -05:00
Alex Gleason
9ea36ab913
Merge remote-tracking branch 'origin/master' into emojireacts
2020-05-20 19:20:47 -05:00
Alex Gleason
62b04be83b
Refactor video preload, disable for now
2020-05-20 19:20:31 -05:00
Alex Gleason
fcd76431cb
Support pleroma:emoji_reaction
notification type
2020-05-20 18:01:37 -05:00
Alex Gleason
cc4b9d6ba7
Merge branch 'mobile_menu_scss' into 'master'
...
Adjusted scss for sidebar mobile menu to prevent rendering problems Fixes #72
Closes #72
See merge request soapbox-pub/soapbox-fe!17
2020-05-20 22:39:05 +00:00
Alex Gleason
f402ac67b3
Emoji chooser hover state
2020-05-20 16:52:32 -05:00
Alex Gleason
cf772753ae
Replace red heart with unicode heart in tests
2020-05-20 16:08:29 -05:00
Alex Gleason
1901d39871
Add emojiReact popup and call action code
2020-05-20 15:52:46 -05:00
Alex Gleason
6d48537d54
Use unicode heart instead of red heart
2020-05-20 15:52:28 -05:00
Alex Gleason
92917ac3e5
Style improvements, star icon -> thumbs up
2020-05-20 14:44:23 -05:00
Alex Gleason
c8f89ce8c1
Style the StatusInteractionBar
2020-05-20 13:11:44 -05:00
Alex Gleason
3547fd093a
Don't add like reacts when there are no favourites
2020-05-20 11:55:30 -05:00
Alex Gleason
d562a25c78
Add emojiReact utils with tests
2020-05-20 11:52:02 -05:00
Alex Gleason
11c9f153e1
Display favourite count as likes
2020-05-19 23:25:49 -05:00
Alex Gleason
79dc56372f
Add count to emoji reacts
2020-05-19 23:08:19 -05:00
Alex Gleason
1b85b8e3f1
Add StatusInteractionBar
2020-05-19 22:54:05 -05:00
Alex Gleason
6769b2d68c
Implement emojireact actions
2020-05-19 21:42:23 -05:00
Alex Gleason
84998901e5
Delete unused empty file theme.js
2020-05-19 20:16:38 -05:00
crockwave
e9d8651208
Adjusted scss for sidebar mobile menu to prevent rendering problems
2020-05-19 16:37:25 -05:00
Alex Gleason
2fabef83be
Disable notification sounds by default
2020-05-19 11:27:46 -05:00
crockwave
e082029efa
Redirect default Pleroma URLs
2020-05-19 09:53:31 -05:00
Bárbara de Castro Fernandes
2e7a2e0e42
Add link to AdminFE for staff members
2020-05-18 20:48:33 -03:00
Sean King
c415a2fab3
Fix typo in SourceCode
2020-05-18 20:38:53 +00:00
Alex Gleason
f3f0470db5
Allow editing profile fields, fixes #88
2020-05-18 12:25:46 -05:00
Alex Gleason
a2aac69838
Actually fix post reply issue, #80
2020-05-17 22:22:13 -05:00
Alex Gleason
afc7e33478
Use HtmlWebpackPlugin to inject chunks with hashes
...
Probably the worst code I've ever written in my life, I'm sorry
2020-05-17 21:02:57 -05:00
Alex Gleason
ed61603b10
Refactor statusToTextMentions, fixes #80
2020-05-17 17:22:32 -05:00
Alex Gleason
b78e923f83
Refreshing the user token: just... don't even. Fixes #56 , #73
2020-05-17 16:31:54 -05:00
Alex Gleason
8eba7af308
Conditionally render Trends and WhoToFollow panels, fixes #87
2020-05-17 16:24:52 -05:00
Alex Gleason
269d48c900
Add backend feature checks, fixes #8
2020-05-17 15:57:24 -05:00
Alex Gleason
ac6d25f5c7
Preload profile editor form with source data fields, fixes #60
2020-05-17 12:12:56 -05:00
Alex Gleason
b800e8823a
Merge branch 'domain_warning' into 'master'
...
Fixed JS warnings when clicking on status to get detailed status. Fixed #59
Closes #59
See merge request soapbox-pub/soapbox-fe!9
2020-05-17 01:50:29 +00:00
crockwave
e772abc402
Fixed JS warnings when clicking on status to get detailed status
2020-05-16 13:57:22 -05:00
crockwave
faa38c6a6d
Hide Donate button in mobile sidebar when Patron disabled
2020-05-16 10:49:34 -05:00
Alex Gleason
93e326a6f9
Tabs to spaces
2020-05-15 22:48:08 -05:00
Alex Gleason
2fa0c44b52
Fix video rendering, at least for one case
2020-05-15 22:43:24 -05:00
crockwave
d474c18889
Corrects issue 79 by allowing site_icon auto rendering with theme selection
...
https://gitlab.com/soapbox-pub/soapbox-fe/-/issues/79
2020-05-15 10:55:46 -05:00
crockwave
b35122e75c
Cleaned up unrequired code changes
2020-05-08 17:40:54 -05:00
crockwave
f1747f4425
Allow cursor to render at end of textbox to only place at end on new load, and bug fixes of cursor placement problems when selecting text and or moving cursor to left and typing
2020-05-08 17:14:07 -05:00
crockwave
a9af3a8928
Allow cursor to be rendered at end of textbox by commenting out date comparison conditional
2020-05-06 18:58:21 -05:00
Alex Gleason
2cd66dc1a5
Add metadata to package.json and bump version to 0.9-beta
2020-04-30 12:41:06 -05:00
Alex Gleason
7b0f6d1940
Azure theme tweaks
2020-04-30 11:16:32 -05:00
Alex Gleason
b651a31847
Make site banner a separate field from logo
2020-04-29 21:06:28 -05:00
Alex Gleason
db7cfacff1
Make app repair itself if broken
2020-04-29 20:45:04 -05:00
Alex Gleason
44f196fa99
Unfreeze registration form after error
2020-04-29 20:00:01 -05:00
Alex Gleason
f6212cf81b
Refresh user token on pageload
2020-04-29 19:38:24 -05:00
Alex Gleason
bc3bb47829
Refactor hasToken()
2020-04-29 19:13:05 -05:00
Alex Gleason
5c0c1932e0
Delay creating auth app until trying to login or register
2020-04-29 19:10:53 -05:00
Alex Gleason
3c159460eb
Cleanup unused refresh stuff in auth
2020-04-29 18:39:01 -05:00
Alex Gleason
ac660c2485
Refactor auth, get new app token instead of refreshing
2020-04-29 16:58:54 -05:00
Alex Gleason
652c79b6ac
Refactor auth app creation
2020-04-29 14:08:56 -05:00
Alex Gleason
238eed4c1a
Allow API auth with app or user token
2020-04-29 14:06:26 -05:00
Alex Gleason
eef41485c1
Improve topnav logo code
2020-04-29 00:36:25 -05:00
Alex Gleason
be13bc040c
Fix the expected notifications badge issue
2020-04-28 22:50:51 -05:00
Alex Gleason
717ef98640
cobalt --> azure
2020-04-28 22:04:09 -05:00
Alex Gleason
31a965b4c4
Start improving cobalt theme, refactor css
2020-04-28 22:00:50 -05:00
Alex Gleason
c0f17cfc21
Pull locale from state, almost get dynamic locales working #7
2020-04-28 15:25:10 -05:00
Alex Gleason
ea5643f138
Refactor theme slugs, fixes #40
2020-04-28 14:12:25 -05:00
Alex Gleason
a60c47bb19
Don't persist default settings
...
Only persist settings if they've been overridden by the user
2020-04-28 13:49:39 -05:00
Alex Gleason
178fdf8818
Add getSettings() function
2020-04-28 12:59:15 -05:00
Alex Gleason
ffb1804c59
Use setInterval instead of setTimeout in CaptchaField
2020-04-28 12:09:37 -05:00
Alex Gleason
642282f049
Refactor CaptchaField
2020-04-28 11:57:40 -05:00
Alex Gleason
90b6244b2f
Refresh captcha every 5 minutes
2020-04-28 10:26:30 -05:00
Alex Gleason
08e6543dc3
Pass captcha_answer_data in registration form
2020-04-28 10:17:02 -05:00
Alex Gleason
082b429fee
Add notifications counter to tab title, fixes #21
2020-04-27 21:35:18 -05:00
Alex Gleason
05db2fc35f
Fix eslint unused variable
2020-04-27 21:12:59 -05:00
Alex Gleason
2ab7125441
Implement Pleroma notifications, fixes #1
...
Working from: https://git.pleroma.social/pleroma/pleroma/-/merge_requests/2392
2020-04-27 20:51:17 -05:00
Alex Gleason
c2a3bc20f8
Fix About HTML path
2020-04-27 15:48:51 -05:00
Alex Gleason
fd2d36e3c3
Don't pass props.dispatch to <input>
2020-04-27 15:46:11 -05:00
Alex Gleason
0529817a6d
Remove uneeded field, domain
2020-04-27 15:30:17 -05:00
Alex Gleason
090b9fa426
Fix staff profile badges
2020-04-27 15:07:24 -05:00
Alex Gleason
9f4891fef0
isAdmin and isModerator utils
2020-04-27 15:05:07 -05:00
Alex Gleason
edf22b921c
Fix form label proptype checks
2020-04-27 14:37:19 -05:00
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