Commit Graph

233 Commits

Author SHA1 Message Date
216d30329f Merge pull request 'feature/avoid-repeating-places-in-game' (#38) from feature/avoid-repeating-places-in-game into develop
All checks were successful
default-pipeline default-pipeline #189
Reviewed-on: https://gitea.e5tv.hu/esoko/mapguesser/pulls/38
Reviewed-by: Pőcze Bence <bence@pocze.ch>
2021-05-09 10:58:53 +02:00
3f8311d708 implemented review findings
All checks were successful
default-pipeline default-pipeline #188
2021-05-08 23:37:36 +02:00
7f8c1eb291 Merge pull request 'added error handling when requesting to join non existing room' (#41) from bugfix/unhandled-error-when-trying-to-join-non-existing-room into develop
All checks were successful
default-pipeline default-pipeline #187
Reviewed-on: https://gitea.e5tv.hu/esoko/mapguesser/pulls/41
Reviewed-by: Pőcze Bence <bence@pocze.ch>
2021-05-08 20:59:29 +02:00
d57a4c63e0 Merge pull request 'check the user type if it has valid value' (#40) from bugfix/cli-user-creation-crashes-when-no-type-is-given into develop
Reviewed-on: https://gitea.e5tv.hu/esoko/mapguesser/pulls/40
Reviewed-by: Pőcze Bence <bence@pocze.ch>
2021-05-08 20:59:09 +02:00
01a4fdf5e5 added error handling when requesting to join non existing room
All checks were successful
default-pipeline default-pipeline #181
2021-05-08 18:03:17 +02:00
1cc3294ee7 check the user type if it has valid value
All checks were successful
default-pipeline default-pipeline #180
2021-05-08 16:19:49 +02:00
ad0b8d078f allow error string to be null in case the password was correct
All checks were successful
default-pipeline default-pipeline #178
2021-05-08 09:34:34 +02:00
899817a853 removed unnecessary comment
All checks were successful
default-pipeline default-pipeline #177
2021-05-06 20:41:23 +02:00
c626e36bbb specified explicit type in function parameter
All checks were successful
default-pipeline default-pipeline #176
2021-05-06 20:39:00 +02:00
8d8074977b fixing comments
All checks were successful
default-pipeline default-pipeline #175
2021-05-06 20:25:48 +02:00
8b3c95bdc7 handling of deleting places or user updated
All checks were successful
default-pipeline default-pipeline #174
2021-05-06 20:09:05 +02:00
b2535ad78a refactored function and variable names, and replaced variables in inner scope
All checks were successful
default-pipeline default-pipeline #173
2021-05-06 17:12:18 +02:00
886bd02f88 removed mistakenly added parameter
All checks were successful
default-pipeline default-pipeline #172
2021-05-06 10:09:28 +02:00
7143c7ec63 moved saving to UserPlayedPlace to seperate function
Some checks failed
default-pipeline default-pipeline #171
2021-05-06 10:05:23 +02:00
fb7c0e7a5c renamed the random int generator function
All checks were successful
default-pipeline default-pipeline #170
2021-05-06 09:36:49 +02:00
8136273b33 replaced left join with inner join for older places search
All checks were successful
default-pipeline default-pipeline #169
2021-05-05 21:58:19 +02:00
3c6a7a3c5f selection with preference for older places; refactored PlaceRepository 2021-05-05 21:50: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
66c871fbc2 Extended Select functionality with handling of derived tables 2021-05-05 19:18:07 +02:00
807b4d024f extended database with UserPlayedPlace table for tracking when and what place a User played in game 2021-05-05 19:16:54 +02:00
11eee64895
do not exclude indoor panoramas
All checks were successful
default-pipeline default-pipeline #166
2021-05-02 18:38:29 +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
79490a0616
MAPG-203 add class for multiplayer internal connection (PHP-NodeJS TCP) 2021-03-20 19:45:21 +01:00
5dd2ce0d5a
MAPG-203 add cleanup for multi_rooms to db:maintain 2021-03-20 19:44:48 +01:00
e5fb725c69
MAPG-203 add new table and model for multi_room 2021-03-20 19:44:48 +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
2c4d809d49
MAPG-203 remove placesWithoutPano logic from PlaceRepository 2021-03-15 12:25:49 +01:00
9e5f7405d1
MAPG-199 move test views to another folder to prevent code analysis errors 2020-07-05 23:18:57 +02:00
af98d71924
MAPG-199 fix issues found by PHPStan 2020-07-05 23:18:56 +02:00
88b9821c61
MAPG-198 re-add table name to Select
(table name is used when counting)
2020-07-05 21:17:29 +02:00
8403c21ec0
MAPG-185 consolidation of email templates 2020-07-05 17:37:02 +02:00
0ba1cda884
MAPG-185 fix getter of User 2020-07-05 17:36:27 +02:00
b2e09c394b
MAPG-185 switch off builtin session gc 2020-07-05 16:48:37 +02:00
0bcb0187c1
MAPG-185 rename migrate database command 2020-07-05 16:45:38 +02:00
f3d1608164
MAPG-185 add maintain database command 2020-07-05 16:43:36 +02:00
b254603fb1
MAPG-185 add getter for expired users and password resetters 2020-07-05 16:37:37 +02:00
27fc687043
MAPG-193 replace Select usage to repository calls where it is easily possible 2020-07-05 15:17:28 +02:00
45869321ac
MAPG-193 fix PersistentDataManager::selectMultipleFromDb 2020-07-05 15:15:29 +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
38885849de
MAPG-142 remove unnecessary 'now' from DateTime constructor 2020-07-05 14:24:05 +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
e17cf68007
MAPG-191 don't pass data by reference to IContent 2020-07-05 00:25:34 +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
67534a22f5
MAPG-141 add password resetter table, model and repository 2020-07-05 00:03:56 +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
4e48e6ae73
MAPG-44 add Pov class and adjust Place model to store pov 2020-07-04 01:09:00 +02:00
e883d184b7
MAPG-187 refactor view parsing and linking 2020-06-28 19:35:14 +02:00
bd5b49b09b
MAPG-181 set user active when added from CLI 2020-06-28 03:19:07 +02:00
4333240acc
MAPG-181 add stuff to authenticate without password 2020-06-28 03:18:51 +02:00
f3225ae275
MAPG-181 ability to add login_hint to dialog url 2020-06-28 03:15:20 +02:00
2f14e1f4c3
MAPG-180 don't parse REVISION in view linking time 2020-06-27 13:20:11 +02:00
a55ece7dac
MAPG-180 don't buffer content output to variable 2020-06-27 12:56:47 +02:00
efdd5c54be
MAPG-180 ability to inline CSS and JS assets 2020-06-27 12:51:00 +02:00
18bf9aaade
MAPG-180 declare CSS and JS files 2020-06-27 02:25:54 +02:00
5e645a1313 Merged in hotfix/MAPG-184-show-runtime (pull request #158)
MAPG-184 measure runtime and show in web output
2020-06-26 23:21:02 +00:00
9c9edcbbd1
MAPG-184 measure runtime and show in web output 2020-06-27 01:19:17 +02:00
bf8e5b5f4d
MAPG-89 adaptations in HtmlContent and index.php 2020-06-27 00:44:38 +02:00
c2323c4c89
MAPG-89 add command that can link views from command line 2020-06-27 00:44:38 +02:00
c48bbdc3c2
MAPG-89 add classes that can link views into one PHP 2020-06-27 00:44:38 +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
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