MCPcopy Create free account

hub / github.com/Charcoal-SE/SmokeDetector / functions

Functions744 in github.com/Charcoal-SE/SmokeDetector

Method_validate
(self, item)
blacklists.py:299
Method_validate
(self, item)
blacklists.py:410
Methodadd
(self, item)
blacklists.py:36
Methodadd
(self, item: str)
blacklists.py:58
Methodadd
(self, item: Union[str, dict])
blacklists.py:113
Methodadd
(self, item)
blacklists.py:242
Functionadd_auto_ignored_post
(postid_site_tuple)
datahandling.py:302
Methodadd_callback
(d)
blacklists.py:246
Methodadd_current_exception
(cls)
helpers.py:104
Functionadd_post_site_id_link
(post_site_id, question_id)
datahandling.py:368
Methodadd_post_stat_time
(ident, short_text, value=None, no_low_output=True, dont_include_in_scan_stats=False)
bodyfetcher.py:763
Functionadd_queue_timing_data
(site, times_in_queue)
datahandling.py:426
Methodadd_to_queue
(self, hostname, question_id, should_check_site=False, source=None)
bodyfetcher.py:138
Functionadd_why
(site, post_id, why)
datahandling.py:348
Functionaddblu
Adds a user to site blacklist :param msg: ChatExchange message :param user: :return: A string
chatcommands.py:61
Functionaddwlu
Adds a user to site whitelist :param user: :return: A string
chatcommands.py:131
Functionalive
Returns a string indicating the process is still active :return: A string
chatcommands.py:939
Functionallnotificationsites
Returns a string stating what sites a user will be notified about :param msg: :param room_id: :return: A string
chatcommands.py:1822
Functionallspam
Reports all of a user's posts as spam :param msg: :param url: A user profile URL :return:
chatcommands.py:2136
Functionamiblacklistprivileged
Tells user whether or not they have blacklister privileges :param msg: :return: A string
chatcommands.py:1327
Functionamiprivileged
Tells user whether or not they have privileges :param msg: :return: A string
chatcommands.py:1313
Methodanswers
(self)
classes/post.py:172
Functionapiquota
Report how many API hits remain for the day :return: A string
chatcommands.py:1342
Functionappend_to_latest_questions
(host, post_id, title)
datahandling.py:473
Functionapprove
(msg, pr_id)
chatcommands.py:669
Methodas_dict
(self)
apigetpost.py:30
Functionatomic_compare_update_and_get_spam_data
(post, have_lock=False, update=True)
recently_scanned_posts.py:122
Functionautoflagged
Determines whether a post was automatically flagged by Metasmoke :param msg: :return: A string
chatcommands.py:2701
Functionbad_ip_for_url_hostname
(s, site)
findspam.py:1551
Functionbad_link_text
(s, site)
findspam.py:1324
Functionbad_ns_for_url_domain
(s, site)
findspam.py:1510
Functionbad_pattern_in_url
(s, site)
findspam.py:1360
Functionbisect
(msg, s)
chatcommands.py:1683
Functionbisect_regex_one_by_one
(test_text, regexes, bookend=True, timeout=None)
chatcommands.py:1614
Functionblacklist
Returns a string which explains the usage of the new blacklist commands. :return: A string
chatcommands.py:192
Functionblacklist_keyword
Adds a pattern to the blacklist and commits/pushes to GitHub :param msg: :param pattern: :return: A string
chatcommands.py:591
Functionblame
(msg)
chatcommands.py:768
Functionblame2
(msg, x)
chatcommands.py:776
Functionblock
Blocks posts from application for a period of time :param msg: :param block_time: :param room_id: :return: None
chatcommands.py:895
Methodbody
(self)
classes/post.py:180
Methodbody_is_summary
(self)
classes/post.py:184
Functionbody_starts_with_title
(post)
findspam.py:1918
Functionbrownie
Returns a string equal to "Brown!" (This is a joke command) :return: A string
chatcommands.py:793
Methodbuild_post_thread_name_post_id
()
bodyfetcher.py:793
Methodbuild_post_thread_name_text
()
bodyfetcher.py:781
Methodbuild_scan_stats
()
bodyfetcher.py:669
Functioncharacter_utilization_ratio
(s, site)
findspam.py:1627
Functioncheck_blacklisted_numbers
(s, site)
findspam.py:1123
Methodcheck_recent_pings
(cls)
socketscience.py:95
Functioncheck_socket_connections
()
ws.py:231
Functioncheck_watched_numbers
(s, site)
findspam.py:1133
Functioncoffee
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
Functioncommand
(*type_signature, reply=False, whole_msg=False, privileged=False, arity=None, aliases=None, give_name=False)
chatcommunicate.py:563
Methodcreate
Creates a stat set (identical to a reset)
globalvars.py:309
Methodcurrent_branch
()
gitmanager.py:455
Functioncustomer_support_phrase
(s, site)
findspam.py:1144
Functiondecorator
(func)
chatcommunicate.py:566
Functiondecorator
(func)
test/test_chatcommunicate.py:22
Functiondecorator
(func)
test/test_chatcommands.py:28
Functiondelete
Delete a post from a chatroom, with an override for Charcoal HQ. :param msg: :return: None
chatcommands.py:2484
Methoddelete
Deletes a stats set
globalvars.py:297
Functiondelete_force
Delete a post from the room, ignoring protection for Charcoal HQ :param msg: :return: None
chatcommands.py:2469
Functiondeobfuscate_number
Returns the number deobfuscation which the number detections apply to a pattern. :param msg: :param pattern: :return: A string
chatcommands.py:2837
Functiondig
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
Functiondnscheck
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
Methoddown_vote_count
(self)
classes/post.py:252
Functiondummy_tell_rooms_with
(dummy1, dummy2)
test/test_chatcommands.py:69
Functiondump_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
Functiondump_cookies
()
datahandling.py:723
Functiondump_data
()
chatcommands.py:2434
Methodeach
(self, with_info=False)
blacklists.py:73
Methodeach
(self, with_info=False)
blacklists.py:134
Methodedited
(self)
classes/post.py:260
Methodend_post
()
bodyfetcher.py:701
Methodend_post_stat_time_and_start_new
(new_ident=None, short_text=None, no_low_output=True, dont_includ
bodyfetcher.py:745
Functionerrorlogs
Shows the most recent lines in the error logs :param count: :return: A string
chatcommands.py:949
Methodexists
(self, item)
blacklists.py:42
Methodexists
(self, item: str)
blacklists.py:84
Methodexists
(self, item: Union[str, dict])
blacklists.py:147
Methodexists
(self, item)
blacklists.py:278
Functionexpire_posts
()
recently_scanned_posts.py:153
Methodf
()
tasks.py:34
Functionfalse
Marks a post as a false positive :param feedback: :param msg: :return: String
chatcommands.py:2523
Functionfeedback
(msg, post_url, feedback)
chatcommands.py:2420
Functionfetch_post_id_and_site_from_msg_content
(content: str)
parsing.py:138
Functionfetch_title_from_msg_content
(content: str)
parsing.py:156
Methodgenerator
()
metasmoke_cache.py:95
Functionget_all_candidates
Get unprocessed number candidates, normalized entries which are differenet from their unprocessed source, and the normalized candidates which
phone_numbers.py:124
Functionget_candidate_set_with_start_characters
(candidate)
phone_numbers.py:113
Functionget_normalized_candidates
(text)
phone_numbers.py:276
Functionget_normalized_deobfuscated_candidates
(text)
phone_numbers.py:280
Functionget_north_american_forced_or_no_from_pattern
(pattern)
phone_numbers.py:388
Functionget_north_american_with_separators_from_normalized
(normalized)
phone_numbers.py:335
Functionget_post_site_id_link
(post_site_id)
datahandling.py:372
Functionget_se_api_default_params_questions_answers_posts
(params)
helpers.py:519
Functionget_smokedetector_root
()
test/srccheckbase.py:17
Functionget_user_names_on_notification_list
(chat_site, room_id, se_site, client)
datahandling.py:628
Functionhandle_ping
(data)
test/test_socketscience.py:10
Functionhas_community_bumped_post
(post_url, post_content)
datahandling.py:686
Functionhas_few_characters
(s, site)
findspam.py:886
← previousnext →401–500 of 744, ranked by callers