Skip to content
Extraits de code Groupes Projets
  1. jan. 08, 2019
  2. jan. 05, 2019
  3. jan. 04, 2019
    • ThibG's avatar
      Add quick links to the admin interface in the WebUI (#8545) · 6f9a7bd0
      ThibG a rédigé
      * Allow to show a specific status in the admin interface
      
      * Let the front-end know the current account is a moderator
      
      * Add admin links to status and account menus
      
      If the current logged-in user is an admin, add quick links to the admin
      interface in account and toot dropdown menu. Suggestion by @ashkitten
      
      * Use @statuses.first instead of @statuses[0]
      6f9a7bd0
  4. jan. 01, 2019
  5. déc. 27, 2018
    • chr v1.x's avatar
      Add local followers page to admin account UI (#9610) · c3465f69
      chr v1.x a rédigé
      * Add local followers page to admin account UI
      
      For moderation, I often find myself wondering who, locally, is following
      a remote user. Currently, to see this, I have to go back to the web UI,
      paste in their full handle, click their profile, and go to the
      "Followers" tab (plus, this information is incidental, and if mastodon
      ever decides to resolve all of the follower information, there will be
      no place local followers are shown). This PR adds a new page which is
      accessible via the "following" count on the admin's account view
      page, which shows the local followers. (It has filter parameters for
      account location to indicate that only local followers are shown, and
      leave room for expansion if mastodon ever decides to store the entire
      remote follow list).
      
      * Normalize en.yml
      c3465f69
  6. déc. 24, 2018
    • Eugen Rochko's avatar
      Add REST API for creating an account (#9572) · 5d2fc6de
      Eugen Rochko a rédigé
      * 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
      Non vérifiée
      5d2fc6de
  7. déc. 22, 2018
    • Eugen Rochko's avatar
      Add moderation warnings (#9519) · 3c033c43
      Eugen Rochko a rédigé
      * 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
      Non vérifiée
      3c033c43
  8. déc. 17, 2018
  9. déc. 11, 2018
  10. déc. 06, 2018
  11. oct. 18, 2018
  12. oct. 07, 2018
  13. sept. 29, 2018
  14. sept. 28, 2018
    • Eugen Rochko's avatar
      Support min_id-based pagination in REST API (#8736) · f0fff3eb
      Eugen Rochko a rédigé
      * Allow min_id pagination in Feed#get
      
      * Add min_id pagination to home and list timeline APIs
      
      * Add min_id pagination to account statuses, public and tag APIs
      
      * Remove unused stub in reports API
      
      * Use min_id pagination in notifications, favourites, and fix order
      
      * Fix HomeFeed#from_database not using paginate_by_id
      Non vérifiée
      f0fff3eb
  15. sept. 02, 2018
  16. août 24, 2018
  17. août 22, 2018
  18. août 20, 2018
  19. août 18, 2018
  20. août 09, 2018
  21. juil. 15, 2018
  22. juil. 13, 2018
  23. juil. 07, 2018
  24. juil. 02, 2018
    • Eugen Rochko's avatar
      Re-add follow recommendations API (#7918) · da8fe807
      Eugen Rochko a rédigé
      * Re-add follow recommendations API
      
          GET /api/v1/suggestions
      
      Removed in 8efa081f due to Neo4J
      dependency. The algorithm uses triadic closures, takes into account
      suspensions, blocks, mutes, domain blocks, excludes locked and moved
      accounts, and prefers more recently updated accounts.
      
      * Track interactions with people you don't follow
      
      Replying to, favouriting and reblogging someone you're not following
      will make them show up in follow recommendations. The interactions
      have different weights:
      
      - Replying is 1
      - Favouriting is 10 (decidedly positive interaction, but private)
      - Reblogging is 20
      
      Following them, muting or blocking will remove them from the list,
      obviously.
      
      * Remove triadic closures, ensure potential friendships are trimmed
      Non vérifiée
      da8fe807
  25. juin 29, 2018
    • 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
  26. juin 04, 2018
    • Eugen Rochko's avatar
      Remove trending hashtags (#7711) · 0deb9fa6
      Eugen Rochko a rédigé
      * Delete trends_controller.rb
      
      * Update routes.rb
      
      * Update trending_tags.rb
      
      * Update index.js
      
      * Update index.js
      
      * Update search_results.js
      
      * Update async-components.js
      
      * Update index.js
      
      * Delete trends.js
      
      * Delete trends.js
      
      * Delete trends_container.js
      
      * Delete trends.js
      
      * Update search_results.js
      
      * Update search_results_container.js
      Non vérifiée
      0deb9fa6
  27. mai 29, 2018
  28. mai 27, 2018
    • Eugen Rochko's avatar
      Track trending tags (#7638) · 9bd23dc4
      Eugen Rochko a rédigé
      * Track trending tags
      
      - Half-life of 1 day
      - Historical usage in daily buckets (last 7 days stored)
      - GET /api/v1/trends
      
      Fix #271
      
      * Add trends to web UI
      
      * Don't render compose form on search route, adjust search results header
      
      * Disqualify tag from trends if it's in disallowed hashtags setting
      
      * Count distinct accounts using tag, ignore silenced accounts
      Non vérifiée
      9bd23dc4
  29. mai 19, 2018
  30. mai 13, 2018
  31. mai 11, 2018
  32. mai 06, 2018
  33. mai 05, 2018
  34. avr. 18, 2018
    • Kaito Sinclaire's avatar
      Direct messages column (#4514) · 156b916c
      Kaito Sinclaire a rédigé
      * Added a timeline for Direct statuses
      * Lists all Direct statuses you've sent and received
      * Displayed in Getting Started
      * Streaming server support for direct TL
      
      * Changes to match other timelines in 2.0
      156b916c
  35. avr. 10, 2018
  36. avr. 08, 2018
    • ThibG's avatar
      Fix follow/unfollow buttons on public profile (fixes #7036) (#7040) · 1364e9e4
      ThibG a rédigé
      * Fix follow/unfollow buttons on public profile
      
      - Present non-logged users with web+mastodon:// URLs for remote accounts
      - Present logged-in users with appropriate links (authorize_follows and
        remote_unfollows) for remote accounts
      
      * Do not cache rendered cards if user is logged in
      1364e9e4
  37. avr. 02, 2018
    • Emelia Smith's avatar
      Feature: Report improvements (#6967) (#7000) · e85cffb2
      Emelia Smith a rédigé
      * Implement Assignment of Reports (#6967)
      
      * Change translation of admin.report.comment.label to "Report Comment" for clarity
      
      As we'll soon add the ability for reports to have comments on them, this clarification makes sense.
      
      * Implement notes for Reports
      
      This enables moderators to leave comments about a report whilst they work on it
      
      * Fix display of report moderation notes
      
      * Allow reports to be reopened / marked as unresolved
      
      * Redirect to reports listing upon resolution of report
      
      * Implement "resolve with note" functionality
      
      * Add inverse relationship for report notes
      
      * Remove additional database querying when loading report notes
      
      * Fix tests for reports
      
      * Fix localisations for report notes / reports
      e85cffb2
    • Emelia Smith's avatar
Chargement en cours