Commit Graph

947 Commits (d96e031dfc0db84318af9f4371403cdcf5bc2804)

Author SHA1 Message Date
Eugen Rochko 9bde804ba2 Resolve confusion between ColumnBackButton and the slim version that
the public timeline has been using
Billie Thompson b1571b1e1d
Add missing back button to "Follow Requests"
Currently we have the problem where the follow request button is missing
from the Follow request tab. This means that when you visit that tab you
either have to press the back button in the browser or re-enter the home
page, which breaks the app flow.

This will resolve that issue by adding a new back button to that tab,
in the same way that the public timeline, and favourites have.
Misty De Meo a30e669df2 Fix avatar scaling on high-DPI displays ()
Eugen Rochko 83ccdeb87a Fix tests
Eugen Rochko 3f075c7794 API for apps to register for push notifications
Eugen Rochko 9b2c728251 Fix settings design on mobile
Eugen Rochko 23b997ae55 Split 2FA login into two prompts
Eugen Rochko 36c57ef8af Add pixel background to modal images
Eugen Rochko f4bc9620a9 Update settings to re-use admin layout, one big navigation tree, improve settings forms
Eugen Rochko 04bce0cdf2 Clean up
Eugen Rochko ba192f12e3 Added optional two-factor authentication
Zachary Spector 237cb41ab4 Less ambiguous sensitive content toggle label ()
hoodie 6c37285580 fix button outline showing on clicks for prettiness
remove button outlines on-click for retweet, boost, favourite, and reply
buttons
Eugen Rochko 450ad43180 Do not run FetchLinkCardService on local URLs, increase file size limit to 8MB,
fix ProcessFeedService pushing status into distribution if called a second time
while the first is still running (i.e. when a PuSH comes after a Salmon slap),
fix not running escape on spoiler text before emojify
Eugen Rochko f8bd44a747 Fix font weight
Billie Thompson 55fa8e61e2
Move the fonts from Google Fonts to local assets
Currently we have two problems that are resolved by this change.

The first is that we have a dependency on Google Fonts, which means
that should it ever go down, or it have issues we would also have
issues. This will resolve this by moving the dependencies we load from
there to the local server.

The second issue is that Google Fonts is currently returning the
`local()` css font source. This causes a problem where the users browser
fails to fallback to a missing glyph, resulting in many unusual
characters displaying the failure glyph. This will resolve this by
creating a font-family definition that does not use the `local()`
source.

I did not update the error pages with local fonts, they still use the
remote google fonts api, so they're a self contained page that does not
use the asset pipeline.

This resolves  and 
Eugen Rochko 7329fbd8a4 Fix up timeout, improve contrast on "show more", add responsive style
for extremely wide monitors
Eugen Rochko cc5c1e5feb Removed accidental n+1 query from notifications, updated some deps,
improved how "show more" link looks
Anthony Bellew 589837cfc7 Removed line break before spoiler link, changed color of bg for spoiler link
Anthony Bellew ebe5095665 Add Padding to inline styles for spoiler
Anthony Bellew 8f18c8f9ad Added inline spoiler button styles
Anthony Bellew d944946c52 Moved brackets outside of localized strings at Gargron's suggestion
Anthony Bellew baa52984e9 Add brackets to visually distinguish show more / show less text
Eugen Rochko 905c829179 Improve infinite scroll on notifications
Eugen Rochko 57f7cf8349 Follow request authorizations faster
Eugen Rochko eb62778bec Fix - opengraph description should display spoiler text when present
Eugen Rochko 1c507ff172 Fix - Darken buttons to increase contrast
Eugen Rochko 3a310e8f63 Fix CSS mistake
Eugen 97d9517b6b Merge pull request from yiskah/patch-2
Increase color contrast on getting started text
blackle 6bba337080 Only open status on left mouse press
shel 33e09cc76b Increase color contrast on getting started text
Currently, the getting started text fails WCAG standards for color contrast by a lot. Especially on the part overlapping with the elephant graphic which is nearly unreadable even for users with 20|20 vision. This change doesn't fix the elephant overlap but at least makes the text meet AAA WCAG Small Text color contrast standards, making it easier to read.
Eugen Rochko 97da56d02b Fix loading of avatars before drawing them to canvas
Eugen Rochko 00fa850bdc Fix , address - <Avatar> component now plays gifs only while hovered
Eugen Rochko 3beb24ad55 Use <summary> to encode content warnings instead
Eugen Rochko 51a7047367 Fix order of migrations
Eugen 41f5459af5 Merge pull request from blackle/master
fix up spoilers
blackle ca13ec04a8 fix up spoilers
Eugen Rochko 10ffd455a8 Fix - prevent blocked users from reblogging
Eugen Rochko 999cde94a6 Instead of using spoiler boolean and spoiler_text, simply check for non-blank spoiler_text
Federate spoiler_text using warning attribute on <content /> instead of a <category term="spoiler" />
Clean up schema file from accidental development migrations
Eugen f8da0dd490 Merge branch 'master' into master
Eugen Rochko 8a880a3d46 Make blocks create entries and unfollows instantly, but do the clean up
in the background instead. Should fix delay where blocked person
can interact with blocker for a short time before background job
gets processed
Misty De Meo adda642c63 Fix `invisible` CSS class
Eugen Rochko e47b8e778b Fix links in toots opening the toot at first
Eugen Rochko 80cefd5b3c Fix , fix - URL truncating is now a style so copypasting is not
affected, replaced onClick handler with onMouseUp/Down to detect text
selection not trigger onClick handler then
Eugen 4f3264d291 Merge branch 'master' into boostspin
blackle 4a146a0d18 Make boost animation an SVG that uses SCSS colours
Eugen Rochko 21c209636d Set isLoading false on timelines when request fails
Eugen Rochko 1f5792c834 API now respects ?limit param as long as it's within 2x default limit
Eugen Rochko d9022884c6 Smarter infinite scroll
blackle bf0f6eb62d Implement a click-to-view spoiler system
Eugen Rochko 1761d3f9c3 Fix mistake
Eugen Rochko d00189b55a Domains with reject_media? set to true won't download avatars either
Eugen Rochko 8aab692034 Less re-rendering
Eugen Rochko 434cf8237e Optional domain block attribute that prevents media attachments from being downloaded
Eugen Rochko cca82bf0a2 Move merging/unmerging of timelines into background. Move blocking into
background as well since it's a computationally expensive
Eugen Rochko f392030ab8 Add /api/v1/notifications/clear, non-existing link cards for statuses will
now return empty hash instead of throwing a 404 error. When following,
merge into timeline will filter statuses
Eugen Rochko f2e08ff568 Remove unneeded block check
Eugen Rochko 6d98a73180 Domain blocks now have varying severity - auto-suspend vs auto-silence
Eugen Rochko ef2b924679 Forgot to commit
Eugen Rochko f855d645b2 Move all hex colors in SASS to variables and all variations to darken/lighten
Eugen Rochko d4d56b8af0 Fix , 1/2 of - replace rails_autolink with URI.regexp, run link_hashtags on simplified_format
Eugen Rochko aa9c51a34c Fix a couple unhandled exceptions
Eugen Rochko a1894786cf Potentially fix notifications issue
Misty De Meo 33fd8a7d95 Textarea: fix clicking on name suggestions
This was broken in c3e9ba6a, which added an onBlur to hide the
suggestions when the textarea loses focus. Unfortunately, this fired
even when the textarea lost focus to its own suggestions box, and that
meant that onSuggestionClick is never called.

Setting a short window in which onSuggestionClick can still happen
before hiding the suggestion area ensures that clicking still works,
while still hiding the suggestions if the user clicks on something else.
Eugen 1953e3b6ed Fix inflection
Eugen cea9fb31fe Mitigate inconsistent notifications
Eugen Rochko e22a56183a Improve error page layouting. 500 page has to stay static because it's
used from nginx when Rails fails.
Eugen Rochko b4a4eb73ae Merge branch 'fix/error-pages' of https://github.com/ineffyble/mastodon into ineffyble-fix/error-pages
Eugen Rochko 3a4b5961be Method to fetch a single notification
Effy Elden 8f21f5522f Call uniq on the string version of mb_chars tags
Eugen Rochko 1aae0cfc2c Fix - add space after autocomplete
Eugen Rochko 9bd3b11cfb Instead of refusing to create accounts, domain blocks auto-suspend new accounts from that domain
Eugen Rochko 05abd977c1 Fix preview cards layout, do preview card crawling for remote statuses
blackle 7f63edd820 Show visibility toggle on videos, show regardless of sensitivity
Eugen Rochko c8e4b9c663 No loading bars for cards, no failure if it 404s (that's expected)
Eugen Rochko f0de621e76 Fix - Fetch and display previews of URLs using OpenGraph tags
Eugen Rochko 8d0284f8d9 Hide more non-essential loading bars
Eugen Rochko 98560b232a Don't show loading bar when re-loading already loaded status. Don't even try to fetch ancestors from DB when in_reply_to_id is nil
Eugen Rochko 9b0941182f Don't show loading bar when checking account timeline for newer stuff
Eugen Rochko 46be4631ae Fix - Update followers count when following/unfollowing
Also, since the root component connects to the stream that updates home/notification columns,
there is pretty much no case for refreshing those columns beyond initial load. So, move the
loading of those columns into the root component, to prevent unneccessary reloads when switching tabs
on mobile or resizing desktop window between mobile/desktop layouts
Eugen Rochko f051c2e813 Fix statsd null backend not being initialized properly
Eugen 8b9206f7d9 Try to avoid any potential loops
Eugen Rochko 306eb6e9c9 Add optional StatsD performance tracking
Eugen Rochko 7cfd5b680a Fix forgotten change of settings
Eugen Rochko c468446f4c Fix boops?
Eugen Rochko cde0476ca2 Fix
Eugen Rochko fcb5a85cdd Add sounds for notifications. Boop by @jk@mastodon.social
Eugen Rochko 6cf44ca92c Improve how the list entry Account component looks when target is blocked/follow is requested
blackle 889709a2a6 Show 'do not display in public timeline' when replying to self
Eugen Rochko 1a33e4042e Fix upload file input being re-rendered needlessly
Eugen Rochko 7d53ee73f3 Fix - Add "favourites" column
Eugen Rochko da5d366230 Fix - Improve lightbox, add loading indicator
Eugen Rochko 2ae0fb4419 Merge branch 'sensitive' of https://github.com/blackle/mastodon into blackle-sensitive
Eugen Rochko 0439c7d58b Move follow requests link above logout link in getting started column
blackle 144402ec7e Show visibility toggle on media gallery for sensitive images
blackle 383114add3 Change boost sprite to look like fa-retweet
Eugen Rochko 926459fc0a Fix typo introduced in which made unlisted toggle only fade in/out and not also collapse
Eugen Rochko 7d7a11250c Fix - don't suggest hashtag if the search value contains a space
Eugen Rochko 1d5cbfa356 Fix - don't do relationships fetch for empty array of IDs
Eugen Rochko cc1eccc8bc Fix - when logged in, make "get started" link to the frontpage instead of sign up