Add /force-encryption command #18

Manually merged
jabber.developer merged 2 commits from feature/force-encryption into master 2025-08-27 16:54:17 +00:00

Implement /force-encryption command to configure forced encryption
settings with on|off and policy resend-to-confirm|block options.

The changes enhance user experience by clarifying encryption requirements
and providing actionable commands. Users can now press Enter again to
confirm unencrypted messages in resend-to-confirm mode.

  • I ran valgrind when using my new feature
  • I added autotests for new functionality

How to test the functionality

  • For each option in /force-encryption command, try to send message without encryption and with OMEMO/OTR/PGP encryption enabled.
Implement /force-encryption command to configure forced encryption settings with on|off and policy resend-to-confirm|block options. The changes enhance user experience by clarifying encryption requirements and providing actionable commands. Users can now press Enter again to confirm unencrypted messages in resend-to-confirm mode. <!--- Make sure to read CONTRIBUTING.md --> <!--- It mentions the rules to follow and helpful tools --> <!-- For completed items, change [ ] to [x]. --> - [ ] I ran valgrind when using my new feature - [x] I added autotests for new functionality ### How to test the functionality - For each option in `/force-encryption` command, try to send message without encryption and with OMEMO/OTR/PGP encryption enabled.
jabber.developer added 1 commit 2025-08-25 18:42:50 +00:00
feat: Add /force-encryption command and update message handling
Some checks failed
CI / Check spelling (pull_request) Successful in 19s
CI / Check coding style (pull_request) Successful in 35s
CI / Linux (ubuntu) (pull_request) Failing after 2m58s
CI / Linux (debian) (pull_request) Failing after 3m20s
CI / Linux (arch) (pull_request) Failing after 2m50s
94b042e00d
Implement /force-encryption command to configure forced encryption
settings with on|off and policy resend-to-confirm|block options.

The changes enhance user experience by clarifying encryption requirements
and providing actionable commands. Users can now press Enter again to
confirm unencrypted messages in resend-to-confirm mode.
admin force-pushed feature/force-encryption from 94b042e00d to 442bfb6ce1 2025-08-25 19:11:41 +00:00 Compare
admin added 1 commit 2025-08-27 00:19:27 +00:00
Add unit tests for forced encryption check function
Some checks failed
CI / Check spelling (pull_request) Successful in 20s
CI / Check coding style (pull_request) Successful in 31s
CI / Linux (debian) (pull_request) Failing after 3m30s
CI / Linux (ubuntu) (pull_request) Successful in 12m13s
CI / Linux (arch) (pull_request) Successful in 17m57s
28a5740e8b
admin force-pushed feature/force-encryption from 28a5740e8b to 4a48f228a6 2025-08-27 14:36:38 +00:00 Compare
admin force-pushed feature/force-encryption from 4a48f228a6 to f4405d114a 2025-08-27 14:48:40 +00:00 Compare
jabber.developer manually merged commit f4405d114a into master 2025-08-27 16:54:17 +00:00
Sign in to join this conversation.
No description provided.