Migrate additional names in src/
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
@@ -96,7 +96,7 @@ impl Console {
|
||||
debug!("session starting");
|
||||
|
||||
self.output
|
||||
.print_inline(&format!("**conduwuit {}** admin console\n", tuwunel_core::version()));
|
||||
.print_inline(&format!("**tuwunel {}** admin console\n", tuwunel_core::version()));
|
||||
self.output
|
||||
.print_text("\"help\" for help, ^D to exit the console, ^\\ to stop the server\n");
|
||||
|
||||
|
||||
@@ -22,7 +22,7 @@ use crate::Services;
|
||||
|
||||
/// Create the admin room.
|
||||
///
|
||||
/// Users in this room are considered admins by conduwuit, and the room can be
|
||||
/// Users in this room are considered admins by tuwunel, and the room can be
|
||||
/// used to issue admin commands by talking to the server user inside it.
|
||||
pub async fn create_admin_room(services: &Services) -> Result {
|
||||
let room_id = RoomId::new(services.globals.server_name());
|
||||
@@ -168,7 +168,7 @@ pub async fn create_admin_room(services: &Services) -> Result {
|
||||
.timeline
|
||||
.build_and_append_pdu(
|
||||
PduBuilder::state(String::new(), &RoomTopicEventContent {
|
||||
topic: format!("Manage {} | Run commands prefixed with `!admin` | Run `!admin -h` for help | Documentation: https://conduwuit.puppyirl.gay/", services.config.server_name),
|
||||
topic: format!("Manage {} | Run commands prefixed with `!admin` | Run `!admin -h` for help | Documentation: https://github.com/matrix-construct/tuwunel/", services.config.server_name),
|
||||
}),
|
||||
server_user,
|
||||
&room_id,
|
||||
|
||||
@@ -16,7 +16,7 @@ use tuwunel_core::{
|
||||
Err, Result, debug_info, debug_warn, error, implement, matrix::pdu::PduBuilder,
|
||||
};
|
||||
|
||||
/// Invite the user to the conduwuit admin room.
|
||||
/// Invite the user to the tuwunel admin room.
|
||||
///
|
||||
/// This is equivalent to granting server admin privileges.
|
||||
#[implement(super::Service)]
|
||||
@@ -143,7 +143,7 @@ pub async fn make_user_admin(&self, user_id: &UserId) -> Result {
|
||||
|
||||
if self.services.server.config.admin_room_notices {
|
||||
let welcome_message = String::from(
|
||||
"## Thank you for trying out conduwuit!\n\nconduwuit is technically a hard fork of Conduit, which is in Beta. The Beta status initially was inherited from Conduit, however overtime this Beta status is rapidly becoming less and less relevant as our codebase significantly diverges more and more. conduwuit is quite stable and very usable as a daily driver and for a low-medium sized homeserver. There is still a lot of more work to be done, but it is in a far better place than the project was in early 2024.\n\nHelpful links:\n> GitHub Repo: https://github.com/girlbossceo/conduwuit\n> Documentation: https://conduwuit.puppyirl.gay/\n> Report issues: https://github.com/girlbossceo/conduwuit/issues\n\nFor a list of available commands, send the following message in this room: `!admin --help`\n\nHere are some rooms you can join (by typing the command into your client) -\n\nconduwuit space: `/join #conduwuit-space:puppygock.gay`\nconduwuit main room (Ask questions and get notified on updates): `/join #conduwuit:puppygock.gay`\nconduwuit offtopic room: `/join #conduwuit-offtopic:puppygock.gay`",
|
||||
"## Thank you for trying out tuwunel!\n\nTuwunel is a continuation of conduwuit which was technically a hard fork of Conduit.\n\nHelpful links:\n> GitHub Repo: https://github.com/matrix-construct/tuwunel\n> Documentation: https://github.com/matrix-construct/tuwunel\n> Report issues: https://github.com/matri-construct/tuwunel/issues\n\nFor a list of available commands, send the following message in this room: `!admin --help`"
|
||||
);
|
||||
|
||||
// Send welcome message
|
||||
|
||||
Reference in New Issue
Block a user