Commit Graph

158 Commits

Author SHA1 Message Date
ec969167e4 MAPG-180 standardize form submit with AJAX 2020-06-25 22:35:04 +02:00
b1ae7391e7 MAPG-156 implement user deletion 2020-06-25 20:26:51 +02:00
8987b563dd MAPG-156 add getByUser to UserConfirmationRepository 2020-06-25 20:26:51 +02:00
70d8807f38 MAPG-156 extend PDM to be able to return with Generator 2020-06-25 20:26:51 +02:00
ad24f8ac28 MAPG-156 rename profile to account 2020-06-25 16:44:34 +02:00
e7ee7bbe8e MAPG-178 add endpoint that can send valid data based on started session 2020-06-25 14:01:17 +02:00
787427b211 MAPG-166 response to HEAD request with the GET content 2020-06-23 15:26:53 +02:00
e2a0da3dd2 MAPG-164 use env variable for mail sender instead of hardcoded value 2020-06-22 21:37:17 +00:00
98cd15e91f MAPG-164 show application's name from env variable 2020-06-22 21:06:15 +02:00
cb5229a5e8 MAPG-69 welcome email shouldn't be sent to existing user 2020-06-21 16:01:46 +02:00
87d476065d MAPG-69 fix routing to handle emptry string properly 2020-06-21 15:44:40 +02:00
6338e35cfb MAPG-69 ability to cancel Google signup 2020-06-21 15:29:02 +02:00
1cfbef418e MAPG-69 add missing return types in LoginController 2020-06-21 15:19:36 +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
d1c9e221f7 MAPG-69 add Google OAuth handler 2020-06-21 15:12:44 +02:00
2d2e218002 MAPG-69 add simple JWT parser 2020-06-21 15:12:44 +02:00
7ba11f34cc MAPG-69 add new field to User 2020-06-21 15:12:44 +02:00
99c72d99be MAPG-69 make Redirect able to redirect to external sources 2020-06-21 15:12:44 +02:00
295570a28d MAPG-69 fix missing relations in UserConfirmation 2020-06-21 01:21:42 +02:00
0bf6e900fe MAPG-140 add UserConfirmation model and repository and adapt SignupController 2020-06-20 02:03:11 +02:00
bd46809d3a MAPG-140 adapt PlaceRepository and classes that use it to use persistent model 2020-06-20 02:03:11 +02:00
821a9d80c0 MAPG-140 adapt MapRepository and classes that use it to use persistent model 2020-06-20 02:03:11 +02:00
eafa98571e MAPG-140 add Map persistent model 2020-06-20 02:03:11 +02:00
316e39f2f2 MAPG-140 add Place persistent model 2020-06-20 02:03:11 +02:00
5ff720e3c6 MAPG-140 MAPG-154 store user in session based on id 2020-06-20 02:03:11 +02:00
a9eec05288 MAPG-140 refactor user handling to use the PersistentDataManager 2020-06-20 02:03:11 +02:00
d6750777c2 MAPG-140 add PersistentDataManager and refactor of models 2020-06-20 01:48:20 +02:00
95eb956403 Merged in bugfix/MAPG-152-save-user-to-session-after-modi (pull request #117)
MAPG-152 save modified user to session
2020-06-18 14:21:23 +00:00
3726573f4c MAPG-152 save modified user to session 2020-06-18 16:18:41 +02:00
50c7e3972c MAPG-151 check email address validity on server side 2020-06-18 16:12:40 +02:00
bd2b28ef17 MAPG-45 secure profile page 2020-06-14 21:04:20 +02:00
4ac18dfc84 MAPG-69 make emails HTML explicitly 2020-06-14 20:52:42 +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
66b21ec710 MAPG-69 add active flag for users and check if user is active before login 2020-06-14 20:43:13 +02:00
28ed02091a MAPG-69 add mailing 2020-06-14 20:43:13 +02:00
334df3462b MAPG-69 add menu with user info to header 2020-06-14 17:43:14 +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
a6d5214166 MAPG-125 add deleteMap endpoint 2020-06-14 02:36:23 +02:00
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
dbd16d6cbe MAPG-131 create custom session handler for DB sessions 2020-06-13 20:39:42 +02:00
6a191d5c28 MAPG-131 adapt Modify to be able to handle external ID 2020-06-13 20:39:22 +02:00
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
98fc735622 MAPG-128 set all default values when creating a new map 2020-06-11 10:33:59 +02:00
be8f0a1486 MAPG-119 fix distribution of the ids of the newly created places 2020-06-10 23:58:09 +02:00
ff201c2e8e MAPG-119 add more area categories 2020-06-10 23:51:09 +02:00
805d91c0c0 MAPG-119 small fixes for game 2020-06-10 23:36:00 +02:00
6fc83c9459 MAPG-119 handle the case if no mapId is present when editing map 2020-06-10 23:32:37 +02:00
5237c3f454 MAPG-119 prevent endless loop for place selection 2020-06-10 23:12:30 +02:00
5a1c384c17 MAPG-119 fix maps query 2020-06-10 23:11:55 +02:00
04d10663dd MAPG-121 fix wrong condition 2020-06-10 20:34:29 +02:00
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