Browse Source
Merge branch 'main' into feature/improve-allocations-by-ETF-holding-for-impersonation-mode
pull/3534/head
Thomas Kaul
1 year ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with
4 additions and
3 deletions
-
CHANGELOG.md
-
DEVELOPMENT.md
-
README.md
-
apps/api/src/services/data-provider/manual/manual.service.ts
|
|
@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 |
|
|
|
### Changed |
|
|
|
|
|
|
|
- Improved the allocations by ETF holding on the allocations page for the impersonation mode (experimental) |
|
|
|
- Improved the detection of REST APIs (`JSON`) used via the scraper configuration |
|
|
|
|
|
|
|
## 2.92.0 - 2024-06-30 |
|
|
|
|
|
|
|
|
|
@ -10,7 +10,7 @@ Remove permission in `UserService` using `without()` |
|
|
|
|
|
|
|
### Frontend |
|
|
|
|
|
|
|
Use `*ngIf="user?.settings?.isExperimentalFeatures"` in HTML template |
|
|
|
Use `@if (user?.settings?.isExperimentalFeatures) {}` in HTML template |
|
|
|
|
|
|
|
## Git |
|
|
|
|
|
|
|
|
|
@ -89,7 +89,7 @@ We provide official container images hosted on [Docker Hub](https://hub.docker.c |
|
|
|
| ------------------------ | ------------------- | ------------- | ----------------------------------------------------------------------------------------------------------------------------------- | |
|
|
|
| `ACCESS_TOKEN_SALT` | string | | A random string used as salt for access tokens | |
|
|
|
| `API_KEY_COINGECKO_DEMO` | string (`optional`) | | The _CoinGecko_ Demo API key | |
|
|
|
| `API_KEY_COINGECKO_PRO` | string (`optional`) | | The _CoinGecko_ Pro API | |
|
|
|
| `API_KEY_COINGECKO_PRO` | string (`optional`) | | The _CoinGecko_ Pro API key | |
|
|
|
| `DATABASE_URL` | string | | The database connection URL, e.g. `postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@localhost:5432/${POSTGRES_DB}?sslmode=prefer` | |
|
|
|
| `HOST` | string (`optional`) | `0.0.0.0` | The host where the Ghostfolio application will run on | |
|
|
|
| `JWT_SECRET_KEY` | string | | A random string used for _JSON Web Tokens_ (JWT) | |
|
|
|
|
|
@ -257,7 +257,7 @@ export class ManualService implements DataProviderInterface { |
|
|
|
signal: abortController.signal |
|
|
|
}); |
|
|
|
|
|
|
|
if (headers['content-type'] === 'application/json') { |
|
|
|
if (headers['content-type'].includes('application/json')) { |
|
|
|
const data = JSON.parse(body); |
|
|
|
const value = String( |
|
|
|
jsonpath.query(data, scraperConfiguration.selector)[0] |
|
|
|