Commit Graph

65 Commits

Author SHA1 Message Date
Maximilian Leopold
eb15f1fe35 Added id to rankinglist 2019-04-08 14:13:22 +02:00
Michael
e86aa6adc2 removed stationReihenfolge database table, because its not needed 2019-04-07 14:06:41 +02:00
Michael
3d78f0bc42 merge 2019-04-06 11:06:26 +02:00
Michael
99d29ffdec added comments 2019-04-05 15:45:53 +02:00
Michael
5bf05616c8 reworked checks to work with double instead of Double 2019-04-05 15:43:10 +02:00
Michael
6cf52503bc if a mistake occurs during cache creation, all previously created stations related to that cache get deleted now 2019-04-05 15:33:31 +02:00
Michael
c0448bda84 removed startStation field from cache 2019-04-05 15:24:02 +02:00
Michael
148254e610 reworked createCache to work with @RequestBody Cache cache 2019-04-05 14:51:51 +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
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
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