Commit graph

203 commits

Author SHA1 Message Date
Simon Bruder fdff33d146
Don’t use messages
The system won’t be multilingual anyway, so this just adds complexity
and things to trip over.

Closes #25
2023-11-16 17:00:42 +01:00
Denis Natusch 024939de5f
Remove unused model parameter from UserController
Closes #21
2023-11-16 17:00:41 +01:00
Denis Natusch 1faedf18a0
Remove AuthenticationManagement
Closes #20
2023-11-16 17:00:41 +01:00
Simon Bruder 9de857f4c2
Remove duplicate title elements
The title element should only be set by the layout template.
2023-11-16 17:00:41 +01:00
Simon Bruder a6a8e71ee1
Switch to bootstrap for styling 2023-11-16 17:00:40 +01:00
Simon Bruder 8dd37daab6
Move footer into body 2023-11-16 17:00:40 +01:00
Simon Bruder 5b088d8607
Inline static strings in welcome 2023-11-16 17:00:39 +01:00
Simon Bruder 6587b96b95
Use more modern charset declaration
This also deduplicates the charset declaration to only specify it once.
2023-11-16 17:00:39 +01:00
Simon Bruder 5ea3bc8301
Use correct UTF-8 in welcome template 2023-11-16 17:00:39 +01:00
Mathis Kral 257951ab52
Add sec:authorize to catalog and orders
Closes #22
2023-11-16 17:00:38 +01:00
Denis Natusch ee280786ee
Make only customers able to delete their own account 2023-11-16 17:00:38 +01:00
Denis Natusch 3478fe2b24
Logout user when changing the username 2023-11-16 17:00:38 +01:00
Denis Natusch a11c23ab98
Make only enabled customers able to be removed 2023-11-16 17:00:37 +01:00
Theo Reichert ce06970972
Update cell in calender links to orders filteredByDay 2023-11-16 17:00:37 +01:00
Theo Reichert fcacb18111
Fix calender() order in wrong calender day/cell 2023-11-16 17:00:37 +01:00
Mathis Kral d328eb5e85
Add improved checkout 2023-11-16 17:00:36 +01:00
Mathis Kral 0a24be51be
Add filteredByDay to OrderController 2023-11-16 17:00:36 +01:00
Denis Natusch ac253f3df7
Logout customer after deleting their account 2023-11-16 17:00:36 +01:00
Denis Natusch 4588809412
Make user consistent with design model
Co-authored-by: Simon Bruder <simon.bruder@mailbox.tu-dresden.de>
2023-11-16 17:00:35 +01:00
Simon Bruder 040b28fbe0
Fix thymeleaf deprecation warnings in layout 2023-11-16 17:00:35 +01:00
Simon Bruder bf1b57e15c
Integrate security into navigation
This also simplifies the template quite a bit, as it previously
contained some redundancy.
2023-11-16 17:00:35 +01:00
Mathis Kral 97a020b59f
Include layout.html 2023-11-16 17:00:34 +01:00
Theo Reichert 38eda35e6c
Add calender to OrderController
calender displays `order.id`s per day
2023-11-16 17:00:34 +01:00
Theo Reichert 37ae9a0089
Add calender to OrderController
calender can't count orders per day
2023-11-16 17:00:33 +01:00
Erik Hohlfeld 47f8071382
Add functionality to add to the catalog with the catalog_editor 2023-11-16 17:00:33 +01:00
Erik Hohlfeld bde2754a51
Add removal of CustomCatalogEntry inside catalog via button 2023-11-16 17:00:33 +01:00
Erik Hohlfeld 5bcfefe734
Add adding and removing of CustomProducts inside catalog_editor 2023-11-16 17:00:32 +01:00
Theo Reichert 090ae6d439
Add classes Consumable and Rentable to package catering.catalog 2023-11-16 17:00:32 +01:00
Mathis Kral 4dce95d86d
Rename catalog package to orderCatalog 2023-11-16 17:00:32 +01:00
Erik Hohlfeld a7d8c29dc7
Add forms to the catalog editor to submit its data 2023-11-16 17:00:31 +01:00
Erik Hohlfeld b3bd5c611c
Add getters and setters for CustomProduct 2023-11-16 17:00:31 +01:00
Erik Hohlfeld 3470a369c7
Remove constructor arguments and add getters and setters for CustomCatalogEntry 2023-11-16 17:00:31 +01:00
Erik Hohlfeld f1f71beaf4
Add display of all catalog entries (CustomCatalogEntry) in catalog 2023-11-16 17:00:30 +01:00
Mathis Kral 34f4fcf069
Remove unnecessary print statements 2023-11-16 17:00:30 +01:00
Mathis Kral fef48cbff5
Remove swearing 2023-11-16 17:00:30 +01:00
Erik Hohlfeld 9747fc5589
Initialize all Catalog classes regarding the prototype 2023-11-16 17:00:29 +01:00
Mathis Kral 6d8b8bd5ca
Add checkout and change of orderType 2023-11-16 17:00:29 +01:00
Mathis Kral 0cc3232db3
Add functionality for adding products to an event 2023-11-16 17:00:29 +01:00
Mathis Kral 9332f33957
Add simple table structure 2023-11-16 17:00:28 +01:00
Mathis Kral 79bc979f78
Add link to eventPlanner.html in the controller 2023-11-16 17:00:28 +01:00
Mathis Kral a9a8529ccb
Add eventPlanner.html and improve navbar 2023-11-16 17:00:28 +01:00
Erik Hohlfeld 304e37a118
Add event_configuration.html and adjusted WelcomeController.java to link it 2023-11-16 17:00:27 +01:00
Mathis Kral e5811ad020
Add full order data to orders.html table 2023-11-16 17:00:27 +01:00
Mathis Kral 97c7e2a160
Add order removal 2023-11-16 17:00:27 +01:00
Mathis Kral a6faa677dd
Add orderRepositoryIterator in orders.html 2023-11-16 17:00:26 +01:00
Mathis Kral e6535ab767
Add data initialization and total count of orders 2023-11-16 17:00:26 +01:00
Mathis Kral 7b3154367e
Add date to CustomOrder 2023-11-16 17:00:26 +01:00
Mathis Kral 848e625f3a
Add CustomOrderDataInitializer 2023-11-16 17:00:25 +01:00
Mathis Kral 426e1100fc
Add OrderController, CustomOrder, CustomOrderRepository 2023-11-16 17:00:25 +01:00
Mathis Kral 858eb927fd
Initial commit for prototype 2023-11-16 17:00:25 +01:00