Commit Graph

5999 Commits (f222491b3e79a2d1038f65483bc36eeeb6780a28)

Author SHA1 Message Date
Alex Gleason 29bcc4a0d1
Rearrange Like button events to prevent clashing
4 years ago
Alex Gleason e9596fc191
Handle mobile emoji clicks (regular Status), use setRef
4 years ago
Alex Gleason 4af3c453e6
Click to open EmojiSelector on mobile (DetailedStatus)
4 years ago
Alex Gleason 8b505c0488
Set EmojiSelector visibility from props
4 years ago
Alex Gleason c29d779bf5
Fix EmojiSelector position on mobile
4 years ago
Alex Gleason 02228d41e5
Make ALLOWED_EMOJI slightly configurable to let tests pass
4 years ago
Alex Gleason 7db74c7080
😂 --> 😆
4 years ago
Alex Gleason 4c9326b673
Try customizing the emoji list
4 years ago
Alex Gleason 68d40dc8ad
Improve position of inline status emoji picker
4 years ago
Alex Gleason b13e8bdd96
Refactor simpleEmojiReact, allow inline reactions
4 years ago
Alex Gleason 850d9a1007
Refactor handleEmojiReactClick()
4 years ago
Alex Gleason 2060f15ebb
Set Like button icon to chosen emoji
4 years ago
Alex Gleason c0fe85ca29
Fix getReactForStatus(), upgrade immutable.js
4 years ago
Alex Gleason bf1f744b99
Actually, pleroma.emoji_reactions doesn't return accounts so I can't reduce them to one per account 😩
4 years ago
Alex Gleason 571990b78b
Fix reduceEmoji() test
4 years ago
Alex Gleason b4f5321c0f
Make oneEmojiPerAccount() work
4 years ago
Alex Gleason 0ed867f7bd
Fix emoji component errors
4 years ago
Alex Gleason 792ca08d03
Implement getReactForStatus(), start oneEmojiPerAccount()
4 years ago
Alex Gleason 0e5971545f
Add EmojiSelector popup to inline statuses (not working yet)
4 years ago
Alex Gleason 21b250c6ea
Add tests for emoji utils
4 years ago
Alex Gleason 3ce90dcf66
Refactor EmojiSelector into its own component
4 years ago
Alex Gleason aec10e18a1
Fix linter errors
4 years ago
Alex Gleason 13defcda1a
Merge remote-tracking branch 'origin/master' into emojireacts
4 years ago
Alex Gleason 6e13cb8c9b
Improve detailed status action buttons
4 years ago
Alex Gleason 1c711ed123
"reacted to" --> "liked" for favourite notifications
4 years ago
Alex Gleason 49cb776e47
Gab --> Post on compose button
4 years ago
Alex Gleason 9ea36ab913
Merge remote-tracking branch 'origin/master' into emojireacts
4 years ago
Alex Gleason 62b04be83b
Refactor video preload, disable for now
4 years ago
Alex Gleason fcd76431cb
Support `pleroma:emoji_reaction` notification type
4 years ago
Alex Gleason cc4b9d6ba7 Merge branch 'mobile_menu_scss' into 'master'
4 years ago
Alex Gleason f402ac67b3
Emoji chooser hover state
4 years ago
Alex Gleason cf772753ae
Replace red heart with unicode heart in tests
4 years ago
Alex Gleason 1901d39871
Add emojiReact popup and call action code
4 years ago
Alex Gleason 6d48537d54
Use unicode heart instead of red heart
4 years ago
Alex Gleason 92917ac3e5
Style improvements, star icon -> thumbs up
4 years ago
Alex Gleason c8f89ce8c1
Style the StatusInteractionBar
4 years ago
Alex Gleason 3547fd093a
Don't add like reacts when there are no favourites
4 years ago
Alex Gleason d562a25c78
Add emojiReact utils with tests
4 years ago
Alex Gleason 11c9f153e1
Display favourite count as likes
4 years ago
Alex Gleason 79dc56372f
Add count to emoji reacts
4 years ago
Alex Gleason 1b85b8e3f1
Add StatusInteractionBar
4 years ago
Alex Gleason 6769b2d68c
Implement emojireact actions
4 years ago
Alex Gleason 84998901e5
Delete unused empty file theme.js
4 years ago
crockwave e9d8651208 Adjusted scss for sidebar mobile menu to prevent rendering problems
4 years ago
Alex Gleason 2fabef83be
Disable notification sounds by default
4 years ago
crockwave e082029efa Redirect default Pleroma URLs
4 years ago
Bárbara de Castro Fernandes 2e7a2e0e42 Add link to AdminFE for staff members
4 years ago
Sean King c415a2fab3 Fix typo in SourceCode
4 years ago
Alex Gleason f3f0470db5
Allow editing profile fields, fixes #88
4 years ago
Alex Gleason a2aac69838
Actually fix post reply issue, #80
4 years ago
Alex Gleason afc7e33478
Use HtmlWebpackPlugin to inject chunks with hashes
4 years ago
Alex Gleason ed61603b10
Refactor statusToTextMentions, fixes #80
4 years ago
Alex Gleason b78e923f83
Refreshing the user token: just... don't even. Fixes #56, #73
4 years ago
Alex Gleason 8eba7af308
Conditionally render Trends and WhoToFollow panels, fixes #87
4 years ago
Alex Gleason 269d48c900
Add backend feature checks, fixes #8
4 years ago
Alex Gleason ac6d25f5c7
Preload profile editor form with source data fields, fixes #60
4 years ago
Alex Gleason b800e8823a Merge branch 'domain_warning' into 'master'
4 years ago
crockwave e772abc402 Fixed JS warnings when clicking on status to get detailed status
4 years ago
crockwave faa38c6a6d Hide Donate button in mobile sidebar when Patron disabled
4 years ago
Alex Gleason 93e326a6f9
Tabs to spaces
4 years ago
Alex Gleason 2fa0c44b52
Fix video rendering, at least for one case
4 years ago
crockwave d474c18889 Corrects issue 79 by allowing site_icon auto rendering with theme selection
4 years ago
crockwave b35122e75c Cleaned up unrequired code changes
4 years ago
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
4 years ago
crockwave a9af3a8928 Allow cursor to be rendered at end of textbox by commenting out date comparison conditional
4 years ago
Alex Gleason 2cd66dc1a5
Add metadata to package.json and bump version to 0.9-beta
4 years ago
Alex Gleason 7b0f6d1940
Azure theme tweaks
4 years ago
Alex Gleason b651a31847
Make site banner a separate field from logo
4 years ago
Alex Gleason db7cfacff1
Make app repair itself if broken
4 years ago
Alex Gleason 44f196fa99
Unfreeze registration form after error
4 years ago
Alex Gleason f6212cf81b
Refresh user token on pageload
4 years ago
Alex Gleason bc3bb47829
Refactor hasToken()
4 years ago
Alex Gleason 5c0c1932e0
Delay creating auth app until trying to login or register
4 years ago
Alex Gleason 3c159460eb
Cleanup unused refresh stuff in auth
4 years ago
Alex Gleason ac660c2485
Refactor auth, get new app token instead of refreshing
4 years ago
Alex Gleason 652c79b6ac
Refactor auth app creation
4 years ago
Alex Gleason 238eed4c1a
Allow API auth with app or user token
4 years ago
Alex Gleason eef41485c1
Improve topnav logo code
4 years ago
Alex Gleason be13bc040c
Fix the expected notifications badge issue
4 years ago
Alex Gleason 717ef98640
cobalt --> azure
4 years ago
Alex Gleason 31a965b4c4
Start improving cobalt theme, refactor css
4 years ago
Alex Gleason c0f17cfc21
Pull locale from state, almost get dynamic locales working #7
4 years ago
Alex Gleason ea5643f138
Refactor theme slugs, fixes #40
4 years ago
Alex Gleason a60c47bb19
Don't persist default settings
4 years ago
Alex Gleason 178fdf8818
Add getSettings() function
4 years ago
Alex Gleason ffb1804c59
Use setInterval instead of setTimeout in CaptchaField
4 years ago
Alex Gleason 642282f049
Refactor CaptchaField
4 years ago
Alex Gleason 90b6244b2f
Refresh captcha every 5 minutes
4 years ago
Alex Gleason 08e6543dc3
Pass captcha_answer_data in registration form
4 years ago
Alex Gleason 082b429fee
Add notifications counter to tab title, fixes #21
4 years ago
Alex Gleason 05db2fc35f
Fix eslint unused variable
4 years ago
Alex Gleason 2ab7125441
Implement Pleroma notifications, fixes #1
4 years ago
Alex Gleason c2a3bc20f8
Fix About HTML path
4 years ago
Alex Gleason fd2d36e3c3
Don't pass props.dispatch to <input>
4 years ago
Alex Gleason 0529817a6d
Remove uneeded field, `domain`
4 years ago
Alex Gleason 090b9fa426
Fix staff profile badges
4 years ago
Alex Gleason 9f4891fef0
isAdmin and isModerator utils
4 years ago
Alex Gleason edf22b921c
Fix form label proptype checks
4 years ago
Alex Gleason 03251de773
Fix `me` PropType checks
4 years ago
Alex Gleason 099ff10987
Output error if vapid key can't be reached
4 years ago
Alex Gleason e3a750df28
Pull vapid_key from state
4 years ago
Alex Gleason 741b065d82
Disable Filters navlinks
4 years ago
Alex Gleason 24f448e679
/soapbox --> /instance
4 years ago
Alex Gleason 6477bd3533
Fix eslint error
4 years ago
Alex Gleason 32a5a31591
Add createFilter function
4 years ago
Alex Gleason 7b02e1a823
Scaffold filters section
4 years ago
Alex Gleason baec6d3fd8
Add Lists to desktop profile dropdown
4 years ago
Alex Gleason 343d3348df
Just disable the "trouble logging in" button for now
4 years ago
Alex Gleason ba930c505c
Refactor PublicLayout
4 years ago
Alex Gleason 6813f512e6
About Page support
4 years ago
Alex Gleason b4e3aa8a8c
Obliterate /web once and for all
4 years ago
Alex Gleason 6bcae0dd13
Get captcha working
4 years ago
Alex Gleason da0de40256
Redirect home after registering
4 years ago
Alex Gleason af2cbc3455
Basic registration form functionality
4 years ago
Alex Gleason 7d3089270a
SimpleForm e.preventDefault() always
4 years ago
Alex Gleason 606356246a
Fix NaN media height error
4 years ago
Alex Gleason 42f39d6aae
Start refactoring media aspect ratio code
4 years ago
Alex Gleason 85a68e0715
Fix Mastodon startup issues
4 years ago
Alex Gleason d151ac9b35
Break media_gallery calculations into its own function
4 years ago
Alex Gleason 71b4bb4d06
Fix button error
4 years ago
Alex Gleason f1c9453620
Use React components in registration form
4 years ago
Alex Gleason 252b3fbf51
Refactor LabelInputContainer
4 years ago
Alex Gleason 924486984e
Refactor SettingsCheckbox
4 years ago
Alex Gleason a6de9d5e00
Refactor SimpleInput
4 years ago
Alex Gleason 84ee8880e1
Break out registration form
4 years ago
Alex Gleason 4801962988
Refactor InputContainer
4 years ago
Alex Gleason c367aef6b4
Refactor LabelInput
4 years ago
Alex Gleason 4a675be598
Use native accept='' for FileChooser
4 years ago
Alex Gleason 655fde81e9
Refactor TextInput component
4 years ago
Alex Gleason 104270e5c9
Handle file uploads to profile editor
4 years ago
Alex Gleason 1b1bf4cdbe
Pass maxLength directly to TextInput component
4 years ago
Alex Gleason 6fe57ca055
Boilerplate avatar/header selector
4 years ago
Alex Gleason 4910b99a53
Link to Pleroma admin-fe views
4 years ago
Alex Gleason 36c3529006
Fix eslint error
4 years ago
Alex Gleason d4d56e5dc8
Add "Edit profile" button
4 years ago
Alex Gleason e338760fd3
Fix settings/preferences icons
4 years ago
Alex Gleason f16779219a
Improve profile editor
4 years ago
Alex Gleason f2b1305ce9
Add basic profile editor
4 years ago
Alex Gleason 6db6793b8b
Clean up preferences
4 years ago
Alex Gleason aa47b35503
Use to="" links for settings pages
4 years ago
Alex Gleason 68f36685b7
Add patchMe action
4 years ago
Alex Gleason 8a5807f5df
Set reduceMotion body class
4 years ago
Alex Gleason 7e0b4f5f47
Add demetricator preference
4 years ago
Alex Gleason c90f087d2a
Add dyslexicFont preference
4 years ago
Alex Gleason 394aaaf23f
Add systemFont preference
4 years ago
Alex Gleason 500165c478
Refactor modal settings
4 years ago
Alex Gleason cafa014018
Let isStaff accept an undefined value
4 years ago
Alex Gleason 2e084e9d77
Fetch account data from profile_page
4 years ago
Alex Gleason 1963f46392
Fall back to page title
4 years ago
Alex Gleason 2afe0e0b56
Add more boolean settings
4 years ago
Alex Gleason ad60980acf
Refactor theme selector dropdown
4 years ago
Alex Gleason 91b20dc86b
Refactor RadioGroup
4 years ago
Alex Gleason 8b7ee7133b
Start refactoring forms
4 years ago
Alex Gleason 8035048ca4
Add modal confirmation settings
4 years ago
Alex Gleason 84c769c5f6
Add modal root to compose form clickable area
4 years ago
Alex Gleason 0ec8e39051
Fix inline compose form clickable area, fixes #30
4 years ago
Alex Gleason de703ab748
Add padding to Preferences panel
4 years ago
Alex Gleason 2de1b5466e
Refactor isStaff, fixing profile page issues
4 years ago
Alex Gleason e761942ced
Let default post privacy be configurable
4 years ago
Alex Gleason 16d65f88f1
Fix eslint error
4 years ago
Alex Gleason 7712eb6621
Use dynamic isStaff function
4 years ago
Alex Gleason c6b9968855
Add isStaff utility
4 years ago
Alex Gleason d3bef7038d
Use default title for Helmet
4 years ago
Alex Gleason 9a327139fe
Add tests for account utils
4 years ago
Alex Gleason ce19fc3cde
Enforce no mixed tabs and spaces
4 years ago
Alex Gleason bc5b286737
preferences --> settings
4 years ago
Alex Gleason fc04e6a718
Fix overriding chat token
4 years ago
Alex Gleason bdf648f506
Save and fetch preferences from Pleroma
4 years ago
Alex Gleason 3812674a88
Remove uneeded fields from meta reducer
4 years ago
Alex Gleason 10b6a19e0a
Obliterate initial-state nonsense
4 years ago
Alex Gleason ddfd7ccf98
Clean up initial_state.js
4 years ago
Alex Gleason 725a9b3403
Pull meUsername from Redux
4 years ago
Alex Gleason 08d95c83a7
Pull autoPlayGif from Redux
4 years ago
Alex Gleason f20e5f7899
Pull expandSpoilers from Redux store
4 years ago
Alex Gleason 5fdcd80ceb
Pull Pleroma meta from verify_credentials into Redux store
4 years ago
Alex Gleason 24810f83c0
fetchMastoPreferences() action for pulling /api/v1/preferences
4 years ago
Alex Gleason c40fb925e9
Refactor 'me' reducer
4 years ago
Alex Gleason 5781d0de07
Add preferences reducer
4 years ago
Alex Gleason 95d3b72f9b
Refactor fetchMe() function
4 years ago
Alex Gleason 14cdd31388
Basic theme switcher (no persistence)
4 years ago
Alex Gleason d4f41df8c1
Nest auth_login fieldset, fixes #17
4 years ago
Alex Gleason 1ac1de1d02
Add empty preferences page, /settings/preferences
4 years ago
Alex Gleason e47c6396f2
Fix compose box closing when removing poll options
4 years ago
Alex Gleason 21789858c0
Expand compose form clickable area
4 years ago
Alex Gleason a82212cdca
Use poll limits from /api/v1/instance
4 years ago
Alex Gleason cf1d76a3eb
Set tab title with Helmet
4 years ago
Alex Gleason 3088ffff6a
Allow switching theme, fixes #5
4 years ago
Alex Gleason d4b63072bf
Copy Jest config from Mastodon and fix tests
4 years ago
Alex Gleason f99f026474
Fix i18n test failures
4 years ago
Alex Gleason 4cd2748300
Run yarn manage:translations
4 years ago
Alex Gleason 8a19b89c16
Enforce spacing of function parameters in eslint
4 years ago
Alex Gleason 2beb4d725f
Add missing propTypes for eslint
4 years ago
Alex Gleason 141b0e6bfa
Fix most linter errors
4 years ago
Alex Gleason fc72e39ff4
eslint --fix
4 years ago
Alex Gleason ab02089433
Redirect LoginPage after logging in
5 years ago
Alex Gleason d7ca4d3be1
Break out LoginForm and LoginPage into separate components
5 years ago
Alex Gleason d4c84e2b4e
Skip auth app creation if there's one in localStorage
5 years ago
Alex Gleason 34bae6a5df
Skip verify_credentials if there are no credentials
5 years ago
Alex Gleason f24bd74a38
Pull promoPanel items dynamically
5 years ago
Alex Gleason d2c5b8cd3a
soapbox.features --> soapbox.extensions
5 years ago
Alex Gleason 02cd99632a
Update source code link in footer
5 years ago
Alex Gleason 8efc9c700e
Fix styling of hotkeys modal
5 years ago
Alex Gleason 2ee2d79156
Temporary icon for local timeline
5 years ago
Alex Gleason 6c6d6297f9
LogOut working
5 years ago
Alex Gleason 1b8544b758
Show "login failed" message
5 years ago
Alex Gleason 092fb5828b
Fix topnav active link discrepancy
5 years ago
Alex Gleason 33cbbaf953
'/home' -> '/'
5 years ago
Alex Gleason 9769e0fb77
Discard streaming events with empty data
5 years ago
Alex Gleason af717ce3b8
Restore audio functionality. Begone, ribbit!
5 years ago
Alex Gleason a47781fb95
Don't fetch identity proofs unless logged in
5 years ago
Alex Gleason 0a667052b9
Refactor links in tabs bar
5 years ago
Alex Gleason 82a4328700
Login through homepage working
5 years ago
Alex Gleason 7bbe293537
Clean up logo code
5 years ago
Alex Gleason f351823129
Fall back to text logo on homepage
5 years ago
Alex Gleason 84f6b91ce5
Homepage pull dynamic content
5 years ago
Alex Gleason 9a3d045a23
Placeholder homepage
5 years ago
Alex Gleason a1a427e4e0
Display homepage when user is logged out
5 years ago
Alex Gleason e003e084e5
Move connectUserStream to UI component
5 years ago
Alex Gleason a7975f10fa
Remove accidental LoadingBar code
5 years ago
Alex Gleason 42e584ca72
Disable auth form during requests
5 years ago
Alex Gleason 1d213b5d0b
Disable part of initial-state
5 years ago
Alex Gleason 9e50293e67
Get login form working!
5 years ago
Alex Gleason 83a711cd3e
Authorize app with token
5 years ago
Alex Gleason 3924a47ff7
Set/get auth from Redux
5 years ago
Alex Gleason 64cef8a56e
Pull streaming URL from /api/v1/instance
5 years ago
Alex Gleason da4f5b200c
Redirect login form if user is already logged in
5 years ago
Alex Gleason 8f07c6ea2a
Get basic login working
5 years ago
Alex Gleason 86e9c711a7
Render login form
5 years ago
Alex Gleason cbf799d53f
Fix (!me) logic
5 years ago
Alex Gleason d3952925d7
Pull in current user with verify_credentials, refactor "me"
5 years ago
Alex Gleason f8a1c22adc
Refactor tabs_bar.js
5 years ago
Alex Gleason 88b807e9d2
Default 500 max_toot_chars
5 years ago
Alex Gleason 25c028e541
Pull in logo dynamically
5 years ago
Alex Gleason 16a51fb56c
Pull site_title from Instance
5 years ago
Alex Gleason 606d240703
Load max_toot_chars from Instance
5 years ago
Alex Gleason 8ec0e6e82a
Import Instance into store
5 years ago
Alex Gleason e33b621fb9
Clean up Patron code
5 years ago
Alex Gleason c9c08dff5c
Move Soapbox config to fetchable endpoint
5 years ago
Alex Gleason 2a245d076a
Support GET /patron/v1/funding
5 years ago
Alex Gleason 1107aa027d
Fix max_toot_chars
5 years ago
Alex Gleason d5ca8444bb
Temporarily route to /web subdirectory for Pleroma
5 years ago
Alex Gleason dc26e91f08
Hide funding panel if no funding is provided
5 years ago
Alex Gleason 3e2a9d8c81
acctFull tweaks
5 years ago
Alex Gleason 57d44889f2
Handle acct_full on the frontend
5 years ago
Alex Gleason 8458ce726c
/api/v1/account_by_username -> /api/v1/accounts
5 years ago
Alex Gleason 346bfd5d8d
Remove hashes from filenames for now
5 years ago
Alex Gleason 882b302408
Add index.html
5 years ago
Alex Gleason d890f9a399
Building succeeds
5 years ago
Alex Gleason b1b5dc62db
Initial commit
5 years ago