Skip to content

Commit a9b2883

Browse files
author
roadiz-ci
committed
chore: bumped
1 parent 4ff954c commit a9b2883

598 files changed

Lines changed: 2209 additions & 76850 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.3', '8.4']
22+
php-version: ['8.2', '8.3']
2323
steps:
2424
- uses: shivammathur/setup-php@v2
2525
with:

.gitignore

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,3 @@ 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 © 2025 Ambroise Maupate, Julien Blanchet
3+
Copyright © 2024 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: 12 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -16,22 +16,22 @@
1616
}
1717
],
1818
"type": "symfony-bundle",
19+
"minimum-stability": "dev",
1920
"prefer-stable": true,
2021
"require": {
21-
"php": ">=8.3",
22-
"roadiz/core-bundle": "2.7.*",
23-
"roadiz/openid": "2.7.*",
24-
"roadiz/doc-generator": "2.7.*",
25-
"roadiz/dts-generator": "2.7.*",
26-
"symfony/framework-bundle": "7.4.*",
27-
"deeplcom/deepl-php": "^1.12"
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.*"
2828
},
2929
"require-dev": {
3030
"php-coveralls/php-coveralls": "^2.4",
31-
"phpstan/phpstan": "^2.1.36",
31+
"phpstan/phpstan": "^1.5.3",
3232
"phpstan/phpdoc-parser": "<2",
33-
"phpstan/phpstan-doctrine": "^2.0.13",
34-
"phpstan/phpstan-symfony": "^2.0.12"
33+
"phpstan/phpstan-doctrine": "^1.3",
34+
"phpstan/phpstan-symfony": "^1.1.8"
3535
},
3636
"config": {
3737
"optimize-autoloader": true,
@@ -52,21 +52,8 @@
5252
},
5353
"extra": {
5454
"branch-alias": {
55-
"dev-main": "2.7.x-dev",
56-
"dev-develop": "2.8.x-dev"
55+
"dev-main": "2.5.x-dev",
56+
"dev-develop": "2.6.x-dev"
5757
}
58-
},
59-
"scripts": {
60-
"auto-scripts": {
61-
"cache:clear": "symfony-cmd",
62-
"assets:install %PUBLIC_DIR%": "symfony-cmd",
63-
"requirements-checker": "script"
64-
},
65-
"post-install-cmd": [
66-
"@auto-scripts"
67-
],
68-
"post-update-cmd": [
69-
"@auto-scripts"
70-
]
7158
}
7259
}

config/packages/asset_mapper.yaml

Lines changed: 0 additions & 12 deletions
This file was deleted.

config/packages/roadiz_rozier.yaml

Lines changed: 22 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,8 @@ roadiz_rozier:
111111
- 'ROLE_ACCESS_NODETYPES'
112112
- 'ROLE_ACCESS_ATTRIBUTES'
113113
- 'ROLE_ACCESS_TRANSLATIONS'
114+
- 'ROLE_ACCESS_THEMES'
115+
- 'ROLE_ACCESS_FONTS'
114116
- 'ROLE_ACCESS_REDIRECTIONS'
115117
- 'ROLE_ACCESS_WEBHOOKS'
116118
- 'ROLE_ACCESS_REALMS'
@@ -150,24 +152,38 @@ roadiz_rozier:
150152
name: 'user.system'
151153
route: ~
152154
icon: uk-icon-rz-users
153-
roles: ['ROLE_ACCESS_USERS', 'ROLE_ACCESS_GROUPS']
155+
roles: ['ROLE_ACCESS_USERS', 'ROLE_ACCESS_ROLES', 'ROLE_ACCESS_GROUPS']
154156
subentries:
155157
manage_users:
156158
name: 'manage.users'
157159
route: usersHomePage
158160
icon: uk-icon-rz-user
159161
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']
160167
manage_groups:
161168
name: 'manage.groups'
162169
route: groupsHomePage
163170
icon: uk-icon-rz-groups
164171
roles: ['ROLE_ACCESS_GROUPS']
165172

166-
manage_customForms:
167-
name: 'manage.customForms'
168-
route: customFormsHomePage
169-
icon: uk-icon-rz-surveys
170-
roles: ['ROLE_ACCESS_CUSTOMFORMS']
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']
171187

172188
settings:
173189
name: 'settings'

config/routing.yaml

Lines changed: 92 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,48 @@
1-
# enable attribute routing for this bundle
2-
controllers:
3-
resource:
4-
path: ../src/Controller/
5-
namespace: RZ\Roadiz\RozierBundle\Controller
6-
type: attribute
7-
8-
# enable attribute routing for TranslateAssistant sub-bundle
9-
translateAssistant:
10-
resource:
11-
path: ../src/TranslateAssistant/
12-
namespace: RZ\Roadiz\RozierBundle\TranslateAssistant
13-
type: attribute
1+
# Home page
2+
adminHomePage:
3+
path: /rz-admin
4+
controller: Themes\Rozier\Controllers\DashboardController::indexAction
5+
6+
loginRoutes:
7+
prefix: /rz-admin
8+
resource: "routing/login.yml"
9+
10+
ajaxSessionMessages:
11+
path: /rz-admin/session/messages
12+
methods: [GET]
13+
controller: Themes\Rozier\AjaxControllers\AjaxSessionMessages::getMessagesAction
14+
15+
#Ping
16+
ping:
17+
path: /rz-admin/ping
18+
methods: [GET]
19+
controller: RZ\Roadiz\RozierBundle\Controller\PingController::pingAction
20+
21+
# CACHES
22+
deleteDoctrineCache:
23+
path: /rz-admin/cache/delete-doctrine-cache
24+
controller: Themes\Rozier\Controllers\CacheController::deleteDoctrineCache
25+
deleteAssetsCache:
26+
path: /rz-admin/cache/delete-assets-cache
27+
controller: Themes\Rozier\Controllers\CacheController::deleteAssetsCache
1428

1529
# NODES
30+
nodesHomePage:
31+
path: /rz-admin/nodes
32+
controller: Themes\Rozier\Controllers\Nodes\NodesController::indexAction
1633
nodesRoutes:
1734
resource: "routing/nodes.yml"
1835
prefix: /rz-admin/nodes
1936

37+
## Ajax
38+
ajaxRequestsRoutes:
39+
resource: "routing/ajax.yml"
40+
prefix: /rz-admin/ajax
41+
2042
# Node TYPES
2143
nodeTypesHomePage:
2244
path: /rz-admin/node-types
23-
controller: RZ\Roadiz\RozierBundle\Controller\NodeType\NodeTypeController::indexAction
45+
controller: Themes\Rozier\Controllers\NodeTypes\NodeTypesController::indexAction
2446
nodeTypesRoutes:
2547
resource: "routing/node-types.yml"
2648
prefix: /rz-admin/node-types
@@ -38,7 +60,7 @@ nodeTypeDecoratorsRoutes:
3860
# SETTINGS
3961
settingsHomePage:
4062
path: /rz-admin/settings
41-
controller: RZ\Roadiz\RozierBundle\Controller\SettingController::indexAction
63+
controller: Themes\Rozier\Controllers\SettingsController::indexAction
4264
settingsRoutes:
4365
resource: "routing/settings.yml"
4466
prefix: /rz-admin/settings
@@ -47,23 +69,32 @@ settingsRoutes:
4769
# SETTINGS GROUPS
4870
settingGroupsHomePage:
4971
path: /rz-admin/setting-groups
50-
controller: RZ\Roadiz\RozierBundle\Controller\SettingGroupController::defaultAction
72+
controller: Themes\Rozier\Controllers\SettingGroupsController::defaultAction
5173
settingGroupsRoutes:
5274
resource: "routing/setting-groups.yml"
5375
prefix: /rz-admin/setting-groups
5476

77+
78+
# TAGS
79+
tagsHomePage:
80+
path: /rz-admin/tags
81+
controller: Themes\Rozier\Controllers\Tags\TagsController::indexAction
82+
tagsRoutes:
83+
resource: "routing/tags.yml"
84+
prefix: /rz-admin/tags
85+
5586
# USERS
5687
usersHomePage:
5788
path: /rz-admin/users
58-
controller: RZ\Roadiz\RozierBundle\Controller\User\UserController::defaultAction
89+
controller: Themes\Rozier\Controllers\Users\UsersController::defaultAction
5990
usersRoutes:
6091
resource: "routing/users.yml"
6192
prefix: /rz-admin/users
6293

6394
# ATTRIBUTES
6495
attributesHomePage:
6596
path: /rz-admin/attributes
66-
controller: RZ\Roadiz\RozierBundle\Controller\Attribute\AttributeController::defaultAction
97+
controller: Themes\Rozier\Controllers\Attributes\AttributeController::defaultAction
6798
attributesRoutes:
6899
resource: "routing/attributes.yml"
69100
prefix: /rz-admin/attributes
@@ -72,7 +103,7 @@ attributesRoutes:
72103
# FOLDERS
73104
foldersHomePage:
74105
path: /rz-admin/folders
75-
controller: RZ\Roadiz\RozierBundle\Controller\FolderController::indexAction
106+
controller: Themes\Rozier\Controllers\FoldersController::indexAction
76107
foldersRoutes:
77108
resource: "routing/folders.yml"
78109
prefix: /rz-admin/folders
@@ -81,7 +112,7 @@ foldersRoutes:
81112
# TRANSLATIONS
82113
translationsHomePage:
83114
path: /rz-admin/translations
84-
controller: RZ\Roadiz\RozierBundle\Controller\TranslationController::indexAction
115+
controller: Themes\Rozier\Controllers\TranslationsController::indexAction
85116
translationsRoutes:
86117
resource: "routing/translations.yml"
87118
prefix: /rz-admin/translations
@@ -108,7 +139,7 @@ documentsRoutes:
108139
# DOCUMENTS
109140
redirectionsHomePage:
110141
path: /rz-admin/redirections
111-
controller: RZ\Roadiz\RozierBundle\Controller\RedirectionController::defaultAction
142+
controller: Themes\Rozier\Controllers\RedirectionsController::defaultAction
112143
redirectionsRoutes:
113144
resource: "routing/redirections.yml"
114145
prefix: /rz-admin/redirections
@@ -122,18 +153,36 @@ realmsRoutes:
122153
resource: "routing/realms.yml"
123154
prefix: /rz-admin/realms
124155

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+
125164
# GROUPS
126165
groupsHomePage:
127166
path: /rz-admin/groups
128-
controller: RZ\Roadiz\RozierBundle\Controller\GroupController::defaultAction
167+
controller: Themes\Rozier\Controllers\GroupsController::defaultAction
129168
groupsRoutes:
130169
resource: "routing/groups.yml"
131170
prefix: /rz-admin/groups
132171

172+
173+
#LOGS
174+
historyHomePage:
175+
path: /rz-admin/history
176+
controller: Themes\Rozier\Controllers\HistoryController::indexAction
177+
historyUserPage:
178+
path: /rz-admin/history/user/{userId}
179+
requirements: { userId : "[0-9]+" }
180+
controller: Themes\Rozier\Controllers\HistoryController::userAction
181+
133182
# Custom Form
134183
customFormsHomePage:
135184
path: /rz-admin/custom-forms
136-
controller: RZ\Roadiz\RozierBundle\Controller\CustomForm\CustomFormController::defaultAction
185+
controller: Themes\Rozier\Controllers\CustomForms\CustomFormsController::defaultAction
137186
customFormsRoutes:
138187
resource: "routing/custom-forms.yml"
139188
prefix: /rz-admin/custom-forms
@@ -149,9 +198,28 @@ customFormFieldsRoutes:
149198
prefix: /rz-admin/custom-forms/fields
150199

151200

201+
# SEARCH
202+
searchNodePage:
203+
path: /rz-admin/search
204+
controller: Themes\Rozier\Controllers\SearchController::searchNodeAction
205+
searchNodeSourcePage:
206+
path: /rz-admin/search/{nodeTypeName}
207+
controller: Themes\Rozier\Controllers\SearchController::searchNodeSourceAction
208+
requirements: { nodeTypeName : "[a-zA-Z]+" }
209+
152210
webhooksHomePage:
153211
path: /rz-admin/webhooks
154-
controller: RZ\Roadiz\RozierBundle\Controller\WebhookController::defaultAction
212+
controller: Themes\Rozier\Controllers\WebhookController::defaultAction
155213
webhooksRoutes:
156214
resource: "routing/webhooks.yml"
157215
prefix: /rz-admin/webhooks
216+
217+
218+
#
219+
# CSS to style with main color
220+
# NOT SECURED ROUTES
221+
#
222+
loginImagePage:
223+
path: /css/login/image
224+
controller: RZ\Roadiz\RozierBundle\Controller\Login\LoginImageController::imageAction
225+

0 commit comments

Comments
 (0)