seb
8a7500cb5a
u
2026-10-01 10:19:16 +02:00
seb
120e59631e
u
2026-09-30 22:37:34 +02:00
seb
caacbe4968
u
2026-09-30 17:35:20 +02:00
seb
82cc138ba6
u
2026-09-30 09:47:59 +02:00
seb
1de802fbaa
u
2026-09-29 20:10:46 +02:00
seb
63af77eab3
u
2026-09-29 18:26:40 +02:00
seb
7f3558b4cb
u
2026-09-29 16:16:03 +02:00
seb
cf4af1480b
u
2026-09-29 11:21:55 +02:00
seb
d2aa9ff8b1
u
2026-09-27 22:01:47 +02:00
seb
68b793c9ba
u
2026-09-27 21:01:20 +02:00
seb
3e64fff747
u
2026-09-27 16:19:43 +02:00
seb
69f27a2942
u
2026-09-26 23:06:09 +02:00
seb
37828fdef9
u
2026-09-24 23:26:50 +02:00
seb
a46e9742f4
sqlite
2026-09-22 07:25:11 +02:00
seb
15664223ee
u
2026-09-20 16:33:38 +02:00
seb
dff254e923
errorlog
2026-09-20 13:14:55 +02:00
seb
37a676bb50
file api
2026-09-19 06:34:11 +02:00
seb
adb529d14f
feat(api): add GET and POST /supplier/:id/articles endpoints and openapi docs
2026-09-18 02:54:06 +02:00
seb
fe8fa55fbb
feat(api): implement articlesupplier endpoints, sort reordering, and openapi docs
2026-09-17 12:38:16 +02:00
seb
49efd5f8a1
u
2026-09-17 11:46:22 +02:00
seb
57420ac0db
Add company settings and number sequence API routes
...
- Add CompanySetting routes (list, get, set) backed by company-scoped store
- Add Number routes (list, update) for managing number sequences
- Register new store namespaces for numbers and companysetting
- Add CompanySetting and NumberSequence schemas to OpenAPI
- Regenerate API docs and index for the new routes
2026-08-08 09:01:28 +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
57fd3b4837
Add customergroup bulk reorder and list editable flag.
...
Expose PUT /customergroup/order for exact-set sort updates, keep create/update name-only, and mark POS/Lieferanten as non-editable in list responses.
2026-08-07 03:40:40 +02:00
seb
cdae7b6eab
Add quote and order HTTP APIs on manifest documents.
...
Expose store-backed CRUD for quotes and sales orders with shared ManifestLine shapes, entityId customers, and documented date semantics.
2026-08-06 19:58:25 +02:00
seb
74269cd3ef
Add customergroup and entity HTTP APIs with address and contact routes.
...
Expose store-backed CRUD for customer groups, entities, nested addresses, and contacts, matching the documented dashdbschema contracts.
2026-08-06 07:38:05 +02:00
seb
1860f38640
Add delivery and supplier HTTP APIs with expanded response docs.
...
Wire store-backed CRUD for goods receipts and suppliers, and teach the API doc generator to expand $ref/allOf/array samples so route markdown shows full JSON shapes.
2026-08-06 05:32:48 +02:00
seb
fc2b136c46
Store Google avatar bytes and slim the session JWT to id only.
...
Download profile images on login into picturebinary, return them as base64 from /auth/me, and resolve sessions via getById.
2026-08-05 11:12:36 +02:00
seb
c78237a1dd
Persist Google picture and sub on login via setProfile.
...
Store profile fields from the verified ID token and read picture from the DB on authenticated requests.
2026-08-05 11:04:44 +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
4a9403bfd1
export
2026-08-04 01:24:19 +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
a4b78ad6d5
feat: add posterminal API endpoints
...
- Add posterminal to STORE_NAMESPACES for timing wrappers
- Create db/posterminal.js wrapper for store methods
- Create routes/posterminal.js with all endpoints:
- GET /api/posterminal - list terminals
- PUT /api/posterminal - create terminal (name only, pin randomized)
- DELETE /api/posterminal/:id - delete terminal
- PUT/DELETE /api/posterminal/:id/category/:categoryId - toggle category
- PUT/DELETE /api/posterminal/:id/categories - toggle all categories
Closes #<issue-number>
2026-08-03 06:32:39 +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
bfb1d8762a
Add unit API and article unitamount/unitSi patch.
...
Units use the selected company; article PATCH accepts name/unitamount/unitSi.
2026-08-01 06:15:30 +02:00
seb
8a94abf1c9
Add PUT /article/:sku/prices for POS price replace-all.
2026-08-01 05:17:33 +02:00
seb
e8d8846de7
u
2026-08-01 03:39:10 +02:00
seb
067503f4ed
u
2026-08-01 02:15:29 +02:00
seb
c77337507f
u
2026-07-31 20:10:14 +02:00
seb
1a05a5b7d6
u
2026-07-31 18:20:54 +02:00
seb
63df454861
u
2026-07-31 17:52:04 +02:00
seb
18ee68312f
u
2026-07-31 09:12:36 +02:00
seb
043305c04c
u
2026-07-31 07:07:12 +02:00
seb
db8b192094
u
2026-07-31 05:54:13 +02:00
seb
3bff749b49
reshape search
2026-06-29 10:23:32 +02:00
seb
9b11a8a24c
services
2026-06-24 09:50:08 +02:00
seb
185b68fe52
search
2026-06-24 09:37:34 +02:00
seb
667f498573
Genesis
2026-06-23 11:04:07 +02:00