Commit Graph

52 Commits (master)

Author SHA1 Message Date
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
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 f4f76f888e Merge branch 'master' of https://code.hackerspace.pl/q3k/bitvend into usb-interface 2020-06-22 14:11:07 +02:00
informatic 494f5ef2bc WIP vending v2 with serial backend 2020-06-21 23:20:14 +02: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 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 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
informatic 1c16ee9d74 auth: Full capability caching 2017-04-21 17:28:01 +02:00
informatic 5e12ab2b39 auth: auth.hackerspace.pl is case insensitive... 2017-04-21 17:27:19 +02:00
informatic 25cf3f6a1c template: Add missing javascript 2017-04-21 16:59:12 +02:00
informatic c64de735c7 Initial admin interface 2017-04-12 01:21:52 +02:00
informatic 24da996fe6 Add caps check 2017-04-12 00:38:32 +02:00
informatic ba98a32eb3 Table .placeholder styling 2017-04-08 12:59:24 +02:00
informatic 23370b41d9 Templates cleanup, pagination, transactions list, hallofshame 2017-04-07 17:34:09 +02:00
informatic 30b8bfbada Template cleanup 2017-04-07 15:45:33 +02:00
informatic 644019c990 Add current user check in transfer 2017-04-07 15:43:38 +02:00
informatic ddeb9f522a Fix bitcoin transactions 2017-04-06 17:35:56 +02:00
informatic 0543a74223 Fix formatting 2017-04-05 20:37:38 +02:00
informatic 15428910fa Transfers implementation 2017-04-05 20:15:50 +02:00
informatic 32caeed871 Rewrite, user authentication 2017-04-05 00:26:26 +02:00
informatic 9209cd077a Add subsystems status display 2017-01-17 01:05:45 +01:00
informatic 69f66c2f62 Render QRCodes in separate requests, migrate to blockcypher 2017-01-16 23:40:41 +01:00
informatic 0d60acf4c9 Refactor out clean python mdb implementation from bitvend 2017-01-14 02:48:07 +01:00