Commit Graph

31 Commits

Author SHA1 Message Date
9a59656375
use soko-web framework 2023-04-07 20:14:32 +02:00
6db6208896
MAPG-191 don't create separate variable for data where not necessary 2020-07-05 00:58:03 +02:00
2a3f891aa0
MAPG-180 don't echo void 2020-06-27 14:26:19 +02:00
bf8e5b5f4d
MAPG-89 adaptations in HtmlContent and index.php 2020-06-27 00:44:38 +02:00
87d476065d MAPG-69 fix routing to handle emptry string properly 2020-06-21 15:44:40 +02:00
99c72d99be MAPG-69 make Redirect able to redirect to external sources 2020-06-21 15:12:44 +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
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
6fc83c9459 MAPG-119 handle the case if no mapId is present when editing map 2020-06-10 23:32:37 +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
88e8c5c027 MAPG-103 implement saving on client side + server side skeleton 2020-06-09 21:29:51 +02:00
bb29bfdfe1 MAPG-103 don't use "position" everywhere 2020-06-09 21:13:16 +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
87ef0d1918 MAPG-102 query pano data from backend in map editor 2020-06-02 21:44:01 +02:00
637ed5d0ac MAPG-99 use HTTP_HOST instead of SERVER_NAME to prevent wrong redirection 2020-06-01 22:44:44 +02:00
9085793c9f MAPG-97 add initial map editor with Leaflet (works as map viewer now) 2020-06-01 21:56:57 +02:00
b2eabfb9b8 MAPG-86 adapt index.php to the new routing structure 2020-05-31 21:00:23 +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
6f8f2cf9cf MAPG-67 make GameController able to return JSON response 2020-05-26 23:19:23 +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
0bf93f7509 MAPG-7 redirect / to /game 2020-05-20 13:06:40 +02:00
dc943fa3cb MAPG-4 rename GuessController to GameController 2020-05-19 16:13:57 +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
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
a61d2951d7 MAPG-2 Init project MapGuesser
* add composer.json and basic environment
 * add basic classes
 * add basic map with JS and CSS (with demo functionality)
 * add files for docker-compose
 * add launch.json for Docker debug
 * add README
2020-05-17 19:29:06 +02:00