Skip to content
Snippets Groups Projects
  1. Jul 12, 2023
  2. Jun 22, 2023
  3. Jun 06, 2023
  4. May 23, 2023
  5. May 12, 2023
  6. May 04, 2023
  7. Mar 04, 2023
  8. Oct 26, 2022
  9. Jul 05, 2022
  10. Mar 06, 2022
  11. Feb 09, 2022
  12. Jan 27, 2022
    • Claire's avatar
      Refactor and improve tests (#17386) · e38fc319
      Claire authored
      * Change account and user fabricators to simplify and improve tests
      
      - `Fabricate(:account)` implicitly fabricates an associated `user` if
        no `domain` attribute is given (an account with `domain: nil` is
        considered a local account, but no user record was created), unless
        `user: nil` is passed
      - `Fabricate(:account, user: Fabricate(:user))` should still be possible
        but is discouraged.
      
      * Fix and refactor tests
      
      - avoid passing unneeded attributes to `Fabricate(:user)` or
        `Fabricate(:account)`
      - avoid embedding `Fabricate(:user)` into a `Fabricate(:account)` or the other
        way around
      - prefer `Fabricate(:user, account_attributes: …)` to
        `Fabricate(:user, account: Fabricate(:account, …)`
      - also, some tests were using remote accounts with local user records, which is
        not representative of production code.
      Unverified
      e38fc319
  13. Dec 17, 2021
  14. Nov 07, 2020
  15. Nov 04, 2020
  16. 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
  17. Jul 21, 2019
  18. Jan 08, 2019
  19. Dec 20, 2018
  20. Dec 19, 2018
  21. May 30, 2017
  22. May 29, 2017
Loading