Skip to content
Snippets Groups Projects
  1. Jul 13, 2023
  2. Jul 12, 2023
  3. Jul 11, 2023
  4. Jul 08, 2023
  5. Mar 22, 2022
  6. Feb 24, 2022
    • Eugen Rochko's avatar
      Add trending statuses (#17431) · 27965ce5
      Eugen Rochko authored
      * Add trending statuses
      
      * Fix dangling items with stale scores in localized sets
      
      * Various fixes and improvements
      
      - Change approve_all/reject_all to approve_accounts/reject_accounts
      - Change Trends::Query methods to not mutate the original query
      - Change Trends::Query#skip to offset
      - Change follow recommendations to be refreshed in a transaction
      
      * Add tests for trending statuses filtering behaviour
      
      * Fix not applying filtering scope in controller
      Unverified
      27965ce5
  7. Feb 14, 2022
    • Eugen Rochko's avatar
      Add appeals (#17364) · 564efd06
      Eugen Rochko authored
      * Add appeals
      
      * Add ability to reject appeals and ability to browse pending appeals in admin UI
      
      * Add strikes to account page in settings
      
      * Various fixes and improvements
      
      - Add separate notification setting for appeals, separate from reports
      - Fix style of links in report/strike header
      - Change approving an appeal to not restore statuses (due to federation complexities)
      - Change style of successfully appealed strikes on account settings page
      - Change account settings page to only show unappealed or recently appealed strikes
      
      * Change appealed_at to overruled_at
      
      * Fix missing method error
      Unverified
      564efd06
  8. Jan 23, 2022
    • Claire's avatar
      Fix error-prone SQL queries (#15828) · 0a120d86
      Claire authored
      * Fix error-prone SQL queries in Account search
      
      While this code seems to not present an actual vulnerability, one could
      easily be introduced by mistake due to how the query is built.
      
      This PR parameterises the `to_tsquery` input to make the query more robust.
      
      * Harden code for Status#tagged_with_all and Status#tagged_with_none
      
      Those two scopes aren't used in a way that could be vulnerable to an SQL
      injection, but keeping them unchanged might be a hazard.
      
      * Remove unneeded spaces surrounding tsquery term
      
      * Please CodeClimate
      
      * Move advanced_search_for SQL template to its own function
      
      This avoids one level of indentation while making clearer that the SQL template
      isn't build from all the dynamic parameters of advanced_search_for.
      
      * Add tests covering tagged_with, tagged_with_all and tagged_with_none
      
      * Rewrite tagged_with_none to avoid multiple joins and make it more robust
      
      * Remove obsolete brakeman warnings
      
      * Revert "Remove unneeded spaces surrounding tsquery term"
      
      The two queries are not strictly equivalent.
      
      This reverts commit 86f16c537e06c6ba4a8b250f25dcce9f049023ff.
      Unverified
      0a120d86
  9. Nov 25, 2021
    • Eugen Rochko's avatar
      Add trending links (#16917) · 6e50134a
      Eugen Rochko authored
      * Add trending links
      
      * Add overriding specific links trendability
      
      * Add link type to preview cards and only trend articles
      
      Change trends review notifications from being sent every 5 minutes to being sent every 2 hours
      
      Change threshold from 5 unique accounts to 15 unique accounts
      
      * Fix tests
      Unverified
      6e50134a
  10. May 11, 2021
  11. Mar 07, 2021
  12. Dec 14, 2020
  13. Jun 02, 2020
  14. Feb 26, 2019
  15. Nov 05, 2018
    • James Kiesel's avatar
      Allow joining several hashtags in a single column (#8904) · 4c03e05a
      James Kiesel authored
      * Nascent tag menu on frontend
      
      * Hook up frontend to search
      
      * Tag intersection backend first pass
      
      * Update yarnlock
      
      * WIP
      
      * Fix for tags not searching correctly
      
      * Make radio buttons function
      
      * Simplify radio buttons with modeOption
      
      * Better naming
      
      * Rearrange options
      
      * Add all/any/none functionality on backend
      
      * Small PR cleanup
      
      * Move to service from scope
      
      * Small cleanup, add proper service tests
      
      * Don't use send with user input :D
      
      * Set appropriate column header
      
      * Handle auto updating timeline
      
      * Fix up toggle function
      
      * Use tag value correctly
      
      * A bit more correct to use 'self' rather than 'all' in status scope
      
      * Fix some style issues
      
      * Fix more code style issues
      
      * Style select dropdown more better
      
      * Only use to_id'ed value to ensure no SQL injection
      
      * Revamp frontend to allow for multiple selects
      
      * Update backend / col header to account for more flexible tagging
      
      * Update brakeman ignore
      
      * Codeclimate suggestions
      
      * Fix presenter tag_url
      
      * Implement initial PR feedback
      
      * Handle additional tag streaming
      
      * CodeClimate tweak
      4c03e05a
  16. Aug 30, 2018
  17. Aug 18, 2018
  18. Feb 16, 2018
  19. Nov 24, 2017
    • Eugen Rochko's avatar
      Add logging of admin actions (#5757) · e84fecb7
      Eugen Rochko authored
      
      * Add logging of admin actions
      
      * Update brakeman whitelist
      
      * Log creates, updates and destroys with history of changes
      
      * i18n: Update Polish translation (#5782)
      
      Signed-off-by: default avatarMarcin Mikołajczak <me@m4sk.in>
      
      * Split admin navigation into moderation and administration
      
      * Redesign audit log page
      
      * :flag_pl: (#5795)
      
      * Add color coding to audit log
      
      * Change dismiss->resolve, log all outcomes of report as resolve
      
      * Update terminology (e-mail blacklist) (#5796)
      
      * Update terminology (e-mail blacklist)
      
      imho looks better
      
      * Update en.yml
      
      * Fix code style issues
      
      * i18n-tasks normalize
      Unverified
      e84fecb7
  20. Nov 07, 2017
  21. Oct 08, 2017
  22. Oct 06, 2017
  23. Oct 05, 2017
  24. Aug 30, 2017
    • Eugen Rochko's avatar
      Update status embeds (#4742) · e95bdec7
      Eugen Rochko authored
      - Use statuses controller for embeds instead of stream entries controller
      - Prefer /@:username/:id/embed URL for embeds
      - Use /@:username as author_url in OEmbed
      - Add follow link to embeds which opens web intent in new window
      - Use redis cache in development
      - Cache entire embed
      e95bdec7
  25. May 07, 2017
Loading