Commit Graph

128 Commits

Author SHA1 Message Date
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
6ae3a73a7e refactor: Add licence field to Dataset constructor 2024-07-05 12:19:47 +02:00
fe4f0a8d6b refactor: Add licence field to Dataset model 2024-07-05 11:31:22 +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
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
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
a883d8217e Merge remote-tracking branch 'origin/11-add-api-for-getting-home-page-data' into 22-integrate-api-and-frontend 2024-07-01 12:28:51 +02:00
Erik Foris
cc90e5ea8e Merge branch '30-add-abiliy-to-combine-filters-and-search' into '11-add-api-for-getting-home-page-data'
Resolve "Add abiliy to combine filters and search"

See merge request padas/24ss-5430-web-and-data-eng/gruppe-3/datadash!26
2024-07-01 12:28:06 +02:00
59c6367043 chore: Refactor DatasetController to fix typo's 2024-07-01 12:27:17 +02:00
93b604fe5b feat: implement ability to combine search and filters 2024-07-01 12:17:28 +02:00
b24b215bc0 chore: Set dataset date when adding to the repository 2024-06-28 17:08:04 +02:00
72a8f919c8 Merge branch '15-make-content-adding-page-functional-js' into 22-integrate-api-and-frontend 2024-06-28 16:34:40 +02:00
43646493e1 fix: Up and downvote puttons 2024-06-28 16:29:49 +02:00
8a1b9c75c6 Merge remote-tracking branch 'origin/21-add-functionality-for-listing-query-results-in-frontend' into 22-integrate-api-and-frontend 2024-06-28 15:51:26 +02:00
7498e17643 Merge branch '21-add-functionality-for-listing-query-results-in-frontend' into 22-integrate-api-and-frontend 2024-06-28 15:51:22 +02:00
J-Klinke
ebb90632eb refined main.js/vote() -> ready for receiving backend response 2024-06-28 14:24:19 +02:00
c98602520b Merge branch '11-add-api-for-getting-home-page-data' into 22-integrate-api-and-frontend 2024-06-28 13:48:09 +02:00
Erik Foris
89957dfbe4 Merge branch '28-fix-change-the-date-beeing-stored-as-a-sting-in-the-tatabease-for-soring-purposes' into '11-add-api-for-getting-home-page-data'
Resolve "Fix: Change the date beeing stored as a sting in the tatabease for soring purposes"

See merge request padas/24ss-5430-web-and-data-eng/gruppe-3/datadash!23
2024-06-28 13:42:12 +02:00
d6d3ca2121 fix: Update Dataset class to use java.sql.Date for date field to fix sorting after date 2024-06-28 13:40:10 +02:00
Erik Foris
619bb0140a Merge branch '27-add-categories-in-backend' into '11-add-api-for-getting-home-page-data'
Resolve "add categories in backend"

See merge request padas/24ss-5430-web-and-data-eng/gruppe-3/datadash!22
2024-06-28 13:16:02 +02:00
683f18cc27 chore: Refactor DatasetController to fix spaceing 2024-06-28 13:14:19 +02:00
d6a8cab85a chore: Refactor DatasetService to improve search functionality and remove unnecessary print statement 2024-06-28 13:11:43 +02:00
62a578124d chore: Refactor LoadDummyDatabase class to remove unused imports 2024-06-28 13:03:07 +02:00
5ccfe8ddb2 feat: Add Category enum for dataset classification & Add api endpoint 2024-06-28 12:47:25 +02:00
de0a027674 Merge branch '11-add-api-for-getting-home-page-data' into 22-integrate-api-and-frontend 2024-06-25 16:20:37 +02:00
ca2f67cb25 fix: closes #26 2024-06-25 16:12:31 +02:00
J-Klinke
e9e825eb42 added sorting by date
refined main.js/vote()
2024-06-25 13:30:38 +02:00
J-Klinke
7e3f191910 upvote/down vote work in frontend, but api seems to work incorrectly 2024-06-25 12:49:28 +02:00
d23e007518 feat: remove unused action in form 2024-06-25 11:35:58 +02:00
e400b7e9ce feat: Update URL construction for add page navigation
The code changes modify the `PageController` class to update the URL construction for navigating to the add page. The `getAddPage()` method now maps to the `/add` endpoint instead of the previous `add` endpoint. This change ensures that the URL matches the correct route for the add page.

Recent commits:
- Integrate add content page into backend
- Add base URL to URL construction
- Rework URL construction

Recent repository commits:
- Integrate add content page into backend
- Merge branch 'main' into 15-make-content-adding-page-functional-js
- Merge branch '11-add-api-for-getting-home-page-data' into 'main'
- Merge branch '22-integrate-api-and-frontend' into '11-add-api-for-getting-home-page-data'
- Merge branch '11-add-api-for-getting-home-page-data' into '22-integrate-api-and-frontend'
- feature: add ability to vote on datasets
- Merge remote-tracking branch 'origin/implement-js' into 22-integrate-api-and-frontend
- Add base URL to URL construction
- Merge remote-tracking branch 'origin/implement-js' into 22-integrate-api-and-frontend
- Rework URL construction
2024-06-25 11:33:36 +02:00
ac95228be8 Merge branch '11-add-api-for-getting-home-page-data' into 22-integrate-api-and-frontend 2024-06-25 10:23:49 +02:00
Elias Schriefer
a340d59ca2 Fix voting event listeners in search 2024-06-25 09:59:39 +02:00
J-Klinke
e47edf3cf2 improved searchBar functionality:
on page reload, it now displays the query fitting to the entered string
2024-06-25 09:44:01 +02:00
6b588cba8c Refactor DatasetController and DatasetService, update upvote and downvote endpoints
This commit refactors the `DatasetController` and `DatasetService` classes to update the endpoints for upvoting and downvoting datasets. The `@PostMapping` annotations are replaced with `@PutMapping` annotations to better align with RESTful conventions. This change improves the clarity and consistency of the API endpoints.
2024-06-25 09:19:24 +02:00
J-Klinke
eb2d6189a8 some code formatting,
searchbar is now empty on reload
2024-06-25 09:14:12 +02:00
Elias Schriefer
4c8437be92 Integrate add content page into backend
The page can be found under `/add`.
2024-06-24 17:40:07 +02:00
Elias Schriefer
1864e49264 Merge branch 'main' into 15-make-content-adding-page-functional-js 2024-06-24 17:07:38 +02:00
J-Klinke
d96da1b1e7 search nw displays the search results.
other section are being hidden in the case of a search and vice versa.
a 'nothing found' div was implemented
2024-06-24 17:03:47 +02:00
Elias Schriefer
43d3ff17d5 Merge branch '11-add-api-for-getting-home-page-data' into 'main'
Resolve "Add API for getting home page data"

Closes #11

See merge request padas/24ss-5430-web-and-data-eng/gruppe-3/datadash!7
2024-06-24 14:26:05 +02:00
Julian Klinke
1b73f88cc4 Merge branch '22-integrate-api-and-frontend' into '11-add-api-for-getting-home-page-data'
Resolve "Integrate api and frontend"

See merge request padas/24ss-5430-web-and-data-eng/gruppe-3/datadash!19
2024-06-24 14:23:30 +02:00
Erik Foris
9898c5e4b2 Merge branch '11-add-api-for-getting-home-page-data' into '22-integrate-api-and-frontend'
feature: add ability to vote on datasets

See merge request padas/24ss-5430-web-and-data-eng/gruppe-3/datadash!20
2024-06-22 13:50:31 +02:00
5df6a65f1b feature: add ability to vote on datasets 2024-06-22 13:34:44 +02:00