MCPcopy Create free account

hub / github.com/Tribler/tribler / functions

Functions1,819 in github.com/Tribler/tribler

↓ 2 callersMethodsearchTorrentsRemote
( txt_filter: string, popular: boolean )
src/tribler/ui/src/services/tribler.service.ts:415
↓ 2 callersMethodselect
(selector: Callable)
src/tribler/core/database/orm_bindings/torrent_metadata.py:90
↓ 2 callersMethodsend_ping
Send a ping to a peer to keep it alive.
src/tribler/core/content_discovery/community.py:432
↓ 2 callersFunctionsetPending
(target: HTMLInputElement)
src/tribler/ui/src/dialogs/CreateTorrent.tsx:219
↓ 2 callersFunctionsetState
(type: "columns" | "sorting", name: string, state: SortingState | VisibilityState)
src/tribler/ui/src/components/ui/simple-table.tsx:206
↓ 2 callersMethodset_download_states_callback
Set the download state callback. Remove any old callback if it's present. Calls user_callback with a list of DownloadStates,
src/tribler/core/libtorrent/download_manager/download_manager.py:1001
↓ 2 callersMethodset_post_handle_ops
Set the post-handle operations flag for this torrent.
src/tribler/core/libtorrent/download_manager/download_config.py:385
↓ 2 callersMethodset_selected_files
Select which files in the torrent to download. :param file_indexes: List of file indexes as ordered in the torrent (e.g. [0,1])
src/tribler/core/libtorrent/download_manager/download_config.py:264
↓ 2 callersMethodset_stop_after_metainfo
Set the download to stop after receiving the metainfo.
src/tribler/core/libtorrent/download_manager/download_config.py:316
↓ 2 callersMethodset_torrents_checked
Overwrite the default test value for torrents_checked.
src/tribler/test_unit/core/content_discovery/test_community.py:52
↓ 2 callersMethodset_upload_mode
Set whether this download is in upload mode.
src/tribler/core/libtorrent/download_manager/download.py:1105
↓ 2 callersMethodshould_skip_message
Returns True if EventsEndpoint should skip sending message to GUI due to a shutdown or no connection to GUI. Issue an appropriate war
src/tribler/core/restapi/events_endpoint.py:149
↓ 2 callersFunctionshow_error
(exc: Exception, shutdown: Literal[True] = True)
src/run_tribler.py:17
↓ 2 callersMethodshutdown
Shut down all connections and components.
src/tribler/core/session.py:270
↓ 2 callersMethodshutdown
(restart: boolean)
src/tribler/ui/src/services/tribler.service.ts:634
↓ 2 callersMethodstart
Starts the HTTP API with the listen port as specified in the session configuration.
src/tribler/core/restapi/rest_manager.py:218
↓ 2 callersMethodstart
Start periodically querying our URL.
src/tribler/core/rss/rss.py:55
↓ 2 callersFunctionstartDownloadCallback
(response: any, t: TFunction)
src/tribler/ui/src/dialogs/SaveAs.tsx:35
↓ 2 callersMethodstartDownloadFromFile
(torrent: File, params: DownloadConfig = {})
src/tribler/ui/src/services/tribler.service.ts:134
↓ 2 callersFunctionstart_http_server
Start an HTTP server using the given port and response.
src/tribler/test_integration/test_anon_download.py:56
↓ 2 callersFunctionstopDownloads
(selectedDownloads: Download[], t: TFunction)
src/tribler/ui/src/pages/Downloads/Actions.tsx:63
↓ 2 callersMethodstop_after_metainfo
Wait for the metadata to be received, then stop.
src/tribler/core/libtorrent/download_manager/download.py:242
↓ 2 callersFunctionswapFileIndices
(farr: Filename[], i: number, j: number)
src/tribler/ui/src/dialogs/CreateTorrent.tsx:263
↓ 2 callersMethodto_api_response
Serialize the dataclass to a JSON-compatible dictionary for REST API responses.
src/tribler/core/torrent_checker/healthdataclasses.py:97
↓ 2 callersFunctionto_fts_query
Convert the given text to FTS-compatible text.
src/tribler/core/database/queries.py:20
↓ 2 callersFunctiontoggleAdvancedSettings
()
src/tribler/ui/src/pages/Settings/Bandwidth.tsx:121
↓ 2 callersMethodtorrent_checker
Get the torrent checker of node i.
src/tribler/test_unit/core/content_discovery/test_community.py:84
↓ 2 callersMethodupdate_hops
Update the amount of hops for a specified download. This can be done on runtime.
src/tribler/core/libtorrent/download_manager/download_manager.py:955
↓ 2 callersMethodupdate_settings
Update Tribler settings.
src/tribler/core/restapi/settings_endpoint.py:58
↓ 2 callersMethodupdate_tags
Set the tags for the given download.
src/tribler/core/database/restapi/database_endpoint.py:535
↓ 2 callersFunctionuseTheme
()
src/tribler/ui/src/contexts/ThemeContext.tsx:76
↓ 2 callersMethodwait_for_pieces
Waits until the specified pieces have been completed.
src/tribler/core/libtorrent/download_manager/stream.py:138
↓ 2 callersMethodwrite
Don't actually write to any file.
src/tribler/test_unit/mocks.py:9
↓ 2 callersMethodwrite
Write a chunk and check if we should shut down the endpoint.
src/tribler/test_unit/core/restapi/test_events_endpoint.py:52
↓ 2 callersMethodwrite
Perform a crash.
src/tribler/test_unit/core/libtorrent/download_manager/test_download.py:30
↓ 1 callersFunctionIPv8
()
src/tribler/ui/src/pages/Debug/IPv8/index.tsx:5
↓ 1 callersMethod__init__
Initialize (but don't start) with a given taskmanager, callback and url.
src/tribler/core/rss/rss.py:37
↓ 1 callersMethod__init__
Create a new endpoint to query the status of downloads.
src/tribler/core/libtorrent/restapi/downloads_endpoint.py:69
↓ 1 callersMethod__init__
Create a new GetEventsRequest.
src/tribler/test_unit/core/restapi/test_events_endpoint.py:17
↓ 1 callersMethod__str__
Convert this download to a human-readable string.
src/tribler/core/libtorrent/download_manager/download.py:210
↓ 1 callersMethod_associate_udp
Send an associate request to the connection.
src/tribler/core/socks5/client.py:134
↓ 1 callersMethod_connect_tcp
Connect to the given address using TCP.
src/tribler/core/socks5/client.py:158
↓ 1 callersFunction_copy_if_not_exist
Copy a file if it does not exist.
src/tribler/upgrade_script.py:43
↓ 1 callersFunction_existing_files
(path_list: list[Path], names: list[str] | None)
src/tribler/core/libtorrent/torrents.py:120
↓ 1 callersMethod_get_default_trackers
Get the default trackers from the configured tracker file. Tracker file format is "(<TRACKER><NEWLINE><NEWLINE>)*". We assume "<TRAC
src/tribler/core/libtorrent/download_manager/download.py:306
↓ 1 callersMethod_get_extended_status
This function filters the original download status to possibly add tunnel-related status. Extracted from DownloadState to remove coup
src/tribler/core/libtorrent/restapi/downloads_endpoint.py:866
↓ 1 callersFunction_import_7_14_settings
Read the file at the source path and import its settings.
src/tribler/upgrade_script.py:65
↓ 1 callersFunction_inject_7_14_tables
Fetch data from the old database and attempt to insert it into a new one.
src/tribler/upgrade_script.py:348
↓ 1 callersFunction_inject_ChannelNode
Import old ChannelNode entries.
src/tribler/upgrade_script.py:219
↓ 1 callersFunction_inject_ChannelNode_inner
The inner injection script to write old ChannelNode info into the current database.
src/tribler/upgrade_script.py:188
↓ 1 callersFunction_inject_TorrentState_TrackerState
Import old TorrentState_TrackerState entries.
src/tribler/upgrade_script.py:323
↓ 1 callersFunction_inject_TorrentState_TrackerState_inner
The inner injection script to write old TorrentState info into the current database.
src/tribler/upgrade_script.py:294
↓ 1 callersFunction_inject_TrackerState
Import old TrackerState entries.
src/tribler/upgrade_script.py:272
↓ 1 callersFunction_inject_TrackerState_inner
The inner injection script to write old TrackerState info into the current database.
src/tribler/upgrade_script.py:248
↓ 1 callersMethod_map_call_on_ltsessions
(self, hops: int | None, funcname: str, *args: Any, **kwargs)
src/tribler/core/libtorrent/download_manager/download_manager.py:632
↓ 1 callersMethod_mixSelectedIntoMetainfo
(torrent: File, selected_files: number[] | undefined)
src/tribler/ui/src/services/tribler.service.ts:96
↓ 1 callersMethod_post_handle_events
Schedule all the configured events that need to happen after this download receives a handle.
src/tribler/core/libtorrent/restapi/downloads_endpoint.py:351
↓ 1 callersFunction_produce_get_overload
(key: str, value_type: str)
src/tribler/tribler_config.py:493
↓ 1 callersFunction_produce_set_overload
(key: str, value_type: str)
src/tribler/tribler_config.py:488
↓ 1 callersMethod_recursive_merge_settings
(self, updates: dict, pointer: str = "")
src/tribler/core/restapi/settings_endpoint.py:73
↓ 1 callersMethod_write_data
Write data over the event socket if it's open.
src/tribler/core/restapi/events_endpoint.py:180
↓ 1 callersMethodaddDownloadTracker
(infohash: string, trackerUrl: string)
src/tribler/ui/src/services/tribler.service.ts:230
↓ 1 callersFunctionaddFile
()
src/tribler/ui/src/dialogs/CreateTorrent.tsx:205
↓ 1 callersMethodadd_endpoint
Add an endpoint to this root endpoint.
src/tribler/core/restapi/rest_endpoint.py:53
↓ 1 callersMethodadd_stream
Initialize a stream for this download.
src/tribler/core/libtorrent/download_manager/download.py:251
↓ 1 callersMethodadd_url_seed
Add a URL seed to this download. :param handle: the valid torrent handle. :param addr: The URL address to connect to
src/tribler/core/libtorrent/download_manager/download.py:1054
↓ 1 callersMethodattach_exception_handler
Hook ourselves in as the general exception handler.
src/tribler/core/session.py:201
↓ 1 callersMethodauthenticate
Is the given request authenticated using an API key.
src/tribler/core/restapi/rest_manager.py:93
↓ 1 callersFunctionaverage
(numbers: number[])
src/tribler/ui/src/lib/utils.ts:127
↓ 1 callersFunctionbgColor
(t: Torrent)
src/tribler/ui/src/components/swarm-health.tsx:19
↓ 1 callersMethodbrowseFiles
( path: string, showFiles: boolean )
src/tribler/ui/src/services/tribler.service.ts:558
↓ 1 callersFunctioncached_read
Keep one cache for one tracker file at a time (by default: for a max of 120 seconds, see caller). When adding X torrents at once, this avoid
src/tribler/core/libtorrent/download_manager/download.py:116
↓ 1 callersFunctioncalculate_rank
Calculates the similarity of the title to the query as a float value in range [0, 1]. :param query: list of query words :param title: li
src/tribler/core/database/ranks.py:114
↓ 1 callersMethodcanUpgrade
()
src/tribler/ui/src/services/tribler.service.ts:501
↓ 1 callersMethodcheck_local_torrents
Perform a full health check on a few popular and old torrents in the database.
src/tribler/core/torrent_checker/torrent_checker.py:270
↓ 1 callersMethodclean_session
Destruct a given session.
src/tribler/core/torrent_checker/torrent_checker.py:378
↓ 1 callersMethodcleanup
Cleans the session by cancelling all deferreds and closing sockets.
src/tribler/core/torrent_checker/torrentchecker_session.py:204
↓ 1 callersFunctionclickedImport
(e: React.MouseEvent<HTMLElement>, old_version: string)
src/tribler/ui/src/pages/Settings/Versions.tsx:38
↓ 1 callersFunctionclickedRemove
(e: React.MouseEvent<HTMLElement>, old_version: string)
src/tribler/ui/src/pages/Settings/Versions.tsx:51
↓ 1 callersMethodclickedResult
(query: string, clicked: Torrent, results: Torrent[])
src/tribler/ui/src/services/tribler.service.ts:535
↓ 1 callersMethodclose
Closes the reader amd unregisters the cursor pieces from the stream instance and resets the relevant piece priorities.
src/tribler/core/libtorrent/download_manager/stream.py:321
↓ 1 callersFunctioncollapseError
()
src/tribler/ui/src/App.tsx:10
↓ 1 callersMethodconditional_get
Send a conditional get to our URL and return the response and its raw content.
src/tribler/core/rss/rss.py:91
↓ 1 callersFunctionconvertPieces
(pieces64: string, numpieces: number)
src/tribler/ui/src/pages/Downloads/Pieces.tsx:6
↓ 1 callersMethodconvert_to_json
Sanitize and dump the given dictionary to a string using JSON.
src/tribler/core/content_discovery/community.py:140
↓ 1 callersMethodcreateDirectory
(path: string, recursively: boolean)
src/tribler/ui/src/services/tribler.service.ts:577
↓ 1 callersMethodcreateTorrent
( name: string, description: string, filenames: string[], files: string[],
src/tribler/ui/src/services/tribler.service.ts:598
↓ 1 callersMethodcreate_fts_triggers
Create the FTS triggers.
src/tribler/core/database/store.py:304
↓ 1 callersMethodcreate_torrentstate_triggers
Create the torrent state triggers.
src/tribler/core/database/store.py:320
↓ 1 callersFunctioncreate_tracker_session
Creates a tracker session with the given tracker URL. :param tracker_url: The given tracker URL. :param timeout: The timeout for the ses
src/tribler/core/torrent_checker/torrentchecker_session.py:466
↓ 1 callersMethoddatagram_received
If the incoming data is valid, find the tracker session and give it the data.
src/tribler/core/torrent_checker/torrentchecker_session.py:270
↓ 1 callersFunctiondetect
(text: string)
src/tribler/ui/src/pages/Search/index.tsx:17
↓ 1 callersFunctiondownloadFile
(file: FileLink)
src/tribler/ui/src/lib/utils.ts:238
↓ 1 callersFunctiondownloadFilesAsZip
(files: FileLink[], zipName: string)
src/tribler/ui/src/lib/utils.ts:245
↓ 1 callersMethoddrain
Ignore drains.
src/tribler/test_unit/core/restapi/test_events_endpoint.py:66
↓ 1 callersFunctiondrawBoop
(ctx: CanvasRenderingContext2D, x: number, xscale: number, yscale: number)
src/tribler/ui/src/pages/Debug/Asyncio/Health.tsx:105
↓ 1 callersMethoddryCreateTorrent
(name: string, exportDir: string)
src/tribler/ui/src/services/tribler.service.ts:585
↓ 1 callersFunctionexportTorrents
(selectedDownloads: Download[])
src/tribler/ui/src/pages/Downloads/Actions.tsx:105
↓ 1 callersMethodfinish_handler
Mimic finishing a handler.
src/tribler/test_unit/core/restapi/test_events_endpoint.py:31
↓ 1 callersMethodflush
This is called when our buffer is at capacity and needs to be flushed. We get the handler lock and rotate the buffer.
src/tribler/core/restapi/logging_endpoint.py:15
← previousnext →401–500 of 1,819, ranked by callers