All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- cleanRoomTime
- scanner page v2
- serial numbers
- added order and product/partnuber statistics functionalities
- added second source of truth (besides Excel spreadsheet)
- added
orderStatistics
model - added
productStatistics
model - added
partnumberConfig
model - added
getAllOrderNumbers
controller - added
getAllPartNumbers
controller - added
addOneOrderStatistics
controller - added
addOneProductStatistics
controller - added
addOrUpdateOneProductStatistics
controller - added
updateOneOrderStatistics
controller - added
updateOneProductStatistics
controller - created
getSuggestedTimesForPartnumber
controller STUB (WIP) - added
addPartnumberConfig
controller - added
getPartnumberConfig
controller - added
updatePartnumberConfig
controller - added GET
/api/orders/ordernumbers
route - added GET
/api/orders/partnumbers
route - added GET
/api/pnconfig
route - added PUT
/api/pnconfig
route - added POST
/api/pnconfig
route
- new big functionality -
order statistics
(orders list, order details, brand new calculations, and 25 services to support all of it)
- added automatic order closing if scan quantity is reached
- refactored import of keys to require statement to use in conditional logic
- refactored all to typescript
- removed if-else statement that was causing bug in redirection update (for redirections that are not attached to any product)
- updated Product model via hook to populate() with linksToRedirs after save()
- added linksToRedirs populate in changeProduct function
- added linksToRedirs populate in addLink function
- removed if-else statement that was causing bug in redirection delete (for redirections that are not attached to any product)
-
added updating many products nested arrays (via PUT
/api/product/redirection/:_id
route) with one redirection (in one request without a loop) -
added fetching redirection details with attached products (via GET
/api/redirwithprods/:_id
route)
- updated delete redirection code to wipe out deleted redirection from arrays in products that have this redirection
- added getting Product details (links to docs and redirs) from watched Line's current Order (via GET
/api/line/:_id
route)
- added Redirections list feature (via GET
/api/redirection/
route) - added Products list feature (via GET
/api/product/
route) - added get Product details feature (via GET
/api/product/:_id
route) - added Product delete feature (via DELETE
/api/product/:_id
route)
- added Redirection update feature (via PUT
/api/redirection/:_id
route) - added Redirection delete feature (via DELETE
/api/redirection/:_id
route)
- updated data model in links and redirections to acommodate fileName
- refactored url string to separate file
- added Redirections to Product (via POST
/api/product/redirection
route) feature - added Links do Documentation to Product (via POST
/api/product/link
route) feature - changed Product data (via PUT
/api/product
route) - allows: adding, removing, changing links and redirections within a Product (and thanks to db populate allows cascading/clean removing related redirection from separate collection)
- added New Product (via POST
/api/product
route) feature
- Product and Redirection data models
- Redirection functionality
- order not started yet error (server crash)
- CORS with websockets error
- websocket server-side handling and securing (for
live view
- not implemeted yet)
- added GET
/api/aggregatedorders
route
- updated scan code validation logic to include warnings
- updated README.md
- README.md
- CHANGELOG.md
- updated scan error validation to omitt date in the part of the scan string
- updated package.json
- initial release