Skip to content
Snippets Groups Projects
  1. Mar 30, 2022
  2. Feb 24, 2022
  3. Feb 08, 2022
  4. Jan 16, 2022
  5. Oct 14, 2021
  6. Jul 10, 2021
  7. May 04, 2021
  8. Apr 24, 2021
  9. Apr 17, 2021
  10. Mar 19, 2021
  11. Mar 03, 2021
  12. Mar 02, 2021
  13. Mar 01, 2021
  14. Jan 22, 2021
  15. Jan 09, 2021
  16. Dec 18, 2020
  17. Dec 10, 2020
    • ThibG's avatar
      Add honeypot fields and minimum fill-out time for sign-up form (#15276) · 49eb4d4d
      ThibG authored
      
      * Add honeypot fields to limit non-specialized spam
      
      Add two honeypot fields: a fake website input and a fake password confirmation
      one. The label/placeholder/aria-label tells not to fill them, and they are
      hidden in CSS, so legitimate users should not fall into these.
      
      This should cut down on some non-Mastodon-specific spambots.
      
      * Require a 3 seconds delay before submitting the registration form
      
      * Fix tests
      
      * Move registration form time check to model validation
      
      * Give people a chance to clear the honeypot fields
      
      * Refactor honeypot translation strings
      
      Co-authored-by: default avatarClaire <claire.github-309c@sitedethib.com>
      Unverified
      49eb4d4d
  18. 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
  19. Jun 02, 2020
  20. Apr 02, 2020
    • Sasha Sorokin's avatar
      Improve polls: option lengths & redesign (#13257) · 37b3985b
      Sasha Sorokin authored
      This commit redesign the polls and increases characters limit for the
      options from 25 to 50 characters, giving pollsters more freedom.
      
      Summarizing, the redesign is making the polls more adaptive for upcoming
      changes to the options characters limit: the bar, or a "chart", is now
      displayed separately from the option itself; vote check mark is moved
      next to the option text, making the percentages take less space. Option
      lengths are taken into account and text is wrapped to multiple lines
      if necessary to avoid overflow.
      Unverified
      37b3985b
  21. Feb 01, 2020
  22. Jan 25, 2020
  23. Jan 23, 2020
    • Eugen Rochko's avatar
      Add announcements (#12662) · f52c988e
      Eugen Rochko authored
      * Add announcements
      
      Fix #11006
      
      * Add reactions to announcements
      
      * Add admin UI for announcements
      
      * Add unit tests
      
      * Fix issues
      
      - Add `with_dismissed` param to announcements API
      - Fix end date not being formatted when time range is given
      - Fix announcement delete causing reactions to send streaming updates
      - Fix announcements container growing too wide and mascot too small
      - Fix `all_day` being settable when no time range is given
      - Change text "Update" to "Announcement"
      
      * Fix scheduler unpublishing announcements before they are due
      
      * Fix filter params not being passed to announcements filter
      Unverified
      f52c988e
  24. Jan 12, 2020
    • ThibG's avatar
      Fix invalid votes from the API being accepted (#12601) · d386d891
      ThibG authored
      * Fix invalid votes from the API being accepted
      
      Fixes #12556
      
      - Ensure `choice` is an integer instead of silently converting to 0
      - Ensure `choice` corresponds to an actual choice of the poll
      
      * Please CodeClimate
      d386d891
  25. Aug 30, 2019
  26. Aug 29, 2019
  27. Aug 08, 2019
  28. Aug 05, 2019
    • Eugen Rochko's avatar
      Change admin UI for hashtags and add back whitelisted trends (#11490) · 115dab78
      Eugen Rochko authored
      Fix #271
      
      Add back the `GET /api/v1/trends` API with the caveat that it does
      not return tags that have not been allowed to trend by the staff.
      
      When a hashtag begins to trend (internally) and that hashtag has
      not been previously reviewed by the staff, the staff is notified.
      
      The new admin UI for hashtags allows filtering hashtags by where
      they are used (e.g. in the profile directory), whether they have
      been reviewed or are pending reviewal, they show by how many people
      the hashtag is used in the directory, how many people used it
      today, how many statuses with it have been created today, and it
      allows fixing the name of the hashtag to make it more readable.
      
      The disallowed hashtags feature has been reworked. It is now
      controlled from the admin UI for hashtags instead of from
      the file `config/settings.yml`
      Unverified
      115dab78
  29. Jul 24, 2019
    • Rey Tucker's avatar
      Don't delete periods when validating username uniqueness (#11392) (#11400) · 94f5c714
      Rey Tucker authored
      * Check to make sure usernames with '.' cannot be created
      
      * Add test for instance actor account name conflicts
      
      This makes sure that migration 20190715164535_add_instance_actor
      won't fail if there's already an account that is named the same
      as the domain (minus the .)
      
      * Put the test into the correct context...
      
      * Add another test to split this into two validations
      
      * Don't delete periods when validating username uniqueness (#11392)
      
      The 20190715164535_add_instance_actor migration fails if there's
      already a username similar to the domain name, e.g. if you are
      'vulpine.club' and have a user named 'vulpineclub', validation
      fails.
      
      Upon further review, usernames with periods are dropped by the
      regular expression in the Account class, so we don't need to
      worry about it here.
      
      Fixes #11392
      94f5c714
  30. May 19, 2019
  31. May 03, 2019
  32. Apr 10, 2019
  33. Apr 09, 2019
  34. Apr 06, 2019
  35. Mar 26, 2019
  36. Mar 23, 2019
    • Eugen Rochko's avatar
      Add validations to admin settings (#10348) · 555c4e11
      Eugen Rochko authored
      * Add validations to admin settings
      
      - Validate correct HTML markup
      - Validate presence of contact username & e-mail
      - Validate that all usernames are valid
      - Validate that enums have expected values
      
      * Fix code style issue
      
      * Fix tests
      Unverified
      555c4e11
  37. Mar 06, 2019
  38. Mar 04, 2019
Loading