informatic
e4d7404a45
add admin summary view, fix product id calculation
2024-03-07 18:51:59 +01:00
informatic
ef71d8732a
bitvend: move admin access to vending-admin group
2023-11-11 21:48:21 +01:00
informatic
a9012778fc
mdb: fix handling of messages with checksum = 0
2023-11-11 21:06:35 +01:00
bitvend
ed247af604
bitvend: make hall of addicts windowed
2023-10-02 20:18:05 +02:00
bitvend
404a4a5903
bitvend/models: fix 0 transaction users
2023-10-02 20:17:07 +02:00
q3k
1895d785c2
templates: rip out bitcoin leftovers
2023-09-21 14:14:55 +02:00
q3k
78ea736beb
stats: show top 10 addicts
2023-09-21 14:14:24 +02:00
informatic
0d2a31f9f1
bitvend: disable template auto reload
2023-07-15 22:48:37 +02:00
informatic
12dd471725
bitvend/models: rewrite purchase_count/purchase_amount
2023-07-15 22:42:41 +02:00
informatic
ad24d2684d
bitvend/index: remove angry notification
2023-07-15 22:35:40 +02:00
informatic
f0859c9592
bitvend/models: turn user balance into column_property
2023-07-15 22:26:40 +02:00
informatic
e5f4fbb999
bitvend: add stats caching
2023-07-15 22:26:21 +02:00
informatic
1c4dc95a1e
bitvend/mdb: remove unused coin sniffing stuff
2023-07-15 22:03:59 +02:00
informatic
3db2cfb7f8
mdb: support vend success/failure/completion, checksum cleanup
2023-07-15 21:58:03 +02:00
informatic
fc4e256acb
bitvend: move stats calculation, preliminary optimization
2023-07-15 01:18:00 +02:00
informatic
d5896d5d16
*: reformat using black
2023-07-14 23:34:14 +02:00
informatic
c888873b7a
bitvend-run: disable payments processing, enable logging
2023-07-14 23:28:35 +02:00
informatic
7d50e90d59
module: always restart our service
2023-07-14 23:28:25 +02:00
informatic
f4bddd3532
mdb: correct decimal places factor, lower transaction cap
2023-07-14 23:28:09 +02:00
informatic
0de9112c9b
mdb/backend: delay device open, adjust serial interface path
2023-07-14 23:27:21 +02:00
informatic
2637d00c7f
usb-interface rev 2: MDB loopback
...
This adds an optional loopback from MDB TX (which sees all slave
communication) back to the STM32 over UART1 or UART3 (with a three-way
selection pin header).
We also update the resistor footprint because the old one's missing from
kicad libraries.
Not yet tested.
by q3k
2021-12-11 15:32:00 +01:00
informatic
56df3a536f
*: deployment fixes
2020-06-22 17:25:45 +02:00
informatic
2b8d5529f7
Revert "module.nix: run as root"
...
This reverts commit 621016bd9c
.
2020-06-22 17:17:27 +02:00
informatic
f4f76f888e
Merge branch 'master' of https://code.hackerspace.pl/q3k/bitvend into usb-interface
2020-06-22 14:11:07 +02:00
informatic
1cf9ce4211
check in usb-interface firmware and hardware files
2020-06-21 23:45:36 +02:00
informatic
494f5ef2bc
WIP vending v2 with serial backend
2020-06-21 23:20:14 +02:00
q3k
621016bd9c
module.nix: run as root
2020-02-23 18:07:00 +01:00
q3k
1735eb0cf6
*: fixes for 64-bit RPi3 via NixOS
...
We force pigpio to not use the old broadcom fork mailbox interface, and
we use a fork of pigpio that work with u-boot.
2020-02-23 15:39:24 +01:00
q3k
25b41d6496
module.nix: init
...
This isn't great, but hey, it works.
2020-02-23 11:44:45 +01:00
q3k
75c222852b
default.nix: implement
...
This paves the way to hosting bitvend with NixOS.
Getting this to work required pulling in flask-oauthlib and a bunch of
older dependencies. This isn't great, but before we migrate
flask-spaceauth to use authlib that's what we have to do.
We also build pigpio/cygpio. pigpio should get upstreamed into nixpkgs.
We also rename bitvend.py to bitvend-run.py to unconfuse python paths.
To test:
nix build
result/bin/bitvend-run.py
2020-02-23 11:44:10 +01:00
q3k
9ea05b5c70
hack: pull changes from old rpi
2020-02-23 10:59:01 +01:00
voltar13
4459130370
Fix bitcoin payments by adding blockcypher token
2019-01-31 19:31:16 +01:00
voltar13
cce3ff5237
Fix bitcoin payments by adding blockcypher token
2019-01-31 19:29:16 +01:00
informatic
9adff5141e
cygpio: basic cython-based MDB backend for raspi & pigpio
2018-06-10 19:50:25 +02:00
informatic
37ba4aa07b
deployment: get rid of swapfile
2018-06-10 19:48:36 +02:00
informatic
615293aba8
mdb: Make raspi backend blocking
2017-12-08 20:42:22 +01:00
informatic
37b3b9d5fe
Proper static content serving, caching and https fix for url_for
2017-10-11 19:18:20 +02:00
informatic
1dda75978c
Support app configuration loading from envvar
2017-10-11 18:42:29 +02:00
informatic
09fd19fff7
Migrate to Flask-SpaceAuth
2017-10-11 18:33:20 +02:00
informatic
c4d6f5c039
Cleanup, deployment playbook
2017-10-01 21:37:50 +02:00
informatic
c0f8cd27b1
Remove pkg-resources ubuntu artifact...
2017-10-01 14:14:04 +02:00
informatic
1e8031775c
login: Handle next properly
2017-06-13 20:22:52 +02:00
informatic
8f1d906e9c
Remember login by default, fix horizontal scrolling
2017-06-02 15:41:00 +02:00
informatic
55dab93eb8
Better stats display
2017-06-02 15:11:56 +02:00
informatic
4e8e085587
views: Purchase graph
2017-05-05 22:19:57 +02:00
informatic
ca2d83429f
views: Hall of fame...?
2017-05-05 22:19:14 +02:00
informatic
30a705a9a3
mdb: Increase cashless purchase counter only when we have tx id
2017-04-21 18:04:06 +02:00
informatic
41e652776d
models: Add sensible repr
2017-04-21 17:54:50 +02:00
informatic
13e6269969
auth: Fix capability cache for other users...
2017-04-21 17:46:06 +02:00
informatic
ca53984dbb
template: Index cleanup
2017-04-21 17:39:56 +02:00