├── .dockerignore ├── .env ├── .gitignore ├── .gitmessage.txt ├── Makefile ├── README.md ├── back ├── .env ├── .eslintrc.js ├── .gitignore ├── .prettierrc ├── Dockerfile ├── README.md ├── env.dev ├── nest-cli.json ├── package.json ├── prisma │ ├── migrations │ │ ├── 20220908200401_ │ │ │ └── migration.sql │ │ └── migration_lock.toml │ └── schema.prisma ├── src │ ├── app.gateway.ts │ ├── app.module.ts │ ├── auth │ │ ├── 2FA │ │ │ ├── 2fa.controller.ts │ │ │ ├── 2fa.service.ts │ │ │ └── index.ts │ │ ├── auth.controller.ts │ │ ├── auth.module.ts │ │ ├── auth.service.ts │ │ ├── dto │ │ │ ├── 2fa.dto.ts │ │ │ ├── auth.dto.ts │ │ │ └── index.ts │ │ ├── filter │ │ │ ├── index.ts │ │ │ └── redirect.login.ts │ │ ├── guard │ │ │ ├── 42auth.guard.ts │ │ │ ├── index.ts │ │ │ ├── jwt.guard.ts │ │ │ └── rt.guard.ts │ │ ├── interfaces │ │ │ ├── 42.interface.ts │ │ │ └── index.ts │ │ └── strategy │ │ │ ├── 42.strategy.ts │ │ │ ├── index.ts │ │ │ ├── jwt.strategy.ts │ │ │ └── rt.strategy.ts │ ├── chat │ │ ├── chat.gateway.ts │ │ ├── chat.module.ts │ │ ├── chat.service.ts │ │ ├── dto │ │ │ └── chat.dto.ts │ │ ├── filter │ │ │ └── transformation-filter.ts │ │ └── type │ │ │ └── chat.type.ts │ ├── decorators │ │ ├── get-current-user-decorator-id.ts │ │ ├── get-current-user-decorator.ts │ │ ├── index.ts │ │ └── public.decorator.ts │ ├── game │ │ ├── dto │ │ │ ├── game.dto.ts │ │ │ └── index.ts │ │ ├── game.controller.ts │ │ ├── game.gateway.ts │ │ ├── game.module.ts │ │ ├── game.service.ts │ │ ├── interfaces │ │ │ ├── client.interface.ts │ │ │ ├── gameData.interface.ts │ │ │ ├── player.interface.ts │ │ │ └── room.interface.ts │ │ └── watch │ │ │ └── watch.controller.ts │ ├── main.ts │ ├── prisma │ │ ├── prisma.module.ts │ │ └── prisma.service.ts │ ├── upload │ │ ├── dto │ │ │ ├── index.ts │ │ │ └── upload.dto.ts │ │ ├── upload.controller.ts │ │ ├── upload.module.ts │ │ ├── upload.service.ts │ │ └── utils │ │ │ └── upload.utils.ts │ └── user │ │ ├── dto │ │ ├── index.ts │ │ ├── update.dto.ts │ │ └── user.dto.ts │ │ ├── statuses.ts │ │ ├── user.controller.spec.ts │ │ ├── user.controller.ts │ │ ├── user.module.ts │ │ └── user.service.ts ├── test │ ├── app.e2e-spec.ts │ └── jest-e2e.json ├── tsconfig.build.json ├── tsconfig.json └── yarn.lock ├── docker-compose.yml ├── front ├── .prettierignore ├── .gitignore ├── .prettierrc.json ├── Dockerfile ├── README.md ├── package.json ├── public │ ├── font │ │ └── clip.regular.ttf │ ├── index.html │ └── particlesjs-config.json ├── src │ ├── App.css │ ├── App.tsx │ ├── Components │ │ ├── Navbar.css │ │ ├── Navbar.tsx │ │ └── SimpleToolTip.tsx │ ├── ContextMenus │ │ ├── COnUser.tsx │ │ └── COnUserSimple.tsx │ ├── custom.d.ts │ ├── globals │ │ ├── Interfaces.tsx │ │ ├── contexts.tsx │ │ └── variables.tsx │ ├── hooks │ │ ├── AuthHooks.tsx │ │ └── UserInfoHooks.tsx │ ├── index.css │ ├── index.tsx │ ├── modals │ │ ├── MActivateTwoFA.tsx │ │ ├── MLogoutValid.tsx │ │ └── MUploadAvatar.tsx │ ├── queries │ │ ├── authQueries.tsx │ │ ├── avatarQueries.tsx │ │ ├── gamesQueries.tsx │ │ ├── headers.tsx │ │ ├── otherUserQueries.tsx │ │ ├── twoFAQueries.tsx │ │ ├── updateUserQueries.tsx │ │ ├── userFriendsQueries.tsx │ │ └── userQueries.tsx │ ├── ressources │ │ ├── icons │ │ │ └── Icon_Pen.svg │ │ └── imgs │ │ │ └── mvaldes.jpeg │ ├── routes │ │ ├── Auth │ │ │ ├── Auth.css │ │ │ ├── Auth.tsx │ │ │ ├── SignIn.tsx │ │ │ └── SignUp.tsx │ │ ├── Chat.css │ │ ├── Chat.tsx │ │ ├── Game.css │ │ ├── Game.tsx │ │ ├── Home.tsx │ │ ├── Landing.tsx │ │ ├── LeaderBoard.css │ │ ├── LeaderBoard.tsx │ │ ├── SoloGame.tsx │ │ ├── TwoFAValidation.tsx │ │ ├── UserInterface.tsx │ │ ├── Watch.css │ │ ├── Watch.tsx │ │ ├── chat_modes │ │ │ ├── card.css │ │ │ ├── chatPreview.css │ │ │ ├── chatPreview.tsx │ │ │ ├── chatRoom.css │ │ │ ├── chatRoom.tsx │ │ │ ├── context.css │ │ │ ├── icon.tsx │ │ │ ├── newRoomCard.tsx │ │ │ ├── roomStatus.css │ │ │ ├── roomStatus.tsx │ │ │ ├── settingCard.tsx │ │ │ ├── tags.css │ │ │ └── type │ │ │ │ └── chat.type.tsx │ │ ├── game.interfaces.tsx │ │ ├── gameRequestCard.tsx │ │ └── profile_types │ │ │ ├── Profiles.css │ │ │ ├── private │ │ │ ├── ModifyUserInfo.tsx │ │ │ ├── TwoFA.tsx │ │ │ ├── UserPrivateProfile.tsx │ │ │ └── users_relations │ │ │ │ ├── BlockedList.tsx │ │ │ │ ├── DisplayRowUsers.tsx │ │ │ │ ├── FriendsList.tsx │ │ │ │ ├── PendingList.tsx │ │ │ │ └── UsersRelations.tsx │ │ │ └── public │ │ │ ├── DisplayGamesStats.tsx │ │ │ ├── DisplayUserFriends.tsx │ │ │ ├── UserPublicProfile.css │ │ │ └── UserPublicProfile.tsx │ └── toasts │ │ └── TAlert.tsx ├── tsconfig.json └── yarn.lock ├── nginx ├── nginx.conf └── ssl-certs │ ├── cert.crt │ └── cert.key ├── screenshots ├── chat.png ├── invite_game.png ├── leaderboard.png ├── private_profile.png ├── public_profile.png └── watch.png └── yarn.lock /.dockerignore: -------------------------------------------------------------------------------- 1 | .env -------------------------------------------------------------------------------- /.env: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ft-transcendence/transcendence/HEAD/.env -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ft-transcendence/transcendence/HEAD/.gitignore -------------------------------------------------------------------------------- /.gitmessage.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ft-transcendence/transcendence/HEAD/.gitmessage.txt -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ft-transcendence/transcendence/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ft-transcendence/transcendence/HEAD/README.md -------------------------------------------------------------------------------- /back/.env: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ft-transcendence/transcendence/HEAD/back/.env -------------------------------------------------------------------------------- /back/.eslintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ft-transcendence/transcendence/HEAD/back/.eslintrc.js -------------------------------------------------------------------------------- /back/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ft-transcendence/transcendence/HEAD/back/.gitignore -------------------------------------------------------------------------------- /back/.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ft-transcendence/transcendence/HEAD/back/.prettierrc -------------------------------------------------------------------------------- /back/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ft-transcendence/transcendence/HEAD/back/Dockerfile -------------------------------------------------------------------------------- /back/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ft-transcendence/transcendence/HEAD/back/README.md -------------------------------------------------------------------------------- /back/env.dev: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ft-transcendence/transcendence/HEAD/back/env.dev -------------------------------------------------------------------------------- /back/nest-cli.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ft-transcendence/transcendence/HEAD/back/nest-cli.json -------------------------------------------------------------------------------- /back/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ft-transcendence/transcendence/HEAD/back/package.json -------------------------------------------------------------------------------- /back/prisma/migrations/20220908200401_/migration.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ft-transcendence/transcendence/HEAD/back/prisma/migrations/20220908200401_/migration.sql -------------------------------------------------------------------------------- /back/prisma/migrations/migration_lock.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ft-transcendence/transcendence/HEAD/back/prisma/migrations/migration_lock.toml -------------------------------------------------------------------------------- /back/prisma/schema.prisma: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ft-transcendence/transcendence/HEAD/back/prisma/schema.prisma -------------------------------------------------------------------------------- /back/src/app.gateway.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ft-transcendence/transcendence/HEAD/back/src/app.gateway.ts -------------------------------------------------------------------------------- /back/src/app.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ft-transcendence/transcendence/HEAD/back/src/app.module.ts -------------------------------------------------------------------------------- /back/src/auth/2FA/2fa.controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ft-transcendence/transcendence/HEAD/back/src/auth/2FA/2fa.controller.ts -------------------------------------------------------------------------------- /back/src/auth/2FA/2fa.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ft-transcendence/transcendence/HEAD/back/src/auth/2FA/2fa.service.ts -------------------------------------------------------------------------------- /back/src/auth/2FA/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ft-transcendence/transcendence/HEAD/back/src/auth/2FA/index.ts -------------------------------------------------------------------------------- /back/src/auth/auth.controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ft-transcendence/transcendence/HEAD/back/src/auth/auth.controller.ts -------------------------------------------------------------------------------- /back/src/auth/auth.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ft-transcendence/transcendence/HEAD/back/src/auth/auth.module.ts -------------------------------------------------------------------------------- /back/src/auth/auth.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ft-transcendence/transcendence/HEAD/back/src/auth/auth.service.ts -------------------------------------------------------------------------------- /back/src/auth/dto/2fa.dto.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ft-transcendence/transcendence/HEAD/back/src/auth/dto/2fa.dto.ts -------------------------------------------------------------------------------- /back/src/auth/dto/auth.dto.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ft-transcendence/transcendence/HEAD/back/src/auth/dto/auth.dto.ts -------------------------------------------------------------------------------- /back/src/auth/dto/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ft-transcendence/transcendence/HEAD/back/src/auth/dto/index.ts -------------------------------------------------------------------------------- /back/src/auth/filter/index.ts: -------------------------------------------------------------------------------- 1 | export * from './redirect.login'; 2 | -------------------------------------------------------------------------------- /back/src/auth/filter/redirect.login.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ft-transcendence/transcendence/HEAD/back/src/auth/filter/redirect.login.ts -------------------------------------------------------------------------------- /back/src/auth/guard/42auth.guard.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ft-transcendence/transcendence/HEAD/back/src/auth/guard/42auth.guard.ts -------------------------------------------------------------------------------- /back/src/auth/guard/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ft-transcendence/transcendence/HEAD/back/src/auth/guard/index.ts -------------------------------------------------------------------------------- /back/src/auth/guard/jwt.guard.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ft-transcendence/transcendence/HEAD/back/src/auth/guard/jwt.guard.ts -------------------------------------------------------------------------------- /back/src/auth/guard/rt.guard.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ft-transcendence/transcendence/HEAD/back/src/auth/guard/rt.guard.ts -------------------------------------------------------------------------------- /back/src/auth/interfaces/42.interface.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ft-transcendence/transcendence/HEAD/back/src/auth/interfaces/42.interface.ts -------------------------------------------------------------------------------- /back/src/auth/interfaces/index.ts: -------------------------------------------------------------------------------- 1 | export * from './42.interface'; 2 | -------------------------------------------------------------------------------- /back/src/auth/strategy/42.strategy.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ft-transcendence/transcendence/HEAD/back/src/auth/strategy/42.strategy.ts -------------------------------------------------------------------------------- /back/src/auth/strategy/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ft-transcendence/transcendence/HEAD/back/src/auth/strategy/index.ts -------------------------------------------------------------------------------- /back/src/auth/strategy/jwt.strategy.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ft-transcendence/transcendence/HEAD/back/src/auth/strategy/jwt.strategy.ts -------------------------------------------------------------------------------- /back/src/auth/strategy/rt.strategy.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ft-transcendence/transcendence/HEAD/back/src/auth/strategy/rt.strategy.ts -------------------------------------------------------------------------------- /back/src/chat/chat.gateway.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ft-transcendence/transcendence/HEAD/back/src/chat/chat.gateway.ts -------------------------------------------------------------------------------- /back/src/chat/chat.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ft-transcendence/transcendence/HEAD/back/src/chat/chat.module.ts -------------------------------------------------------------------------------- /back/src/chat/chat.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ft-transcendence/transcendence/HEAD/back/src/chat/chat.service.ts -------------------------------------------------------------------------------- /back/src/chat/dto/chat.dto.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ft-transcendence/transcendence/HEAD/back/src/chat/dto/chat.dto.ts -------------------------------------------------------------------------------- /back/src/chat/filter/transformation-filter.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ft-transcendence/transcendence/HEAD/back/src/chat/filter/transformation-filter.ts -------------------------------------------------------------------------------- /back/src/chat/type/chat.type.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ft-transcendence/transcendence/HEAD/back/src/chat/type/chat.type.ts -------------------------------------------------------------------------------- /back/src/decorators/get-current-user-decorator-id.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ft-transcendence/transcendence/HEAD/back/src/decorators/get-current-user-decorator-id.ts -------------------------------------------------------------------------------- /back/src/decorators/get-current-user-decorator.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ft-transcendence/transcendence/HEAD/back/src/decorators/get-current-user-decorator.ts -------------------------------------------------------------------------------- /back/src/decorators/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ft-transcendence/transcendence/HEAD/back/src/decorators/index.ts -------------------------------------------------------------------------------- /back/src/decorators/public.decorator.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ft-transcendence/transcendence/HEAD/back/src/decorators/public.decorator.ts -------------------------------------------------------------------------------- /back/src/game/dto/game.dto.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ft-transcendence/transcendence/HEAD/back/src/game/dto/game.dto.ts -------------------------------------------------------------------------------- /back/src/game/dto/index.ts: -------------------------------------------------------------------------------- 1 | export * from './game.dto'; 2 | -------------------------------------------------------------------------------- /back/src/game/game.controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ft-transcendence/transcendence/HEAD/back/src/game/game.controller.ts -------------------------------------------------------------------------------- /back/src/game/game.gateway.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ft-transcendence/transcendence/HEAD/back/src/game/game.gateway.ts -------------------------------------------------------------------------------- /back/src/game/game.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ft-transcendence/transcendence/HEAD/back/src/game/game.module.ts -------------------------------------------------------------------------------- /back/src/game/game.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ft-transcendence/transcendence/HEAD/back/src/game/game.service.ts -------------------------------------------------------------------------------- /back/src/game/interfaces/client.interface.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ft-transcendence/transcendence/HEAD/back/src/game/interfaces/client.interface.ts -------------------------------------------------------------------------------- /back/src/game/interfaces/gameData.interface.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ft-transcendence/transcendence/HEAD/back/src/game/interfaces/gameData.interface.ts -------------------------------------------------------------------------------- /back/src/game/interfaces/player.interface.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ft-transcendence/transcendence/HEAD/back/src/game/interfaces/player.interface.ts -------------------------------------------------------------------------------- /back/src/game/interfaces/room.interface.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ft-transcendence/transcendence/HEAD/back/src/game/interfaces/room.interface.ts -------------------------------------------------------------------------------- /back/src/game/watch/watch.controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ft-transcendence/transcendence/HEAD/back/src/game/watch/watch.controller.ts -------------------------------------------------------------------------------- /back/src/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ft-transcendence/transcendence/HEAD/back/src/main.ts -------------------------------------------------------------------------------- /back/src/prisma/prisma.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ft-transcendence/transcendence/HEAD/back/src/prisma/prisma.module.ts -------------------------------------------------------------------------------- /back/src/prisma/prisma.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ft-transcendence/transcendence/HEAD/back/src/prisma/prisma.service.ts -------------------------------------------------------------------------------- /back/src/upload/dto/index.ts: -------------------------------------------------------------------------------- 1 | export * from './upload.dto'; 2 | -------------------------------------------------------------------------------- /back/src/upload/dto/upload.dto.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ft-transcendence/transcendence/HEAD/back/src/upload/dto/upload.dto.ts -------------------------------------------------------------------------------- /back/src/upload/upload.controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ft-transcendence/transcendence/HEAD/back/src/upload/upload.controller.ts -------------------------------------------------------------------------------- /back/src/upload/upload.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ft-transcendence/transcendence/HEAD/back/src/upload/upload.module.ts -------------------------------------------------------------------------------- /back/src/upload/upload.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ft-transcendence/transcendence/HEAD/back/src/upload/upload.service.ts -------------------------------------------------------------------------------- /back/src/upload/utils/upload.utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ft-transcendence/transcendence/HEAD/back/src/upload/utils/upload.utils.ts -------------------------------------------------------------------------------- /back/src/user/dto/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ft-transcendence/transcendence/HEAD/back/src/user/dto/index.ts -------------------------------------------------------------------------------- /back/src/user/dto/update.dto.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ft-transcendence/transcendence/HEAD/back/src/user/dto/update.dto.ts -------------------------------------------------------------------------------- /back/src/user/dto/user.dto.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ft-transcendence/transcendence/HEAD/back/src/user/dto/user.dto.ts -------------------------------------------------------------------------------- /back/src/user/statuses.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ft-transcendence/transcendence/HEAD/back/src/user/statuses.ts -------------------------------------------------------------------------------- /back/src/user/user.controller.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ft-transcendence/transcendence/HEAD/back/src/user/user.controller.spec.ts -------------------------------------------------------------------------------- /back/src/user/user.controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ft-transcendence/transcendence/HEAD/back/src/user/user.controller.ts -------------------------------------------------------------------------------- /back/src/user/user.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ft-transcendence/transcendence/HEAD/back/src/user/user.module.ts -------------------------------------------------------------------------------- /back/src/user/user.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ft-transcendence/transcendence/HEAD/back/src/user/user.service.ts -------------------------------------------------------------------------------- /back/test/app.e2e-spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ft-transcendence/transcendence/HEAD/back/test/app.e2e-spec.ts -------------------------------------------------------------------------------- /back/test/jest-e2e.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ft-transcendence/transcendence/HEAD/back/test/jest-e2e.json -------------------------------------------------------------------------------- /back/tsconfig.build.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ft-transcendence/transcendence/HEAD/back/tsconfig.build.json -------------------------------------------------------------------------------- /back/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ft-transcendence/transcendence/HEAD/back/tsconfig.json -------------------------------------------------------------------------------- /back/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ft-transcendence/transcendence/HEAD/back/yarn.lock -------------------------------------------------------------------------------- /docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ft-transcendence/transcendence/HEAD/docker-compose.yml -------------------------------------------------------------------------------- /front/ .prettierignore: -------------------------------------------------------------------------------- 1 | # Ignore artifacts: 2 | build 3 | coverage -------------------------------------------------------------------------------- /front/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ft-transcendence/transcendence/HEAD/front/.gitignore -------------------------------------------------------------------------------- /front/.prettierrc.json: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /front/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ft-transcendence/transcendence/HEAD/front/Dockerfile -------------------------------------------------------------------------------- /front/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ft-transcendence/transcendence/HEAD/front/README.md -------------------------------------------------------------------------------- /front/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ft-transcendence/transcendence/HEAD/front/package.json -------------------------------------------------------------------------------- /front/public/font/clip.regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ft-transcendence/transcendence/HEAD/front/public/font/clip.regular.ttf -------------------------------------------------------------------------------- /front/public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ft-transcendence/transcendence/HEAD/front/public/index.html -------------------------------------------------------------------------------- /front/public/particlesjs-config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ft-transcendence/transcendence/HEAD/front/public/particlesjs-config.json -------------------------------------------------------------------------------- /front/src/App.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ft-transcendence/transcendence/HEAD/front/src/App.css -------------------------------------------------------------------------------- /front/src/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ft-transcendence/transcendence/HEAD/front/src/App.tsx -------------------------------------------------------------------------------- /front/src/Components/Navbar.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ft-transcendence/transcendence/HEAD/front/src/Components/Navbar.css -------------------------------------------------------------------------------- /front/src/Components/Navbar.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ft-transcendence/transcendence/HEAD/front/src/Components/Navbar.tsx -------------------------------------------------------------------------------- /front/src/Components/SimpleToolTip.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ft-transcendence/transcendence/HEAD/front/src/Components/SimpleToolTip.tsx -------------------------------------------------------------------------------- /front/src/ContextMenus/COnUser.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ft-transcendence/transcendence/HEAD/front/src/ContextMenus/COnUser.tsx -------------------------------------------------------------------------------- /front/src/ContextMenus/COnUserSimple.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ft-transcendence/transcendence/HEAD/front/src/ContextMenus/COnUserSimple.tsx -------------------------------------------------------------------------------- /front/src/custom.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ft-transcendence/transcendence/HEAD/front/src/custom.d.ts -------------------------------------------------------------------------------- /front/src/globals/Interfaces.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ft-transcendence/transcendence/HEAD/front/src/globals/Interfaces.tsx -------------------------------------------------------------------------------- /front/src/globals/contexts.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ft-transcendence/transcendence/HEAD/front/src/globals/contexts.tsx -------------------------------------------------------------------------------- /front/src/globals/variables.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ft-transcendence/transcendence/HEAD/front/src/globals/variables.tsx -------------------------------------------------------------------------------- /front/src/hooks/AuthHooks.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ft-transcendence/transcendence/HEAD/front/src/hooks/AuthHooks.tsx -------------------------------------------------------------------------------- /front/src/hooks/UserInfoHooks.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ft-transcendence/transcendence/HEAD/front/src/hooks/UserInfoHooks.tsx -------------------------------------------------------------------------------- /front/src/index.css: -------------------------------------------------------------------------------- 1 | body { 2 | margin: 0; 3 | } 4 | -------------------------------------------------------------------------------- /front/src/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ft-transcendence/transcendence/HEAD/front/src/index.tsx -------------------------------------------------------------------------------- /front/src/modals/MActivateTwoFA.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ft-transcendence/transcendence/HEAD/front/src/modals/MActivateTwoFA.tsx -------------------------------------------------------------------------------- /front/src/modals/MLogoutValid.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ft-transcendence/transcendence/HEAD/front/src/modals/MLogoutValid.tsx -------------------------------------------------------------------------------- /front/src/modals/MUploadAvatar.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ft-transcendence/transcendence/HEAD/front/src/modals/MUploadAvatar.tsx -------------------------------------------------------------------------------- /front/src/queries/authQueries.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ft-transcendence/transcendence/HEAD/front/src/queries/authQueries.tsx -------------------------------------------------------------------------------- /front/src/queries/avatarQueries.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ft-transcendence/transcendence/HEAD/front/src/queries/avatarQueries.tsx -------------------------------------------------------------------------------- /front/src/queries/gamesQueries.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ft-transcendence/transcendence/HEAD/front/src/queries/gamesQueries.tsx -------------------------------------------------------------------------------- /front/src/queries/headers.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ft-transcendence/transcendence/HEAD/front/src/queries/headers.tsx -------------------------------------------------------------------------------- /front/src/queries/otherUserQueries.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ft-transcendence/transcendence/HEAD/front/src/queries/otherUserQueries.tsx -------------------------------------------------------------------------------- /front/src/queries/twoFAQueries.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ft-transcendence/transcendence/HEAD/front/src/queries/twoFAQueries.tsx -------------------------------------------------------------------------------- /front/src/queries/updateUserQueries.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ft-transcendence/transcendence/HEAD/front/src/queries/updateUserQueries.tsx -------------------------------------------------------------------------------- /front/src/queries/userFriendsQueries.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ft-transcendence/transcendence/HEAD/front/src/queries/userFriendsQueries.tsx -------------------------------------------------------------------------------- /front/src/queries/userQueries.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ft-transcendence/transcendence/HEAD/front/src/queries/userQueries.tsx -------------------------------------------------------------------------------- /front/src/ressources/icons/Icon_Pen.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ft-transcendence/transcendence/HEAD/front/src/ressources/icons/Icon_Pen.svg -------------------------------------------------------------------------------- /front/src/ressources/imgs/mvaldes.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ft-transcendence/transcendence/HEAD/front/src/ressources/imgs/mvaldes.jpeg -------------------------------------------------------------------------------- /front/src/routes/Auth/Auth.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ft-transcendence/transcendence/HEAD/front/src/routes/Auth/Auth.css -------------------------------------------------------------------------------- /front/src/routes/Auth/Auth.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ft-transcendence/transcendence/HEAD/front/src/routes/Auth/Auth.tsx -------------------------------------------------------------------------------- /front/src/routes/Auth/SignIn.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ft-transcendence/transcendence/HEAD/front/src/routes/Auth/SignIn.tsx -------------------------------------------------------------------------------- /front/src/routes/Auth/SignUp.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ft-transcendence/transcendence/HEAD/front/src/routes/Auth/SignUp.tsx -------------------------------------------------------------------------------- /front/src/routes/Chat.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ft-transcendence/transcendence/HEAD/front/src/routes/Chat.css -------------------------------------------------------------------------------- /front/src/routes/Chat.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ft-transcendence/transcendence/HEAD/front/src/routes/Chat.tsx -------------------------------------------------------------------------------- /front/src/routes/Game.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ft-transcendence/transcendence/HEAD/front/src/routes/Game.css -------------------------------------------------------------------------------- /front/src/routes/Game.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ft-transcendence/transcendence/HEAD/front/src/routes/Game.tsx -------------------------------------------------------------------------------- /front/src/routes/Home.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ft-transcendence/transcendence/HEAD/front/src/routes/Home.tsx -------------------------------------------------------------------------------- /front/src/routes/Landing.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ft-transcendence/transcendence/HEAD/front/src/routes/Landing.tsx -------------------------------------------------------------------------------- /front/src/routes/LeaderBoard.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ft-transcendence/transcendence/HEAD/front/src/routes/LeaderBoard.css -------------------------------------------------------------------------------- /front/src/routes/LeaderBoard.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ft-transcendence/transcendence/HEAD/front/src/routes/LeaderBoard.tsx -------------------------------------------------------------------------------- /front/src/routes/SoloGame.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ft-transcendence/transcendence/HEAD/front/src/routes/SoloGame.tsx -------------------------------------------------------------------------------- /front/src/routes/TwoFAValidation.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ft-transcendence/transcendence/HEAD/front/src/routes/TwoFAValidation.tsx -------------------------------------------------------------------------------- /front/src/routes/UserInterface.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ft-transcendence/transcendence/HEAD/front/src/routes/UserInterface.tsx -------------------------------------------------------------------------------- /front/src/routes/Watch.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ft-transcendence/transcendence/HEAD/front/src/routes/Watch.css -------------------------------------------------------------------------------- /front/src/routes/Watch.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ft-transcendence/transcendence/HEAD/front/src/routes/Watch.tsx -------------------------------------------------------------------------------- /front/src/routes/chat_modes/card.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ft-transcendence/transcendence/HEAD/front/src/routes/chat_modes/card.css -------------------------------------------------------------------------------- /front/src/routes/chat_modes/chatPreview.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ft-transcendence/transcendence/HEAD/front/src/routes/chat_modes/chatPreview.css -------------------------------------------------------------------------------- /front/src/routes/chat_modes/chatPreview.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ft-transcendence/transcendence/HEAD/front/src/routes/chat_modes/chatPreview.tsx -------------------------------------------------------------------------------- /front/src/routes/chat_modes/chatRoom.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ft-transcendence/transcendence/HEAD/front/src/routes/chat_modes/chatRoom.css -------------------------------------------------------------------------------- /front/src/routes/chat_modes/chatRoom.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ft-transcendence/transcendence/HEAD/front/src/routes/chat_modes/chatRoom.tsx -------------------------------------------------------------------------------- /front/src/routes/chat_modes/context.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ft-transcendence/transcendence/HEAD/front/src/routes/chat_modes/context.css -------------------------------------------------------------------------------- /front/src/routes/chat_modes/icon.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ft-transcendence/transcendence/HEAD/front/src/routes/chat_modes/icon.tsx -------------------------------------------------------------------------------- /front/src/routes/chat_modes/newRoomCard.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ft-transcendence/transcendence/HEAD/front/src/routes/chat_modes/newRoomCard.tsx -------------------------------------------------------------------------------- /front/src/routes/chat_modes/roomStatus.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ft-transcendence/transcendence/HEAD/front/src/routes/chat_modes/roomStatus.css -------------------------------------------------------------------------------- /front/src/routes/chat_modes/roomStatus.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ft-transcendence/transcendence/HEAD/front/src/routes/chat_modes/roomStatus.tsx -------------------------------------------------------------------------------- /front/src/routes/chat_modes/settingCard.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ft-transcendence/transcendence/HEAD/front/src/routes/chat_modes/settingCard.tsx -------------------------------------------------------------------------------- /front/src/routes/chat_modes/tags.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ft-transcendence/transcendence/HEAD/front/src/routes/chat_modes/tags.css -------------------------------------------------------------------------------- /front/src/routes/chat_modes/type/chat.type.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ft-transcendence/transcendence/HEAD/front/src/routes/chat_modes/type/chat.type.tsx -------------------------------------------------------------------------------- /front/src/routes/game.interfaces.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ft-transcendence/transcendence/HEAD/front/src/routes/game.interfaces.tsx -------------------------------------------------------------------------------- /front/src/routes/gameRequestCard.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ft-transcendence/transcendence/HEAD/front/src/routes/gameRequestCard.tsx -------------------------------------------------------------------------------- /front/src/routes/profile_types/Profiles.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ft-transcendence/transcendence/HEAD/front/src/routes/profile_types/Profiles.css -------------------------------------------------------------------------------- /front/src/routes/profile_types/private/ModifyUserInfo.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ft-transcendence/transcendence/HEAD/front/src/routes/profile_types/private/ModifyUserInfo.tsx -------------------------------------------------------------------------------- /front/src/routes/profile_types/private/TwoFA.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ft-transcendence/transcendence/HEAD/front/src/routes/profile_types/private/TwoFA.tsx -------------------------------------------------------------------------------- /front/src/routes/profile_types/private/UserPrivateProfile.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ft-transcendence/transcendence/HEAD/front/src/routes/profile_types/private/UserPrivateProfile.tsx -------------------------------------------------------------------------------- /front/src/routes/profile_types/private/users_relations/BlockedList.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ft-transcendence/transcendence/HEAD/front/src/routes/profile_types/private/users_relations/BlockedList.tsx -------------------------------------------------------------------------------- /front/src/routes/profile_types/private/users_relations/DisplayRowUsers.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ft-transcendence/transcendence/HEAD/front/src/routes/profile_types/private/users_relations/DisplayRowUsers.tsx -------------------------------------------------------------------------------- /front/src/routes/profile_types/private/users_relations/FriendsList.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ft-transcendence/transcendence/HEAD/front/src/routes/profile_types/private/users_relations/FriendsList.tsx -------------------------------------------------------------------------------- /front/src/routes/profile_types/private/users_relations/PendingList.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ft-transcendence/transcendence/HEAD/front/src/routes/profile_types/private/users_relations/PendingList.tsx -------------------------------------------------------------------------------- /front/src/routes/profile_types/private/users_relations/UsersRelations.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ft-transcendence/transcendence/HEAD/front/src/routes/profile_types/private/users_relations/UsersRelations.tsx -------------------------------------------------------------------------------- /front/src/routes/profile_types/public/DisplayGamesStats.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ft-transcendence/transcendence/HEAD/front/src/routes/profile_types/public/DisplayGamesStats.tsx -------------------------------------------------------------------------------- /front/src/routes/profile_types/public/DisplayUserFriends.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ft-transcendence/transcendence/HEAD/front/src/routes/profile_types/public/DisplayUserFriends.tsx -------------------------------------------------------------------------------- /front/src/routes/profile_types/public/UserPublicProfile.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ft-transcendence/transcendence/HEAD/front/src/routes/profile_types/public/UserPublicProfile.css -------------------------------------------------------------------------------- /front/src/routes/profile_types/public/UserPublicProfile.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ft-transcendence/transcendence/HEAD/front/src/routes/profile_types/public/UserPublicProfile.tsx -------------------------------------------------------------------------------- /front/src/toasts/TAlert.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ft-transcendence/transcendence/HEAD/front/src/toasts/TAlert.tsx -------------------------------------------------------------------------------- /front/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ft-transcendence/transcendence/HEAD/front/tsconfig.json -------------------------------------------------------------------------------- /front/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ft-transcendence/transcendence/HEAD/front/yarn.lock -------------------------------------------------------------------------------- /nginx/nginx.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ft-transcendence/transcendence/HEAD/nginx/nginx.conf -------------------------------------------------------------------------------- /nginx/ssl-certs/cert.crt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ft-transcendence/transcendence/HEAD/nginx/ssl-certs/cert.crt -------------------------------------------------------------------------------- /nginx/ssl-certs/cert.key: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ft-transcendence/transcendence/HEAD/nginx/ssl-certs/cert.key -------------------------------------------------------------------------------- /screenshots/chat.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ft-transcendence/transcendence/HEAD/screenshots/chat.png -------------------------------------------------------------------------------- /screenshots/invite_game.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ft-transcendence/transcendence/HEAD/screenshots/invite_game.png -------------------------------------------------------------------------------- /screenshots/leaderboard.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ft-transcendence/transcendence/HEAD/screenshots/leaderboard.png -------------------------------------------------------------------------------- /screenshots/private_profile.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ft-transcendence/transcendence/HEAD/screenshots/private_profile.png -------------------------------------------------------------------------------- /screenshots/public_profile.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ft-transcendence/transcendence/HEAD/screenshots/public_profile.png -------------------------------------------------------------------------------- /screenshots/watch.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ft-transcendence/transcendence/HEAD/screenshots/watch.png -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ft-transcendence/transcendence/HEAD/yarn.lock --------------------------------------------------------------------------------