Commit graph

344 commits

Author SHA1 Message Date
Simon Bruder 43dbb222a9
Add evaluation sheets
Co-authored-by: Denis Natusch <denis.natusch@mailbox.tu-dresden.de>
Co-authored-by: Eren Asker <eren.asker@mailbox.tu-dresden.de>
Co-authored-by: Erik Hohlfeld <erik.hohlfeld@mailbox.tu-dresden.de>
Co-authored-by: Mathis Kral <mathis_tiberius.kral@mailbox.tu-dresden.de>
Co-authored-by: Paul Heimer <heimerp54@gmail.com>
Co-authored-by: Theo Reichert <theo.reichert@mailbox.tu-dresden.de>
2024-01-20 15:51:23 +01:00
Theo Reichert 9cf8308e8d Update catalog diagram 2024-01-20 00:44:00 +01:00
Theo Reichert d77f1aaa9e Update CatalogUnitTests 2024-01-20 00:08:17 +01:00
Theo Reichert c1e561821c Replace order id in template with order type 2024-01-19 23:36:24 +01:00
Simon Bruder ea5ac78e85
Remove superfluous column in time recording 2024-01-19 21:41:28 +01:00
Simon Bruder 411189db51
Fill in group number for time recording 2024-01-19 21:41:28 +01:00
Simon Bruder 50429e6a33
Add aggregate statistics to time recording 2024-01-19 21:41:27 +01:00
Simon Bruder fedf1322f7
Add time recording for week 12
We were told that all time after this is not tracked, so I guess that is
it.
2024-01-19 21:41:27 +01:00
Simon Bruder 4459a8a634
Add protocol from 2024-01-19 2024-01-19 21:41:21 +01:00
Erik Hohlfeld 6e7e81a26d Add sequence diagram for orderCatalog 2024-01-19 19:00:51 +01:00
Erik Hohlfeld 989be26391 Update class diagram of orderCatalog 2024-01-19 19:00:51 +01:00
Erik Hohlfeld 5aefd4e05f Filter and distinguish products in orderCatalog 2024-01-19 19:00:51 +01:00
Eren Asker c94a4d4adb
Update staff docs
Co-authored-by: Denis Natusch <denis.natusch@mailbox.tu-dresden.de>
2024-01-19 14:52:37 +01:00
Simon Bruder 4fb63e1971
Update inventory diagram to include form details
This also fixes the direction of the form inheritance, which was
reversed previously.
2024-01-19 13:04:50 +01:00
Simon Bruder 016d2f5715
Reorder setters/getters in InventoryMutateForm
Some methods were not ordered before.
2024-01-19 13:04:01 +01:00
Simon Bruder 70e835a5e6
Update inventory diagram
I forgot to change this in 4d89fdc10a.
2024-01-18 11:37:44 +01:00
Mathis Kral e6542dce7a Add missing order tests 2024-01-18 09:29:06 +01:00
Mathis Kral 1f5b897c2b Update order package diagram 2024-01-18 09:29:06 +01:00
Mathis Kral 8929868895 Fix checkout bug where items got deleted
This works on #145.
Before this, if an item got removed out of the inventory by the
admin and the user tried to checkout, the application crashed.
2024-01-18 09:29:06 +01:00
Simon Bruder f21b9ba3af
Add cross testing report for group 22
Co-authored-by: Denis Natusch <denis.natusch@mailbox.tu-dresden.de>
Co-authored-by: Eren Asker <eren.asker@mailbox.tu-dresden.de>
Co-authored-by: Erik Hohlfeld <erik.hohlfeld@mailbox.tu-dresden.de>
Co-authored-by: Mathis Kral <mathis_tiberius.kral@mailbox.tu-dresden.de>
Co-authored-by: Paul Heimer <heimerp54@gmail.com>
Co-authored-by: Theo Reichert <theo.reichert@mailbox.tu-dresden.de>
2024-01-17 15:45:50 +01:00
Denis Natusch de6b9cfd0f
Remove inner classes from UserForm 2024-01-17 14:39:25 +01:00
Denis Natusch c5653f85e6
Update docs for the user package 2024-01-17 12:17:39 +01:00
Denis Natusch de900d2eeb
Add more username tests
These test validate, that no username validation will be performed,
if the form has an error.
2024-01-17 12:17:35 +01:00
Denis Natusch 073600a92c
Remove unused imports 2024-01-17 12:17:30 +01:00
Mathis Kral fd76f700c9 Fix warning for deprecated constructor 2024-01-16 20:00:39 +01:00
Mathis Kral 668d758ed0 Add uniform price formatting
This works on #144
2024-01-16 20:00:39 +01:00
Simon Bruder 0425efeab0
Add time recording for week 11
This also adds the meeting time for turn of the year, as I was
previously misguided about where it belongs.
2024-01-16 12:07:07 +01:00
Simon Bruder 5f2866aafd
Add protocol from 2024-01-12 2024-01-16 12:07:01 +01:00
Denis Natusch f808c2497d Remove employee if associated with order 2024-01-15 19:25:20 +01:00
Simon Bruder d75234d172
Expand InventoryControllerIntegrationTests
They now should cover almost all cases. I did not add all editing tests
as the implementation is the same as with adding, and it would just add
bloat.
2024-01-14 17:06:16 +01:00
Simon Bruder 8b2fe0cb40
Extract item counting in InventoryControllerIntegrationTests 2024-01-14 17:06:16 +01:00
Simon Bruder 9ec41df27f
Add integration test for InventoryInitializer 2024-01-14 17:06:16 +01:00
Simon Bruder d0ac59de87
Fix typo in InventoryInitializer 2024-01-14 17:06:15 +01:00
Simon Bruder 0c5e3f4e5c
Add unit tests for InventoryMutateForm using jqwik
This adds the jqwik dependency for property based testing, like
Haskell’s QuickCheck.
2024-01-14 17:05:58 +01:00
Denis Natusch da19356496
Fix modify profile issue
Closes: #141
2024-01-14 15:07:29 +01:00
Theo Reichert ff8bbdca15
Resolve some intentionality issues 2024-01-12 15:25:18 +01:00
Theo Reichert d27c1958d7
Introduce new lines to reduce code smells 2024-01-12 15:25:18 +01:00
Simon Bruder a78b225de9
Fix spelling error in footer
Fixes #137
2024-01-12 13:06:04 +01:00
Simon Bruder 6f237744fa
Add time recording for turn of the year 2024-01-09 14:31:54 +01:00
Simon Bruder 99329c611b
Add protocol from 2024-01-05 2024-01-09 14:31:48 +01:00
Mathis Kral 2ccc9fcdfb Update /allOrders/{day} to work with status-filter
This works on #115

Co-authored-by: Theo Reichert <theo.reichert@mailbox.tu-dresden.de>
2024-01-09 14:04:11 +01:00
Theo Reichert da24ca79a1 Update order template only allow values COMPLETED or CANCELED 2024-01-09 14:04:11 +01:00
Theo Reichert ea78ec93b7 Add working filtration of orders for admin 2024-01-09 14:04:11 +01:00
Paul Heimer d6abbdcfa2
Add invoice test 2024-01-09 13:55:20 +01:00
Mathis Kral f961071265 Add employee query to order controller
This was simply forgotten before cross-testing.
2024-01-09 13:50:10 +01:00
Simon Bruder 8ab01fd65f
Simplify signature of InventoryMutateForm::of
This complicates the subclasses’ implementation, but it avoids having
to pass an unnecessary parameter.
2024-01-09 10:53:12 +01:00
Simon Bruder 7365b384e3
Make metric variable
This was somehow overlooked, but it should work.

This needs to change how the InventoryMutateForm handles quantities, as
the amount has to be split from the metric for addition to work.
2024-01-09 10:53:12 +01:00
Theo Reichert e37c2506b8
Add catalog unit tests with empty set up method 2024-01-08 22:44:00 +01:00
Simon Bruder 20ea9e5869
Document used Template Methods
Closes #118
2024-01-08 19:32:03 +01:00
Denis Natusch 06fc8732cc
Refuse username if username is already in use 2024-01-08 18:47:11 +01:00