Mykhailo Yermolenko
e6fc5cb85f
Add keep_open_until to /allowed for hold-door; fix 9 bugs
...
/allowed returns keep_open_until from the newest approved hold in
doorlog; /longpoll skips hold events to avoid spurious open pulses.
Fixes: assert->raise for SECRET check, text() on 403, remove dead
/logs code, flatten auth decorator, by_slackid None fallback, load
kube config once, guard missing slack command, backoff on PyMongoError,
mongo->mongosh.
2026-06-17 16:42:54 +03:00
1e93eabf0e
filter out disabled cards
...
whoopsies
Closes k-space/doorboy-proxy#4
2026-06-12 02:30:41 +03:00
1d6fc9fd6f
migrate to userExtra
2026-06-12 00:39:44 +03:00
6b633af95e
fix deprecation
2026-06-12 00:20:36 +03:00
37bcfa2ee2
user to only username
2026-06-12 00:20:34 +03:00
c5d4f603e2
fix slack-kube auth
...
1. reorder slack auth methods
2. refactor + fix kube slack lookup
2026-06-11 23:03:35 +03:00
973c6ac390
s/eventlog/doorlog/
2026-06-11 21:28:40 +03:00
c7e053b500
waiting is my passion
2025-12-23 01:25:12 +02:00
912cd08660
half-typing is not my passion
2025-12-23 01:17:46 +02:00
caab5e6ea9
time is my passion
2025-12-23 00:57:12 +02:00
b15888d19e
advertise door name in log
2025-12-22 22:40:31 +02:00
6446829e74
fix token iteration and passing to godoor
2025-12-22 22:40:11 +02:00
e9d058f5f1
await not that cursed
2025-12-22 19:20:40 +02:00
0caaf7cd10
py typing is cursed
2025-12-22 19:16:53 +02:00
7856b2bf3a
fix sanic/flask deprecation/confusion
2025-12-22 18:20:00 +02:00
4e493069ab
groups doc
2025-08-08 06:25:53 +03:00
f5cfb3454a
slack /open-xxx from inventory-app
2025-08-08 05:33:17 +03:00
eeeb5ecace
refactor listen
2025-08-08 03:57:20 +03:00
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
5afee284b7
python imports hell
2025-08-08 03:46:37 +03:00
abffe7c594
fmt with ruff
2025-08-08 03:46:37 +03:00
d6807e3f01
move /cards from inventory-app
2025-08-08 03:46:37 +03:00
eebfc9efe6
refactor auth to wrapper
2025-08-08 03:46:37 +03:00
ed7c3f0607
Move /swipe from inventory-app
2025-08-08 03:46:37 +03:00
988b7e964e
refactor slack logger
2025-08-08 03:46:37 +03:00
55ca235946
tiny refactor /longpoltiny and /longpolll
2025-08-08 03:46:33 +03:00
829da1f55f
disable /open-door-events
...
not in use anywhere
rename to /logs
2025-08-07 20:43:45 +03:00
8b7e220ec4
Add door open events endpoint
2024-10-04 21:40:02 +03:00
a961f170d9
Fix swipe reporting
2023-09-05 17:41:58 +03:00
043653760e
Add missing swipe uri
2023-08-24 20:35:07 +03:00
094eafa9da
Add swipe proxy endpoint
2023-08-18 04:08:02 +03:00
13faabf01f
Add approval checking
2023-08-11 18:20:01 +03:00
f0ca73329b
Remove mongo uri default
2023-08-10 20:46:38 +03:00
59bfcfff77
Fix reponse already sent error
2023-08-10 20:45:24 +03:00
b0d0505000
Fix groups checking
2023-08-10 19:42:18 +03:00
fd74c294b1
Fix key checking
2023-08-10 19:35:43 +03:00
e496cddcf5
Give inventory api key in request
2023-08-02 00:32:17 +03:00
0fd17b7cbb
Fix key check
2023-08-01 23:02:58 +03:00
37027baf3e
Fix longpoll tokens check
2023-08-01 22:51:36 +03:00
26a602a282
Use separate workhop and floor keys
2023-08-01 22:21:57 +03:00
63a8b9e5f7
Read cards endpoint uri from env
2023-07-30 13:17:14 +03:00
e7a0496f4e
Change allowed endpoint to use inventory api
2023-07-30 13:05:02 +03:00
55061baea0
Enable access log
2022-12-17 15:24:13 +02:00
a9051b3f29
Run as single process
2022-12-17 13:47:36 +02:00
922ee388ea
Prepare for Kubernetes migration
2022-12-17 12:46:39 +02:00