Skip to content
Extraits de code Groupes Projets
  1. juin 29, 2018
    • MIYAGI Hikaru's avatar
      Merge `HIDDEN_SERVICE_VIA_TRANSPARENT_PROXY` into `ALLOW_ACCESS_TO_HIDDEN_SERVICE` (#7901) · ddd0bb69
      MIYAGI Hikaru a rédigé
      If Mastodon accesses to the hidden service via transparent proxy, it's needed to avoid checking whether it's a private address, since `.onion` is resolved to a private address.
      I was previously using the `HIDDEN_SERVICE_VIA_TRANSPARENT_PROXY` to provide that function. However, I realized that using `HIDDEN_SERVICE_VIA_TRANSPARENT_PROXY` is redundant, since this specification is always used with `ALLOW_ACCESS_TO_HIDDEN_SERVICE`. Therefore, I decided to integrate the setting of `HIDDEN_SERVICE_VIA_TRANSPARENT_PROXY` into` ALLOW_ACCESS_TO_HIDDEN_SERVICE`.
      ddd0bb69
    • Eugen Rochko's avatar
      Keyword/phrase filtering (#7905) · cdb10134
      Eugen Rochko a rédigé
      * Add keyword filtering
      
          GET|POST       /api/v1/filters
          GET|PUT|DELETE /api/v1/filters/:id
      
      - Irreversible filters can drop toots from home or notifications
      - Other filters can hide toots through the client app
      - Filters use a phrase valid in particular contexts, expiration
      
      * Make sure expired filters don't get applied client-side
      
      * Add missing API methods
      
      * Remove "regex filter" from column settings
      
      * Add tests
      
      * Add test for FeedManager
      
      * Add CustomFilter test
      
      * Add UI for managing filters
      
      * Add streaming API event to allow syncing filters
      
      * Fix tests
      Non vérifiée
      cdb10134
  2. juin 17, 2018
  3. juin 07, 2018
  4. mai 31, 2018
  5. mai 29, 2018
  6. mai 28, 2018
  7. mai 25, 2018
  8. mai 18, 2018
  9. mai 17, 2018
  10. mai 16, 2018
  11. mai 12, 2018
    • ThibG's avatar
      Fetch boosted statuses on behalf of a follower (fixes #7426) (#7459) · 7467361d
      ThibG a rédigé
      When an ActivityPub Announce is processed and the boosted toot is not known,
      fetch it on behalf of one of the booster's followers. This is to allow
      fetching self-boosts of previously-unknown private toots.
      
      If fetching on behalf of a user fails, try fetching it anonymously: the
      selected follower of a boosting user may be banned by the boosted toot's
      author.
      7467361d
  12. mai 10, 2018
  13. mai 09, 2018
  14. mai 07, 2018
  15. mai 06, 2018
  16. mai 05, 2018
  17. mai 04, 2018
  18. mai 03, 2018
    • ThibG's avatar
      Fixes/do not override timestamps (#7336) · a2460596
      ThibG a rédigé
      * Revert "Fixes/do not override timestamps (#7331)"
      
      This reverts commit 581a5c9d.
      
      * Document Snowflake ID corner-case a bit more
      
      Snowflake IDs are used for two purposes: making object identifiers harder to
      guess and ensuring they are in chronological order. For this reason, they
      are based on the `created_at` attribute of the object.
      
      Unfortunately, inserting items with older snowflakes IDs will break the
      assumption of consumers of the paging APIs that new items will always have
      a greater identifier than the last seen one.
      
      * Add `override_timestamps` virtual attribute to not correlate snowflake ID with created_at
      a2460596
    • ThibG's avatar
      Fixes/do not override timestamps (#7331) · 581a5c9d
      ThibG a rédigé
      * Do not override timestamps for incoming toots
      
      * Remove every reference to override_timestamps
      
      Statuses are now created with the announced publishing date
      and are only pushed to timelines if that date is at most
      6 hours earlier than the time at which it is processed.
      581a5c9d
    • Eugen Rochko's avatar
  19. mai 02, 2018
  20. avr. 30, 2018
  21. avr. 26, 2018
    • Eugen Rochko's avatar
      Add entity cache (#7271) · a872392c
      Eugen Rochko a rédigé
      * Add entity cache
      
      Use a caching layer for mentions and custom emojis that are
      dynamically extracted from text.
      
      Reduce duplicate text extractions
      
      * Fix code style issue
      Non vérifiée
      a872392c
  22. avr. 25, 2018
  23. avr. 23, 2018
  24. avr. 22, 2018
  25. avr. 14, 2018
    • Eugen Rochko's avatar
      Add bio fields (#6645) · 78ed4ab7
      Eugen Rochko a rédigé
      * Add bio fields
      
      - Fix #3211
      - Fix #232
      - Fix #121
      
      * Display bio fields in web UI
      
      * Fix output of links and missing fields
      
      * Federate bio fields over ActivityPub as PropertyValue
      
      * Improve how the fields are stored, add to Edit profile form
      
      * Add rel=me to links in fields
      
      Fix #121
      Non vérifiée
      78ed4ab7
  26. avr. 08, 2018
    • Levi Bard's avatar
      Enable updating additional account information from user preferences via rest api (#6789) · cd0eaa34
      Levi Bard a rédigé
      * Enable updating additional account information from user preferences via rest api
      Resolves #6553
      
      * Pacify rubocop
      
      * Decoerce incoming settings in UserSettingsDecorator
      
      * Create user preferences hash directly from incoming credentials instead of going through ActionController::Parameters
      
      * Clean up user preferences update
      
      * Use ActiveModel::Type::Boolean instead of manually checking stringified number equivalence
      cd0eaa34
  27. avr. 07, 2018
  28. avr. 01, 2018
  29. mars 30, 2018
  30. mars 28, 2018
Chargement en cours