Commit Graph
100 Commits
Author SHA1 Message Date
theis.gaedigk d64489aed4 edited scheme but still not working 2025-11-24 16:05:56 +01:00
theis.gaedigk cb6b5858e5 refactor: rename lockerNumber to safe_nr and update related logic 2025-11-23 21:52:12 +01:00
theis.gaedigk 85e6d7fe00 fixed bugs 2025-11-23 21:39:18 +01:00
theis.gaedigk 4b9f55268c updated scheme 2025-11-23 21:25:08 +01:00
theis.gaedigk 90ca266793 changed docker config 2025-11-23 20:26:49 +01:00
theis.gaedigk b9d67cd147 deleted old backend 2025-11-23 20:20:23 +01:00
theis.gaedigk 58b5d29040 fixed rendering bug 2025-11-23 20:07:31 +01:00
theis.gaedigk baa74adcc1 updated scheme 2025-11-23 20:07:17 +01:00
theis.gaedigk 07d194ee6a Refactor API and frontend components: update item state handling, adjust API key length, and improve table layout for MyLoansPage 2025-11-23 19:58:04 +01:00
theis.gaedigk 0a4d981808 changed the design of the item table 2025-11-23 19:37:59 +01:00
theis.gaedigk a78118da8d refactored backend 2025-11-23 19:33:12 +01:00
theis.gaedigk 8ce882a745 Enhance HomePage: bold start and end date labels for better visibility 2025-11-21 23:34:30 +01:00
theis.gaedigk c6571033b0 Fix routing and update translations: change landing page route to '/landingpage', update user info dialog, and enhance localization strings. 2025-11-21 23:31:41 +01:00
theis.gaedigk 238cd9254a added user card. Not yet designed! 2025-11-21 17:22:32 +01:00
theis.gaedigk ca8030afbd Enhance user management: update User context and API to include first name, last name, and admin status 2025-11-21 17:10:48 +01:00
theis.gaedigk 1076b12668 improved note making 2025-11-21 16:59:02 +01:00
theis.gaedigk 80cb393768 Enhance item management: update API key display, add locker number input, and modify database schema for unique locker numbers 2025-11-21 16:55:18 +01:00
theis.gaedigk 79486fe1cb updated translation 2025-11-21 13:43:32 +01:00
theis.gaedigk 09ea1cb301 fixed bug: landingpage does not render content 2025-11-20 17:41:47 +01:00
theis.gaedigk db21bcf1b4 changed docs 2025-11-19 16:52:55 +01:00
theis.gaedigk 4ec14416ca fixed some display bugs 2025-11-19 16:31:42 +01:00
theis.gaedigk 6556d2c01d imroved translation 2025-11-18 10:20:10 +01:00
theis.gaedigk 903e360c29 added new admin route for executing mysql commands 2025-11-18 10:18:25 +01:00
theis.gaedigk c5a9a09ef3 edited api docs 2025-11-17 22:55:23 +01:00
theis.gaedigk a191c9c053 refactored backend docs 2025-11-17 22:52:58 +01:00
theis.gaedigk 084a0fa2e2 refactor: update API endpoints and enhance loan management features 2025-11-17 22:49:54 +01:00
theis.gaedigk 88a2c74e88 adjusted gitignore 2025-11-17 21:38:26 +01:00
theis.gaedigk 3a03457f5a adjusted new backend with new routes 2025-11-17 21:37:29 +01:00
theis.gaedigk 757e13efe4 changed api and scheme 2025-11-17 21:20:57 +01:00
theis.gaedigk d2ee9d73c7 corrected routes 2025-11-13 22:02:14 +01:00
theis.gaedigk 8c10e6e63f refactored docs 2025-11-13 20:48:06 +01:00
theis.gaedigk 24bf5fcaaf Add file locations for authentication and API routes in documentation 2025-11-11 21:12:00 +01:00
theis.gaedigk 6f03fd8032 Update API documentation to clarify API key requirements 2025-11-11 21:08:10 +01:00
theis.gaedigk 17010d5480 edited docs 2025-11-11 21:06:13 +01:00
theis.gaedigk a8c5ef25f7 fixed 403 bug 2025-11-11 21:01:09 +01:00
theis.gaedigk eccd0135fc added api route. But still with bug: still getting 403 but have valid api key 2025-11-11 20:46:21 +01:00
theis.gaedigk 8f294278d4 Add API routing and remove unused imports in user management 2025-11-11 17:32:26 +01:00
theis.gaedigk 16e48aaf3f improved table view 2025-11-11 17:18:16 +01:00
theis.gaedigk e49700071b imrpoved table view 2025-11-11 17:11:20 +01:00
theis.gaedigk a8b4ac3d60 Refactor loan and user management components and backend routes
- Updated LoanTable component to fetch loan data from new API endpoint and display notes.
- Enhanced UserTable component to include additional user fields (first name, last name, email, admin status) and updated input handling.
- Modified fetcher utility to use new user data API endpoint.
- Adjusted login functionality to point to the new admin login endpoint and handle unauthorized access.
- Refactored user actions utility to align with updated API endpoints for user management.
- Updated backend routes for user and loan data management to reflect new structure and naming conventions.
- Revised SQL schema and mock data to accommodate new fields and constraints.
- Changed Docker configuration to use the new database name.
2025-11-11 17:08:45 +01:00
theis.gaedigk 974a5a75d8 improved 2025-11-11 14:24:37 +01:00
theis.gaedigk b9783a1909 added api data admin route 2025-11-10 10:21:42 +01:00
theis.gaedigk 304e73b459 Implement item and loan management routes with CRUD operations 2025-11-08 17:14:29 +01:00
theis.gaedigk 12277abb9e completed userDataMgmt 2025-11-08 16:59:07 +01:00
theis.gaedigk 20d22d6ce4 enhanced structure 2025-11-06 17:53:12 +01:00
theis.gaedigk 27d21efefa began to refactor backend 2025-11-05 10:25:23 +01:00
theis.gaedigk 3e67bf9052 edited docker config for backend 2025-11-03 21:12:58 +01:00
theis.gaedigk 3438321765 refactored backendV2 2025-11-03 21:09:31 +01:00
theis.gaedigk 29d47ddd9b refactor: update Dockerfiles and nginx configurations for consistency and optimization 2025-11-03 21:05:21 +01:00
theis.gaedigk 7b298180e0 edited dockker config 2025-11-03 20:42:52 +01:00
theis.gaedigk 9b3bd76c42 edited names 2025-11-02 21:22:25 +01:00
theis.gaedigk 5b73b44e79 refactored apiKeys table structure and added new route files for loans and user management 2025-11-02 21:19:02 +01:00
theis.gaedigk cf4a003c51 removed writing error 2025-11-02 21:18:35 +01:00
theis.gaedigk 592b60082b refactored api routes 2025-11-02 17:14:36 +01:00
theis.gaedigk a34292bda1 refactored authentication 2025-11-02 17:14:28 +01:00
theis.gaedigk 2f37ae8067 added backendV2 2025-11-02 16:55:16 +01:00
theis.gaedigk f49da68e15 refactored scheme 2025-10-31 13:39:04 +01:00
theis.gaedigk 9491da2950 edited scheme 2025-10-30 18:35:11 +01:00
theis.gaedigk a75ba12897 improved error handling 2025-10-30 17:32:55 +01:00
theis.gaedigk b52fe07618 refactor: update @tanstack/react-query to version 5.90.5 and restructure Footer component
feat: edited imports
2025-10-30 17:27:35 +01:00
theis.gaedigk 0d3de4f705 added new data scheme 2025-10-30 13:55:16 +01:00
theis.gaedigk ef3f953ebd removed sth 2025-10-30 13:50:38 +01:00
theis.gaedigk 1db4e69322 Remove unused components and files from the frontend, including Form4, Header, LoginForm, Object, Sidebar, and related utility functions. Clean up the project structure by deleting unnecessary CSS, TypeScript configuration files, and Vite configuration. This refactor aims to streamline the codebase and improve maintainability. 2025-10-27 20:40:53 +01:00
theis.gaedigk 83f1c9d191 feat: add server-info endpoint and include server information in info.json 2025-10-26 21:55:59 +01:00
theis.gaedigk af513034ef chore: add logging for i18n variable to prevent unused variable tree shaking 2025-10-26 15:40:23 +01:00
theis.gaedigk 3358c8f669 fixed render bug 2025-10-26 14:40:51 +01:00
theis.gaedigk d3f7a7570f feat: add Footer component and integrate it into App and LoginPage 2025-10-26 14:37:41 +01:00
theis.gaedigk c502601a2f feat: add language change functionality and update translations in Header and locale files 2025-10-26 14:22:19 +01:00
theis.gaedigk 070a390da8 refactor: streamline language initialization and update Container component in HomePage and MyLoansPage 2025-10-26 14:05:54 +01:00
theis.gaedigk bcf93ee9eb added english language 2025-10-26 14:05:48 +01:00
theis.gaedigk 9daff3ea5c refactor: update heading sizes in ItemTable, LoanTable, and UserTable components 2025-10-26 13:54:43 +01:00
theis.gaedigk 71fea52da7 filter out deleted loans in getBorrowableItemsFromDatabase and createLoanInDatabase functions 2025-10-26 13:54:37 +01:00
theis.gaedigk a8821ceca8 refactored code 2025-10-26 13:39:09 +01:00
theis.gaedigk 7e668e17d3 added german translation 2025-10-26 13:37:15 +01:00
theis.gaedigk 965a4b97ee translated greeting 2025-10-26 12:53:07 +01:00
theis.gaedigk 6054173b03 implemented i18n translation technology 2025-10-26 12:52:58 +01:00
theis.gaedigk 5ba35bb471 remove unused mock data files and update docker-compose paths 2025-10-25 22:44:43 +02:00
theis.gaedigk 47b5590394 removed landingpage from admin panel 2025-10-25 22:43:16 +02:00
theis.gaedigk 47fec60b5b added landingpage and fixed routing 2025-10-25 22:41:43 +02:00
theis.gaedigk e9319b49ec enhanced Header component with mobile menu and password change dialog; updated HomePage layout 2025-10-25 22:31:54 +02:00
theis.gaedigk b98e38b38b enhanced MyLoansPage with confirmation dialog for loan deletion; improved table layout and added code formatting for loan codes 2025-10-25 22:11:44 +02:00
theis.gaedigk a24a3033d3 updated scheme 2025-10-25 21:53:08 +02:00
theis.gaedigk d94d68aa33 added password input component and integrated password change functionality in Header; updated LoginPage for localized labels 2025-10-25 21:49:28 +02:00
theis.gaedigk cc0dcaf664 added MyLoansPage component and integrated loan deletion functionality; updated routing in App and added Header component 2025-10-25 21:27:08 +02:00
theis.gaedigk 7a79bf4436 added loan creation functionality and improved error handling in HomePage and Fetcher 2025-10-25 20:19:11 +02:00
theis.gaedigk 4b00dd6554 added borrowable items fetching and date input functionality to HomePage 2025-10-25 20:01:06 +02:00
theis.gaedigk ba34a97328 added sf pro 2025-10-25 19:07:26 +02:00
theis.gaedigk a013ad0bb8 enhanced greeting 2025-10-25 16:47:32 +02:00
theis.gaedigk d7240584f9 added logout function and enhanced greeting 2025-10-25 16:44:30 +02:00
theis.gaedigk a0bdf5539c added greeting with context logic 2025-10-25 15:59:52 +02:00
theis.gaedigk 770025f8fc added changelog mock (not yet functionaning) 2025-10-25 00:23:56 +02:00
theis.gaedigk 960e91c38a feat: Implement authentication flow with token verification and protected routes 2025-10-24 20:45:37 +02:00
theis.gaedigk b99f52f09a feat: Initialize FrontendV2 project with React, Vite, and Tailwind CSS
- Add package.json with dependencies and scripts for development and build
- Include Vite logo and React logo SVGs in public/assets
- Set up Tailwind CSS in App.css and index.css
- Create main App component with routing for Home and Login pages
- Implement LoginPage with authentication logic and error handling
- Add HomePage component as a landing page
- Create MyAlert component for displaying alerts using Chakra UI
- Implement color mode toggle functionality with Chakra UI
- Set up global state management using Jotai for authentication
- Create ProtectedRoutes component to guard routes based on authentication
- Add utility components for Toaster and Tooltip using Chakra UI
- Configure Tailwind CSS and TypeScript settings for the project
- Implement AddLoan component for selecting loan periods and fetching available items
2025-10-24 20:21:32 +02:00
theis.gaedigk 86af1a5edf implemented jotai atoms 2025-10-22 21:44:05 +02:00
theis.gaedigk 49d4d13afc improved design of email 2025-10-05 15:55:05 +02:00
theis.gaedigk 45fa095eaf fixed mail view issues 2025-10-05 15:49:38 +02:00
theis.gaedigk 23be7e12c7 removed some logging stuff 2025-10-04 19:34:27 +02:00
theis.gaedigk 6ea1ff799c added .env link function 2025-10-04 00:26:02 +02:00
theis.gaedigk 5131266242 changed itemform placeholder for better understanding 2025-10-04 00:08:19 +02:00
theis.gaedigk bb17bc735c added landingpage to email 2025-10-04 00:07:32 +02:00