2024-05-28 04:52:58 +00:00
|
|
|
pub(super) mod account;
|
2024-12-11 14:28:54 -05:00
|
|
|
pub(super) mod account_data;
|
2024-05-28 04:52:58 +00:00
|
|
|
pub(super) mod alias;
|
2024-08-30 19:37:21 -04:00
|
|
|
pub(super) mod appservice;
|
2024-05-28 04:52:58 +00:00
|
|
|
pub(super) mod backup;
|
|
|
|
pub(super) mod capabilities;
|
|
|
|
pub(super) mod context;
|
|
|
|
pub(super) mod device;
|
|
|
|
pub(super) mod directory;
|
|
|
|
pub(super) mod filter;
|
|
|
|
pub(super) mod keys;
|
|
|
|
pub(super) mod media;
|
2024-08-27 03:35:00 +00:00
|
|
|
pub(super) mod media_legacy;
|
2024-05-28 04:52:58 +00:00
|
|
|
pub(super) mod membership;
|
|
|
|
pub(super) mod message;
|
2024-07-02 21:51:11 -04:00
|
|
|
pub(super) mod openid;
|
2024-05-28 04:52:58 +00:00
|
|
|
pub(super) mod presence;
|
|
|
|
pub(super) mod profile;
|
|
|
|
pub(super) mod push;
|
|
|
|
pub(super) mod read_marker;
|
|
|
|
pub(super) mod redact;
|
|
|
|
pub(super) mod relations;
|
|
|
|
pub(super) mod report;
|
|
|
|
pub(super) mod room;
|
|
|
|
pub(super) mod search;
|
2024-10-27 20:13:10 +00:00
|
|
|
pub(super) mod send;
|
2024-05-28 04:52:58 +00:00
|
|
|
pub(super) mod session;
|
|
|
|
pub(super) mod space;
|
|
|
|
pub(super) mod state;
|
|
|
|
pub(super) mod sync;
|
|
|
|
pub(super) mod tag;
|
|
|
|
pub(super) mod thirdparty;
|
|
|
|
pub(super) mod threads;
|
|
|
|
pub(super) mod to_device;
|
|
|
|
pub(super) mod typing;
|
|
|
|
pub(super) mod unstable;
|
|
|
|
pub(super) mod unversioned;
|
|
|
|
pub(super) mod user_directory;
|
|
|
|
pub(super) mod voip;
|
2024-11-24 00:19:55 +00:00
|
|
|
pub(super) mod well_known;
|
2020-07-30 18:14:47 +02:00
|
|
|
|
2024-09-15 12:08:07 -04:00
|
|
|
pub use account::full_user_deactivate;
|
2024-05-28 04:52:58 +00:00
|
|
|
pub(super) use account::*;
|
2024-12-11 14:28:54 -05:00
|
|
|
pub(super) use account_data::*;
|
2024-05-28 04:52:58 +00:00
|
|
|
pub(super) use alias::*;
|
2024-08-30 19:37:21 -04:00
|
|
|
pub(super) use appservice::*;
|
2024-05-28 04:52:58 +00:00
|
|
|
pub(super) use backup::*;
|
|
|
|
pub(super) use capabilities::*;
|
|
|
|
pub(super) use context::*;
|
|
|
|
pub(super) use device::*;
|
|
|
|
pub(super) use directory::*;
|
|
|
|
pub(super) use filter::*;
|
|
|
|
pub(super) use keys::*;
|
|
|
|
pub(super) use media::*;
|
2024-08-27 03:35:00 +00:00
|
|
|
pub(super) use media_legacy::*;
|
2024-05-28 04:52:58 +00:00
|
|
|
pub(super) use membership::*;
|
2024-10-11 18:57:59 +00:00
|
|
|
pub use membership::{join_room_by_id_helper, leave_all_rooms, leave_room};
|
2024-05-28 04:52:58 +00:00
|
|
|
pub(super) use message::*;
|
2024-07-02 21:51:11 -04:00
|
|
|
pub(super) use openid::*;
|
2024-05-28 04:52:58 +00:00
|
|
|
pub(super) use presence::*;
|
|
|
|
pub(super) use profile::*;
|
2024-06-11 00:42:54 -04:00
|
|
|
pub use profile::{update_all_rooms, update_avatar_url, update_displayname};
|
2024-05-28 04:52:58 +00:00
|
|
|
pub(super) use push::*;
|
|
|
|
pub(super) use read_marker::*;
|
|
|
|
pub(super) use redact::*;
|
|
|
|
pub(super) use relations::*;
|
|
|
|
pub(super) use report::*;
|
|
|
|
pub(super) use room::*;
|
|
|
|
pub(super) use search::*;
|
2024-10-27 20:13:10 +00:00
|
|
|
pub(super) use send::*;
|
2024-05-28 04:52:58 +00:00
|
|
|
pub(super) use session::*;
|
|
|
|
pub(super) use space::*;
|
|
|
|
pub(super) use state::*;
|
|
|
|
pub(super) use sync::*;
|
|
|
|
pub(super) use tag::*;
|
|
|
|
pub(super) use thirdparty::*;
|
|
|
|
pub(super) use threads::*;
|
|
|
|
pub(super) use to_device::*;
|
|
|
|
pub(super) use typing::*;
|
|
|
|
pub(super) use unstable::*;
|
|
|
|
pub(super) use unversioned::*;
|
|
|
|
pub(super) use user_directory::*;
|
|
|
|
pub(super) use voip::*;
|
2024-11-24 00:19:55 +00:00
|
|
|
pub(super) use well_known::*;
|
2020-07-30 18:14:47 +02:00
|
|
|
|
2024-01-16 20:44:20 -05:00
|
|
|
/// generated device ID length
|
2024-04-22 23:48:57 -04:00
|
|
|
const DEVICE_ID_LENGTH: usize = 10;
|
2024-01-16 20:44:20 -05:00
|
|
|
|
|
|
|
/// generated user access token length
|
2024-04-22 23:48:57 -04:00
|
|
|
const TOKEN_LENGTH: usize = 32;
|
2024-01-16 20:44:20 -05:00
|
|
|
|
|
|
|
/// generated user session ID length
|
2024-05-09 15:59:08 -07:00
|
|
|
const SESSION_ID_LENGTH: usize = service::uiaa::SESSION_ID_LENGTH;
|