Skip to content

Commit a8755fb

Browse files
committed
Merge branch 'main' of https://github.com/NFDI4Chem/nmrxiv-nodejs-microservice into development
2 parents 97bbc2d + 3cf2b68 commit a8755fb

File tree

4 files changed

+712
-1582
lines changed

4 files changed

+712
-1582
lines changed

CHANGELOG.md

+35
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# Changelog
2+
3+
## 1.0.0 (2023-10-25)
4+
5+
6+
### Features
7+
8+
* create 'spectra-parser' post API ([6b1b233](https://github.com/NFDI4Chem/nmrxiv-nodejs-microservice/commit/6b1b2339faa2af78fb51a25f9d75251771469740))
9+
* enabled CORS requests ([32af700](https://github.com/NFDI4Chem/nmrxiv-nodejs-microservice/commit/32af700b1e2026babca65becf6cf07c2ecafdd25))
10+
* return nmrium data version ([f20e386](https://github.com/NFDI4Chem/nmrxiv-nodejs-microservice/commit/f20e386205d6c19ab12b895ebd0999385b5e5eca))
11+
* update nmr-load-save to version 0.7.26 ([feb0530](https://github.com/NFDI4Chem/nmrxiv-nodejs-microservice/commit/feb0530925a5bc8c84c0d56fd0dfb0c04658c41c))
12+
* update nmr-load-save to version 0.15.1 ([f97fd32](https://github.com/NFDI4Chem/nmrxiv-nodejs-microservice/commit/f97fd32d69f680c490e59337180870f63bef6e3f))
13+
* update nmr-load-save to version 0.22.4 ([5c1999d](https://github.com/NFDI4Chem/nmrxiv-nodejs-microservice/commit/5c1999deeaddd9993d2b6d1674fddc6cf35e28c9))
14+
* update spectra parser ([1aca809](https://github.com/NFDI4Chem/nmrxiv-nodejs-microservice/commit/1aca80980b387f6c95b0e8329cb68d2394be8f1d))
15+
* update to nmr-load-save version 0.7.14 ([dd4c63c](https://github.com/NFDI4Chem/nmrxiv-nodejs-microservice/commit/dd4c63ce9dec855a59e6739929025bda352fb66b))
16+
* updated docker file to add docs and public folders to the build directory ([803db4e](https://github.com/NFDI4Chem/nmrxiv-nodejs-microservice/commit/803db4e06a1cce00d3f0c1ae0c3e84f017e434be))
17+
* upgrade nmr-load-save to version 0.11.0 ([10068d2](https://github.com/NFDI4Chem/nmrxiv-nodejs-microservice/commit/10068d2d0d204464a8603e0f2c34627a5519b7e8))
18+
* upgrade nmr-load-save to version 0.8.5 ([fe67a7e](https://github.com/NFDI4Chem/nmrxiv-nodejs-microservice/commit/fe67a7ec1c0de2fdb269e0a2f4eb822b1a7c9804))
19+
20+
21+
### Bug Fixes
22+
23+
* add DFG credit to README ([da8eb10](https://github.com/NFDI4Chem/nmrxiv-nodejs-microservice/commit/da8eb104f071c91461106095a56175f9180bd6c7))
24+
* add release-please workflow ([42ef598](https://github.com/NFDI4Chem/nmrxiv-nodejs-microservice/commit/42ef598512b7ba83be742712eca683d4f5a3334d))
25+
* build and push docker image to Docker Hub ([85004c2](https://github.com/NFDI4Chem/nmrxiv-nodejs-microservice/commit/85004c2b1cdbdb655fc4349a68baf440fc7e733e))
26+
* build job name ([acb0e3c](https://github.com/NFDI4Chem/nmrxiv-nodejs-microservice/commit/acb0e3c88d8ea952893c054a0f7bc3a21c1b4674))
27+
* create .env file in build ([607d5f8](https://github.com/NFDI4Chem/nmrxiv-nodejs-microservice/commit/607d5f8fa03bf6f10a67d57a2170b885a5752eab))
28+
* Install playwright as sudo. ([a9a3663](https://github.com/NFDI4Chem/nmrxiv-nodejs-microservice/commit/a9a36630030fcddb51fb06bed1e8a372b53b600c))
29+
* Install playwright package in docker. ([b27561b](https://github.com/NFDI4Chem/nmrxiv-nodejs-microservice/commit/b27561beef74af10764b5c739e8438044a9ad16f))
30+
* Install Playwright using docker ([855c0ee](https://github.com/NFDI4Chem/nmrxiv-nodejs-microservice/commit/855c0ee3135045293df4670bd6edddeb572226fc))
31+
* job name ([1d56fcd](https://github.com/NFDI4Chem/nmrxiv-nodejs-microservice/commit/1d56fcd412a163d67dc1ca7d5158c1d1820d0a71))
32+
* job name ([1c14134](https://github.com/NFDI4Chem/nmrxiv-nodejs-microservice/commit/1c14134467f37d3c6092ad42478a8284095c5f38))
33+
* Undo .env creation on basis of env ([b828346](https://github.com/NFDI4Chem/nmrxiv-nodejs-microservice/commit/b82834603ad4cf8df85d32e29b20aba62d4bf2be))
34+
* Update build .env creation on basis of env ([9d2d821](https://github.com/NFDI4Chem/nmrxiv-nodejs-microservice/commit/9d2d821e8baebbaf6014831ed18c8b7cf233f1a8))
35+
* update container name ([21365e4](https://github.com/NFDI4Chem/nmrxiv-nodejs-microservice/commit/21365e4269f4c0672d8e04d25060c84d866264fd))

app/Controllers/Http/SpectraController.ts

+7-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,13 @@ export default class SpectraController {
4141
}
4242
return { relativePath: refURL.pathname, baseURL: refURL.origin }
4343
}, [])
44-
const state: NmriumState = (await readFromWebSource({ entries })) as NmriumState
44+
const state: NmriumState = (await readFromWebSource(
45+
{ entries },
46+
{
47+
onLoadProcessing: { autoProcessing: true },
48+
sourceSelector: { general: { dataSelection: 'preferFT' } },
49+
}
50+
)) as NmriumState
4551
return resolveState(state)
4652
}
4753

0 commit comments

Comments
 (0)