Skip to content
Snippets Groups Projects
  1. Apr 11, 2018
  2. Apr 10, 2018
  3. Apr 08, 2018
    • Levi Bard's avatar
      Enable updating additional account information from user preferences via rest api (#6789) · cd0eaa34
      Levi Bard authored
      * 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
  4. Apr 03, 2018
  5. 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
  6. Apr 01, 2018
  7. Mar 27, 2018
  8. 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
  9. Mar 24, 2018
  10. Mar 20, 2018
    • Rey Tucker's avatar
      request: in the event of failure, try other IPs (#6761) (#6813) · 36b57037
      Rey Tucker authored
      * request: in the event of failure, try other IPs (#6761)
      
      In the case where a name has multiple A/AAAA records, we should
      try subsequent records instead of immediately failing when we have a
      failure on the first IP address.
      
      This significantly improves delivery success when there are network
      connectivity problems affecting only IPv4 or IPv6.
      
      * fix method call style
      
      * request_spec: adjust test case to use Addrinfo
      
      * request: Request/open: move private addr check to within begin/rescue
      
      * request_spec: add case to test failover, fix exception check
      
      * Double Addrinfo.foreach so that it correctly yields instances
      36b57037
  11. Mar 07, 2018
  12. Mar 05, 2018
  13. Mar 04, 2018
  14. Feb 28, 2018
  15. Feb 24, 2018
  16. Feb 22, 2018
    • Eugen Rochko's avatar
      Redesign landing page (again) (#6486) · c71aa468
      Eugen Rochko authored
      * Redesign landing page (again)
      
      * Move login form in small version to the right column
      
      * Display closed registrations message
      
      * Add site setting for the hero image
      
      * Fix test
      
      * Increase spacing, maximum width, change call to action section
      Unverified
      c71aa468
  17. Feb 21, 2018
    • Eugen Rochko's avatar
      Fix bug in relationships API introduced by #6482 (#6527) · 4bc62516
      Eugen Rochko authored
      It was merge when it needed to be deep_merge. And added some tests
      Unverified
      4bc62516
    • 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
      Unverified
      61ed133f
  18. Feb 20, 2018
  19. Feb 18, 2018
  20. Feb 17, 2018
    • Akihiko Odaki's avatar
      Isolate each specs for cache store (#6450) · 9b8a4484
      Akihiko Odaki authored
      The cache store is explicitly used by some specs, but they were not
      isolated and therefore not reliable. This fixes the issue by clearing
      the cache after each specs.
      9b8a4484
    • Akihiko Odaki's avatar
      Limit the languages used for notification mailer test (#6487) · a7c50c7a
      Akihiko Odaki authored
      Some available languages lack translations for notification mails. Now it
      tests for two languages which is certain to have required translations:
      German and English.
      
      German is the language the current project owner, Eugen Rochko speaks, and
      providing English translations for new messages is de facto mandatory.
      a7c50c7a
  21. Feb 16, 2018
  22. Feb 11, 2018
  23. Feb 10, 2018
  24. Feb 09, 2018
    • Eugen Rochko's avatar
      Full-text search for authorized statuses (#6423) · 3ebc0ad4
      Eugen Rochko authored
      * Add full-text search for authorized statuses
      
      - Search API will return statuses that match the query
      - Only for logged in users
      - Only if you are author of the status,
      - Or you were mentioned in it
      - Or you favourited or reblogged it
      - Configuration over `ES_ENABLED`, `ES_HOST`, `ES_PORT`, `ES_PREFIX`
      - Run `rails chewy:deploy` to create & populate index
      
      Fix #5880
      Fix #4293
      Fix #1152
      
      * Add commented out docker-compose configuration for ES container
      
      * Optimize index import, filter search results
      
      * Add basic normalization to the index
      
      * Add better stemming and normalization to the index
      
      * Skip webfinger request if search query includes both @ and a space
      
      * Fix code style
      
      * Visually separate search result sections
      
      * Fix code style issues
      Unverified
      3ebc0ad4
  25. Feb 08, 2018
  26. Feb 07, 2018
  27. Feb 04, 2018
    • Eugen Rochko's avatar
      CAS + SAML authentication feature (#6425) · 26f21fd5
      Eugen Rochko authored
      * Cas authentication feature
      
      * Config
      
      * Remove class_eval + Omniauth initializer
      
      * Codeclimate review
      
      * Codeclimate review 2
      
      * Codeclimate review 3
      
      * Remove uid/email reconciliation
      
      * SAML authentication
      
      * Clean up code
      
      * Improve login form
      
      * Fix code style issues
      
      * Add locales
      Unverified
      26f21fd5
  28. Feb 02, 2018
Loading