Commit Graph

277 Commits

Author SHA1 Message Date
Mario Zechner
e714d720b0 Fix charting in cart. 2023-06-05 08:12:29 +02:00
Mario Zechner
ea67924297 Merge branch 'main' of https://github.com/badlogic/heissepreise 2023-06-05 00:06:20 +02:00
Mario Zechner
81ecd54760 Fix charting in main. 2023-06-05 00:06:10 +02:00
Mario Zechner
f5c9f05590
Merge pull request #69 from simmac/main
Fixed DM-DE queries
2023-06-05 00:02:21 +02:00
simmac
632c0db6b0 Fixed DM-DE queries.
Fixes #45
2023-06-04 23:42:15 +02:00
Mario Zechner
352b397515 Fix charting in product search. 2023-06-04 23:38:52 +02:00
Mario Zechner
7513cea564 More Docker fixes. 2023-06-04 23:18:55 +02:00
Mario Zechner
76c8b0b11f More Docker fixes. 2023-06-04 23:16:30 +02:00
Mario Zechner
7fb18388df No more need for fixup. 2023-06-04 23:12:07 +02:00
Mario Zechner
f06622f5d6 Merge branch 'main' into site-refactor 2023-06-04 21:52:01 +02:00
Mario Zechner
402aed16e5 Fixes #63, penny urls 2023-06-04 21:51:50 +02:00
Mario Zechner
25f63b18dc Fix bug in calculateOverallPriceChanges, date range was applied in the wrong place. 2023-06-04 21:37:33 +02:00
Mario Zechner
7b9b478520 Add menu to changes. 2023-06-04 21:31:35 +02:00
Mario Zechner
a63cfa7c91 Remove aktionen and billiger, all done in changes.html now. 2023-06-04 21:30:55 +02:00
Mario Zechner
f61f0d1a0e Fix cart header on mobile, some prettification. 2023-06-04 19:54:28 +02:00
Mario Zechner
002279593f Fix cart table header on mobile. 2023-06-04 19:32:13 +02:00
Mario Zechner
b913097a99 Tons of frontend refactoring. Bug: cart table shows header on mobile 2023-06-04 14:45:05 +02:00
Mario Zechner
665b2b5c25 .js clean-up, add second pattern to template "engine" so we can also bundle .js files eventually. Not great for development, as line numbers no longer match. 2023-06-04 03:30:05 +02:00
Mario Zechner
21e7566cfa Removed the sticky search field, refactoring, WIP 2023-06-04 02:19:13 +02:00
Mario Zechner
2ef5be9e9b Server-side generation with watcher and live-reload. pages.js still broken. 2023-06-03 23:46:43 +02:00
Mario Zechner
d357caf7f1 First pass, everything is broken. 2023-06-03 22:00:52 +02:00
Mario Zechner
614dddc815 Merge branch 'main' of https://github.com/badlogic/heissepreise 2023-06-03 20:12:06 +02:00
Mario Zechner
7304b4d4b0 Fix restore.js 2023-06-03 20:11:59 +02:00
Mario Zechner
68a69bb255
Merge pull request #65 from mhochsteger/unimarkt_units
Units handling for Unimarkt, some cleanup
2023-06-03 19:27:48 +02:00
Matthias Hochsteger
ce13e6cc1d Units handling for Unimarkt, some clenaup 2023-06-03 15:09:29 +02:00
Mario Zechner
31a5cccec6 Revert change to currentDate(). Date.toISOString() gives time in UTC... 2023-06-03 01:24:22 +02:00
Mario Zechner
36531e15e7 Store latest-canonical.json for pages 2023-06-03 01:18:36 +02:00
Mario Zechner
e2ec6beaa4 More fixing of fixup.sh 2023-06-03 00:57:21 +02:00
Mario Zechner
1e934e13dd Fix fixup.sh... 2023-06-03 00:56:45 +02:00
Mario Zechner
68c806d81e Minor clean-up. 2023-06-03 00:54:49 +02:00
Mario Zechner
d6c55024db Add folder to .gitignore 2023-06-03 00:43:06 +02:00
Mario Zechner
d64eccb8e3 Merge branch 'main' of https://github.com/badlogic/heissepreise 2023-06-03 00:41:38 +02:00
Mario Zechner
052cbaf30e Remove husky from package.json, add pre-commit hook to .husky instead. 2023-06-03 00:41:04 +02:00
Mario Zechner
1cc61d0cb7 Remove logging. 2023-06-03 00:36:10 +02:00
Mario Zechner
bf98c14ab8
Merge pull request #64 from mhochsteger/fix_inconsistent_prices
Don't convert weighted articles to 100g
2023-06-03 00:13:47 +02:00
Mario Zechner
d238b05b79 Add migration to pages generator. 2023-06-03 00:08:35 +02:00
Mario Zechner
3638b80c02 Refactor migration, switch from gzip to brotli compression. See #44
See migration.js if you want to manually convert raw data files between formats.
2023-06-03 00:01:41 +02:00
Matthias Hochsteger
e5ae715451 Don't convert weighted articles to 100g
Issues:
- 100g feels wrong for some articles (the cheaper ones)
- priceHistory wasn't changed (so the shown prices were
  wrong/inconsistent with changed quantity)
2023-06-02 23:40:13 +02:00
Mario Zechner
573a6e3648 Merge branch 'main' of https://github.com/badlogic/heissepreise 2023-06-02 21:29:00 +02:00
Mario Zechner
95b1bee3ad Fix "Kilogramm" conversion factor. 2023-06-02 21:28:53 +02:00
Mario Zechner
b67d25a5be
Merge pull request #62 from slhck/fix-migration
skip already gzipped files in json -> gzip migration
2023-06-02 20:13:00 +02:00
Werner Robitza
de75e6686b skip already gzipped files in json -> gzip migration 2023-06-02 20:08:05 +02:00
Mario Zechner
51d58227c8 Merge branch 'main' of https://github.com/badlogic/heissepreise 2023-06-02 18:34:23 +02:00
Mario Zechner
23f512087e Refactored and fix #55
- `readJson()` now just checks for the file extension to decide whether to uncompress instead of taking a flag.
- moved migration logic from index.js to analysis.js:migrateToGzip
- fixed `restore()` in analysis.js
- also calling `migrateToGzip()` in replay.js
- Fix billa canonicalization for Dossier data
- Fix spar canonicalization for Dossier data and data from 2022.
2023-06-02 18:34:14 +02:00
Mario Zechner
45213de890
Merge pull request #59 from iantsch/enable-husky
Add missing husky install script
2023-06-02 17:17:14 +02:00
Christian Tschugg
84022d1614 Add missing husky install script 2023-06-02 17:09:23 +02:00
Mario Zechner
f3f261122b
Merge pull request #55 from iantsch/compress-json
Compress raw data files on disk, fixes badlogic/heissepreise#51
2023-06-02 17:07:56 +02:00
Mario Zechner
8bf0d65d89
Merge branch 'main' into compress-json 2023-06-02 16:56:22 +02:00
Mario Zechner
c6bbd0e03b Increased maxWidth to 150 in prettier config, formatted all the things. See #52. 2023-06-02 16:45:54 +02:00
Mario Zechner
1845760384 Updated README.md 2023-06-02 16:25:36 +02:00