From ec85310bcdf8eb47c50c32a7655338d0b758565b Mon Sep 17 00:00:00 2001 From: Tac Tacelosky Date: Sun, 22 Oct 2023 17:31:29 -0400 Subject: [PATCH] add survos/crawler-bundle (#1554) * add survos/crawler-bundle * fix spacing * Update survos/crawler-bundle/1.5/config/packages/survos_crawler.yaml Co-authored-by: Ryan Weaver --------- Co-authored-by: Ryan Weaver --- .../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..649b647d3 --- /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.