Slidge#
Slidge is a general purpose XMPP gateway framework in python.
Blog posts about slidge for a general overview of what slidge does:
Homepage: sourcehut
Chat room: slidge@conference.nicoco.fr
Issue tracker: https://todo.sr.ht/~nicoco/slidge
- For admins
- For users
- For devs
- Contributing
- Slidge Design
- Tutorial: minimal legacy module from scratch
- How to…?
slidge- Subpackages
slidge.command- Submodules
- Package Contents
slidge.contact- Package Contents
- Classes
LegacyContactLegacyContact.nameLegacyContact.avatar_idLegacyContact.avatarLegacyContact.RESOURCELegacyContact.legacy_idLegacyContact.get_msg_xmpp_id_up_to()LegacyContact.add_to_roster()LegacyContact.accept_friend_request()LegacyContact.reject_friend_request()LegacyContact.on_friend_request()LegacyContact.on_friend_delete()LegacyContact.on_friend_accept()LegacyContact.unsubscribe()LegacyContact.update_info()LegacyContact.fetch_vcard()LegacyContact.set_avatar()LegacyContact.invite_to()LegacyContact.active()LegacyContact.composing()LegacyContact.paused()LegacyContact.inactive()LegacyContact.gone()LegacyContact.send_text()LegacyContact.correct()LegacyContact.react()LegacyContact.retract()LegacyContact.send_file()LegacyContact.ack()LegacyContact.received()LegacyContact.displayed()LegacyContact.online()LegacyContact.away()LegacyContact.extended_away()LegacyContact.busy()LegacyContact.offline()LegacyContact.available_emojis()
LegacyRoster- LegacyContact
- name
- avatar_id
- avatar
- RESOURCE
- legacy_id
- get_msg_xmpp_id_up_to
- add_to_roster
- accept_friend_request
- reject_friend_request
- on_friend_request
- on_friend_delete
- on_friend_accept
- unsubscribe
- update_info
- fetch_vcard
- set_avatar
- invite_to
- active
- composing
- paused
- inactive
- gone
- send_text
- correct
- react
- retract
- send_file
- ack
- received
- displayed
- online
- away
- extended_away
- busy
- offline
- available_emojis
- LegacyRoster
- Classes
- Package Contents
slidge.group- Package Contents
- Classes
MucTypeLegacyBookmarksLegacyParticipantLegacyMUCLegacyMUC.STABLE_ARCHIVELegacyMUC.KEEP_BACKFILLED_PARTICIPANTSLegacyMUC.update_info()LegacyMUC.backfill()LegacyMUC.fill_participants()LegacyMUC.get_user_participant()LegacyMUC.get_participant()LegacyMUC.get_system_participant()LegacyMUC.get_participant_by_contact()LegacyMUC.get_participants()LegacyMUC.remove_participant()LegacyMUC.kick_resource()LegacyMUC.add_to_bookmarks()LegacyMUC.on_avatar()LegacyMUC.on_set_affiliation()
- MucType
- LegacyBookmarks
- LegacyParticipant
- LegacyMUC
- Classes
- Package Contents
- Package Contents
- Classes
- Functions
- Attributes
BaseGatewayBaseGateway.COMPONENT_NAMEBaseGateway.COMPONENT_TYPEBaseGateway.COMPONENT_AVATARBaseGateway.REGISTRATION_FIELDSBaseGateway.REGISTRATION_INSTRUCTIONSBaseGateway.REGISTRATION_TYPEBaseGateway.ROSTER_GROUPBaseGateway.WELCOME_MESSAGEBaseGateway.SEARCH_FIELDSBaseGateway.SEARCH_TITLEBaseGateway.SEARCH_INSTRUCTIONSBaseGateway.MARK_ALL_MESSAGESBaseGateway.PROPER_RECEIPTSBaseGateway.validate()BaseGateway.validate_two_factor_code()BaseGateway.get_qr_text()BaseGateway.confirm_qr()BaseGateway.unregister()BaseGateway.input()BaseGateway.send_qr()BaseGateway.invite_to()BaseGateway.active()BaseGateway.composing()BaseGateway.paused()BaseGateway.inactive()BaseGateway.gone()BaseGateway.ack()BaseGateway.received()BaseGateway.displayed()BaseGateway.send_text()BaseGateway.correct()BaseGateway.react()BaseGateway.retract()BaseGateway.send_file()
BaseSessionBaseSession.xmppBaseSession.MESSAGE_IDS_ARE_THREAD_IDSBaseSession.login()BaseSession.logout()BaseSession.on_text()BaseSession.on_file()BaseSession.on_active()BaseSession.on_inactive()BaseSession.on_composing()BaseSession.on_paused()BaseSession.on_displayed()BaseSession.on_correct()BaseSession.on_react()BaseSession.on_retract()BaseSession.on_presence()BaseSession.on_search()BaseSession.on_avatar()BaseSession.on_moderate()BaseSession.on_create_group()BaseSession.on_invitation()BaseSession.legacy_to_xmpp_msg_id()BaseSession.xmpp_to_legacy_msg_id()BaseSession.send_gateway_status()BaseSession.send_gateway_message()BaseSession.send_gateway_invite()BaseSession.input()BaseSession.send_qr()
entrypoint()- BaseGateway
- COMPONENT_NAME
- COMPONENT_TYPE
- COMPONENT_AVATAR
- REGISTRATION_FIELDS
- REGISTRATION_INSTRUCTIONS
- REGISTRATION_TYPE
- ROSTER_GROUP
- WELCOME_MESSAGE
- SEARCH_FIELDS
- SEARCH_TITLE
- SEARCH_INSTRUCTIONS
- MARK_ALL_MESSAGES
- PROPER_RECEIPTS
- validate
- validate_two_factor_code
- get_qr_text
- confirm_qr
- unregister
- input
- send_qr
- invite_to
- active
- composing
- paused
- inactive
- gone
- ack
- received
- displayed
- send_text
- correct
- react
- retract
- send_file
- BaseSession
- xmpp
- MESSAGE_IDS_ARE_THREAD_IDS
- login
- logout
- on_text
- on_file
- on_active
- on_inactive
- on_composing
- on_paused
- on_displayed
- on_correct
- on_react
- on_retract
- on_presence
- on_search
- on_avatar
- on_moderate
- on_create_group
- on_invitation
- legacy_to_xmpp_msg_id
- xmpp_to_legacy_msg_id
- send_gateway_status
- send_gateway_message
- send_gateway_invite
- input
- send_qr
- entrypoint
- Subpackages
superduper- Submodules
superduper.gateway- Module Contents
- Classes
GatewayGateway.ROSTER_GROUPGateway.WELCOME_MESSAGEGateway.SEARCH_FIELDSGateway.SEARCH_TITLEGateway.SEARCH_INSTRUCTIONSGateway.PROPER_RECEIPTSGateway.validate()Gateway.validate_two_factor_code()Gateway.get_qr_text()Gateway.confirm_qr()Gateway.unregister()Gateway.input()Gateway.send_qr()Gateway.invite_to()Gateway.active()Gateway.composing()Gateway.paused()Gateway.inactive()Gateway.gone()Gateway.ack()Gateway.received()Gateway.displayed()Gateway.send_text()Gateway.correct()Gateway.react()Gateway.retract()Gateway.send_file()
- Gateway
- Classes
- Module Contents
superduper.group- Module Contents
- Classes
BookmarksMUCMUC.avatar_idMUC.avatarMUC.STABLE_ARCHIVEMUC.KEEP_BACKFILLED_PARTICIPANTSMUC.update_info()MUC.fill_participants()MUC.backfill()MUC.get_user_participant()MUC.get_participant()MUC.get_system_participant()MUC.get_participant_by_contact()MUC.get_participants()MUC.remove_participant()MUC.kick_resource()MUC.add_to_bookmarks()MUC.on_avatar()MUC.on_set_affiliation()MUC.set_avatar()MUC.available_emojis()
ParticipantParticipant.send_initial_presence()Participant.leave()Participant.kick()Participant.ban()Participant.online()Participant.away()Participant.extended_away()Participant.busy()Participant.offline()Participant.invite_to()Participant.active()Participant.composing()Participant.paused()Participant.inactive()Participant.gone()Participant.ack()Participant.received()Participant.displayed()Participant.send_text()Participant.correct()Participant.react()Participant.retract()Participant.send_file()
- Bookmarks
- MUC
- avatar_id
- avatar
- STABLE_ARCHIVE
- KEEP_BACKFILLED_PARTICIPANTS
- update_info
- fill_participants
- backfill
- get_user_participant
- get_participant
- get_system_participant
- get_participant_by_contact
- get_participants
- remove_participant
- kick_resource
- add_to_bookmarks
- on_avatar
- on_set_affiliation
- set_avatar
- available_emojis
- Participant
- Classes
- Module Contents
superduper.session- Module Contents
- Classes
SessionSession.xmppSession.MESSAGE_IDS_ARE_THREAD_IDSSession.login()Session.logout()Session.on_text()Session.on_file()Session.on_active()Session.on_inactive()Session.on_composing()Session.on_paused()Session.on_displayed()Session.on_correct()Session.on_react()Session.on_retract()Session.on_presence()Session.on_search()Session.on_avatar()Session.on_moderate()Session.on_create_group()Session.on_invitation()Session.legacy_to_xmpp_msg_id()Session.xmpp_to_legacy_msg_id()Session.send_gateway_status()Session.send_gateway_message()Session.send_gateway_invite()Session.input()Session.send_qr()
- Session
- xmpp
- MESSAGE_IDS_ARE_THREAD_IDS
- login
- logout
- on_text
- on_file
- on_active
- on_inactive
- on_composing
- on_paused
- on_displayed
- on_correct
- on_react
- on_retract
- on_presence
- on_search
- on_avatar
- on_moderate
- on_create_group
- on_invitation
- legacy_to_xmpp_msg_id
- xmpp_to_legacy_msg_id
- send_gateway_status
- send_gateway_message
- send_gateway_invite
- input
- send_qr
- Classes
- Module Contents
- Submodules
- Glossary