summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* usb-interface rev 2: MDB loopbackHEADmasterPiotr Dobrowolski2021-12-113-1798/+9863
| | | | | | | | | | | | | 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
* *: deployment fixesPiotr Dobrowolski2020-06-226-12/+62
|
* Revert "module.nix: run as root"Piotr Dobrowolski2020-06-223-6/+24
| | | | This reverts commit 621016bd9c16d64b4d51a6cb7a87e390d510508f.
* Merge branch 'master' of https://code.hackerspace.pl/q3k/bitvend into ↵Piotr Dobrowolski2020-06-2221-22/+423
|\ | | | | | | usb-interface
| * module.nix: run as rootSergiusz Bazanski2020-02-233-24/+6
| |
| * *: fixes for 64-bit RPi3 via NixOSSergiusz Bazanski2020-02-232-4/+19
| | | | | | | | | | We force pigpio to not use the old broadcom fork mailbox interface, and we use a fork of pigpio that work with u-boot.
| * module.nix: initSergiusz Bazanski2020-02-232-0/+111
| | | | | | | | This isn't great, but hey, it works.
| * default.nix: implementSergiusz Bazanski2020-02-237-1/+146
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * hack: pull changes from old rpiSergiusz Bazanski2020-02-238-23/+69
| |
| * Fix bitcoin payments by adding blockcypher tokenfeature/cythonvoltar132019-01-311-4/+9
| |
| * cygpio: basic cython-based MDB backend for raspi & pigpioPiotr Dobrowolski2018-06-103-0/+95
| |
| * deployment: get rid of swapfilePiotr Dobrowolski2018-06-101-0/+6
| |
* | check in usb-interface firmware and hardware filesusb-interfacePiotr Dobrowolski2020-06-2127-0/+78943
| |
* | WIP vending v2 with serial backendPiotr Dobrowolski2020-06-214-19/+27
| |
* | Fix bitcoin payments by adding blockcypher tokenvoltar132019-01-312-5/+12
|/
* mdb: Make raspi backend blockingPiotr Dobrowolski2017-12-082-4/+8
|
* Proper static content serving, caching and https fix for url_forPiotr Dobrowolski2017-10-113-2/+21
|
* Support app configuration loading from envvarPiotr Dobrowolski2017-10-113-0/+7
|
* Migrate to Flask-SpaceAuthPiotr Dobrowolski2017-10-116-120/+21
|
* Cleanup, deployment playbookPiotr Dobrowolski2017-10-016-257/+50
|
* Remove pkg-resources ubuntu artifact...Piotr Dobrowolski2017-10-011-1/+0
|
* login: Handle next properlyPiotr Dobrowolski2017-06-132-2/+7
|
* Remember login by default, fix horizontal scrollingPiotr Dobrowolski2017-06-023-2/+17
|
* Better stats displayPiotr Dobrowolski2017-06-022-2/+21
|
* views: Purchase graphPiotr Dobrowolski2017-05-057-1/+511
|
* views: Hall of fame...?Piotr Dobrowolski2017-05-055-8/+54
|
* mdb: Increase cashless purchase counter only when we have tx idv2Piotr Dobrowolski2017-04-211-1/+1
|
* models: Add sensible reprPiotr Dobrowolski2017-04-211-0/+6
|
* auth: Fix capability cache for other users...Piotr Dobrowolski2017-04-212-3/+5
|
* template: Index cleanupPiotr Dobrowolski2017-04-211-1/+7
|
* auth: Full capability cachingPiotr Dobrowolski2017-04-211-7/+7
|
* auth: auth.hackerspace.pl is case insensitive...Piotr Dobrowolski2017-04-212-2/+8
|
* template: Add missing javascriptPiotr Dobrowolski2017-04-216-7/+26
|
* Initial admin interfacePiotr Dobrowolski2017-04-128-0/+110
|
* Add caps checkPiotr Dobrowolski2017-04-123-3/+49
|
* Table .placeholder stylingPiotr Dobrowolski2017-04-082-0/+10
|
* Templates cleanup, pagination, transactions list, hallofshamePiotr Dobrowolski2017-04-078-40/+114
|
* Template cleanupPiotr Dobrowolski2017-04-072-2/+2
|
* Add current user check in transferPiotr Dobrowolski2017-04-071-1/+6
|
* Fix bitcoin transactionsPiotr Dobrowolski2017-04-061-9/+18
|
* Fix formattingPiotr Dobrowolski2017-04-052-6/+7
|
* Update requirements.txtPiotr Dobrowolski2017-04-051-0/+9
|
* Implement MDB POLL retransmissionsPiotr Dobrowolski2017-04-051-6/+14
|
* Transfers implementationPiotr Dobrowolski2017-04-0510-24/+222
|
* Rewrite, user authenticationPiotr Dobrowolski2017-04-0519-83/+364
|
* Fix lockup recoveryPiotr Dobrowolski2017-03-291-1/+2
|
* Add dumb lockup preventionPiotr Dobrowolski2017-02-171-0/+21
| | | | | | | | | | | This tends to happen, because we seem to be tiny bit too slow sometimes and VMC considers our ACK as bill validator ACK and then it furiously tries to initialize it. In such case, if we get 20 consecutive bill validator RESET requests, we just ACK every other bill validator message, but don't response to POLL. It'll just unlock after a second... This needs to be fixed properly by figuring out why there's some latency sometimes. (well, maybe it's just because of python?)
* This sadly seems to break things™, and QRCodes work fine now anywayPiotr Dobrowolski2017-02-171-1/+0
|
* Add LICENSEPiotr Dobrowolski2017-02-151-0/+20
|
* Add deployment infoPiotr Dobrowolski2017-01-202-0/+23
|