Sven Günther
4da6ce4644
Successfully addressed the feedback from @dtslvr and @KenTandrian about only deleting data within the date range that will be replaced.
3 days ago
Sven Günther
4b3aa687e6
fix typo
4 days ago
Thomas Kaul
964879fedc
Refactoring
5 days ago
Sven Günther
cfc873f69e
Address code review feedback
Apply style improvements including type simplification, renamed flag
from replaceExistingData to force, and moved CHANGELOG entry.
5 days ago
Sven Günther
094b508358
Fix P2002 unique constraint error in replaceAllForSymbol
Replace Promise.all with createMany to handle duplicate dates in the
data array when atomically replacing market data.
The previous implementation used multiple parallel create() operations
which caused a P2002 unique constraint violation when the data array
contained duplicate dates (e.g., when market prices are forward-filled
for non-trading days).
Changes:
- Replace Promise.all of individual create() operations with createMany()
- Add skipDuplicates: true to silently handle duplicate records
- Add data.length check to avoid empty createMany call
This maintains the atomic transaction behavior while efficiently handling
batch inserts with potential duplicates.
7 days ago
Sven Günther
9e4df2573b
remove unnessesary comments
7 days ago
Sven Günther
3539e875ba
Fix data loss risk in manual historical market data gathering ( #5686 )
Replace delete-then-fetch pattern with atomic transaction to prevent data loss when manually gathering historical market data fails.
Previously, when triggering "Gather Historical Market Data" from the Admin panel, the system would immediately delete all existing market
data before queueing the fetch job. If the external data provider was down or returned an error, the asset would be left with no historical
data and the original data was permanently lost.
Changes:
- Add `replaceAllForSymbol()` method to MarketDataService that performs delete and insert within a Prisma transaction
- Remove upfront `deleteMany()` call from `gatherSymbol()` method
- Add `replaceExistingData` flag to DataGatheringItem interface to distinguish manual refresh from scheduled updates
- Update data gathering processor to use atomic replace only for manual operations while keeping normal upsert behavior for scheduled
updates
- Remove unused MarketDataService dependency from DataGatheringService
The atomic transaction ensures that if the fetch operation fails, the original market data remains untouched. Regular scheduled data gathering continues to use upsert operations and is unaffected by this change.
7 days ago
Thomas Kaul
ecc35c9ffa
Task/improve typings of dialogs ( #5846 )
* Improve typings
1 week ago
github-actions[bot]
6a93d8c050
Feature/update locales ( #5847 )
* Update locales
* Update translations
* Update changelog
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Thomas Kaul <4159106+dtslvr@users.noreply.github.com>
1 week ago
Kenrick Tandrian
5547108408
Feature/add close holding button to holding detail dialog ( #5832 )
* Add close holding button to holding detail dialog
* Update changelog
1 week ago
Abhishek Singla
54e0f5e466
Feature/extend user detail dialog ( #5844 )
* Extend user detail dialog
* Update changelog
1 week ago
Thomas Kaul
f4bad6acaf
Bugfix/provide missing locale to rule settings dialog ( #5845 )
* Provide locale to rule settings dialog
* Update changelog
1 week ago
Thomas Kaul
c394a2d529
Release 2.211.0 ( #5838 )
1 week ago
Thomas Kaul
b47a16961f
Release 2.211.0 ( #5837 )
1 week ago
vitalymatyushik
31e2346101
Bugfix/market price in base currency during the portfolio snapshot calculation ( #5828 )
* Add fallback for market price in base currency
* Update changelog
1 week ago
Vaishnavi Parabkar
76a2249ba4
Feature/integrate SelfhostedHub into logo carousel ( #5786 )
* Add SelfhostedHub
* Update changelog
---------
Co-authored-by: Thomas Kaul <4159106+dtslvr@users.noreply.github.com>
1 week ago
Thomas Kaul
e03f58feff
Task/refactor Activities interface to ActivitiesResponse interface ( #5835 )
* Refactor Activities interface to ActivitiesResponse interface
1 week ago
github-actions[bot]
d1a151bd60
Feature/update locales ( #5807 )
* Update locales
* Update translations
* Update changelog
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Thomas Kaul <4159106+dtslvr@users.noreply.github.com>
1 week ago
Harsh Santwani
482b97ba9b
Feature/set up user detail dialog in admin control panel ( #5819 )
* Set up user detail dialog
* Update changelog
1 week ago
Thomas Kaul
4ca65b88f9
Release 2.211.0-beta.0 ( #5829 )
1 week ago
Sven Günther
0ec9c1dd93
Bugfix/custom asset name rendering in import activities dialog ( #5787 )
* Fix custom asset name rendering in import activities dialog
* Update changelog
1 week ago
David Requeno
1f6b061ab0
Task/migrate tablemark to v4 ( #5809 )
* Migrate tablemark to v4
* Update changelog
1 week ago
Thomas Kaul
a872770b7c
Bugfix/footer row style of accounts table component ( #5826 )
* Fix style of footer row
* Update changelog
1 week ago
Vansh
0b28da879b
Task/extend export response by performanceCalculationType ( #5816 )
* Extend export response by performanceCalculationType
* Update changelog
2 weeks ago
Harsh Santwani
852ed98d0f
Task/move prisma.config.ts to .config/prisma.ts ( #5821 )
* Move prisma.config.ts to .config/prisma.ts
* Update changelog
2 weeks ago
danielochinasa
37ab31ea72
Task/format value in Buying Power rule ( #5824 )
* Format value in Buying Power rule
* Update changelog
2 weeks ago
Thomas Kaul
3cb0ca130e
Task/upgrade prisma to version 6.18.0 ( #5823 )
* Upgrade prisma to version 6.18.0
* Update changelog
2 weeks ago
Thomas Kaul
e096f5cc77
Release 2.210.1 ( #5818 )
2 weeks ago
Szymon Łągiewka
2b727f867f
Bugfix/include missing dotenv packages ( #5817 )
* Include missing dotenv packages
2 weeks ago
Thomas Kaul
946edd5c5a
Release 2.210.0 ( #5814 )
2 weeks ago
Thomas Kaul
f19d9c78aa
Task/clean up unused eslint-disable-next-line directives ( #5782 )
* Clean up unused eslint-disable-next-line directives
2 weeks ago
Thomas Kaul
edcc140428
Task/introduce interface for create Stripe checkout session response ( #5791 )
* Introduce interface
2 weeks ago
jjs2099
167cbcd5c7
Bugfix/submit form of login with access token dialog with enter key press ( #5751 )
* Fix form submit with enter key press
* Update changelog
2 weeks ago
Szymon Łągiewka
ceace870a8
Task/upgrade ioredis to forfeit overriding defaults ( #5813 )
* Upgrade ioredis to forfeit overriding defaults
* Update changelog
2 weeks ago
Arshad Jamal
ed364fc25f
Bugfix/database seed ( #5792 )
* Fix database seed
* Update changelog
---------
Co-authored-by: Thomas Kaul <4159106+dtslvr@users.noreply.github.com>
2 weeks ago
Harsh Santwani
9b51c2da5d
Task/improve typings of getOrderById() functionality ( #5810 )
* Improve typings of getOrderById() functionality
2 weeks ago
Ani07-05
7ee38d0067
Task/refactor Export interface to ExportResponse interface ( #5805 )
* Refactor Export interface to ExportResponse interface
2 weeks ago
Dibyendu Sahoo
b915c9554e
Task/extend rule settings interface by locale ( #5802 )
* Extend rule settings interface by locale
2 weeks ago
Germán Martín
3215280636
Task/extract portfolio filter sub form of assistant to reusable component ( #5618 )
* Extract portfolio filter sub form of assistant to reusable component
* Update changelog
2 weeks ago
Vansh
3b4705405b
Task/improve typings of getAsset() functionality ( #5804 )
* Improve typings of getAsset() functionality
2 weeks ago
Thomas Kaul
be0ddd6298
Task/harmonize interfaces naming ( #5796 )
* Harmonize interfaces naming
2 weeks ago
vitalymatyushik
24234591c9
Task/improve typings of getInfo() functionality ( #5803 )
* Improve typings
2 weeks ago
Thomas Kaul
e6ebe7e501
Task/harmonize wording in glossary ( #5781 )
* Harmonize wording
2 weeks ago
Thomas Kaul
5c07992791
Task/improve changelog entry ( #5790 )
* Update changelog
2 weeks ago
David Requeno
5bfcceb959
Task/auto-pad holdings table in AI prompt using tablemark ( #5772 )
* Auto-pad holdings table in AI prompt using tablemark
* Update changelog
2 weeks ago
github-actions[bot]
fbe0caa635
Feature/update locales ( #5788 )
* Update locales
* Update translations
* Update changelog
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Thomas Kaul <4159106+dtslvr@users.noreply.github.com>
2 weeks ago
s-vamshi
a65523fd04
Feature/allow data gathering by date range ( #5762 )
* Allow data gathering by date range
* Update changelog
2 weeks ago
Thomas Kaul
18d46cfa1e
Release 2.209.0 ( #5780 )
2 weeks ago
Google
71b375ea92
Task/refactor BenchmarkMarketDataDetails to BenchmarkMarketDataDetailsResponse ( #5771 )
* Refactor BenchmarkMarketDataDetails to BenchmarkMarketDataDetailsResponse
2 weeks ago
Aman
f940eb6725
Task/refactor PortfolioInvestments interface to PortfolioInvestmentsResponse interface ( #5774 )
* Refactor PortfolioInvestments to PortfolioInvestmentsResponse
2 weeks ago