Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reverter ganhos de TabCoins em conteúdos pegos pelo firewall interno e outros ajustes #1638

Draft
wants to merge 11 commits into
base: main
Choose a base branch
from

Commits on Jun 23, 2024

  1. feat(firewall): revert tabcoins earnings and other adjustments

    Improves firewall error message; changes the content status to `deleted` instead of `draft`;
    reverses the user's TabCoins earnings from content that was caught by the firewall; only updates
    content that has the status `published`.
    Rafatcb committed Jun 23, 2024
    Configuration menu
    Copy the full SHA
    31588c3 View commit details
    Browse the repository at this point in the history
  2. feat(firewall): email affected users that did not trigger the event

    Send an email explaining what happened to each affected user that did not trigger the event. If it
    is the root content firewall, the titles are sent in the body of the email, and if it is the
    comments firewall, the IDs are sent.
    Rafatcb committed Jun 23, 2024
    Configuration menu
    Copy the full SHA
    f905aa8 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    063e7ce View commit details
    Browse the repository at this point in the history
  4. feat(firewall): create route to get firewall event and related data

    Returns the firewall `events` objects, along with the data affected by the event (`contents` and/or
    `users`)
    Rafatcb committed Jun 23, 2024
    Configuration menu
    Copy the full SHA
    9374858 View commit details
    Browse the repository at this point in the history
  5. feat(firewall): create specific status for content affected by the fi…

    …rewall
    
    Instead of saving the `status` of content affected by the firewall as `deleted`, save it as
    `firewall`. When undoing, returns the contents to their original status (not necessarily
    `published`).
    Rafatcb committed Jun 23, 2024
    Configuration menu
    Copy the full SHA
    63552c4 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    f76dddd View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    66cd50f View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    7294d6e View commit details
    Browse the repository at this point in the history
  9. feat(firewall): handle firewall with multiple events involved

    If the firewall catches some suspicious activity from an IP address and that IP address continues to
    perform the same action, new events are created for the same firewall side-effect.
    Rafatcb committed Jun 23, 2024
    Configuration menu
    Copy the full SHA
    e494ebe View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    d8f501c View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    9aa54ff View commit details
    Browse the repository at this point in the history