Commit Graph
100 Commits
Author SHA1 Message Date
bence 44e441fac0 Merged in bugfix/MAPG-137-fix-errors-reported-by-speed-an (pull request #110)
Bugfix/MAPG-137 fix errors reported by speed an
2020-06-14 09:25:47 +00:00
bence f85340cd00 MAPG-137 optimize png images (favicons) 2020-06-14 11:21:07 +02:00
bence ba83f73c31 MAPG-137 add width and height to images where possible 2020-06-14 11:12:18 +02:00
bence 86f05f7738 MAPG-137 place static maps into container to avoid large layout shifts 2020-06-14 11:11:37 +02:00
bence 61ce915ec0 Merged in hotfix/MAPG-125-ability-to-delete-maps (pull request #109)
MAPG-125 re-add select map name when opening modal
2020-06-14 00:53:38 +00:00
bence 2aa3cdc7f3 MAPG-125 re-add select map name when opening modal 2020-06-14 02:53:11 +02:00
bence 5760e31e29 Merged in feature/MAPG-125-ability-to-delete-maps (pull request #108)
Feature/MAPG-125 ability to delete maps
2020-06-14 00:42:31 +00:00
bence 14fd723f26 MAPG-125 add functionality to delete map button 2020-06-14 02:37:49 +02:00
bence a6d5214166 MAPG-125 add deleteMap endpoint 2020-06-14 02:36:23 +02:00
bence d1d9dede9c MAPG-125 use modal instead of custom box in map editor 2020-06-14 02:31:09 +02:00
bence 171064816c MAPG-125 add modal design 2020-06-14 02:30:47 +02:00
bence f8bb7bd092 MAPG-125 rename #cover to #guessCover in game 2020-06-14 02:07:20 +02:00
bence 466f065718 MAPG-125 switch off diff calculation in Modify for better performance
(not sure if needed - we probably won't log)
2020-06-14 02:06:27 +02:00
bence 6d68f247e6 Merged in feature/MAPG-133-csrf-protection (pull request #107)
Feature/MAPG-133 csrf protection
2020-06-13 20:41:49 +00:00
bence e4c7aadc64 MAPG-133 replace XHRs to MapGuesser.httpRequest 2020-06-13 22:39:44 +02:00
bence 25262fb5fe MAPG-133 pass CSRF token to JS
create separate mapguesser.js
2020-06-13 22:39:17 +02:00
bence 8e0c1ce08b MAPG-133 add basic CSRF protection to server side 2020-06-13 22:38:30 +02:00
bence 9e196ebf33 Merged in feature/MAPG-131-store-session-is-database (pull request #106)
Feature/MAPG-131 store session is database
2020-06-13 18:49:26 +00:00
bence 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
bence dbd16d6cbe MAPG-131 create custom session handler for DB sessions 2020-06-13 20:39:42 +02:00
bence 6a191d5c28 MAPG-131 adapt Modify to be able to handle external ID 2020-06-13 20:39:22 +02:00
bence 39e49724da MAPG-131 add sessions table to DB 2020-06-13 20:38:45 +02:00
bence 6c8a3c6a90 Merged in feature/MAPG-111-calculate-map-area-when-bounds-are-modified (pull request #105)
Feature/MAPG-111 calculate map area when bounds are modified
2020-06-12 19:57:07 +00:00
bence 7159867db0 MAPG-111 query map area from DB
modify calculations to be in square km (instead of m)
2020-06-12 21:55:04 +02:00
bence 4d7c86fd1b MAPG-111 store map area in table 'maps' 2020-06-12 21:54:05 +02:00
bence 9ca97dccb9 Merged in bugfix/MAPG-28-rewrite-missiong-static-asset-paths (pull request #104)
MAPG-28 fix static asset paths (add STATIC_ROOT and REVISION)
2020-06-12 18:16:36 +00:00
bence 2ef67d53f4 MAPG-28 fix static asset paths (add STATIC_ROOT and REVISION) 2020-06-12 20:13:43 +02:00
bence 06a0722899 Merged in feature/MAPG-28-configure-static-root-for-assets (pull request #103)
Feature/MAPG-28 configure static root for assets
2020-06-12 18:01:56 +00:00
bence 4a9cf8a217 MAPG-28 add update-version.sh and adapt deploy py script to that 2020-06-12 20:00:45 +02:00
bence b3caf1fb38 MAPG-28 adapt cssFiles and jsFiles to the new handler 2020-06-12 20:00:45 +02:00
bence 08d4aec48e MAPG-28 add static root and revision to the local JS and CSS files 2020-06-12 20:00:45 +02:00
bence 9c380076fa Merged in feature/MAPG-129-add-git-hooks (pull request #102)
MAPG-129 add prepare-commit-msg hook template
2020-06-12 17:48:37 +00:00
bence 95508ad284 MAPG-129 add prepare-commit-msg hook template 2020-06-12 19:47:58 +02:00
bence 7690714b26 MAPG-28 make it possible to configure static root (eg. for static.example.com) 2020-06-12 19:42:55 +02:00
bence f732dad1b1 MAPG-28 add version and revision info in main.php 2020-06-12 19:39:25 +02:00
bence 49b6f28a9d Merged in bugfix/MAPG-130-fix-loading-animation-position (pull request #101)
MAPG-130 loading animation should be fixed and not absolute
2020-06-11 21:53:47 +00:00
bence 33ec9d3a9c MAPG-130 loading animation should be fixed and not absolute 2020-06-11 23:53:15 +02:00
bence 6fb122e842 Merged in feature/MAPG-127-integrate-markerclustergroup (pull request #100)
Feature/MAPG-127 integrate markerclustergroup
2020-06-11 21:35:49 +00:00
bence 90ccdf6de7 MAPG-127 cluster markers in map_editor 2020-06-11 23:23:28 +02:00
bence a869a55b7e MAPG-127 load markercluster's CSS and JS in map_editor 2020-06-11 23:23:03 +02:00
bence 420ed400a6 MAPG-127 add leaflet.markercluster to yarn dependencies 2020-06-11 23:22:26 +02:00
bence d6f34b916e Merged in hotfix/MAPG-128-saving-a-new-map-does-not-work (pull request #99)
MAPG-128 set all default values when creating a new map
2020-06-11 08:34:52 +00:00
bence 98fc735622 MAPG-128 set all default values when creating a new map 2020-06-11 10:33:59 +02:00
bence 81a3079a1a Merged in feature/MAPG-126-add-attribution-for-leaflet-map (pull request #98)
MAPG-126 add configurable attribution for Leaflet maps
2020-06-10 22:15:02 +00:00
bence a0d1e8778c MAPG-126 add configurable attribution for Leaflet maps 2020-06-11 00:14:30 +02:00
bence 2fc0ab557f Merged in feature/MAPG-119-new-map-creation (pull request #97)
Feature/MAPG-119 new map creation
2020-06-10 21:59:49 +00:00
bence be8f0a1486 MAPG-119 fix distribution of the ids of the newly created places 2020-06-10 23:58:09 +02:00
bence ff201c2e8e MAPG-119 add more area categories 2020-06-10 23:51:09 +02:00
bence 805d91c0c0 MAPG-119 small fixes for game 2020-06-10 23:36:00 +02:00
bence ec7e806277 MAPG-119 'add new map' button and some desing improvements on maps page 2020-06-10 23:36:00 +02:00
bence 947ce6b183 MAPG-119 view and JS adaptations for new map creation 2020-06-10 23:32:38 +02:00
bence 6fc83c9459 MAPG-119 handle the case if no mapId is present when editing map 2020-06-10 23:32:37 +02:00
bence 5237c3f454 MAPG-119 prevent endless loop for place selection 2020-06-10 23:12:30 +02:00
bence 5a1c384c17 MAPG-119 fix maps query 2020-06-10 23:11:55 +02:00
bence 3fb538469b Merged in bugfix/MAPG-121-game-doesnt-work (pull request #96)
MAPG-121 fix wrong condition
2020-06-10 18:35:57 +00:00
bence 04d10663dd MAPG-121 fix wrong condition 2020-06-10 20:34:29 +02:00
bence f11cba4f10 Merged in bugfix/MAPG-120-fix-login-loading (pull request #95)
MAPG-120 don't hide the loading when user will be redirected
2020-06-10 18:23:11 +00:00
bence cfb0513825 Merged in bugfix/MAPG-117-map-selection-page (pull request #94)
MAPG-117 show the edit button only if user is admin
2020-06-10 18:22:51 +00:00
bence ed0e287c94 MAPG-120 don't hide the loading when user will be redirected 2020-06-10 20:22:01 +02:00
bence ad818af543 MAPG-117 show the edit button only if user is admin 2020-06-10 20:20:36 +02:00
bence 2725754504 Merged in bugfix/MAPG-116-improve-loading-animation (pull request #93)
MAPG-116 don't show loading when no real link clicked
2020-06-09 22:41:25 +00:00
bence dc072bd3c0 Merged in bugfix/MAPG-41-create-place-administration (pull request #92)
MAPG-41 fix line ending replace
2020-06-09 22:41:10 +00:00
bence a70d59ed95 MAPG-116 don't show loading when no real link clicked 2020-06-10 00:40:47 +02:00
bence 94cab9f433 MAPG-41 fix line ending replace 2020-06-10 00:33:11 +02:00
bence 4b0057e3ba Merged in feature/MAPG-117-map-selection-page (pull request #91)
MAPG-117 remove admin/maps and place a button to the maps page if admin is logged in
2020-06-09 22:31:40 +00:00
bence 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
bence 4af6f07ce1 Merged in feature/MAPG-116-improve-loading-animation (pull request #90)
MAPG-116 attach loading animation to anchors and not to beforeunload
2020-06-09 21:01:07 +00:00
bence 5e28fcb64d MAPG-116 attach loading animation to anchors and not to beforeunload 2020-06-09 23:00:07 +02:00
bence 16bcbaecbe Merged in feature/MAPG-103-map-editor-ui-elements (pull request #88)
Feature/MAPG-103 map editor ui elements
2020-06-09 19:40:33 +00:00
bence fbab712496 MAPG-103 save map metadata 2020-06-09 21:29:51 +02:00
bence 46ef7f3b3b MAPG-103 unify some styles and show map name in the header 2020-06-09 21:29:51 +02:00
bence 5dd877d075 MAPG-103 implement saving the modified map on server side 2020-06-09 21:29:51 +02:00
bence 88e8c5c027 MAPG-103 implement saving on client side + server side skeleton 2020-06-09 21:29:51 +02:00
bence 3fd37b0a78 MAPG-103 add info about the modified places into the header 2020-06-09 21:13:16 +02:00
bence 92fd282184 MAPG-103 reset UI elements in case of error 2020-06-09 21:13:16 +02:00
bence 55a1cd24d6 MAPG-103 make some CSS rules more general 2020-06-09 21:13:16 +02:00
bence bb29bfdfe1 MAPG-103 don't use "position" everywhere 2020-06-09 21:13:16 +02:00
bence 1179914f42 MAPG-103 rename "Core" to "Game" in game.js 2020-06-09 21:10:15 +02:00
bence 85773d47a0 MAPG-103 create controls for place 2020-06-09 21:10:15 +02:00
bence 199374a851 MAPG-103 prepare to send additional data with places 2020-06-09 21:10:15 +02:00
bence 138ff3fe6a MAPG-103 make possible to select a new place on map 2020-06-09 21:10:15 +02:00
bence 1915b252c6 MAPG-103 change map's cursor to crosshair in map editor 2020-06-09 21:10:15 +02:00
bence 2f2a7968a0 Merged in feature/MAPG-115-guard-endpoints-based-on-user-g (pull request #89)
Feature/MAPG-115 guard endpoints based on user g
2020-06-09 19:05:23 +00:00
bence edc2e4111a MAPG-115 add login functionality 2020-06-09 21:04:27 +02:00
bence d93a758cd2 MAPG-115 make possible to add new users via command line 2020-06-09 21:04:27 +02:00
bence e8f9d74283 MAPG-115 adapt existing controllers to the new request classes 2020-06-09 21:04:27 +02:00
bence 00dc78b50c MAPG-115 add base model and User model 2020-06-09 21:04:27 +02:00
bence fe814908c7 MAPG-115 add new classes to store request data (get, post, session, etc.) 2020-06-09 21:04:27 +02:00
bence ecaf8ca9d4 MAPG-115 make possible to secure controllers 2020-06-09 00:57:01 +02:00
bence ed9621d581 MAPG-115 add users table 2020-06-09 00:57:01 +02:00
bence 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
bence 6a9f7eddc1 MAPG-110 make error response more for machines 2020-06-04 00:14:57 +02:00
bence af52ac3787 MAPG-110 request the correct endpoint in case of in-place game reset 2020-06-04 00:14:57 +02:00
bence 0481274335 Merged in feature/MAPG-106-query-indoor-panos (pull request #86)
MAPG-106 query indoor pano too if no outdoor pano is found
2020-06-03 21:55:48 +00:00
bence 618f2a4d48 MAPG-106 query indoor pano too if no outdoor pano is found 2020-06-03 23:55:09 +02:00
bence e817a34a3a Merged in feature/MAPG-100-store-panoid-in-database-for-an (pull request #85)
Feature/MAPG-100 store panoid in database for an
2020-06-03 21:43:08 +00:00
bence 4dde24b70a MAPG-100 add DB migration for pano id cache 2020-06-03 23:41:27 +02:00
bence 2d91f94f0c MAPG-100 visualize in map editor if place has pano or not 2020-06-03 23:41:08 +02:00
bence dd2905286b MAPG-100 read and store panoId from/to database 2020-06-03 23:40:25 +02:00
bence 12d24bfddf Merged in feature/MAPG-109-modify-release-process (pull request #84)
MAPG-109 add deployment script
2020-06-03 19:08:59 +00:00