Skip to content

Releases

v3.3.0

Choose a tag to compare

@Ilia-Shakeri Ilia-Shakeri released this 05 Dec 12:58
90dbb5f
  • Keep database types visible in the narrow server picker and switch servers from the main menu.
  • Discover labelled and Compose Synapse containers, and give the picker a shared time limit for previews.
  • Show the PostgreSQL endpoint and report account-write availability consistently in the menus and doctor.
  • Offer backup verification from the server picker even when Synapse is unavailable, and expand home-directory paths.

v3.2.0

Choose a tag to compare

@Ilia-Shakeri Ilia-Shakeri released this 05 Dec 11:46
2e27388
  • Select a running Synapse server in the menu and see the database detected from its configuration.
  • Open database tools before signing in to the Synapse Admin API.
  • Pick PostgreSQL client tools and an authentication method in the menu, and browse preset reports a page at a time.
  • Continue a Whiptail session in text prompts after a resize and return a failing exit code when a doctor check fails.
  • Verify a saved backup against its manifest and optionally check recovery in a disposable SQLite copy or PostgreSQL container.

v3.1.0

Choose a tag to compare

@Ilia-Shakeri Ilia-Shakeri released this 05 Dec 06:35
cc67775
  • Group Whiptail actions into account browsing, access changes, and database tools.
  • Open account details from search results and keep results and errors in scrollable dialogs.
  • Add masked credential prompts and default account confirmations to Back.
  • Refresh the keyboard guide and README screenshots using a local Synapse fixture.

v3.0.0

Choose a tag to compare

@Ilia-Shakeri Ilia-Shakeri released this 02 Dec 13:06
1a37247

Accounts

  • Bind account changes to the loopback listener in the selected Synapse container. Changes share a lock across manager sessions on that container.
  • Report a rejected, accepted, or unknown result so operators can check account state before retrying. Room departures have a separate status.
  • Hide external identifiers and sensitive device fields by default. Use info --include-private when you need them.
  • Verify reactivation with a local password on SQLite and PostgreSQL and with Synapse JWT login for an external account.

Database and operations

  • Check the active SQLite file and PostgreSQL server identity before backup. Write a checksum and source manifest with each verified archive.
  • Restore both archive types into fresh Synapse containers and check administrator sign-in.
  • Add doctor for preflight checks and support SQL report paging and IS NULL filters.
  • Add a private reporting policy, backup and recovery benchmarks, and checks for both GitHub source archives.

Upgrading from 2.x

  • Use --server-url for reads. For account changes, use a client listener inside the selected container and an isolated Docker network.
  • For network PostgreSQL connections, use sslmode=verify-full or opt in explicitly to a trusted private network with --allow-insecure-db. Backups need a compatible client and access to read the PostgreSQL system identifier. See the database guide.
  • Configure a separate read role for PostgreSQL reports. For scripts, update error handling to check kind and outcome in JSON errors.

v2.0.0

Choose a tag to compare

@Ilia-Shakeri Ilia-Shakeri released this 02 Dec 11:04
702446e

Accounts

  • Moved account changes to the Synapse Admin API.
  • Added lock, unlock, suspend, and unsuspend commands.
  • Password reset signs out existing devices. Account state is checked after lock, suspension, deactivation, and reactivation changes.
  • On fresh SQLite servers, reactivation waits for the Synapse profile index before changing the password.

Operations

  • Added explicit Docker target selection, parsed YAML configuration, and a machine-readable command mode.
  • Added read-only reports, verified online backups, and private audit receipts.
  • Added Docker tests for account lifecycle, terminal menus, and backup restoration.

Upgrading from 1.x

  • Run the existing Bash entry point with Python 3.10 or later installed.
  • Use a Synapse administrator token for account commands. Set up shared-secret registration to create accounts.
  • Review any old matrix_user_manager.log files and rotate credentials written by earlier versions. See the CLI guide.

Matrix User Manager v1.1.0 - Production Ready

Choose a tag to compare

@Ilia-Shakeri Ilia-Shakeri released this 27 Sep 12:30
1601f5a

Matrix User Manager v1.1.0 - Production Ready 🚀

This is the first stable release of Matrix User Manager, a comprehensive CLI tool for managing Matrix (Synapse) users in Docker environments.

What's New in v1.0.0

Core Features

  • ✅ Interactive CLI with whiptail TUI and text fallback
  • ✅ Dual Database Support - PostgreSQL and SQLite
  • ✅ Auto-Detection of Synapse and PostgreSQL containers
  • ✅ Safe Operations with comprehensive error handling
  • ✅ Secure Password Management with multiple bcrypt methods

User Management Operations

  • 📋 List all users with admin status and creation dates
  • 🔍 Show detailed user info (devices, room memberships)
  • 👤 Create new users with secure password hashing
  • 🔑 Reset passwords with multiple hashing options
  • ❌ Deactivate users (soft delete)
  • ✅ Reactivate previously deactivated users
  • 💾 Database backup (PostgreSQL dump / SQLite copy)
  • ⚡ Execute custom SQL queries

Advanced Features

  • 🏠 Auto-configuration from homeserver.yaml
  • 🔐 Multiple password hashing methods with fallbacks
  • 🛡️ Safe SQLite write operations (container stop/start)
  • 📝 Comprehensive logging and error recovery
  • 🛠️ Automatic dependency installation

Installation

git clone https://github.com/Ilia-Shakeri/Matrix-User-Manager.git
cd Matrix-User-Manager
chmod +x matrix_user_manager.sh
./matrix_user_manager.sh