Commit Graph

44 Commits

Author SHA1 Message Date
b785dd8ca7 Mitigated frontend selection issues 2023-06-27 23:47:00 +02:00
4c0be6d87b Implemented api validation and item route patch
- Implemented api field validation in item api routes
- Implemented PATCH api route for item endpoint
2023-06-27 23:45:58 +02:00
87e1c55553 Added comment 2023-06-27 23:43:23 +02:00
a4d697265b Added middleware to handle empty strings as null 2023-06-27 23:42:29 +02:00
ac7ebbbf5e Added api search route for sku 2023-06-27 20:56:04 +02:00
db0e8c2047 Added search api endpoint / Implemented search 2023-06-27 20:54:27 +02:00
9ab12118a0 Replaced console.log calls with custom logger ones 2023-06-27 19:03:38 +02:00
3b1e4a7cde Unified error messages/structure / Added item api route.
- Introduce new error output structure to api routes.
- It is now possible to create new items via api.
2023-06-06 23:48:59 +02:00
e11bea21ea Fixed default route 2023-06-06 23:02:19 +02:00
2b5831fccb Renamed importedBy to createdBy 2023-05-23 21:57:32 +02:00
cfc28c5959 Current (non-working-frontend) state 2023-05-22 18:39:47 +02:00
90dbadac24 Fixed the redirection loop in the pagination of /items
A redirection loop occurred when there were no items in the database.
2023-05-21 01:31:35 +02:00
1076c03f2c Removed unnecessary import 2023-05-21 00:03:39 +02:00
524feee54d - added toggel for dark/auto/white mode
- added color
2023-05-17 22:07:36 +02:00
bd9f629690 The BIG frontend update 2023-05-16 22:58:08 +02:00
04b5bd60f2 Implement storageLocation api 2023-05-16 22:19:36 +02:00
90fc8068a0 Returning StorageLocations in storageUnit api. 2023-05-16 21:15:17 +02:00
533bc1744d Add created id to response of category api 2023-05-16 18:01:10 +02:00
64c14db183 Add created id to response of storageUnit api 2023-05-16 17:58:53 +02:00
e4295493f2 Implemented storageUnit api / Added error handling
- AFLOW-13
- Added check if an category entry already exists.
- Update precheck if all IDs are existing
2023-05-16 17:47:32 +02:00
b514e81764 Added some error handling to categories api
- AFLOW-13
- Added check if an category entry already exists.
- Update prechek if all IDs are existing
2023-05-16 17:41:55 +02:00
532b7b9fe2 Add current state 2023-05-16 00:05:39 +02:00
4bfd71f09f Added Sentry / Added comment 2023-05-15 21:58:01 +02:00
6afdb4fcdd Added validation for category api route. 2023-05-15 19:07:13 +02:00
3b9813a680 current state 2023-05-15 18:49:02 +02:00
38cd29943f Migrated route / Fixed import
- Migrate categoryManager to new route schema.
- Fiex csv Import description.
2023-05-15 15:27:55 +02:00
b1a73ebd4a Default route(404) is now Content-Type aware(json)
- Cleanup
2023-05-15 02:08:43 +02:00
9c4eb3200e Removed unnecessary debug message. 2023-05-15 01:39:10 +02:00
ee61e94853 Fixed routing and publicInfoPage. 2023-05-15 01:37:51 +02:00
1f2eb78333 Current state 2023-05-15 00:21:53 +02:00
6344134a9e Added some prisma schema changes. (untested)
- Not fully implemented yet.
- Renamed ToDo -> TODO
2023-05-14 13:33:15 +02:00
3569c9ed4b Updated styles and Added storageManager.
- Dark/White-mode support
- Collapsible navs
- Renamed items template.
- StorageBuilding's are now StorageUnit's
- Formatting, general cleanup, some bug fixing.
2023-05-13 00:06:35 +02:00
96853debe2 Moved to new route structure. 2023-05-10 23:05:55 +02:00
c6fb84759f - added some (non-working) category edit 2023-05-10 21:28:11 +02:00
7cfca9abac Add (partially-) working categoryManager.
- Added Body-Parser.
2023-05-08 23:30:19 +02:00
4ce9dae7ab - category wip 2023-05-08 20:05:07 +02:00
95ec75b8d7 current state 2023-05-04 20:21:10 +02:00
d1d717a988 - added csv import
- added somewhat real stats to dashboard
- basic search logic
2023-05-02 18:23:47 +02:00
e869615ec7 Add basic bootstrap dashboard with sample data. 2023-05-01 22:15:35 +02:00
58a36d36ec - migrated old page to new partials
- fixed setDemoData endpoint
2023-05-01 18:36:24 +02:00
5a21e56e80 - fixed routes
- added head and foot partials
- prepared bootstrap
2023-05-01 18:31:10 +02:00
6f35764a21 Move sku route to right place. 2023-05-01 00:14:16 +02:00
30c2cd4732 Fix routing. 2023-05-01 00:08:44 +02:00
18a4393765 building a foundation and breaking prisma
Co-authored-by: Spacelord <Spacelord09@users.noreply.github.com>
2023-04-30 22:04:13 +02:00