1. 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
  2. 17 Mar, 2019 1 commit
  3. 14 Mar, 2019 2 commits
  4. 07 Mar, 2019 1 commit
  5. 06 Mar, 2019 1 commit
  6. 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
  7. 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
  8. 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
  9. 03 Feb, 2019 1 commit
  10. 28 Jan, 2019 1 commit
  11. 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
  12. 07 Jan, 2019 2 commits
  13. 06 Jan, 2019 1 commit
  14. 05 Jan, 2019 1 commit
  15. 29 Dec, 2018 1 commit
  16. 24 Dec, 2018 1 commit
    • Eugen Rochko's avatar
      Add REST API for creating an account (#9572) · 5d2fc6de
      Eugen Rochko authored
      * Add REST API for creating an account
      
      The method is available to apps with a token obtained via the client
      credentials grant. It creates a user and account records, as well as
      an access token for the app that initiated the request. The user is
      unconfirmed, and an e-mail is sent as usual.
      
      The method returns the access token, which the app should save for
      later. The REST API is not available to users with unconfirmed
      accounts, so the app must be smart to wait for the user to click a
      link in their e-mail inbox.
      
      The method is rate-limited by IP to 5 requests per 30 minutes.
      
      * Redirect users back to app from confirmation if they were created with an app
      
      * Add tests
      
      * Return 403 on the method if registrations are not open
      
      * Require agreement param to be true in the API when creating an account
      5d2fc6de
  17. 22 Dec, 2018 1 commit
    • Eugen Rochko's avatar
      Add moderation warnings (#9519) · 3c033c43
      Eugen Rochko authored
      * Add moderation warnings
      
      Replace individual routes for disabling, silencing, and suspending
      a user, as well as the report update route, with a unified account
      action controller that allows you to select an action (none,
      disable, silence, suspend) as well as whether it should generate an
      e-mail notification with optional custom text. That notification,
      with the optional custom text, is saved as a warning.
      
      Additionally, there are warning presets you can configure to save
      time when performing the above.
      
      * Use Account#local_username_and_domain
      3c033c43
  18. 11 Dec, 2018 1 commit
    • Adam Copp's avatar
      Make custom emoji domains case insensitive #9351 (#9474) · 7d00e4ed
      Adam Copp authored
      * Make custom emoji domains case sensitive #9351
      
      * Fixup style in downcase_domain to comply with codeclimate.
      
      * switch if! to unless
      
      * Don't use transactions, operate in batches.
      
      Also revert spurious schema change.
      7d00e4ed
  19. 06 Dec, 2018 1 commit
  20. 27 Nov, 2018 1 commit
    • Eugen Rochko's avatar
      Change identities id column to a bigint (#9371) · 4afda544
      Eugen Rochko authored
      * fix: change Identity's id column to a bigint
      
      This appears to be the last model created using a 5.0 migration,
      where column types defaulted to `integer` rather than `bigint`.
      
      This migration changes the column type to match that of all of the
      other ID columns.
      
      * Change user_id column in identities to bigint and fix down-migration
      4afda544
  21. 18 Nov, 2018 1 commit
  22. 30 Oct, 2018 1 commit
  23. 28 Oct, 2018 1 commit
  24. 26 Oct, 2018 1 commit
    • Eugen Rochko's avatar
      Add locality check to ActivityPub::FetchRemoteAccountService (#9109) · eef8d9a5
      Eugen Rochko authored
      * Add locality check to ActivityPub::FetchRemoteAccountService
      
      Fix #8643
      
      Because there are a few places where it is called, it is difficult
      to confirm if they all previously checked it for locality. It's better
      to make sure within the service.
      
      * Remove faux-remote duplicates of local accounts
      eef8d9a5
  25. 24 Oct, 2018 1 commit
  26. 20 Oct, 2018 1 commit
  27. 18 Oct, 2018 1 commit
  28. 17 Oct, 2018 1 commit
    • Eugen Rochko's avatar
      Improve support for aspects/circles (#8950) · ddd30f33
      Eugen Rochko authored
      * Add silent column to mentions
      
      * Save silent mentions in ActivityPub Create handler and optimize it
      
      Move networking calls out of the database transaction
      
      * Add "limited" visibility level masked as "private" in the API
      
      Unlike DMs, limited statuses are pushed into home feeds. The access
      control rules between direct and limited statuses is almost the same,
      except for counter and conversation logic
      
      * Ensure silent column is non-null, add spec
      
      * Ensure filters don't check silent mentions for blocks/mutes
      
      As those are "this person is also allowed to see" rather than "this
      person is involved", therefore does not warrant filtering
      
      * Clean up code
      
      * Use Status#active_mentions to limit returned mentions
      
      * Fix code style issues
      
      * Use Status#active_mentions in Notification
      
      And remove stream_entry eager-loading from Notification
      ddd30f33
  29. 09 Oct, 2018 1 commit
  30. 07 Oct, 2018 2 commits
  31. 04 Oct, 2018 2 commits
  32. 21 Aug, 2018 1 commit
  33. 19 Aug, 2018 1 commit
  34. 18 Aug, 2018 1 commit
  35. 15 Aug, 2018 1 commit
  36. 14 Aug, 2018 1 commit