Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
63 commits
Select commit Hold shift + click to select a range
5e8c7f1
Change ci composer
robertSt7 Feb 2, 2026
8ea3b67
use centralized workflow
robertSt7 Feb 2, 2026
12b70d2
Fix: tests
robertSt7 Feb 2, 2026
1dcbf79
Fix: tests
robertSt7 Feb 2, 2026
a0b5b30
Fix: tests
robertSt7 Feb 2, 2026
f610488
Fix: Tests
robertSt7 Feb 2, 2026
5556054
Fix: Tests
robertSt7 Feb 2, 2026
48ce09b
Fix: Tests
robertSt7 Feb 2, 2026
12d0a66
Revert "Fix: Tests"
robertSt7 Feb 2, 2026
f739e0a
Fix: Tests
robertSt7 Feb 2, 2026
2e94bed
Fix: Tests
robertSt7 Feb 2, 2026
2571073
Fix: Tests
robertSt7 Feb 2, 2026
769d919
Fix: Tests
robertSt7 Feb 2, 2026
d7f9912
Fix: Tests
robertSt7 Feb 2, 2026
024eca6
Fix: Tests
robertSt7 Feb 2, 2026
6d061b0
Fix: Tests
robertSt7 Feb 2, 2026
8b437d8
Fix: Tests
robertSt7 Feb 2, 2026
3461f12
Fix: Tests
robertSt7 Feb 2, 2026
ce8acc3
Fix: Tests
robertSt7 Feb 2, 2026
8b16ab7
Fix: Tests
robertSt7 Feb 2, 2026
b8722e2
Fix: Tests
robertSt7 Feb 2, 2026
def7e52
Fix: Tests
robertSt7 Feb 2, 2026
fd42eb6
Fix: Tests
robertSt7 Feb 2, 2026
24ba5b0
Fix: Tests
robertSt7 Feb 2, 2026
6c84633
Fix: Tests
robertSt7 Feb 2, 2026
26c2019
Fix: Tests
robertSt7 Feb 2, 2026
20ee023
Fix: Tests
robertSt7 Feb 2, 2026
232dd4d
Fix: tests
robertSt7 Feb 3, 2026
4ff7254
Fix: tests
robertSt7 Feb 3, 2026
8bdac84
Fix: tests
robertSt7 Feb 3, 2026
2a121ad
Fix: tests
robertSt7 Feb 3, 2026
c7e9b7f
Fix: tests
robertSt7 Feb 3, 2026
5b45415
Fix: tests
robertSt7 Feb 3, 2026
1919850
Fix: tests
robertSt7 Feb 3, 2026
ec465fc
Fix: tests
robertSt7 Feb 3, 2026
7fd0dae
Fix: tests
robertSt7 Feb 4, 2026
c4ecc58
Fix: tests
robertSt7 Feb 5, 2026
0a43160
Fix: tests
robertSt7 Feb 5, 2026
52b5f54
Fix: tests
robertSt7 Feb 5, 2026
ae2667a
Fix: tests
robertSt7 Feb 5, 2026
f5d91b9
Fix: tests
robertSt7 Feb 5, 2026
5fb31c1
Fix: tests
robertSt7 Feb 5, 2026
04edcb1
Fix: tests
robertSt7 Feb 5, 2026
37c9432
Fix: tests
robertSt7 Feb 5, 2026
132d4d7
Fix: tests
robertSt7 Feb 5, 2026
449f69a
Readded services_test.yaml
mcop1 Feb 11, 2026
7ca5e8b
Moving SearchIndexConfigServiceInterface to services_test.yaml, there…
mcop1 Feb 11, 2026
3cac8e2
Overwrite for configureContainer method to prevent double loading
mcop1 Feb 11, 2026
684f406
add codeception stub
robertSt7 Feb 11, 2026
1958a6e
Added diagnostics to investigate failing tests
mcop1 Feb 11, 2026
7a1a1f1
Adapted config setup for ES,
mcop1 Feb 11, 2026
8477a3b
Removed credentials for es, not needed with new setup
mcop1 Feb 11, 2026
dd53159
Added diagnostics for update query
mcop1 Feb 11, 2026
b962c2e
Added diagnostics for update query
mcop1 Feb 11, 2026
7f117c0
Added diagnostics for update query
mcop1 Feb 11, 2026
a08b80b
Added diagnostics for update query
mcop1 Feb 11, 2026
51935c9
Fixed painless script
mcop1 Feb 11, 2026
347802e
Added diagnostics
mcop1 Feb 12, 2026
323e86c
Added diagnostics
mcop1 Feb 12, 2026
70fdbfb
Added check for custom_fields type
mcop1 Feb 12, 2026
e9c8489
Removed diagnostics
mcop1 Feb 12, 2026
d8e6cb6
Delete pimcore indices only for gdi
mcop1 Feb 12, 2026
13b7cf0
Fixed class reference
mcop1 Feb 12, 2026
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
46 changes: 0 additions & 46 deletions .github/ci/files/composer.json

This file was deleted.

1 change: 0 additions & 1 deletion .github/ci/files/config/config.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
imports:
- { resource: services.yaml }
- { resource: system.yaml }
12 changes: 12 additions & 0 deletions .github/ci/files/config/doctrine.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
doctrine:
orm:
entity_managers:
default:
connection: default
mappings:
PimcoreGenericDataIndexBundle:
type: attribute
is_bundle: true
dir: "src/Entity"
prefix: Pimcore\Bundle\GenericDataIndexBundle\Entity
alias: PimcoreGenericDataIndex
3 changes: 3 additions & 0 deletions .github/ci/files/config/doctrine_migrations.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
doctrine_migrations:
migrations_paths:
'Pimcore\Bundle\GenericDataIndexBundle\Migrations': '@PimcoreGenericDataIndexBundle/src/Migrations'
5 changes: 2 additions & 3 deletions .github/ci/files/config/packages/test/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ doctrine:
bit: boolean

parameters:
secret: ThisTokenIsNotSoSecretChangeIt
pimcore_test.db.dsn: '%env(PIMCORE_TEST_DB_DSN)%'
env(PIMCORE_TEST_DB_DSN): ~
pimcore.encryption.secret: '%env(PIMCORE_ENCRYPTION_SECRET)%'
Expand All @@ -40,9 +41,7 @@ pimcore_elasticsearch_client:
es_clients:
default:
hosts: ['%env(PIMCORE_ELASTIC_SEARCH_HOST)%']
username: 'elastic'
password: 'somethingsecret'
logger_channel: 'pimcore.elasicsearch'
logger_channel: 'pimcore.elasticsearch'
ssl_verification: false

pimcore:
Expand Down
194 changes: 194 additions & 0 deletions .github/ci/files/config/pimcore/config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,194 @@
imports:
- { resource: messenger.yaml }

pimcore_generic_data_index:
index_service:
search_settings:
list_page_size: 60
list_max_filter_options: 500
search_analyzer_attributes:
text:
fields:
analyzed_ngram:
type: text
analyzer: generic_data_index_ngram_analyzer
search_analyzer: generic_data_index_whitespace_analyzer
analyzed:
type: text
analyzer: standard
search_analyzer: generic_data_index_whitespace_analyzer
system_fields_settings:
general:
id:
type: long
elementType:
type: keyword
parentId:
type: long
creationDate:
type: date
modificationDate:
type: date
type:
type: keyword
key:
type: keyword
fields:
analyzed_ngram:
type: text
analyzer: generic_data_index_ngram_analyzer
search_analyzer: generic_data_index_whitespace_analyzer
analyzed:
type: text
analyzer: standard
search_analyzer: generic_data_index_whitespace_analyzer
sort:
type: keyword
normalizer: generic_data_index_sort_normalizer
path:
type: text
analyzer: generic_data_index_path_analyzer
fields:
keyword:
type: keyword
sort:
type: keyword
normalizer: generic_data_index_sort_normalizer
fullPath:
type: text
analyzer: generic_data_index_path_analyzer
fields:
keyword:
type: keyword
sort:
type: keyword
normalizer: generic_data_index_sort_normalizer
pathLevels:
type: nested
properties:
level:
type: integer
name:
type: keyword
pathLevel:
type: integer
tags:
type: integer
parentTags:
type: integer
thumbnail:
type: keyword
userOwner:
type: integer
userModification:
type: integer
lock:
type: keyword
hasWorkflowWithPermissions:
type: boolean
dependencies:
type: object
properties:
asset:
type: long
document:
type: long
object:
type: long
document:
published:
type: boolean
index:
type: integer
controller:
type: keyword
template:
type: keyword
contentMainDocumentId:
type: integer
supportsContentMain:
type: boolean
missingRequiredEditable:
type: boolean
staticGeneratorEnabled:
type: boolean
staticGeneratorLifetime:
type: integer
title:
type: keyword
description:
type: keyword
prettyUrl:
type: keyword
sourceId:
type: integer
propertiesFromSource:
type: boolean
childrenFromSource:
type: boolean
subject:
type: keyword
from:
type: keyword
replyTo:
type: keyword
to:
type: keyword
cc:
type: keyword
bcc:
type: keyword
internal:
type: integer
internalType:
type: keyword
direct:
type: keyword
linktype:
type: keyword
href:
type: keyword
data_object:
published:
type: boolean
classname:
type: keyword
fields:
sort:
type: keyword
normalizer: generic_data_index_sort_normalizer
classDefinitionIcon:
type: keyword
index:
type: integer
childrenSortBy:
type: keyword
childrenSortOrder:
type: keyword
asset:
mimetype:
type: keyword
fileSize:
type: long
thumbnail:
type: keyword
imageThumbnail:
type: keyword
width:
type: integer
height:
type: integer
duration:
type: float
text:
type: keyword
ignore_above: 256
fields:
analyzed_ngram:
type: text
analyzer: generic_data_index_ngram_analyzer
search_analyzer: generic_data_index_whitespace_analyzer
analyzed:
type: text
analyzer: standard
search_analyzer: generic_data_index_whitespace_analyzer
48 changes: 48 additions & 0 deletions .github/ci/files/config/pimcore/default_index_settings.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
index:
mapping:
nested_fields:
limit: 200
total_fields:
limit: 100000
number_of_shards: 1
number_of_replicas: 0
max_ngram_diff: 30
max_result_window: 10000000
analysis:
analyzer:
generic_data_index_ngram_analyzer:
tokenizer: generic_data_index_ngram_tokenzier
filter:
- lowercase
generic_data_index_whitespace_analyzer:
tokenizer: generic_data_index_whitespace_tokenzier
filter:
- lowercase
generic_data_index_path_analyzer:
tokenizer: generic_data_index_path_tokenizer
normalizer:
generic_data_index_sort_normalizer:
type: custom
filter:
- lowercase
generic_data_index_sort_truncate_normalizer:
type: custom
char_filter:
- generic_data_index_sort_truncate
filter:
- lowercase
tokenizer:
generic_data_index_ngram_tokenzier:
type: ngram
min_gram: 3
max_gram: 25
token_chars: [ letter, digit ]
generic_data_index_whitespace_tokenzier:
type: whitespace
generic_data_index_path_tokenizer:
type: "path_hierarchy"
char_filter:
generic_data_index_sort_truncate:
type: pattern_replace
pattern: ^(.{256})(.*)$
replacement: $1
19 changes: 19 additions & 0 deletions .github/ci/files/config/pimcore/messenger.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
framework:
messenger:
enabled: true
transports:
pimcore_generic_data_index_queue:
dsn: 'doctrine://default?queue_name=pimcore_generic_data_index_queue'
failure_transport: pimcore_generic_data_index_failed
pimcore_generic_data_index_sync: 'sync://'
pimcore_generic_data_index_failed: 'doctrine://default?queue_name=pimcore_generic_data_index_failed'
routing:
Pimcore\Bundle\GenericDataIndexBundle\Message\IndexUpdateQueueMessage: pimcore_generic_data_index_queue
Pimcore\Bundle\GenericDataIndexBundle\Message\DispatchQueueMessagesMessage: pimcore_generic_data_index_queue
Pimcore\Bundle\GenericDataIndexBundle\Message\UpdateLanguageSettingsMessage: pimcore_generic_data_index_queue
Pimcore\Bundle\GenericDataIndexBundle\Message\UpdateClassMappingMessage: pimcore_generic_data_index_queue
Pimcore\Bundle\GenericDataIndexBundle\Message\EnqueueRelatedIdsMessage: pimcore_generic_data_index_queue
buses:
messenger.bus.pimcore-generic-data-index:
middleware:
- 'Pimcore\Bundle\GenericDataIndexBundle\Service\Messenger\Middleware\CollectGarbageMiddleware'
6 changes: 6 additions & 0 deletions .github/ci/files/config/pimcore/routing.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
pimcore_generic_data_index:
resource: "../../src/Controller/"
type: attribute
prefix: /pimcore_generic_data_index
options:
expose: true
16 changes: 0 additions & 16 deletions .github/ci/files/config/services.yaml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/ci/files/config/services_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@ services:

Pimcore\Bundle\GenericDataIndexBundle\Service\Search\SearchService\Asset\Aggregation\FileSizeAggregationServiceInterface:
class: Pimcore\Bundle\GenericDataIndexBundle\Service\Search\SearchService\Asset\Aggregation\FileSizeAggregationService
public: true
public: true
Loading