Code Monkey home page Code Monkey logo

craft's Introduction

Hi there ๐Ÿ‘‹

I'm Mike,
A developer from the Netherlands.

OS/Tools:


Web Languages/Frameworks:


Gamedev:


craft's People

Contributors

dependabot[bot] avatar mikesnoeren avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Forkers

mierla garrill

craft's Issues

Use prettier for automatic tailwind class alignment

Whenever possible, use the following three npm packages for auto tailwind class sorting in twig. As of now, the last two packages break eachother..

prettier, prettier-plugin-tailwindcss, prettier-plugin-twig-melody.

Update htmlpurifier/Default.json

{
  "Attr.AllowedFrameTargets": [
    "_blank"
  ],
  "Attr.EnableID": true,
  "HTML.AllowedComments": [
    "pagebreak"
  ],
  "HTML.SafeIframe": true,
  "URI.SafeIframeRegexp": "%^(https?:)?//(www.youtube.com/|player.vimeo.com/)%"
}

add broken image path

add broken image path.

'brokenImagePath' => '', // TODO: add broken image path.

    // Assets
    'convertFilenamesToAscii' => true,
    'brokenImagePath' => '', // TODO: add broken image path

    // GraphQL
    'enableGql' => false

6558ba288b23777deb75ba09ba6169091c5c1ccd

Add extra test todo comment

Add extra test todo comment

// TODO: Add extra test todo comment

        // Custom initialization code goes here...
        // TODO: Check if todo plugin works in PHP (updated)
        // TODO: Add extra test todo comment
    }
}

946fcc02157aab52941fd0aff5fbc6c65ba2b54f

Fix mail config

The mail config in app.php is listening for a value named SMTP_HOST, which doesn't exist.
We have to rename MAILHOG_SMTP_HOST to fix this.

test todo comment

test todo comment

{# TODO: test todo comment #}

        <div class="mx-auto max-w-[2560px] bg-white px-2">
            <header>
                {% block header %}
                    {# TODO: test todo comment #}
                {% endblock %}
            </header>

14d2d886f90d3fe769abc21ef933b3ac3ec29dcb

Update bootstrap.php with latest version from Craftcms

<?php
/**
 * Shared bootstrap file
 */

// Define path constants
define('CRAFT_BASE_PATH', __DIR__);
define('CRAFT_VENDOR_PATH', CRAFT_BASE_PATH . '/vendor');

// Load Composer's autoloader
require_once CRAFT_VENDOR_PATH . '/autoload.php';

// Load dotenv?
if (class_exists(Dotenv\Dotenv::class)) {
    // By default, this will allow .env file values to override environment variables
    // with matching names. Use `createUnsafeImmutable` to disable this.
    Dotenv\Dotenv::createUnsafeMutable(CRAFT_BASE_PATH)->safeLoad();
}

use Sendmail if smtp settings aren't set in .env

use Sendmail is smtp settings aren't set in .env

'bootstrap' => ['my-module'],

// TODO: use Sendmail is smtp settings aren't set in .env

    'modules' => [
        'my-module' => \modules\Module::class,
    ],
    // TODO: use Sendmail is smtp settings aren't set in .env
    //'bootstrap' => ['my-module'],
];

583cbb63804efbef2b726d3458cba05b5ab5855d

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.