View Issue Details

IDProjectCategoryView StatusLast Update
0008839Talermerchant backendpublic2024-08-28 21:31
ReporterChristian Grothoff Assigned Tosebasjm Resolution deadline
ImplementerReviewer 
Release signed byDeployed by 
VerifierCommunicator 
Data protection authority notification requiredNo  
CSIRT notification requiredNo  
Estimated effort (hours)Actual effort (hours)0 
Fast-trackNo
Work packagenone
PrioritynormalSeverityfeatureReproducibilityN/A
Status closedResolutionfixed 
Platformi7OSDebian GNU/LinuxOS Versionsqueeze
Product Versiongit (master) 
Target Version0.13Fixed in Version0.13 
Summary0008839: add support for product categories [16hs]
DescriptionTo fully support the new '/pos' endpoint, we need to add support for product categories to the merchant (backend and SPA).

A product can be in multiple categories.

A category has a name and translations (i18n-style) of that name into various languages.

I think this means we need a new categories table (with serial number, instance, category name, and JSON translations) and a new column in products with the category serial number. Plus CRUD API for categories, plus expanding inventory management to allow setting/editing the categories (zero or more!) for each product.

Ivan / Sebastian: it would be great if you could do the necessary modifications (schema change, new endpoints, spec of new endpoints, SPA) between the two of you. Happy to review merchant backend code changes if you put them into a branch.

estimation:
 - add API support in taler-util [2hs]
 - create CRUD pages [8hs]
 - update product create/update to change categories [4hs]
TagsNo tags attached.

Required notifications

Address or linkRemarkAdded byNotifiedActions

Relationships

related to 0008969 closedChristian Grothoff various merchant backend category bugs 
child of 0008834 closednullptrderef merchant backend should be able to generate PoS config JSON from inventory 

Activities

Christian Grothoff

2024-05-25 22:00

manager   ~0022470

Started to work on backend changes now...

Christian Grothoff

2024-05-26 13:22

manager   ~0022471

Backend is done now, but could use more tests. Note that I had to fix a bug in libgnunetpq, so update that, too, before using the new code...

sebasjm

2024-08-01 15:17

developer   ~0022896

fixed some backend issues and created api integration and crud pages
missing product integration

f7a5cd202..0ef0be7ea

sebasjm

2024-08-02 13:38

developer   ~0022898

07bce9342..8031e4bb5

Issue History

Date ModifiedUsernameFieldChange
2024-05-13 11:49Christian GrothoffNew Issue
2024-05-13 11:49Christian GrothoffStatusnew => assigned
2024-05-13 11:49Christian GrothoffAssigned To => sebasjm
2024-05-13 11:49Christian GrothoffRelationship addedchild of 0008834
2024-05-25 22:00Christian GrothoffAssigned Tosebasjm => Christian Grothoff
2024-05-25 22:00Christian GrothoffNote Added: 0022470
2024-05-26 13:22Christian GrothoffAssigned ToChristian Grothoff => sebasjm
2024-05-26 13:22Christian GrothoffNote Added: 0022471
2024-05-26 13:23Christian GrothoffTarget Version0.14 => 0.12
2024-06-16 20:36sebasjmSummaryadd support for product categories => add support for product categories [16hs]
2024-06-16 20:36sebasjmDescription Updated
2024-06-19 16:15sebasjmTarget Version0.12 => 0.13
2024-06-20 21:24sebasjmRelationship addedrelated to 0008969
2024-08-01 15:17sebasjmNote Added: 0022896
2024-08-01 15:18sebasjmStatusassigned => implementing
2024-08-02 13:38sebasjmStatusimplementing => informing
2024-08-02 13:38sebasjmResolutionopen => fixed
2024-08-02 13:38sebasjmNote Added: 0022898
2024-08-26 20:29Christian GrothoffFixed in Version => 0.13
2024-08-28 21:31Christian GrothoffStatusinforming => closed
2025-03-22 13:09Christian GrothoffCategorymechant backend => merchant backend