30 Commits

Author SHA1 Message Date
Rico van Zelst
08999d08cd feat(sales): add sales feature toggle 2025-12-04 21:11:24 +01:00
rico-vz
c5094aa91a Dusting 2025-02-26 21:26:56 +00:00
Rico van Zelst
76d468d1da feat: add AdSense configuration file
- Introduced a new config file for AdSense settings.
- Added client ID and ad slot identifiers for various placements.
2025-02-26 22:24:05 +01: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
Rico van Zelst
013b158175 fix: Update 'discord' log level to 'error'
- Changed the log level for 'discord' channel from 'debug' to 'error'.
2024-06-05 01:03:59 +02:00
StyleCI Bot
1c24066b17 Apply fixes from StyleCI 2024-06-03 15:07:16 +00:00
Rico van Zelst
ac56c13765 feat: Add Discord logging support
- Added Discord webhook URL to .env.example
- Included 'marvinlabs/laravel-discord-logger' in composer.json
- Created config file for Discord logger settings
2024-06-03 17:07:05 +02: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
StyleCI Bot
8fa00e2ef6 Apply fixes from StyleCI 2024-03-18 17:48:57 +00:00
Shift
a0043124f4 Shift cleanup 2024-03-18 16:13:37 +00:00
Shift
7a44413dfa Re-register service providers 2024-03-18 16:13:28 +00:00
Shift
153a169fb3 Streamline config files 2024-03-18 16:13:26 +00: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
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
13ba72c897 feat(env): add GTAG_MEASUREMENT_ID to env and config
- Added GTAG_MEASUREMENT_ID to .env.example
- Updated 'GTAG_MEASUREMENT_ID' in config/app.php
- Modified script tag in googletag.blade.php to use dynamic ID
2024-02-24 15:44:57 +01:00
Rico van Zelst
f052ed3d7e feat(config): update octane cache settings
- Update the 'rows' value in the octane cache configuration from 100000 to 500.
- Update the 'bytes' value in the octane cache configuration from 70000 to 4000.
2024-01-18 00:06:17 +01:00
Rico van Zelst
e3cc331923 feat(config): increase Octane cache limits
Increase the maximum number of rows in the Octane cache from 1000 to 100000 and the number of bytes per row from 10000 to 70000. This change allows for more efficient caching and improves performance.
2024-01-13 20:49:26 +01:00
Rico van Zelst
83e94327d3 feat(octane): add Octane server configuration and listeners
This commit adds the necessary changes to the `composer.json` file to include the `laravel/octane` package as a dependency. It also introduces a new `config/octane.php` file that contains the configuration for Octane's server, HTTPS settings, event listeners, warm/flush bindings, Swoole tables, cache table, file watching, garbage collection threshold, and maximum execution time.

The added dependencies in `package.json` include `chokidar`, which is used for file watching functionality.

These changes enable the use of Laravel Octane for improved performance and efficiency in handling requests.
2024-01-13 19:24:23 +01:00
Rico van Zelst
2e7e7dc2a9 feat(config): add Cloudflare R2 filesystem configuration
- Added new environment variables for Cloudflare R2 access key, secret access key, bucket, endpoint, and URL in the .env.example file.
- Updated composer.json to include the league/flysystem-aws-s3-v3 package.
- Modified the filesystems.php configuration file to include a new 'r2' disk for Cloudflare R2 storage.
2024-01-07 03:02:40 +01:00
Rico van Zelst
b88cdc1f07 feat: SEO Improvements
- Added `APP_STAGING` variable to `.env.example`
- Updated `config/app.php` to use `APP_STAGING` for determining the value of `IS_STAGING`
- Updated `resources/views/layouts/app.blade.php` and `resources/views/posts/show.blade.php` to include additional meta tags for SEO and attribution
2023-12-14 14:11:08 +01:00
Rico van Zelst
25c3675c2b feat: Add PostsController and configure routes
- Added a new file `PostsController.php` in the `app/Http/Controllers` directory.
- Implemented the `index()` method to retrieve all posts using the Sheets facade.
- Implemented the `show()` method to display a single post using route model binding with Sheets.
- Updated the `RouteServiceProvider.php` file to bind the 'post' route parameter to retrieve posts from the Sheets collection.
- Created a new configuration file `sheets.php` in the `config` directory, defining default settings for collections and their corresponding sheet classes, path parsers, content parsers, and extensions.
- Added a new markdown file `hello-world.md` in the `content/posts` directory as an example post.
- Created two new blade view files: `index.blade.php` and `show.blade.php`, under the `resources/views/posts` directory, for displaying lists of posts and individual post details respectively.
- Modified the existing web routes (`web.php`) to include routes for accessing posts.

The changes enable users to view all posts on `/posts`, as well as access individual post details at `/post/{post}`.
2023-12-12 10:23:15 +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
36009e116e feat: cloudflare purge command 2023-11-09 16:22:14 +01:00
Rico van Zelst
c7eae5d41a fix: skin duplicate bug 2023-11-08 18:47:26 +01:00
Rico van Zelst
942123947b feat: new iconsets
more lightweight
2023-11-07 21:28:21 +01:00
Rico van Zelst
1e974ee614 upd: gitignore 2023-11-07 20:30:35 +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
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
9781c61274 🏗️ Install Packages 2023-10-14 17:18:22 +02:00
Rico van Zelst
6aa1f21eb1 🏗️ Laravel Installation 2023-10-14 17:00:26 +02:00