Commit Graph

123 Commits

Author SHA1 Message Date
dependabot[bot]
a1713c2f67 Dusting 2024-07-01 03:23:05 +00:00
Rico van Zelst
03c93ed189 feat(Champion Model): Add 'Crimson Rush' to resource types
A new resource type, 'Crimson Rush', has been added to the Champion model. This extends the range of available resource types for champions in the game.
2024-06-22 18:56:19 +02:00
rico-vz
be90837cab Dusting 2024-06-18 12:27:13 +00:00
Rico van Zelst
35b5e060ec feat: Active Search for skins 2024-06-18 14:26:43 +02:00
Rico van Zelst
20f08944c2 feat: Add Heimerdinger PHP CS rules for Laravel
- Added a new phpcs.xml.dist file with specific coding standards for Laravel development.
2024-06-18 13:09:26 +02: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
Rico van Zelst
68dd3dd2f8 fix: Handle null response in SaleController index method
- Add try-catch block to handle null response from API
- Log errors and return appropriate HTTP responses
- Update error message in 503.blade.php to show exception message if available
2024-06-18 12:31:21 +02:00
Rico van Zelst
f01703830d feat: Change support to donate and views
- Changed method name from support to donate in HomeController
- Updated footer link and view references from support to donate
- Renamed support.blade.php to donate.blade.php for consistency
- Updated route endpoint from /support-me to /donate in web.php
2024-06-18 12:31:08 +02:00
Rico van Zelst
1616891d21 style: update rarity color for 'Transcendent'
- Change the rarity color class for 'Transcendent' from 'text-orange-400' to 'text-violet-400'.
2024-06-03 18:54:05 +02:00
Rico van Zelst
0d2392eacc feat: Add 'Transcendent' rarity color
- Added a new rarity color 'Transcendent' with corresponding text color to the ChampionSkinController.
2024-06-03 18:51:14 +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
672088b696 Apply fixes from StyleCI 2024-04-30 23:18:02 +00:00
Rico van Zelst
c69a5472aa refactor: Update image URL generation logic
- Refactored the logic for generating image URLs for champions and champion skins to improve readability and maintainability.
2024-05-01 01:12:31 +02:00
StyleCI Bot
919923111f Apply fixes from StyleCI 2024-04-18 17:44:20 +00:00
Rico van Zelst
267a2e4b67 feat: Add LMI API integration for fetching sales data
- Integrate LMI API to fetch current sales data using the provided API key.
- Update SaleController to use Http facade for making API requests.
- Modify services configuration to include LMI API key.
2024-04-18 19:44:09 +02:00
Rico van Zelst
984690b758 fix temporary 2024-04-17 12:59:25 +02:00
StyleCI Bot
401fa11cb1 Apply fixes from StyleCI 2024-04-15 03:17:22 +00:00
Rico van Zelst
29e102e8bb feat(champion-skin): Improve skin image URL handling
- Refactored the `getSkinImageAttribute` method in ChampionSkin model to accept a boolean parameter for uncentered images.
- Updated references to `getSkinImageAttribute` in ChampionSkinController and blade files to include the new parameter for uncentered images.
2024-04-14 14:29:30 +02:00
Rico van Zelst
0fb2b967fb feat: Add support for uncentered champion images
- Updated the Champion model to include an optional parameter for retrieving uncentered champion images. Adjusted image URLs in relevant views accordingly.
2024-04-14 14:21:32 +02:00
StyleCI Bot
a5f00c2828 Apply fixes from StyleCI 2024-04-14 11:47:00 +00:00
Rico van Zelst
01b3e35e87 fix: Update Champion image URLs from CDN Cdragon to RAW
- Refactored the Champion model to use new image URLs for different attributes.
- Updated blade templates to fetch champion images with correct URLs.
2024-04-14 13:46:53 +02:00
StyleCI Bot
94e37fcd30 Apply fixes from StyleCI 2024-04-01 14:36:34 +00:00
Rico van Zelst
55a72607e2 refactor: improve filtering of hidden posts in PostsController
- Refactored the code in `PostsController.php` to filter out hidden posts before sorting by date for better performance and accuracy.
- Updated the blade template `listposts.blade.php` to adjust formatting and structure for displaying posts.
2024-04-01 16:27:07 +02:00
StyleCI Bot
fd4ce12409 Apply fixes from StyleCI 2024-03-31 18:33:35 +00:00
Rico van Zelst
821c0d1c3c feat: Add roadmap functionality
- Added a new method `roadmap` to HomeController for displaying the roadmap view.
- Created a new Blade template `roadmap.blade.php` for the roadmap page.
- Defined a route `/roadmap` to access the roadmap feature.
2024-03-31 20:33:23 +02:00
Rico van Zelst
2b9fd26b7e fix: Use static arrow function for splash color calculation
- Replace the anonymous function with a static arrow function for calculating the splash color in ChampionSkinController.php.
2024-03-28 10:35:50 +01: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
Rico van Zelst
5b55e21659 feat: Add support page
- Added a new method in HomeController to handle the support page.
- Created a new blade template for the support page with donation options.
2024-03-27 01:04:40 +01:00
StyleCI Bot
e436ceae38 Apply fixes from StyleCI 2024-03-26 10:27:36 +00:00
Rico van Zelst
7ccd8ba022 feat: Add caching to streamer data retrieval
- Added caching mechanism to store and retrieve streamer data for API responses, improving performance.
- Implemented cache forget method in StreamerPanelController for CRUD operations to update cached data accordingly.
2024-03-26 10:30:09 +01:00
Rico van Zelst
39e9acf85b refactor: Remove unused cache for streamers
- Removed the unused caching mechanism for champion streamers to improve code clarity and efficiency.
2024-03-23 03:06:32 +01:00
Rico van Zelst
e6dcfacb31 feat: Add streamers to champion show view
- Added loading of streamers data in the champion show view.
- Updated ChampionController to load streamers for display.
2024-03-23 02:48:08 +01:00
Rico van Zelst
b46128ec26 Add Champion model, form validation, and components for StreamerPanel.
- Added Champion model to StreamerPanelController.
- Implemented form validation for champion_id, platform, username, and displayname in create and update methods.
- Created StreamerCreateForm and StreamersTable components for better organization.
2024-03-22 02:35:44 +01:00
Rico van Zelst
236ff32acc feat: Update AWS SDK and Laravel Package Tools versions
- Updated AWS SDK version to 3.301.4
- Updated Laravel Package Tools version to 1.16.4
2024-03-21 01:10:43 +01:00
Rico van Zelst
effd0203a3 feat: Add Streamer and StreamerPanel controllers, Streamer model
- Added StreamerController with index and show methods
- Added StreamerPanelController with index, create, store, edit, update, and destroy methods
- Created Streamer model with fillable attributes and platform-specific URL generation logic
- Implemented migration for creating the streamers table
2024-03-21 00:47:41 +01:00
Shift
778d036f5b Convert validation rules to array syntax 2024-03-18 17:53:47 +00:00
StyleCI Bot
8fa00e2ef6 Apply fixes from StyleCI 2024-03-18 17:48:57 +00:00
Rico
5fa130de02 Apply fixes from StyleCI 2024-03-18 17:06:33 +00:00
Shift
c3c694de26 Mark base controller as abstract 2024-03-18 16:13:36 +00:00
Shift
1038874e0f Convert $casts property to method 2024-03-18 16:13:34 +00:00
Shift
339973644a Re-register scheduled commands 2024-03-18 16:13:33 +00:00
Shift
11b63e791f Consolidate service providers 2024-03-18 16:13:28 +00:00
Shift
3e12fd6b1a Remove default app files 2024-03-18 16:13:17 +00:00
Rico
443c899eab Apply fixes from StyleCI 2024-03-03 16:44:46 +00:00
Rico van Zelst
37bc210923 feat(controller): add HTMLSitemapController for generating HTML sitemap
- Added HTMLSitemapController to generate sitemap with cached data
- Updated footer.blade.php and index.blade.php for sitemap links
2024-03-03 17:23:22 +01:00
Rico van Zelst
c6f9423241 feat(commands): add GenerateSitemapCommand for sitemap generation
- Added GenerateSitemapCommand to create sitemap.xml
- Updated Kernel to schedule sitemap generation weekly
- Updated composer.json with spatie/laravel-sitemap dependency
2024-02-26 17:48:22 +01:00
Rico van Zelst
8bdcd5b086 feat(contact): Add hCaptcha integration, Discord alert for contact
- Added hCaptcha validation to the contact form.
- Integrated hCaptcha configuration in the application.
- Implemented Discord alerts for new contact submissions with detailed content.
2024-02-24 21:52:00 +01:00