Commit Graph

43 Commits

Author SHA1 Message Date
c5ec574873 fix: replace Image.ANTIALIAS with Image.LANCZOS in resize_image function to resolve AttributeError 2024-09-03 14:55:24 +02:00
47dade0384 feat: add image resizing functionality to limit height to 50px during game addition 2024-09-03 14:54:14 +02:00
4072b9e606 feat: add Pillow to requirements.txt for image resizing functionality 2024-09-03 14:52:17 +02:00
155ce5c9d5 feat: add delete_game route to remove game and its associated image file 2024-09-03 14:29:21 +02:00
56f8939b9d feat: send base64 encoded images in game list response 2024-09-03 12:05:54 +02:00
e28d6660ae feat: save relative image path in the database when adding a game 2024-09-03 11:58:21 +02:00
1d04d0d941 feat: save game images locally and store their paths in the database 2024-09-03 11:53:40 +02:00
e34d9270e9 feat: set owned field to true by default when adding a game 2024-09-03 10:17:44 +02:00
0f8801fa1e feat: restrict search functionality to authenticated users only 2024-09-02 17:13:39 +02:00
f920ff4740 fix: eliminate duplicate search results in search_game_api function 2024-09-02 17:11:27 +02:00
d042ea743c feat: add requests library to requirements.txt for API requests 2024-09-02 17:06:22 +02:00
78f6555c40 fix: update requirements.txt to include Flask-Cors dependency 2024-09-02 17:06:12 +02:00
0f44b8ecc0 feat: update requirements to include beautifulsoup4 for web scraping functionality 2024-09-02 17:05:07 +02:00
05d936837c docs: update README to document new game search functionality and adjust section numbering 2024-09-02 17:03:10 +02:00
a51bf8f0e9 feat: add search functionality for games through the API 2024-09-02 17:02:38 +02:00
c2740b05e1 docs: sortiere README.md nach Spiel- und Benutzerfunktionen 2024-09-02 11:49:32 +02:00
b9dfa6adba feat: set buyer as the authenticated user's username when adding a game 2024-09-02 11:47:29 +02:00
7bf9763a95 docs: update README to include game editing and deletion endpoints 2024-09-02 11:44:04 +02:00
1586309d3a feat: allow admins to edit the "owned" status of games 2024-09-02 11:43:41 +02:00
c49db43a43 feat: add delete game functionality for admins 2024-09-02 11:42:55 +02:00
bdb693c361 feat: add edit_game endpoint to allow users to update game title and image 2024-09-02 11:42:20 +02:00
874e190eba docs: aktualisiere README.md zur Beschreibung der Benutzerbearbeitung und Passwortoption 2024-09-02 11:14:48 +02:00
bb4f7c2d08 feat: allow admin to update user password without viewing it 2024-09-02 11:14:15 +02:00
d7cf96978a docs: update README to include user edit and delete endpoints information 2024-09-02 11:12:54 +02:00
1a90920cd3 feat: add user editing and deletion functionality for admins 2024-09-02 11:12:18 +02:00
fb301ab9a7 docs: aktualisiere die README-Datei zur Benutzererstellung und Authentifizierung 2024-09-02 11:10:57 +02:00
b7fb379984 fix: restrict user creation to admin users only 2024-09-02 11:09:26 +02:00
99fc0e2cf8 feat: implement authentication for adding and retrieving games 2024-09-02 11:08:07 +02:00
f078c27cb5 feat: implement JWT authentication for user management 2024-09-02 10:51:50 +02:00
3d172fb5af docs: update README to include password encryption and default user creation details 2024-09-02 10:48:07 +02:00
78c13051d0 feat: create default admin user when initializing the database 2024-09-02 10:45:58 +02:00
7047f7c7e8 feat: implement password hashing for user authentication and storage 2024-09-02 10:43:07 +02:00
54061aac2c feat: add authentication middleware to restrict access to logged-in users only 2024-09-02 10:40:44 +02:00
67e0624c68 docs: update README to include database structure for users table 2024-09-02 10:35:36 +02:00
204ceb489a docs: update README to include user management features and endpoints 2024-09-02 10:32:59 +02:00
069b318f0b feat: implement user management with roles and last login tracking 2024-09-02 10:32:26 +02:00
58254c4973 feat: set current date automatically when adding a new game to the database 2024-09-02 09:49:10 +02:00
8345ac4e64 fix: correct table name in Game model to 'games' to resolve OperationalError 2024-09-02 09:42:47 +02:00
30933ed2d5 fix: update database path to use instance folder for SQLite files 2024-09-02 09:35:10 +02:00
275df31213 fix: ensure database is initialized before operations to resolve OperationalError 2024-09-02 09:32:28 +02:00
0f547aa1dc feat: create database initialization script with games and users tables 2024-09-02 09:31:38 +02:00
4161c30327 docs: add API documentation for game collection endpoints in README.md 2024-09-02 09:07:06 +02:00
e61fac0b34 feat: implement backend with Flask for game collection management using SQLite database 2024-09-02 09:02:32 +02:00