160 Commits
Author SHA1 Message Date
madis 0ab5fc4570 Add contained items tree view 2025-07-19 03:28:56 +03:00
madis afc439e245 Handle sessions without refresh token 2025-07-13 21:36:36 +03:00
madis e55773266b Handle tokens not in idp response 2025-07-13 20:03:39 +03:00
madis bfd0fba2ee Add token refresh 2025-07-12 19:08:51 +03:00
rasmus 9c5dcbf737 Missing image in list
icon a bit misleading indeed
2025-06-28 23:41:24 +03:00
rasmus f0ad9524c5 Linkify location in item view 2025-06-28 23:41:21 +03:00
rasmus 113f72b2e8 add k6 ref to ground door 2025-06-24 18:45:27 +03:00
rasmus 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
rasmus 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
rasmus 5bf61cc0bb fixup tags, and make public 2025-06-11 06:21:16 +03:00
rasmus 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
rasmus 8ebd7f05e2 md: link to wiki doors docs 2025-06-02 18:16:25 +03:00
rasmus 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
rasmus cb35fa4526 login: quick refactor 2025-06-02 17:44:54 +03:00
rasmus f523a56500 login: fix redirect loop when redirect_url="", yet set
Occured when logging in from homepage.
2025-06-02 17:44:54 +03:00
rasmus 615a1afa68 fixup name format format 2025-06-01 15:11:29 +03:00
rasmus 143f213a28 reword Log in callouts 2025-06-01 15:08:03 +03:00
rasmus 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
rasmus 5e4e53b889 Inventory / link: don't exclude
This has caused confusion.
2025-06-01 14:44:45 +03:00
rasmus 6e4629b81f lint: autoflake 2025-05-31 14:11:29 +03:00
rasmus 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
rasmus d6efdb607a public: quick refactor 2025-05-31 02:38:09 +03:00
rasmus 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
rasmus 60013b42f2 Add link to wiki 2025-05-31 01:54:52 +03:00
rasmus d973066b21 edit: pointer to image upload 2025-05-31 01:44:13 +03:00
rasmus 88c7e49850 Rename slug to sticker 2025-05-31 01:44:13 +03:00
rasmus 88b8519ff6 /m/doorboy: quick refactor 2025-05-31 01:44:10 +03:00
rasmus b038f526ee doorkeys: don't dump db to logs 2025-05-26 01:54:29 +03:00
rasmus 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
rasmus 35dc28a8f5 List type before name 2025-05-25 21:35:01 +03:00
rasmus d85f49bd26 Machine listing name: use name field
People started moving name to comment instead.
2025-05-25 21:33:42 +03:00
rasmus fbe8681a23 fix mac links: now to Grafana 2025-05-25 17:19:47 +03:00
rasmus bdea1b9fce State doctype 2025-05-10 03:53:12 +03:00
rasmus 34a830e710 exclude location by default 2025-04-11 20:51:13 +03:00
madis 5f7c4b1e40 Rename private visibility to secret
ci/woodpecker/push/woodpecker Pipeline was successful
2025-01-26 00:27:49 +02:00
madis c7ae5e3065 Change visibility logic
ci/woodpecker/push/woodpecker Pipeline was successful
2025-01-26 00:00:34 +02:00
madis 48ad03f1a1 Make unlisted default explicitly 2025-01-24 22:19:39 +02:00
rasmus d21bcd9d82 remove description
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
rasmus 04a7e18e55 make unlisted the default
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
madis 3b9e52199f Handle private visibility in item view
ci/woodpecker/push/woodpecker Pipeline was successful
2025-01-20 23:31:33 +02:00
madis f322ba842c Update docker image to jammy
ci/woodpecker/push/woodpecker Pipeline was successful
2025-01-20 22:53:20 +02:00
madis 464abb8732 Add unlisted visibility level
ci/woodpecker/push/woodpecker Pipeline was successful
2025-01-20 22:46:35 +02:00
rasmus 225ee04ca7 navber: add 'Add Item'
ci/woodpecker/push/woodpecker Pipeline was successful
2024-12-26 05:43:39 +02:00
madis e53c5eb2e4 Pin K-SPACE to user fields top
ci/woodpecker/push/woodpecker Pipeline was successful
2024-12-24 04:33:43 +02:00
madis efe1be9056 Add location field
ci/woodpecker/push/woodpecker Pipeline was successful
2024-12-24 02:19:01 +02:00
rasmus 832febd4f2 doc: RECAPTCHA_PRIVATE_KEY is test
ci/woodpecker/push/woodpecker Pipeline was successful
2024-12-01 17:58:48 +02:00
rasmus 4baad64e9e Add SRI for missing items. 2024-12-01 17:58:29 +02:00
madis 5c134ed566 Support assigning macs to existing items
ci/woodpecker/push/woodpecker Pipeline was successful
2024-11-21 12:42:07 +02:00
madis 4fa4edb637 Log slack door open time
ci/woodpecker/push/woodpecker Pipeline was successful
2024-10-31 21:20:13 +02:00
madis 7b6921e44d Optimize slack door open
ci/woodpecker/push/woodpecker Pipeline was successful
2024-10-31 20:02:08 +02:00