Commit Graph

166 Commits

Author SHA1 Message Date
fb8c63e86f move static env to dockerfile 2025-08-08 06:11:55 +03:00
14a5e8e42d rm SECRET_KEY 2025-08-08 05:51:57 +03:00
f0109677b0 doc k-space:floor hardcoded 2025-08-08 05:51:57 +03:00
ac14ca1adf move slack_listen to doorboy-proxy 2025-08-08 05:51:54 +03:00
76cc8e6883 move /cards to doorboy-proxy + refactor mongo format 2025-08-08 03:34:06 +03:00
ee064bde2d move /m/doorboy/swipe to doorboy-proxy 2025-08-07 23:59:11 +03:00
6bba3f9831 doorboy: merge status, success and approved 2025-08-07 23:51:52 +03:00
afc439e245 Handle sessions without refresh token 2025-07-13 21:36:36 +03:00
e55773266b Handle tokens not in idp response 2025-07-13 20:03:39 +03:00
bfd0fba2ee Add token refresh 2025-07-12 19:08:51 +03:00
9c5dcbf737 Missing image in list
icon a bit misleading indeed
2025-06-28 23:41:24 +03:00
f0ad9524c5 Linkify location in item view 2025-06-28 23:41:21 +03:00
113f72b2e8 add k6 ref to ground door 2025-06-24 18:45:27 +03:00
9c6902c5a2 alias add-slug to add-by-slug
Nobody was really picking. Slug can be assigned to existing item by editing it (possibly button to scan-in-web on the item's page).

This skips a page load + button press, and speeds up inventorying. Aliasing done on goredirect side.
2025-06-24 18:45:23 +03:00
43244f2856 rm clone-with-slug
Clones are rare, cloning is broken.
It makes more sense to clone from an item's page.
2025-06-13 04:47:58 +03:00
5bf61cc0bb fixup tags, and make public 2025-06-11 06:21:16 +03:00
7a773d3eca k6 links: https
Previously only http:// worked.
QR-code is kept http://, as the stickers were generated such.
2025-06-10 23:35:30 +03:00
8ebd7f05e2 md: link to wiki doors docs 2025-06-02 18:16:25 +03:00
75e9d1ceb8 cleanup unused endpoints
rm /users - not used by any API user
rm /audit - replaced by visibility state few commits ago
2025-06-02 18:12:28 +03:00
cb35fa4526 login: quick refactor 2025-06-02 17:44:54 +03:00
f523a56500 login: fix redirect loop when redirect_url="", yet set
Occured when logging in from homepage.
2025-06-02 17:44:54 +03:00
615a1afa68 fixup name format format 2025-06-01 15:11:29 +03:00
143f213a28 reword Log in callouts 2025-06-01 15:08:03 +03:00
af524f29d0 rm owner_disabled, user_disabled
- Not functional as OIDC is external.
- Inventory is checked as part of offboarding.
- Easily spottable as already offboarded users don't have full names.
2025-06-01 15:07:59 +03:00
5e4e53b889 Inventory / link: don't exclude
This has caused confusion.
2025-06-01 14:44:45 +03:00
6e4629b81f lint: autoflake 2025-05-31 14:11:29 +03:00
86672b5033 abolish default owner
Default owner has lead to mistakingly taking ownership of items while inventorying,
abrading the field's value.

Closes #29
2025-05-31 14:11:21 +03:00
d6efdb607a public: quick refactor 2025-05-31 02:38:09 +03:00
491e80f7dd rename visibilities once again
to match with vision in https://wiki.k-space.ee/en/about/inventory

Upper case makes more sense, as it is displayed straight to user.
Renamed on database-side as well.
2025-05-31 02:25:33 +03:00
60013b42f2 Add link to wiki 2025-05-31 01:54:52 +03:00
d973066b21 edit: pointer to image upload 2025-05-31 01:44:13 +03:00
88c7e49850 Rename slug to sticker 2025-05-31 01:44:13 +03:00
88b8519ff6 /m/doorboy: quick refactor 2025-05-31 01:44:10 +03:00
b038f526ee doorkeys: don't dump db to logs 2025-05-26 01:54:29 +03:00
971920f94c Reformat inventory view
This should all deserve flex
..or move to off the shelf inventory sofwtare
2025-05-26 01:54:24 +03:00
35dc28a8f5 List type before name 2025-05-25 21:35:01 +03:00
d85f49bd26 Machine listing name: use name field
People started moving name to comment instead.
2025-05-25 21:33:42 +03:00
fbe8681a23 fix mac links: now to Grafana 2025-05-25 17:19:47 +03:00
bdea1b9fce State doctype 2025-05-10 03:53:12 +03:00
34a830e710 exclude location by default 2025-04-11 20:51:13 +03:00
5f7c4b1e40 Rename private visibility to secret
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2025-01-26 00:27:49 +02:00
c7ae5e3065 Change visibility logic
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2025-01-26 00:00:34 +02:00
48ad03f1a1 Make unlisted default explicitly 2025-01-24 22:19:39 +02:00
d21bcd9d82 remove description
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Was confused with the comment field,
only used for 14 items, which I
manually merged without problems.
2025-01-22 21:01:59 +02:00
04a7e18e55 make unlisted the default
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
The idea for public was to pick up highlights for the public listing.
2025-01-22 20:01:42 +02:00
3b9e52199f Handle private visibility in item view
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2025-01-20 23:31:33 +02:00
f322ba842c Update docker image to jammy
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2025-01-20 22:53:20 +02:00
464abb8732 Add unlisted visibility level
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2025-01-20 22:46:35 +02:00
225ee04ca7 navber: add 'Add Item'
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2024-12-26 05:43:39 +02:00
e53c5eb2e4 Pin K-SPACE to user fields top
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2024-12-24 04:33:43 +02:00