Commit Graph

149 Commits

Author SHA1 Message Date
7143c7ec63 moved saving to UserPlayedPlace to seperate function
Some checks failed
default-pipeline default-pipeline #171
2021-05-06 10:05:23 +02:00
01f3c7c8cf added preference for places not seen by user in the selection of places for the game 2021-05-05 19:19:38 +02:00
95553296bd removed extra line break
All checks were successful
default-pipeline default-pipeline #121
2021-04-27 17:54:47 +02:00
be0f7b64b8 refactored comment
All checks were successful
default-pipeline default-pipeline #118
2021-04-27 17:35:06 +02:00
845d77ebda area of map is updated in the session at each game preparation to avoid outdated map area and wrong score calculation
All checks were successful
default-pipeline default-pipeline #115
2021-04-27 16:46:40 +02:00
cf59f937c9
MAPG-223 send error if member already guessed
All checks were successful
default-pipeline default-pipeline #104
2021-04-04 23:28:44 +02:00
9e5d20796c
MAPG-204 clean up result sending 2021-04-03 18:24:43 +02:00
c2f0a1dd51
MAPG-203 fix signatures in GameController 2021-03-20 20:58:57 +01:00
02fcbd2f9c
MAPG-203 prepare GameFlowController for multiplayer 2021-03-20 19:45:21 +01:00
2f665381c3
MAPG-203 prepare GameController for multiplayer 2021-03-20 19:45:21 +01:00
edd8c0f8a4
MAPG-203 select places at the beginning of the game
All checks were successful
default-pipeline default-pipeline #21
2021-03-17 22:47:11 +01:00
9c4b7448a9
MAPG-203 refactor GameFlowController 2021-03-15 12:28:06 +01:00
af98d71924
MAPG-199 fix issues found by PHPStan 2020-07-05 23:18:56 +02:00
8403c21ec0
MAPG-185 consolidation of email templates 2020-07-05 17:37:02 +02:00
27fc687043
MAPG-193 replace Select usage to repository calls where it is easily possible 2020-07-05 15:17:28 +02:00
dd6bb5ef9a
MAPG-142 limit password reset query if the existing is not expired 2020-07-05 14:24:06 +02:00
37094e552b
MAPG-142 modify UserPasswordResetterRepository to return only one resetter for user
(it is not possible for an user to have multiple)
2020-07-05 14:24:06 +02:00
32392590bd
MAPG-142 save user creation date 2020-07-05 14:24:06 +02:00
ab23b37b97
MAPG-142 redefine tokens and increase OAuth security with nonce 2020-07-05 14:24:05 +02:00
7e3315fc88
MAPG-142 implemenet confirmation mail resend 2020-07-05 13:39:56 +02:00
6cafac1b65
MAPG-142 modify UserConfirmationRepository to return only one confirmation for user
(it is not possible for an user to have multiple)
2020-07-05 13:33:02 +02:00
6db6208896
MAPG-191 don't create separate variable for data where not necessary 2020-07-05 00:58:03 +02:00
954f111254
MAPG-141 delete password resetters when deleting account 2020-07-05 00:09:45 +02:00
de1d7338a4
MAPG-141 add reset password functionality 2020-07-05 00:09:11 +02:00
3123643bb7
MAPG-44 modify game to use pov of place 2020-07-04 01:11:04 +02:00
b736ce8970
MAPG-44 modify MapAdminController to get/save place pov data 2020-07-04 01:10:03 +02:00
4333240acc
MAPG-181 add stuff to authenticate without password 2020-06-28 03:18:51 +02:00
c06dd1e1d2 MAPG-177 refactor GoogleOAuth, Http\Request, Http\Response to be more testable 2020-06-26 00:28:37 +02:00
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
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
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
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
99c72d99be MAPG-69 make Redirect able to redirect to external sources 2020-06-21 15:12:44 +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
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
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
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
a6d5214166 MAPG-125 add deleteMap endpoint 2020-06-14 02:36:23 +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
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
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
6a9f7eddc1 MAPG-110 make error response more for machines 2020-06-04 00:14:57 +02:00
dd2905286b MAPG-100 read and store panoId from/to database 2020-06-03 23:40:25 +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
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
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
5738be5c98 MAPG-43 move existing interfaces into separate namespace 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
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
dc943fa3cb MAPG-4 rename GuessController to GameController 2020-05-19 16:13:57 +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
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