Commit graph

89 commits

Author SHA1 Message Date
siiky
f7c42992d8 feat: don't try to parse already-parsed JSON note 2025-07-02 12:51:55 +01:00
siiky
dec172576c refactor: clarify machine pings object construction 2025-07-02 12:51:51 +01:00
Rafael Taranto
9125b26e88 Merge pull request #1890 from RafaelTaranto/feat/async-autocomplete-on-loyalty-page
LAM-1453 feat: async autocomplete on loyalty page
2025-06-25 11:21:10 +01:00
Rafael Taranto
c006074e05 Merge pull request #1894 from RafaelTaranto/fix/update-counts-on-cash-units
LAM-1460 fix: update counts stale ui
2025-06-25 11:20:41 +01:00
Rafael Taranto
f1e5edd4ac feat: async autocomplete on individual discounts 2025-06-24 12:27:03 +01:00
Rafael Taranto
d0aaf6c170 Merge pull request #1889 from RafaelTaranto/feat/txs-new-table
LAM-1439 feat: txs new table
2025-06-24 12:26:22 +01:00
Rafael Taranto
686dc3e992 chore: Promise all leftovers from complex selects 2025-06-24 12:19:47 +01:00
Rafael Taranto
ce1238c406 fix: use ID instead of string 2025-06-24 12:00:40 +01:00
Rafael Taranto
d9ea7407ee fix: update counts stale ui 2025-06-24 11:12:10 +01:00
Rafael Taranto
801e7e54ff fix: properly propagate errors to the machine 2025-06-24 10:50:29 +01:00
siiky
8b0ac8a182 refactor: simplify bills processing code 2025-06-23 17:17:53 +01:00
siiky
317660e8d9 chore: use meaningful names 2025-06-23 17:17:53 +01:00
siiky
2f7724bd12 fix: exclude unbatched bills of unpaired machines 2025-06-23 17:17:53 +01:00
siiky
1331aad0ac refactor: simplify bills query building 2025-06-23 17:03:21 +01:00
siiky
e83e74f9d1 chore: format SQL queries 2025-06-23 13:18:57 +01:00
Rafael Taranto
790cdd8fec fix: add csv fields to query 2025-06-19 11:56:25 +01:00
Rafael Taranto
d6166ce752 feat: transactions table 2025-06-19 11:23:12 +01:00
siiky
38d3c9de41 fix: drop all db.task.batch() uses 2025-06-18 14:16:57 +01:00
siiky
e9d219bc6c fix: put diagnostic timestamps in the right fields 2025-06-17 11:58:41 +01:00
siiky
fc649a0b99 fix: update diagnostics timestamps depending on photo creation 2025-06-17 11:56:02 +01:00
siiky
70b72dc27b feat: propagate photo creation success/failure 2025-06-17 11:55:35 +01:00
siiky
7d9df01eab fix: don't let lack of photo data go unnoticed 2025-06-17 11:55:09 +01:00
siiky
77347ff29c refactor: single pass through received frames 2025-06-17 11:54:31 +01:00
siiky
16761b0744 fix: don't drop pings out of the table 2025-06-16 17:35:49 +01:00
siiky
8cf68e480a refactor: replace batch() with async/await 2025-06-16 17:34:28 +01:00
Rafael Taranto
af8a8d395c Merge pull request #1883 from siiky/refactor/lam-1454/drop-configversion-pollqueries
LAM-1454 refactor: drop `configVersion` from `pollQueries()`
2025-06-12 17:48:48 +01:00
siiky
24847f173a refactor: drop configVersion from pollQueries() 2025-06-12 17:45:04 +01:00
Rafael Taranto
298b4ccb6c Merge pull request #1881 from siiky/fix/lam-1450/ping-interval
LAM-1450 fix: reduce ping timer
2025-06-12 17:36:04 +01:00
siiky
afae156ef9 refactor: use configs version from configs object 2025-06-12 16:19:14 +01:00
siiky
430ca16cc5 feat: add version to returned object in new-settings-loader.js:load() 2025-06-12 16:19:14 +01:00
siiky
e93c7f06c0 feat: fetch the operator ID before server startup 2025-06-12 16:19:14 +01:00
siiky
0f3df7f12c feat: cache the operator ID 2025-06-12 16:19:14 +01:00
siiky
2b07748f10 fix: reduce ping timer 2025-06-12 14:34:55 +01:00
Rafael Taranto
240d4d6f93 fix: reuse last and reject reuse interaction 2025-06-09 17:11:49 +01:00
Rafael Taranto
22938ab594 Merge pull request #1877 from siiky/feat/lam-1291/stress-testing
LAM-1291 feat: stress testing scripts and some performance improvements
2025-06-06 09:09:50 +01:00
siiky
ab0a5a33e5 chore: comment stress testing code by default 2025-06-05 16:32:36 +01:00
Rafael Taranto
63367a7f11 fix: mock compliance url return 2025-06-05 10:18:12 +01:00
Rafael Taranto
8fe8f5505c Merge pull request #1871 from RafaelTaranto/chore/fix-external-compliance-mock
LAM-1427 chore: fix external compliance mock
2025-06-04 08:22:43 +01:00
siiky
cb046ea726 chore: drop if to idempotent op 2025-06-03 13:39:23 +01:00
siiky
aaa02e3186 refactor: populate operator after filtering old requests 2025-06-03 13:39:23 +01:00
siiky
3e83838b5a refactor: filter old requests before populating settings 2025-06-03 13:39:23 +01:00
siiky
dddbe98fca refactor: use a single DB task to load the latest settings 2025-06-03 13:39:23 +01:00
siiky
593f7fe949 refactor: use a single DB task to load settings 2025-06-03 13:39:23 +01:00
siiky
c233aa9aff chore: remove dead code 2025-06-03 13:39:23 +01:00
siiky
afe8299ae7 refactor: drop one .then() use and lodash/fp 2025-06-03 13:39:23 +01:00
siiky
49080b0412 refactor: move pairing.js:isPaired() to machine-loader.js:getPairedMachineName() 2025-06-03 13:39:18 +01:00
siiky
1b26150499 refactor: batch record pings 2025-06-03 13:33:09 +01:00
siiky
be06ea5097 fix: parameterize query 2025-06-02 17:59:01 +01:00
siiky
2aea5a523c fix: creating large number of fake machines 2025-06-02 17:04:56 +01:00
siiky
5feee6d5df Merge branch 'dev' into feat/lam-1291/stress-testing
* dev: (41 commits)
  build: use bullseye as target build
  chore: remove whitespace
  refactor: simplify denominations list construction
  fix: sort coins by descending denomination
  feat: address prompt feature toggle on ui
  feat: reuse last address option
  fix: performance issues on SystemPerformance
  chore: clarify requirements on comment
  feat: allow address reuse if same customer
  feat: address reuse is now per customer
  fix: hide anon and show phone on customers
  fix: dev environment restarts
  feat: batch diagnostics script
  fix: custom info request returns array
  fix: name on customer if custom data is filled
  build: testing cache hit
  build: server cache improvements
  build: node_modules was ignored on .dockerignored
  build: leftovers from npm
  chore: commented by mistake
  ...
2025-06-02 13:35:44 +01:00