Commit Graph

104 Commits

Author SHA1 Message Date
94cab9f433 MAPG-41 fix line ending replace 2020-06-10 00:33:11 +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
5dd877d075 MAPG-103 implement saving the modified map on server side 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
bb29bfdfe1 MAPG-103 don't use "position" everywhere 2020-06-09 21:13:16 +02:00
199374a851 MAPG-103 prepare to send additional data with places 2020-06-09 21:10:15 +02:00
edc2e4111a MAPG-115 add login functionality 2020-06-09 21:04:27 +02:00
d93a758cd2 MAPG-115 make possible to add new users via command line 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
00dc78b50c MAPG-115 add base model and User model 2020-06-09 21:04:27 +02:00
fe814908c7 MAPG-115 add new classes to store request data (get, post, session, etc.) 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
6a9f7eddc1 MAPG-110 make error response more for machines 2020-06-04 00:14:57 +02:00
618f2a4d48 MAPG-106 query indoor pano too if no outdoor pano is found 2020-06-03 23:55:09 +02:00
dd2905286b MAPG-100 read and store panoId from/to database 2020-06-03 23:40:25 +02:00
e0273a4c41 MAPG-101 change Modify::$autoIncrement default value 2020-06-02 23:43:06 +02:00
b2c1749695 MAPG-101 add console application 'mapg' and add command DatabaseMigration 2020-06-02 23:43:06 +02:00
87ef0d1918 MAPG-102 query pano data from backend in map editor 2020-06-02 21:44:01 +02:00
9085793c9f MAPG-97 add initial map editor with Leaflet (works as map viewer now) 2020-06-01 21:56:57 +02:00
44db217e8b MAPG-86 add home controller (only redirects now) 2020-05-31 21:00:23 +02:00
927b34956f MAPG-86 adapt controller classes to the new controller structure 2020-05-31 21:00:23 +02:00
88fe7b7a03 MAPG-86 refactor view-controller 2020-05-31 21:00:23 +02:00
6835db5e1f MAPG-86 add classes for routing 2020-05-31 21:00:23 +02:00
77238a6ead MAPG-83 format area value with decimal separator and superscript in unit 2020-05-30 20:40:47 +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
675dd7cd07 MAPG-78 [fix] add missing return types to some methods 2020-05-30 01:53:39 +02:00
81d2c9e3fb MAPG-43 rewrite controllers to use the new http classes 2020-05-29 00:12:35 +02:00
a33244fb56 MAPG-43 rewrite controllers to use the new DB classes 2020-05-29 00:12:35 +02:00
d1c28e2d91 MAPG-43 add classes to handle http queries
remove romanpitak/php-rest-client from composer.json
2020-05-29 00:12:35 +02:00
5738be5c98 MAPG-43 move existing interfaces into separate namespace 2020-05-28 21:07:59 +02:00
17c0ec73df MAPG-43 initial classes for DB handling 2020-05-28 21:07:59 +02:00
b821d4a045 Merged in master (pull request #52)
MAPG-65 create variable so it can be a reference
2020-05-26 21:27:15 +00:00
6f8f2cf9cf MAPG-67 make GameController able to return JSON response 2020-05-26 23:19:23 +02:00
59b93e0078 MAPG-65 create variable so it can be a reference 2020-05-26 21:27:15 +02:00
72a79d4267 MAPG-47 introduce PositionController which replaces GetNewPosition and also calculates results 2020-05-25 19:46:31 +02:00
567238c979 MAPG-47 refactor GameController and its view 2020-05-25 19:14:49 +02:00
8eb3dcf2e2 MAPG-47 add toArray() method to Bounds 2020-05-25 18:54:37 +02:00
dca88ac9a0 MAPG-25 don't query place in GameController 2020-05-22 01:32:30 +02:00
6116b94527 MAPG-37 use random_int() for selecting the position 2020-05-20 21:48:37 +02:00
e15421af8b MAPG-6 introduce and unify geo calculations 2020-05-19 19:01:35 +02:00
dc943fa3cb MAPG-4 rename GuessController to GameController 2020-05-19 16:13:57 +02:00
9555a43cf9 MAPG-10 reformat Bounds.php 2020-05-19 03:19:50 +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
ee636cae78 MAPG-15 read map bounds from the database 2020-05-18 00:23:45 +02:00
90a0e497b3 MAPG-3 select 1 place randomly from places (with demo map id 1) 2020-05-17 23:35:10 +02:00
555984caf5 MAPG-3 create basic contoller functionality 2020-05-17 22:30:22 +02:00
d5c0e59d29 MAPG-3 move utils classes into Util namespace 2020-05-17 22:26:23 +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