xenticore
be6206194b
fix: price data update time serialization
...
price update time was not properly serialized as a number like the schema was, and led to dates being stored as empty objects. UI code also did not check if date was NaN, and rendered "invalid date" instead.
2025-03-29 14:19:38 -04:00
xenticore
13a8e14284
l10n: update italian strings
2025-03-29 00:03:43 -04:00
xenticore
c9628de4c6
l10n: add australium localization
2025-03-29 00:01:19 -04:00
xenticore
04845d6bbf
l10n: translate ref
2025-03-29 00:00:52 -04:00
xenticore
0a52bca229
fix: redundant page locale check
2025-03-28 23:59:14 -04:00
xenticore
58d6917246
bump version to 0.4.0
2025-03-28 23:49:33 -04:00
xenticore
279cf4da9d
feat: add australiums to price table
2025-03-28 23:48:29 -04:00
xenticore
f8ca4148f0
feat: schema now retrieves slot, australium status, killstreak status
2025-03-28 23:40:47 -04:00
xenticore
77a831b89e
refactor: fetchPrice now expects an SKU string
2025-03-28 23:35:39 -04:00
xenticore
d1c5083425
refactor: priceUsingPricesTF now expects an SKU string
2025-03-28 23:31:59 -04:00
xenticore
e6013ef61c
add static list of australiums
2025-03-28 22:55:45 -04:00
xenticore
8b2bf38eff
refactor: declare GM_fetch as global for typescript
...
important for the compiler when mocking for unit tests
2025-03-28 22:52:42 -04:00
xenticore
7465d6ce8d
ci: fix release test step
2025-03-27 17:03:51 -04:00
xenticore
507970fdde
bump version to 0.3.1
2025-03-27 16:57:35 -04:00
xenticore
87a6fc5d1c
ci: release builds with production mode
2025-03-27 16:57:17 -04:00
xenticore
967a32fc83
fix: prioritize non-stock/non-decorated items
...
Changed schema lookups to prioritize non-stock/non-decorated item defindexes when names collide
Modified unit tests to include example (stock Flame Thrower)
2025-03-27 15:32:45 -04:00
xenticore
b24cda98ad
doc: fix incomplete documentation of priceUsingPricesTF
2025-03-27 15:28:53 -04:00
xenticore
7c7e58d0d2
refactor: move extractPageTitleFromURL to module, add tests
2025-03-27 14:51:13 -04:00
xenticore
335e45096f
test: add price service and prices.tf tests
2025-03-27 14:03:54 -04:00
xenticore
305d702904
ci: fix incorrect output grab
...
lol
2025-03-27 12:22:25 -04:00
xenticore
24f86b5fbc
ci: declare global vars in test environment
2025-03-27 12:13:05 -04:00
xenticore
f6e92facbc
test: add item schema tests
2025-03-27 12:11:30 -04:00
xenticore
15841520fd
test: add mock DOM to test environment
2025-03-27 12:11:20 -04:00
xenticore
349ceacb4d
test: clean up calc comment
2025-03-24 19:45:33 -04:00
xenticore
60f90d6a37
test: add price formatting tests
2025-03-24 19:38:14 -04:00
xenticore
3f51277bd5
test: remove unnecessary comments
2025-03-24 19:38:05 -04:00
xenticore
1425b33e97
test: add localization tests
2025-03-24 16:13:38 -04:00
xenticore
6a3cbaaad9
ci: run test on develop branch
2025-03-24 16:13:24 -04:00
xenticore
12de4a7148
refactor: moved components to separate modules
...
`content.ts` is now half less than the size, exported functions can be unit tested
2025-03-24 15:39:28 -04:00
Xen
493e7b6521
test: add bun test scaffold
...
Reviewed-on: http://charon.local/git/xen/tf2wikipricing/pulls/4
2025-03-24 13:43:31 -04:00
xenticore
2943253dd7
test: add bun test scaffold
2025-03-24 13:42:14 -04:00
xenticore
cdf22afb96
ci: add title to new releases
2025-03-21 14:44:30 -04:00
xenticore
d0d9bcce95
chore: increment version number
2025-03-21 14:44:14 -04:00
xenticore
226219b451
ci: fix deploy stage
2025-03-21 14:40:00 -04:00
xenticore
a682fc80b8
ci: fix build not running
2025-03-21 14:34:56 -04:00
xenticore
760290b02b
doc: add text to readme
2025-03-21 14:32:41 -04:00
xenticore
4b8917de19
ci: rework actions
...
- build now only runs on non-versioned tags and PRs
- release runs on versioned tags only
2025-03-21 14:31:45 -04:00
xenticore
127aee2476
ci: fix release files glob
2025-03-21 14:26:21 -04:00
xenticore
820174b4a8
ci: replace release action with gitea compatible version
2025-03-21 14:21:14 -04:00
xenticore
c6ba218a66
ci: fix asset_path
2025-03-21 14:10:10 -04:00
xenticore
1a3c174c49
ci: create releases on tags, builds on push and PR
2025-03-21 14:03:15 -04:00
xenticore
568b2eaabd
Initial commit
2025-03-21 13:53:45 -04:00