Commit Graph

72 Commits

Author SHA1 Message Date
Timo John
d6af174904 Implemented Daily weather API so every region has weather data 2020-06-24 17:24:12 +02:00
bbe74b83bb implemented search for tags feature backend 2020-06-24 14:06:47 +02:00
e0f8f5490e some tag improvements 2020-06-24 14:06:47 +02:00
Timo John
3ae3aca9a5 Hotfix: sql sanitzer now checks if parameter is a number 2020-06-24 13:23:48 +02:00
Timo John
ae9998f640 Added protection against SQL Injection 2020-06-24 11:47:15 +02:00
373429b870 implemented tags endpoint 2020-06-24 10:44:32 +02:00
Timo John
20d99f2145 Remoddeled /update API endpoint 2020-06-24 09:14:22 +02:00
Timo John
df083fd78e Add Endpoint for Reloading Imgurl for speicific place 2020-06-24 08:55:53 +02:00
5dfb31e91c fixed empty response, code 204 -> 200 2020-06-23 18:54:35 +02:00
Timo John
e948243417 Changed endpoint to /api/v1/regions/:id/nearby 2020-06-23 16:33:58 +02:00
Timo John
5d05625658 Feature/place 2020-06-23 16:18:41 +02:00
faa7a7e5b1 removed incorrectly committed files 2020-06-23 15:04:50 +02:00
125c6a3f00 show_match_value now setted through env 2020-06-23 14:13:34 +02:00
826dd64f1a score balancing 2020-06-23 13:17:02 +02:00
c347b79f02 changed search behaviour 2020-06-23 13:17:02 +02:00
cdda87f3c6 score balancing 2020-06-23 13:17:02 +02:00
6180d2f097 tested different scoring slopes 2020-06-23 13:17:02 +02:00
Lucas Hinderberger
fa73c0a1e0 Fixes fixed bug of the search when searching over the turn of the year 2020-06-23 12:35:49 +02:00
Timo John
bf0a71c63c Implemented Endpoints for usage of google place api 2020-06-23 02:01:13 +02:00
c42a55af12 fixed 400 search 2020-06-22 15:41:22 +02:00
c602e75f33 quickfix for inverted logic 2020-06-19 16:43:36 +02:00
7f68ff57f7 implemented randomize regions 2020-06-19 16:13:56 +02:00
a9c6873137 score and search handler cleanup 2020-06-19 16:13:56 +02:00
5ee6cc7a82 added some comments 2020-06-19 16:13:55 +02:00
d92c164127 implemented null score filter 2020-06-19 16:13:55 +02:00
Timo John
76d9036a61 If element has null score, result is not delivered 2020-06-19 16:10:17 +02:00
1cb0a68bb6 fixed bugs 2020-06-19 16:09:12 +02:00
Timo John
bb14c9955d Merge branch 'develop' of https://git.it.hs-heilbronn.de/tjohn/cc-data into feature/trivago 2020-06-18 16:45:47 +02:00
Timo John
2d874337ce getRegionsById now returns just an object 2020-06-18 16:17:22 +02:00
Timo John
b954e356a0 Search handling for null-Subscors 2020-06-18 16:07:57 +02:00
Timo John
961760601d Small fix according to database col name change 2020-06-18 15:55:17 +02:00
7e7dea46eb Dockerfile backend and text search filter 2020-06-18 15:19:45 +02:00
Timo John
724ebfe35c Removed getRegions.js for internal usage 2020-06-18 14:53:37 +02:00
Timo John
64abbe4e30 Trivago data added to regions endpoint 2020-06-18 14:44:39 +02:00
Timo John
40b5e6f6ee Merge branch 'develop' of https://git.it.hs-heilbronn.de/tjohn/cc-data into develop 2020-06-18 12:14:01 +02:00
Timo John
74efce18f7 Add cors middleware 2020-06-18 12:13:10 +02:00
Timo John
aba72921ea Changed accordingly to database col namechanges 2020-06-18 12:06:55 +02:00
Timo John
cfc17cb23a Add Images for all regions 2020-06-18 01:02:20 +02:00
410b363713 route for standard image if image not found 2020-06-18 00:09:37 +02:00
1fd35504fd changed search response structure 2020-06-17 23:58:23 +02:00
7e919026e7 fixed empty climate arrays in regions 2020-06-17 21:50:32 +02:00
Timo John
e88952388b Fixed Region endpoint and cleared up a little. 2020-06-17 21:50:32 +02:00
337c1e49cf implemented scoring for prices 2020-06-17 21:50:31 +02:00
0d82057383 fixed wrong date interpretation 2020-06-17 21:50:31 +02:00
0586a7a0ba some fixes by TVM 2020-06-17 21:50:31 +02:00
33249bf817 refactored search function befor implementing price search 2020-06-17 21:50:30 +02:00
46a57891a0 satisfiy region interface 2020-06-17 21:50:30 +02:00
Timo John
ee63caf1ea Changed return names according to Interfacedefinition of frontend 2020-06-17 21:50:29 +02:00
809951fd85 preparation for price search 2020-06-17 21:50:29 +02:00
Timo John
8b0064a5b9 Matched getRegions to API Specification
Matched getRegionsByID to API Specification
2020-06-17 21:50:28 +02:00