Commit Graph

24 Commits

Author SHA1 Message Date
seb
5a5981dc07 u 2026-10-20 23:16:45 +02:00
seb
77367b7716 u 2026-10-12 18:36:55 +02:00
seb
7f8661be3e u 2026-10-10 02:08:10 +02:00
seb
8111c3f377 u 2026-10-08 16:11:47 +02:00
seb
7d537aaa6b u 2026-10-07 21:23:10 +02:00
seb
cbd7920eb6 u 2026-10-07 11:41:15 +02:00
seb
3ac713732c u 2026-10-04 21:22:02 +02:00
seb
43fa8ea105 u 2026-10-04 11:25:17 +02:00
seb
956fadcc8d u 2026-09-30 23:11:01 +02:00
seb
120e59631e u 2026-09-30 22:37:34 +02:00
seb
82cc138ba6 u 2026-09-30 09:47:59 +02:00
seb
b92e2deb41 u 2026-09-29 13:44:14 +02:00
seb
e6c24654dd Align store calls with selected-company scoping and add entity numbers.
Drop companyId from company-scoped store wrappers and routes, add GET /entity/next-number plus optional number on entity create/update, and document dashdbschema API.md lookup in sibling-repos.
2026-08-07 06:22:13 +02:00
seb
782c49a680 Add article history by SKU and SSE update signals for live clients.
Expose getHistoryBySku as GET /article/:sku/history, and document mutation-emitted company signals via GET /events.
2026-08-05 09:54:56 +02:00
seb
c6cb1bc229 feat: add article search index endpoint and category export.zip
- Add GET /api/articleIndex returning the article search index (listSearchIndex)
- Add GET /api/category/export.zip returning a kategorien.zip with a
  Windows-1252 CSV (depth-first, Ebene N columns) plus one AVIF per category image
  (content-addressed, deduplicated) using jszip
2026-08-04 00:30:32 +02:00
seb
a3f8ff0e93 feat: add category image upload/delete endpoints
- POST /category/:id/image - upload AVIF image for a category
- DELETE /category/:id/image - remove category image
- Returns { category: { id, fullHash, thumbW, thumbH, thumbHash } }
- Full image stored as-is when AVIF ≤1000x1000, otherwise scaled
- Thumb always scaled to max 200x200
2026-08-03 07:38:38 +02:00
seb
f2b6715961 Remove dedicated POST /category/:id/move route.
Dropping the standalone move endpoint; category relocation is now covered
by PATCH /category/:id via parentId (merged with name rename). Removes the
move route docs and regenerates API docs.
2026-08-03 03:07:50 +02:00
seb
c8f6936aa6 Extend PATCH /category/:id to also move (parentId) alongside rename.
PATCH now accepts name (rename, re-slugify) and/or parentId (move under a
new parent, cycle/self guarded), merging both results. Renames the PATCH
docs file to category/update.md and regenerates API docs.
2026-08-03 03:05:45 +02:00
seb
faefa3b9cf Add POST /category/:id/move to relocate a category.
Wires up the existing category.move store method (validates source and
target in the same company, rejects self/descendant cycles, assigns the
next sibling sort) behind an authenticated HTTP route, plus @openapi
docs and regenerated API docs.
2026-08-03 03:01:53 +02:00
seb
a0f9a8a716 Add PUT /category/order to reorder sibling categories.
Wires up existing category.order store method (validates categoryIds are
exactly the current children of parentId, sets each child sort to its
index in one transaction) behind an authenticated HTTP route, plus
@openapi docs and regenerated API docs.
2026-08-02 19:42:54 +02:00
seb
aed0857f23 u 2026-08-02 19:04:56 +02:00
seb
6074aa7304 u 2026-07-31 18:25:42 +02:00
seb
63df454861 u 2026-07-31 17:52:04 +02:00
seb
18ee68312f u 2026-07-31 09:12:36 +02:00