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(federation): Add TalkV1 federation proxy for mentions #11587

Merged
merged 27 commits into from
Feb 23, 2024

Conversation

nickvergessen
Copy link
Member

@nickvergessen nickvergessen commented Feb 14, 2024

Decision is to proxy the requests on the own server,
so we can proxy other services (matrix coming to mind)
in the future and the clients still have to only talk to
their own server, to help with CSP and to reduce the efforts

🛠️ API Checklist

🚧 Tasks

Legend:

  • 🟥 Must have
  • 🟨 Should have
  • 🟩 Good to have
  • ⚫ Not for now

  • Avatar
    • getAvatar 🟨
    • getAvatarDark 🟨
    • uploadAvatar ⚫ Moderation is not supported in TalkV1
    • emojiAvatar ⚫ Moderation is not supported in TalkV1
    • deleteAvatar ⚫ Moderation is not supported in TalkV1
  • Chat
    • receiveMessages 🟥
    • sendMessage 🟥
    • deleteMessage 🟥
    • editMessage 🟥
    • getMessageContext 🟥
    • setReadMarker 🟥
    • setReminder 🟨
    • getReminder 🟨
    • deleteReminder 🟨
    • markUnread 🟨
    • mentions 🟨
    • shareObjectToChat 🟩
    • getObjectsSharedInRoomOverview 🟩
    • getObjectsSharedInRoom 🟩
    • clearHistory ⚫ Moderation is not supported in TalkV1
  • Room
    • getParticipants 🟥
    • 🆕 capabilities 🟥
    • setSessionState 🟨

🏁 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

@nickvergessen nickvergessen marked this pull request as draft February 14, 2024 11:44
@nickvergessen nickvergessen force-pushed the feat/noid/mention-proxy-sample branch from 3192954 to 670019c Compare February 15, 2024 09:25
@nickvergessen nickvergessen changed the title Temp feat(federation): Add TalkV1 federation proxy for mentions Feb 15, 2024
lib/Controller/ChatController.php Outdated Show resolved Hide resolved
lib/Federation/CloudFederationProviderTalk.php Outdated Show resolved Hide resolved
lib/Federation/Proxy/TalkV1/ChatService.php Outdated Show resolved Hide resolved
lib/Federation/Proxy/TalkV1/ChatService.php Outdated Show resolved Hide resolved
lib/Federation/Proxy/TalkV1/ChatService.php Outdated Show resolved Hide resolved
@nickvergessen nickvergessen self-assigned this Feb 15, 2024
@nickvergessen nickvergessen added 3. to review enhancement feature: chat 💬 Chat and system messages feature: api 🛠️ OCS API for conversations, chats and participants feature: federation 🌐 labels Feb 15, 2024
@nickvergessen nickvergessen added this to the 💞 Next Major (29) milestone Feb 15, 2024
@nickvergessen nickvergessen force-pushed the feat/noid/mention-proxy-sample branch 5 times, most recently from 6caf731 to 25a81fe Compare February 22, 2024 16:12
Decision is to proxy the requests on the own server,
so we can proxy other services (matrix coming to mind)
in the future and the clients still have to only talk to
their own server, to help with CSP and to reduce the efforts

Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Joas Schilling <coding@schilljs.com>
…r type

Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Joas Schilling <coding@schilljs.com>
…thenticator

Signed-off-by: Joas Schilling <coding@schilljs.com>
…g it into the controller

Signed-off-by: Joas Schilling <coding@schilljs.com>
…ocal users

Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Joas Schilling <coding@schilljs.com>
…leware

Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Joas Schilling <coding@schilljs.com>
… remote

Signed-off-by: Joas Schilling <coding@schilljs.com>
…ersation

Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Joas Schilling <coding@schilljs.com>
@nickvergessen nickvergessen force-pushed the feat/noid/mention-proxy-sample branch from c40c550 to 632560a Compare February 23, 2024 13:33
@nickvergessen nickvergessen marked this pull request as ready for review February 23, 2024 13:34
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Joas Schilling <coding@schilljs.com>
@nickvergessen nickvergessen merged commit cc6ea4a into main Feb 23, 2024
64 checks passed
@nickvergessen nickvergessen deleted the feat/noid/mention-proxy-sample branch February 23, 2024 17:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review enhancement feature: api 🛠️ OCS API for conversations, chats and participants feature: chat 💬 Chat and system messages feature: federation 🌐
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants