Skip to content
Snippets Groups Projects
  1. Jun 20, 2018
  2. Jun 18, 2018
  3. Jun 15, 2018
  4. May 19, 2018
  5. May 16, 2018
  6. May 13, 2018
  7. May 12, 2018
  8. May 06, 2018
  9. May 04, 2018
  10. May 03, 2018
  11. May 02, 2018
    • Eugen Rochko's avatar
      Slightly reduce RAM usage (#7301) · cb5b5cb5
      Eugen Rochko authored
      * No need to re-require sidekiq plugins, they are required via Gemfile
      
      * Add derailed_benchmarks tool, no need to require TTY gems in Gemfile
      
      * Replace ruby-oembed with FetchOEmbedService
      
      Reduce startup by 45382 allocated objects
      
      * Remove preloaded JSON-LD in favour of caching HTTP responses
      
      Reduce boot RAM by about 6 MiB
      
      * Fix tests
      
      * Fix test suite by stubbing out JSON-LD contexts
      cb5b5cb5
  12. Apr 23, 2018
    • Yamagishi Kazutoshi's avatar
      Update dependencies for Ruby (2018-04-23) (#7237) · 9613a53c
      Yamagishi Kazutoshi authored
      * Update annotate to version 2.7.3
      
      * Update aws-sdk-s3 to version 1.9.2
      
      * Update browser to version 2.5.3
      
      * Update capistrano to version 3.10.2
      
      * Update domain_name to version 0.5.20180417
      
      * Update http to version 3.2.0
      
      * Update lograge to version 0.10.0
      
      * Update oj to version 3.5.1
      
      * Update parallel_tests to version 2.21.3
      
      * Update puma to version 3.11.4
      
      * Update rubocop to version 0.55.0
      
      * Update scss_lint to version 0.57.0
      
      * Update simplecov to version 0.16.1
      
      * Update tty-command to version 0.8.0
      
      * Update tty-prompt to version 0.16.0
      
      * Update pkg-config to version 1.3.0
      
      * Update fog-local to version 0.5.0
      
      * Update fog-openstack to version 0.1.25
      
      * Update devise-two-factor to version 3.0.3
      
      * bundle update
      9613a53c
  13. Apr 20, 2018
  14. Apr 12, 2018
  15. Apr 11, 2018
  16. Apr 07, 2018
  17. Mar 30, 2018
  18. Mar 24, 2018
  19. Mar 21, 2018
  20. 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
  21. Mar 17, 2018
  22. Mar 06, 2018
  23. Mar 02, 2018
  24. Feb 28, 2018
  25. Feb 26, 2018
  26. Feb 24, 2018
  27. Feb 21, 2018
    • 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
  28. Feb 16, 2018
  29. Feb 11, 2018
    • Eugen Rochko's avatar
      Interactive `rake mastodon:setup` task (#6451) · cf36d184
      Eugen Rochko authored
      * Add better CLI prompt
      
      * Add rake mastodon:setup interactive wizard
      
      * Test db/redis/smtp configurations and add admin user at the end
      
      * Test database connection even when database does not exist yet
      cf36d184
  30. 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
      3ebc0ad4
  31. 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
      26f21fd5
  32. Feb 02, 2018
    • Alexander's avatar
      pam authentication (#5303) · 04fef7b8
      Alexander authored
      * add pam support, without extra column
      
      * bugfixes for pam login
      
      * document options
      
      * fix code style
      
      * fix codestyle
      
      * fix tests
      
      * don't call remember_me without password
      
      * fix codestyle
      
      * improve checks for pam usage (should fix tests)
      
      * fix remember_me part 1
      
      * add remember_token column because :rememberable requires either a password or this column.
      
      * migrate db for remember_token
      
      * move pam_authentication to the right place, fix logic bug in edit.html.haml
      
      * fix tests
      
      * fix pam authentication, improve username lookup, add comment
      
      * valid? is sometimes not honored, return nil instead trying to authenticate with pam
      
      * update devise_pam_authenticatable2 and adjust code. Fixes sideeffects observed in tests
      
      * update devise_pam_authenticatable gem, fixes for codeconventions, fix finding user
      
      * codeconvention fixes
      
      * code convention fixes
      
      * fix idention
      
      * update dependency, explicit conflict check
      
      * fix disabled password updates if in pam mode
      
      * fix check password if password is present, fix templates
      
      * block registration if account is maintained by pam
      
      * Revert "block registration if account is maintained by pam"
      
      This reverts commit 8e7a083d650240b6fac414926744b4b90b435f20.
      
      * fix identation error introduced by rebase
      
      * block usernames maintained by pam
      
      * document pam settings better
      
      * fix code style
      04fef7b8
  33. Feb 01, 2018
  34. Jan 23, 2018
  35. Jan 21, 2018
  36. Jan 19, 2018
  37. Jan 16, 2018
  38. Jan 04, 2018
Loading