MCPcopy Create free account

hub / github.com/Libera-Chat/sable / functions

Functions1,187 in github.com/Libera-Chat/sable

↓ 3 callersMethodset_all
(&mut self, caps: ClientCapabilitySet)
sable_ircd/src/capability/mod.rs:113
↓ 3 callersMethodset_clock
Set the clock for this log. This should only be used when importing a serialized [Network] state, to sync the event log's view of 'current' with that
sable_network/src/sync/eventlog.rs:126
↓ 3 callersMethodtarget
(&self)
sable_network/src/network/wrapper/message.rs:105
↓ 3 callersMethoduser_ids
Return the associated User and UserConnection IDs, if present
sable_ircd/src/client.rs:174
↓ 3 callersMethodwait
(self)
sable_server/src/management.rs:272
↓ 3 callersMethodwith_tag
Add a tag to the batch
sable_ircd/src/messages/batch.rs:47
↓ 3 callersMethodwith_tags
Add a set of message tags to the message
sable_ircd/src/messages/mod.rs:96
↓ 2 callersMethodaccount_name
(&self)
sable_network/src/network/wrapper/user.rs:82
↓ 2 callersMethodadd
Add an entry
sable_ircd/src/isupport.rs:70
↓ 2 callersMethodapply
Apply an [Event] to the network state. This is the only supported way to update the state. Events should be applied as they are emitted by the event
sable_network/src/network/network/mod.rs:174
↓ 2 callersMethodapply_action
(&self, action: CommandAction)
sable_ircd/src/server/command_action.rs:100
↓ 2 callersMethodauth_for_account
(&self, id: AccountId)
sable_services/src/database/jsonfile.rs:156
↓ 2 callersMethodauthenticate
(&self, session_id: SaslSessionId, data: Vec<u8>)
sable_services/src/server/command/sasl_commands.rs:25
↓ 2 callersMethodbatch
Create a batch to be sent to this sink. Required parameters are the batch type as defined in the relevant IRCv3 specification, and the corresponding
sable_ircd/src/messages/message_sink.rs:26
↓ 2 callersFunctionbuild_event_ids
(input: &[(u16, u64, u16)])
sable_network/src/network/event/tests.rs:4
↓ 2 callersFunctionbuild_network_from
(network: &mut Network, events: impl IntoIterator<Item = &'a Event>)
sable_network/tests/event_reordering.rs:37
↓ 2 callersMethodcan_attach_to_user
Determine whether this connection is ready to attach to an existing user
sable_ircd/src/client.rs:275
↓ 2 callersMethodcan_change_access_for
( &self, source: &wrapper::Account, chan: &wrapper::ChannelRegistration, targe
sable_network/src/policy/standard_registration_policy.rs:63
↓ 2 callersMethodcan_create_role
( &self, source: &wrapper::Account, channel: &wrapper::ChannelRegistration, wi
sable_network/src/policy/standard_registration_policy.rs:144
↓ 2 callersMethodcan_edit_role
( &self, source: &wrapper::Account, channel: &wrapper::ChannelRegistration, ro
sable_network/src/policy/standard_registration_policy.rs:119
↓ 2 callersMethodcan_register_new_user
Determine whether this connection is ready to register as a new user
sable_ircd/src/client.rs:267
↓ 2 callersMethodcan_see_user_on_channel
(&self, user: &User, member: &Membership)
sable_network/src/policy/standard_channel_policy.rs:174
↓ 2 callersMethodcan_send
(&self, user: &User, channel: &Channel, _msg: &str)
sable_network/src/policy/standard_channel_policy.rs:128
↓ 2 callersMethodcan_set_key
( &self, user: &User, channel: &Channel, _new_key: Option<&ChannelKey>, )
sable_network/src/policy/standard_channel_policy.rs:313
↓ 2 callersMethodchange
(&self)
sable_network/src/history/mod.rs:25
↓ 2 callersMethodchannel_accesses
(&self)
sable_network/src/network/wrapper/account.rs:26
↓ 2 callersMethodchannel_registration
Retrieve a channel registration
sable_network/src/network/network/accessors.rs:364
↓ 2 callersMethodchannel_registration
( &self, id: ChannelRegistrationId, )
sable_services/src/database/jsonfile.rs:227
↓ 2 callersMethodchannel_registration_by_name
Retrieve a channel registration by name
sable_network/src/network/network/accessors.rs:375
↓ 2 callersMethodcommand
(&self)
sable_ircd/src/command/client_command.rs:180
↓ 2 callersMethodcurrent_services_server_name
Retrieve the server name of the current active services
sable_network/src/network/network/accessors.rs:297
↓ 2 callersMethoddata
Return the reply data. Return value is a borrowed reference to a `Vec<String>`. Each entry in the vector should be sent as the final parameter of an
sable_ircd/src/isupport.rs:79
↓ 2 callersMethoddelete_server
( &mut self, target: ServerId, event: &Event, updates: &dyn NetworkUpdateRecei
sable_network/src/network/network/server_state.rs:58
↓ 2 callersMethoddisable_peer
(&self, name: &ServerName)
sable_network/src/sync/network.rs:202
↓ 2 callersMethoddo_add
(&mut self, e: Event)
sable_network/src/sync/eventlog.rs:186
↓ 2 callersMethoddo_bind_nickname
( &mut self, target: NicknameId, user: UserId, old_nick: Nickname, eve
sable_network/src/network/network/user_state.rs:119
↓ 2 callersMethoddo_rename_channel
Rename a channel
sable_network/src/network/network/channel_state.rs:24
↓ 2 callersMethoddo_send_to
( &self, peer: &PeerConfig, msg: Message, response_sender: UnboundedSender<Req
sable_network/src/sync/network.rs:367
↓ 2 callersFunctiondrain_from
(log: &mut UnboundedReceiver<Event>)
sable_network/src/sync/tests.rs:6
↓ 2 callersMethodenable_server
Enable a server for sync purposes. This should be called when a server is seen to join the network, and will enable both inbound and outbound sync mes
sable_network/src/sync/replicated_log.rs:261
↓ 2 callersMethodenable_with_values
pub fn enable(&self, cap: ClientCapability) { for entry in &self.supported_caps { if entry.cap == cap
sable_ircd/src/capability/repository.rs:106
↓ 2 callersMethodentries_for_user_reverse
(&self, user: UserId)
sable_network/src/history/log.rs:138
↓ 2 callersMethodexcept
Add an except capability, which will cause the condition not to match if it is set
sable_ircd/src/capability/capability_condition.rs:25
↓ 2 callersFunctionformat_channel_perm_changes
( nick: &Nickname, added: &MembershipFlagSet, removed: &MembershipFlagSet, )
sable_network/src/utils/channel_modes.rs:35
↓ 2 callersFunctionformat_timestamp
(ts: i64)
sable_ircd/src/utils/time_utils.rs:3
↓ 2 callersMethodgeneral
(&self)
sable_network/src/audit/mod.rs:78
↓ 2 callersMethodget_entries
( &self, _user: UserId, target: TargetId, request: HistoryRequest, )
sable_history/src/pg_history_service.rs:78
↓ 2 callersMethodget_since
Iterate over all events in the current log which do not precede the given event clock. When provided with the current event clock from a remote serve
sable_network/src/sync/eventlog.rs:85
↓ 2 callersMethodhandle_new_event
callers log evt themselves
sable_network/src/sync/replicated_log.rs:532
↓ 2 callersFunctionhashed_channel_name_for
Generate a hashed channel name for the given channel ID, to be used for the loser of a name collision
sable_network/src/network/state_utils.rs:25
↓ 2 callersMethodhistory
Access the network history
sable_network/src/node/mod.rs:147
↓ 2 callersMethodhistory_service
Access the long-term history, potentially backed by RPC calls to the history server
sable_network/src/node/mod.rs:153
↓ 2 callersMethodid
Return this object's ID
sable_network/src/network/wrapper/channel.rs:12
↓ 2 callersMethodinfallible_nick_for_user
Return a nickname for the given user. If a nick binding for that user exists, it is used, otherwise a hashed nickname (as used in collision resolution
sable_network/src/network/network/accessors.rs:84
↓ 2 callersMethodis_alias_user
Determine whether this user refers to a compatibility alias
sable_network/src/network/wrapper/user.rs:152
↓ 2 callersMethodis_unset
(&self)
sable_network/src/network/option_change.rs:17
↓ 2 callersMethoditer
Iterate over connections
sable_ircd/src/connection_collection.rs:152
↓ 2 callersFunctionkeys_subset
(map1: &HashMap<T, U>, map2: &HashMap<T, V>)
sable_network/src/network/event/clock.rs:67
↓ 2 callersMethodlist_targets
( &self, _user: UserId, _after_ts: Option<i64>, _before_ts: Option<i64>,
sable_history/src/pg_history_service.rs:31
↓ 2 callersMethodlist_type
(&self)
sable_network/src/id.rs:99
↓ 2 callersMethodlist_type
The list type
sable_network/src/network/wrapper/list_mode.rs:16
↓ 2 callersMethodmatches
Determine whether the given set of client capabilities matches this condition. Returns true iff all required flags, and no except flags, are present
sable_ircd/src/capability/capability_condition.rs:32
↓ 2 callersMethodmessage_target
Look up a historic message target
sable_network/src/network/network/accessors.rs:157
↓ 2 callersMethodmonitored_nicks
Returns all nicks monitored by the given connection
sable_ircd/src/monitor.rs:98
↓ 2 callersMethodnew_channel_role
(&self, data: state::ChannelRole)
sable_services/src/database/jsonfile.rs:297
↓ 2 callersMethodnext
Retrieve an item from the queue, if one is available and the throttle permits it. If there is no pending item in the queue, then no tokens are consum
sable_ircd/src/throttled_queue.rs:76
↓ 2 callersMethodnotify_error
(&self, err: CommandError)
sable_ircd/src/command/handlers/services/mod.rs:68
↓ 2 callersMethodobject_id
(&self)
sable_ircd/src/command/plumbing/target_types.rs:11
↓ 2 callersMethodparse
( context: &'a dyn Command, arg: &'b mut ArgListIter<'a>, )
sable_ircd/src/command/plumbing/argument_list.rs:72
↓ 2 callersMethodpattern
Return the pattern expression which matches
sable_network/src/network/wrapper/bans.rs:16
↓ 2 callersMethodraw_user_connections
Return an iterator over the raw `state::UserConnection` objects.
sable_network/src/network/network/accessors.rs:52
↓ 2 callersMethodread_and_handle_message
( self: Arc<NetworkTaskState>, mut stream: TlsStream<TcpStream>, message_sender: Unbou
sable_network/src/sync/network.rs:493
↓ 2 callersMethodreason
(mut self, reason: String)
sable_network/src/audit/mod.rs:119
↓ 2 callersMethodremove_channel
(&mut self, id: ChannelId, _updates: &dyn NetworkUpdateReceiver)
sable_network/src/network/network/channel_state.rs:389
↓ 2 callersMethodrequire
Add a required capability to the condition set
sable_ircd/src/capability/capability_condition.rs:20
↓ 2 callersMethodresponse_source
(&self)
sable_ircd/src/command/handlers/services/mod.rs:52
↓ 2 callersMethodrestore_connection
Restore a connection belonging to this connection from its saved [`ConnectionData`]
client_listener/src/listener_collection.rs:289
↓ 2 callersMethodroles
Access the list of roles defined for this channel
sable_network/src/network/wrapper/channel_registration.rs:26
↓ 2 callersFunctionrun_communication_task
( control_sender: IpcSender<ControlMessage>, event_receiver: IpcReceiver<AuthEvent>, mut control_r
auth_client/src/auth_client.rs:42
↓ 2 callersFunctionrun_communication_task
( control_send: IpcSender<ControlMessage>, local_control_send: UnboundedSender<ControlMessage>, mu
client_listener/src/listener_collection.rs:309
↓ 2 callersMethodsave
Save the connection's data
sable_ircd/src/client.rs:110
↓ 2 callersMethodsave
Save the connection state for later restoration. See [`ListenerCollection::restore_connection`] for the counterpart to restore the saved state to a n
client_listener/src/connection.rs:60
↓ 2 callersMethodsave_state
(&self)
sable_network/src/sync/network.rs:169
↓ 2 callersMethodsave_state
Save the collection state for later resumption
sable_ircd/src/connection_collection.rs:162
↓ 2 callersMethodsend
(&self, msg: messages::OutboundClientMessage)
sable_ircd/src/client.rs:203
↓ 2 callersFunctionsend_channel_names
Returns a NAMES reply (or the implicit one after joining a channel)
sable_ircd/src/utils/channel_names.rs:11
↓ 2 callersMethodsend_control
(&self, msg: ConnectionControlDetail)
client_listener/src/connection.rs:37
↓ 2 callersMethodsend_item
( &self, item: &NetworkHistoryUpdate, conn: impl MessageSink, _from_entry: &im
sable_ircd/src/messages/send_history.rs:24
↓ 2 callersFunctionsend_motd
( server: &ClientServer, to: impl MessageSink, to_user: &wrapper::User, )
sable_ircd/src/utils/motd.rs:7
↓ 2 callersMethodsend_now
( &self, item: &NetworkHistoryUpdate, conn: &impl MessageSink, _from_entry: &N
sable_ircd/src/messages/send_realtime.rs:22
↓ 2 callersMethodsend_remote_request
Send a request to another server in the network, and wait for the response
sable_network/src/sync/replicated_log.rs:271
↓ 2 callersFunctionsend_statuses
(cmd: &dyn Command, targets: Vec<Nickname>)
sable_ircd/src/command/handlers/monitor.rs:107
↓ 2 callersMethodserial
(&self)
sable_network/src/id.rs:84
↓ 2 callersMethodserialize
(&self, serializer: S)
sable_network/src/network/ban/repository.rs:141
↓ 2 callersFunctionserver_time_tag
(ts: i64)
sable_ircd/src/capability/server_time.rs:5
↓ 2 callersMethodset_user
Set the associated user ID
sable_ircd/src/client.rs:184
↓ 2 callersMethodshould_see_list_change
(&self, member: &Membership, mode_type: ListModeType)
sable_network/src/policy/standard_channel_policy.rs:294
↓ 2 callersMethodshutdown
(mut self)
sable_ircd/src/server/server_type.rs:167
↓ 2 callersMethodshutdown
Shut down the server, if it is not going to be resumed.
sable_server/src/server.rs:217
↓ 2 callersMethodstart
Begin the batch. Executing this will send the `BATCH +<name>` message to open the batch and return the `MessageBatch` object to allow sending inside i
sable_ircd/src/messages/batch.rs:65
← previousnext →201–300 of 1,187, ranked by callers