Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Instance only statuses #8427

Closed

Commits on Sep 3, 2018

  1. Copy the full SHA
    ffaa814 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    4969ea4 View commit details
    Browse the repository at this point in the history
  3. Add backend support for local_only on status create

    Based off ThibG implementation on glitch mastodon#502
    renatolond committed Sep 3, 2018
    Copy the full SHA
    f37ca30 View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    c963e15 View commit details
    Browse the repository at this point in the history
  5. Copy the full SHA
    b4ae56e View commit details
    Browse the repository at this point in the history

Commits on Sep 4, 2018

  1. Normalize translations

    ran yarn build:development && i18n-tasks normalize && yarn manage:translations && i18n-tasks remove-unused
    renatolond committed Sep 4, 2018
    Copy the full SHA
    e1049a9 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    6bef1a8 View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    469294d View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    5497b5a View commit details
    Browse the repository at this point in the history

Commits on Oct 1, 2018

  1. Copy the full SHA
    9d6e005 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    d42a06f View commit details
    Browse the repository at this point in the history

Commits on Oct 23, 2018

  1. Copy the full SHA
    fde9668 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    3306fad View commit details
    Browse the repository at this point in the history
  3. Change setting wording

    renatolond committed Oct 23, 2018
    Copy the full SHA
    b9f0f79 View commit details
    Browse the repository at this point in the history

Commits on Nov 23, 2018

  1. Check for empty "last_status" before sorting DM column (mastodon#9207)

    * Check for empty "last_status" before sorting
    
    * Small touchups for codeclimate
    sammy8806 authored and Gargron committed Nov 23, 2018
    Copy the full SHA
    449e6e4 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    430499f View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    5ee4fd4 View commit details
    Browse the repository at this point in the history
  4. Optimize the process of following someone (mastodon#9220)

    * Eliminate extra accounts select query from FollowService
    
    * Optimistically update follow state in web UI and hide loading bar
    
    Fix mastodon#6205
    
    * Asynchronize NotifyService in FollowService
    
    And fix failing test
    
    * Skip Webfinger resolve routine when called from FollowService if possible
    
    If an account is ActivityPub, then webfinger re-resolving is not necessary
    when called from FollowService. Improve options of ResolveAccountService
    Gargron committed Nov 23, 2018
    Copy the full SHA
    330401b View commit details
    Browse the repository at this point in the history
  5. Fix follow limit validator reporting lower number past threshold (mas…

    …todon#9230)
    
    * Fix follow limit validator reporting lower number past threshold
    
    * Avoid floating point follow limit
    Gargron committed Nov 23, 2018
    Copy the full SHA
    b3c29ec View commit details
    Browse the repository at this point in the history
  6. Fix form validation flash message color and input borders (mastodon#9235

    )
    
    * Fix form validation flash message color and input borders
    
    * Fix typo
    Gargron committed Nov 23, 2018
    Copy the full SHA
    4b2f254 View commit details
    Browse the repository at this point in the history
  7. Display amount of freed disk space in tootctl media remove (mastodon#…

    …9229)
    
    * Display amount of freed disk space in tootctl media remove
    
    Fix mastodon#9213
    
    * Fix code style issue
    Gargron committed Nov 23, 2018
    Copy the full SHA
    21fd335 View commit details
    Browse the repository at this point in the history
  8. Copy the full SHA
    0f436de View commit details
    Browse the repository at this point in the history
  9. Copy the full SHA
    63f168c View commit details
    Browse the repository at this point in the history
  10. Improve ActiveRecord connection in on_worker_boot (mastodon#9238)

    This is how it looks in the example in the Puma README
    Gargron committed Nov 23, 2018
    Copy the full SHA
    f73b7e7 View commit details
    Browse the repository at this point in the history
  11. Copy the full SHA
    d06a724 View commit details
    Browse the repository at this point in the history
  12. Copy the full SHA
    886ef1c View commit details
    Browse the repository at this point in the history
  13. Copy the full SHA
    4ce6ed2 View commit details
    Browse the repository at this point in the history
  14. Copy the full SHA
    cd8575a View commit details
    Browse the repository at this point in the history
  15. Copy the full SHA
    a3ef076 View commit details
    Browse the repository at this point in the history
  16. Fix "tootctl media remove" can't count the file size (mastodon#9288)

    * Fixed an issue where "tootctl media remove" can not count the file size.
    
    * Fixed the problem pointed out by codeclimate.
    mayaeh authored and Gargron committed Nov 23, 2018
    Copy the full SHA
    01a8ab9 View commit details
    Browse the repository at this point in the history
  17. Copy the full SHA
    6d4438a View commit details
    Browse the repository at this point in the history
  18. Copy the full SHA
    ecc58c0 View commit details
    Browse the repository at this point in the history
  19. Copy the full SHA
    fa02f87 View commit details
    Browse the repository at this point in the history
  20. Update Nginx config for Nanobox apps (mastodon#9310)

    The Nanobox files have gotten out of sync, a touch, with what Masto needs for Nginx settings. This PR updates them accordingly.
    danhunsaker authored and Gargron committed Nov 23, 2018
    Copy the full SHA
    c0736c4 View commit details
    Browse the repository at this point in the history
  21. WebSub: ATOM before RSS (mastodon#9302)

    Hello,
    The ATOM feed contains the hub declaration for WebSub, but the RSS
    version does not.
    RSS/ATOM readers will typically pick whichever version comes first, and
    will thus not see the WebSub feature.
    I therefore suggest putting the ATOM version first, as it is more
    feature-rich than its RSS counterpart is.
    
    Clients not compatible with ATOM would not pick it anyway due to the
    different type attribute.
    
    A more complicated alternative would be to declare the WebSub feature in
    the RSS version as well, using something like the following code, and
    ensuring that clients subscribed to the RSS version would receive PuSH
    updates just like those subscribed to the ATOM version.
    
    ````xml
    <rss version="2.0" xmlns:webfeeds="http://webfeeds.org/rss/1.0"
    xmlns:atom="http://www.w3.org/2005/Atom">
    <channel>
    <atom:link rel="self" type="application/rss+xml"
    href="https://diaspodon.fr/users/test.rss"/>
    <atom:link rel="hub" href="https://diaspodon.fr/api/push"/>
    </channel>
    </rss>
    ```
    Alkarex authored and Gargron committed Nov 23, 2018
    Copy the full SHA
    2c36d35 View commit details
    Browse the repository at this point in the history
  22. Touch account on successful response, change char shown when culled (m…

    …astodon#9293)
    
    Just the color is not enough change since not everyone uses colored
    terminals.
    Touching the account makes it so that the account is not in the
    threshold window in case of running again
    renatolond authored and Gargron committed Nov 23, 2018
    Copy the full SHA
    15dcb41 View commit details
    Browse the repository at this point in the history
  23. Ignore JSON-LD profile in mime type comparison (mastodon#9179)

    Ignore JSON-LD profile in mime type comparison
    valerauko authored and Gargron committed Nov 23, 2018
    Copy the full SHA
    12bdd7d View commit details
    Browse the repository at this point in the history
  24. Fix connect timeout not being enforced (mastodon#9329)

    * Fix connect timeout not being enforced
    
    The loop was catching the timeout exception that should stop execution, so the next IP would no longer be within a timed block, which led to requests taking much longer than 10 seconds.
    
    * Use timeout on each IP attempt, but limit to 2 attempts
    
    * Fix code style issue
    
    * Do not break Request#perform if no block given
    
    * Update method stub in spec for Request
    
    * Move timeout inside the begin/rescue block
    
    * Use Resolv::DNS with timeout of 1 to get IP addresses
    
    * Update Request spec to stub Resolv::DNS instead of Addrinfo
    
    * Fix Resolve::DNS stubs in Request spec
    Gargron committed Nov 23, 2018
    Copy the full SHA
    a2cda74 View commit details
    Browse the repository at this point in the history
  25. Bump version to 2.6.2

    Gargron committed Nov 23, 2018
    Copy the full SHA
    404dc97 View commit details
    Browse the repository at this point in the history

Commits on Nov 30, 2018

  1. add loglevel to ffmpeg in gif upload (mastodon#9368)

    Hugo Gameiro authored and Gargron committed Nov 30, 2018
    Copy the full SHA
    ec20a5d View commit details
    Browse the repository at this point in the history
  2. Allow hyphens in the middle of remote user names (mastodon#9345)

    Fixes mastodon#9309
    
    This only allows hyphens in the middle of a username, much like dots,
    although I don't have a compelling reason to do so other than keeping
    the changes minimal.
    ClearlyClaire authored and Gargron committed Nov 30, 2018
    Copy the full SHA
    49f49cf View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    cc0c167 View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    58108b4 View commit details
    Browse the repository at this point in the history
  5. Copy the full SHA
    442f335 View commit details
    Browse the repository at this point in the history
  6. Copy the full SHA
    34de90c View commit details
    Browse the repository at this point in the history
  7. Bump version to 2.6.3

    Gargron committed Nov 30, 2018
    Copy the full SHA
    a1216e6 View commit details
    Browse the repository at this point in the history
  8. Copy the full SHA
    8257001 View commit details
    Browse the repository at this point in the history
  9. Bump version to 2.6.4

    Gargron committed Nov 30, 2018
    Copy the full SHA
    13979a8 View commit details
    Browse the repository at this point in the history

Commits on Dec 2, 2018

  1. Copy the full SHA
    f13d083 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    e625425 View commit details
    Browse the repository at this point in the history
  3. Bump version to 2.6.5

    Gargron committed Dec 2, 2018
    Copy the full SHA
    887f9de View commit details
    Browse the repository at this point in the history

Commits on Dec 7, 2018

  1. Copy the full SHA
    f5f9fc3 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    237952c View commit details
    Browse the repository at this point in the history

Commits on Jan 9, 2019

  1. Copy the full SHA
    4207973 View commit details
    Browse the repository at this point in the history
  2. Normalize translations

    renatolond committed Jan 9, 2019
    Copy the full SHA
    e8161a1 View commit details
    Browse the repository at this point in the history

Commits on Jan 22, 2019

  1. Copy the full SHA
    20ad816 View commit details
    Browse the repository at this point in the history

Commits on Jan 31, 2019

  1. Copy the full SHA
    e8012c1 View commit details
    Browse the repository at this point in the history

Commits on Feb 17, 2019

  1. Bumps copyright year in README.md to 2019 (mastodon#9939)

    This is so incredibly small, but assuming this is a needed change. Might want to check year in other files.
    sts10 authored and Gargron committed Feb 17, 2019
    Copy the full SHA
    88a1d0c View commit details
    Browse the repository at this point in the history
  2. Fix link color in high-contrast theme, add underlines (mastodon#9949)

    Improve sorting of default themes in the dropdown
    Gargron committed Feb 17, 2019
    Copy the full SHA
    e31970b View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    687a0cb View commit details
    Browse the repository at this point in the history
  4. Allow most kinds of characters in URL query (fixes mastodon#8408) (ma…

    …stodon#8447)
    
    * Allow unicode characters in URL query strings
    
    Fixes mastodon#8408
    
    * Alternative approach to unicode support in urls
    
    Adds PoC/idea to approch this problem.
    JMendyk authored and Gargron committed Feb 17, 2019
    Copy the full SHA
    fdf819b View commit details
    Browse the repository at this point in the history
  5. Copy the full SHA
    a742a09 View commit details
    Browse the repository at this point in the history
  6. Copy the full SHA
    5e7c75c View commit details
    Browse the repository at this point in the history
  7. [UI] Fix whitespace being applied to div instead of p (mastodon#9968)

    * fix large line breaks
    
    * fix ascii art posts
    trwnh authored and Gargron committed Feb 17, 2019
    Copy the full SHA
    cd36ff4 View commit details
    Browse the repository at this point in the history
  8. Hide misleading “You will be sent a confirmation e-mail” hint from ad…

    …min view (mastodon#9973)
    
    Thanks @wryk for noticing this issue.
    ClearlyClaire authored and Gargron committed Feb 17, 2019
    Copy the full SHA
    edde07f View commit details
    Browse the repository at this point in the history
  9. Copy the full SHA
    e2afe5f View commit details
    Browse the repository at this point in the history
  10. Only URLs extract with pre-escaped text (mastodon#9991)

    * [test] add japanese hashtag testcase
    
    * Only URLs extract with pre-escaped text
    
    ( mastodon#9989 )
    hinaloe authored and Gargron committed Feb 17, 2019
    Copy the full SHA
    2a7c091 View commit details
    Browse the repository at this point in the history
  11. Copy the full SHA
    6ea4cd5 View commit details
    Browse the repository at this point in the history
  12. Fix IntersectionObserverArticle not hiding some out-of-view items (ma…

    …stodon#9982)
    
    IntersectionObserverArticle is made to save on RAM by avoiding fully rendering
    items that are far out of view. However, it did not work for items spawned
    outside the intersection observer.
    ClearlyClaire authored and Gargron committed Feb 17, 2019
    Copy the full SHA
    d9f0c7f View commit details
    Browse the repository at this point in the history
  13. Fix timeline jumps (mastodon#10001)

    * Avoid two-step rendering of statuses as much as possible
    
    Cache width shared by Video player, MediaGallery and Cards at the
    ScrollableList level, pass it down through StatusList and Notifications.
    
    * Adjust scroll when new preview cards appear
    
    * Adjust scroll when statuses above the current scroll position are deleted
    ClearlyClaire authored and Gargron committed Feb 17, 2019
    Copy the full SHA
    e1dbdf7 View commit details
    Browse the repository at this point in the history
  14. Copy the full SHA
    41ecf80 View commit details
    Browse the repository at this point in the history
  15. Copy the full SHA
    d662675 View commit details
    Browse the repository at this point in the history
  16. Add support for IPv6 only MXes in Email validation (mastodon#10009)

    * Add support for IPv6 only MXes
    
    * Fixed email validator tests
    zoc authored and Gargron committed Feb 17, 2019
    Copy the full SHA
    27310a8 View commit details
    Browse the repository at this point in the history
  17. Copy the full SHA
    1186b9a View commit details
    Browse the repository at this point in the history
  18. Copy the full SHA
    f0f657e View commit details
    Browse the repository at this point in the history
  19. Copy the full SHA
    a46487e View commit details
    Browse the repository at this point in the history
  20. Copy the full SHA
    2a1adab View commit details
    Browse the repository at this point in the history
  21. Add tight rate-limit for API deletions (mastodon#10042)

    Deletions take a lot of resources to execute and cause a lot of
    federation traffic, so it makes sense to decrease the number
    someone can queue up through the API.
    
    30 per 30 minutes
    Gargron committed Feb 17, 2019
    Copy the full SHA
    5a04861 View commit details
    Browse the repository at this point in the history
  22. Copy the full SHA
    17a41e1 View commit details
    Browse the repository at this point in the history
  23. Create Redisable#redis (mastodon#9633)

    * Create Redisable
    
    * Use #redis instead of Redis.current
    ysksn authored and Gargron committed Feb 17, 2019
    Copy the full SHA
    737ac4b View commit details
    Browse the repository at this point in the history
  24. Alternative handling of private self-boosts (mastodon#9998)

    * When self-boosting, embed original toot into Announce serialization
    
    * Process unknown self-boosts from Announce object if it is more than an URI
    
    * Add some self-boost specs
    
    * Only serialize private toots in self-Announces
    ClearlyClaire authored and Gargron committed Feb 17, 2019
    Copy the full SHA
    6c11f0f View commit details
    Browse the repository at this point in the history
  25. Filter incoming Create activities by relation to local activity (mast…

    …odon#10005)
    
    Reject those from accounts with no local followers, from relays
    that are not enabled, which do not address local accounts and are
    not replies to accounts that do have local followers
    Gargron committed Feb 17, 2019
    Copy the full SHA
    ef45411 View commit details
    Browse the repository at this point in the history
  26. Filter incoming Announce activities by relation to local activity (ma…

    …stodon#10041)
    
    * Filter incoming Announce activities by relation to local activity
    
    Reject if announcer is not followed by local accounts, and is not
    from an enabled relay, and the object is not a local status
    
    Follow-up to mastodon#10005
    
    * Fix tests
    Gargron committed Feb 17, 2019
    Copy the full SHA
    e84c761 View commit details
    Browse the repository at this point in the history
  27. Copy the full SHA
    71b8316 View commit details
    Browse the repository at this point in the history
  28. Copy the full SHA
    b163368 View commit details
    Browse the repository at this point in the history
  29. Copy the full SHA
    8ad75ee View commit details
    Browse the repository at this point in the history
  30. Change robots.txt to exclude some URLs (mastodon#10037)

    - Exclude static assets
    - Exclude uploaded files
    - Exclude alternate versions of the profile page
    - Exclude media proxy URLs
    Gargron committed Feb 17, 2019
    Copy the full SHA
    637f000 View commit details
    Browse the repository at this point in the history
  31. Change robots.txt to exclude only media proxy URLs (mastodon#10038)

    * Revert "Change robots.txt to exclude some URLs (mastodon#10037)"
    
    This reverts commit 80161f4.
    
    * Let's block media_proxy
    
    /media_proxy/ is a dynamic route used for requesting uncached media, so it's
    probably bad to let crawlers use it
    
    * misleading comment
    nightpool authored and Gargron committed Feb 17, 2019
    Copy the full SHA
    45b2bb4 View commit details
    Browse the repository at this point in the history
  32. Improve image description user experience (mastodon#10036)

    * Add image descriptions to searchable post content.
    
    * Allow multi-line image descriptions.
    
    * Request image descriptions in the same query as posts when creating the search index.
    
    (see mastodon#10036 (comment))
    BenLubar authored and Gargron committed Feb 17, 2019
    Copy the full SHA
    1ad0d23 View commit details
    Browse the repository at this point in the history
  33. Copy the full SHA
    77a7123 View commit details
    Browse the repository at this point in the history
  34. Copy the full SHA
    5aa147b View commit details
    Browse the repository at this point in the history
  35. Copy the full SHA
    7b59de4 View commit details
    Browse the repository at this point in the history
  36. Copy the full SHA
    584f29e View commit details
    Browse the repository at this point in the history
  37. Copy the full SHA
    caf1450 View commit details
    Browse the repository at this point in the history
  38. Copy the full SHA
    b6a5268 View commit details
    Browse the repository at this point in the history
  39. Copy the full SHA
    98e3820 View commit details
    Browse the repository at this point in the history
  40. Copy the full SHA
    33e8fa0 View commit details
    Browse the repository at this point in the history
  41. Copy the full SHA
    e5f4af2 View commit details
    Browse the repository at this point in the history
  42. Bump version to 2.7.2

    Gargron committed Feb 17, 2019
    Copy the full SHA
    f3eb99a View commit details
    Browse the repository at this point in the history

Commits on Feb 19, 2019

  1. Copy the full SHA
    153385e View commit details
    Browse the repository at this point in the history

Commits on Apr 13, 2019

  1. Copy the full SHA
    546581d View commit details
    Browse the repository at this point in the history

Commits on Apr 30, 2019

  1. Copy the full SHA
    a285462 View commit details
    Browse the repository at this point in the history

Commits on May 7, 2019

  1. Copy the full SHA
    84c8b1e View commit details
    Browse the repository at this point in the history

Commits on May 19, 2019

  1. Copy the full SHA
    b40dfc1 View commit details
    Browse the repository at this point in the history
  2. Fix some colors of high contrast theme (mastodon#10711)

    * Fix "nothing here" text color of high contrast
    
    * Fix counter border color of high contrast
    nzws authored and Gargron committed May 19, 2019
    Copy the full SHA
    9679ec4 View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    7a6464b View commit details
    Browse the repository at this point in the history
  4. Improve poll link accessibility (mastodon#10720)

    * Add distinction between hover and active/focus states
    * Resolves mastodon#10198
    MaciekBaron authored and Gargron committed May 19, 2019
    Copy the full SHA
    c407a4e View commit details
    Browse the repository at this point in the history
  5. Change icon and label depending on whether media is marked as sensiti…

    …ve (mastodon#10748)
    
    * Change icon and label depending on whether media is marked as sensitive
    
    * WiP use a checkbox
    ClearlyClaire authored and Gargron committed May 19, 2019
    Copy the full SHA
    47e0928 View commit details
    Browse the repository at this point in the history
  6. Fix some colors in light theme (mastodon#10754)

    * Fix typo in light theme
    
    * Fix background color of empty column
    nzws authored and Gargron committed May 19, 2019
    Copy the full SHA
    91e25a2 View commit details
    Browse the repository at this point in the history
  7. Adds click-able div that expands status (mastodon#10733) (mastodon#10766

    )
    
    The clickable div is positioned under the account avatar and covers
    all empty space below it to the end of the status.
    Dar13 authored and Gargron committed May 19, 2019
    Copy the full SHA
    9e95af3 View commit details
    Browse the repository at this point in the history
  8. Copy the full SHA
    ee17d81 View commit details
    Browse the repository at this point in the history
  9. Copy the full SHA
    3c27687 View commit details
    Browse the repository at this point in the history
  10. Copy the full SHA
    d587a94 View commit details
    Browse the repository at this point in the history
  11. Copy the full SHA
    a6815a7 View commit details
    Browse the repository at this point in the history
  12. fix isSubmitting prop case (mastodon#10785)

    hinaloe authored and Gargron committed May 19, 2019
    Copy the full SHA
    94439a1 View commit details
    Browse the repository at this point in the history
  13. Copy the full SHA
    9222c26 View commit details
    Browse the repository at this point in the history
  14. Bump version to 2.8.3

    Gargron committed May 19, 2019
    Copy the full SHA
    370ec7e View commit details
    Browse the repository at this point in the history

Commits on May 24, 2019

  1. Retry ActivityPub inbox delivery on HTTP 401 and 408 errors (mastodon…

    …#10812)
    
    HTTP 401 responses returned by Mastodon's inbox controller may
    be temporary if, for instance, the requesting user's actor/key json
    could not be retrieved in a timely fashion. This changes allow retries
    instead of dropping the message entirely.
    
    Also added HTTP 408 as that error is by nature temporary.
    ClearlyClaire authored and Gargron committed May 24, 2019
    Copy the full SHA
    9a881c7 View commit details
    Browse the repository at this point in the history
  2. Move signature verification stoplight to the requests themselves (mas…

    …todon#10813)
    
    * Move signature verification stoplight to the requests themselves
    
    This avoids blocking messages from known keys for 5 minutes when only one fails…
    
    * Put the stoplight on the actual client IP, not a potential reverse proxy
    ClearlyClaire authored and Gargron committed May 24, 2019
    Copy the full SHA
    39d1d02 View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    130fbf8 View commit details
    Browse the repository at this point in the history
  4. Improve streaming server security (mastodon#10818)

    * Check OAuth token scopes in the streaming API
    
    * Use Sec-WebSocket-Protocol instead of query string to pass WebSocket token
    
    Inspired by kubevirt/kubevirt#1242
    ClearlyClaire authored and Gargron committed May 24, 2019
    Copy the full SHA
    aa80292 View commit details
    Browse the repository at this point in the history
  5. Bump version to 2.8.4

    Gargron committed May 24, 2019
    Copy the full SHA
    7d92c2c View commit details
    Browse the repository at this point in the history

Commits on Jun 3, 2019

  1. Copy the full SHA
    1e5b17b View commit details
    Browse the repository at this point in the history

Commits on Jun 25, 2019

  1. Copy the full SHA
    f0a512c View commit details
    Browse the repository at this point in the history

Commits on Jun 30, 2019

  1. Fix merge issues

    renatolond committed Jun 30, 2019
    Copy the full SHA
    405d6a7 View commit details
    Browse the repository at this point in the history

Commits on Aug 6, 2019

  1. Fix account URI in UpdatePollSerializer (mastodon#11194)

    * Fix account URI in UpdatePollSerializer
    
    Fixes mastodon#11185
    
    * Add specs
    ClearlyClaire authored and Gargron committed Aug 6, 2019
    Copy the full SHA
    c95ce1f View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    de74794 View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    aef567c View commit details
    Browse the repository at this point in the history
  4. Fix BackupService crashing when an attachment is missing (mastodon#11241

    )
    
    * Fix BackupService crashing when an attachment is missing
    
    For various reasons such as admin error or out-of-sync media and
    database backups, it might be possible for local attachments to be lost.
    
    This commit allows the BackupService to continue its work even if some media
    file is missing.
    
    * Change error message
    ClearlyClaire authored and Gargron committed Aug 6, 2019
    Copy the full SHA
    5a06f68 View commit details
    Browse the repository at this point in the history
  5. Copy the full SHA
    8066717 View commit details
    Browse the repository at this point in the history
  6. Copy the full SHA
    6782922 View commit details
    Browse the repository at this point in the history
  7. Fix invites not being disabled upon account suspension (mastodon#11412)

    * Disable invite links from disabled/suspended users
    
    * Add has_many invites relationship to users
    
    * Destroy unused invites when suspending an account
    ClearlyClaire authored and Gargron committed Aug 6, 2019
    Copy the full SHA
    8904487 View commit details
    Browse the repository at this point in the history
  8. Copy the full SHA
    221110c View commit details
    Browse the repository at this point in the history
  9. Copy the full SHA
    0367ddb View commit details
    Browse the repository at this point in the history
  10. Fix expiration date of filters being set to “Never” when editing them (

    …mastodon#11204)
    
    When editing a custom filter, select the shortest preset duration that
    still covers the remaining time of that filter.
    
    Fixes mastodon#9506
    ClearlyClaire authored and Gargron committed Aug 6, 2019
    Copy the full SHA
    5d79df0 View commit details
    Browse the repository at this point in the history
  11. Copy the full SHA
    769bbd5 View commit details
    Browse the repository at this point in the history
  12. Remove unused StatsD code and expose StatsD as a global variable (mas…

    …todon#11232)
    
    The instrumentation code was used for StatsD metrics collection
    prior to the switch to the nsa gem and should have been removed
    at that point as it no longer does anything at all
    Gargron committed Aug 6, 2019
    Copy the full SHA
    5cd97c6 View commit details
    Browse the repository at this point in the history
  13. Copy the full SHA
    6a3876b View commit details
    Browse the repository at this point in the history
  14. Fix alerts booleans not being typecast correctly in push subscripti…

    …on (mastodon#11343)
    
    * Fix `alerts` booleans not being typecast correctly in push subscription
    
    Fix mastodon#10789
    
    * Fix typo
    Gargron committed Aug 6, 2019
    Copy the full SHA
    d1d3684 View commit details
    Browse the repository at this point in the history
  15. Optimize makeGetStatus (mastodon#11211)

    * Optimize makeGetStatus
    
    Because `ImmutableList.filter` always returns a new object and `createSelector`
    memoizes based on object identity, the selector returned by `makeGetStatus`
    would *always* execute.
    
    To avoid that, we wrap `getFilters` into a new memoizer that memoizes based on
    deep equality, thus returning the same object as long as the filters haven't
    changed, allowing the memoization of `makeGetStatus` to work.
    
    Furthermore, we memoize the compiled regexs instead of recomputing them each
    time the selector is called.
    
    * Fix memoized result being cleared too often
    
    * Make notifications use memoized getFiltersRegex
    ClearlyClaire authored and Gargron committed Aug 6, 2019
    Copy the full SHA
    d588173 View commit details
    Browse the repository at this point in the history
  16. Copy the full SHA
    363afe5 View commit details
    Browse the repository at this point in the history
  17. Fix boosting & unboosting preventing a boost from appearing in the TL (

    …mastodon#11405)
    
    * Fix boosting & unboosting preventing a boost from appearing in the TL
    
    * Add tests
    
    * Avoids side effects when aggregate_reblogs isn't true
    ClearlyClaire authored and Gargron committed Aug 6, 2019
    Copy the full SHA
    c83c87f View commit details
    Browse the repository at this point in the history
  18. Fix delete regression (mastodon#11450)

    Regression from ff789a7
    Gargron committed Aug 6, 2019
    Copy the full SHA
    74982c7 View commit details
    Browse the repository at this point in the history
  19. Apply filters to poll options (mastodon#11174)

    * Apply filters to poll options in WebUI
    
    Fixes mastodon#11128
    
    * Apply filters to poll options server-side
    
    * Add poll options to searchable text
    ClearlyClaire authored and Gargron committed Aug 6, 2019
    Copy the full SHA
    6e28da2 View commit details
    Browse the repository at this point in the history
  20. Copy the full SHA
    69680db View commit details
    Browse the repository at this point in the history
  21. Add message telling FTS is disabled when no toot can be found because…

    … of this (mastodon#11112)
    
    * Add message telling FTS is disabled when no toot can be found because of this
    
    Fixes mastodon#11082
    
    * Remove info icon and reword message
    ClearlyClaire authored and Gargron committed Aug 6, 2019
    Copy the full SHA
    0119092 View commit details
    Browse the repository at this point in the history
  22. Copy the full SHA
    5b3d70f View commit details
    Browse the repository at this point in the history
  23. Copy the full SHA
    39741fa View commit details
    Browse the repository at this point in the history
  24. When sending a toot, ensure a CW is only set if the CW field is visib…

    …le (mastodon#11206)
    
    In some occasions, such as the browser or a browser extension auto-filling
    the existing but disabled/hidden CW field, a CW can be set without the user
    knowing.
    ClearlyClaire authored and Gargron committed Aug 6, 2019
    Copy the full SHA
    99b27a8 View commit details
    Browse the repository at this point in the history
  25. When deleting & redrafting a poll, fill in closest expires_in (mastod…

    …on#11203)
    
    Use the smallest preset expires_in such that the new poll would
    not expire before the old one.
    
    In the typical case of a quick delete & redraft, this results in
    using the same poll duration.
    
    Fixes mastodon#10567
    ClearlyClaire authored and Gargron committed Aug 6, 2019
    Copy the full SHA
    6abd849 View commit details
    Browse the repository at this point in the history
  26. Only scroll to the compose form if it's not horizontally in the viewp…

    …ort (mastodon#11246)
    
    Avoids jumping the scroll around vertically when giving it focus and
    editing long toots.
    ClearlyClaire authored and Gargron committed Aug 6, 2019
    Copy the full SHA
    16f3484 View commit details
    Browse the repository at this point in the history
  27. Display custom emoji in bio field names (mastodon#11350)

    Already displayed in public pages, but not WebUI
    ClearlyClaire authored and Gargron committed Aug 6, 2019
    Copy the full SHA
    af410c0 View commit details
    Browse the repository at this point in the history
  28. Play animated custom emoji on hover (mastodon#11348)

    * Play animated custom emoji on hover in status
    
    * Play animated custom emoji on hover in display names
    
    * Play animated custom emoji on hover in bios/bio fields
    
    * Add support for animation on hover on public pages emojis too
    
    * Fix tests
    
    * Code style cleanup
    ClearlyClaire authored and Gargron committed Aug 6, 2019
    Copy the full SHA
    7f9431c View commit details
    Browse the repository at this point in the history
  29. Copy the full SHA
    c8bf30d View commit details
    Browse the repository at this point in the history

Commits on Aug 9, 2019

  1. Copy the full SHA
    d9a0248 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    f279569 View commit details
    Browse the repository at this point in the history
  3. Change the retry limit in error of web push notification (mastodon#11292

    )
    
    - Change the maximum count of retry for web push notification (Default -> 5).
       - In case of high load of subscribe server, the retries will be repeated many times.
       - Because the retries occupy the default queue, maximum retry count should be reduced.
    highemerly authored and Gargron committed Aug 9, 2019
    Copy the full SHA
    b21c630 View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    291d868 View commit details
    Browse the repository at this point in the history
  5. Copy the full SHA
    2e244b7 View commit details
    Browse the repository at this point in the history
  6. Copy the full SHA
    227c561 View commit details
    Browse the repository at this point in the history
  7. Copy the full SHA
    212848b View commit details
    Browse the repository at this point in the history
  8. Copy the full SHA
    8c445c8 View commit details
    Browse the repository at this point in the history
  9. Copy the full SHA
    28f3b13 View commit details
    Browse the repository at this point in the history
  10. Fix sanitizing lists contents (mastodon#11354)

    * Add test
    
    * Fix code for sanitizing nested lists stripping all tags
    ClearlyClaire authored and Gargron committed Aug 9, 2019
    Copy the full SHA
    6c4a196 View commit details
    Browse the repository at this point in the history
  11. Copy the full SHA
    ad08668 View commit details
    Browse the repository at this point in the history
  12. Added logout to dropdown menu (mastodon#11353)

    * Added logout to dropdown menu
    
    * Triggering build-and-test with empty commit as it seems it failed due to some internal failure
    
    * Looks fine, ready to review
    
    * Added changes from review
    
    * method can be null without any problems
    
    * Also target can be null
    koyuawsmbrtn authored and Gargron committed Aug 9, 2019
    Copy the full SHA
    d8b8c88 View commit details
    Browse the repository at this point in the history
  13. Disallow numeric-only hashtags (mastodon#11363)

    * Add spec covering numeric-only hashtags
    
    * Fix hashtag regex
    ClearlyClaire authored and Gargron committed Aug 9, 2019
    Copy the full SHA
    dead24a View commit details
    Browse the repository at this point in the history
  14. Copy the full SHA
    9bb23b8 View commit details
    Browse the repository at this point in the history
  15. Bind servers to 0.0.0.0 in Procfile (mastodon#11378)

    * Bind to 0.0.0.0
    
    * Make Procfile common to main and streaming apps
    zunda authored and Gargron committed Aug 9, 2019
    Copy the full SHA
    4e4f73b View commit details
    Browse the repository at this point in the history
  16. Copy the full SHA
    ed27803 View commit details
    Browse the repository at this point in the history
  17. Copy the full SHA
    91fb945 View commit details
    Browse the repository at this point in the history
  18. Copy the full SHA
    a0896ae View commit details
    Browse the repository at this point in the history
  19. Copy the full SHA
    c1bc34d View commit details
    Browse the repository at this point in the history
  20. Copy the full SHA
    3f7614f View commit details
    Browse the repository at this point in the history
  21. Fix timestamp on featured tag (mastodon#11477)

    It resolves mastodon#11338
    tribela authored and Gargron committed Aug 9, 2019
    Copy the full SHA
    68da55e View commit details
    Browse the repository at this point in the history
  22. Copy the full SHA
    21e3671 View commit details
    Browse the repository at this point in the history
  23. Copy the full SHA
    d8cf2a0 View commit details
    Browse the repository at this point in the history
  24. Improve dropdown menu keyboard navigation (mastodon#11491)

    * Allow selecting menu items with the space bar in status dropdown menus
    
    * Fix modals opened by keyboard navigation being immediately closed
    
    * Fix menu items triggering modal actions
    
    * Add Tab trapping inside dropdown menu
    
    * Give focus back to last focused element when status dropdown menu closes
    ClearlyClaire authored and Gargron committed Aug 9, 2019
    Copy the full SHA
    ad6fcb2 View commit details
    Browse the repository at this point in the history
  25. Improve keyboard navigation in privacy dropdown (mastodon#11492)

    * Trap tab in privacy dropdown
    
    * Give focus back to last focused element when privacy dropdown menu closes
    
    * Actually give back focus to the element that had it before clicking the dropdown
    ClearlyClaire authored and Gargron committed Aug 9, 2019
    Copy the full SHA
    cec93c3 View commit details
    Browse the repository at this point in the history
  26. Copy the full SHA
    c69f190 View commit details
    Browse the repository at this point in the history
  27. Improve focus handling with dropdown menus (mastodon#11511)

    - Focus first item when activated via keyboard
    - When the dropdown menu closes, give back the focus to
      the actual element which was focused prior to opening the menu
    ClearlyClaire authored and Gargron committed Aug 9, 2019
    Copy the full SHA
    80e391a View commit details
    Browse the repository at this point in the history
  28. Copy the full SHA
    6861534 View commit details
    Browse the repository at this point in the history
  29. Copy the full SHA
    5432edb View commit details
    Browse the repository at this point in the history
  30. Copy the full SHA
    b95281b View commit details
    Browse the repository at this point in the history
  31. Copy the full SHA
    d5963d9 View commit details
    Browse the repository at this point in the history
  32. Fix “read more” button behing hidden (regression from mastodon#11404) (

    …mastodon#11522)
    
    * Fix “read more” button behing hidden (regression from mastodon#11404)
    
    This has the side-effect of putting the “Read more” button below possibly
    trunctated polls instead of putting the poll below the “Read more”
    
    * Remove dead code
    ClearlyClaire authored and Gargron committed Aug 9, 2019
    Copy the full SHA
    80d8ff9 View commit details
    Browse the repository at this point in the history
  33. Bump version to 2.9.3

    Gargron committed Aug 9, 2019
    Copy the full SHA
    06f906a View commit details
    Browse the repository at this point in the history

Commits on Aug 10, 2019

  1. Copy the full SHA
    fbaaf24 View commit details
    Browse the repository at this point in the history

Commits on Oct 21, 2019

  1. Copy the full SHA
    a42a98b View commit details
    Browse the repository at this point in the history

Commits on Feb 21, 2020

  1. Copy the full SHA
    e0f3a45 View commit details
    Browse the repository at this point in the history

Commits on Jul 7, 2020

  1. Fix other sessions not being logged out on password change

    While OAuth tokens were immediately revoked, accessing the home
    controller immediately generated new OAuth tokens and "revived"
    the session due to a combination of using remember_me tokens and
    overwriting the `authenticate_user!` method
    Gargron committed Jul 7, 2020
    Copy the full SHA
    fa3f78e View commit details
    Browse the repository at this point in the history
  2. Change rate limits for various paths

    - Rate limit login attempts by target account
    - Rate limit password resets and e-mail re-confirmations by target account
    - Rate limit sign-up/login attempts, password resets, and e-mail re-confirmations by IP like before
    Gargron committed Jul 7, 2020
    Copy the full SHA
    951e997 View commit details
    Browse the repository at this point in the history
  3. Fix media attachment enumeration

    Signed-off-by: Eugen Rochko <eugen@zeonfederated.com>
    ClearlyClaire authored and Gargron committed Jul 7, 2020
    Copy the full SHA
    2d2e365 View commit details
    Browse the repository at this point in the history
  4. Bump version to 3.1.5

    Gargron committed Jul 7, 2020
    Copy the full SHA
    661f3f2 View commit details
    Browse the repository at this point in the history

Commits on Jul 15, 2020

  1. Copy the full SHA
    06b6353 View commit details
    Browse the repository at this point in the history

Commits on Jul 27, 2020

  1. Copy the full SHA
    8126ac0 View commit details
    Browse the repository at this point in the history

Commits on Oct 19, 2020

  1. Do not serve account actors at all in limited federation mode (mastod…

    …on#14800)
    
    * Do not serve account actors at all in limited federation mode
    
    When an account is fetched without a signature from an allowed instance,
    return an error.
    
    This isn't really an improvement in security, as the only information that was
    previously returned was required protocol-level info, and the only personal bit
    was the existence of the account. The existence of the account can still be
    checked by issuing a webfinger query, as those are accepted without signatures.
    
    However, this change makes it so that unallowed instances won't create account
    records on their end when they find a reference to an unknown account.
    
    The previous behavior of rendering a limited list of fields, instead of not
    rendering the actor at all, was in order to prevent situations in which two
    instances in Authorized Fetch mode or Limited Federation mode would fail to
    reach each other because resolving an account would require a signed query…
    from an account which can only be fetched with a signed query itself. However,
    this should now be fine as fetching accounts is done by signing on behalf of
    the special instance actor, which does not require any kind of valid signature
    to be fetched.
    
    * Fix tests
    ClearlyClaire authored and Gargron committed Oct 19, 2020
    Copy the full SHA
    aecdaf5 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    0abfa06 View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    c98b775 View commit details
    Browse the repository at this point in the history
  4. Fix handling of Reject Follow when a matching follow relationship exi…

    …sts (mastodon#14479)
    
    * Add tests
    
    * Fix handling of Reject Follow when a matching follow relationship exists
    
    Regression from mastodon#12199
    ClearlyClaire authored and Gargron committed Oct 19, 2020
    Copy the full SHA
    4acfc3c View commit details
    Browse the repository at this point in the history
  5. Copy the full SHA
    8f79ed0 View commit details
    Browse the repository at this point in the history
  6. Remove dependency on goldfinger gem (mastodon#14919)

    There are edge cases where requests to certain hosts timeout when
    using the vanilla HTTP.rb gem, which the goldfinger gem uses. Now
    that we no longer need to support OStatus servers, webfinger logic
    is so simple that there is no point encapsulating it in a gem, so
    we can just use our own Request class. With that, we benefit from
    more robust timeout code and IPv4/IPv6 resolution.
    
    Fix mastodon#14091
    Gargron committed Oct 19, 2020
    Copy the full SHA
    ce6aaed View commit details
    Browse the repository at this point in the history
  7. Copy the full SHA
    3f4ccee View commit details
    Browse the repository at this point in the history
  8. Copy the full SHA
    58c59af View commit details
    Browse the repository at this point in the history
  9. Copy the full SHA
    856cb96 View commit details
    Browse the repository at this point in the history
  10. Change content-type to be always computed from file data (mastodon#14452

    )
    
    * Change content-type to be always computed from file data
    
    Restore previous behavior, detecting the content-type isn't very
    expensive, and some instances may serve files as application/octet-stream
    regardless of their true type, making fetching media from them fail, while
    it used to work pre-3.2.0.
    
    * Add test
    ClearlyClaire authored and Gargron committed Oct 19, 2020
    Copy the full SHA
    399c5f0 View commit details
    Browse the repository at this point in the history
  11. Copy the full SHA
    469c4c7 View commit details
    Browse the repository at this point in the history
  12. Copy the full SHA
    1995a5c View commit details
    Browse the repository at this point in the history
  13. Fix thumbnail color extraction (mastodon#14464)

    * Fix contrast calculation for thumbnail color extraction
    
    Luminance calculation was using 0-255 RGB values instead of 0-1 sRGB values,
    leading to incorrectly-computed contrast values.
    
    Since we use ColorDiff already, just use its XYZ colorspace conversion code
    to get the value.
    
    * Require at least 3:1 contrast for both accent and foreground colors
    
    * Lower required contrast for the accent color
    ClearlyClaire authored and Gargron committed Oct 19, 2020
    Copy the full SHA
    3b699f1 View commit details
    Browse the repository at this point in the history
  14. Copy the full SHA
    6db143e View commit details
    Browse the repository at this point in the history
  15. Copy the full SHA
    8b448ae View commit details
    Browse the repository at this point in the history
  16. Add support for inlined objects in activity audience (mastodon#14514)

    * Add support for inlined objects in activity audience
    
    * Add tests
    ClearlyClaire authored and Gargron committed Oct 19, 2020
    Copy the full SHA
    aea0161 View commit details
    Browse the repository at this point in the history
  17. Fix: also use custom private boost icon for detailed status (mastodon…

    …#14471)
    
    * use custom private boost icon for detail status
    
    * only use className
    OmmyZhang authored and Gargron committed Oct 19, 2020
    Copy the full SHA
    dd3a86e View commit details
    Browse the repository at this point in the history
  18. Fix dereferencing remote statuses not using the correct account (mast…

    …odon#14656)
    
    Follow-up to mastodon#14359
    
    In the case of limited toots, the receiver may not be explicitly part of the
    audience. If a specific user's inbox URI was specified, it makes sense to
    dereference the toot from the corresponding user, instead of trying to find
    someone in the explicit audience.
    ClearlyClaire authored and Gargron committed Oct 19, 2020
    Copy the full SHA
    aa98655 View commit details
    Browse the repository at this point in the history
  19. Add support for latest HTTP Signatures spec draft (mastodon#14556)

    * Add support for latest HTTP Signatures spec draft
    
    https://www.ietf.org/id/draft-ietf-httpbis-message-signatures-00.html
    
    - add support for the “hs2019” signature algorithm (assumed to be equivalent
      to RSA-SHA256, since we do not have a mechanism to specify the algorithm
      within the key metadata yet)
    - add support for (created) and (expires) pseudo-headers and related
      signature parameters, when using the hs2019 signature algorithm
    - adjust default “headers” parameter while being backwards-compatible with
      previous implementation
    - change the acceptable time window logic from 12 hours surrounding the “date”
      header to accepting signatures created up to 1 hour in the future and
      expiring up to 1 hour in the past (but only allowing expiration dates up to
      12 hours after the creation date)
      This doesn't conform with the current draft, as it doesn't permit accounting
      for clock skew.
      This, however, should be addressed in a next version of the draft:
      httpwg/http-extensions#1235
    
    * Add additional signature requirements
    
    * Rewrite signature params parsing using Parslet
    
    * Make apparent which signature algorithm Mastodon on verification failure
    
    Mastodon uses RSASSA-PKCS1-v1_5, which is not recommended for new applications,
    and new implementers may thus unknowingly use RSASSA-PSS.
    
    * Add workaround for PeerTube's invalid signature header
    
    The previous parser allowed incorrect Signature headers, such as
    those produced by old versions of the `http-signature` node.js package,
    and seemingly used by PeerTube.
    
    This commit adds a workaround for that.
    
    * Fix `signature_key_id` raising an exception
    
    Previously, parsing failures would result in `signature_key_id` being nil,
    but the parser changes made that result in an exception.
    
    This commit changes the `signature_key_id` method to return `nil` in case
    of parsing failures.
    
    * Move extra HTTP signature helper methods to private methods
    
    * Relax (request-target) requirement to (request-target) || digest
    
    This lets requests from Plume work without lowering security significantly.
    ClearlyClaire authored and Gargron committed Oct 19, 2020
    Copy the full SHA
    4ea7193 View commit details
    Browse the repository at this point in the history
  20. Bump version to 3.2.1

    Gargron committed Oct 19, 2020
    Copy the full SHA
    a583e54 View commit details
    Browse the repository at this point in the history

Commits on Nov 19, 2020

  1. Copy the full SHA
    92c4d90 View commit details
    Browse the repository at this point in the history

Commits on Dec 27, 2020

  1. Copy the full SHA
    cb085b4 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    1f47e8f View commit details
    Browse the repository at this point in the history
  3. Fix old merges code

    renatolond committed Dec 27, 2020
    Copy the full SHA
    b43c50a View commit details
    Browse the repository at this point in the history

Commits on May 25, 2021

  1. Copy the full SHA
    8ef1767 View commit details
    Browse the repository at this point in the history