Commit Graph

228 Commits

Author SHA1 Message Date
Erik Foris
cffa898b38 Merge branch '44-fix-page-serialisazion-waring' into 'main'
Resolve "Fix page serialisazion waring"

Closes #44

See merge request padas/24ss-5430-web-and-data-eng/gruppe-3/datadash!43
2024-07-06 14:23:21 +02:00
e94ead7026 fix: use dto to make json structure stable 2024-07-06 14:22:54 +02:00
J-Klinke
bd854ff016 Merge branch '7-add-page-to-view-dataset-api' into 43-store-entry-authorship
got code from 7 in order to further implement 43
2024-07-06 14:04:31 +02:00
Erik Foris
39e4c3eebd Merge branch '42-add-licence-field-to-dataset-class' into '22-integrate-api-and-frontend'
Resolve "add Terms of use  field to dataset class"

See merge request padas/24ss-5430-web-and-data-eng/gruppe-3/datadash!41
2024-07-06 13:37:18 +02:00
c9211a0b00 chore: Update dataset table schema and Dataset class to accominate terms of use 2024-07-06 13:36:45 +02:00
Julian Klinke
09b60c547b Merge branch '41-make-details-page-acceseble' into '22-integrate-api-and-frontend'
Resolve "Make details page acceseble"

See merge request padas/24ss-5430-web-and-data-eng/gruppe-3/datadash!40
2024-07-06 13:32:41 +02:00
J-Klinke
464cf104f9 datasets now redirect to their details pages.
also implemented 'button' look and feel for the datasets
2024-07-06 13:31:30 +02:00
aea23b0a6a refactor: optimize imports 2024-07-06 13:08:37 +02:00
Elias Schriefer
6380355227 Add basic support for viewing datasets 2024-07-06 10:00:33 +02:00
Erik Foris
cd1e4c6b26 Merge branch '40-depricate-old-way-of-searching-datasets' into '22-integrate-api-and-frontend'
Resolve "depricate "Old" way of searching datasets"

See merge request padas/24ss-5430-web-and-data-eng/gruppe-3/datadash!39
2024-07-05 19:31:58 +02:00
bf9b411c9b chore: Remove unused DatasetController endpoint and method 2024-07-05 19:31:19 +02:00
bbf4f93279 feat: Add CategoryServiceTest and CategoryControllerTest
The code changes include adding new test classes CategoryServiceTest and CategoryControllerTest. These test classes are used to test the functionality of the CategoryService and CategoryController classes respectively. The CategoryServiceTest class contains tests for the addCategory, getAllCategories, and getCategoryById methods of the CategoryService class. The CategoryControllerTest class contains tests for the getAllCategories, fetchCategoryById, and createCategory methods of the CategoryController class.

Recent user commits:
- Merge branch '36-refactor-dataset-class' into '22-integrate-api-and-frontend'
- Merge branch '22-integrate-api-and-frontend' into '36-refactor-dataset-class'
- Refactor Dataset class
- Merge branch '11-add-api-for-getting-home-page-data' into '22-integrate-api-and-frontend'
- Merge branch '37-restructure-backend-according-to-seperation-by-concerns' into '11-add-api-for-getting-home-page-data'
- refactor: finilase project structure
- Merge branch '11-add-api-for-getting-home-page-data' into '22-integrate-api-and-frontend'
- Merge branch '25-consider-moving-non-templated-html-into-static' into '11-add-api-for-getting-home-page-data'
- refactor: move static sites into static, Remove unused PageController and update main.js for page navigation
- fixed bugs:
  - suppressed display of search results if nothing was found but there were previous searches
  - improved display timing of search results/initial pages, which led to false displays
2024-07-05 19:25:13 +02:00
Elias Schriefer
922dfdd26d Merge branch '22-integrate-api-and-frontend' into 7-add-page-to-view-dataset-api 2024-07-05 17:18:09 +02:00
Elias Schriefer
baa8349110 Merge branch '36-refactor-dataset-class' into '22-integrate-api-and-frontend'
Resolve "Refactor Dataset class"

See merge request padas/24ss-5430-web-and-data-eng/gruppe-3/datadash!35
2024-07-05 17:05:53 +02:00
Elias Schriefer
91a365fdd3 Merge branch '22-integrate-api-and-frontend' into 36-refactor-dataset-class 2024-07-05 17:04:58 +02:00
Elias Schriefer
66ac0bfc29 Refactor Dataset class 2024-07-05 16:57:06 +02:00
afeca6b780 Merge branch '11-add-api-for-getting-home-page-data' into 22-integrate-api-and-frontend 2024-07-05 14:14:14 +02:00
Erik Foris
738fd2cac1 Merge branch '37-restructure-backend-according-to-seperation-by-concerns' into '11-add-api-for-getting-home-page-data'
Resolve "Restructure backend according to seperation by concerns"

See merge request padas/24ss-5430-web-and-data-eng/gruppe-3/datadash!37
2024-07-05 14:11:23 +02:00
3d71bfee2b refactor: finilase project structure 2024-07-05 13:05:56 +02:00
c55c18c746 Merge branch '11-add-api-for-getting-home-page-data' into 22-integrate-api-and-frontend 2024-07-05 12:38:56 +02:00
Erik Foris
3c992aaa4a Merge branch '25-consider-moving-non-templated-html-into-static' into '11-add-api-for-getting-home-page-data'
Resolve "Consider moving non-templated HTML into `static/`"

See merge request padas/24ss-5430-web-and-data-eng/gruppe-3/datadash!36
2024-07-05 12:35:45 +02:00
68595e22a7 refactor: move static sites into static, Remove unused PageController and update main.js for page navigation 2024-07-05 12:34:26 +02:00
J-Klinke
15f743d8ab fixed bugs:
- suppressed display of search results if nothing was found but there were previous searches
- improved display timing of search results/initial pages, which led to false displays
2024-07-05 12:30:40 +02:00
6ae3a73a7e refactor: Add licence field to Dataset constructor 2024-07-05 12:19:47 +02:00
49eda4ce0a Merge branch '11-add-api-for-getting-home-page-data' into 22-integrate-api-and-frontend 2024-07-05 12:16:34 +02:00
Erik Foris
7a0e2490fe Merge branch '35-implement-functionality-for-extended-categories' into '22-integrate-api-and-frontend'
Resolve "implement functionality for extended categories"

See merge request padas/24ss-5430-web-and-data-eng/gruppe-3/datadash!34
2024-07-05 12:08:53 +02:00
J-Klinke
93a52097de - main.js:
fixed bug in the filterButton EventListener (removed if-clause)
added new EventListener for fetching categories
updated fetchCategories()
2024-07-05 12:04:32 +02:00
fe4f0a8d6b refactor: Add licence field to Dataset model 2024-07-05 11:31:22 +02:00
Erik Foris
f60ce5babf Merge branch '32-add-paging-functionality' into '22-integrate-api-and-frontend'
upvoting suppression by local storage now works, there is a bug however with...

See merge request padas/24ss-5430-web-and-data-eng/gruppe-3/datadash!33
2024-07-04 23:02:53 +02:00
c73f195c2a Merge branch '11-add-api-for-getting-home-page-data' into 22-integrate-api-and-frontend 2024-07-04 22:59:19 +02:00
Erik Foris
61fccc924f Merge branch '33-add-ability-to-restrict-multiple-votes-in-frontend' into '32-add-paging-functionality'
Resolve "Add ability to restrict multiple votes in frontend"

See merge request padas/24ss-5430-web-and-data-eng/gruppe-3/datadash!30
2024-07-04 21:19:48 +02:00
J-Klinke
bbb8c9259f accepted review comments 2024-07-04 18:28:44 +02:00
Erik Foris
77879b5f81 Merge branch '16-add-useful-response-messages' into '11-add-api-for-getting-home-page-data'
Resolve "Add useful response Codes"

See merge request padas/24ss-5430-web-and-data-eng/gruppe-3/datadash!31
2024-07-04 15:36:12 +02:00
9e5c83dce9 chore: Remove unused import statement in DatasetController 2024-07-04 15:33:55 +02:00
cdeb4fc2be refactor: fix internal server errror on bad request 2024-07-04 15:32:45 +02:00
027528909d chore: Refactor DatasetService to improve code structure and readability 2024-07-04 14:46:10 +02:00
31fc359d55 chore: Refactor CategoryController to improve code structure and error handling 2024-07-04 14:42:58 +02:00
Elias Schriefer
20c4524bba Add loading skeleton 2024-07-04 12:40:59 +02:00
0ca9579949 feat: Add error handling for dataset endpoints & return dataset that is beeing returend for the abilty to get the id 2024-07-03 15:03:14 +02:00
J-Klinke
62b0d5c028 local storage now properly implemented, (sessionstorage) 2024-07-03 12:08:59 +02:00
J-Klinke
02d2f90e85 fixed bug 2024-07-03 11:52:29 +02:00
J-Klinke
6d34b8c388 upvoting suppression by local storage now works, there is a bug however with the entries loaded o startup 2024-07-03 11:27:49 +02:00
Elias Schriefer
8810bfa53f Finish details page design 2024-07-03 00:20:36 +02:00
J-Klinke
20eda5931a started implementing local storage 2024-07-02 17:41:48 +02:00
Erik Foris
2ef03b07e0 Merge branch '8-add-persistent-storage' into '11-add-api-for-getting-home-page-data'
Resolve "Add persistent storage"

See merge request padas/24ss-5430-web-and-data-eng/gruppe-3/datadash!29
2024-07-02 14:40:05 +02:00
9434de5bfc chore: Update H2 database dependency and configuration 2024-07-02 14:39:08 +02:00
Erik Foris
7bc56eee18 Merge branch '31-add-abilityto-add-new-categories' into '11-add-api-for-getting-home-page-data'
Resolve "Add abilityto add new categories"

See merge request padas/24ss-5430-web-and-data-eng/gruppe-3/datadash!27
2024-07-02 10:48:46 +02:00
d48f9da2b7 chore: Suppress null warnings in CategoryRepository 2024-07-02 10:45:11 +02:00
7554eefae4 feat: Add ability to add categories 2024-07-02 10:41:52 +02:00
J-Klinke
1174f03d42 added paging functionality 2024-07-01 15:50:57 +02:00