Commit Graph

502 Commits

Author SHA1 Message Date
cdbcb6ca52 MAPG-35 adapt JS to mobile layout
use null instead of explicit value when reset
2020-05-21 01:59:31 +02:00
4d8ad9f10f MAPG-35 introduce layout for mobile
further style fixes and adjustments
2020-05-21 01:58:47 +02:00
f039c80eaa Merged in feature/MAPG-37-use-better-random-algorithm (pull request #15)
feature/MAPG-37-use-better-random-algorithm
2020-05-20 19:50:07 +00:00
6116b94527 MAPG-37 use random_int() for selecting the position 2020-05-20 21:48:37 +02:00
068d581a07 Merged in develop (pull request #14)
MAPG-34 change default zoom to 0
2020-05-20 18:40:39 +00:00
b673be741a Merged in feature/MAPG-34-let-zoom-be-0-instead-of-1 (pull request #13)
feature/MAPG-34-let-zoom-be-0-instead-of-1
2020-05-20 18:37:01 +00:00
2b88d721d0 MAPG-34 change default zoom to 0 2020-05-20 20:30:19 +02:00
d1b0522fdd Merged in develop (pull request #12)
Develop
2020-05-20 14:01:41 +00:00
1219fb55c5 Merged in feature/MAPG-19-create-loading-screen (pull request #11)
feature/MAPG-19-create-loading-screen
2020-05-20 13:57:07 +00:00
f647e77366 MAPG-19 show loading gif during loading 2020-05-20 15:54:09 +02:00
51be16395e MAPG-19 add loading.gif 2020-05-20 15:53:14 +02:00
310f36e442 MAPG-19 store gif files in LFS 2020-05-20 15:52:55 +02:00
496021198c Merged in bugfix/MAPG-33-fix-deployment-scripts (pull request #10)
MAPG-33 fix shebang in deployment scripts
2020-05-20 13:12:54 +00:00
f87ca60122 MAPG-33 fix shebang in deployment scripts 2020-05-20 15:10:55 +02:00
6437e923c5 Merged in bugfix/MAPG-32-use-ceil-instead-of-round-for-score-percent (pull request #9)
bugfix/MAPG-32-use-ceil-instead-of-round-for-score-percent
2020-05-20 13:03:31 +00:00
961e6e2380 MAPG-32 use default width (0) for scorebar 2020-05-20 15:00:11 +02:00
82f69664c1 MAPG-32 use Math.ceil instead of Math.round for scorebar 2020-05-20 14:59:48 +02:00
c36b91d5a8 Merged in feature/MAPG-7-implement-automatic-deployment (pull request #8)
Feature/MAPG-7 implement automatic deployment
2020-05-20 12:51:36 +00:00
ba01767c6c MAPG-7 implement install and update scripts
minor adaptations for paths, environment variables and Dockerfile
2020-05-20 13:44:54 +02:00
0bf93f7509 MAPG-7 redirect / to /game 2020-05-20 13:06:40 +02:00
2c9a3ec23c MAPG-7 install nodejs, uglify-js and clean-css into the Docker image
cleanup Docker files
2020-05-20 03:26:51 +02:00
c0ad64cbe5 MAPG-7 refactor JS to be more readable
load Google Maps API async
2020-05-20 03:19:53 +02:00
35c749bea4 Merged in bugfix/MAPG-27-reset-pano-zoom-etc-after-loading-new-pano (pull request #7)
bugfix/MAPG-27-reset-pano-zoom-etc-after-loading-new-pano
2020-05-20 00:13:26 +00:00
bccd02ce30 MAPG-27 reset pov before loading the next pano 2020-05-20 02:10:47 +02:00
504f53d794 Merged in bugfix/MAPG-26-fix-js-loading (pull request #6)
MAPG-26 remove "async defer" from <script> because they depend on each other
2020-05-20 00:07:19 +00:00
066afa6e2e MAPG-26 remove "async defer" from <script> because they depend on each other 2020-05-20 01:54:14 +02:00
1ace9ae0b2 Merged in feature/MAPG-6-calculate-and-show-score-after-the-guess (pull request #5)
Feature/MAPG-6 calculate and show score after the guess
2020-05-19 23:20:39 +00:00
00ac5e842f MAPG-6 add score calculation to JS 2020-05-20 01:08:01 +02:00
2991dfbe27 MAPG-6 add styles for score and result 2020-05-20 01:07:01 +02:00
916995161f MAPG-6 add score element to game HTML 2020-05-20 01:05:46 +02:00
e15421af8b MAPG-6 introduce and unify geo calculations 2020-05-19 19:01:35 +02:00
1d4bfd75d8 Merged in feature/MAPG-4-show-the-real-position-on-a-map-after-the-guess (pull request #4)
Feature/MAPG-4 show the real position on a map after the guess
2020-05-19 14:33:33 +00:00
e4c59739dc MAPG-4 show real position after guess
make workflow better
2020-05-19 16:18:12 +02:00
dc943fa3cb MAPG-4 rename GuessController to GameController 2020-05-19 16:13:57 +02:00
5c9b54c881 Merged in feature/MAPG-10-check-if-place-has-panorama (pull request #3)
Feature/MAPG-10 check if place has panorama
2020-05-19 01:45:29 +00:00
ef95f5b986 MAPG-10 query new position with AJAX
check if pano at position exists
load new pano after guess
2020-05-19 03:44:17 +02:00
9555a43cf9 MAPG-10 reformat Bounds.php 2020-05-19 03:19:50 +02:00
e0d65b6e27 MAPG-10 adapt index.php to the new view-controller concept
add GetNewPosition's route to index.php
2020-05-19 03:19:23 +02:00
88e8a4e9e4 MAPG-10 add GetNewPosition controller
remove position selecing from GuessController
adapt GuessController to the new view-controller concept
2020-05-19 03:17:40 +02:00
61cde2d40b MAPG-10 add toArray to Position 2020-05-19 03:14:20 +02:00
037d19b0b3 MAPG-10 refactor view-controller to be able to handle JSON response 2020-05-19 03:13:55 +02:00
55b693df68 Merged in feature/MAPG-15-use-map-bounds-from-the-database (pull request #2)
feature/MAPG-15-use-map-bounds-from-the-database
2020-05-17 22:25:44 +00:00
ee636cae78 MAPG-15 read map bounds from the database 2020-05-18 00:23:45 +02:00
6ae34c8475 Merged in feature/MAPG-3-show-the-place-from-a-database (pull request #1)
Feature/MAPG-3 show the place from a database
2020-05-17 21:42:10 +00:00
90a0e497b3 MAPG-3 select 1 place randomly from places (with demo map id 1) 2020-05-17 23:35:10 +02:00
153acd1a4e MAPG-3 add DB connection variables to .env.example 2020-05-17 23:32:57 +02:00
731a168323 MAPG-3 remove pov from panorama for the time being 2020-05-17 22:33:48 +02:00
033e03335f MAPG-3 add initial SQL structure 2020-05-17 22:31:13 +02:00
555984caf5 MAPG-3 create basic contoller functionality 2020-05-17 22:30:22 +02:00
c63f05295e MAPG-3 move index.php's view part to views/guess.php 2020-05-17 22:28:34 +02:00