Commit Graph
43 Commits
Author SHA1 Message Date
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 k-space/inventory-app#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
rasmus d21bcd9d82 remove description
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
The idea for public was to pick up highlights for the public listing.
2025-01-22 20:01:42 +02:00
rasmus 225ee04ca7 navber: add 'Add Item' 2024-12-26 05:43:39 +02:00
rasmus 832febd4f2 doc: RECAPTCHA_PRIVATE_KEY is test 2024-12-01 17:58:48 +02:00
rasmus 4baad64e9e Add SRI for missing items. 2024-12-01 17:58:29 +02:00
rasmus 2e65cb7407 Document k6.ee provider 2024-09-13 21:26:46 +03:00
rasmus f817fde37e Rm unused slack callback, refactor spam() to slack_post()
Follow-up to d554fae7cd
2024-07-28 20:09:39 +03:00
rasmus f1cb8e6cfe hotfix loging logic 2023-08-17 22:32:07 +03:00
rasmus ffa61f2ed1 comments for doorboy log channel 2023-08-17 22:21:13 +03:00
rasmus 66742ad577 Revert "add logging for wrong token"
This reverts commit 2134512805.
2023-08-17 22:09:43 +03:00
rasmus cdfe6373e1 add /open-all-doors 2023-08-17 22:04:20 +03:00
rasmus 2134512805 add logging for wrong token 2023-08-17 21:49:10 +03:00
rasmus f52062709c change slack env names again 2023-08-17 21:29:07 +03:00
rasmus 9b6eb9e10b move callback to env 2023-08-17 21:13:42 +03:00