Skip to content
Snippets Groups Projects
  1. Feb 27, 2023
  2. Feb 20, 2023
  3. Feb 18, 2023
  4. Feb 04, 2023
  5. Dec 15, 2022
  6. Nov 05, 2022
  7. Oct 21, 2022
  8. Oct 13, 2022
  9. Oct 12, 2022
  10. Oct 05, 2022
  11. Aug 25, 2022
    • Claire's avatar
      Add ability to filter individual posts (#18945) · 50487db1
      Claire authored
      * Add database table for status-specific filters
      
      * Add REST endpoints, entities and attributes
      
      * Show status filters in /filters interface
      
      * Perform server-side filtering for individual posts filters
      
      * Fix filtering on context mismatch
      
      * Refactor `toServerSideType` by moving it to its own module
      
      * Move loupe and delete icons to their own module
      
      * Add ability to filter individual posts from WebUI
      
      * Replace keyword list by warnings (expired, context mismatch)
      
      * Refactor server-side filtering code
      
      * Add tests
      Unverified
      50487db1
  12. Jul 17, 2022
  13. Jul 05, 2022
  14. Jun 28, 2022
    • Claire's avatar
      Revamp post filtering system (#18058) · 02851848
      Claire authored
      * Add model for custom filter keywords
      
      * Use CustomFilterKeyword internally
      
      Does not change the API
      
      * Fix /filters/edit and /filters/new
      
      * Add migration tests
      
      * Remove whole_word column from custom_filters (covered by custom_filter_keywords)
      
      * Redesign /filters
      
      Instead of a list, present a card that displays more information and handles
      multiple keywords per filter.
      
      * Redesign /filters/new and /filters/edit to add and remove keywords
      
      This adds a new gem dependency: cocoon, as well as a npm dependency:
      cocoon-js-vanilla. Those are used to easily populate and remove form fields
      from the user interface when manipulating multiple keyword filters at once.
      
      * Add /api/v2/filters to edit filter with multiple keywords
      
      Entities:
      - `Filter`: `id`, `title`, `filter_action` (either `hide` or `warn`), `context`
        `keywords`
      - `FilterKeyword`: `id`, `keyword`, `whole_word`
      
      API endpoits:
      - `GET /api/v2/filters` to list filters (including keywords)
      - `POST /api/v2/filters` to create a new filter
        `keywords_attributes` can also be passed to create keywords in one request
      - `GET /api/v2/filters/:id` to read a particular filter
      - `PUT /api/v2/filters/:id` to update a new filter
        `keywords_attributes` can also be passed to edit, delete or add keywords in
         one request
      - `DELETE /api/v2/filters/:id` to delete a particular filter
      - `GET /api/v2/filters/:id/keywords` to list keywords for a filter
      - `POST /api/v2/filters/:filter_id/keywords/:id` to add a new keyword to a
         filter
      - `GET /api/v2/filter_keywords/:id` to read a particular keyword
      - `PUT /api/v2/filter_keywords/:id` to edit a particular keyword
      - `DELETE /api/v2/filter_keywords/:id` to delete a particular keyword
      
      * Change from `irreversible` boolean to `action` enum
      
      * Remove irrelevent `irreversible_must_be_within_context` check
      
      * Fix /filters/new and /filters/edit with update for filter_action
      
      * Fix Rubocop/Codeclimate complaining about task names
      
      * Refactor FeedManager#phrase_filtered?
      
      This moves regexp building and filter caching to the `CustomFilter` class.
      
      This does not change the functional behavior yet, but this changes how the
      cache is built, doing per-custom_filter regexps so that filters can be matched
      independently, while still offering caching.
      
      * Perform server-side filtering and output result in REST API
      
      * Fix numerous filters_changed events being sent when editing multiple keywords at once
      
      * Add some tests
      
      * Use the new API in the WebUI
      
      - use client-side logic for filters we have fetched rules for.
        This is so that filter changes can be retroactively applied without
        reloading the UI.
      - use server-side logic for filters we haven't fetched rules for yet
        (e.g. network error, or initial timeline loading)
      
      * Minor optimizations and refactoring
      
      * Perform server-side filtering on the streaming server
      
      * Change the wording of filter action labels
      
      * Fix issues pointed out by linter
      
      * Change design of “Show anyway” link in accordence to review comments
      
      * Drop “irreversible” filtering behavior
      
      * Move /api/v2/filter_keywords to /api/v1/filters/keywords
      
      * Rename `filter_results` attribute to `filtered`
      
      * Rename REST::LegacyFilterSerializer to REST::V1::FilterSerializer
      
      * Fix systemChannelId value in streaming server
      
      * Simplify code by removing client-side filtering code
      
      The simplifcation comes at a cost though: filters aren't retroactively
      applied anymore.
      Unverified
      02851848
  15. Jun 09, 2022
  16. Mar 07, 2022
  17. Feb 25, 2022
  18. Feb 11, 2022
  19. Oct 14, 2021
  20. Feb 21, 2021
  21. Jan 22, 2021
  22. Jan 09, 2021
  23. Dec 14, 2020
  24. Jun 30, 2020
    • ThibG's avatar
      Add user notes on accounts (#14148) · 65506bac
      ThibG authored
      * Add UserNote model
      
      * Add UI for user notes
      
      * Put comment in relationships entity
      
      * Add API to create user notes
      
      * Copy user notes to new account when receiving a Move activity
      
      * Address some of the review remarks
      
      * Replace modal by inline edition
      
      * Please CodeClimate
      
      * Button design changes
      
      * Change design again
      
      * Cancel note edition when pressing Escape
      
      * Fixes
      
      * Tweak design again
      
      * Move “Add note” item, and allow users to add notes to themselves
      
      * Rename UserNote into AccountNote, rename “comment” Relationship attribute to “note”
      Unverified
      65506bac
  25. Jun 08, 2020
  26. Jun 02, 2020
  27. Nov 28, 2019
  28. Nov 13, 2019
    • ThibG's avatar
      Add bookmarks (#7107) · dfea7368
      ThibG authored
      * Add backend support for bookmarks
      
      Bookmarks behave like favourites, except they aren't shared with other
      users and do not have an associated counter.
      
      * Add spec for bookmark endpoints
      
      * Add front-end support for bookmarks
      
      * Introduce OAuth scopes for bookmarks
      
      * Add bookmarks to archive takeout
      
      * Fix migration
      
      * Coding style fixes
      
      * Fix rebase issue
      
      * Update bookmarked_statuses to latest UI changes
      
      * Update bookmark actions to properly reflect status changes in state
      
      * Add bookmarks item to single-column layout
      
      * Make active bookmarks red
      dfea7368
  29. Nov 07, 2019
  30. Sep 30, 2019
  31. Sep 29, 2019
    • Eugen Rochko's avatar
      Add a nodeinfo endpoint (#12002) · 5f69eb89
      Eugen Rochko authored
      * Add nodeinfo endpoint
      
      * dont commit stuff from my local dev
      
      * consistant naming since we implimented 2.1 schema
      
      * Add some additional node info stuff
      
      * Add nodeinfo endpoint
      
      * dont commit stuff from my local dev
      
      * consistant naming since we implimented 2.1 schema
      
      * expanding this to include federation info
      
      * codeclimate feedback
      
      * CC feedback
      
      * using activeserializers seems like a good idea...
      
      * get rid of draft 2.1 version
      
      * Reimplement 2.1, also fix metaData -> metadata
      
      * Fix metaData -> metadata here too
      
      * Fix nodeinfo 2.1 tests
      
      * Implement cache for monthly user aggregate
      
      * Useless
      
      * Remove ostatus from the list of supported protocols
      
      * Fix nodeinfo's open_registration reading obsolete setting variable
      
      * Only serialize domain blocks with user-facing limitations
      
      * Do not needlessly list noop severity in nodeinfo
      
      * Only serialize domain blocks info in nodeinfo when they are set to be displayed to everyone
      
      * Enable caching for nodeinfo endpoints
      
      * Fix rendering nodeinfo
      
      * CodeClimate fixes
      
      * Please CodeClimate
      
      * Change InstancePresenter#active_user_count_months for clarity
      
      * Refactor NodeInfoSerializer#metadata
      
      * Remove nodeinfo 2.1 support as the schema doesn't exist
      
      * Clean-up
      Unverified
      5f69eb89
  32. Sep 17, 2019
  33. Apr 07, 2019
    • Eugen Rochko's avatar
      Improve blocked view of profiles (#10491) · 67b3b62b
      Eugen Rochko authored
      * Revert "Fix filtering of favourited_by, reblogged_by, followers and following (#10447)"
      
      This reverts commit 12054406.
      
      * Revert "Hide blocking accounts from blocked users (#10442)"
      
      This reverts commit 62bafa20.
      
      * Improve blocked view of profiles
      
      - Change "You are blocked" to "Profile unavailable"
      - Hide following/followers in API when blocked
      - Disable follow button and show "Profile unavailable" on public profile as well
      Unverified
      67b3b62b
  34. Apr 06, 2019
  35. Apr 01, 2019
    • ThibG's avatar
      Hide blocking accounts from blocked users (#10442) · 62bafa20
      ThibG authored
      * Revert "Add indication that you have been blocked in web UI (#10420)"
      
      This reverts commit bd02ec6d.
      
      * Revert "Add `blocked_by` relationship to the REST API (#10373)"
      
      This reverts commit 9745de88.
      
      * Hide blocking accounts from search results
      
      * Filter blocking accouts from account followers
      
      * Filter blocking accouts from account's following accounts
      
      * Filter blocking accounts from “reblogged by” and “favourited by” lists
      
      * Remove blocking account from URL search
      
      * Return 410 on trying to fetch user data from a user who blocked us
      
      * Return 410 in /api/v1/account/statuses for suspended or blocking accounts
      
      * Fix status filtering when performing URL search
      
      * Restore some React improvements
      
      Restore some cleanup from bd02ec6d
      
      * Refactor by adding `without_blocking` scope
      62bafa20
  36. Mar 26, 2019
  37. Mar 23, 2019
  38. Mar 14, 2019
  39. Mar 13, 2019
  40. Mar 12, 2019
Loading