Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Charcoal-SE/SmokeDetector
/ functions
Functions
744 in github.com/Charcoal-SE/SmokeDetector
⨍
Functions
744
◇
Types & classes
45
↳
Endpoints
21
Method
_validate
(self, item)
blacklists.py:299
Method
_validate
(self, item)
blacklists.py:410
Method
add
(self, item)
blacklists.py:36
Method
add
(self, item: str)
blacklists.py:58
Method
add
(self, item: Union[str, dict])
blacklists.py:113
Method
add
(self, item)
blacklists.py:242
Function
add_auto_ignored_post
(postid_site_tuple)
datahandling.py:302
Method
add_callback
(d)
blacklists.py:246
Method
add_current_exception
(cls)
helpers.py:104
Function
add_post_site_id_link
(post_site_id, question_id)
datahandling.py:368
Method
add_post_stat_time
(ident, short_text, value=None, no_low_output=True, dont_include_in_scan_stats=False)
bodyfetcher.py:763
Function
add_queue_timing_data
(site, times_in_queue)
datahandling.py:426
Method
add_to_queue
(self, hostname, question_id, should_check_site=False, source=None)
bodyfetcher.py:138
Function
add_why
(site, post_id, why)
datahandling.py:348
Function
addblu
Adds a user to site blacklist :param msg: ChatExchange message :param user: :return: A string
chatcommands.py:61
Function
addwlu
Adds a user to site whitelist :param user: :return: A string
chatcommands.py:131
Function
alive
Returns a string indicating the process is still active :return: A string
chatcommands.py:939
Function
allnotificationsites
Returns a string stating what sites a user will be notified about :param msg: :param room_id: :return: A string
chatcommands.py:1822
Function
allspam
Reports all of a user's posts as spam :param msg: :param url: A user profile URL :return:
chatcommands.py:2136
Function
amiblacklistprivileged
Tells user whether or not they have blacklister privileges :param msg: :return: A string
chatcommands.py:1327
Function
amiprivileged
Tells user whether or not they have privileges :param msg: :return: A string
chatcommands.py:1313
Method
answers
(self)
classes/post.py:172
Function
apiquota
Report how many API hits remain for the day :return: A string
chatcommands.py:1342
Function
append_to_latest_questions
(host, post_id, title)
datahandling.py:473
Function
approve
(msg, pr_id)
chatcommands.py:669
Method
as_dict
(self)
apigetpost.py:30
Function
atomic_compare_update_and_get_spam_data
(post, have_lock=False, update=True)
recently_scanned_posts.py:122
Function
autoflagged
Determines whether a post was automatically flagged by Metasmoke :param msg: :return: A string
chatcommands.py:2701
Function
bad_ip_for_url_hostname
(s, site)
findspam.py:1551
Function
bad_link_text
(s, site)
findspam.py:1324
Function
bad_ns_for_url_domain
(s, site)
findspam.py:1510
Function
bad_pattern_in_url
(s, site)
findspam.py:1360
Function
bisect
(msg, s)
chatcommands.py:1683
Function
bisect_regex_one_by_one
(test_text, regexes, bookend=True, timeout=None)
chatcommands.py:1614
Function
blacklist
Returns a string which explains the usage of the new blacklist commands. :return: A string
chatcommands.py:192
Function
blacklist_keyword
Adds a pattern to the blacklist and commits/pushes to GitHub :param msg: :param pattern: :return: A string
chatcommands.py:591
Function
blame
(msg)
chatcommands.py:768
Function
blame2
(msg, x)
chatcommands.py:776
Function
block
Blocks posts from application for a period of time :param msg: :param block_time: :param room_id: :return: None
chatcommands.py:895
Method
body
(self)
classes/post.py:180
Method
body_is_summary
(self)
classes/post.py:184
Function
body_starts_with_title
(post)
findspam.py:1918
Function
brownie
Returns a string equal to "Brown!" (This is a joke command) :return: A string
chatcommands.py:793
Method
build_post_thread_name_post_id
()
bodyfetcher.py:793
Method
build_post_thread_name_text
()
bodyfetcher.py:781
Method
build_scan_stats
()
bodyfetcher.py:669
Function
character_utilization_ratio
(s, site)
findspam.py:1627
Function
check_blacklisted_numbers
(s, site)
findspam.py:1123
Method
check_recent_pings
(cls)
socketscience.py:95
Function
check_socket_connections
()
ws.py:231
Function
check_watched_numbers
(s, site)
findspam.py:1133
Function
coffee
Returns a string stating who the coffee is for (This is a joke command) :param msg: :param other_user: :return: A string
chatcommands.py:806
Function
command
(*type_signature, reply=False, whole_msg=False, privileged=False, arity=None, aliases=None, give_name=False)
chatcommunicate.py:563
Method
create
Creates a stat set (identical to a reset)
globalvars.py:309
Method
current_branch
()
gitmanager.py:455
Function
customer_support_phrase
(s, site)
findspam.py:1144
Function
decorator
(func)
chatcommunicate.py:566
Function
decorator
(func)
test/test_chatcommunicate.py:22
Function
decorator
(func)
test/test_chatcommands.py:28
Function
delete
Delete a post from a chatroom, with an override for Charcoal HQ. :param msg: :return: None
chatcommands.py:2484
Method
delete
Deletes a stats set
globalvars.py:297
Function
delete_force
Delete a post from the room, ignoring protection for Charcoal HQ :param msg: :return: None
chatcommands.py:2469
Function
deobfuscate_number
Returns the number deobfuscation which the number detections apply to a pattern. :param msg: :param pattern: :return: A string
chatcommands.py:2837
Function
dig
Runs a DNS query using pydns and returns the A and AAAA query results. :param domain: the domain to get DNS records for :return: A string
chatcommands.py:2744
Function
dnscheck
Runs a DNS query using dnspython and Google DNS, and checks for any discrepancies :param domain: the domain to get DNS records for, and t
chatcommands.py:2776
Method
down_vote_count
(self)
classes/post.py:252
Function
dummy_tell_rooms_with
(dummy1, dummy2)
test/test_chatcommands.py:69
Function
dump_cache_data
Dump all cached data to disk in a pickle file. Not generally intended to be called by client code, but dispatched from tasks within this clas
metasmoke_cache.py:155
Function
dump_cookies
()
datahandling.py:723
Function
dump_data
()
chatcommands.py:2434
Method
each
(self, with_info=False)
blacklists.py:73
Method
each
(self, with_info=False)
blacklists.py:134
Method
edited
(self)
classes/post.py:260
Method
end_post
()
bodyfetcher.py:701
Method
end_post_stat_time_and_start_new
(new_ident=None, short_text=None, no_low_output=True, dont_includ
bodyfetcher.py:745
Function
errorlogs
Shows the most recent lines in the error logs :param count: :return: A string
chatcommands.py:949
Method
exists
(self, item)
blacklists.py:42
Method
exists
(self, item: str)
blacklists.py:84
Method
exists
(self, item: Union[str, dict])
blacklists.py:147
Method
exists
(self, item)
blacklists.py:278
Function
expire_posts
()
recently_scanned_posts.py:153
Method
f
()
tasks.py:34
Function
false
Marks a post as a false positive :param feedback: :param msg: :return: String
chatcommands.py:2523
Function
feedback
(msg, post_url, feedback)
chatcommands.py:2420
Function
fetch_post_id_and_site_from_msg_content
(content: str)
parsing.py:138
Function
fetch_title_from_msg_content
(content: str)
parsing.py:156
Method
generator
()
metasmoke_cache.py:95
Function
get_all_candidates
Get unprocessed number candidates, normalized entries which are differenet from their unprocessed source, and the normalized candidates which
phone_numbers.py:124
Function
get_candidate_set_with_start_characters
(candidate)
phone_numbers.py:113
Function
get_normalized_candidates
(text)
phone_numbers.py:276
Function
get_normalized_deobfuscated_candidates
(text)
phone_numbers.py:280
Function
get_north_american_forced_or_no_from_pattern
(pattern)
phone_numbers.py:388
Function
get_north_american_with_separators_from_normalized
(normalized)
phone_numbers.py:335
Function
get_post_site_id_link
(post_site_id)
datahandling.py:372
Function
get_se_api_default_params_questions_answers_posts
(params)
helpers.py:519
Function
get_smokedetector_root
()
test/srccheckbase.py:17
Function
get_user_names_on_notification_list
(chat_site, room_id, se_site, client)
datahandling.py:628
Function
handle_ping
(data)
test/test_socketscience.py:10
Function
has_community_bumped_post
(post_url, post_content)
datahandling.py:686
Function
has_few_characters
(s, site)
findspam.py:886
← previous
next →
401–500 of 744, ranked by callers