mirror of
https://github.com/silverstripe/silverstripe-externallinks.git
synced 2024-10-22 17:05:44 +02:00
Merge branch '3.0' into 3
This commit is contained in:
commit
a66e870df3
20
README.md
20
README.md
@ -11,12 +11,6 @@ The external links module is a task and ModelAdmin to track and to report on bro
|
||||
|
||||
* Damian Mooyman (@tractorcow) <damian@silverstripe.com>
|
||||
|
||||
## Requirements
|
||||
|
||||
* Silverstripe ^4.0
|
||||
|
||||
**Note:** For a Silverstripe 3.x compatible version, please use [the 1.x release line](https://github.com/silverstripe/silverstripe-externallinks/tree/1.0).
|
||||
|
||||
## Features
|
||||
|
||||
* Add external links to broken links reports
|
||||
@ -24,10 +18,9 @@ The external links module is a task and ModelAdmin to track and to report on bro
|
||||
|
||||
## Installation
|
||||
|
||||
1. Require the module via composer: `composer require silverstripe/externallinks`
|
||||
2. Run `/dev/build` in your browser to rebuild the database.
|
||||
3. Run the following task *http://path.to.silverstripe/dev/tasks/CheckExternalLinks* to check for
|
||||
broken external links
|
||||
```sh
|
||||
composer require silverstripe/externallinks
|
||||
```
|
||||
|
||||
## Report
|
||||
|
||||
@ -77,13 +70,6 @@ SilverStripe\ExternalLinks\Tasks\CheckExternalLinksTask:
|
||||
- 501
|
||||
```
|
||||
|
||||
## Upgrading from 1.x to 2.x
|
||||
|
||||
When upgrading from 1.x to 2.x (Silverstripe 3.x to 4.x) you will need to be aware of the following API changes:
|
||||
|
||||
* Configuration property `CheckExternalLinksTask.IgnoreCodes` renamed to `CheckExternalLinksTask.ignore_codes`
|
||||
* Configuration property `CheckExternalLinksTask.FollowLocation` and `BypassCache` renamed to `follow_location` and `bypass_cache`
|
||||
|
||||
## Follow 301 redirects
|
||||
|
||||
You may want to follow a redirected URL a example of this would be redirecting from http to https
|
||||
|
@ -11,11 +11,10 @@
|
||||
"watch": "NODE_ENV=development webpack --watch --progress",
|
||||
"lint": "eslint client/src/js && sass-lint client/src/styles"
|
||||
},
|
||||
"dependencies": {
|
||||
},
|
||||
"dependencies": {},
|
||||
"devDependencies": {
|
||||
"@silverstripe/eslint-config": "^1.0.0-alpha6",
|
||||
"@silverstripe/webpack-config": "^2.0.0-alpha5",
|
||||
"@silverstripe/eslint-config": "^1.0.0",
|
||||
"@silverstripe/webpack-config": "^2.0.0",
|
||||
"webpack": "^5.74.0",
|
||||
"webpack-cli": "^5.0.0"
|
||||
},
|
||||
|
16
yarn.lock
16
yarn.lock
@ -1261,10 +1261,10 @@
|
||||
resolved "https://registry.yarnpkg.com/@sect/modernizr-loader/-/modernizr-loader-1.0.3.tgz#7fd8cec372426c53f113f3cfd9344cb29e959825"
|
||||
integrity sha512-47zKwv4/1I0CYptZz8s4aSYSe0awmuyqa+HFKxN89/75h2q8hr6V752TZ9VjhGDhQ4gU0EU7Plew7b+7bf2crg==
|
||||
|
||||
"@silverstripe/eslint-config@^1.0.0-alpha6":
|
||||
version "1.0.0-alpha6"
|
||||
resolved "https://registry.yarnpkg.com/@silverstripe/eslint-config/-/eslint-config-1.0.0-alpha6.tgz#1f243b003fddf3503a4abea37f35a8a5968cc96e"
|
||||
integrity sha512-+P7UzhMRSmc7UlRYCiSXwjauLFYU11oBPwHl/bpacJ7xUcFY3Jt3CgcDt6d+XLvAJO8zMRsG9RcOm5MnxsyCsg==
|
||||
"@silverstripe/eslint-config@^1.0.0":
|
||||
version "1.0.0"
|
||||
resolved "https://registry.yarnpkg.com/@silverstripe/eslint-config/-/eslint-config-1.0.0.tgz#dcf3f9cf2158bb587d8048a7c2860c0513221d40"
|
||||
integrity sha512-pcHzB+6KWd8BPStBhHM8achdNY/Yj1p3WSTEs/CSw61VRcfBfg5GZECtvEerTSX/0ZeawAM1ABvstIAYihcfAg==
|
||||
dependencies:
|
||||
eslint "^8.26.0"
|
||||
eslint-config-airbnb "^19.0.4"
|
||||
@ -1274,10 +1274,10 @@
|
||||
eslint-plugin-react "^7.31.10"
|
||||
eslint-webpack-plugin "^3.2.0"
|
||||
|
||||
"@silverstripe/webpack-config@^2.0.0-alpha5":
|
||||
version "2.0.0-alpha7"
|
||||
resolved "https://registry.yarnpkg.com/@silverstripe/webpack-config/-/webpack-config-2.0.0-alpha7.tgz#c825f30fa0991222ac3e89a114bdc4cca2b2c254"
|
||||
integrity sha512-XkqdnED1E072QXxFSovP8KrJuVtZGIeW9fLMdLI8tJwzf6651ziwYFWYwep72C0Eb+jpUabxNQl7eqlAHO52xA==
|
||||
"@silverstripe/webpack-config@^2.0.0":
|
||||
version "2.0.0"
|
||||
resolved "https://registry.yarnpkg.com/@silverstripe/webpack-config/-/webpack-config-2.0.0.tgz#278a72a1adbc6fa2362497d60424c78fba58e8e1"
|
||||
integrity sha512-m1qGRxlsdhWL567cWe7IZNBUCzeyg3T1Y9yY9Y6XClwAqlg1oIO9uLfvfauA4dbtECrzU5n1AkaaU6kMRtN6Aw==
|
||||
dependencies:
|
||||
"@babel/core" "^7.19.6"
|
||||
"@babel/preset-env" "^7.19.4"
|
||||
|
Loading…
Reference in New Issue
Block a user