From ddec2c4164862ab05162adbfbd0800414fb01875 Mon Sep 17 00:00:00 2001 From: Cedrick Oka Baidai Date: Tue, 20 Nov 2018 14:30:00 +0000 Subject: [PATCH 1/5] * Add a recipe for coka/pagination-bundle --- .../3.0/config/packages/oka_pagination.yaml | 18 ++++++++++++++++++ coka/pagination-bundle/3.0/manifest.json | 8 ++++++++ 2 files changed, 26 insertions(+) create mode 100644 coka/pagination-bundle/3.0/config/packages/oka_pagination.yaml create mode 100644 coka/pagination-bundle/3.0/manifest.json diff --git a/coka/pagination-bundle/3.0/config/packages/oka_pagination.yaml b/coka/pagination-bundle/3.0/config/packages/oka_pagination.yaml new file mode 100644 index 00000000..b268de65 --- /dev/null +++ b/coka/pagination-bundle/3.0/config/packages/oka_pagination.yaml @@ -0,0 +1,18 @@ +oka_pagination: + db_driver: orm + model_manager_name: ~ + item_per_page: 10 + max_page_number: 400 + template: 'OkaPaginationBundle:Pagination:paginate.html.twig' + request: + query_map: + page: page + item_per_page: item_per_page + sort: sort + desc: desc + distinct: distinct + fields: fields + sort: + delimiter: ',' + twig: + enable_extension: false diff --git a/coka/pagination-bundle/3.0/manifest.json b/coka/pagination-bundle/3.0/manifest.json new file mode 100644 index 00000000..411770c8 --- /dev/null +++ b/coka/pagination-bundle/3.0/manifest.json @@ -0,0 +1,8 @@ +{ + "bundles": { + "Oka\\PaginationBundle\\OkaPaginationBundle": ["all"] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + } +} From e48fc331d2459e6d548f44a4a7db5c003a109dcb Mon Sep 17 00:00:00 2001 From: Cedrick Oka Baidai Date: Wed, 21 Nov 2018 08:41:30 +0000 Subject: [PATCH 2/5] * Updated oka_pagination packages config. --- .../3.0/config/packages/oka_pagination.yaml | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/coka/pagination-bundle/3.0/config/packages/oka_pagination.yaml b/coka/pagination-bundle/3.0/config/packages/oka_pagination.yaml index b268de65..74a2f89f 100644 --- a/coka/pagination-bundle/3.0/config/packages/oka_pagination.yaml +++ b/coka/pagination-bundle/3.0/config/packages/oka_pagination.yaml @@ -1,18 +1,4 @@ oka_pagination: db_driver: orm - model_manager_name: ~ - item_per_page: 10 - max_page_number: 400 - template: 'OkaPaginationBundle:Pagination:paginate.html.twig' - request: - query_map: - page: page - item_per_page: item_per_page - sort: sort - desc: desc - distinct: distinct - fields: fields - sort: - delimiter: ',' twig: enable_extension: false From 6a15a49d674b166ca272d15a916aed3ffb89067d Mon Sep 17 00:00:00 2001 From: Cedrick Oka Baidai Date: Sat, 9 Mar 2019 20:01:48 +0000 Subject: [PATCH 3/5] * Add a recipe for coka/file-bundle --- coka/file-bundle/3.0/config/packages/oka_file.yaml | 13 +++++++++++++ coka/file-bundle/3.0/manifest.json | 13 +++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 coka/file-bundle/3.0/config/packages/oka_file.yaml create mode 100644 coka/file-bundle/3.0/manifest.json diff --git a/coka/file-bundle/3.0/config/packages/oka_file.yaml b/coka/file-bundle/3.0/config/packages/oka_file.yaml new file mode 100644 index 00000000..90ed93d1 --- /dev/null +++ b/coka/file-bundle/3.0/config/packages/oka_file.yaml @@ -0,0 +1,13 @@ +oka_file: + db_driver: orm + model_manager_name: ~ + storage: + root_path: '%env(OKAFILE_STORAGE_ROOT_PATH)%' + webserver: + scheme: http + host: '%env(OKAFILE_STORAGE_WEB_SERVER_HOST)%' + port: 80 + path: '/' + image: + dominant_color: true + diff --git a/coka/file-bundle/3.0/manifest.json b/coka/file-bundle/3.0/manifest.json new file mode 100644 index 00000000..819a632e --- /dev/null +++ b/coka/file-bundle/3.0/manifest.json @@ -0,0 +1,13 @@ +{ + "bundles": { + "Oka\\FileBundle\\OkaFileBundle": ["all"] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + }, + "env": { + "OKAFILE_STORAGE_ROOT_PATH": "%kernel.project_dir%/public", + "OKAFILE_STORAGE_WEB_SERVER_HOST": "localhost" + } +} + From 05d8698c643366df2933ec90b8bb248c188eff1b Mon Sep 17 00:00:00 2001 From: Cedrick Oka Baidai Date: Sat, 9 Mar 2019 20:09:58 +0000 Subject: [PATCH 4/5] * Updated recipes of coka vendors. --- coka/api-bundle/3.0/config/packages/oka_api.yaml | 2 +- coka/file-bundle/3.0/config/packages/oka_file.yaml | 5 ----- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/coka/api-bundle/3.0/config/packages/oka_api.yaml b/coka/api-bundle/3.0/config/packages/oka_api.yaml index 6a2dbc21..0261faf1 100644 --- a/coka/api-bundle/3.0/config/packages/oka_api.yaml +++ b/coka/api-bundle/3.0/config/packages/oka_api.yaml @@ -8,7 +8,7 @@ oka_api: wsse: enabled: false security_behaviors: - password_updater: true + password_updater: false response: compression: enabled: false diff --git a/coka/file-bundle/3.0/config/packages/oka_file.yaml b/coka/file-bundle/3.0/config/packages/oka_file.yaml index 90ed93d1..b0cc211f 100644 --- a/coka/file-bundle/3.0/config/packages/oka_file.yaml +++ b/coka/file-bundle/3.0/config/packages/oka_file.yaml @@ -1,13 +1,8 @@ oka_file: db_driver: orm - model_manager_name: ~ storage: root_path: '%env(OKAFILE_STORAGE_ROOT_PATH)%' webserver: scheme: http host: '%env(OKAFILE_STORAGE_WEB_SERVER_HOST)%' - port: 80 - path: '/' - image: - dominant_color: true From 232449ed50a293b96d7bb0dc5f3a2a654c6060cb Mon Sep 17 00:00:00 2001 From: Cedrick Oka Baidai Date: Sat, 9 Mar 2019 20:16:24 +0000 Subject: [PATCH 5/5] * Updated recipes of coka vendors. --- coka/file-bundle/3.0/config/packages/oka_file.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/coka/file-bundle/3.0/config/packages/oka_file.yaml b/coka/file-bundle/3.0/config/packages/oka_file.yaml index b0cc211f..c2d81c1e 100644 --- a/coka/file-bundle/3.0/config/packages/oka_file.yaml +++ b/coka/file-bundle/3.0/config/packages/oka_file.yaml @@ -3,6 +3,5 @@ oka_file: storage: root_path: '%env(OKAFILE_STORAGE_ROOT_PATH)%' webserver: - scheme: http host: '%env(OKAFILE_STORAGE_WEB_SERVER_HOST)%'