Commit Graph
62 Commits
Author SHA1 Message Date
rasmus 6618101064 fix comparing groups 2025-12-22 20:08:06 +02:00
rasmus e9d058f5f1 await not that cursed 2025-12-22 19:20:40 +02:00
rasmus 0caaf7cd10 py typing is cursed 2025-12-22 19:16:53 +02:00
rasmus 7856b2bf3a fix sanic/flask deprecation/confusion 2025-12-22 18:20:00 +02:00
rasmus 5a0c4cfce3 Merge pull request 'doorboy-direct' (#5) from doorboy-direct into master
Reviewed-on: #5
Reviewed-by: Arti Zirk <arti@k-space.ee>
2025-12-22 15:39:11 +00:00
rasmus 4e493069ab groups doc 2025-08-08 06:25:53 +03:00
rasmus f5cfb3454a slack /open-xxx from inventory-app 2025-08-08 05:33:17 +03:00
rasmus eeeb5ecace refactor listen 2025-08-08 03:57:20 +03:00
rasmus e52a8af0b4 rename token to card (eventlog)
not renaming inventory items, as they
need migration

refactor eventlog format, harmonized
with inventory-app
2025-08-08 03:46:37 +03:00
rasmus 5afee284b7 python imports hell 2025-08-08 03:46:37 +03:00
rasmus abffe7c594 fmt with ruff 2025-08-08 03:46:37 +03:00
rasmus d6807e3f01 move /cards from inventory-app 2025-08-08 03:46:37 +03:00
rasmus eebfc9efe6 refactor auth to wrapper 2025-08-08 03:46:37 +03:00
rasmus ed7c3f0607 Move /swipe from inventory-app 2025-08-08 03:46:37 +03:00
rasmus 988b7e964e refactor slack logger 2025-08-08 03:46:37 +03:00
rasmus 55ca235946 tiny refactor /longpoltiny and /longpolll 2025-08-08 03:46:33 +03:00
rasmus 829da1f55f disable /open-door-events
not in use anywhere
rename to /logs
2025-08-07 20:43:45 +03:00
rasmus 2670a93179 link to docs 2025-06-02 18:18:03 +03:00
madis 8b7e220ec4 Add door open events endpoint
ci/woodpecker/manual/woodpecker Pipeline was successful
2024-10-04 21:40:02 +03:00
lauri a961f170d9 Fix swipe reporting
ci/woodpecker/push/woodpecker Pipeline was successful
2023-09-05 17:41:58 +03:00
madis 043653760e Add missing swipe uri
ci/woodpecker/push/woodpecker Pipeline was successful
2023-08-24 20:35:07 +03:00
madis 094eafa9da Add swipe proxy endpoint
ci/woodpecker/push/woodpecker Pipeline was successful
2023-08-18 04:08:02 +03:00
madis 13faabf01f Add approval checking
ci/woodpecker/manual/woodpecker Pipeline was successful
2023-08-11 18:20:01 +03:00
madis f0ca73329b Remove mongo uri default
ci/woodpecker/push/woodpecker Pipeline was successful
2023-08-10 20:46:38 +03:00
madis 59bfcfff77 Fix reponse already sent error 2023-08-10 20:45:24 +03:00
madis b0d0505000 Fix groups checking
ci/woodpecker/push/woodpecker Pipeline was successful
2023-08-10 19:42:18 +03:00
madis fd74c294b1 Fix key checking 2023-08-10 19:35:43 +03:00
madis e496cddcf5 Give inventory api key in request
ci/woodpecker/push/woodpecker Pipeline was successful
2023-08-02 00:32:17 +03:00
madis 0fd17b7cbb Fix key check
ci/woodpecker/push/woodpecker Pipeline was successful
2023-08-01 23:02:58 +03:00
madis 37027baf3e Fix longpoll tokens check
ci/woodpecker/push/woodpecker Pipeline was successful
2023-08-01 22:51:36 +03:00
madis e6b191a99e Add woodpecker pipeline file
ci/woodpecker/push/woodpecker Pipeline failed
ci/woodpecker/manual/woodpecker Pipeline was successful
2023-08-01 22:25:31 +03:00
madis 26a602a282 Use separate workhop and floor keys 2023-08-01 22:21:57 +03:00
madis 63a8b9e5f7 Read cards endpoint uri from env 2023-07-30 13:17:14 +03:00
madis e7a0496f4e Change allowed endpoint to use inventory api 2023-07-30 13:05:02 +03:00
lauri 55061baea0 Enable access log
continuous-integration/drone Build is failing
2022-12-17 15:24:13 +02:00
lauri a9051b3f29 Run as single process
continuous-integration/drone Build is passing
2022-12-17 13:47:36 +02:00
lauri 922ee388ea Prepare for Kubernetes migration
continuous-integration/drone Build is passing
2022-12-17 12:46:39 +02:00
lauri 1acc7e2ea9 Switch to new base image
continuous-integration/drone Build is passing
2022-05-06 22:09:21 +03:00
lauri 9e7c49884a Modernize whole stack 2022-02-22 08:49:35 +02:00
lauri 1150fc2998 Add Drone config 2022-02-12 00:56:48 +02:00
lauri ff1dd40c4d Fix MongoDB event loop handling 2021-10-26 17:17:48 +00:00
madis c61f8175e6 Drop gunicorn and bind to 0.0.0.0 (#12)
Reviewed-on: #12
Co-authored-by: Madis Mägi <madis.magi@k-space.ee>
Co-committed-by: Madis Mägi <madis.magi@k-space.ee>
2021-10-26 16:37:57 +00:00
madis 8cf4bf7a45 Remove host argument 2021-10-26 18:01:56 +03:00
madis 831531cf0d Set port to 5000 2021-10-26 17:18:23 +03:00
madis bb3046db6a Remove event loop customization (#11)
Reviewed-on: #11
Co-authored-by: Madis Mägi <madis.magi@k-space.ee>
Co-committed-by: Madis Mägi <madis.magi@k-space.ee>
2021-10-26 13:58:34 +00:00
madis 8a63100dc8 Fix owner field usage (#10)
Reviewed-on: #10
Co-authored-by: Madis Mägi <madis.magi@k-space.ee>
Co-committed-by: Madis Mägi <madis.magi@k-space.ee>
2021-10-26 10:50:27 +00:00
madis 91ae9dfcd5 Add Jenkinsfile 2021-10-17 10:38:28 +03:00
lauri de5fd083a6 Update deployment instructions 2021-06-12 20:52:19 +00:00
lauri 496df2db02 Rename main script to doorboy.py 2021-06-12 20:00:04 +00:00
lauri f068ae19ac Simplify and clean up 2021-04-04 18:56:44 +00:00