Commit Graph

197 Commits

Author SHA1 Message Date
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
2f4f66cc94 MAPG-178 make style compatible with cookie notice on the top of the page 2020-06-25 14:00:38 +02:00
8bdbbafcff MAPG-175 align noPano middle and center as other elements 2020-06-24 22:37:33 +02:00
9f839d3f5d MAPG-174 create separate div for description and align description vertically middle 2020-06-24 22:32:54 +02:00
251bf1be3d MAPG-172 add new styles 2020-06-24 21:57:40 +02:00
19aa4098e5 MAPG-169 set mapContainer's inners' height dynamically to be identical in a row 2020-06-23 23:36:19 +02:00
394c8b8830 MAPG-169 make static map background instead of img 2020-06-23 23:36:19 +02:00
ea98af0681 MAPG-163 optimize modal sizes 2020-06-21 23:07:47 +02:00
94e60e4ac5 MAPG-87 unify some styles 2020-06-21 22:20:04 +02:00
a2ca7888f4 MAPG-160 replace space with margin-right next to inline images 2020-06-21 17:36:08 +02:00
87d476065d MAPG-69 fix routing to handle emptry string properly 2020-06-21 15:44:40 +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
9697163457 MAPG-69 merge SignupController to LoginController and introduce Google login/sign up 2020-06-21 15:12:45 +02:00
99c72d99be MAPG-69 make Redirect able to redirect to external sources 2020-06-21 15:12:44 +02:00
a2d2b94cc6 MAPG-155 minZoom and maxZoom should depend on zoomOffset 2020-06-20 02:14:17 +02:00
b35668c2fb MAPG-149 fix z-indexes 2020-06-18 16:37:32 +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
a38268c751 MAPG-145 add CSS ::selection attribute 2020-06-14 22:08:01 +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
c50c5ed422 MAPG-69 initialize Request earlier
add Request to global Container
add base URL to Request
2020-06-14 17:11:48 +02:00
1269c876e9 MAPG-138 use traditional for loop for compatibility 2020-06-14 11:33:13 +02:00
f85340cd00 MAPG-137 optimize png images (favicons) 2020-06-14 11:21:07 +02:00
86f05f7738 MAPG-137 place static maps into container to avoid large layout shifts 2020-06-14 11:11:37 +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
8e0c1ce08b MAPG-133 add basic CSRF protection to server side 2020-06-13 22:38:30 +02:00
013668e3d6 MAPG-131 split web specific code from main.php to web.php
set the new session handler as session handler
configure session with longer lifetime and with stricter cookie settings
2020-06-13 20:45:36 +02:00
2ef67d53f4 MAPG-28 fix static asset paths (add STATIC_ROOT and REVISION) 2020-06-12 20:13:43 +02:00
33ec9d3a9c MAPG-130 loading animation should be fixed and not absolute 2020-06-11 23:53:15 +02:00
90ccdf6de7 MAPG-127 cluster markers in map_editor 2020-06-11 23:23:28 +02:00
420ed400a6 MAPG-127 add leaflet.markercluster to yarn dependencies 2020-06-11 23:22:26 +02:00
a0d1e8778c MAPG-126 add configurable attribution for Leaflet maps 2020-06-11 00:14:30 +02:00
ec7e806277 MAPG-119 'add new map' button and some desing improvements on maps page 2020-06-10 23:36:00 +02:00
947ce6b183 MAPG-119 view and JS adaptations for new map creation 2020-06-10 23:32:38 +02:00
6fc83c9459 MAPG-119 handle the case if no mapId is present when editing map 2020-06-10 23:32:37 +02:00
ed0e287c94 MAPG-120 don't hide the loading when user will be redirected 2020-06-10 20:22:01 +02:00
5a450c46db MAPG-117 remove admin/maps and place a button to the maps page if admin is logged in 2020-06-10 00:30:29 +02:00
fbab712496 MAPG-103 save map metadata 2020-06-09 21:29:51 +02:00
46ef7f3b3b MAPG-103 unify some styles and show map name in the header 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
3fd37b0a78 MAPG-103 add info about the modified places into the header 2020-06-09 21:13:16 +02:00
92fd282184 MAPG-103 reset UI elements in case of error 2020-06-09 21:13:16 +02:00
55a1cd24d6 MAPG-103 make some CSS rules more general 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
1915b252c6 MAPG-103 change map's cursor to crosshair in map editor 2020-06-09 21:10:15 +02:00
edc2e4111a MAPG-115 add login functionality 2020-06-09 21:04:27 +02:00
e8f9d74283 MAPG-115 adapt existing controllers to the new request classes 2020-06-09 21:04:27 +02:00
ecaf8ca9d4 MAPG-115 make possible to secure controllers 2020-06-09 00:57:01 +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
637ed5d0ac MAPG-99 use HTTP_HOST instead of SERVER_NAME to prevent wrong redirection 2020-06-01 22:44:44 +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
a82b27cb90 MAPG-97 add Leaflet 2020-06-01 21:56:57 +02:00
f7d37b8513 MAPG-97 add and use new markers 2020-06-01 21:56:57 +02:00
b823af1f7d MAPG-97 make better split up of JSs, CSSs, SVGs, templates 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
b2eabfb9b8 MAPG-86 adapt index.php to the new routing structure 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
2e2524474f MAPG-81 add favicons 2020-05-30 23:18:05 +02:00
77238a6ead MAPG-83 format area value with decimal separator and superscript in unit 2020-05-30 20:40:47 +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
b9a36e5ccf MAPG-85 make static map's width mobile friendly
further style improvements on map selection page
2020-05-30 19:11:38 +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
8afcde393f MAPG-73 show header with link on the gaming screen
move round info to the new header
2020-05-30 17:39:45 +02:00
9ffedf6030 MAPG-73 introduce map selection
unify CSS
2020-05-30 17:39:45 +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
f4e9930093 MAPG-78 replace loading SVG to an own version 2020-05-30 01:53:39 +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
6f8f2cf9cf MAPG-67 make GameController able to return JSON response 2020-05-26 23:19:23 +02:00
5e068e0aed MAPG-47 refactor JS to be adapted to the new PositionController 2020-05-25 19:51:02 +02:00
72a79d4267 MAPG-47 introduce PositionController which replaces GetNewPosition and also calculates results 2020-05-25 19:46:31 +02:00
2d22d14817 MAPG-47 make possible to pass GET parameters to URL 2020-05-25 18:52:31 +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