Skip to content

Conversation

@sanskar-soni-9
Copy link
Member

@sanskar-soni-9 sanskar-soni-9 commented Jun 29, 2024

☑️ Resolves

🛠️ API Checklist

🚧 Tasks

  • Add tests
  • Add docs

🏁 Checklist

  • ⛑️ Tests (unit and/or integration) are included or not possible
  • 📘 API documentation in docs/ has been updated or is not required
  • 🔖 Capability is added or not needed

@sanskar-soni-9 sanskar-soni-9 changed the title Feat/prevent mention all for non moderators feat(mentions): prevent mention @all for non moderators Jun 29, 2024
Copy link
Member

@nickvergessen nickvergessen left a comment

Choose a reason for hiding this comment

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

Very excesive and complete pull request. Thanks a lot.
Had a quick look and most of it looks good, just some minor details.

Are you willing to also look into integration tests? Otherwise we can do that, no problem at all.

@nickvergessen nickvergessen added this to the 💙 Next Major (30) milestone Jun 29, 2024
@nickvergessen nickvergessen added 2. developing feature: chat 💬 Chat and system messages feature: api 🛠️ OCS API for conversations, chats and participants feature: frontend 🖌️ "Web UI" client labels Jun 29, 2024
@sanskar-soni-9
Copy link
Member Author

Thanks!

Are you willing to also look into integration tests? Otherwise we can do that, no problem at all.

Yeah I'm looking for complete pull request including tests and docs

@sanskar-soni-9 sanskar-soni-9 marked this pull request as draft June 30, 2024 08:39
@sanskar-soni-9
Copy link
Member Author

I'm working on tests and docs, I will update it soon.

@sanskar-soni-9
Copy link
Member Author

if (str_starts_with('here', $search)) {
return true;
}

Hi @nickvergessen, is this still in use? with this we do receive mention object through mentions api call but it does not mark message as a mention and also doesn't notifies

@nickvergessen
Copy link
Member

is this still in use? with this we do receive mention object through mentions api call but it does not mark message as a mention and also doesn't notifies

It only is on the suggestions, so when you type @here into the chat, it will suggest @all.
It does not do anything on send

@sanskar-soni-9

This comment was marked as resolved.

@github-actions

This comment was marked as resolved.

@sanskar-soni-9 sanskar-soni-9 marked this pull request as ready for review July 14, 2024 10:28
@sanskar-soni-9 sanskar-soni-9 marked this pull request as draft July 14, 2024 13:07
@sanskar-soni-9 sanskar-soni-9 marked this pull request as ready for review July 14, 2024 13:29
@sanskar-soni-9

This comment was marked as resolved.

@nickvergessen

This comment was marked as resolved.

@nickvergessen
Copy link
Member

Frontend review and we are ready to go

Copy link
Contributor

@ShGKme ShGKme left a comment

Choose a reason for hiding this comment

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

Looks fine on the frontend side, just come nitpicks.

@sanskar-soni-9
Copy link
Member Author

sanskar-soni-9 commented Jul 23, 2024

@nickvergessen sorry, I didn't updated local repo and directly force pushed, I recovered the changes but it will require your confirmation 😬

@nickvergessen
Copy link
Member

I'll rebase to solve the conflict and regenerate openapi

@nickvergessen
Copy link
Member

I also invited you to our org, so you can send your branches to our org, so we can easier collaborate and CI works

@sanskar-soni-9
Copy link
Member Author

I also invited you to our org, so you can send your branches to our org, so we can easier collaborate and CI works

ok, really thanks, joined the org 🚀
And sorry again for the extra work, I forgot that my local branch was not updated

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

2. developing feature: api 🛠️ OCS API for conversations, chats and participants feature: chat 💬 Chat and system messages feature: frontend 🖌️ "Web UI" client feedback-requested

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Allow to prevent @all for non-moderators

4 participants