Changed to new rules submodule repo

This commit is contained in:
Kevin R 2020-11-21 18:27:54 +01:00
parent 5426c2b334
commit 4ac48dcd33
No known key found for this signature in database
GPG Key ID: 97471F65F14A4C66
3 changed files with 10 additions and 3 deletions

View File

@ -7,6 +7,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## Ongoing ## Ongoing
- Rewrite ClearURLs completely form scratch in typescript - Rewrite ClearURLs completely form scratch in typescript
- Add features from the milestone [%1](https://gitlab.com/KevinRoebert/ClearUrls/-/milestones/1) - Add features from the milestone [%1](https://gitlab.com/KevinRoebert/ClearUrls/-/milestones/1)
- Dedicated documentation page like [docs.drasyl.org](https://docs.drasyl.org)
## [1.20.0] - 2020-11-20 ## [1.20.0] - 2020-11-20
@ -20,6 +21,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Changed ### Changed
- Changed url decoding to prevent endless loop - Changed url decoding to prevent endless loop
- Performance optimizations for rules by [@thexeos](https://gitlab.com/thexeos) - Performance optimizations for rules by [@thexeos](https://gitlab.com/thexeos)
- Changed default rules and hash host to Github Pages
- Changed rules changelog button `href` to the new rules submodule repo
## [1.19.0] - 2020-07-22 ## [1.19.0] - 2020-07-22

View File

@ -193,8 +193,8 @@ function initSettings() {
storage.log = {"log": []}; storage.log = {"log": []};
storage.statisticsStatus = true; storage.statisticsStatus = true;
storage.badged_color = "#ffa500"; storage.badged_color = "#ffa500";
storage.hashURL = "https://kevinroebert.gitlab.io/ClearUrls/data/rules.minify.hash"; storage.hashURL = "https://rules2.clearurls.xyz/rules.minify.hash";
storage.ruleURL = "https://kevinroebert.gitlab.io/ClearUrls/data/data.minify.json"; storage.ruleURL = "https://rules2.clearurls.xyz/data.minify.json";
storage.contextMenuEnabled = true; storage.contextMenuEnabled = true;
storage.historyListenerEnabled = true; storage.historyListenerEnabled = true;
storage.localHostsSkipping = true; storage.localHostsSkipping = true;
@ -238,6 +238,10 @@ function replaceOldURLs(url) {
return "https://kevinroebert.gitlab.io/ClearUrls/data/data.minify.json"; return "https://kevinroebert.gitlab.io/ClearUrls/data/data.minify.json";
case "https://gitlab.com/KevinRoebert/ClearUrls/-/jobs/artifacts/master/raw/rules.minify.hash?job=hash%20rules": case "https://gitlab.com/KevinRoebert/ClearUrls/-/jobs/artifacts/master/raw/rules.minify.hash?job=hash%20rules":
return "https://kevinroebert.gitlab.io/ClearUrls/data/rules.minify.hash"; return "https://kevinroebert.gitlab.io/ClearUrls/data/rules.minify.hash";
case "https://kevinroebert.gitlab.io/ClearUrls/data/data.minify.json":
return "https://rules2.clearurls.xyz/data.minify.json";
case "https://kevinroebert.gitlab.io/ClearUrls/data/rules.minify.hash":
return "https://rules2.clearurls.xyz/rules.minify.hash";
default: default:
return url; return url;
} }

View File

@ -136,7 +136,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
<div class="col-sm-1"> <div class="col-sm-1">
<h5><b id="rules_status_head"></b></h5> <h5><b id="rules_status_head"></b></h5>
<div class="text-center"> <div class="text-center">
<a href="https://gitlab.com/KevinRoebert/ClearUrls/commits/master/data/data.min.json" <a href="https://gitlab.com/anti-tracking/ClearURLs/rules/commits/master/data.min.json"
id="hashStatus" class="btn btn-primary btn-sm text-wrap" target="_blank"></a> id="hashStatus" class="btn btn-primary btn-sm text-wrap" target="_blank"></a>
</div> </div>
<div class="clearfix"></div> <div class="clearfix"></div>