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
Denis Natusch
13641bc6a2
Use form for editing customer profile
2024-01-08 16:00:40 +01:00
Simon Bruder
6297f3c073
Update copyright dates of recently changed files
...
I forgot to update them in commits
743e459d41
,
90d368a95b
,
7fbd26d84c
,
and 2d87b3928b
.
It also adds swt23w23 as copyright owner on the time recording, as this
was forgotten when the attributions had initially been added.
2024-01-06 22:06:48 +01:00
Denis Natusch
2f06261d87
Add unit tests to the staff package
...
The main purpose of this commit is to achieve 100% (line) test
coverage for the staff package.
2024-01-06 21:50:29 +01:00
Eren Asker
6e4fe14339
Add user tests
2024-01-05 17:37:43 +01:00
Simon Bruder
743e459d41
Align week numbers from time tracking with upstream
...
Fixes #123
2024-01-05 15:40:32 +01:00
Simon Bruder
90d368a95b
Implement hashCode/equals on ID for Entities
...
This also drops an angry comment that was the result of not being able
to fathom the default behaviour.
Fixes #87 .
2024-01-04 11:43:20 +01:00
Mathis Kral
baafd768ec
Add protocol and time recording for 2023-12-15
2024-01-04 10:55:06 +01:00
Simon Bruder
2d87b3928b
Fix typos in Staff integration tests
2024-01-04 10:29:58 +01:00
Simon Bruder
7fbd26d84c
Fix cursed test failure
...
This was introduced in 580d3a6af6
.
Fixes #121
2024-01-04 00:56:43 +01:00
Mathis Kral
7b86f96976
Update order package-diagram to match current implementation
...
This closes #109 .
2023-12-15 15:10:59 +01:00
Simon Bruder
b9f67b452a
Add protocol from 2023-12-08
2023-12-14 23:41:39 +01:00
Simon Bruder
71bb2f768f
Add time recording for week 8
2023-12-14 23:40:36 +01:00
Mathis Kral
699db13864
Add test for wrong addProduct request
...
This works on #100
2023-12-14 20:11:35 +01:00
Mathis Kral
44c9eb8f3a
Add order backend for kundenwunsch
...
This checks if the requested product to add is suitable for the event.
This works on #100
2023-12-14 20:11:35 +01:00
Denis Natusch
5736b49080
Remove redundant code from viewProfile method
2023-12-14 09:53:14 +01:00
Simon Bruder
b0279a5c78
Add source code link to layout template
...
This is required by the terms of the AGPL.
The link to the source code is to a mirror of the original repository,
as the original can’t be made public.
2023-12-11 20:31:43 +01:00
Simon Bruder
811f1e5c03
Add licensing section to readme
2023-12-11 19:58:03 +01:00
Simon Bruder
bac025fd0a
Make project REUSE compliant
...
This finally makes the licensing under AGPL-3.0-or-later explicit after
I got the okay from the kickstart source owners.
This also checks the REUSE compliance in a pre commit hook, and
therefore also in CI.
2023-12-11 17:59:14 +01:00
Simon Bruder
d491e7aa52
Use CC-BY licensed image for interim presentation
...
The “Unsplash License” is not an OSI approved License.
Yes, I know that the CC-BY 2.0 is also not OSI approved, but it looks
very compatible to me, as a non-lawyer.
2023-12-11 17:40:13 +01:00
Paul Heimer
4300ee0408
Add comments to InventoryController
2023-12-09 12:02:38 +01:00
Simon Bruder
e24ea8704f
Fix argument type for InventoryController::addRentable
2023-12-09 12:02:38 +01:00
Simon Bruder
4d89fdc10a
Restrict product types for inventory edit
...
The error message gets slightly less meaningful, but either are
currently just a mess.
2023-12-09 12:02:38 +01:00
Simon Bruder
c5f6b18cd3
Make inventory authorization tests more complete
2023-12-09 12:02:38 +01:00
Simon Bruder
0eb3276dde
Use class-wide PreAuthorize for InventoryController
...
This should protect against accidentally forgetting it for one method.
2023-12-09 12:02:37 +01:00
Simon Bruder
3e2cc3d0b2
Allow specifying order types in inventory
...
Fixes #95
2023-12-09 12:02:37 +01:00
Simon Bruder
0200330625
Explicitly handle placement of inventory buttons
2023-12-09 12:02:36 +01:00
Simon Bruder
580d3a6af6
Implement per-month employee working hours
...
Closes #76
Co-auther-by: Denis Natusch <denis.natusch@mailbox.tu-dresden.de>
2023-12-09 00:35:43 +01:00
Paul Heimer
e4d23d8e81
Add invoice for customer
2023-12-08 17:37:52 +01:00
Mathis Kral
cc05fb2e2e
Use the beloved ASCII art as banner
2023-12-07 20:09:59 +01:00
Simon Bruder
0b90fb30c1
Decrease javamoney log level
...
Otherwise, the console is flooded with dozens of useless identical
messages.
2023-12-07 19:58:30 +01:00
Mathis Kral
cb3a33651e
Associate rentables with order and event explicitly
...
This closes #74
Co-authored-by: Theo Reichert <theo.reichert@mailbox.tu-dresden.de>
2023-12-07 17:06:43 +01:00
Mathis Kral
6dab8319a7
Fix broken cart cleanup
...
This fixes an error occuring when multiple employees were
added to the event before checkout.
2023-12-07 17:06:43 +01:00