Skip to content

Commit

Permalink
Merge pull request #193 from antoinezanardi/staging
Browse files Browse the repository at this point in the history
Staging
  • Loading branch information
antoinezanardi authored Apr 30, 2021
2 parents 62e518b + 30fab00 commit 9a6d417
Show file tree
Hide file tree
Showing 96 changed files with 9,193 additions and 22,214 deletions.
5 changes: 4 additions & 1 deletion .env.example
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
VUE_APP_WEREWOLVES_ASSISTANT_API_URL=https://sandbox.werewolves-assistant-api.antoinezanardi.fr
VUE_APP_WEREWOLVES_ASSISTANT_API_URL=url
VUE_APP_WEREWOLVES_ASSISTANT_WEB_URL=url
VUE_APP_SENTRY_KEY=key
VUE_APP_SENTRY_PROJECT_ID=projectId
VUE_APP_SENTRY_ENABLED=false
VUE_APP_GOOGLE_ANALYTICS_ID=id
VUE_APP_GOOGLE_ANALYTICS_ENABLED=false
VUE_APP_FACEBOOK_APP_ID=id
VUE_APP_GOOGLE_CLIENT_ID=id
85 changes: 85 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,90 @@
# 📈 LIST OF CHANGES FOR WEREWOLVES ASSISTANT WEB

## 1.0.0-beta.12 (2021-04-30)

### 🚀 New features

* [#154](https://github.com/antoinezanardi/werewolves-assistant-web/issues/154) - Facebook auth.
* [#155](https://github.com/antoinezanardi/werewolves-assistant-web/issues/155) - Google auth.
* [#157](https://github.com/antoinezanardi/werewolves-assistant-web/issues/157) - Fox role.
* [#158](https://github.com/antoinezanardi/werewolves-assistant-web/issues/158) - Game players position panel in game options.
* [#159](https://github.com/antoinezanardi/werewolves-assistant-web/issues/159) - Bear Tamer role.
* [#160](https://github.com/antoinezanardi/werewolves-assistant-web/issues/160) - Hidden game repartition option.
* [#161](https://github.com/antoinezanardi/werewolves-assistant-web/issues/161) - Role revealed on death option.
* [#162](https://github.com/antoinezanardi/werewolves-assistant-web/issues/162) - Seer see exact role option.
* [#163](https://github.com/antoinezanardi/werewolves-assistant-web/issues/163) - Guard can protect twice option.
* [#164](https://github.com/antoinezanardi/werewolves-assistant-web/issues/164) - Fox not powerless if he misses a werewolf option.
* [#165](https://github.com/antoinezanardi/werewolves-assistant-web/issues/165) - Bear Tamer growls if he is infected option.
* [#166](https://github.com/antoinezanardi/werewolves-assistant-web/issues/166) - Number of vote requests for Stuttering Judge option.
* [#167](https://github.com/antoinezanardi/werewolves-assistant-web/issues/167) - Time for the Sheriff to be elected option.
* [#168](https://github.com/antoinezanardi/werewolves-assistant-web/issues/168) - Thief not obliged to choose between werewolves cards option.
* [#169](https://github.com/antoinezanardi/werewolves-assistant-web/issues/169) - Wild Child transformation is revealed option.
* [#170](https://github.com/antoinezanardi/werewolves-assistant-web/issues/170) - Dog Wolf chosen side is revealed option.
* [#171](https://github.com/antoinezanardi/werewolves-assistant-web/issues/171) - Big Bad Wolf not powerless if one werewolf dies option.
* [#173](https://github.com/antoinezanardi/werewolves-assistant-web/issues/173) - White Werewolf waking up interval option.
* [#174](https://github.com/antoinezanardi/werewolves-assistant-web/issues/174) - Number of charmed people per night by Pied Piper option.
* [#175](https://github.com/antoinezanardi/werewolves-assistant-web/issues/175) - Pied Piper not powerless if infected option.
* [#176](https://github.com/antoinezanardi/werewolves-assistant-web/issues/176) - Lives count for the Ancient option.
* [#177](https://github.com/antoinezanardi/werewolves-assistant-web/issues/177) - Ancient doesn't make all villagers powerless if murdered from them option.
* [#178](https://github.com/antoinezanardi/werewolves-assistant-web/issues/178) - Number of additional cards for Thief option.
* [#179](https://github.com/antoinezanardi/werewolves-assistant-web/issues/179) - Rusty Sword Knight role.
* [#183](https://github.com/antoinezanardi/werewolves-assistant-web/issues/183) - Audio options in parameters modal.
* [#184](https://github.com/antoinezanardi/werewolves-assistant-web/issues/184) - Intro for Game Winners screen.
* [#188](https://github.com/antoinezanardi/werewolves-assistant-web/issues/188) - Modal for helping players with roles.

### 🌟 Enhancements

* [#156](https://github.com/antoinezanardi/werewolves-assistant-web/issues/156) - List of voters against one player below him.
* [#172](https://github.com/antoinezanardi/werewolves-assistant-web/issues/172) - Big bad wolf becomes powerless in game history.
* [#180](https://github.com/antoinezanardi/werewolves-assistant-web/issues/180) - Role types.
* [#182](https://github.com/antoinezanardi/werewolves-assistant-web/issues/182) - Accordions in About page for roles.
* [#185](https://github.com/antoinezanardi/werewolves-assistant-web/issues/185) - Reset base rules button in game roles options.
* [#186](https://github.com/antoinezanardi/werewolves-assistant-web/issues/186) - Save game roles options in user preferences.
* [#190](https://github.com/antoinezanardi/werewolves-assistant-web/issues/190) - Sentence for explaining why this group or player won.

### 🐛 Bug fixes

* [#181](https://github.com/antoinezanardi/werewolves-assistant-web/issues/181) - Long game event message breaks display.

### ♻️ Refactoring

* [#187](https://github.com/antoinezanardi/werewolves-assistant-web/issues/187) - Game repartition options in different modal.

### 📚 Documentation

* [#189](https://github.com/antoinezanardi/werewolves-assistant-web/issues/189) - Update README.md.

### 📦 Packages

* `qrcode.vue` installed with version `1.7.0`.
* `vue-clipboard2` installed with version `0.3.1`.
* `vue-facebook-login-component` installed with version `4.0.1`.
* `vue-google-login` installed with version `2.0.5`.
* `vue-slider-component` installed with version `3.2.11`.
* `vuedraggable` installed with version `2.24.3`.
* `@fortawesome/fontawesome-free` updated to version `5.15.3`.
* `@sentry/browser` updated to version `6.3.5`.
* `@sentry/integrations` updated to version `6.3.5`.
* `@vue/cli-plugin-e2e-cypress` updated to version `4.5.12`.
* `@vue/cli-plugin-eslint` updated to version `4.5.12`.
* `@vue/cli-plugin-router` updated to version `4.5.12`.
* `@vue/cli-plugin-unit-mocha` updated to version `4.5.12`.
* `@vue/cli-plugin-vuex` updated to version `4.5.12`.
* `@vue/cli-service` updated to version `4.5.12`.
* `@vue/test-utils` updated to version `1.1.4`.
* `chai` updated to version `4.3.4`.
* `eslint` updated to version `7.25.0`.
* `eslint-plugin-vue` updated to version `7.9.0`.
* `particles.vue` updated to version `2.9.3`.
* `qs` updated to version `6.10.1`.
* `sweetalert2` updated to version `10.16.6`.
* `v-tooltip` updated to version `2.1.3`.
* `vue-gtag` updated to version `1.14.0`.
* `vue-i18n` updated to version `8.24.4`.
* `vue-tour` updated to version `2.0.0`.

---

## 1.0.0-beta.11 (2021-03-03)

### 🚀 New features
Expand Down
23 changes: 15 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,12 @@
**🐺 Werewolves Assistant Web** is a Vue web app using the <a href="https://github.com/antoinezanardi/werewolves-assistant-api" target="_blank">Werewolves Assistant API</a>.
Thanks to this app, being the game master of the Werewolves of Millers Hollow game is so easy !

**🐺 Werewolves Assistant Web** provides to game masters:
- A game lobby for creating a party starting from 4 to 20 players. Roles can be assigned randomly to save time.
- A cool interface displaying all useful game's data to the game master.
**🐺 Werewolves Assistant Web** provides some cool features :
- A game lobby for creating a party starting from 4 to 40 players. Roles can be assigned randomly to save time. Game official rules can be changed to add fun and complexity.
- A cool interface displaying all useful game's data, player and their attributes, both sides (villagers and werewolves) and more.
- For each turn, game master can fill every player's choices. The Assistant will consequently display deaths and events, manage the turns order and save all players choices.
- At the end of the game, a complete summary with game's winner and what happened during the game.
- Musics and sound effects are played during the game to set up the appropriate atmosphere depending on the situation. Obviously, you can manage those audio parameters.
- At the end of the game, a complete summary with game's winner(s) and what happened during the game. You can also review your experience for helping the Assistant to improve.

#### 🤔 Want to know more about this awesome project ? <a href="https://werewolves-assistant.antoinezanardi.fr/about" target="_blank">**Check out the dedicated about page**</a>.

Expand All @@ -42,13 +43,13 @@ Two versions are available for testing this project:

🔧<a href="https://sandbox.werewolves-assistant.antoinezanardi.fr" target="_blank">**Sandbox version**</a>

**Sandbox version** may contains some bugs and unexpected behaviors as its purpose is to test new features before deploying on **main version**.
**Sandbox version** may contain some bugs and unexpected behaviors as its purpose is to test new features before deploying on **main version**.

Both versions are running on a server with the following configuration:
- **OS**: `Debian GNU/Linux 10 (buster)`
- **NodeJS**: `v14.15.4`
- **NPM**: `v7.5.2`
- **MongoDB shell version**: `v4.4.3`
- **NodeJS**: `v14.16.1`
- **NPM**: `v6.14.12`
- **MongoDB shell version**: `v4.4.5`

The MongoDB database is protected under username and password authentication.

Expand Down Expand Up @@ -105,6 +106,8 @@ Complete list of all enabled rules is available in the **[.eslintrc.js file](htt
3. Replace environment values in the fresh new `.env` file if necessary (When **⚠️️ Required** is specified):
* **VUE_APP_WEREWOLVES_ASSISTANT_API_URL**: Base URL of Werewolves Assistant API.
- _**⚠️️ Required**_
* **VUE_APP_WEREWOLVES_ASSISTANT_WEB_URL**: Base URL of Werewolves Assistant Web app. Set to `localhost:8080` if in development mode.
- _**⚠️️ Required**_
* **VUE_APP_SENTRY_KEY**: Private key used by Sentry for authenticating the project.
- _**Not Required**_
* **VUE_APP_SENTRY_PROJECT_ID**: Project ID used by Sentry.
Expand All @@ -115,6 +118,10 @@ Complete list of all enabled rules is available in the **[.eslintrc.js file](htt
- _**Not Required**_
* **VUE_APP_GOOGLE_ANALYTICS_ENABLED**: If you want to enable traffic data measurement with Google Analytics.
- _**Not Required - Default value**_: `false`
* **VUE_APP_FACEBOOK_APP_ID**: Facebook application ID if you want to enable Facebook authentication.
- _**Not Required**_
* **VUE_APP_GOOGLE_CLIENT_ID**: Google client ID if you want to enable Google authentication.
- _**Not Required**_

## <a name="lets-go">🔌 Let's go</a>
To start the web app **on development mode**, simply run `npm start`.
Expand Down
13 changes: 10 additions & 3 deletions config/index.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,19 @@
import { addTrailingSlash } from "@/helpers/functions/String";

export default {
app: { baseURL: addTrailingSlash(process.env.VUE_APP_WEREWOLVES_ASSISTANT_WEB_URL) },
sentry: {
enabled: process.env.VUE_APP_SENTRY_ENABLED === "true",
projectId: process.env.VUE_APP_SENTRY_PROJECT_ID,
key: process.env.VUE_APP_SENTRY_KEY,
},
googleAnalytics: {
enabled: process.env.VUE_APP_GOOGLE_ANALYTICS_ENABLED === "true",
id: process.env.VUE_APP_GOOGLE_ANALYTICS_ID,
google: {
analytics: {
enabled: process.env.VUE_APP_GOOGLE_ANALYTICS_ENABLED === "true",
id: process.env.VUE_APP_GOOGLE_ANALYTICS_ID,
},
auth: { client: { ID: process.env.VUE_APP_GOOGLE_CLIENT_ID } },
},
facebook: { app: { ID: process.env.VUE_APP_FACEBOOK_APP_ID } },
API: { werewolvesAssistant: { baseURL: process.env.VUE_APP_WEREWOLVES_ASSISTANT_API_URL } },
};
Loading

0 comments on commit 9a6d417

Please sign in to comment.