-
Notifications
You must be signed in to change notification settings - Fork 27
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
Added a new watch menu under training to explain the process of adding a watched item to SmokeDetector #95
Open
Cowm00
wants to merge
6
commits into
Charcoal-SE:site
Choose a base branch
from
Cowm00:site
base: site
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
51dc2b0
Added watch and corrected links
Cowm00 0490151
gramma, order of menu items
Cowm00 0564663
Fixed things from Cody and more
Cowm00 83655f3
Changed bookmarklet description
Cowm00 6fe56cb
Updated bookmarklets with new link
Cowm00 1eaaf1e
updated link after change
Cowm00 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
--- | ||
--- | ||
|
||
# 3. When do you watch spam? | ||
Adding websites and keywords to SmokeDetector's watchlists is a big part of being a privileged | ||
user on Charcoal. | ||
|
||
Unless a post is ***obvious*** spam, it can sometimes be a bit overwhelming to detect what is a | ||
legit post and what is not. After you've checked a post, determined that it's spam and found the text | ||
or website you want SmokeDetector to watch, we recommend doing a bit of research before adding it. | ||
|
||
- **Search** for the URL or keyword on [Stack Exchange](https://stackexchange.com/) | ||
- Use `url:example.com` in the search bar to find all questions and answers that have that website | ||
in them. Check how many hits come up and if it's only the spam and 2-3 other posts it will | ||
typically be OK to add it. | ||
- Keywords can be searched just like normal text, but multiple keywords should be enclosed in | ||
quotation marks. Example: `"key word"` and `"more words to search for"`. In this way it will | ||
only show results for the actual text you search for. Stack Exchange will otherwise show results | ||
for each searched word and this will typically return too many hits. | ||
You can also use `code:keyword` to search for text that is hidden in a code snippet. | ||
- **Search** [metasmoke](https://metasmoke.erwaysoftware.com/search) to see if anything already exist. | ||
Maybe there's a lot of false positives, which would mean, that it shouldn't be added to the watchlist. | ||
Metasmoke can be a bit complicated, but it can also be the best tool to find posts reported by | ||
SmokeDetector. If you are good at regex it can be an advantage. | ||
- Select `regex` in title, body and username. Now select `Use OR for text search (uses AND by default)`. | ||
Enclose the text or URL you want to search for with `\b` and remember to escape functional regex | ||
characters (`.` `()` `[]` etc.). You need to exclude `www.` from any URLs. | ||
Example: Enter `\bsocket\.io\b` in title, body and username. It will now search for posts that | ||
contain `socket.io` in either one or all of those fields. This broad search will make sure it catches | ||
posts where spammers, for instance, have added a URL to only the title or maybe even in their username. | ||
- **Check** [open pull requests](https://github.com/Charcoal-SE/SmokeDetector/pulls) on SmokeDetector | ||
Github. The watch you want to add might already be queued for approval. It's always a good idea to | ||
check and make sure it's not a duplicate. | ||
|
||
Cowm00 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
## Bookmarklets | ||
To make life a bit easier, some users have made bookmarklets, that can do all the searching for you. Just | ||
select and mark the text you want to search for in a report from SmokeDetector and then click the | ||
bookmarklet. Depending on the version you choose to use, a new window will open in your browser and | ||
automatically do the search for you (you might need to accept popups before the window open). | ||
|
||
A bookmarklet is just a normal browser bookmark, where you add javascript code to the URL field. This will | ||
then execute the code when you click the bookmark. Copy the javascript code and paste it | ||
into the URL field and save it, then you should be good to go. | ||
|
||
[List of bookmarklets](https://charcoal-se.org/bookmarklets/). | ||
|
||
----- | ||
|
||
[Next: Privileges][3] | ||
|
||
[Return to Introduction Index][8] | ||
|
||
[3]: /training/privileges | ||
[8]: /training/index |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Might be worth mentioning here to also check the history of chat messages after the report to see if someone else has already submitted a watch? But I'm not really sure this is all that critical. If there is a clash/conflict, you'll get a warning. The only harm is a little bit of noise and a little bit of unnecessary load on the SD/MS instance, neither of which seem like a good reason to overburden human volunteers.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this not what the PRs show? You can quickly see if anything is added to the queue. Otherwise maybe people could run a test !!/test the thing they want to add first. Dunno.