Skip to content
Extraits de code Groupes Projets
  1. fév. 21, 2018
    • Eugen Rochko's avatar
      Fix avatar and header issues by using custom geometry detector (#6515) · a7171af0
      Eugen Rochko a rédigé
      * 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
      Non vérifiée
      a7171af0
  2. fév. 20, 2018
  3. fév. 17, 2018
  4. fév. 16, 2018
  5. fév. 13, 2018
  6. fév. 11, 2018
  7. fév. 09, 2018
    • Eugen Rochko's avatar
      Full-text search for authorized statuses (#6423) · 3ebc0ad4
      Eugen Rochko a rédigé
      * 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
      Non vérifiée
      3ebc0ad4
  8. fév. 08, 2018
  9. fév. 04, 2018
  10. fév. 02, 2018
    • Alexander's avatar
      pam authentication (#5303) · 04fef7b8
      Alexander a rédigé
      * 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
  11. jan. 31, 2018
  12. jan. 29, 2018
  13. jan. 28, 2018
  14. jan. 26, 2018
  15. jan. 24, 2018
  16. jan. 22, 2018
  17. jan. 21, 2018
  18. jan. 20, 2018
    • SerCom_KC's avatar
      Update Simplified Chinese translations (#6306) · 80b3ca0f
      SerCom_KC a rédigé
      * i18n: (zh-CN) Add translations of #6251
      
      * i18n: (zh-CN) Improve translations for #6291
      
      * Fix en.json
      
      * i18n: (zh-CN) Update translations for #6303
      
      * i18n: (zh-CN) Add translations of #6273
      with minor adjustment
      
      * Minor fix
      
      * Minor fix
      80b3ca0f
    • Eugen Rochko's avatar
      Improve HTML e-mails based on Litmus tests (#6301) · 872a0d5b
      Eugen Rochko a rédigé
      * Use PNG images in HTML e-mails
      
      * Make webpack use URLs with host so fonts load inside HTML e-mails
      
      Convert this back to a relative URL in the premailer CSS loader
      since local requests are quicker
      
      * Improve responsive design
      
      * Add missing PNG icon
      Non vérifiée
      872a0d5b
  19. jan. 19, 2018
  20. jan. 18, 2018
  21. jan. 17, 2018
  22. jan. 16, 2018
  23. jan. 15, 2018
Chargement en cours