Commit Graph

68 Commits

Author SHA1 Message Date
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
Wieland Schöbl
13938ecf21 feat: boost academic terms dynamically 2021-04-27 13:01:33 +02:00
Wieland Schöbl
afd324fc6a build: change .gitkeep in templates folder to .gitignore 2021-04-27 13:01:33 +02:00
Wieland Schöbl
d917627d58 fix: make facets work again 2021-04-27 13:01:32 +02:00
Wieland Schöbl
5d6d4b53f0 feat: move EXTERNAL_REQUEST_TIMEOUT to config file 2021-04-27 13:01:32 +02:00
Wieland Schöbl
8eab6b8531 feat: add support for generated elasticsearch mappings
Fixes #38
2021-04-27 13:01:31 +02:00
Jovan Krunić
3ea2c3b98d refactor: throw an error when removing a non-existing plugin
Related to #2
2021-04-27 13:01:30 +02:00
Jovan Krunić
992a0a6f2c build: update @openstapps/core version
Adjust code accordingly

Related to #2
2021-04-27 13:01:30 +02:00
Jovan Krunić
3d51ccfac2 feat: add functionality to register plugins via http
Also:

- Add functionality for serving the responses from plugins
- Add tests for related methods and routes

Closes #2, #37
2021-04-27 13:01:30 +02:00
Jovan Krunić
59ea7a5ba6 refactor: avoid automatic execution of app.ts
Move the execution of configureApp to CLI file

Related to #2
2021-04-27 13:01:29 +02:00
Jovan Krunić
9adc0b88d7 docs: add missing inline docs for elasticsearch related interfaces
Closes #41
2021-04-27 13:01:29 +02:00
Michel Jonathan Schmitz
90187ce936 refactor: remove redundant condition 2021-04-27 13:01:29 +02:00
Michel Jonathan Schmitz
0cbf9b26a9 fix: apply correct types and tslint rules 2021-04-27 13:01:28 +02:00
Jovan Krunić
f4a699e0e5 refactor: use generics for createRoute (no-any)
Related to #39
2021-04-27 13:01:27 +02:00
Jovan Krunić
8b457c9911 refactor: adjust code after updated dependencies
Closes #39
2021-04-27 13:01:26 +02:00
Michel Jonathan Schmitz
dd4be92f90 feat: add boosting to context based search 2021-04-27 13:01:26 +02:00