Commit Graph

64 Commits

Author SHA1 Message Date
Maximilian Leopold
df13ac10c9 Merge branch 'backend/max' of https://bitbucket-student.it.hs-heilbronn.de/scm/labswp19/labswp_2019_sose_geocaching into backend/max 2019-04-06 12:36:21 +02:00
Maximilian Leopold
e45bdb0456 Slight changes to jwt 2019-04-06 12:36:13 +02:00
Maximilian Leopold
9006272bff Merged 2019-04-06 12:30:00 +02:00
Maximilian Leopold
99512b4250 Implemented Login with JWT 2019-04-06 12:29:09 +02:00
Maximilian Leopold
01d860542b Changed some ResponseEntities 2019-04-05 11:04:53 +02:00
Michael
67a2defe41 made all api methods public 2019-04-05 06:13:01 +02:00
Maximilian Leopold
ebd05f2be9 Added Repsoneentities for Api Request 2019-04-04 16:07:59 +02:00
Maximilian Leopold
9153685c33 Merged branches 2019-04-04 15:38:05 +02:00
Michael
cc8c337833 Merge branch 'develop' of https://bitbucket-student.it.hs-heilbronn.de/scm/labswp19/labswp_2019_sose_geocaching into develop 2019-04-04 15:03:23 +02:00
Michael
072a1f286d reworked methods to return a http response 2019-04-04 15:03:01 +02:00
Michael
cd3508090b added getUser API method 2019-04-04 12:16:26 +02:00
Timo Volkmann
fee5f4319d Implemented: startCache Call and logout Call, some improvements in controller 2019-04-02 23:28:27 +02:00
Maximilian Leopold
61330b3f0b Implemented Backend for getting the RankingList 2019-03-31 14:46:39 +02:00
Michael
9b64672a32 refactored code 2019-03-29 03:41:33 +01:00
Michael
dcce7b31e8 added getMyCaches API method 2019-03-29 03:09:04 +01:00
Michael
8fad8e427e added deleteCache API and fixed some mistakes in other methods 2019-03-29 02:23:25 +01:00
Michael
baab96059b refactored code 2019-03-29 01:57:49 +01:00
Michael
38097dad8e added createCache API and reworked some other methods 2019-03-29 01:55:05 +01:00
Michael
73681073dd implemented api to get all stations 2019-03-28 23:20:36 +01:00
Michael
ddf3bb3a5d added a check whether a given user identified by his token is an admin or not, returns true if yes 2019-03-28 23:07:02 +01:00
Michael
2123a9177e implemented api for createStation and fixed some bugs in other methods 2019-03-28 20:47:34 +01:00
Michael
0f6ca8a9d9 merge conflcits 2019-03-28 17:13:21 +01:00
Michael
e0c2f4eda0 added @RequestParam i accidently removed earlier 2019-03-28 17:11:31 +01:00
Michael
623c1c7ab0 logout returns a boolean now which indicates that the logout worked out 2019-03-28 15:46:18 +01:00
Michael
5c9cfc08fe removed default parameter 2019-03-28 14:53:03 +01:00
Michael
0d6f765367 api methods use the user token instead of the userID now, also added a logout apit method 2019-03-28 14:51:45 +01:00
Michael
ab1c6899d6 a cache has a startStation now 2019-03-28 14:50:52 +01:00
Michael
bf7f178d17 Merge branch 'develop' into backend/michael 2019-03-26 22:33:34 +01:00
Michael
98e501c7b0 station has a field for a solution to a possible question now, also added some testdata 2019-03-26 22:33:21 +01:00
Maximilian Leopold
6c72dacb20 Console now shows executed SQL Statements 2019-03-26 14:33:01 +01:00
Timo Volkmann
3527b681be Merge branch 'develop' into frontend/timo 2019-03-26 01:53:56 +01:00
Timo Volkmann
ab4a642619 login implemented and wired 2019-03-25 22:39:41 +01:00
Michael
d5ca26bbd3 startCache wurde aufgrund des neuen Attributs station in der bearbeitet-Tabelle überarbeitet 2019-03-25 21:51:00 +01:00
Michael
161d29f248 bearbeitet tabelle trackt nun die station, bis zu der ein user innerhalb eines caches gekommen ist 2019-03-25 21:49:37 +01:00
Michael
8bcaab5bff Station hat nun ein Feld für den code 2019-03-25 21:48:13 +01:00
Michael
2db55ac35d stationen haben nun eine reihenfolge innerhalb eines caches 2019-03-25 21:47:46 +01:00
Maximilian Leopold
251f5c3f25 @RequestBody hinzugefügt beim login 2019-03-25 17:22:58 +01:00
Maximilian Leopold
211b7279b5 Login is now possible 2019-03-25 15:56:45 +01:00
Michael
f031ae9a91 mapping is done with /api beforehand now 2019-03-25 13:14:54 +01:00
Maximilian Leopold
22bf31bfe8 Merge branch 'develop' into backend/max 2019-03-24 15:11:19 +01:00
Maximilian Leopold
d377594720 Implemented Login 2019-03-24 15:09:28 +01:00
Michael
8803f4419a startCache throws an IllegalParameterExcpetion if the method gets called with illegal parameters 2019-03-24 06:31:35 +01:00
Michael
920a34920e removed cacheAccesDefinition as a parameter 2019-03-24 00:24:04 +01:00
Michael
5b6fe52a04 added a isPresent() check and unregistered users are able start a cache now 2019-03-24 00:16:01 +01:00
Michael
033682ada1 bearbeitet uses objects foreign keys now 2019-03-23 19:23:39 +01:00
Michael
99f8a26c9f added a first implementation for /startCache 2019-03-23 19:08:02 +01:00
Michael
4ed03b2f3f renamned bearbeitet to Bearbeitet 2019-03-23 19:07:40 +01:00
Michael
0ef66cc48f removed unneeded annotations 2019-03-23 18:22:42 +01:00
Michael
ffca748e93 changed the type of the IDs inside bearbeitet to the correct type 2019-03-23 17:49:57 +01:00
Michael
f7ea304d40 added remaining entity classes/repositories 2019-03-23 17:45:22 +01:00