MCPcopy Create free account

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

Functions744 in github.com/Charcoal-SE/SmokeDetector

↓ 3 callersFunctioncreate_pickle_storage_if_not_exist
()
datahandling.py:59
↓ 3 callersFunctiondns_command
Internal workhorse for dns commands Runs a DNS query using pydns and returns the results. :param domain: the domain to get DNS records f
chatcommands.py:2723
↓ 3 callersMethodfailed
Indicate a metasmoke connection failure
globalvars.py:391
↓ 3 callersFunctionget_check_equality_data
(post)
recently_scanned_posts.py:74
↓ 3 callersMethodget_db
(cls)
helpers.py:97
↓ 3 callersFunctionget_domain
Extract the domain name; with full=True, keep the TLD tacked on.
findspam.py:1769
↓ 3 callersFunctionget_normalized_on_list
(list_type, extra='')
chatcommands.py:374
↓ 3 callersFunctionget_ns_ips
Extract IP addresses of name server(s) for a domain
findspam.py:1466
↓ 3 callersFunctionget_prefix_with_digit_and_extra_escape
(with_digits, extra_escape)
number_homoglyphs.py:279
↓ 3 callersMethodget_room
(self, room_id, **attrs_to_set)
chatexchange_extension.py:29
↓ 3 callersFunctionip_for_url_host
(s, site, ip_list)
findspam.py:1523
↓ 3 callersFunctionis_blacklisted_user
(user)
datahandling.py:203
↓ 3 callersFunctionis_se_site_id_list_length_valid
()
datahandling.py:838
↓ 3 callersFunctionlog_current_thread
(log_level, prefix="", postfix="")
helpers.py:251
↓ 3 callersFunctionmatches_regex_ascii_or_unicode
(regex_dict, pattern)
phone_numbers.py:68
↓ 3 callersFunctionpost_id_from_link
(link: str)
parsing.py:67
↓ 3 callersMethodpull_local
(cls)
gitmanager.py:492
↓ 3 callersMethodreceive
(cls, content)
socketscience.py:45
↓ 3 callersFunctionreload_modules
()
helpers.py:319
↓ 3 callersMethodsend_status_ping
()
metasmoke.py:454
↓ 3 callersFunctionsplit_processed_and_comments
(pattern)
phone_numbers.py:376
↓ 3 callersFunctiontable_as_regex
Returns a regular expression character class of all the characters in the provided translation table. :param table: The table to o
number_homoglyphs.py:155
↓ 3 callersFunctionto_protocol_relative
(url: str)
parsing.py:239
↓ 2 callersMethod_expunge_expired_posts
(self, now=None)
editwatcher.py:92
↓ 2 callersMethod_normalize
(self, item)
blacklists.py:207
↓ 2 callersMethod_process_element_mapping
(self, element_map: dict, data: dict, is_api_response: bool = False)
classes/post.py:143
↓ 2 callersMethod_reset
Resets/clears/creates post scanning data in a stats set without getting the rw_lock
globalvars.py:272
↓ 2 callersMethod_subscribe_to_all_saved_posts
(self)
deletionwatcher.py:121
↓ 2 callersMethod_subscribe_to_saved_posts
(self)
editwatcher.py:98
↓ 2 callersMethod_validate
(self, item)
blacklists.py:210
↓ 2 callersMethod_write
(self, callback)
blacklists.py:195
↓ 2 callersFunctionadd_ignored_post
(postid_site_tuple)
datahandling.py:320
↓ 2 callersFunctionadd_or_update_multiple_reporter
(user_id, chat_host, time_integer)
datahandling.py:700
↓ 2 callersFunctionadd_post
(post, is_spam=None, reasons=None, why=None, scan_time=None, have_lock=None)
recently_scanned_posts.py:32
↓ 2 callersFunctionadd_room
(room, roles)
chatcommunicate.py:250
↓ 2 callersFunctionapi_get_post
(post_url)
apigetpost.py:56
↓ 2 callersFunctionappend_pings
(original_message, names)
datahandling.py:676
↓ 2 callersFunctionappend_previous
(first, prev)
number_homoglyphs.py:189
↓ 2 callersFunctionbisect_number_list
(s, full_number_list, filename)
chatcommands.py:1645
↓ 2 callersFunctionbisect_regex_in_n_size_chunks
(size, test_text, regexes, bookend=True, timeout=None)
chatcommands.py:1634
↓ 2 callersFunctionblacklist_integrity_check
()
helpers.py:356
↓ 2 callersFunctionblock_room
(room_id, site, time)
chatcommunicate.py:491
↓ 2 callersFunctionbuild_message
(post, reasons)
spamhandling.py:169
↓ 2 callersMethodcall_api
Perform API calls.
gitmanager.py:52
↓ 2 callersFunctioncallback
(room=room, msg=msg_pings)
chatcommunicate.py:446
↓ 2 callersFunctioncan_report_now
(user_id, chat_host)
datahandling.py:710
↓ 2 callersFunctioncheck_comments_for_north_american_directive
(comments)
phone_numbers.py:382
↓ 2 callersFunctioncheck_numbers
Extract sequences of possible phone numbers. Check extracted numbers against verbatim match (identical to item in list) or normalized match
findspam.py:1104
↓ 2 callersMethodclaim_post_in_process_or_request_rescan
(self, ident, site, post_id)
bodyfetcher.py:439
↓ 2 callersFunctionclear_errors
()
test/test_blacklists.py:22
↓ 2 callersMethodcomment_on_thread
(cls, thread_id, body)
gitmanager.py:74
↓ 2 callersMethodconnect_websocket
()
metasmoke.py:160
↓ 2 callersFunctionconvert_new_scan_to_spam_result_if_new_reasons
(new_info, old_info, match_ignore=None, ignored_reasons=True)
helpers.py:451
↓ 2 callersFunctiondeobfuscate
(text)
phone_numbers.py:331
↓ 2 callersMethoddiff_filenames
(*args, **kwargs)
_Git_Windows.py:67
↓ 2 callersFunctiondispatch_reply_command
(message_replied_to, reply, full_cmd, comment=True)
chatcommunicate.py:665
↓ 2 callersFunctiondo_blacklist
Adds a string to the website blacklist and commits/pushes to GitHub :param raw_pattern: :param blacklist_type: :param msg: :param
chatcommands.py:364
↓ 2 callersFunctionescape_format
(s)
helpers.py:145
↓ 2 callersFunctionfetch_post_url_from_msg_content
(content: str)
parsing.py:93
↓ 2 callersFunctionfill_site_id_dict_by_id_from_site_id_dict
()
datahandling.py:822
↓ 2 callersFunctionget_api_sitename_from_url
(url: str)
parsing.py:33
↓ 2 callersMethodget_failure_count
Get consecutive metasmoke connection failure count
globalvars.py:403
↓ 2 callersFunctionget_key_for_post
(post)
recently_scanned_posts.py:18
↓ 2 callersFunctionget_north_american_alternate_normalized
(non_normalized, normalized=None, force=False)
phone_numbers.py:351
↓ 2 callersFunctionget_number_regex_with_quantfier
(quantifier)
phone_numbers.py:35
↓ 2 callersMethodget_post_bodies_from_ms
(post_url)
metasmoke.py:634
↓ 2 callersFunctionget_recently_scanned_post_from_post
(post)
recently_scanned_posts.py:109
↓ 2 callersFunctionget_se_api_default_params
(params)
helpers.py:513
↓ 2 callersMethodget_set_keys
Get a list of the available stat set keys
globalvars.py:314
↓ 2 callersFunctionget_single_value_as_hex_escape
(value)
number_homoglyphs.py:178
↓ 2 callersMethodget_site_thread_limit
(self, site)
bodyfetcher.py:252
↓ 2 callersFunctionget_sorted_current_errors_and_clear_errors
()
test/test_blacklists.py:29
↓ 2 callersMethodget_stats_for_ms
Get post scanning statistics for reporting to MS
globalvars.py:243
↓ 2 callersFunctionget_traceback_from_traceback_or_message
(traceback_or_message)
helpers.py:229
↓ 2 callersFunctionget_watch_and_blacklist_number_bisects
(s)
chatcommands.py:1673
↓ 2 callersFunctionif_digits_add_digits_to_all_in_process_and_promote
()
phone_numbers.py:210
↓ 2 callersFunctioninit_se_websocket_or_reboot
(max_tries, tell_debug_room_on_error=False)
ws.py:258
↓ 2 callersFunctionis_se_site_id_list_out_of_date
()
datahandling.py:844
↓ 2 callersFunctionis_whitelisted_website
(url)
findspam.py:786
↓ 2 callersFunctionkeyword_non_bookend_regex_text
(regex_text)
helpers.py:585
↓ 2 callersFunctionlevenshtein
(s1, s2)
findspam.py:791
↓ 2 callersFunctionmain_loop
(args)
util.py:54
↓ 2 callersMethodmake_api_call_for_site_and_restore_thread_name
(self, site, new_posts, thread_stats)
bodyfetcher.py:243
↓ 2 callersFunctionmock_get_pull_request_with_pr_id
(assert_pr_id)
test/test_chatcommands.py:386
↓ 2 callersMethodmock_post
(cls, title='', body='', site='stackoverflow.com',
test/test_spamhandling.py:43
↓ 2 callersFunctionnormalize_set
(numbers)
phone_numbers.py:92
↓ 2 callersFunctionns_for_url_domain
(s, site, nslist)
findspam.py:1429
↓ 2 callersFunctiononly_modules_changed
(diff)
helpers.py:315
↓ 2 callersFunctionparse_room_config
(path)
chatcommunicate.py:193
↓ 2 callersFunctionpluralize
(value, base, plural_end, single_end='', zero_is_plural=True)
helpers.py:509
↓ 2 callersFunctionpost_links
Helper function to extract URLs from a piece of HTML.
findspam.py:1647
↓ 2 callersMethodprepare_git_for_operation
(blacklist_file_name)
gitmanager.py:422
↓ 2 callersFunctionrecover_websocket
(which_ws, ws, exception, connect_time, hb_time)
helpers.py:554
↓ 2 callersMethodrelease_post_in_process_and_recan_if_requested
(self, ident, site, post_id, question_id)
bodyfetcher.py:468
↓ 2 callersFunctionremove_all_from_notification_list
(user_id)
datahandling.py:600
↓ 2 callersFunctionremove_blacklisted_user
(user)
datahandling.py:330
↓ 2 callersFunctionremove_from_notification_list
(user_id, chat_site, room_id, se_site)
datahandling.py:577
↓ 2 callersMethodreset_ms_status
Reset class GlobalVars.MSStatus to default values
globalvars.py:410
↓ 2 callersMethodsanity_check
(self)
findspam.py:455
↓ 2 callersMethodsave
(self)
editwatcher.py:170
← previousnext →101–200 of 744, ranked by callers