Commit Graph

152 Commits

Author SHA1 Message Date
Michael
4b16b6a2b1 returns bearbeitet instead of the station now so the frontend is able to see whether the cache is finished or not
added a FinderUtil method for cacheAccesDefinition
2019-04-16 10:17:36 +02:00
Maximilian Leopold
663d3482ee Changed Methods to user FinderUtil 2019-04-15 17:23:34 +02:00
Maximilian Leopold
41c5dc482d Added FinderUtil 2019-04-15 17:06:16 +02:00
Maximilian Leopold
81c2b19f09 Merge branch 'backend/michael' into backend/max 2019-04-15 16:25:45 +02:00
Maximilian Leopold
b82bab1f8e Stash 2019-04-15 13:33:29 +02:00
Michael
4f7b8bd4f6 added comments 2019-04-13 22:01:18 +02:00
Michael
d14a4b5d86 modified checkStation 2019-04-13 21:41:24 +02:00
Michael
ff7ddde5ee returns the station as JSON now if everything is OK 2019-04-13 21:34:57 +02:00
Michael
749fcd119a fixed more bugs 2019-04-13 21:24:14 +02:00
Michael
2a5dbd9e72 fixed a bug 2019-04-13 21:18:20 +02:00
Michael
0f856b1ec2 first implementation for checkStation(API method for cache durchführen) 2019-04-13 19:44:47 +02:00
Maximilian Leopold
43caf76471 Implemented public key fetching 2019-04-13 18:08:11 +02:00
Maximilian Leopold
d718446f36 More code cleanup 2019-04-13 14:35:08 +02:00
Maximilian Leopold
0de405167b Merge branch 'develop' into backend/max 2019-04-13 14:28:32 +02:00
Maximilian Leopold
fe0dd478cd Started reorganising backend code 2019-04-13 13:52:42 +02:00
Michael
16cae0ba90 fixed a bug with deleteCache 2019-04-11 03:20:17 +02:00
Michael
9828f88f7b a cache needs atleast 2 stations now(start and endstation) 2019-04-11 02:56:01 +02:00
Michael
1c602c1dab deleteCache deletes all stations related to taht cache now 2019-04-11 02:54:53 +02:00
Timo Volkmann
1c7a34a735 Finished „create Cache/Station“
fixed Login and Frontend Usermanagement,
implemented delete Cache,
fixed some problems with store logic and router
2019-04-10 00:16:28 +02:00
Maximilian Leopold
1cd7e29fc1 Changed HTTP Respnse code 2019-04-09 16:54:19 +02:00
Maximilian Leopold
59103da8ac Changed responeentity json param. 2019-04-09 16:51:01 +02:00
Maximilian Leopold
283f56e02d There cant be two bearbeitet entities in the db featuring the same cache and user 2019-04-09 16:49:17 +02:00
Maximilian Leopold
40661fb689 Build fail fixed 2019-04-09 16:01:48 +02:00
Maximilian Leopold
d4a73ab436 Merged 2019-04-09 13:26:35 +02:00
Maximilian Leopold
14049730a4 Changed something, that previously worked without the anotation... 2019-04-09 13:24:33 +02:00
Maximilian Leopold
5145b203c4 Chaged format of RankingList JSON 2019-04-08 14:44:13 +02:00
Maximilian Leopold
629145b9c6 Komma vergessen 2019-04-08 14:14:11 +02:00
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
Maximilian Leopold
11d2b6165c Merged 2019-04-06 16:14:26 +02:00
Maximilian Leopold
d8780744a5 Implemented JWT 2019-04-06 16:10:01 +02:00
Maximilian Leopold
affd0a20f8 MErge Conflict 2019-04-06 12:39:45 +02:00
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
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
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
Maximilian Leopold
38bc2d4701 Added Reward for Cache 2019-03-23 11:20:47 +01:00
Maximilian Leopold
af2c4e49ea Added GSON to gradle | /allCaches now returns a JSON with All Caches in DB 2019-03-22 18:26:18 +01:00
Maximilian Leopold
c6a9b77a0a Added Autowired Repositories to Controller 2019-03-22 18:05:31 +01:00
Maximilian Leopold
d359a3da8f Merged 2019-03-22 11:10:21 +01:00
Maximilian Leopold
b53d05edb6 Added DBConnector
You can get a SQL Connection to the bugageocaching DB by using
Connection con = DBConnector.connect();
2019-03-22 11:08:07 +01:00
Timo Volkmann
3527ff69b3 cleaned 2019-03-21 18:32:42 +01:00
Timo Volkmann
ab9e57030c cleaned 2019-03-21 17:34:46 +01:00
Maximilian Leopold
2b21ce0b9c Changed application.properties 2019-03-21 15:23:17 +01:00
Maximilian Leopold
e0074747b6 Added Cache,Reward,Station Entity Class | Connection with Database is now possible 2019-03-21 15:14:23 +01:00
Maximilian Leopold
bb5422091a Merged Branches 2019-03-21 12:37:40 +01:00
Maximilian Leopold
174f71d051 Added properties 2019-03-21 12:36:48 +01:00
Maximilian Leopold
5098525669 Added index.html 2019-03-21 12:14:13 +01:00