Skip to content
Snippets Groups Projects
  1. Jul 27, 2019
  2. Jul 26, 2019
  3. Jul 25, 2019
  4. 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
  5. Jul 23, 2019
  6. Jul 22, 2019
  7. Jul 21, 2019
  8. Jul 19, 2019
  9. Jul 18, 2019
    • ThibG's avatar
      Fix sanitizing lists contents (#11354) · fda437a0
      ThibG authored
      * Add test
      
      * Fix code for sanitizing nested lists stripping all tags
      fda437a0
    • ThibG's avatar
      Add ActivityPub actor representing the entire server (#11321) · 730c4053
      ThibG authored
      * Add support for an instance actor
      
      * Skip username validation for local Application accounts
      
      * Add migration script to create instance actor
      
      * Make Codeclimate happy
      
      * Switch to id -99 for instance actor
      
      * Remove unused `icon` and `image` attributes from instance actor
      
      * Use if/elsif/else instead of return + ternary operator
      
      * Add instance actor to fresh installs
      
      * Use instance actor as instance representative
      
      Use instance actor for forwarding reports, relay operations, and spam
      auto-reporting.
      
      * Seed database in test environment
      
      * Fix single-user mode
      
      * Fix tests
      
      * Fix specs to accomodate for an extra `Account`
      
      * Auto-reject follows on instance actor
      
      Following an instance actor might make sense, but we are not handling that
      right now, so auto-reject.
      
      * Fix webfinger lookup and serialization for instance actor
      
      * Rename instance actor
      
      * Make it clear in the HTML view that the instance actor should not be blocked
      
      * Raise cache time for instance actor as there's no dynamic content
      
      * Re-use /about/more with a flash message for instance actor profile
      730c4053
    • Eugen Rochko's avatar
    • Eugen Rochko's avatar
      84e98847
Loading