Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat: add option to force password in public conversations #13915

Merged

Conversation

DorraJaouad
Copy link
Contributor

@DorraJaouad DorraJaouad commented Nov 30, 2024

☑️ Resolves

🖌️ UI Checklist

🖼️ Screenshots / Screencasts

🏚️ Force password is disabled 🏡 Force password enabled
image password-after
. password-after2
Public conversations without password image
Password is missing (should not happen) image

🚧 Tasks

  • Change UI when force password is on
  • Don't allow to remove/delete password when is enforced
  • Handle federation case
  • Handle previous public conversations without password?
  • Conversation Creation process

🏁 Checklist

src/types/index.ts Outdated Show resolved Hide resolved
src/utils/generatePassword.ts Show resolved Hide resolved
src/utils/generatePassword.ts Outdated Show resolved Hide resolved
src/services/conversationsService.js Outdated Show resolved Hide resolved
@DorraJaouad DorraJaouad force-pushed the feat/13450/force-password-for-public-conversations branch from a2a1990 to c35edfd Compare December 5, 2024 14:44
Copy link
Contributor

@Antreesy Antreesy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Couple of nitpicks

src/store/conversationsStore.js Outdated Show resolved Hide resolved
src/store/conversationsStore.js Outdated Show resolved Hide resolved
src/store/conversationsStore.js Outdated Show resolved Hide resolved
src/components/ConversationSettings/LinkShareSettings.vue Outdated Show resolved Hide resolved
src/components/ConversationSettings/LinkShareSettings.vue Outdated Show resolved Hide resolved
src/components/ConversationSettings/LinkShareSettings.vue Outdated Show resolved Hide resolved
await this.$store.dispatch('toggleGuests', { token: this.token, allowGuests, password: this.password })
} else {
if (!allowGuests) {
await this.togglePassword(false)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That briefly show a warning, before changing room type

@miaulalala can we maybe remove password in RoomController::makePrivate()?

src/store/conversationsStore.js Show resolved Hide resolved
…config in set public type switch (conversation already created)

Signed-off-by: DorraJaouad <dorra.jaoued7@gmail.com>
Signed-off-by: DorraJaouad <dorra.jaoued7@gmail.com>
Signed-off-by: DorraJaouad <dorra.jaoued7@gmail.com>
…don't support the new API endpoint

Signed-off-by: DorraJaouad <dorra.jaoued7@gmail.com>
Signed-off-by: DorraJaouad <dorra.jaoued7@gmail.com>
…password when force password protection is on

Signed-off-by: DorraJaouad <dorra.jaoued7@gmail.com>
Signed-off-by: DorraJaouad <dorra.jaoued7@gmail.com>
@DorraJaouad DorraJaouad force-pushed the feat/13450/force-password-for-public-conversations branch from 445a876 to 4af1bc0 Compare December 6, 2024 14:20
@DorraJaouad DorraJaouad merged commit de72cb6 into main Dec 6, 2024
47 checks passed
@DorraJaouad DorraJaouad deleted the feat/13450/force-password-for-public-conversations branch December 6, 2024 17:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add option to force passwords for public conversations
2 participants