Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions .ddev/config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: drupalcz
type: drupal9
docroot: docroot
php_version: "8.3"
webserver_type: apache-fpm
nodejs_version: "18"
router_http_port: "80"
router_https_port: "443"
xdebug_enabled: false
additional_hostnames: []
additional_fqdns: []
database:
type: mariadb
version: "10.11"
use_dns_when_possible: true
composer_version: "2"
web_environment: []

hooks:
post-start:
- exec: scripts/create-settings.sh
19 changes: 11 additions & 8 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -19,29 +19,32 @@
*.config text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2
*.css text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2
*.dist text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2
*.engine text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 diff=php
*.engine text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 diff=php linguist-language=php
*.html text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 diff=html
*.inc text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 diff=php
*.install text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 diff=php
*.inc text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 diff=php linguist-language=php
*.install text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 diff=php linguist-language=php
*.js text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2
*.json text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2
*.lock text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2
*.map text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2
*.md text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2
*.module text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 diff=php
*.php text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 diff=php
*.module text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 diff=php linguist-language=php
*.php text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 diff=php linguist-language=php
*.po text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2
*.profile text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 diff=php
*.profile text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 diff=php linguist-language=php
*.script text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2
*.sh text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 diff=php
*.sh text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 diff=php linguist-language=php
*.sql text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2
*.svg text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2
*.theme text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 diff=php
*.theme text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 diff=php linguist-language=php
*.twig text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2
*.txt text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2
*.xml text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2
*.yml text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2

# PHPStan's baseline uses tabs instead of spaces.
core/.phpstan-baseline.php text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tabwidth=2 diff=php linguist-language=php

# Define binary file attributes.
# - Do not treat them as text.
# - Include binary diff in patches instead of "binary files differ."
Expand Down
8 changes: 8 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,14 @@ local.blt.yml
.lando.local.yml
/docroot/themes/custom/dcz_theme/config_local.json

# DDEV
.ddev/.homeadditions
.ddev/.gitignore
.ddev/import-db
.ddev/db_snapshots
.ddev/.dbirc
.ddev/.bash_history

# Ignore drupal core.
docroot/core

Expand Down
30 changes: 30 additions & 0 deletions DDEV_SETUP.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# DDEV Setup

## Quick Start

```bash
# Start DDEV
ddev start

# Install dependencies
ddev composer install

# Install Drupal (minimal profile)
ddev drush site:install minimal --existing-config --yes

# Or import existing database
ddev import-db --file=path/to/database.sql.gz

# Get login link
ddev drush uli

# Access site
# http://drupalcz.ddev.site
```

## Database Connection
- Host: `db`
- Database: `db`
- User: `db`
- Password: `db`

16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,22 @@ Branch | Build status | Dev site | HTTP Basic auth
* .travis.yml - Travis CI test suite configuration.

## Requirements
### Pokud používáte DDEV
* Nainstalujte si DDEV, https://ddev.readthedocs.io/en/stable/#installation
* V adresáři projektu spusťte DDEV

ddev start

* Po prvním spuštění nainstalujte Drupal:

ddev drush si minimal --existing-config

* Přihlaste se:

ddev drush uli

* **Pokud migrujete z Lando**, viz [DDEV_MIGRATION.md](DDEV_MIGRATION.md)

### Pokud používáte Lando
* Nainstalujte si Lando, https://docs.devwithlando.io/installation/system-requirements.html
* V adresáři projektu spusťte Lando
Expand Down
67 changes: 40 additions & 27 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,58 +12,65 @@
"minimum-stability": "dev",
"prefer-stable": true,
"require": {
"php": ">=7.4",
"php": ">=8.3",
"acquia/memcache-settings": "*",
"bower-asset/dropzone": "^5.1",
"bower-asset/flexslider": "^2.6",
"composer/installers": "^2.2",
"cweagans/composer-patches": "^1.6",
"drupal/acquia_connector": "^1.5",
"drupal/acquia_connector": "^4.1",
"drupal/acquia_purge": "^1.0",
"drupal/admin_toolbar": "~2.0",
"drupal/better_normalizers": "^1.0@beta",
"drupal/admin_toolbar": "^3.4",
"drupal/better_normalizers": "^2.0@beta",
"drupal/captcha": "^1.0@beta",
"drupal/ckeditor": "^1.0",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

mozeme aktualizovat na ckeditor5, ktory je v jadre?

"drupal/classy": "^2.0",
"drupal/coder": "^8.3",
"drupal/config_split": "^1.4",
"drupal/config_update": "^1.5",
"drupal/core-composer-scaffold": "^9",
"drupal/core-project-message": "^9",
"drupal/core-recommended": "^9",
"drupal/config_update": "^2.0@alpha",
"drupal/core-composer-scaffold": "^10.6",
"drupal/core-project-message": "^10.6",
"drupal/core-recommended": "^10.6",
"drupal/ctools": "^3.0",
"drupal/default_content_deploy": "^1.0@alpha",
"drupal/devel": "^4.0",
"drupal/diff": "^1.0@RC",
"drupal/default_content_deploy": "^2.0",
"drupal/devel": "^5",
"drupal/diff": "^1.3",
"drupal/dropzonejs": "^2.0",
"drupal/embed": "^1.0",
"drupal/entity_browser": "^2.0",
"drupal/entity_class_formatter": "^1.0",
"drupal/entity_embed": "^1.0",
"drupal/entity_class_formatter": "^2.0",
"drupal/entity_embed": "^1.4",
"drupal/eu_cookie_compliance": "^1.0",
"drupal/extlink": "^1.1",
"drupal/flexslider": "^2.0",
"drupal/geolocation": "^3",
"drupal/geshifilter": "^2.0@beta",
"drupal/google_analytics": "^3.1",
"drupal/flexslider": "^3.0",
"drupal/geolocation": "^3.11",
"drupal/geshifilter": "^3.0",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nebolo by lepsie uplne odstranit tento modul a pouzit priamo formatovanie v ckeditora? modul uz nie je dostupny pre d11 a kniznica uz nie je dlhsie podporovana - posledny release 2017

"drupal/google_analytics": "^4.0",
"drupal/inline_entity_form": "^1.0@RC",
"drupal/metatag": "^1.10",
"drupal/jquery_ui": "^1.8",
"drupal/jquery_ui_autocomplete": "^2.0",
"drupal/jquery_ui_draggable": "^2.1",
"drupal/jquery_ui_droppable": "^1.5",
"drupal/jquery_ui_menu": "^2.1",
"drupal/metatag": "^2.1",
"drupal/panelizer": "^4.1",
"drupal/panels": "^4.3",
"drupal/panels": "^4.7",
"drupal/panels_ipe": "^4.3",
"drupal/paragraphs": "^1.5",
"drupal/pathauto": "^1.6.0",
"drupal/purge": "^3.0@beta",
"drupal/purge": "^3.0",
"drupal/redirect": "^1.0",
"drupal/riddler": "^1.1",
"drupal/riddler": "2.0.0",
"drupal/seckit": "^2.0",
"drupal/security_review": "1.x-dev",
"drupal/security_review": "^3.1",
"drupal/seven": "^1.0",
"drupal/shield": "^1.2",
"drupal/slack_invite": "^2.0",
"drupal/stage_file_proxy": "^1.0@RC",
"drupal/stage_file_proxy": "^2.0",
"drupal/token": "^1.5",
"drupal/upgrade_status": "^3.0@beta",
"drupal/upgrade_status": "^4.3",
"drupal/viewsreference": "^2.0",
"drupal/youtube": "^1.0@beta",
"drush/drush": "^10",
"drupal/youtube": "^2.0",
"drush/drush": "^13.0",
"oomphinc/composer-installers-extender": "^2.0",
"pear/versioncontrol_git": "^0.5.0"
},
Expand All @@ -80,6 +87,9 @@
"config": {
"sort-packages": true,
"process-timeout": 0,
"audit": {
"block-insecure": false
},
"allow-plugins": {
"composer/installers": true,
"cweagans/composer-patches": true,
Expand Down Expand Up @@ -122,6 +132,9 @@
},
"drupal/slack_invite": {
"3189435 - The URI '<current>' is invalid.": "https://git.drupalcode.org/issue/slack_invite-3189435/-/commit/2a10d44bafe2a768dbceceadf6a51e500caae539.patch"
},
"drupal/viewsreference": {
"Fix deprecated UrlHelper methods for Drupal 10": "patches/viewsreference-drupal10-urlhelper-fix.patch"
}
},
"installer-types": [
Expand Down
Loading