Skip to content

Commit 8c41b32

Browse files
author
roadiz-ci
committed
Merge branch hotfix/v2.6.13
1 parent 895c3f1 commit 8c41b32

529 files changed

Lines changed: 73462 additions & 1750 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/run-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
runs-on: ubuntu-latest
2020
strategy:
2121
matrix:
22-
php-version: ['8.2', '8.3']
22+
php-version: ['8.3', '8.4']
2323
steps:
2424
- uses: shivammathur/setup-php@v2
2525
with:

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,3 +125,7 @@ modules.xml
125125
/report.txt
126126
/composer.lock
127127
/symfony.lock
128+
129+
# Vite
130+
# Ignore Vite dev manifest file
131+
/public/manifest.dev.json

LICENSE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright © 2024 Ambroise Maupate, Julien Blanchet
3+
Copyright © 2025 Ambroise Maupate, Julien Blanchet
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
66

composer.json

Lines changed: 19 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,12 @@
1616
}
1717
],
1818
"type": "symfony-bundle",
19-
"minimum-stability": "dev",
2019
"prefer-stable": true,
2120
"require": {
22-
"php": ">=8.2",
23-
"roadiz/compat-bundle": "2.5.*",
24-
"roadiz/core-bundle": "2.5.*",
25-
"roadiz/openid": "2.5.*",
26-
"roadiz/rozier": "2.5.*",
27-
"symfony/framework-bundle": "6.4.*"
21+
"php": ">=8.3",
22+
"roadiz/core-bundle": "2.6.*",
23+
"roadiz/openid": "2.6.*",
24+
"symfony/framework-bundle": "7.3.*"
2825
},
2926
"require-dev": {
3027
"php-coveralls/php-coveralls": "^2.4",
@@ -52,8 +49,21 @@
5249
},
5350
"extra": {
5451
"branch-alias": {
55-
"dev-main": "2.5.x-dev",
56-
"dev-develop": "2.6.x-dev"
52+
"dev-main": "2.6.x-dev",
53+
"dev-develop": "2.7.x-dev"
5754
}
55+
},
56+
"scripts": {
57+
"auto-scripts": {
58+
"cache:clear": "symfony-cmd",
59+
"assets:install %PUBLIC_DIR%": "symfony-cmd",
60+
"requirements-checker": "script"
61+
},
62+
"post-install-cmd": [
63+
"@auto-scripts"
64+
],
65+
"post-update-cmd": [
66+
"@auto-scripts"
67+
]
5868
}
5969
}

config/packages/asset_mapper.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
framework:
2+
asset_mapper:
3+
# The paths to make available to the asset mapper.
4+
paths:
5+
vendor/roadiz/rozier-bundle/static/: 'bundles/roadizrozier'
6+
missing_import_mode: strict
7+
public_prefix: '/static/'
8+
9+
when@prod:
10+
framework:
11+
asset_mapper:
12+
missing_import_mode: warn

config/packages/roadiz_rozier.yaml

Lines changed: 6 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,6 @@ roadiz_rozier:
111111
- 'ROLE_ACCESS_NODETYPES'
112112
- 'ROLE_ACCESS_ATTRIBUTES'
113113
- 'ROLE_ACCESS_TRANSLATIONS'
114-
- 'ROLE_ACCESS_THEMES'
115114
- 'ROLE_ACCESS_FONTS'
116115
- 'ROLE_ACCESS_REDIRECTIONS'
117116
- 'ROLE_ACCESS_WEBHOOKS'
@@ -152,38 +151,24 @@ roadiz_rozier:
152151
name: 'user.system'
153152
route: ~
154153
icon: uk-icon-rz-users
155-
roles: ['ROLE_ACCESS_USERS', 'ROLE_ACCESS_ROLES', 'ROLE_ACCESS_GROUPS']
154+
roles: ['ROLE_ACCESS_USERS', 'ROLE_ACCESS_GROUPS']
156155
subentries:
157156
manage_users:
158157
name: 'manage.users'
159158
route: usersHomePage
160159
icon: uk-icon-rz-user
161160
roles: ['ROLE_ACCESS_USERS']
162-
manage_roles:
163-
name: 'manage.roles'
164-
route: rolesHomePage
165-
icon: uk-icon-rz-roles
166-
roles: ['ROLE_ACCESS_ROLES']
167161
manage_groups:
168162
name: 'manage.groups'
169163
route: groupsHomePage
170164
icon: uk-icon-rz-groups
171165
roles: ['ROLE_ACCESS_GROUPS']
172166

173-
interactions:
174-
name: 'interactions'
175-
route: ~
176-
icon: uk-icon-rz-interactions
177-
roles:
178-
- 'ROLE_ACCESS_CUSTOMFORMS'
179-
- 'ROLE_ACCESS_MANAGE_SUBSCRIBERS'
180-
- 'ROLE_ACCESS_COMMENTS'
181-
subentries:
182-
manage_customForms:
183-
name: 'manage.customForms'
184-
route: customFormsHomePage
185-
icon: uk-icon-rz-surveys
186-
roles: ['ROLE_ACCESS_CUSTOMFORMS']
167+
manage_customForms:
168+
name: 'manage.customForms'
169+
route: customFormsHomePage
170+
icon: uk-icon-rz-surveys
171+
roles: ['ROLE_ACCESS_CUSTOMFORMS']
187172

188173
settings:
189174
name: 'settings'

config/routing.yaml

Lines changed: 21 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Home page
22
adminHomePage:
33
path: /rz-admin
4-
controller: Themes\Rozier\Controllers\DashboardController::indexAction
4+
controller: RZ\Roadiz\RozierBundle\Controller\DashboardController::indexAction
55

66
loginRoutes:
77
prefix: /rz-admin
@@ -10,7 +10,7 @@ loginRoutes:
1010
ajaxSessionMessages:
1111
path: /rz-admin/session/messages
1212
methods: [GET]
13-
controller: Themes\Rozier\AjaxControllers\AjaxSessionMessages::getMessagesAction
13+
controller: RZ\Roadiz\RozierBundle\Controller\Ajax\AjaxSessionMessages::getMessagesAction
1414

1515
#Ping
1616
ping:
@@ -21,15 +21,15 @@ ping:
2121
# CACHES
2222
deleteDoctrineCache:
2323
path: /rz-admin/cache/delete-doctrine-cache
24-
controller: Themes\Rozier\Controllers\CacheController::deleteDoctrineCache
24+
controller: RZ\Roadiz\RozierBundle\Controller\CacheController::deleteDoctrineCache
2525
deleteAssetsCache:
2626
path: /rz-admin/cache/delete-assets-cache
27-
controller: Themes\Rozier\Controllers\CacheController::deleteAssetsCache
27+
controller: RZ\Roadiz\RozierBundle\Controller\CacheController::deleteAssetsCache
2828

2929
# NODES
3030
nodesHomePage:
3131
path: /rz-admin/nodes
32-
controller: Themes\Rozier\Controllers\Nodes\NodesController::indexAction
32+
controller: RZ\Roadiz\RozierBundle\Controller\Node\NodeController::indexAction
3333
nodesRoutes:
3434
resource: "routing/nodes.yml"
3535
prefix: /rz-admin/nodes
@@ -42,7 +42,7 @@ ajaxRequestsRoutes:
4242
# Node TYPES
4343
nodeTypesHomePage:
4444
path: /rz-admin/node-types
45-
controller: Themes\Rozier\Controllers\NodeTypes\NodeTypesController::indexAction
45+
controller: RZ\Roadiz\RozierBundle\Controller\NodeType\NodeTypeController::indexAction
4646
nodeTypesRoutes:
4747
resource: "routing/node-types.yml"
4848
prefix: /rz-admin/node-types
@@ -60,7 +60,7 @@ nodeTypeDecoratorsRoutes:
6060
# SETTINGS
6161
settingsHomePage:
6262
path: /rz-admin/settings
63-
controller: Themes\Rozier\Controllers\SettingsController::indexAction
63+
controller: RZ\Roadiz\RozierBundle\Controller\SettingController::indexAction
6464
settingsRoutes:
6565
resource: "routing/settings.yml"
6666
prefix: /rz-admin/settings
@@ -69,7 +69,7 @@ settingsRoutes:
6969
# SETTINGS GROUPS
7070
settingGroupsHomePage:
7171
path: /rz-admin/setting-groups
72-
controller: Themes\Rozier\Controllers\SettingGroupsController::defaultAction
72+
controller: RZ\Roadiz\RozierBundle\Controller\SettingGroupController::defaultAction
7373
settingGroupsRoutes:
7474
resource: "routing/setting-groups.yml"
7575
prefix: /rz-admin/setting-groups
@@ -78,23 +78,23 @@ settingGroupsRoutes:
7878
# TAGS
7979
tagsHomePage:
8080
path: /rz-admin/tags
81-
controller: Themes\Rozier\Controllers\Tags\TagsController::indexAction
81+
controller: RZ\Roadiz\RozierBundle\Controller\Tag\TagController::indexAction
8282
tagsRoutes:
8383
resource: "routing/tags.yml"
8484
prefix: /rz-admin/tags
8585

8686
# USERS
8787
usersHomePage:
8888
path: /rz-admin/users
89-
controller: Themes\Rozier\Controllers\Users\UsersController::defaultAction
89+
controller: RZ\Roadiz\RozierBundle\Controller\User\UserController::defaultAction
9090
usersRoutes:
9191
resource: "routing/users.yml"
9292
prefix: /rz-admin/users
9393

9494
# ATTRIBUTES
9595
attributesHomePage:
9696
path: /rz-admin/attributes
97-
controller: Themes\Rozier\Controllers\Attributes\AttributeController::defaultAction
97+
controller: RZ\Roadiz\RozierBundle\Controller\Attribute\AttributeController::defaultAction
9898
attributesRoutes:
9999
resource: "routing/attributes.yml"
100100
prefix: /rz-admin/attributes
@@ -103,7 +103,7 @@ attributesRoutes:
103103
# FOLDERS
104104
foldersHomePage:
105105
path: /rz-admin/folders
106-
controller: Themes\Rozier\Controllers\FoldersController::indexAction
106+
controller: RZ\Roadiz\RozierBundle\Controller\FolderController::indexAction
107107
foldersRoutes:
108108
resource: "routing/folders.yml"
109109
prefix: /rz-admin/folders
@@ -112,7 +112,7 @@ foldersRoutes:
112112
# TRANSLATIONS
113113
translationsHomePage:
114114
path: /rz-admin/translations
115-
controller: Themes\Rozier\Controllers\TranslationsController::indexAction
115+
controller: RZ\Roadiz\RozierBundle\Controller\TranslationController::indexAction
116116
translationsRoutes:
117117
resource: "routing/translations.yml"
118118
prefix: /rz-admin/translations
@@ -139,7 +139,7 @@ documentsRoutes:
139139
# DOCUMENTS
140140
redirectionsHomePage:
141141
path: /rz-admin/redirections
142-
controller: Themes\Rozier\Controllers\RedirectionsController::defaultAction
142+
controller: RZ\Roadiz\RozierBundle\Controller\RedirectionController::defaultAction
143143
redirectionsRoutes:
144144
resource: "routing/redirections.yml"
145145
prefix: /rz-admin/redirections
@@ -153,18 +153,10 @@ realmsRoutes:
153153
resource: "routing/realms.yml"
154154
prefix: /rz-admin/realms
155155

156-
# ROLES
157-
rolesHomePage:
158-
path: /rz-admin/roles
159-
controller: Themes\Rozier\Controllers\RolesController::defaultAction
160-
rolesRoutes:
161-
resource: "routing/roles.yml"
162-
prefix: /rz-admin/roles
163-
164156
# GROUPS
165157
groupsHomePage:
166158
path: /rz-admin/groups
167-
controller: Themes\Rozier\Controllers\GroupsController::defaultAction
159+
controller: RZ\Roadiz\RozierBundle\Controller\GroupController::defaultAction
168160
groupsRoutes:
169161
resource: "routing/groups.yml"
170162
prefix: /rz-admin/groups
@@ -173,16 +165,16 @@ groupsRoutes:
173165
#LOGS
174166
historyHomePage:
175167
path: /rz-admin/history
176-
controller: Themes\Rozier\Controllers\HistoryController::indexAction
168+
controller: RZ\Roadiz\RozierBundle\Controller\HistoryController::indexAction
177169
historyUserPage:
178170
path: /rz-admin/history/user/{userId}
179171
requirements: { userId : "[0-9]+" }
180-
controller: Themes\Rozier\Controllers\HistoryController::userAction
172+
controller: RZ\Roadiz\RozierBundle\Controller\HistoryController::userAction
181173

182174
# Custom Form
183175
customFormsHomePage:
184176
path: /rz-admin/custom-forms
185-
controller: Themes\Rozier\Controllers\CustomForms\CustomFormsController::defaultAction
177+
controller: RZ\Roadiz\RozierBundle\Controller\CustomForm\CustomFormController::defaultAction
186178
customFormsRoutes:
187179
resource: "routing/custom-forms.yml"
188180
prefix: /rz-admin/custom-forms
@@ -201,15 +193,15 @@ customFormFieldsRoutes:
201193
# SEARCH
202194
searchNodePage:
203195
path: /rz-admin/search
204-
controller: Themes\Rozier\Controllers\SearchController::searchNodeAction
196+
controller: RZ\Roadiz\RozierBundle\Controller\SearchController::searchNodeAction
205197
searchNodeSourcePage:
206198
path: /rz-admin/search/{nodeTypeName}
207-
controller: Themes\Rozier\Controllers\SearchController::searchNodeSourceAction
199+
controller: RZ\Roadiz\RozierBundle\Controller\SearchController::searchNodeSourceAction
208200
requirements: { nodeTypeName : "[a-zA-Z]+" }
209201

210202
webhooksHomePage:
211203
path: /rz-admin/webhooks
212-
controller: Themes\Rozier\Controllers\WebhookController::defaultAction
204+
controller: RZ\Roadiz\RozierBundle\Controller\WebhookController::defaultAction
213205
webhooksRoutes:
214206
resource: "routing/webhooks.yml"
215207
prefix: /rz-admin/webhooks

0 commit comments

Comments
 (0)