From ab1ed8cf2c8a585dc33dd438991045e4f6b40148 Mon Sep 17 00:00:00 2001 From: Tac Tacelosky Date: Tue, 17 Oct 2023 13:28:55 -0400 Subject: [PATCH 1/4] 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/4] 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/4] 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' From d2fac63c0fdcce3efe1b635fe4dec0c614e5f3a3 Mon Sep 17 00:00:00 2001 From: Tac Tacelosky Date: Mon, 18 Nov 2024 16:53:01 -0500 Subject: [PATCH 4/4] remove crawler-bundle recipe --- .../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 deletions(-) delete mode 100644 survos/crawler-bundle/1.5/config/packages/survos_crawler.yaml delete mode 100644 survos/crawler-bundle/1.5/config/routes/survos_crawler.php delete mode 100644 survos/crawler-bundle/1.5/manifest.json delete 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 deleted file mode 100644 index 649b647d3..000000000 --- a/survos/crawler-bundle/1.5/config/packages/survos_crawler.yaml +++ /dev/null @@ -1,9 +0,0 @@ -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 deleted file mode 100644 index adbbb7cc2..000000000 --- a/survos/crawler-bundle/1.5/config/routes/survos_crawler.php +++ /dev/null @@ -1,9 +0,0 @@ -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 deleted file mode 100644 index d7e6adaaf..000000000 --- a/survos/crawler-bundle/1.5/manifest.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "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 deleted file mode 100644 index 67bf22bd4..000000000 --- a/survos/crawler-bundle/1.5/post-install.txt +++ /dev/null @@ -1,8 +0,0 @@ - - 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.