1. 09 Feb, 2020 1 commit
  2. 24 Jan, 2020 1 commit
  3. 11 Jan, 2020 1 commit
    • ThibG's avatar
      Add support for linking XMPP URIs in toots (#12709) · ea436b35
      ThibG authored
      * Fix wrong grouping in Twitter valid_url regex
      
      * Add support for xmpp URIs
      
      Fixes #9776
      
      The difficult part is autolinking, because Twitter-text's extractor does
      some pretty ad-hoc stuff to find things that “look like” URLs, and XMPP
      URIs do not really match the assumptions of that lib, so it doesn't sound
      wise to try to shoehorn it into the existing regex.
      
      This is why I used a specific regex (very close, although slightly more
      permissive than the RFC), and a specific scan function (a simplified version
      of the generalized one from Twitter).
      
      * Remove leading “xmpp:” from auto-linked text
      ea436b35
  4. 17 Dec, 2019 1 commit
  5. 04 Nov, 2019 1 commit
  6. 25 Oct, 2019 1 commit
  7. 09 Oct, 2019 1 commit
  8. 28 Sep, 2019 1 commit
    • ThibG's avatar
      Change silences to always require approval on follow (#11975) · 18b451c0
      ThibG authored
      * Change silenced accounts to require approval on follow
      
      * Also require approval for follows by people explicitly muted by target accounts
      
      * Do not auto-accept silenced or muted accounts when switching from locked to unlocked
      
      * Add `follow_requests_count` to verify_credentials
      
      * Show “Follow requests” menu item if needed even if account is locked
      
      * Add tests
      
      * Correctly reflect that follow requests weren't auto-accepted when local account is silenced
      
      * Accept follow requests from user-muted accounts to avoid leaking mutes
      18b451c0
  9. 18 Sep, 2019 1 commit
  10. 04 Sep, 2019 1 commit
  11. 30 Jul, 2019 1 commit
  12. 27 Jul, 2019 1 commit
  13. 22 Jul, 2019 1 commit
    • ThibG's avatar
      Play animated custom emoji on hover (#11348) · 7de8c518
      ThibG authored
      * 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
      7de8c518
  14. 19 Jul, 2019 1 commit
  15. 18 Jul, 2019 1 commit
  16. 13 Jul, 2019 1 commit
    • Eugen Rochko's avatar
      Add a spam check (#11217) · 6ff67be0
      Eugen Rochko authored
      * Add a spam check
      
      * Use Nilsimsa to generate locality-sensitive hashes and compare using Levenshtein distance
      
      * Add more tests
      
      * Add exemption when the message is a reply to something that mentions the sender
      
      * Use Nilsimsa Compare Value instead of Levenshtein distance
      
      * Use MD5 for messages shorter than 10 characters
      
      * Add message to automated report, do not add non-public statuses to
      automated report, add trust level to accounts and make unsilencing
      raise the trust level to prevent repeated spam checks on that account
      
      * Expire spam check data after 3 months
      
      * Add support for local statuses, reduce expiration to 1 week, always create a report
      
      * Add content warnings to the spam check and exempt empty statuses
      
      * Change Nilsimsa threshold to 95 and make sure removed statuses are removed from the spam check
      
      * Add all matched statuses into automatic report
      6ff67be0
  17. 07 Jul, 2019 2 commits
  18. 02 Jul, 2019 1 commit
    • Eugen Rochko's avatar
      Add request pool to improve delivery performance (#10353) · 0d9ffe56
      Eugen Rochko authored
      * Add request pool to improve delivery performance
      
      Fix #7909
      
      * Ensure connection is closed when exception interrupts execution
      
      * Remove Timeout#timeout from socket connection
      
      * Fix infinite retrial loop on HTTP::ConnectionError
      
      * Close sockets on failure, reduce idle time to 90 seconds
      
      * Add MAX_REQUEST_POOL_SIZE option to limit concurrent connections to the same server
      
      * Use a shared pool size, 512 by default, to stay below open file limit
      
      * Add some tests
      
      * Add more tests
      
      * Reduce MAX_IDLE_TIME from 90 to 30 seconds, reap every 30 seconds
      
      * Use a shared pool that returns preferred connection but re-purposes other ones when needed
      
      * Fix wrong connection being returned on subsequent calls within the same thread
      
      * Reduce mutex calls on flushes from 2 to 1 and add test for reaping
      0d9ffe56
  19. 25 Jun, 2019 1 commit
    • ThibG's avatar
      Apply filters to poll options (#11174) · 47ef4a6c
      ThibG authored
      * Apply filters to poll options in WebUI
      
      Fixes #11128
      
      * Apply filters to poll options server-side
      
      * Add poll options to searchable text
      47ef4a6c
  20. 17 Jun, 2019 1 commit
  21. 05 Jun, 2019 1 commit
  22. 15 May, 2019 1 commit
    • ThibG's avatar
      Record account suspend/silence time and keep track of domain blocks (#10660) · 14f6ce28
      ThibG authored
      * Record account suspend/silence time and keep track of domain blocks
      
      * Also unblock users who were suspended/silenced before dates were recorded
      
      * Add tests
      
      * Keep track of suspending date for users suspended through the CLI
      
      * Show accurate number of accounts that would be affected by unsuspending an instance
      
      * Change migration to set silenced_at and suspended_at
      
      * Revert "Also unblock users who were suspended/silenced before dates were recorded"
      
      This reverts commit a015c65d2d1e28c7b7cfab8b3f8cd5fb48b8b71c.
      
      * Switch from using suspended and silenced to suspended_at and silenced_at
      
      * Add post-deployment migration script to remove `suspended` and `silenced` columns
      
      * Use Account#silence! and Account#suspend! instead of updating the underlying property
      
      * Add silenced_at and suspended_at migration to post-migration
      
      * Change account fabricator to translate suspended and silenced attributes
      
      * Minor fixes
      
      * Make unblocking domains always retroactive
      14f6ce28
  23. 10 May, 2019 1 commit
  24. 11 Apr, 2019 1 commit
  25. 28 Mar, 2019 1 commit
  26. 27 Mar, 2019 1 commit
  27. 19 Mar, 2019 1 commit
    • Eugen Rochko's avatar
      Add Keybase integration (#10297) · 9c4cbdba
      Eugen Rochko authored
      * create account_identity_proofs table
      
      * add endpoint for keybase to check local proofs
      
      * add async task to update validity and liveness of proofs from keybase
      
      * first pass keybase proof CRUD
      
      * second pass keybase proof creation
      
      * clean up proof list and add badges
      
      * add avatar url to keybase api
      
      * Always highlight the “Identity Proofs” navigation item when interacting with proofs.
      
      * Update translations.
      
      * Add profile URL.
      
      * Reorder proofs.
      
      * Add proofs to bio.
      
      * Update settings/identity_proofs front-end.
      
      * Use `link_to`.
      
      * Only encode query params if they exist.
      
      URLs without params had a trailing `?`.
      
      * Only show live proofs.
      
      * change valid to active in proof list and update liveness before displaying
      
      * minor fixes
      
      * add keybase config at well-known path
      
      * extremely naive feature flagging off the identity proof UI
      
      * fixes for rubocop
      
      * make identity proofs page resilient to potential keybase issues
      
      * normalize i18n
      
      * tweaks for brakeman
      
      * remove two unused translations
      
      * cleanup and add more localizations
      
      * make keybase_contacts an admin setting
      
      * fix ExternalProofService my_domain
      
      * use Addressable::URI in identity proofs
      
      * use active model serializer for keybase proof config
      
      * more cleanup of keybase proof config
      
      * rename proof is_valid and is_live to proof_valid and proof_live
      
      * cleanup
      
      * assorted tweaks for more robust communication with keybase
      
      * Clean up
      
      * Small fixes
      
      * Display verified identity identically to verified links
      
      * Clean up unused CSS
      
      * Add caching for Keybase avatar URLs
      
      * Remove keybase_contacts setting
      9c4cbdba
  28. 17 Mar, 2019 2 commits
  29. 15 Mar, 2019 1 commit
  30. 08 Mar, 2019 1 commit
  31. 05 Mar, 2019 2 commits
  32. 04 Mar, 2019 1 commit
  33. 17 Feb, 2019 2 commits
  34. 16 Feb, 2019 1 commit
  35. 14 Feb, 2019 1 commit
    • ThibG's avatar
      Alternative handling of private self-boosts (#9998) · 6a5307a5
      ThibG authored
      * 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
      6a5307a5
  36. 10 Feb, 2019 1 commit