Commit Graph

151 Commits

Author SHA1 Message Date
42854fe975
MAPG-208 error handling adaptations
All checks were successful
default-pipeline default-pipeline #53
2021-03-21 14:37:08 +01:00
1cf0ab44fd
MAPG-207 don't use MapGuesser.showmodal for modal 'multi'
All checks were successful
default-pipeline default-pipeline #49
2021-03-21 12:45:57 +01:00
d431a693fc
MAPG-203 fix wrong variable name
All checks were successful
default-pipeline default-pipeline #45
2021-03-20 22:24:47 +01:00
f3ec71d6dd
MAPG-203 fix condition in game.js
All checks were successful
default-pipeline default-pipeline #38
2021-03-20 20:59:10 +01:00
563f900423
MAPG-203 implement game mode selection UI 2021-03-20 19:45:20 +01:00
24a10c534e
MAPG-203 frontend adaptations for multiplayer 2021-03-20 19:44:48 +01:00
10d239bfb4
MAPG-203 this.response.newPlace -> this.response.place
All checks were successful
default-pipeline default-pipeline #25
2021-03-17 22:54:06 +01:00
c317a0abf4
MAPG-203 adapt game.js to the new endpoints
All checks were successful
default-pipeline default-pipeline #15
2021-03-15 12:28:25 +01:00
3123643bb7
MAPG-44 modify game to use pov of place 2020-07-04 01:11:04 +02:00
3555be9b63
MAPG-188 get rid of inline js 2020-06-28 17:56:47 +02:00
4333240acc
MAPG-181 add stuff to authenticate without password 2020-06-28 03:18:51 +02:00
ec969167e4 MAPG-180 standardize form submit with AJAX 2020-06-25 22:35:04 +02:00
e4a51c139f MAPG-180 improve form functionality 2020-06-25 22:34:32 +02:00
27115e44b6 MAPG-180 extract all inline JS into separate JS file 2020-06-25 20:42:12 +02:00
b1ae7391e7 MAPG-156 implement user deletion 2020-06-25 20:26:51 +02:00
910fdddf34 MAPG-156 adapt account's JS to the new helper functions 2020-06-25 20:26:51 +02:00
87c4c06aa6 MAPG-156 add some form helper functions 2020-06-25 20:26:51 +02:00
ad24f8ac28 MAPG-156 rename profile to account 2020-06-25 16:44:34 +02:00
f8a570d0d5 MAPG-178 add Google Analytics
style adaptations
cookie notice improvements
2020-06-25 14:02:39 +02:00
a8777b897b MAPG-69 ability to reset signup filled after login attempt 2020-06-21 15:12:45 +02:00
285f2dd0ac MAPG-69 login user when trying to sign up 2020-06-21 15:12:45 +02:00
10b7766458 MAPG-69 redirect to sign up when user not found during login 2020-06-21 15:12:45 +02:00
a2d2b94cc6 MAPG-155 minZoom and maxZoom should depend on zoomOffset 2020-06-20 02:14:17 +02:00
64b6197bd4 MAPG-149 omit focusing/selecting input elements after processing 2020-06-18 16:28:01 +02:00
43775c8f4f Merged in bugfix/MAPG-148-fix-xmlhttp-responsetype-error (pull request #118)
MAPG-148 set xhr responseType after xhr open() because it is accepted by all browsers
2020-06-18 14:21:30 +00:00
ce96e15911 MAPG-148 set xhr responseType after xhr open() because it is accepted by all browsers 2020-06-18 16:20:45 +02:00
50c7e3972c MAPG-151 check email address validity on server side 2020-06-18 16:12:40 +02:00
062718dd75 MAPG-69 implement password modification 2020-06-14 20:43:13 +02:00
20102f0577 MAPG-69 implement sign up functionality 2020-06-14 20:43:13 +02:00
a69ba3a99b MAPG-69 unifying some style and text 2020-06-14 20:43:13 +02:00
66b21ec710 MAPG-69 add active flag for users and check if user is active before login 2020-06-14 20:43:13 +02:00
1269c876e9 MAPG-138 use traditional for loop for compatibility 2020-06-14 11:33:13 +02:00
2aa3cdc7f3 MAPG-125 re-add select map name when opening modal 2020-06-14 02:53:11 +02:00
d1d9dede9c MAPG-125 use modal instead of custom box in map editor 2020-06-14 02:31:09 +02:00
171064816c MAPG-125 add modal design 2020-06-14 02:30:47 +02:00
f8bb7bd092 MAPG-125 rename #cover to #guessCover in game 2020-06-14 02:07:20 +02:00
e4c7aadc64 MAPG-133 replace XHRs to MapGuesser.httpRequest 2020-06-13 22:39:44 +02:00
25262fb5fe MAPG-133 pass CSRF token to JS
create separate mapguesser.js
2020-06-13 22:39:17 +02:00
2ef67d53f4 MAPG-28 fix static asset paths (add STATIC_ROOT and REVISION) 2020-06-12 20:13:43 +02:00
90ccdf6de7 MAPG-127 cluster markers in map_editor 2020-06-11 23:23:28 +02:00
a0d1e8778c MAPG-126 add configurable attribution for Leaflet maps 2020-06-11 00:14:30 +02:00
947ce6b183 MAPG-119 view and JS adaptations for new map creation 2020-06-10 23:32:38 +02:00
ed0e287c94 MAPG-120 don't hide the loading when user will be redirected 2020-06-10 20:22:01 +02:00
fbab712496 MAPG-103 save map metadata 2020-06-09 21:29:51 +02:00
88e8c5c027 MAPG-103 implement saving on client side + server side skeleton 2020-06-09 21:29:51 +02:00
92fd282184 MAPG-103 reset UI elements in case of error 2020-06-09 21:13:16 +02:00
bb29bfdfe1 MAPG-103 don't use "position" everywhere 2020-06-09 21:13:16 +02:00
1179914f42 MAPG-103 rename "Core" to "Game" in game.js 2020-06-09 21:10:15 +02:00
85773d47a0 MAPG-103 create controls for place 2020-06-09 21:10:15 +02:00
138ff3fe6a MAPG-103 make possible to select a new place on map 2020-06-09 21:10:15 +02:00
edc2e4111a MAPG-115 add login functionality 2020-06-09 21:04:27 +02:00
b6f8735da8 Merged in hotfix/MAPG-110-in-place-reset-of-game (pull request #87)
Hotfix/MAPG-110 in place reset of game
2020-06-03 22:20:44 +00:00
af52ac3787 MAPG-110 request the correct endpoint in case of in-place game reset 2020-06-04 00:14:57 +02:00
2d91f94f0c MAPG-100 visualize in map editor if place has pano or not 2020-06-03 23:41:08 +02:00
0d3203c10e Merged in feature/MAPG-41-create-place-administration (pull request #81)
MAPG-41 don't re-load pano when clicking again on the selected marker
2020-06-02 19:55:36 +00:00
8b9dd0bc32 MAPG-107 use bigger resolution if the device pixel ratio is big 2020-06-02 21:51:25 +02:00
6acb19ba36 MAPG-107 adapt map editor splitting to screen size 2020-06-02 21:49:37 +02:00
87ef0d1918 MAPG-102 query pano data from backend in map editor 2020-06-02 21:44:01 +02:00
41b989d6e3 MAPG-41 don't re-load pano when clicking again on the selected marker 2020-06-01 23:46:43 +02:00
c51c023357 MAPG-97 switch off motion tracking in map editor 2020-06-01 22:07:13 +02:00
9085793c9f MAPG-97 add initial map editor with Leaflet (works as map viewer now) 2020-06-01 21:56:57 +02:00
f7d37b8513 MAPG-97 add and use new markers 2020-06-01 21:56:57 +02:00
665eb7e4d1 MAPG-86 adapt URLs in HTML and JS 2020-05-31 21:00:23 +02:00
fe095cf435 MAPG-90 disable unload prevention and unify onbeforeunload script (loading animation) 2020-05-31 03:50:06 +02:00
88a1d5ab8e MAPG-64 create cover div when user should not click on the pano or guess map
add loading animation to maps page too
CSS fixes
2020-05-30 20:13:00 +02:00
1e7b106689 MAPG-72 prevent to show 'beforeonload' confirmation panel if we already have the real position (guess is evaluated) 2020-05-30 18:14:50 +02:00
5ff42b0849 MAPG-71 remove guessMarker from map when resetting the game 2020-05-30 18:05:22 +02:00
92c35a2087 MAPG-73 pass mapId to GameController and PositionController
adapt JS to send mapId
make separate JS for the game
2020-05-30 15:33:28 +02:00
a3665c5a6a MAPG-67 make it possible to reset the game on error in JS
refactor JS to make round and game resetting unified
2020-05-26 23:25:21 +02:00
5e068e0aed MAPG-47 refactor JS to be adapted to the new PositionController 2020-05-25 19:51:02 +02:00
46abd1fb63 MAPG-63 query only outdoor panos from StreetViewService 2020-05-24 17:59:26 +02:00
a6541d1152 MAPG-59 fix overlapping markers
- real markers are always over guess markers
- latest marker is always over the old marker in real/guess group
2020-05-24 15:00:58 +02:00
92408d6f02 MAPG-61 add onbeforeunload function to prevent accidental leave 2020-05-24 14:47:15 +02:00
1c0e423811 MAPG-60 fix JS syntax error 2020-05-23 02:35:01 +02:00
d6cafdeb06 Merged in feature/MAPG-54-show-round-and-score-continously (pull request #33)
MAPG-54 introduce round info - current round number and score
2020-05-22 23:26:48 +00:00
e8492994dd MAPG-54 introduce round info - current round number and score 2020-05-23 01:25:43 +02:00
cb433ce822 MAPG-55 add title for real marker 2020-05-22 23:55:09 +02:00
5c309cd05f MAPG-55 set markers' z-index (real marker should always be over guess marker) 2020-05-22 23:50:14 +02:00
23b18a8e13 MAPG-55 set marker labels with round numbers 2020-05-22 23:45:31 +02:00
94037dda31 MAPG-53 check if Core.googleLink is not null before trying to modify it 2020-05-22 23:32:17 +02:00
f110bb9b18 MAPG-20 rename guessMap to map 2020-05-22 23:23:54 +02:00
96ee250f96 MAPG-20 merge guessMap and resultMap into one map 2020-05-22 23:22:11 +02:00
41456098bf MAPG-25 store rounds and score sum in sessionStorage 2020-05-22 01:31:32 +02:00
b0b95fbbee MAPG-25 implement multi round game
refator of JS code
2020-05-21 23:55:59 +02:00
3d636be4ea MAPG-40 use Math.floor instead of accidentally used Math.ceil 2020-05-21 15:19:05 +02:00
6cd777fc1b MAPG-29 draw line between the real and guess position on result map
minor fixes and improvements in JS
2020-05-21 14:07:37 +02:00
cb000a5887 MAPG-38 turn out motiontracking for the time being 2020-05-21 12:17:53 +02:00
3afadb506b MAPG-38 reset zoom in the documented way 2020-05-21 12:17:18 +02:00
f0344bfc6c MAPG-35 further adaptations for mobile devices
implicitely fix issue MAPG-17
2020-05-21 03:24:09 +02:00
cdbcb6ca52 MAPG-35 adapt JS to mobile layout
use null instead of explicit value when reset
2020-05-21 01:59:31 +02:00
2b88d721d0 MAPG-34 change default zoom to 0 2020-05-20 20:30:19 +02:00
f647e77366 MAPG-19 show loading gif during loading 2020-05-20 15:54:09 +02:00
82f69664c1 MAPG-32 use Math.ceil instead of Math.round for scorebar 2020-05-20 14:59:48 +02:00
c0ad64cbe5 MAPG-7 refactor JS to be more readable
load Google Maps API async
2020-05-20 03:19:53 +02:00
bccd02ce30 MAPG-27 reset pov before loading the next pano 2020-05-20 02:10:47 +02:00
00ac5e842f MAPG-6 add score calculation to JS 2020-05-20 01:08:01 +02:00
e15421af8b MAPG-6 introduce and unify geo calculations 2020-05-19 19:01:35 +02:00
e4c59739dc MAPG-4 show real position after guess
make workflow better
2020-05-19 16:18:12 +02: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
731a168323 MAPG-3 remove pov from panorama for the time being 2020-05-17 22:33:48 +02:00