Commit Graph

605 Commits

Author SHA1 Message Date
Simeon Macke (01505675)
72f913ea76 Add filter for "bio"/organic 2023-05-24 17:26:51 +02:00
Mario Zechner
a52ca5c51a More charting in cart. 2023-05-24 16:59:43 +02:00
Mario Zechner
5533395e04 Log alaSql parser error to console. 2023-05-24 12:00:33 +02:00
Mario Zechner
32dd0d9776 Refactoring search and charting, charts in product search. 2023-05-23 20:07:26 +02:00
Mario Zechner
6dc7f5f170 Another README.md update. 2023-05-23 18:52:43 +02:00
Mario Zechner
8aa432af6b Update README.md with instructions on how to run things. 2023-05-23 18:52:07 +02:00
Mario Zechner
6523236024 Update README.md 2023-05-23 14:28:20 +02:00
Mario Zechner
dda562675f Add package.sh to create Windows/Linux/macOS apps. Closes #11. 2023-05-23 14:24:32 +02:00
Mario Zechner
dc8b4ece3d Allow SQL-like queries, enabled by prepending query with ! character, e.g. !price > 0.4 2023-05-23 11:21:48 +02:00
Mario Zechner
a870446485 Cart charts. 2023-05-22 16:02:01 +02:00
Mario Zechner
df6b4cdd9d Add Momentum Eigenmarken cart as default cart. 2023-05-22 14:39:57 +02:00
Mario Zechner
32bc64c532 Revert Billa endpoint. 2023-05-22 14:24:26 +02:00
Mario Zechner
ff569df7fb Restore updates data. 2023-05-22 13:54:57 +02:00
Mario Zechner
856f08c71f Don't use store-id for Billa, will omit products otherwise. 2023-05-22 13:54:38 +02:00
Mario Zechner
d872ec0c52 Fuzzy search for , and . 2023-05-20 15:47:07 +02:00
Mario Zechner
ce70ef02a3 Actually fix weighted item prices for Billa. See #10 2023-05-20 15:46:52 +02:00
Mario Zechner
46bc81dff3 Fix Billa weighted item prices analogously to Spar. See #10 2023-05-20 15:38:40 +02:00
Mario Zechner
978354d69e
Merge pull request #7 from mhochsteger/fix_unit_spar_items
Fix wrong price/unit pairing in some SPAR items
2023-05-19 19:48:44 +02:00
Mario Zechner
e5a5848986 Nicer colors. 2023-05-19 19:39:26 +02:00
Matthias Hochsteger
a08c3115c8 Fix wrong price/unit pairing in some SPAR items
Some Spar articles (I assume the ones in "Bedienung") have wrong price or unit.
See this one for example: https://www.interspar.at/shop/lebensmittel/search/?q=Woerle%20Emmentaler%20aus%20Sommermilch

Use 'price-per-unit' if the 'quantity-selector' field is available.
2023-05-19 19:04:19 +02:00
Mario Zechner
b88f75c6fe Shitty colors. 2023-05-19 16:37:46 +02:00
Mario Zechner
8f67580822 Add carts. 2023-05-19 16:01:43 +02:00
Mario Zechner
4b781b8b70 Refactor search component for re-use. Refactor changes. 2023-05-19 14:47:40 +02:00
Mario Zechner
87e5e8dc96 Don't call replay in analysis.js... 2023-05-18 21:18:08 +02:00
Mario Zechner
ab8f78f0e3 Fix hofer canonization, lazy loading, replay. 2023-05-18 21:15:42 +02:00
Mario Zechner
d7a8816cc0 Fixed replay(). 2023-05-18 20:30:26 +02:00
Mario Zechner
bf9a1b1ca5 Add Hofer Milfina to filters. 2023-05-18 18:47:50 +02:00
Mario Zechner
2e7b783739 Formatting. If latest-canonical.json exists, load it and serve data immediately. 2023-05-18 18:34:14 +02:00
Mario Zechner
ae8de5ccc2 Fix store link generation. 2023-05-18 18:20:58 +02:00
Mario Zechner
74e28ffaef Merge branch 'main' of https://github.com/badlogic/heissepreise
# Conflicts:
#	site/main.js
2023-05-18 18:16:27 +02:00
Mario Zechner
df447df778 Beginning of carts. Refactorting of frontend code. 2023-05-18 18:14:51 +02:00
Mario Zechner
d02a9a5727
Merge pull request #4 from mhochsteger/hofer
Hofer support
2023-05-18 18:13:55 +02:00
Matthias Hochsteger
0255b59bbd Fix hofer article link 2023-05-18 15:56:26 +02:00
Matthias Hochsteger
fe27a2a87d Generate Hofer access token 2023-05-18 14:18:52 +02:00
Matthias Hochsteger
c94472eb25 Hofer support
TODO: Currently an authorization token must be hard-coded, otherwise
fetching hofer data will be skipped
2023-05-18 13:41:09 +02:00
Mario Zechner
1b0979d90e Show price history. 2023-05-17 18:33:43 +02:00
Mario Zechner
3dd9504d6e Front end refactor. 2023-05-17 16:55:46 +02:00
Mario Zechner
d7b6f6f25f Refactoring. 2023-05-17 16:17:45 +02:00
Mario Zechner
ed66d46c3f Price change stats and site. 2023-05-16 15:56:46 +02:00
Mario Zechner
ef60364c1b Empty string in case no unit was given. 2023-05-15 22:50:19 +02:00
Mario Zechner
debed60c6d Price range and exact word matching. 2023-05-15 22:35:36 +02:00
Mario Zechner
2b7c03d143 This is Austria. 2023-05-15 18:26:47 +02:00
Mario Zechner
99b56febc6 Remove raw data link. 2023-05-15 16:22:32 +02:00
Mario Zechner
5f47357960 Lower-case search field. 2023-05-15 15:31:14 +02:00
Mario Zechner
dc6db72c03 Updated README.md 2023-05-15 15:21:40 +02:00
Mario Zechner
7813fc9656 Remove node-cron dependency. 2023-05-15 15:19:22 +02:00
Mario Zechner
a9ba0059d6 Remove elasticlunr 2023-05-15 15:18:46 +02:00
Mario Zechner
38bcb53bc8 Store price history. 2023-05-15 15:06:30 +02:00
Mario Zechner
acee87273b Always fetch data on startup. 2023-05-15 14:47:38 +02:00
Mario Zechner
c12394fa29 Fix bug in search, table header style. 2023-05-15 14:41:02 +02:00