Commit Graph

43 Commits

Author SHA1 Message Date
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
e436ceae38 Apply fixes from StyleCI 2024-03-26 10:27:36 +00: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
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
StyleCI Bot
8fa00e2ef6 Apply fixes from StyleCI 2024-03-18 17:48:57 +00:00
Shift
1038874e0f Convert $casts property to method 2024-03-18 16:13:34 +00:00
Rico van Zelst
c490e87c3e feat: Add Discord alert webhook, ContactCategory enum, form request
- Added Discord alert webhook URL to .env.example
- Created ContactCategory enum with humanReadable method
- Implemented ContactSubmissionRequest form request
- Added ContactSubmission model with fillable and casts properties
- Included configurations for Discord alerts and honeypot protection
2024-02-24 19:58:31 +01:00
Rico van Zelst
2374a39c77 feat(monitoring): add pulse
- Added a new gate called `viewPulse` in the `AuthServiceProvider` class.
- The gate allows only admin users to view the Pulse feature.
2023-12-01 21:49:26 +01:00
Rico van Zelst
3e7592fa9c feat: summoner icon show 2023-11-27 19:11:09 +01:00
Rico van Zelst
c11df81e5c feat: emote data 2023-11-26 18:24:23 +01:00
Rico van Zelst
1a6091e099 feat: code for emotes 2023-11-26 17:52:06 +01:00
Rico
d07bda0fa3 Apply fixes from StyleCI 2023-11-26 16:39:54 +00:00
Rico van Zelst
a2dc7ad465 feat: implement sqids 2023-11-26 17:39:45 +01:00
Rico
3fcbbc8e9c Apply fixes from StyleCI 2023-11-16 10:29:51 +00:00
Rico van Zelst
cea55e776c feat: icon list + search functionality 2023-11-15 13:58:12 +01:00
Rico van Zelst
c542a2421b feat: skin grid info 2023-11-09 14:55:57 +01:00
Rico van Zelst
88a7ba0b3b fix: optimize home images 2023-11-09 12:42:03 +01:00
Rico van Zelst
2b8e6d9327 feat: skin list 2023-11-09 12:20:46 +01:00
Rico van Zelst
c7eae5d41a fix: skin duplicate bug 2023-11-08 18:47:26 +01:00
Rico van Zelst
68231197d0 fix: skin foreign key 2023-11-08 15:01:20 +01:00
Rico
8ad573c920 Apply fixes from StyleCI 2023-11-08 13:13:00 +00:00
Rico van Zelst
149174ebc3 feat: champ information, style improvement 2023-11-08 14:12:51 +01:00
Rico van Zelst
38247c71d9 feat: champ info start 2023-11-08 10:39:52 +01:00
Rico van Zelst
d17d19bac6 fix: query optimization
 166 Queries -> 2 Queries (cached)
2023-11-07 22:04:00 +01:00
Rico van Zelst
4445bc1478 feat: champion list 2023-11-07 17:28:37 +01:00
Rico
4e05fcee91 Apply fixes from StyleCI 2023-11-06 20:47:58 +00:00
Rico van Zelst
3d6c00dd0d feat: upcoming skins & feat: return types 2023-11-06 20:56:21 +01:00
Rico van Zelst
9f419ca0ca fix: bug with role accessor 2023-11-02 14:16:08 +01:00
Rico van Zelst
5ee2e0ad68 feat: champion roles data seeder 2023-11-02 13:54:27 +01:00
Rico van Zelst
91ec747c2c style: make per the coding style in pint 2023-11-02 13:05:53 +01:00
Rico van Zelst
147e0078df feat: role mapping to popular naming
While the database values match the ones internally used by Riot Games in the League of Legends client, this is not how most people call them. So we map them to the way people call them for SEO
2023-11-02 12:36:54 +01:00
Rico van Zelst
87280627ee feat: add slug to all tables 2023-11-02 11:10:34 +01:00
Rico van Zelst
509fbed10b feat: add champion role database 2023-11-01 14:55:17 +01:00
Rico van Zelst
9ced9a83f3 style: laravel pint lint 2023-11-01 14:09:25 +01:00
Rico van Zelst
69c072a003 feat: make models sluggable 2023-11-01 14:08:20 +01:00
Rico van Zelst
f795a65882 ⚙️ SkinChroma Array cast 2023-10-27 10:22:19 +02:00
Rico van Zelst
021eae9bf4 🌈 Skin Chromas 2023-10-27 10:20:17 +02:00
Rico van Zelst
bb771faf25 🍺 Laravel Pint ran
- Moved the import statement for `Champion` and `ChampionSkin` models in their respective controllers to improve code organization.
- Refactored image attribute methods in the `Champion` model to use string interpolation for better readability.
- Refactored image attribute methods in the `ChampionSkin` model to use string interpolation for better readability.

This commit improves code organization and readability by refactoring import statements and using string interpolation for image attribute methods.
2023-10-27 01:23:39 +02:00
Rico van Zelst
1414391197 🎨 Champion + Skin databases 2023-10-26 20:46:09 +02:00
Rico van Zelst
6aa1f21eb1 🏗️ Laravel Installation 2023-10-14 17:00:26 +02:00