Skip to content

Commit

Permalink
little update
Browse files Browse the repository at this point in the history
- modules
- new config/events
_ ...
  • Loading branch information
sreichel committed Oct 6, 2024
1 parent 44c418e commit d401590
Show file tree
Hide file tree
Showing 17 changed files with 565 additions and 443 deletions.
36 changes: 26 additions & 10 deletions docs/content/developers/changelog/new-config.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,29 @@ tags:

# New Config Options

- `admin/design/use_legacy_theme`
- `admin/global_search/enable`
- `admin/emails/admin_notification_email_template`
- `catalog/product_image/progressive_threshold`
- `catalog/search/search_separator`
- `dev/log/max_level`
- `newsletter/security/enable_form_key`
- `sitemap/category/lastmod`
- `sitemap/page/lastmod`
- `sitemap/product/lastmod`
## `admin/design/use_legacy_theme`
Add new default OpenMage admin theme and legacy Admin Theme config option. ([#1008](https://github.com/OpenMage/magento-lts/pull/1008))

## `admin/global_search/enable`
Possibility to disable global search in backend. ([#1532](https://github.com/OpenMage/magento-lts/pull/1532))

## `catalog/product_image/progressive_threshold`
Added progressive to image resize. ([#197](https://github.com/OpenMage/magento-lts/pull/197))

## `catalog/search/search_separator`
Make fulltext search separator (`OR`/`AND`) configurable from backend. ([#1852](https://github.com/OpenMage/magento-lts/pull/1852))

## `dev/log/max_level`
Set log level from config. ([#1727](https://github.com/OpenMage/magento-lts/pull/1727))

## `newsletter/security/enable_form_key`
\[Theme BC] Add formkey validation to Newsletter subscribe action. ([#1866](https://github.com/OpenMage/magento-lts/pull/1866))

## `sitemap/category/lastmod`
Made sitemap more flexible. ([#1854](https://github.com/OpenMage/magento-lts/pull/1854))

## `sitemap/page/lastmod`
Made sitemap more flexible. ([#1854](https://github.com/OpenMage/magento-lts/pull/1854))

## `sitemap/product/lastmod`
Made sitemap more flexible. ([#1854](https://github.com/OpenMage/magento-lts/pull/1854))
24 changes: 17 additions & 7 deletions docs/content/developers/changelog/new-events.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,22 @@ tags:

# New Events

- `adminhtml_block_widget_form_init_form_values_after`
- `adminhtml_block_widget_tabs_html_before`
- `adminhtml_sales_order_create_save_before`
- `checkout_cart_product_add_before`
- `core_app_run_after`
- `sitemap_cms_pages_generating_before`
- `sitemap_urlset_generating_before`
## `adminhtml_block_widget_form_init_form_values_after`
New event after data set on a form. ([#1485](https://github.com/OpenMage/magento-lts/pull/1485))

## `adminhtml_block_widget_tabs_html_before`
New event for adding custom tab. ([#1358](https://github.com/OpenMage/magento-lts/pull/1358))

## `adminhtml_sales_order_create_save_before`
New event when editing an order. ([#1168](https://github.com/OpenMage/magento-lts/pull/1168))

## `core_app_run_after`
Ended the request (and close the session) before `core_app_run_after` event. ([#1592](https://github.com/OpenMage/magento-lts/pull/1592))

## `sitemap_cms_pages_generating_before`
Made sitemap more flexible. ([#1854](https://github.com/OpenMage/magento-lts/pull/1854))

## `sitemap_urlset_generating_before`
Made sitemap more flexible. ([#1854](https://github.com/OpenMage/magento-lts/pull/1854))

[Full list of events](../events/list.md)
16 changes: 10 additions & 6 deletions docs/content/developers/ddev.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# DDEV based environment
# DDEV

See: https://ddev.com

Expand Down Expand Up @@ -57,7 +57,9 @@ web_environment: [
]
```

## Using Xdebug with PhpStorm
## Using with PhpStorm

### Xdebug

Every DDEV project is automatically configured with Xdebug so that popular IDEs can do step debugging of PHP code. Xdebug is a server-side tool and it is installed automatically in the container so you do not have to install or configure it on your workstation. Xdebug is disabled by default for performance reasons, so you will need to enable it and configure your IDE before can start debugging. For more information, please visit https://ddev.readthedocs.io/en/latest/users/debugging-profiling/step-debugging/.

Expand All @@ -75,7 +77,7 @@ xdebug.mode=debug
xdebug.start_with_request=trigger
```

## Accessing the database in PhpStorm
### Accessing the database

Please note that DDEV changes the port numbers on every restart. If you want to access the database in PHPStorm you must set up a fixed port. Edit the file `.ddev/config.yaml` and insert the following line

Expand Down Expand Up @@ -113,7 +115,9 @@ RUN gem install compass

For more information, please visit https://stackoverflow.com/questions/61787926/how-can-i-get-sass-compass-into-the-ddev-web-container.

## Creating a DDEV command
## Commands

### Creating a command

Create a new file named `phpstan` in the `.ddev/commands/web` directory and insert the following lines

Expand All @@ -129,7 +133,7 @@ php vendor/bin/phpstan analyze -c .github/phpstan.neon "$@"

Run in the terminal window `ddev phpstan`.

## OpenMage DDEV commands
### OpenMage commands

**1. If you want to install the `Magento Sample Data` run in the terminal window `ddev openmage-install` and follow the steps.**

Expand All @@ -144,7 +148,7 @@ You can use flags, for example `ddev openmage-install -d -s -k -q`

**2. By default, running the `ddev config` command does not create an administrator account. If you want to create or update one run in the terminal window `ddev openmage-admin` and follow the steps.**

## Useful DDEV commands
### Useful commands

See: https://ddev.readthedocs.io/en/latest/users/usage/commands

Expand Down
Loading

0 comments on commit d401590

Please sign in to comment.