1. 07 Oct, 2019 1 commit
  2. 02 Oct, 2019 1 commit
  3. 29 Sep, 2019 1 commit
    • ThibG's avatar
      Add voters count support (#11917) · 3babf846
      ThibG authored
      * Add voters count to polls
      
      * Add ActivityPub serialization and parsing of voters count
      
      * Add support for voters count in WebUI
      
      * Move incrementation of voters count out of redis lock
      
      * Reword “voters” to “people”
      3babf846
  4. 27 Sep, 2019 1 commit
  5. 19 Sep, 2019 1 commit
    • Eugen Rochko's avatar
      Add account migration UI (#11846) · 3ed94dcc
      Eugen Rochko authored
      Fix #10736
      
      - Change data export to be available for non-functional accounts
      - Change non-functional accounts to include redirecting accounts
      3ed94dcc
  6. 18 Sep, 2019 1 commit
  7. 06 Sep, 2019 1 commit
  8. 02 Sep, 2019 1 commit
  9. 24 Aug, 2019 1 commit
  10. 22 Aug, 2019 1 commit
  11. 19 Aug, 2019 1 commit
  12. 18 Aug, 2019 1 commit
    • Eugen Rochko's avatar
      Add more accurate hashtag search (#11579) · cc0a55cf
      Eugen Rochko authored
      * Add more accurate hashtag search
      
      Using ElasticSearch to index hashtags with edge n-grams and score
      them by usage within the last 7 days since last activity. Only
      hashtags that have been reviewed and are listable can appear in
      searches, unless they match the query exactly
      
      * Fix search analyzer dropping non-ascii characters
      cc0a55cf
  13. 07 Aug, 2019 1 commit
    • ThibG's avatar
      Add domain block notes (#11515) · bced7046
      ThibG authored
      * Add database columns for adding notes to domain blocks/restrctions
      
      * Add admin UI to set private and public comments when blocking a domain
      
      * Add text for private and public comments on domain blocks
      
      * Show domain block comments in admin UI
      
      * Add comments to the domain block undo page
      
      * Make UnblockDomainService more robust regarding upgraded domain blocks
      
      * Allow editing domain blocks
      
      * Rename button from “undo domain block” to “view domain block” in account admin UI
      
      * Change test to unsilence silenced users from upgraded blocks
      bced7046
  14. 05 Aug, 2019 1 commit
    • Eugen Rochko's avatar
      Change admin UI for hashtags and add back whitelisted trends (#11490) · 115dab78
      Eugen Rochko authored
      Fix #271
      
      Add back the `GET /api/v1/trends` API with the caveat that it does
      not return tags that have not been allowed to trend by the staff.
      
      When a hashtag begins to trend (internally) and that hashtag has
      not been previously reviewed by the staff, the staff is notified.
      
      The new admin UI for hashtags allows filtering hashtags by where
      they are used (e.g. in the profile directory), whether they have
      been reviewed or are pending reviewal, they show by how many people
      the hashtag is used in the directory, how many people used it
      today, how many statuses with it have been created today, and it
      allows fixing the name of the hashtag to make it more readable.
      
      The disallowed hashtags feature has been reworked. It is now
      controlled from the admin UI for hashtags instead of from
      the file `config/settings.yml`
      115dab78
  15. 30 Jul, 2019 2 commits
  16. 28 Jul, 2019 3 commits
  17. 21 Jul, 2019 1 commit
  18. 18 Jul, 2019 1 commit
    • ThibG's avatar
      Add ActivityPub actor representing the entire server (#11321) · 730c4053
      ThibG authored
      * Add support for an instance actor
      
      * Skip username validation for local Application accounts
      
      * Add migration script to create instance actor
      
      * Make Codeclimate happy
      
      * Switch to id -99 for instance actor
      
      * Remove unused `icon` and `image` attributes from instance actor
      
      * Use if/elsif/else instead of return + ternary operator
      
      * Add instance actor to fresh installs
      
      * Use instance actor as instance representative
      
      Use instance actor for forwarding reports, relay operations, and spam
      auto-reporting.
      
      * Seed database in test environment
      
      * Fix single-user mode
      
      * Fix tests
      
      * Fix specs to accomodate for an extra `Account`
      
      * Auto-reject follows on instance actor
      
      Following an instance actor might make sense, but we are not handling that
      right now, so auto-reject.
      
      * Fix webfinger lookup and serialization for instance actor
      
      * Rename instance actor
      
      * Make it clear in the HTML view that the instance actor should not be blocked
      
      * Raise cache time for instance actor as there's no dynamic content
      
      * Re-use /about/more with a flash message for instance actor profile
      730c4053
  19. 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
  20. 07 Jul, 2019 1 commit
  21. 28 Jun, 2019 1 commit
  22. 30 May, 2019 1 commit
  23. 19 May, 2019 1 commit
  24. 14 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
  25. 09 May, 2019 1 commit
  26. 27 Apr, 2019 1 commit
    • Eugen Rochko's avatar
      Add blurhash (#10630) · fba96c80
      Eugen Rochko authored
      * Add blurhash
      
      * Use fallback color for spoiler when blurhash missing
      
      * Federate the blurhash and accept it as long as it's at most 5x5
      
      * Display unknown media attachments as blurhash placeholders
      
      * Improve style of embed actions and spoiler button
      
      * Change blurhash resolution from 3x3 to 4x4
      
      * Improve dependency definitions
      
      * Fix code style issues
      fba96c80
  27. 09 Apr, 2019 1 commit
  28. 18 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
  29. 17 Mar, 2019 1 commit
  30. 14 Mar, 2019 2 commits
  31. 06 Mar, 2019 1 commit
  32. 04 Mar, 2019 1 commit
    • ThibG's avatar
      Store remote votes URI (#10158) · 833ffce2
      ThibG authored
      * Store remote votes URI
      
      * Add spec for accepting remote votes
      
      * Make poll vote id generation work the same way as follows
      833ffce2
  33. 03 Mar, 2019 1 commit
    • Eugen Rochko's avatar
      Add polls (#10111) · 230a012f
      Eugen Rochko authored
      * Add polls
      
      Fix #1629
      
      * Add tests
      
      * Fixes
      
      * Change API for creating polls
      
      * Use name instead of content for votes
      
      * Remove poll validation for remote polls
      
      * Add polls to public pages
      
      * When updating the poll, update options just in case they were changed
      
      * Fix public pages showing both poll and other media
      230a012f
  34. 04 Feb, 2019 1 commit
    • Eugen Rochko's avatar
      Add featured hashtags to profiles (#9755) · 364f2ff9
      Eugen Rochko authored
      * Add hashtag filter to profiles
      
      GET /@:username/tagged/:hashtag
      GET /api/v1/accounts/:id/statuses?tagged=:hashtag
      
      * Display featured hashtags on public profile
      
      * Use separate model for featured tags
      
      * Update featured hashtag counters on-write
      
      * Limit featured tags to 10
      364f2ff9
  35. 03 Feb, 2019 1 commit
  36. 18 Jan, 2019 1 commit
    • ThibG's avatar
      Add tombstones for remote statuses (#9830) · 75b1488c
      ThibG authored
      * Add Tombstone model to remember object deletion
      
      * Do not recreate a status if it has been deleted
      
      * Record Tombstone for remote deleted items
      
      Also, only record deleted items from same-host actors
      
      * Clear an user's tombstones when their key change
      75b1488c