# Intégration Nextcloud Talk

**URL:** <https://community.gladysassistant.com/t/integration-nextcloud-talk/6695>\
**Category:** Développement\
**Created:** [Novembre 28, 2021, 7:37 UTC](https://community.gladysassistant.com/t/integration-nextcloud-talk/6695 "2021-11-28T19:37:44Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![bertrandda](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/bertrandda/32/5929_2.png) [@bertrandda](https://community.gladysassistant.com/u/bertrandda)\
**Post date:** [Novembre 28, 2021, 7:37 UTC](https://community.gladysassistant.com/t/integration-nextcloud-talk/6695/1 "2021-11-28T19:37:44Z")

</div>

Salut tous le monde,

Je crois qu’on est plusieurs à avoir une instance Nextcloud donc j’ai souhaité nous ajouter l’intégration de l’application [Talk](https://nextcloud.com/talk/). L’idée est d’avoir une alternative à Telegram pour communiquer avec votre instance Gladys.

En attendant d’avoir l’intégration dans Gladys, si vous voulez voir la PR en cours, elle est visible ici [[WIP] Add Nextcloud Talk service by bertrandda · Pull Request #1388 · GladysAssistant/Gladys · GitHub](https://github.com/GladysAssistant/Gladys/pull/1388)

---

<div class="post-metadata">

**Author:** ![bertrandda](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/bertrandda/32/5929_2.png) [@bertrandda](https://community.gladysassistant.com/u/bertrandda)\
**Post date:** [Mars 24, 2022, 8:09 UTC](https://community.gladysassistant.com/t/integration-nextcloud-talk/6695/2 "2022-03-24T20:09:38Z")

</div>

Pour ceux qui veulent tester, une image docker de test est disponible [bertrandda/gladys:nextcloud-talk](https://hub.docker.com/layers/gladys/bertrandda/gladys/nextcloud-talk/images/sha256-093ac544d6724272ab783c4b37611550db4fd061636cd98c21ef639d709dbbdc)

Si vous avez besoin de la doc pour paramétrer la connexion à votre instance Nextcloud c’est [ici](https://github.com/bertrandda/v4-website/blob/feat/nextcloud-talk-doc/i18n/fr/docusaurus-plugin-content-docs/current/integrations/nextcloud-talk.md)

N’hésitez pas si vous avez des retours

---

<div class="post-metadata">

**Author:** ![VonOx](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/vonox/32/10128_2.png) [@VonOx](https://community.gladysassistant.com/u/VonOx)\
**Post date:** [Mars 24, 2022, 8:23 UTC](https://community.gladysassistant.com/t/integration-nextcloud-talk/6695/3 "2022-03-24T20:23:30Z")

</div>

Je vais faire une installation pour tester, je te ferai un feedback.

---

<div class="post-metadata">

**Author:** ![pierre-gilles](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/pierre-gilles/32/5886_2.png) [@pierre-gilles](https://community.gladysassistant.com/u/pierre-gilles)\
**Post date:** [Mars 25, 2022, 8:37 UTC](https://community.gladysassistant.com/t/integration-nextcloud-talk/6695/4 "2022-03-25T08:37:19Z")

</div>

Merci @VonOx ! Tenez moi au courant des tests et je ferais ensuite une review technique dès que j’ai un peu de temps 🙂

---

<div class="post-metadata">

**Author:** ![VonOx](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/vonox/32/10128_2.png) [@VonOx](https://community.gladysassistant.com/u/VonOx)\
**Post date:** [Avril 9, 2022, 8:07 UTC](https://community.gladysassistant.com/t/integration-nextcloud-talk/6695/5 "2022-04-09T20:07:35Z")

</div>

Good job @bertrandda

 ![image](https://gladys-assistant-community.b-cdn.net/uploads/default/original/2X/6/60f42a5107dc7c67e50162d20109b85e9ec87209.png)

Si je comprends c’est monodirectionnel ? Talk vers Gladys ?  
Je demande ça car l’envoi de message depuis une scène ne fonctionne pas de mon côté

---

<div class="post-metadata">

**Author:** ![bertrandda](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/bertrandda/32/5929_2.png) [@bertrandda](https://community.gladysassistant.com/u/bertrandda)\
**Post date:** [Avril 10, 2022, 8:46 UTC](https://community.gladysassistant.com/t/integration-nextcloud-talk/6695/6 "2022-04-10T20:46:54Z")

</div>

Merci d’avoir pris le temps de tester 🙏

> [@VonOx](#):
>
> Si je comprends c’est monodirectionnel ? Talk vers Gladys ?  
> Je demande ça car l’envoi de message depuis une scène ne fonctionne pas de mon côté

J’ai peut être manqué la partie scène, je vais investiguer. L’objectif est bien d’avoir l’ensemble des fonctions de communications (dans les 2 sens) disponible via Nextcloud Talk

---

<div class="post-metadata">

**Author:** ![VonOx](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/vonox/32/10128_2.png) [@VonOx](https://community.gladysassistant.com/u/VonOx)\
**Post date:** [Avril 11, 2022, 6:56 UTC](https://community.gladysassistant.com/t/integration-nextcloud-talk/6695/7 "2022-04-11T06:56:32Z")

</div>

Ok tiens miens au jus

J’avais rien de spécial dans les logs dans tous les cas

---

<div class="post-metadata">

**Author:** ![bertrandda](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/bertrandda/32/5929_2.png) [@bertrandda](https://community.gladysassistant.com/u/bertrandda)\
**Post date:** [Avril 18, 2022, 8:46 UTC](https://community.gladysassistant.com/t/integration-nextcloud-talk/6695/8 "2022-04-18T20:46:36Z")

</div>

C’était bien une erreur de ma part, c’est fixé et l’image est à jour

---

<div class="post-metadata">

**Author:** ![VonOx](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/vonox/32/10128_2.png) [@VonOx](https://community.gladysassistant.com/u/VonOx)\
**Post date:** [Avril 19, 2022, 7:18 UTC](https://community.gladysassistant.com/t/integration-nextcloud-talk/6695/9 "2022-04-19T07:18:28Z")

</div>

OK je retest ce soir

Edit: Test concluant, c’est tout bon de mon côté @bertrandda

---

<div class="post-metadata">

**Author:** ![pierre-gilles](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/pierre-gilles/32/5886_2.png) [@pierre-gilles](https://community.gladysassistant.com/u/pierre-gilles)\
**Post date:** [Octobre 17, 2022, 5:19 UTC](https://community.gladysassistant.com/t/integration-nextcloud-talk/6695/10 "2022-10-17T05:19:18Z")

</div>

@bertrandda Par rapport à cette PR, je ne sais pas si tu avais vu ma dernière review:

> <https://github.com/GladysAssistant/Gladys/pull/1388#pullrequestreview-1100467206>
>
> \### Pull Request check-list
> 
> To ensure your Pull Request can be accepted as fa…st as possible, make sure to review and check all of these items:
> 
> \- \[x\] If your changes affects code, did your write the tests?
> \- \[x\] Are tests passing? (\`npm test\` on both front/server)
> \- \[x\] Is the linter passing? (\`npm run eslint\` on both front/server)
> \- \[x\] Did you run prettier? (\`npm run prettier\` on both front/server)
> \- \[x\] If you are adding a new features/services, did you run integration comparator? (\`npm run compare-translations\` on front)
> \- \[x\] Did you test this pull request in real life? With real devices? If this development is a big feature or a new service, we recommend that you provide a Docker image to \[the community\](https://community.gladysassistant.com/) for testing before merging.
> \- \[x\] If your changes modify the API (REST or Node.js), did you modify the API documentation? (Documentation is based on comments in code)
> \- \[x\] If you are adding a new features/services which needs explanation, did you modify the user documentation? See \[the GitHub repo\](https://github.com/GladysAssistant/v4-website) and the \[website\](https://gladysassistant.com).
> \- \[x\] Did you add fake requests data for the demo mode (\`front/src/config/demo.js\`) so that the demo website is working without a backend? (if needed) See \[https://demo.gladysassistant.com\](https://demo.gladysassistant.com).
> 
> NOTE: these things are not required to open a PR and can be done afterwards / while the PR is open.
> 
> \### Description of change
> 
> Please provide a description of the change here. It's always best with screenshots, so don't hesitate to add some!
> 
> Added \[Nextcloud Talk\](https://nextcloud.com/talk/) integration to talk with Gladys throught Nextcloud Talk app.

---

<div class="post-metadata">

**Author:** ![bertrandda](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/bertrandda/32/5929_2.png) [@bertrandda](https://community.gladysassistant.com/u/bertrandda)\
**Post date:** [Octobre 17, 2022, 5:40 UTC](https://community.gladysassistant.com/t/integration-nextcloud-talk/6695/11 "2022-10-17T17:40:25Z")

</div>

Je n’avais pas vu en effet, je repasserai dessus

---

<div class="post-metadata">

**Author:** ![bertrandda](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/bertrandda/32/5929_2.png) [@bertrandda](https://community.gladysassistant.com/u/bertrandda)\
**Post date:** [Novembre 7, 2022, 10:00 UTC](https://community.gladysassistant.com/t/integration-nextcloud-talk/6695/12 "2022-11-07T22:00:14Z")

</div>

J’ai réécrit le service suite aux reviews et améliorer le fonctionnement après la sauvegarde d’une nouvelle configuration. Une nouvelle image est disponible `bertrandda/gladys:nextcloud-talk`

---

<div class="post-metadata">

**Author:** ![pierre-gilles](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/pierre-gilles/32/5886_2.png) [@pierre-gilles](https://community.gladysassistant.com/u/pierre-gilles)\
**Post date:** [Décembre 5, 2022, 3:24 UTC](https://community.gladysassistant.com/t/integration-nextcloud-talk/6695/13 "2022-12-05T03:24:04Z")

</div>

@bertrandda Merci pour les changements, c’est bon pour moi comme ça 👍

J’ai juste trouvé une mini typo mais rien de très grave 😄

Je veux bien que tu rebase par rapport à master pour vérifier que ça passe bien en Node.js 18 + corrige la typo, et ensuite si tout roule je suis bon pour merger ça sur master !

Merci pour le boulot accompli la PR est vraiment propre

---

<div class="post-metadata">

**Author:** ![bertrandda](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/bertrandda/32/5929_2.png) [@bertrandda](https://community.gladysassistant.com/u/bertrandda)\
**Post date:** [Décembre 15, 2022, 6:30 UTC](https://community.gladysassistant.com/t/integration-nextcloud-talk/6695/14 "2022-12-15T06:30:18Z")

</div>

Ça y est tout est à jour, et grâce au passage à Node 18 on peut maintenant utiliser l’`AbortController` natif à la place du polyfill 👌

---

<div class="post-metadata">

**Author:** ![Noj](https://gladys-assistant-community.b-cdn.net/letter_avatar_proxy/v4/letter/n/258eb7/32.png) [@Noj](https://community.gladysassistant.com/u/Noj)\
**Post date:** [Décembre 15, 2022, 1:08 UTC](https://community.gladysassistant.com/t/integration-nextcloud-talk/6695/15 "2022-12-15T13:08:18Z")

</div>

Super idée ! Merci pour la fonctionnalité. 🙂  
D’ailleurs, on pourrait faire pareil avec le service calendrier de Nextcloud, non ?! 🤔

---

<div class="post-metadata">

**Author:** ![bertrandda](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/bertrandda/32/5929_2.png) [@bertrandda](https://community.gladysassistant.com/u/bertrandda)\
**Post date:** [Décembre 15, 2022, 7:27 UTC](https://community.gladysassistant.com/t/integration-nextcloud-talk/6695/16 "2022-12-15T19:27:19Z")

</div>

> [@Noj](#):
>
> D’ailleurs, on pourrait faire pareil avec le service calendrier de Nextcloud, non ?! 🤔

Tu veux synchroniser ton calendrier avec Gladys c’est bien ça ? C’est déjà possible avec l’intégration CalDAV, tu peux regarder ici [CalDAV | Gladys Assistant](https://gladysassistant.com/fr/docs/integrations/caldav/#nextcloud)

---

<div class="post-metadata">

**Author:** ![Noj](https://gladys-assistant-community.b-cdn.net/letter_avatar_proxy/v4/letter/n/258eb7/32.png) [@Noj](https://community.gladysassistant.com/u/Noj)\
**Post date:** [Décembre 15, 2022, 8:14 UTC](https://community.gladysassistant.com/t/integration-nextcloud-talk/6695/17 "2022-12-15T20:14:59Z")

</div>

Yes j’avais vue @bertrandda, merci. 🙂  
Je me suis mal exprimé pardon. Je voulais dire utiliser ces 2 fonctionnalités de Nextcloud dans gladys. Plutôt qu’avoir 3 app différentes. 🙂

---

<div class="post-metadata">

**Author:** ![pierre-gilles](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/pierre-gilles/32/5886_2.png) [@pierre-gilles](https://community.gladysassistant.com/u/pierre-gilles)\
**Post date:** [Décembre 16, 2022, 4:52 UTC](https://community.gladysassistant.com/t/integration-nextcloud-talk/6695/18 "2022-12-16T04:52:37Z")

</div>

> [@bertrandda](#):
>
> grâce au passage à Node 18 on peut maintenant utiliser l’`AbortController` natif à la place du polyfill 👌

Trop bien 🕶

J’ai fais une review, j’ai juste 2 mini commentaires sur les tests mais c’est vraiment du détail.

Ma review: [https://github.com/GladysAssistant/Gladys/pull/1388#pullrequestreview-1220274969](https://github.com/GladysAssistant/Gladys/pull/1388#pullrequestreview-1220274969)

J’aimerais par contre qu’on ait un peu plus de testing avec la version finale de cette PR, est-ce que tu peux faire un dernier build Docker ?

Si ensuite quelqu’un veut bien faire un test pour s’assurer que c’est tout bon (vu que pas mal de choses ont changées depuis le dernier test: Node 18, etc… )

Ensuite, c’est bon pour moi pour que ça partes en prod !

---

<div class="post-metadata">

**Author:** ![bertrandda](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/bertrandda/32/5929_2.png) [@bertrandda](https://community.gladysassistant.com/u/bertrandda)\
**Post date:** [Décembre 16, 2022, 8:17 UTC](https://community.gladysassistant.com/t/integration-nextcloud-talk/6695/19 "2022-12-16T08:17:16Z")

</div>

> [@Noj](#):
>
> Je voulais dire utiliser ces 2 fonctionnalités de Nextcloud dans gladys. Plutôt qu’avoir 3 app différentes. 🙂

J’y avais réfléchi mais au final ce sont 2 comptes différents qu’on configure (celui de l’utilisateur pour le calendrier et celui du bot pour Nextcloud Talk) donc unifier les configuration dans ce cas là n’est pas faisable. Par contre si d’autre app nextcloud deviennent compatible Gladys ça serait intéressant oui d’avoir un seul endroit où configurer le compte utilisateur pour toutes les intégrations d’une instance NC.

> [@pierre-gilles](#):
>
> J’ai fais une review, j’ai juste 2 mini commentaires sur les tests mais c’est vraiment du détail.

Merci je m’en occupe ce soir ou demain. Vu que ce n’est qu’au niveau des fichiers de tests les modifications à faire et que le reste de l’intégration ne devrait pas changer, ceux qui veulent déjà tester l’intégration une image est dispo `bertrandda/gladys:nextcloud-talk`

---

<div class="post-metadata">

**Author:** ![bertrandda](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/bertrandda/32/5929_2.png) [@bertrandda](https://community.gladysassistant.com/u/bertrandda)\
**Post date:** [Avril 19, 2023, 8:25 UTC](https://community.gladysassistant.com/t/integration-nextcloud-talk/6695/20 "2023-04-19T20:25:11Z")

</div>

Petit UP, je viens de mettre à jour l’image de test si certains sont intéressés

[Page suivante](https://community.gladysassistant.com/t/integration-nextcloud-talk/6695.md?page=2)
