Skip to content
Snippets Groups Projects
  1. Aug 24, 2020
  2. Aug 12, 2020
    • ThibG's avatar
      Improve email address validation (#14565) · 8d217d72
      ThibG authored
      * Increase DNS timeout from 1 second to 5 seconds for MX check
      
      1 seconds is rather short when using a recursive DNS resolver which
      hasn't got a cached result already available. Use 5 seconds instead,
      which is the timeout value we use for outgoing HTTP queries.
      
      * Add more precise error messages for invalid e-mail addresses
      8d217d72
  3. Aug 09, 2020
  4. Aug 02, 2020
    • ThibG's avatar
      Fix thumbnail color extraction (#14464) · 0ebc8d86
      ThibG authored
      * Fix contrast calculation for thumbnail color extraction
      
      Luminance calculation was using 0-255 RGB values instead of 0-1 sRGB values,
      leading to incorrectly-computed contrast values.
      
      Since we use ColorDiff already, just use its XYZ colorspace conversion code
      to get the value.
      
      * Require at least 3:1 contrast for both accent and foreground colors
      
      * Lower required contrast for the accent color
      0ebc8d86
    • ThibG's avatar
      Change content-type to be always computed from file data (#14452) · a1412491
      ThibG authored
      * Change content-type to be always computed from file data
      
      Restore previous behavior, detecting the content-type isn't very
      expensive, and some instances may serve files as application/octet-stream
      regardless of their true type, making fetching media from them fail, while
      it used to work pre-3.2.0.
      
      * Add test
      a1412491
  5. Jul 26, 2020
  6. Jul 24, 2020
  7. Jul 19, 2020
  8. Jul 15, 2020
  9. Jul 14, 2020
  10. Jul 10, 2020
  11. Jul 07, 2020
  12. Jul 05, 2020
  13. Jul 03, 2020
  14. Jul 01, 2020
  15. Jun 30, 2020
  16. Jun 29, 2020
    • Eugen Rochko's avatar
      Add customizable thumbnails for audio and video attachments (#14145) · 64aac307
      Eugen Rochko authored
      - Change audio files to not be stripped of metadata
      - Automatically extract cover art from audio if it exists
      - Add `thumbnail` parameter to `POST /api/v1/media`, `POST /api/v2/media` and `PUT /api/v1/media/:id`
      - Add `icon` to represent it in attachments in ActivityPub
      - Fix `preview_url` containing URL of missing missing image when there is no thumbnail instead of null
      - Fix duration of audio not being displayed on public pages until the file is loaded
      64aac307
  17. Jun 27, 2020
    • Eugen Rochko's avatar
      Remove the terms blacklist and whitelist from UX (#14149) · 8c04e37b
      Eugen Rochko authored
      Localization strings:
      
      - "Whitelist mode" -> "Limited federation mode"
      - "Blacklist e-mail domain" -> "Block e-mail domain"
      - "Whitelist domain" -> "Allow domain for federation"
      
      ...And so on
      
      Environment variables (backwards-compatible):
      
      - `WHITELIST_MODE` -> `LIMITED_FEDERATION_MODE`
      - `EMAIL_DOMAIN_BLACKLIST` -> `EMAIL_DOMAIN_DENYLIST`
      - `EMAIL_DOMAIN_WHITELIST` -> `EMAIL_DOMAIN_ALLOWLIST`
      
      tootctl:
      
      - `tootctl domains purge --whitelist-mode` -> `tootctl domains purge --limited-federation-mode`
      
      Removed badly maintained and no longer relevant .env.production.sample file
      8c04e37b
  18. Jun 26, 2020
  19. Jun 25, 2020
    • tateisu's avatar
      Add tootctl email-domain-blocks (#13589) · 370e38ee
      tateisu authored
      * Add tootctl email_domains (block|unblock)
      
      * fix codeclimate issues.
      
      * fix codeclimate issues.
      
      * fix codeclimate issues.
      
      * add list subcommand, remove log_action.
      
      * fix codeclimate issues.
      
      * filter duplicate hostnames,ips before block
      
      * rebase from currnet master branch.
      rename email_domains_cli.rb to email_domain_blocks_cli.rb .
      rename Mastodon::EmailDomainsCLI to Mastodon::EmailDomainBlocksCLI .
      rename command email_domains to email-domain-blocks . (Thor recognizes both of - and _ )
      rename subcommand block to add .
      rename subcommand unblock to remove .
      change the color in list subcommand to while for domain or cyan for childlen.
      don't use include() in list subcommand.
      suppress console output about succeeded entry.
      add console output about count of processed/skipped.
      remove capitalization in subcommand description.
      remove long_desc in subcommand 'remove'.
      remove duplicate where in subcommand 'remove'.
      
      * fix codeclimate issue.
      370e38ee
  20. Jun 08, 2020
    • leo60228's avatar
      Add emojis:generate_borders Rake task (#13773) · e0f55f37
      leo60228 authored
      * Add emojis:generate_borders Rake task
      
      * Address review
      
      * Border all dark emoji
      
      * Combine stroke with filter to reduce artifacting
      
      * Cleanup Camera with Flash
      
      * Add stroke-linejoin="round"
      
      The previous filter and tweaks were effectively a poor imitation of it.
      There are no artifacts for any dark emoji now!
      
      * Set stroke-width using property
      
      This fixes old versions of Firefox.
      
      * Store emoji in string instead of array
      
      * Use separate arguments for each path segment
      
      * Remove "background: black;"
      e0f55f37
  21. Jun 05, 2020
  22. Jun 03, 2020
  23. Jun 02, 2020
  24. May 17, 2020
  25. May 15, 2020
  26. May 14, 2020
  27. May 09, 2020
  28. May 04, 2020
  29. Apr 27, 2020
    • Lerk's avatar
      Add `tootctl emoji export` (#13534) · 15785057
      Lerk authored
      * add emoji export command to cli
      
      * fix codeclimate issues
      
      * add error when no matching category was found
      
      * add other suggestions
      
      * exit 1 when no matching category is found
      
      * changes according to suggestions
      
      * :eyes:
      
      * RubyNein
      
      Y u always autoformat :c
      15785057
  30. Apr 26, 2020
  31. Apr 19, 2020
  32. Apr 06, 2020
  33. Apr 05, 2020
  34. Apr 02, 2020
  35. Mar 26, 2020
Loading