Skip to content
Snippets Groups Projects
  1. Apr 14, 2018
    • Eugen Rochko's avatar
      Add bio fields (#6645) · 78ed4ab7
      Eugen Rochko authored
      * 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
      78ed4ab7
  2. Apr 12, 2018
  3. Apr 11, 2018
    • Akihiko Odaki's avatar
      Paginate ancestor statuses in public page (#7102) · 519119f6
      Akihiko Odaki authored
      This also limits the statuses returned by API, but pagination is not
      implemented in Web API yet. I still expect it brings user experience
      better than making a user wait to fetch all ancestor statuses and flooding
      the column with them.
      519119f6
  4. Apr 10, 2018
    • Emelia Smith's avatar
      Feature: Improve reports ui (#7032) · d9b62e34
      Emelia Smith authored
      * Further improvements to Reports UI
      
      - Clean up notes display
      - Clean up add new note form
      - Simplify controller
      - Allow reopening a report with a note
      - Show created at date for reports
      - Fix report details table formatting
      
      * Show history of report using Admin::ActionLog beneath the report
      
      * Fix incorrect log message when reopening a report
      
      * Implement fetching of all ActionLog items that could be related to the report
      
      * Ensure adding a report_note updates the report's updated_at
      
      * Limit Report History to actions that happened between the report being created and the report being resolved
      
      * Fix linting issues
      
      * Improve report history builder
      
      Thanks @gargron for the improvements
      d9b62e34
    • bb's avatar
      8f800ad6
    • Emelia Smith's avatar
      Feature: Allow staff to change user emails (#7074) · 219a4423
      Emelia Smith authored
      * Admin: Show unconfirmed email address on account page
      
      * Admin: Allow staff to change user email addresses
      
      * ActionLog: On change_email, log current email address and new unconfirmed email address
      219a4423
    • MIYAGI Hikaru's avatar
      Fix GIFV encoding params (#7098) · e6e93ecd
      MIYAGI Hikaru authored
      - Explicitly specify video codec.
        When ffmpeg isn't compiled with libx264 but openh264, mpeg4 is selected as video codec.
      - Swap avarage bitrate and max bitrate.
      e6e93ecd
  5. Apr 09, 2018
  6. Apr 02, 2018
    • Emelia Smith's avatar
      Feature: Report improvements (#6967) (#7000) · e85cffb2
      Emelia Smith authored
      * 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
  7. Apr 01, 2018
  8. Mar 27, 2018
    • Eugen Rochko's avatar
      Fix UniqueUsernameValidator comparison (#6926) · 2a90da18
      Eugen Rochko authored
      Comparison was downcasing only one side, therefore if previously
      existing account had a non-lowercase spelling, it would be ignored
      when checking for duplicates.
      
      New rake task `mastodon:maintenance:find_duplicate_usernames` will
      help find constraint violations that might have occured from the
      presence of this bug.
      
      Bump version to 2.3.3
      2a90da18
  9. Mar 26, 2018
    • Akihiko Odaki's avatar
      Validate HTTP response length while receiving (#6891) · 40e5d230
      Akihiko Odaki authored
      to_s method of HTTP::Response keeps blocking while it receives the whole
      content, no matter how it is big. This means it may waste time to receive
      unacceptably large files. It may also consume memory and disk in the
      process. This solves the inefficency by checking response length while
      receiving.
      40e5d230
  10. Mar 24, 2018
  11. Mar 22, 2018
  12. Mar 21, 2018
  13. Mar 19, 2018
    • Alexander's avatar
      bugfixes and gem update (#6831) · 0306e3e9
      Alexander authored
      * update to new version of devise_pam_authenticatable2
      
      * fix behaviour if suffix is nil, fix environment loading, fix user email creation
      
      * code cleanup/fix linter warning
      0306e3e9
  14. Mar 17, 2018
  15. Mar 11, 2018
  16. Mar 08, 2018
    • Renato "Lond" Cerqueira's avatar
      Rescue when there's no extension in the remotable (#6358) · 9aba44ea
      Renato "Lond" Cerqueira authored
      * Rescue when there's no extension in the remotable
      Sometimes the remotable is pointing to a directory with no file
      extension. Maybe it should not be expecting to identify based on
      extensions to begin with, but since it's the case, it should be ready
      for it.
      
      * Fix codeclimate issue
      
      * Check if filename is nil instead of rescueing exception
      Suggestion made in the PR
      
      * Avoid concatenation issue if filename is nil
      If filename is nil, extname was undefined
      
      * Invert condition
      Address PR comments
      9aba44ea
  17. Mar 07, 2018
  18. Mar 06, 2018
  19. Mar 04, 2018
  20. Feb 28, 2018
  21. Feb 26, 2018
    • Ian McCowan's avatar
      Fix prev/next links on public profile page (#6497) · c33931b6
      Ian McCowan authored
      * Fix prev/next links on public profile page
      
      * Don't make pagination urls if no available statuses
      
      * Fix empty check method
      
      * Put left chevron before prev page link
      
      * Add scope for pagination "starting at" a given id
      
      * Status pagination try 2:
      
      s/prev/older and s/next/newer
      "older" on left, "newer" on right
      Use new scope for "newer" link
      Extract magic 20 page size to constant
      Remove max_id from feed pagination as it's not respected
      
      * Reinstate max_id for accounts atom stream
      
      * normalize
      c33931b6
    • Eugen Rochko's avatar
      Ensure the app does not even start if OTP_SECRET is not set (#6557) · 5cc71668
      Eugen Rochko authored
      * Ensure the app does not even start if OTP_SECRET is not set
      
      * Remove PAPERCLIP_SECRET (it's not used by anything, actually)
      
      Imports are for internal consumption and the url option isn't even
      used correctly, so we can remove the hash stuff from them
      5cc71668
  22. Feb 23, 2018
  23. Feb 22, 2018
  24. Feb 21, 2018
    • Eugen Rochko's avatar
      Focal points (#6520) · 90f12f2e
      Eugen Rochko authored
      * Add focus param to media API, center thumbnails on focus point
      
      * Add UI for setting a focal point
      
      * Improve focal point icon on upload item
      
      * Use focal point in upload preview
      
      * Add focalPoint property to ActivityPub
      
      * Don't show focal point button for non-image attachments
      90f12f2e
    • Eugen Rochko's avatar
    • Eugen Rochko's avatar
      Account archive download (#6460) · 61ed133f
      Eugen Rochko authored
      * Fix #201: Account archive download
      
      * Export actor and private key in the archive
      
      * Optimize BackupService
      
      - Add conversation to cached associations of status, because
        somehow it was forgotten and is source of N+1 queries
      - Explicitly call GC between batches of records being fetched
        (Model class allocations are the worst offender)
      - Stream media files into the tar in 1MB chunks
        (Do not allocate media file (up to 8MB) as string into memory)
      - Use #bytesize instead of #size to calculate file size for JSON
        (Fix FileOverflow error)
      - Segment media into subfolders by status ID because apparently
        GIF-to-MP4 media are all named "media.mp4" for some reason
      
      * Keep uniquely generated filename in Paperclip::GifTranscoder
      
      * Ensure dumped files do not overwrite each other by maintaing directory partitions
      
      * Give tar archives a good name
      
      * Add scheduler to remove week-old backups
      
      * Fix code style issue
      61ed133f
    • Eugen Rochko's avatar
      Fix avatar and header issues by using custom geometry detector (#6515) · a7171af0
      Eugen Rochko authored
      * Fix avatar and header issues by using custom geometry detector
      
      Revert a part of #6508. The file passed to dynamic styles method
      was not actually a file, but an instance of Paperclip::Attachment,
      which broke all styles by always returning {} from the method.
      
      One problem with GIF avatars was that Paperclip::GeometryDetector
      reported wrong dimensions for them, e.g. 120x120 GIF avatar would
      for some reason be detected as 120x53. By writing our own geometry
      parser, we can use FastImage, which also happens to be faster than
      ImageMagick, to detect image dimensions, which are also correct.
      
      Unfortunately, this PR does not implement skipping a `convert`
      entirely if the dimensions are already correct, as I found no easy
      way to write that behaviour into Paperclip without rewriting the
      Paperclip::Thumbnail class.
      
      * Only invoke convert if dimension or format needs to be changed
      a7171af0
  25. Feb 19, 2018
  26. Feb 18, 2018
  27. Feb 17, 2018
  28. Feb 16, 2018
Loading