83 Commits

Author SHA1 Message Date
Rainer Killinger
c2b0d22a25 refactor: move to express-prom-bundle for monitoring 2022-08-23 10:56:32 +02:00
openstappsbot
6e07041215 refactor: update all 2022-08-17 17:06:19 +02:00
Thea Schöbl
418ba67d15 Resolve "Transition to ESLint" 2022-06-27 14:40:09 +00:00
Frank Nagel
2212e0723e refactor: raise Typescript version to 4.4.4 2022-05-20 13:08:55 +00:00
Jovan Krunić
bb3be5a816 fix: take coordinates in right order
Closes #116
2022-05-16 11:51:10 +00:00
Thea Schöbl
9ce8c58b98 refactor: simplify geo queries 2022-05-13 08:26:23 +00:00
Thea Schöbl
f6003d7f87 fix: imports from src in config files lead to crash 2022-01-31 15:34:45 +00:00
Rainer Killinger
9d8fe643a5 refactor: include latest changes from core#145 2022-01-25 11:22:06 +01:00
Wieland Schöbl
43a89ec4f2 refactor: use core supplied mappings 2021-09-03 15:17:15 +00:00
Wieland Schöbl
5dce28fb99 refactor: update dependencies 2021-07-15 09:53:37 +02:00
Wieland Schöbl
dd8a6b3abc feat: support geo shape filter 2021-07-07 10:17:54 +02:00
Frank Nagel
b42e911a11 feat: Add prometheus middleware to express
This enables collecting metrics from node.js and express.
2021-06-22 17:34:17 +02:00
Wieland Schöbl
47f3232f15 feat: add support for new availability filter 2021-05-14 14:28:41 +02:00
Rainer Killinger
334f5a7507 refactor: remove legacy callbacks from bulk storage 2021-04-27 13:03:40 +02:00
openstappsbot
7424ad9831 refactor: update all 2021-04-27 13:02:13 +02:00
Wieland Schöbl
de60311bd0 feat: add support for multiple values in value filter 2021-04-27 13:02:12 +02:00
Rainer Killinger
15ac0e2f59 refactor: update @types/node for node version 14 2021-04-27 13:02:11 +02:00
Jovan Krunić
1d5f99b1fa fix: remove onlyOnTypes from mustMatch
- Execute sort on all types (results include only
types that are possible to sort)

- mustMatch filters types with and AND (e.g. a type
that can be sorted by distance must be building and
room and point of interest)

Closes #83
2021-04-27 13:02:10 +02:00
Jovan Krunić
9488451080 fix: wrong way alias names are generated
Closes #79
2021-04-27 13:02:10 +02:00
openstappsbot
ff9fb49deb refactor: update all 2021-04-27 13:02:09 +02:00
Wieland Schöbl
dc169746e7 feat: add support for range filters 2021-04-27 13:02:08 +02:00
Wieland Schöbl
dcf7906f79 feat: add support for range filters 2021-04-27 13:02:08 +02:00
Jovan Krunić
32c8a2149a fix: stapps core version in config
Closes #74
2021-04-27 13:02:06 +02:00
Jovan Krunić
2259da317a fix: error thrown on consecutive connector executions
Fixes #73
2021-04-27 13:02:05 +02:00
Jovan Krunić
fe7dd09d7e refactor: parameterize configureApp function (inject db list)
Reason: easier testing (mocking) and better readability

Note: did additional refactoring
2021-04-27 13:02:03 +02:00
Jovan Krunić
f3b86f0f0d refactor: add destroy method (for testing) for backend transport
Additionally fix minor issues and refactor the class
2021-04-27 13:02:02 +02:00
Jovan Krunić
dd6ea1c6f3 refactor: move repetitive code into a new method in mailQueue 2021-04-27 13:01:45 +02:00
Jovan Krunić
af305aa196 refactor: remove unneeded code (see elasticsearch constructor) 2021-04-27 13:01:45 +02:00
Jovan Krunić
7a9f3eaca4 fix: invalid monthly cron execution time
Note: did additional refactoring
2021-04-27 13:01:44 +02:00
Jovan Krunić
80e62496f0 fix: use specific time from filter if defined 2021-04-27 13:01:44 +02:00
Jovan Krunić
8dbb3ca19a refactor: provide 'onlyOnType' facet field only if defined 2021-04-27 13:01:44 +02:00
Jovan Krunić
3a7cc8d7c1 refactor: use express method to check request content type 2021-04-27 13:01:43 +02:00
Jovan Krunić
60b689f28c refactor: remove unused code 2021-04-27 13:01:43 +02:00
Jovan Krunić
d3955b3cdd test: add tests for routes 2021-04-27 13:01:42 +02:00
Jovan Krunić
81cfd0986f refactor: remove unused express variable (port) 2021-04-27 13:01:41 +02:00
Wieland Schöbl
9f4350eea7 refactor: swap out jsonschema package for json-schema 2021-04-27 13:01:41 +02:00
Jovan Krunić
006bbebe60 feat: log registration and removal of plugins
Closes #71
2021-04-27 13:01:41 +02:00
Jovan Krunić
5ff16c1005 refactor: avoid duplicate/unneeded code (search for objects by UID)
Related to #70
2021-04-27 13:01:40 +02:00
Jovan Krunić
e165837a15 fix: properly check if an object exists before update
Closes #70
2021-04-27 13:01:40 +02:00
Rainer Killinger
0c43be2dbe refactor: omit useless facets in response 2021-04-27 13:01:40 +02:00
Rainer Killinger
24a91229f2 fix: enhance default search query generation 2021-04-27 13:01:39 +02:00
Rainer Killinger
ce06e735be feat: utilize api-cli for e2e integration test 2021-04-27 13:01:39 +02:00
Rainer Killinger
bbbe4d5f1f refactor: update dependencies 2021-04-27 13:01:38 +02:00
Michel Jonathan Schmitz
6483221b62 feat: move up and enable cors 2021-04-27 13:01:37 +02:00
Rainer Killinger
c2728b2a1d refactor: move template/aggregation generation 2021-04-27 13:01:36 +02:00
Wieland Schöbl
b629d058eb feat: allow for searching illegal elasticsearch characters 2021-04-27 13:01:35 +02:00
Wieland Schöbl
1bad092185 feat: use new Elasticsearch package 2021-04-27 13:01:35 +02:00
Wieland Schöbl
ba2c6f655c feat: make backend work with automatically generated aggregations 2021-04-27 13:01:34 +02:00
Rainer Killinger
496e6c5bd0 fix: esacpe mappin template filename 2021-04-27 13:01:34 +02:00
Wieland Schöbl
4ac6987813 refactor: move mappingIgnoredTags into config file 2021-04-27 13:01:33 +02:00