Skip to content
Snippets Groups Projects
  1. Dec 04, 2020
  2. Dec 02, 2020
  3. Dec 01, 2020
  4. Nov 27, 2020
  5. Nov 23, 2020
  6. Nov 19, 2020
    • ThibG's avatar
      Deal with collation-related index corruption (#14860) · 1242e57c
      ThibG authored
      * Add tootctl maintenance fix-duplicates
      
      This tool goes through the database to detect and fix duplicates.
      This operation is very slow and may cause data loss (of data that would be
      inaccessible without intervention because of the existing index corruptions).
      It tries its best to make sensible decisions, and asks the user in some cases.
      
      * Add warning message in db:migrate hook
      
      * Clear Rails cache after being done with database deduplication
      
      Avoids followers hash cache being incorrect, among other things
      Unverified
      1242e57c
  7. Nov 07, 2020
  8. Nov 06, 2020
  9. Oct 12, 2020
  10. Sep 27, 2020
  11. Sep 15, 2020
  12. Sep 11, 2020
  13. Sep 10, 2020
  14. Sep 01, 2020
  15. Aug 31, 2020
  16. Aug 24, 2020
  17. 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
      Unverified
      8d217d72
  18. Aug 09, 2020
  19. 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
      Unverified
      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
      Unverified
      a1412491
  20. Jul 26, 2020
  21. Jul 24, 2020
  22. Jul 19, 2020
  23. Jul 15, 2020
  24. Jul 14, 2020
  25. Jul 10, 2020
  26. Jul 07, 2020
  27. Jul 05, 2020
  28. Jul 03, 2020
  29. Jul 01, 2020
  30. Jun 30, 2020
  31. 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
      Unverified
      64aac307
  32. 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
      Unverified
      8c04e37b
  33. Jun 26, 2020
  34. 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.
      Unverified
      370e38ee
  35. 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;"
      Unverified
      e0f55f37
  36. Jun 05, 2020
Loading