From ab1ed8cf2c8a585dc33dd438991045e4f6b40148 Mon Sep 17 00:00:00 2001 From: Tac Tacelosky Date: Tue, 17 Oct 2023 13:28:55 -0400 Subject: [PATCH 1/3] add survos/crawler-bundle --- .../1.5/config/packages/survos_crawler.yaml | 9 +++++++++ .../crawler-bundle/1.5/config/routes/survos_crawler.php | 9 +++++++++ survos/crawler-bundle/1.5/manifest.json | 9 +++++++++ survos/crawler-bundle/1.5/post-install.txt | 8 ++++++++ 4 files changed, 35 insertions(+) create mode 100644 survos/crawler-bundle/1.5/config/packages/survos_crawler.yaml create mode 100644 survos/crawler-bundle/1.5/config/routes/survos_crawler.php create mode 100644 survos/crawler-bundle/1.5/manifest.json create mode 100644 survos/crawler-bundle/1.5/post-install.txt diff --git a/survos/crawler-bundle/1.5/config/packages/survos_crawler.yaml b/survos/crawler-bundle/1.5/config/packages/survos_crawler.yaml new file mode 100644 index 000000000..ac9d63a08 --- /dev/null +++ b/survos/crawler-bundle/1.5/config/packages/survos_crawler.yaml @@ -0,0 +1,9 @@ +survos_crawler: +# if you've run symfony proxy:domain:attach my-project, then the error messages will be displayed with this prefix. That way, you can simply click on a link to open the page. +# base_url: 'https://my-project.wip/' + user_class: App\Entity\User + users: + - user@user.com + max_depth : 3 + routes_to_ignore : + - 'app_logout' diff --git a/survos/crawler-bundle/1.5/config/routes/survos_crawler.php b/survos/crawler-bundle/1.5/config/routes/survos_crawler.php new file mode 100644 index 000000000..adbbb7cc2 --- /dev/null +++ b/survos/crawler-bundle/1.5/config/routes/survos_crawler.php @@ -0,0 +1,9 @@ +import('@SurvosCrawlerBundle/config/routes.php') + ->prefix('/admin') // consider adding this path to the access_control key in security + ; +}; + diff --git a/survos/crawler-bundle/1.5/manifest.json b/survos/crawler-bundle/1.5/manifest.json new file mode 100644 index 000000000..d7e6adaaf --- /dev/null +++ b/survos/crawler-bundle/1.5/manifest.json @@ -0,0 +1,9 @@ +{ + "bundles": { + "Survos\\CrawlerBundle\\SurvosCrawlerBundle": ["all"] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + } +} + diff --git a/survos/crawler-bundle/1.5/post-install.txt b/survos/crawler-bundle/1.5/post-install.txt new file mode 100644 index 000000000..67bf22bd4 --- /dev/null +++ b/survos/crawler-bundle/1.5/post-install.txt @@ -0,0 +1,8 @@ + + success + + + * Next steps: + 1. Configure /config/packages/survos_crawler.php and add the users and routes to ignore + 2. Run symfony console survos:crawl + 3. Visit /admin/crawler-results. From 7b6a140469ff6d77431badba7c965d722f5a6a92 Mon Sep 17 00:00:00 2001 From: Tac Tacelosky Date: Fri, 20 Oct 2023 15:40:02 -0400 Subject: [PATCH 2/3] fix spacing --- survos/crawler-bundle/1.5/config/packages/survos_crawler.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/survos/crawler-bundle/1.5/config/packages/survos_crawler.yaml b/survos/crawler-bundle/1.5/config/packages/survos_crawler.yaml index ac9d63a08..f8c808e8e 100644 --- a/survos/crawler-bundle/1.5/config/packages/survos_crawler.yaml +++ b/survos/crawler-bundle/1.5/config/packages/survos_crawler.yaml @@ -1,6 +1,6 @@ survos_crawler: # if you've run symfony proxy:domain:attach my-project, then the error messages will be displayed with this prefix. That way, you can simply click on a link to open the page. -# base_url: 'https://my-project.wip/' +# base_url: 'https://my-project.wip/' user_class: App\Entity\User users: - user@user.com From b74dd25344ec1098df1f70a99599ec0f98e69f49 Mon Sep 17 00:00:00 2001 From: Tac Tacelosky Date: Sun, 22 Oct 2023 08:37:15 -0400 Subject: [PATCH 3/3] Update survos/crawler-bundle/1.5/config/packages/survos_crawler.yaml Co-authored-by: Ryan Weaver --- survos/crawler-bundle/1.5/config/packages/survos_crawler.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/survos/crawler-bundle/1.5/config/packages/survos_crawler.yaml b/survos/crawler-bundle/1.5/config/packages/survos_crawler.yaml index f8c808e8e..649b647d3 100644 --- a/survos/crawler-bundle/1.5/config/packages/survos_crawler.yaml +++ b/survos/crawler-bundle/1.5/config/packages/survos_crawler.yaml @@ -3,7 +3,7 @@ survos_crawler: # base_url: 'https://my-project.wip/' user_class: App\Entity\User users: - - user@user.com + - user@user.com max_depth : 3 routes_to_ignore : - 'app_logout'