Commit Graph

34 Commits

Author SHA1 Message Date
Rico van Zelst b4c827e391 fix: Update existing champion images
- Fixes issue that made it so champion images would store duplicate champion images no matter what.
2024-08-07 00:06:01 +02:00
rico-vz efa2a6cf54 Dusting 2024-06-22 16:45:28 +00:00
Rico van Zelst 87c0d4ca94 feat: Implement new way of fetching champ info
Introduced a new environment variable, MAMC_SECRET, to securely fetch champion data from an external API. This secret is now used in the ChampionSeeder, ChampionSkinSeeder and SkinChromaSeeder classes to authenticate requests. The .env.example and app configuration files have been updated accordingly.
2024-06-22 18:45:05 +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
Shift d6546026a6 Apply the Laravel code style 2024-03-18 17:55:33 +00:00
StyleCI Bot 8fa00e2ef6 Apply fixes from StyleCI 2024-03-18 17:48:57 +00:00
Rico van Zelst bd2b01055f fix: add emotes to full seeder 2023-11-26 18:25:43 +01:00
Rico van Zelst c11df81e5c feat: emote data 2023-11-26 18:24:23 +01:00
Rico van Zelst ad49426825 feat: active nav highlighting & icon fixes 2023-11-16 11:29:32 +01:00
Rico van Zelst 6331dd3531 fix: seeder 2023-11-15 13:59:41 +01:00
Rico van Zelst cea55e776c feat: icon list + search functionality 2023-11-15 13:58:12 +01:00
Rico van Zelst 03fbcfaa3f fix: cloudflare command issue 2023-11-09 16:51:25 +01:00
Rico van Zelst 89ac9ffec2 feat: cloudflare purge 2023-11-09 16:32:37 +01:00
Rico van Zelst 4445bc1478 feat: champion list 2023-11-07 17:28:37 +01:00
Rico 8479bee7c3 Apply fixes from StyleCI 2023-11-07 12:16:58 +00:00
Rico van Zelst aea82ff0f6 fix: change http to https 2023-11-07 11:19:35 +01:00
Rico van Zelst 90e36c74ec feat: caching 2023-11-06 21:47:51 +01:00
Rico van Zelst 6166d467be style: fix control structure 2023-11-02 13:55:33 +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 a8c31e3097 feat: start champ role seeder 2023-11-02 12:54:03 +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 fc2f3af040 feat: skin chroma data seeder 2023-11-01 09:40:25 +01:00
Rico van Zelst 9bb4de7a76 fix: skip original (base) skin 2023-11-01 08:49:18 +01:00
Rico van Zelst ea879a8c70 feat: champion skin data seeder 2023-10-31 10:20:33 +01:00
Rico van Zelst dc4617c576 fix: fix typo in skins database 2023-10-31 09:19:14 +01:00
Rico van Zelst f2c390e940 style: add more informative comment 2023-10-31 09:14:58 +01:00
Rico van Zelst 6f178bdece feat: champion data seeder 2023-10-31 09:11:22 +01: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