You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/api/field_type_type_and_value.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -118,7 +118,7 @@ services:
118
118
119
119
#### `parent`
120
120
121
-
As described in the [Symfony service container documentation]([[= symfony_doc =]]/components/dependency_injection/parentservices.html), the `parent` config key indicates that you want your service to inherit from the parent's dependencies, including constructor arguments and method calls. This helps avoiding repetition in your Field Type configuration and keeps consistency between all Field Types.
121
+
As described in the [Symfony service container documentation]([[= symfony_doc =]]/service_container/parent_services.html), the `parent` config key indicates that you want your service to inherit from the parent's dependencies, including constructor arguments and method calls. This helps avoiding repetition in your Field Type configuration and keeps consistency between all Field Types.
122
122
If you need to inject other services into your Type class, skip using the `parent` config key.
123
123
124
124
#### `tags`
@@ -128,7 +128,7 @@ Like most API components, Field Types use the [Symfony service tag mechanism]([[
128
128
A service can be assigned one or several tags, with specific parameters.
129
129
When the [service container](../api/public_php_api.md#service-container) is compiled into a PHP file,
130
130
tags are read by `CompilerPass` implementations that add extra handling for tagged services.
131
-
Each service tagged as `ezplatform.field_type` is added to a [registry](http://martinfowler.com/eaaCatalog/registry.html) using the `alias` key as its unique `fieldTypeIdentifier` e.g. `ezstring`.
131
+
Each service tagged as `ezplatform.field_type` is added to a [registry](https://martinfowler.com/eaaCatalog/registry.html) using the `alias` key as its unique `fieldTypeIdentifier` e.g. `ezstring`.
132
132
Each Field Type must also inherit from the abstract `ezplatform.field_type` service.
133
133
This ensures that the initialization steps shared by all Field Types are executed.
PHP API uses [Exceptions](http://php.net/exceptions) to handle errors.
137
+
PHP API uses [Exceptions](https://www.php.net/exceptions) to handle errors.
138
138
Each API method may throw different exceptions, depending on what it does.
139
139
140
140
It is good practice to cover every exception you expect to happen.
@@ -156,9 +156,9 @@ try {
156
156
157
157
## Service container
158
158
159
-
[[= product_name =]] uses the [Symfony service container]([[=symfony_doc=]]/service_container.html) for dependency resolution.
159
+
[[= product_name =]] uses the [Symfony service container]([[=symfony_doc=]]/service_container.html) for dependency resolution.
160
160
161
-
[Symfony dependency injection]([[=symfony_doc=]]/components/dependency_injection.html) ensures that any required services are available in your custom code
161
+
[Symfony dependency injection]([[=symfony_doc=]]/components/dependency_injection.html) ensures that any required services are available in your custom code
162
162
(for example, controllers) when you inject them into the constructor.
163
163
164
164
Symfony service container uses service tags to dedicate services to a specific purpose. They are usually used for extension points.
@@ -167,4 +167,4 @@ Symfony service container uses service tags to dedicate services to a specific p
167
167
168
168
!!! tip
169
169
170
-
For a list of all service tags exposed by Symfony, see its [reference documentation]([[=symfony_doc=]]/reference/dic_tags.html).
170
+
For a list of all service tags exposed by Symfony, see its [reference documentation]([[=symfony_doc=]]/reference/dic_tags.html).
Copy file name to clipboardExpand all lines: docs/api/rest_api_extension_resource.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -187,7 +187,7 @@ ez_publish_rest:
187
187
```
188
188
189
189
The `router.generate` renders a URI based on the name of the route and its parameters. The parameter values can be a real value or a placeholder. For example, `'router.generate("ibexa.rest.load_location", {locationPath: "1/2"})'` results in `/api/ezp/v2/content/locations/1/2` while `'router.generate("ibexa.rest.load_location", {locationPath: "{locationPath}"})'` gives `/api/ezp/v2/content/locations/{locationPath}`.
190
-
This syntax is based on Symfony's [expression language]([[= symfony_doc =]]/components/expression_language/index.html), an extensible component that allows limited/readable scripting to be used outside the code context.
190
+
This syntax is based on Symfony's [expression language]([[= symfony_doc =]]/components/expression_language.html), an extensible component that allows limited/readable scripting to be used outside the code context.
191
191
192
192
In this example, `app.rest.greeting` is available in every SiteAccess (`default`):
Copy file name to clipboardExpand all lines: docs/getting_started/install_ez_platform.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,11 +21,11 @@ description: Install Ibexa DXP on a Linux system and prepare your installation f
21
21
22
22
To install [[= product_name =]] you need a stack with your operating system, MySQL or MariaDB, and PHP.
23
23
24
-
You can install it by following your favorite tutorial, for example: [Install LAMP stack on Ubuntu](https://www.digitalocean.com/community/tutorials/how-to-install-linux-apache-mysql-php-lamp-stack-ubuntu-18-04).
24
+
You can install it by following your favorite tutorial, for example: [Install LAMP stack on Ubuntu](https://www.digitalocean.com/community/tutorials/how-to-install-lamp-stack-on-ubuntu).
25
25
26
26
Additional requirements:
27
27
28
-
-[Node.js](https://nodejs.org/en/) and [Yarn](https://yarnpkg.com/lang/en/docs/install/#debian-stable) for asset management.
28
+
-[Node.js](https://nodejs.org/en/) and [Yarn](https://classic.yarnpkg.com/en/docs/install/) for asset management.
29
29
-`git` for version control.
30
30
- to use search in the shop front end, you must [install a search engine](#install-and-configure-a-search-engine).
31
31
@@ -183,7 +183,7 @@ run the following command:
183
183
184
184
!!! note "Platform.sh"
185
185
186
-
If you are deploying your installation on [Platform.sh](https://docs.platform.sh/frameworks/ibexa.html),
186
+
If you are deploying your installation on [Platform.sh](https://docs.platform.sh/guides/ibexa/deploy.html),
187
187
run the following command:
188
188
189
189
``` bash
@@ -227,7 +227,7 @@ Choose a [secret]([[= symfony_doc =]]/reference/configuration/framework.html#sec
227
227
and provide it in the `APP_SECRET` parameter in `.env`.
228
228
It should be a random string, made up of at least 32 characters, numbers, and symbols.
229
229
This is used by Symfony when generating [CSRF tokens]([[= symfony_doc =]]/security/csrf.html),
Copy file name to clipboardExpand all lines: docs/guide/personalization/recommendation_client.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -464,7 +464,7 @@ if the content Fields were previously exported by the export script.
464
464
You can retrieve data returned from the recommendation engine and modify it before it is shown to the user.
465
465
466
466
To modify recommendation data, subscribe to `RecommendationResponseEvent`.
467
-
See [`Event/Subscriber/RecommendationEventSubscriber.php`](https://github.com/ezsystems/ezrecommendation-client/blob/master/src/lib/Event/Subscriber/RecommendationEventSubscriber.php) for example:
467
+
See [`Event/Subscriber/RecommendationEventSubscriber.php`](https://github.com/ezsystems/ezrecommendation-client/blob/2.1/src/lib/Event/Subscriber/RecommendationEventSubscriber.php) for example:
468
468
469
469
```php
470
470
public static function getSubscribedEvents(): array
@@ -482,7 +482,7 @@ The `-10` refers to priority, which must be negative so this action is performed
482
482
Displaying image variations is not readily supported yet.
483
483
484
484
You can work around this limitation by creating a template
485
-
(based on [recommendations.html.twig](https://github.com/ezsystems/ezrecommendation-client/blob/master/src/bundle/Resources/views/recommendations.html.twig)).
485
+
(based on [recommendations.html.twig](https://github.com/ezsystems/ezrecommendation-client/blob/2.1/src/bundle/Resources/views/recommendations.html.twig)).
486
486
487
487
To access a specific image variation through API, add the `image` parameter to the request URL with the name of the variation as its value.
488
488
For example, to retrieve the `rss` variation of the image, use:
@@ -493,7 +493,7 @@ For example, to retrieve the `rss` variation of the image, use:
493
493
494
494
### Logging
495
495
496
-
Most operations are logged via the `ez_recommendation`[Monolog channel]([[= symfony_doc =]]/cookbook/logging/channels_handlers.html).
496
+
Most operations are logged via the `ez_recommendation`[Monolog channel]([[= symfony_doc =]]/logging/channels_handlers.html).
497
497
To log everything about Recommendation to `dev.recommendation.log`, add the following to the `ezplatform.yaml`:
For more information about passing parameters, see [Symfony Service Container documentation]([[= symfony_doc =]]/book/service_container.html#service-parameters).
169
+
For more information about passing parameters, see [Symfony Service Container documentation]([[= symfony_doc =]]/service_container.html#service-parameters).
Copy file name to clipboardExpand all lines: docs/guide/security.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -46,17 +46,17 @@ logout:
46
46
You can fully customize the routes and/or the controller used for login.
47
47
However, remember to match `login_path`, `check_path` and `logout.path` from `security.yaml`.
48
48
49
-
See [security configuration reference]([[= symfony_doc =]]/reference/configuration/security.html) and [standard login form documentation]([[= symfony_doc =]]/security/form_login_setup.html).
49
+
See [security configuration reference]([[= symfony_doc =]]/reference/configuration/security.html) and [standard login form documentation]([[= symfony_doc =]]/security.html#form-login).
50
50
51
51
### Authentication using Symfony Security component
52
52
53
53
Authentication is provided using the Symfony Security component.
54
54
55
-
[Native and universal `form_login`]([[= symfony_doc =]]/security/form_login_setup.html) is used, in conjunction with an extended `DaoAuthenticationProvider` (DAO stands for *Data Access Object*), the `RepositoryAuthenticationProvider`. Native behavior of `DaoAuthenticationProvider` has been preserved, making it possible to still use it for pure Symfony applications.
55
+
[Native and universal `form_login`]([[= symfony_doc =]]/security.html#form-login) is used, in conjunction with an extended `DaoAuthenticationProvider` (DAO stands for *Data Access Object*), the `RepositoryAuthenticationProvider`. Native behavior of `DaoAuthenticationProvider` has been preserved, making it possible to still use it for pure Symfony applications.
56
56
57
57
#### Security controller
58
58
59
-
A `SecurityController` is used to manage all security-related actions and is thus used to display the login form. It follows all standards explained in [Symfony security documentation]([[= symfony_doc =]]/security/form_login_setup.html).
59
+
A `SecurityController` is used to manage all security-related actions and is thus used to display the login form. It follows all standards explained in [Symfony security documentation]([[= symfony_doc =]]/security.html#form-login).
60
60
61
61
The base template used is [`EzPublishCore/Security/login.html.twig`](https://github.com/ezsystems/ezplatform-kernel/blob/v1.0.0/eZ/Bundle/EzPublishCoreBundle/Resources/views/Security/login.html.twig).
62
62
@@ -94,7 +94,7 @@ If you want to use this feature, you must at least extend the login template in
94
94
95
95
#### Login handlers / SSO
96
96
97
-
Symfony provides native support for [multiple user providers]([[= symfony_doc =]]/security/multiple_user_providers.html). This makes it easy to integrate any kind of login handlers, including SSO and existing third-party bundles (e.g. [FR3DLdapBundle](https://github.com/Maks3w/FR3DLdapBundle), [HWIOauthBundle](https://github.com/hwi/HWIOAuthBundle), [FOSUserBundle](https://github.com/FriendsOfSymfony/FOSUserBundle), [BeSimpleSsoAuthBundle](http://github.com/BeSimple/BeSimpleSsoAuthBundle), etc.).
97
+
Symfony provides native support for [multiple user providers]([[= symfony_doc =]]/security/user_providers.html). This makes it easy to integrate any kind of login handlers, including SSO and existing third-party bundles (e.g. [FR3DLdapBundle](https://github.com/Maks3w/FR3DLdapBundle), [HWIOauthBundle](https://github.com/hwi/HWIOAuthBundle), [FOSUserBundle](https://github.com/FriendsOfSymfony/FOSUserBundle), [BeSimpleSsoAuthBundle](https://github.com/BeSimple/BeSimpleSsoAuthBundle), etc.).
98
98
99
99
See [Authenticating a user with multiple user provider](users/user_authentication.md#authenticate-user-with-multiple-user-providers) for more information.
Copy file name to clipboardExpand all lines: docs/guide/sessions.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -83,7 +83,7 @@ See [shared sessions in the clustering guide](clustering.md#shared-sessions).
83
83
84
84
To set up [[= product_name =]] using [Memcached](https://pecl.php.net/package/memcached) you need to:
85
85
86
-
- [Configure the session save handler settings in `php.ini`](http://php.net/manual/en/memcached.sessions.php)
86
+
- [Configure the session save handler settings in `php.ini`](https://www.php.net/manual/en/memcached.sessions.php)
87
87
- Set `%ezplatform.session.handler_id%` to `~` (null) in `config/packages/ezplatform.yaml`
88
88
89
89
Alternatively if you need to configure Memcached servers dynamically:
@@ -99,9 +99,9 @@ Alternatively if you need to configure Memcached servers dynamically:
99
99
```
100
100
101
101
- Set `%ezplatform.session.handler_id%` (or `SESSION_HANDLER_ID` env var) to `app.session.handler.native_memcached`
102
-
- Set `%ezplatform.session.save_path%` (or `SESSION_SAVE_PATH` env var) to [`save_path` config for Memcached](http://php.net/manual/en/memcached.sessions.php)
102
+
- Set `%ezplatform.session.save_path%` (or `SESSION_SAVE_PATH` env var) to [`save_path` config for Memcached](https://www.php.net/manual/en/memcached.sessions.php)
103
103
104
-
Optionally tweak [`php-memcached` session settings](http://php.net/manual/en/memcached.configuration.php) for things like
104
+
Optionally tweak [`php-memcached` session settings](https://www.php.net/manual/en/memcached.configuration.php) for things like
105
105
session locking.
106
106
107
107
##### Handling sessions with Redis
@@ -124,18 +124,18 @@ If you are on `php-redis` v4.2.0 and higher, you can optionally tweak [`php-redi
124
124
125
125
Ideally keep [persistence cache](persistence_cache.md) and session data separated:
126
126
127
-
- Sessions can't risk getting [randomly evicted](https://redis.io/topics/lru-cache#eviction-policies) when you run out of memory for cache.
127
+
- Sessions can't risk getting [randomly evicted](https://redis.io/docs/latest/develop/reference/eviction/#eviction-policies) when you run out of memory for cache.
128
128
- You can't completely disable eviction either, as Redis will then start to refuse new entries once full, including new sessions.
129
129
- Either way, you should monitor your Redis instances and make sure you have enough memory set aside for active sessions/cache items.
130
130
131
-
If you want to make sure sessions survive Redis or server restarts, consider using a [persistent Redis](https://redis.io/topics/persistence) instance for sessions.
131
+
If you want to make sure sessions survive Redis or server restarts, consider using a [persistent Redis](https://redis.io/docs/latest/operate/oss_and_stack/management/persistence/) instance for sessions.
132
132
133
133
##### Alternative storing sessions in database using PDO
134
134
135
135
For setups where database is preferred for storing sessions, you may use Symfony's PdoSessionHandler,
136
136
although it is not currently recommended from performance perspective.
137
137
138
-
Below is a configuration example for [[= product_name =]]. Refer to the [Symfony Cookbook]([[= symfony_doc =]]/doctrine/pdo_session_storage.html) for full documentation.
138
+
Below is a configuration example for [[= product_name =]]. Refer to the [Symfony Cookbook]([[= symfony_doc =]]/session.html#session-database-pdo) for full documentation.
0 commit comments