diff --git a/README.md b/README.md index 3960236..0a375ec 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ # Void Eye Game -![License](https://img.shields.io/static/v1?label=License&message=ISC&color=green) ![License](https://img.shields.io/static/v1?label=Tags&message=1.0.3&color=yellow) +![License](https://img.shields.io/static/v1?label=License&message=ISC&color=green) ![License](https://img.shields.io/static/v1?label=Tags&message=1.0.5&color=yellow) **Author:** Jose Antonio Duarte Perez diff --git a/sql/SQLInserts.sql b/sql/SQLInserts.sql index b787e25..57dc186 100644 --- a/sql/SQLInserts.sql +++ b/sql/SQLInserts.sql @@ -70,7 +70,7 @@ INSERT INTO MEDIAS VALUES (null, 1, "trailer", "video/mp4"); INSERT INTO MEDIAS VALUES (null, 2, "trailer", "video/mp4"); INSERT INTO MEDIAS VALUES (null, 2, "main_image", "image/png"); INSERT INTO MEDIAS VALUES (null, 3, "main_image", "image/jpg"); -INSERT INTO MEDIAS VALUES (null, 4, "main_image", "image/webp"); +INSERT INTO MEDIAS VALUES (null, 4, "main_image", "image/png"); INSERT INTO MEDIAS VALUES (null, 4, "zed", "image/jpeg"); INSERT INTO MEDIAS VALUES (null, 4, "trailer", "video/mp4"); INSERT INTO MEDIAS VALUES (null, 4, "teaser-2020", "video/mp4"); diff --git a/void-eye-games-api/assets/images/games/medias/4-1.webp b/void-eye-games-api/assets/images/games/medias/4-1.png similarity index 100% rename from void-eye-games-api/assets/images/games/medias/4-1.webp rename to void-eye-games-api/assets/images/games/medias/4-1.png diff --git a/void-eye-games-api/src/classes/Plataform/PlataformRecord.php b/void-eye-games-api/src/classes/Plataform/PlataformRecord.php index faa5f0d..85c2e83 100644 --- a/void-eye-games-api/src/classes/Plataform/PlataformRecord.php +++ b/void-eye-games-api/src/classes/Plataform/PlataformRecord.php @@ -58,7 +58,7 @@ public function updateUrl(?string $url): void } public function updatePlataformsGames(?Array $plataformGames, Atlas $atlas): void { - if (!$plataformGames) return; + if ($plataformGames != null) return; if (!$this->plataforms_games) $this->plataforms_games = $atlas->newRecordSet(PlataformsGame::class); $this->plataforms_games->setDelete(); diff --git a/void-eye-games-client/README.md b/void-eye-games-client/README.md index 8c7aafb..2f2f766 100644 --- a/void-eye-games-client/README.md +++ b/void-eye-games-client/README.md @@ -12,47 +12,47 @@ The client side application is the one that will be used by them, and the one th Here you have the requiriments for **Web Client side**: - [X] In production. (Speack with me to get the link) ### Common user -- [X] Home page - - [X] Slider. - - [X] News. -- [X] Games page - - [X] Order By {name, price, plataform}. - - [X] Categories filter. - - [X] Plataforms filter. -- [X] Games details page - - [X] Galery. - - [X] Best plataforms to buy. - - [X] The description. - - [X] User comments. -- [X] Support page - - [X] GeoLocation. - - [X] Report form navigation button. -- [X] Report form View -- [X] Login form page - - [X] [Optional] Recovery password. -- [X] Signin form View +- [x] Home page + - [x] Slider. + - [x] News. +- [x] Games page + - [x] Order By {name, price, plataform}. + - [x] Categories filter. + - [x] Plataforms filter. +- [x] Games details page + - [x] Galery. + - [x] Best plataforms to buy. + - [x] The description. + - [x] User comments. +- [x] Support page + - [x] GeoLocation. + - [x] Report form navigation button. +- [x] Report form View +- [x] Login form page + - [x] [Optional] Recovery password. +- [x] Signin form View ### Logged users -- [X] Games details page - - [X] Logged user can add Comments. +- [x] Games details page + - [x] Logged user can add Comments. ### Admin -- [X] Game form page - - [X] A list of games to select which one do you want to edit. - - [X] Add games. - - [X] Add categories to game. - - [X] Add images to game. - - [X] Edit games. -- [X] Plataform form page - - [X] A list of plataforms to select which one do you want to edit. - - [X] Add plataforms. - - [X] Add games to plataform with prices and discount of the plataform. - - [X] Edit plataforms. -- [X] Categories form page - - [X] A list of categories to select which one do you want to edit. - - [X] Add category. - - [X] Add games to category. - - [X] Edit categories. +- [x] Game form page + - [x] A list of games to select which one do you want to edit. + - [x] Add games. + - [x] Add categories to game. + - [x] Add images to game. + - [x] Edit games. +- [x] Plataform form page + - [x] A list of plataforms to select which one do you want to edit. + - [x] Add plataforms. + - [x] Add games to plataform with prices and discount of the plataform. + - [x] Edit plataforms. +- [x] Categories form page + - [x] A list of categories to select which one do you want to edit. + - [x] Add category. + - [x] Add games to category. + - [x] Edit categories. ## User manual In this *Users manual* you will see some showcases of Web Client **usage** and a **description** *explaining features and tips* for each page.