ninegate
Some checks failed
Cadoles/nineskeletor/pipeline/head There was a failure building this commit
Some checks failed
Cadoles/nineskeletor/pipeline/head There was a failure building this commit
This commit is contained in:
@ -12,7 +12,16 @@ oneup_uploader:
|
||||
frontend: dropzone
|
||||
storage:
|
||||
directory: "%kernel.project_dir%/var/tmp/icon"
|
||||
slide:
|
||||
frontend: dropzone
|
||||
storage:
|
||||
directory: "%kernel.project_dir%/var/tmp/slide"
|
||||
header:
|
||||
frontend: dropzone
|
||||
storage:
|
||||
directory: "%kernel.project_dir%/var/tmp/header"
|
||||
directory: "%kernel.project_dir%/var/tmp/header"
|
||||
file:
|
||||
frontend: dropzone
|
||||
namer: App\Service\UploadSamename
|
||||
storage:
|
||||
directory: "%kernel.project_dir%/var/tmp/file"
|
||||
|
@ -197,9 +197,9 @@ app_hydra_consent:
|
||||
#== Ckeditor ====================================================================================================
|
||||
#-- Access all
|
||||
app_ckeditor_upload:
|
||||
path: /all/upload
|
||||
path: /all/upload/{{category}}/{{id}}/{{usage}}
|
||||
controller: App\Controller\MinioController::ckupload
|
||||
defaults: { access: all }
|
||||
defaults: { access: all, category: all, id: 0, usage: all }
|
||||
|
||||
#== Audit =======================================================================================================
|
||||
#--Access admin
|
||||
@ -1038,191 +1038,182 @@ app_all_bookmark_heart:
|
||||
|
||||
#-- Access admin
|
||||
app_admin_file_list:
|
||||
path: /admin/file/list/{directory}
|
||||
path: /admin/file/list/{category}/{id}
|
||||
controller: App\Controller\FileController::list
|
||||
defaults: { access: admin }
|
||||
|
||||
app_admin_file_upload:
|
||||
path: /admin/file/upload/{id}/{type}
|
||||
path: /admin/file/upload/{category}/{id}/{type}
|
||||
controller: App\Controller\FileController::upload
|
||||
defaults: { access: admin }
|
||||
|
||||
app_admin_file_subdirectory:
|
||||
path: /admin/file/subdirectory/{id}/{type}
|
||||
controller: App\Controller\FileController::subdirectory
|
||||
app_admin_file_folder:
|
||||
path: /admin/file/folder/{category}/{id}
|
||||
controller: App\Controller\FileController::folder
|
||||
defaults: { access: admin }
|
||||
|
||||
app_admin_file_rename:
|
||||
path: /admin/file/rename/{id}/{oldname}
|
||||
path: /admin/file/rename/{category}/{id}
|
||||
controller: App\Controller\FileController::rename
|
||||
defaults: { access: admin }
|
||||
|
||||
app_admin_file_trash:
|
||||
path: /admin/file/trash/
|
||||
path: /admin/file/trash/{category}/{id}
|
||||
controller: App\Controller\FileController::trash
|
||||
defaults: { access: admin }
|
||||
|
||||
app_admin_file_restaure:
|
||||
path: /admin/file/restaure/
|
||||
path: /admin/file/restaure/{category}/{id}
|
||||
controller: App\Controller\FileController::restaure
|
||||
defaults: { access: admin }
|
||||
|
||||
app_admin_file_purgetrash:
|
||||
path: /admin/file/purgetrash/{directory}
|
||||
path: /admin/file/purgetrash/{category}/{id}
|
||||
controller: App\Controller\FileController::purgetrash
|
||||
defaults: { access: admin }
|
||||
|
||||
app_admin_file_delete:
|
||||
path: /admin/file/delete/
|
||||
path: /admin/file/delete/{category}/{id}
|
||||
controller: App\Controller\FileController::delete
|
||||
defaults: { access: admin }
|
||||
|
||||
app_admin_file_move:
|
||||
path: /admin/file/move/
|
||||
path: /admin/file/move/{category}/{id}
|
||||
controller: App\Controller\FileController::move
|
||||
defaults: { access: admin }
|
||||
|
||||
app_admin_file_view:
|
||||
path: /admin/file/view/{directory}/{filename}
|
||||
path: /admin/file/view/{category}/{id}
|
||||
controller: App\Controller\FileController::view
|
||||
defaults: { access: admin }
|
||||
defaults: { access: all }
|
||||
|
||||
app_admin_file_show:
|
||||
path: /admin/file/show/{directory}/{filename}
|
||||
path: /admin/file/show/{category}/{id}
|
||||
controller: App\Controller\FileController::show
|
||||
defaults: { access: admin }
|
||||
defaults: { access: all }
|
||||
|
||||
app_admin_file_download:
|
||||
path: /admin/file/download/{directory}/{filename}
|
||||
path: /admin/file/download/{category}/{id}
|
||||
controller: App\Controller\FileController::download
|
||||
defaults: { access: admin }
|
||||
defaults: { access: all }
|
||||
|
||||
#-- Access all
|
||||
app_all_file_list:
|
||||
path: /all/file/list/{directory}
|
||||
path: /file/list/{category}/{id}
|
||||
controller: App\Controller\FileController::list
|
||||
defaults: { access: all }
|
||||
|
||||
app_all_file_upload:
|
||||
path: /all/file/upload/{id}/{type}
|
||||
path: /all/file/upload/{category}/{id}/{type}
|
||||
controller: App\Controller\FileController::upload
|
||||
defaults: { access: all }
|
||||
|
||||
app_all_file_subdirectory:
|
||||
path: /all/file/subdirectory/{id}/{type}
|
||||
controller: App\Controller\FileController::subdirectory
|
||||
app_all_file_folder:
|
||||
path: /all/file/folder/{category}/{id}
|
||||
controller: App\Controller\FileController::folder
|
||||
defaults: { access: all }
|
||||
|
||||
app_all_file_rename:
|
||||
path: /all/file/rename/{id}/{oldname}
|
||||
path: /all/file/rename/{category}/{id}
|
||||
controller: App\Controller\FileController::rename
|
||||
defaults: { access: all }
|
||||
|
||||
app_all_file_trash:
|
||||
path: /all/file/trash/
|
||||
path: /all/file/trash/{category}/{id}
|
||||
controller: App\Controller\FileController::trash
|
||||
defaults: { access: all }
|
||||
|
||||
app_all_file_restaure:
|
||||
path: /all/file/restaure/
|
||||
path: /all/file/restaure/{category}/{id}
|
||||
controller: App\Controller\FileController::restaure
|
||||
defaults: { access: all }
|
||||
|
||||
app_all_file_purgetrash:
|
||||
path: /all/file/purgetrash/{directory}
|
||||
path: /all/file/purgetrash/{category}/{id}
|
||||
controller: App\Controller\FileController::purgetrash
|
||||
defaults: { access: all }
|
||||
|
||||
app_all_file_delete:
|
||||
path: /all/file/delete
|
||||
path: /all/file/delete/{category}/{id}
|
||||
controller: App\Controller\FileController::delete
|
||||
defaults: { access: all }
|
||||
|
||||
app_all_file_move:
|
||||
path: /all/file/move/
|
||||
path: /all/file/move/{category}/{id}
|
||||
controller: App\Controller\FileController::move
|
||||
defaults: { access: all }
|
||||
|
||||
app_all_file_view:
|
||||
path: /all/file/view/{directory}/{filename}
|
||||
path: /file/view/{category}/{id}
|
||||
controller: App\Controller\FileController::view
|
||||
defaults: { access: all }
|
||||
|
||||
app_all_file_download:
|
||||
path: /all/file/download/{directory}/{filename}
|
||||
controller: App\Controller\FileController::download
|
||||
defaults: { access: all }
|
||||
defaults: { access: all }
|
||||
|
||||
app_all_file_show:
|
||||
path: /all/file/show/{directory}/{filename}
|
||||
path: /file/show/{category}/{id}
|
||||
controller: App\Controller\FileController::show
|
||||
defaults: { access: all }
|
||||
|
||||
#== SLIDE ================================================================================================================================================
|
||||
app_all_file_download:
|
||||
path: /file/download/{category}/{id}
|
||||
controller: App\Controller\FileController::download
|
||||
defaults: { access: all }
|
||||
|
||||
|
||||
|
||||
#== PAGEWIDGETSLIDE ================================================================================================================================================
|
||||
|
||||
#-- Access admin
|
||||
app_admin_slide_list:
|
||||
path: /config/slide/{idpage}/{idwidget}
|
||||
controller: App\Controller\SlideController::list
|
||||
app_admin_pagewidgetslide_upload:
|
||||
path: /admin/pagewidgetslide/upload/{idwidget}
|
||||
controller: App\Controller\PagewidgetslideController::upload
|
||||
defaults: { access: admin }
|
||||
|
||||
app_admin_slide_submit:
|
||||
path: /config/slide/submit/{idpage}/{idwidget}
|
||||
controller: App\Controller\SlideController::submit
|
||||
app_admin_pagewidgetslide_list:
|
||||
path: /admin/pagewidgetslide/{idwidget}
|
||||
controller: App\Controller\PagewidgetslideController::list
|
||||
defaults: { access: admin }
|
||||
|
||||
app_admin_slide_update:
|
||||
path: /config/slide/update/{idpage}/{id}
|
||||
controller: App\Controller\SlideController::update
|
||||
app_admin_pagewidgetslide_submit:
|
||||
path: /config/pagewidgetslide/submit/{idwidget}
|
||||
controller: App\Controller\PagewidgetslideController::submit
|
||||
defaults: { access: admin }
|
||||
|
||||
app_admin_slide_delete:
|
||||
path: /config/slide/delete/{idpage}/{id}
|
||||
controller: App\Controller\SlideController::delete
|
||||
app_admin_pagewidgetslide_update:
|
||||
path: /admin/pagewidgetslide/update/{idwidget}/{id}
|
||||
controller: App\Controller\PagewidgetslideController::update
|
||||
defaults: { access: admin }
|
||||
|
||||
app_admin_slide_upload:
|
||||
path: /config/slide/upload
|
||||
controller: App\Controller\SlideController::upload
|
||||
app_admin_pagewidgetslide_delete:
|
||||
path: /admin/pagewidgetslide/delete/{idwidget}/{id}
|
||||
controller: App\Controller\PagewidgetslideController::delete
|
||||
defaults: { access: admin }
|
||||
|
||||
#-- Access all
|
||||
app_all_slide_list:
|
||||
path: /user/slide/{idpage}/{idwidget}
|
||||
controller: App\Controller\SlideController::list
|
||||
app_all_pagewidgetslide_upload:
|
||||
path: /all/pagewidgetslide/upload/{idwidget}
|
||||
controller: App\Controller\PagewidgetslideController::upload
|
||||
defaults: { access: all }
|
||||
|
||||
app_all_slide_submit:
|
||||
path: /user/slide/submit/{idpage}/{idwidget}
|
||||
controller: App\Controller\SlideController::submit
|
||||
app_all_pagewidgetslide_list:
|
||||
path: /all/pagewidgetslide/{idwidget}
|
||||
controller: App\Controller\PagewidgetslideController::list
|
||||
defaults: { access: all }
|
||||
|
||||
app_all_slide_update:
|
||||
path: /user/slide/update/{idpage}/{id}
|
||||
controller: App\Controller\SlideController::update
|
||||
app_all_pagewidgetslide_submit:
|
||||
path: /all/pagewidgetslide/submit/{idwidget}
|
||||
controller: App\Controller\PagewidgetslideController::submit
|
||||
defaults: { access: all }
|
||||
|
||||
app_all_slide_delete:
|
||||
path: /user/slide/delete/{idpage}/{id}
|
||||
controller: App\Controller\SlideController::delete
|
||||
app_all_pagewidgetslide_update:
|
||||
path: /all/pagewidgetslide/update/{idwidget}/{id}
|
||||
controller: App\Controller\PagewidgetslideController::update
|
||||
defaults: { access: all }
|
||||
|
||||
app_all_slide_upload:
|
||||
path: /user/slide/upload
|
||||
controller: App\Controller\SlideController::upload
|
||||
app_all_pagewidgetslide_delete:
|
||||
path: /all/pagewidgetslide/delete/{idwidget}/{id}
|
||||
controller: App\Controller\PagewidgetslideController::delete
|
||||
defaults: { access: all }
|
||||
|
||||
#== MESSAGE ==================================================================================================================
|
||||
|
||||
# Access all
|
||||
app_all_message_chat:
|
||||
path: /all/message/chat/{id}
|
||||
controller: App\Controller\WebsocketController::chat
|
||||
defaults: { access: all }
|
||||
|
||||
app_all_message_see:
|
||||
path: /all/message/see
|
||||
controller: App\Controller\WebsocketController::see
|
||||
defaults: { access: all }
|
||||
|
||||
|
||||
#== PAGE TEMPLATE ========================================================================================================================================
|
||||
@ -1396,6 +1387,11 @@ app_admin_pagewidget_order:
|
||||
controller: App\Controller\PagewidgetController::order
|
||||
defaults: { access: admin }
|
||||
|
||||
app_admin_pagewidget_ckeditor:
|
||||
path: /admin/pagewidget/ckeditor/{idwidget}
|
||||
controller: App\Controller\PagewidgetController::ckeditor
|
||||
defaults: { access: admin }
|
||||
|
||||
app_admin_pagewidget_view_url:
|
||||
path: /admin/pagewidget/view/url/{id}
|
||||
controller: App\Controller\PagewidgetController::viewurl
|
||||
@ -1447,7 +1443,7 @@ app_admin_pagewidget_view_editor:
|
||||
defaults: { access: admin }
|
||||
|
||||
app_admin_pagewidget_view_slide:
|
||||
path: /admin/pagewidget/view/slide/{id}
|
||||
path: /admin/pagewidget/view/pagewidgetslide/{id}
|
||||
controller: App\Controller\PagewidgetController::viewslide
|
||||
defaults: { access: admin }
|
||||
|
||||
@ -1517,6 +1513,11 @@ app_all_pagewidget_order:
|
||||
controller: App\Controller\PagewidgetController::order
|
||||
defaults: { access: all }
|
||||
|
||||
app_all_pagewidget_ckeditor:
|
||||
path: /all/pagewidget/ckeditor/{idwidget}
|
||||
controller: App\Controller\PagewidgetController::ckeditor
|
||||
defaults: { access: all }
|
||||
|
||||
app_all_pagewidget_view_url:
|
||||
path: /pagewidget/view/url/{id}
|
||||
controller: App\Controller\PagewidgetController::viewurl
|
||||
@ -1568,7 +1569,7 @@ app_all_pagewidget_view_editor:
|
||||
defaults: { access: all }
|
||||
|
||||
app_all_pagewidget_view_slide:
|
||||
path: /pagewidget/view/slide/{id}
|
||||
path: /pagewidget/view/pagewidgetslide/{id}
|
||||
controller: App\Controller\PagewidgetController::viewslide
|
||||
defaults: { access: all }
|
||||
|
||||
|
@ -174,6 +174,12 @@ services:
|
||||
tags:
|
||||
- name: 'doctrine.event_subscriber'
|
||||
|
||||
App\EventListener\PurgefileSubscriber:
|
||||
public: true
|
||||
arguments: ['@App\Service\MinioService']
|
||||
tags:
|
||||
- name: 'doctrine.event_subscriber'
|
||||
|
||||
App\EventListener\Niveau01Subscriber:
|
||||
public: true
|
||||
arguments: ['@doctrine.orm.entity_manager','@App\Service\LdapService']
|
||||
@ -249,6 +255,9 @@ services:
|
||||
arguments: ["@doctrine.orm.entity_manager"]
|
||||
tags:
|
||||
- { name: kernel.event_listener, event: oneup_uploader.post_persist, method: onUpload }
|
||||
|
||||
App\Service\UploadSamename:
|
||||
public: true
|
||||
|
||||
App\Service\LdapService:
|
||||
public: true
|
||||
|
Reference in New Issue
Block a user