Skip to content
Extraits de code Groupes Projets
  1. avr. 08, 2019
  2. avr. 07, 2019
    • Eugen Rochko's avatar
      Improve blocked view of profiles (#10491) · 67b3b62b
      Eugen Rochko a rédigé
      * Revert "Fix filtering of favourited_by, reblogged_by, followers and following (#10447)"
      
      This reverts commit 12054406.
      
      * Revert "Hide blocking accounts from blocked users (#10442)"
      
      This reverts commit 62bafa20.
      
      * Improve blocked view of profiles
      
      - Change "You are blocked" to "Profile unavailable"
      - Hide following/followers in API when blocked
      - Disable follow button and show "Profile unavailable" on public profile as well
      67b3b62b
  3. avr. 03, 2019
  4. avr. 01, 2019
    • ThibG's avatar
      Hide blocking accounts from blocked users (#10442) · 62bafa20
      ThibG a rédigé
      * Revert "Add indication that you have been blocked in web UI (#10420)"
      
      This reverts commit bd02ec6d.
      
      * Revert "Add `blocked_by` relationship to the REST API (#10373)"
      
      This reverts commit 9745de88.
      
      * Hide blocking accounts from search results
      
      * Filter blocking accouts from account followers
      
      * Filter blocking accouts from account's following accounts
      
      * Filter blocking accounts from “reblogged by” and “favourited by” lists
      
      * Remove blocking account from URL search
      
      * Return 410 on trying to fetch user data from a user who blocked us
      
      * Return 410 in /api/v1/account/statuses for suspended or blocking accounts
      
      * Fix status filtering when performing URL search
      
      * Restore some React improvements
      
      Restore some cleanup from bd02ec6d
      
      * Refactor by adding `without_blocking` scope
      62bafa20
    • ThibG's avatar
      Fix more keybase-related test failures (#10443) · 2acd8940
      ThibG a rédigé
      2acd8940
    • slice's avatar
      Improvements to image upload validation and creation (#10431) · 85973f4f
      slice a rédigé
      * Check if image value is nil? before creating an image
      
      Check if uploaded images aren't nil before creating SiteUpload models
      for them.
      
      * Validate presence of file in SiteUpload
      
      * Fix file presence validation
      
      * Fabricate SiteUpload#file
      
      * Add link to Creative Commons license
      85973f4f
  5. mars 30, 2019
  6. mars 28, 2019
  7. mars 27, 2019
  8. mars 23, 2019
    • Eugen Rochko's avatar
      Add validations to admin settings (#10348) · 555c4e11
      Eugen Rochko a rédigé
      * Add validations to admin settings
      
      - Validate correct HTML markup
      - Validate presence of contact username & e-mail
      - Validate that all usernames are valid
      - Validate that enums have expected values
      
      * Fix code style issue
      
      * Fix tests
      555c4e11
  9. mars 20, 2019
  10. mars 18, 2019
    • Eugen Rochko's avatar
      Add Keybase integration (#10297) · 9c4cbdba
      Eugen Rochko a rédigé
      * 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
  11. mars 17, 2019
  12. mars 16, 2019
  13. mars 15, 2019
  14. mars 14, 2019
  15. mars 12, 2019
  16. mars 11, 2019
  17. mars 10, 2019
  18. mars 07, 2019
  19. mars 05, 2019
  20. mars 04, 2019
  21. mars 03, 2019
    • Eugen Rochko's avatar
      Add polls (#10111) · 230a012f
      Eugen Rochko a rédigé
      * 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
  22. fév. 28, 2019
    • ThibG's avatar
      Improved remote thread fetching (#10106) · 9d3c6f18
      ThibG a rédigé
      * Fetch up to 5 replies when discovering a new remote status
      
      This is used for resolving threads downwards. The originating
      server must add a “replies” attributes with such replies for it to
      be useful.
      
      * Add some tests for ActivityPub::FetchRepliesWorker
      
      * Add specs for ActivityPub::FetchRepliesService
      
      * Serialize up to 5 public self-replies for ActivityPub notes
      
      * Add specs for ActivityPub::NoteSerializer
      
      * Move exponential backoff logic to a worker concern
      
      * Fetch first page of paginated collections when fetching thread replies
      
      * Add specs for paginated collections in replies
      
      * Move Note replies serialization to a first CollectionPage
      
      The collection isn't actually paginable yet as it has no id nor
      a `next` field. This may come in another PR.
      
      * Use pluck(:uri) instead of map(&:uri) to improve performances
      
      * Fix fetching replies when they are in a CollectionPage
      9d3c6f18
  23. fév. 26, 2019
    • Eugen Rochko's avatar
      Add type, limit, offset, min_id, max_id, account_id to search API (#10091) · e7f20cc4
      Eugen Rochko a rédigé
      * Add type, limit, offset, min_id, max_id, account_id to search API
      
      Fix #8939
      
      * Make the offset work on accounts and hashtags search as well
      
      * Assure brakeman we are not doing mass assignment here
      
      * Do not allow paginating unless a type is chosen
      
      * Fix search query and index id field on statuses instead of created_at
      e7f20cc4
  24. fév. 17, 2019
  25. fév. 15, 2019
  26. fév. 13, 2019
    • ThibG's avatar
      Alternative handling of private self-boosts (#9998) · 6a5307a5
      ThibG a rédigé
      * 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
  27. fév. 12, 2019
  28. fév. 09, 2019
  29. fév. 04, 2019
    • Eugen Rochko's avatar
      Add featured hashtags to profiles (#9755) · 364f2ff9
      Eugen Rochko a rédigé
      * 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
  30. fév. 03, 2019
  31. fév. 02, 2019
Chargement en cours