Giter Club home page Giter Club logo

odyss-e-de-teams's Introduction

Microsoft - L'Odyssée de Teams / Teams Odyssey

Bienvenue sur le Git officiel de L'Odyssée de Teams.

L’Odyssée de Teams est une formation ludique conçue par Microsoft sous la forme d’une application web. Ce jeu, mis à la disposition des formateur·ice·s, a pour objectif de consolider l’adoption et les usages de Microsoft Teams auprès des utilisateur·ice·s de leur organisation.

1

Plusieurs étapes sont nécessaires pour correctement installer puis déployer le jeu. Toutes les explications et packages sont disponibles en français et en anglais sur ce Git dans leur branche respective :

Nous vous souhaitons une très bonne aventure spatiale avec L'Odyssée de Teams !

___________________________________________________________________________________

Welcome to the official Teams Odyssey Git.

Teams Odyssey is a fun training course designed by Microsoft as a web app. The game is organised by trainers and its mission is to reinforce users’ adoption and use of Microsoft Teams in their organisation. 2

Several stages are required to correctly install and launch the game. All explanations and packages are available in english and french on this Git in their respective branch:

We wish you a great space exploration with Teams Odyssey!

Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.opensource.microsoft.com.

When you submit a pull request, a CLA bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.

Trademarks

This project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft trademarks or logos is subject to and must follow Microsoft's Trademark & Brand Guidelines. Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship. Any use of third-party trademarks or logos are subject to those third-party's policies.

odyss-e-de-teams's People

Contributors

dependabot[bot] avatar diesen-hub avatar ebauman-factory avatar l-zhang-sagus avatar lipouli avatar matthieugi avatar microsoft-github-operations[bot] avatar microsoftopensource avatar nlapointe-factory avatar vitopya avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

odyss-e-de-teams's Issues

Missing files

Hello,
We can't find some of the files mentioned in the ReadMe document. These are the following files:

  • t_question.csv
  • t_response.csv
  • Q&A_EN.xlsx
  • The Teams Odyssey - Game Master Guide.pdf

Could you add them? Or if they are present, please specify in which folder?

Thank you in advance,
Sincerely

Where is the folder Odyssee_teams_pub ?

Hi,
On the step 38, we need open the folder Odyssee_teams_pub with VSC, but where is it ?

When I run "npm i", I obtain some errors.

npm WARN deprecated [email protected]: This loader has been deprecated. Please use eslint-webpack-plugin
npm WARN deprecated @hapi/[email protected]: Moved to 'npm install @sideway/address'
npm WARN deprecated [email protected]: please switch to a stable version
npm WARN deprecated [email protected]: The querystring API is considered Legacy. new code should use the URLSearchParams API instead.
npm WARN deprecated [email protected]: babel-eslint is now @babel/eslint-parser. This package will no longer receive updates.
npm WARN deprecated [email protected]: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
npm WARN deprecated [email protected]: request has been deprecated, see request/request#3142
npm WARN deprecated @hapi/[email protected]: This version has been deprecated and is no longer supported or maintained
npm WARN deprecated @hapi/[email protected]: Switch to 'npm install joi'
npm WARN deprecated [email protected]: This SVGO version is no longer supported. Upgrade to v2.x.x.
npm WARN deprecated [email protected]: This version of tar is no longer supported, and will not receive security updates. Please upgrade asap.
npm WARN deprecated [email protected]: core-js@<3.4 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Please, upgrade your dependencies to the actual version of core-js.
npm ERR! code 1
npm ERR! path C:\Users\JonathanJACQUET\OneDrive - BEWE\Documents\Odyssee\Odysse_Teams_pub\client\node_modules\node-sass
npm ERR! command failed
npm ERR! command C:\WINDOWS\system32\cmd.exe /d /s /c node scripts/build.js
npm ERR! Building: C:\Program Files\nodejs\node.exe C:\Users\JonathanJACQUET\OneDrive - BEWE\Documents\Odyssee\Odysse_Teams_pub\client\node_modules\node-gyp\bin\node-gyp.js rebuild --verbose --libsass_ext= --libsass_cflags= --libsass_ldflags= --libsass_library=
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp verb cli [
npm ERR! gyp verb cli 'C:\Program Files\nodejs\node.exe',
npm ERR! gyp verb cli 'C:\Users\JonathanJACQUET\OneDrive - BEWE\Documents\Odyssee\Odysse_Teams_pub\client\node_modules\node-gyp\bin\node-gyp.js',
npm ERR! gyp verb cli 'rebuild',
npm ERR! gyp verb cli '--verbose',
npm ERR! gyp verb cli '--libsass_ext=',
npm ERR! gyp verb cli '--libsass_cflags=',
npm ERR! gyp verb cli '--libsass_ldflags=',
npm ERR! gyp verb cli '--libsass_library='
npm ERR! gyp verb cli ]
npm ERR! gyp info using [email protected]
npm ERR! gyp info using [email protected] | win32 | x64
npm ERR! gyp verb command rebuild []
npm ERR! gyp verb command clean []
npm ERR! gyp verb clean removing "build" directory
npm ERR! gyp verb command configure []
npm ERR! gyp verb check python checking for Python executable "python2" in the PATH
npm ERR! gyp verb which failed Error: not found: python2
npm ERR! gyp verb which failed at getNotFoundError (C:\Users\JonathanJACQUET\OneDrive - BEWE\Documents\Odyssee\Odysse_Teams_pub\client\node_modules\which\which.js:13:12)
npm ERR! gyp verb which failed at F (C:\Users\JonathanJACQUET\OneDrive - BEWE\Documents\Odyssee\Odysse_Teams_pub\client\node_modules\which\which.js:68:19)
npm ERR! gyp verb which failed at E (C:\Users\JonathanJACQUET\OneDrive - BEWE\Documents\Odyssee\Odysse_Teams_pub\client\node_modules\which\which.js:80:29)
npm ERR! gyp verb which failed at C:\Users\JonathanJACQUET\OneDrive - BEWE\Documents\Odyssee\Odysse_Teams_pub\client\node_modules\which\which.js:89:16
npm ERR! gyp verb which failed at C:\Users\JonathanJACQUET\OneDrive - BEWE\Documents\Odyssee\Odysse_Teams_pub\client\node_modules\isexe\index.js:42:5
npm ERR! gyp verb which failed at C:\Users\JonathanJACQUET\OneDrive - BEWE\Documents\Odyssee\Odysse_Teams_pub\client\node_modules\isexe\windows.js:36:5
npm ERR! gyp verb which failed at FSReqCallback.oncomplete (node:fs:204:21)
npm ERR! gyp verb which failed python2 Error: not found: python2
npm ERR! gyp verb which failed at getNotFoundError (C:\Users\JonathanJACQUET\OneDrive - BEWE\Documents\Odyssee\Odysse_Teams_pub\client\node_modules\which\which.js:13:12)
npm ERR! gyp verb which failed at F (C:\Users\JonathanJACQUET\OneDrive - BEWE\Documents\Odyssee\Odysse_Teams_pub\client\node_modules\which\which.js:68:19)
npm ERR! gyp verb which failed at E (C:\Users\JonathanJACQUET\OneDrive - BEWE\Documents\Odyssee\Odysse_Teams_pub\client\node_modules\which\which.js:80:29)
npm ERR! gyp verb which failed at C:\Users\JonathanJACQUET\OneDrive - BEWE\Documents\Odyssee\Odysse_Teams_pub\client\node_modules\which\which.js:89:16
npm ERR! gyp verb which failed at C:\Users\JonathanJACQUET\OneDrive - BEWE\Documents\Odyssee\Odysse_Teams_pub\client\node_modules\isexe\index.js:42:5
npm ERR! gyp verb which failed at C:\Users\JonathanJACQUET\OneDrive - BEWE\Documents\Odyssee\Odysse_Teams_pub\client\node_modules\isexe\windows.js:36:5
npm ERR! gyp verb which failed at FSReqCallback.oncomplete (node:fs:204:21) {
npm ERR! gyp verb which failed code: 'ENOENT'
npm ERR! gyp verb which failed }
npm ERR! gyp verb check python checking for Python executable "python" in the PATH
npm ERR! gyp verb which succeeded python C:\Python310\python.EXE
npm ERR! gyp ERR! configure error
npm ERR! gyp ERR! stack Error: Command failed: C:\Python310\python.EXE -c import sys; print "%s.%s.%s" % sys.version_info[:3];
npm ERR! gyp ERR! stack File "", line 1
npm ERR! gyp ERR! stack import sys; print "%s.%s.%s" % sys.version_info[:3];
npm ERR! gyp ERR! stack ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
npm ERR! gyp ERR! stack SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
npm ERR! gyp ERR! stack
npm ERR! gyp ERR! stack at ChildProcess.exithandler (node:child_process:387:12)
npm ERR! gyp ERR! stack at ChildProcess.emit (node:events:527:28)
npm ERR! gyp ERR! stack at maybeClose (node:internal/child_process:1090:16)
npm ERR! gyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:302:5)
npm ERR! gyp ERR! System Windows_NT 10.0.22000
npm ERR! gyp ERR! command "C:\Program Files\nodejs\node.exe" "C:\Users\JonathanJACQUET\OneDrive - BEWE\Documents\Odyssee\Odysse_Teams_pub\client\node_modules\node-gyp\bin\node-gyp.js" "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library="
npm ERR! gyp ERR! cwd C:\Users\JonathanJACQUET\OneDrive - BEWE\Documents\Odyssee\Odysse_Teams_pub\client\node_modules\node-sass
npm ERR! gyp ERR! node -v v18.2.0
npm ERR! gyp ERR! node-gyp -v v3.8.0
npm ERR! gyp ERR! not ok
npm ERR! Build failed with error code: 1

npm ERR! A complete log of this run can be found in:

Could you help me ?

Application does not work

Hello,

We installed the app on Azure according to the latest procedures and updates, but it doesn't work: in Teams, the app displays the app page but empty with "loading...'

The errors are specified in the attached file

Odyssee Teams - Appli vide
Odyssee teams - Erreurs

Various issues and several notes

Hi,

I could be run application after any changes:
In azure aad:

  • Expose an api:
    • api://{APP_SERVER_URL}/{TENANT_ID}
    • Authorise client application: 1fec8e78-bce4-4aaf-ab1b-5451cc387264 (teams web app) and 5e3ce6c0-2b1f-4285-8d4b-75ee78787346 (teams desktop)

In app server :

  • Add all configuration keys from docker-compose.yml in app server configuration (API_URL, STATIC_URL, AZUREAD_APPLICATION_ID, POSTGRES_DB, POSTGRES_USER, POSTGRES_PASSWORD, POSTGRES_HOST, AZUREAD_BaseUri ...)

In source code:

  • Replace your tenant tag etc.. in all files:
    • adal.auth.service.js
    • msal.auth.service.js
    • teams.auth.service.js
  • Change valid domain in manifest.json
  • Copy .env and/or .env.production and fill environment variables in client folder and rebuild client
  • In crypto.js:
    const key = crypto.scryptSync(CRYPTO_SECRET_KEY, 'salt', 32);
    ...
    const cipher = crypto.createCipheriv(CRYPTO_ALGORITHM, key, iv);
  • Clarification: Only prod folder must be deploy in app server

In database:
Missing data for :

  • t_semaine
  • t_thematique
  • j_organisation_agenda
  • j_organisation_semaine

Missing assets from t_questions (PILPROJ/ ... )

After all changes I have always on error with cookies. Cookies.set() js function not create cookie in Teams Web app (it works on teams desktop) and the application cannot be get user with /user api.

Can you help me on this issue?

Best regards,

Unable to connect to the database

Hi,

Following the readme to configure Database connection using the guidance, the application is unable to connect to PostgreSQL instance.

It seems to be a problem with TLS connection as client doesn't present a good certificate.

Which is the good configuration for the database connection string?

Thank you,

Adrian

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.