Commit Graph

17 Commits

Author SHA1 Message Date
Rico van Zelst
6a069ca7fd style: adjust spacing in helper functions 2025-05-05 18:48:21 +02:00
Rico van Zelst
7f77efde29 style: update code style and phpcs rules 2025-05-05 18:47:12 +02:00
rico-vz
651b6f449e Dusting 2025-03-04 11:50:42 +00:00
Rico van Zelst
68d18311b4 feat: refactor code and improve readability 2025-03-04 12:50:19 +01:00
dependabot[bot]
fb5b8f8281 Dusting 2024-11-04 03:19:22 +00:00
Rico van Zelst
a0b37a4ab4 🧹 Duster 2024-06-18 12:55:10 +02:00
StyleCI Bot
e05dd6201a Apply fixes from StyleCI 2024-06-18 10:44:33 +00:00
Rico van Zelst
5038a18397 feat: Add function to retrieve commit hash
- Added a new function `getCommitHash` to fetch the latest commit hash using Git log command and cache it for 3 days.
2024-06-18 12:44:24 +02:00
StyleCI Bot
cd709d7255 Apply fixes from StyleCI 2024-05-01 22:51:00 +00:00
Rico van Zelst
6d2731f1d3 feat: Add functionality to retrieve champion images from the database
- Added a new function `getChampionImage` to fetch champion images based on ID and type.
- Created a new model `ChampionImage` to store champion image details in the database.
- Implemented seeding of champion images using `ChampionImageSeeder`.
- Updated usage of champion images in existing methods.
2024-05-02 00:50:51 +02:00
StyleCI Bot
fd4ce12409 Apply fixes from StyleCI 2024-03-31 18:33:35 +00:00
Rico van Zelst
998f386f20 fix: Handle exceptions in image processing functions
- Catch exceptions when reading image content to prevent errors.
- Adjust image resizing dimensions for better display.
2024-03-28 10:34:16 +01:00
StyleCI Bot
8fa00e2ef6 Apply fixes from StyleCI 2024-03-18 17:48:57 +00:00
Rico van Zelst
ce69f0e409 refactor(helper): update image processing in HelperFunctions.php
- Replace the deprecated `Intervention\Image\ImageManagerStatic` with `Intervention\Image\ImageManager`.
- Use the `Intervention\Image\Drivers\Gd\Driver` for image manipulation.
- Update the code to read and resize images using the new ImageManager instance.
- Modify color picking logic to use the updated syntax for accessing RGB values.
2023-12-25 23:50:18 +01:00
Rico van Zelst
68231197d0 fix: skin foreign key 2023-11-08 15:01:20 +01:00
Rico van Zelst
149174ebc3 feat: champ information, style improvement 2023-11-08 14:12:51 +01:00
Rico van Zelst
d17d19bac6 fix: query optimization
 166 Queries -> 2 Queries (cached)
2023-11-07 22:04:00 +01:00