diff --git a/.vscode/extensions.json b/.vscode/extensions.json index ac73f97..5625120 100644 --- a/.vscode/extensions.json +++ b/.vscode/extensions.json @@ -6,16 +6,19 @@ "angular.ng-template", "davidanson.vscode-markdownlint", "editorconfig.editorconfig", + "gitlab.gitlab-workflow", "hookyqr.beautify", "johnpapa.angular2", - "ms-vscode.typescript-javascript-grammar", "ms-vscode.vscode-typescript-next", "ms-vscode.vscode-typescript-tslint-plugin", "msjsdiag.debugger-for-chrome", - "visualstudioexptteam.vscodeintellicode", + "visualstudioexptteam.vscodeintellicode" ], // List of extensions recommended by VS Code that should not be recommended for users of this workspace. "unwantedRecommendations": [ "eg2.tslint", + "ms-azuretools.vscode-docker", + "ms-edgedevtools.vscode-edge-devtools", + "ms-vscode-remote.remote-wsl" ] } diff --git a/.vscode/settings.json b/.vscode/settings.json index ca31a2a..ccd0737 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,11 +1,15 @@ { "editor.codeActionsOnSave": { "source.fixAll": true, + "source.organizeImports": true }, "editor.formatOnSave": true, "editor.rulers": [ 140 ], + "files.associations": { + ".ipfs-npmrc": "json" + }, "html.format.indentHandlebars": true, "html.format.maxPreserveNewLines": 1, "html.format.wrapAttributes": "auto", @@ -13,5 +17,6 @@ "npm.packageManager": "yarn", "tslint.packageManager": "yarn", "typescript.preferences.importModuleSpecifier": "relative", - "typescript.updateImportsOnFileMove.enabled": "always", + "typescript.tsdk": "node_modules\\typescript\\lib", + "typescript.updateImportsOnFileMove.enabled": "always" } diff --git a/CHANGELOG.md b/CHANGELOG.md index 9b18243..92533fe 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,6 +18,22 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/), and this ### Security +## [2.1.1] - 2021-03-20 + +### Added + +- Added some accessibility tags +- Added some VSCode settings + +### Changed + +- Updated to Angular 11 +- Updated gateways + +### Fixed + +- Corrected the title from "Public IPFS Cacher" to "Public Gateway Cacher". + ## [2.1.0] - 2020-07-10 ### Added diff --git a/README.md b/README.md index 29ef232..3842362 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ Cache a specific hash on a bunch of public gateways. -You can view this website on [GitLab Pages](https://natoboram.gitlab.io/public-gateway-cacher) and [IPFS](https://bafybeiagzg6lcrzuwb7pdxhs4bc7iiexriaxy2kx5fogdaemnqg4oiydl4.ipfs.dweb.link). +You can view this website on [GitLab Pages](https://natoboram.gitlab.io/public-gateway-cacher) and [IPFS](https://bafybeib43z6e5yuywjclls72rvipygoteyi3yeyxwewxi7yd5txypxprpa.ipfs.dweb.link). ![Screenshot](https://bafybeie7txrbzw6ipb62lplnpzsjpz7s4o5q7uufb5rjfelol2cuxeyzye.ipfs.dweb.link/Screenshot_2020-07-09%20Public%20Gateway%20Cacher.png) diff --git a/angular.json b/angular.json index 7ecc806..fa54c0b 100644 --- a/angular.json +++ b/angular.json @@ -50,7 +50,6 @@ "optimization": true, "outputHashing": "all", "sourceMap": true, - "extractCss": true, "namedChunks": true, "aot": true, "extractLicenses": true, @@ -79,7 +78,6 @@ "optimization": true, "outputHashing": "all", "sourceMap": true, - "extractCss": true, "namedChunks": true, "aot": true, "extractLicenses": true, @@ -108,7 +106,6 @@ "optimization": true, "outputHashing": "all", "sourceMap": true, - "extractCss": true, "namedChunks": true, "aot": true, "extractLicenses": true, diff --git a/e2e/tsconfig.json b/e2e/tsconfig.json index 1807fd6..426058e 100644 --- a/e2e/tsconfig.json +++ b/e2e/tsconfig.json @@ -1,6 +1,6 @@ /* To learn more about this file see: https://angular.io/config/tsconfig. */ { - "extends": "../tsconfig.base.json", + "extends": "../tsconfig.json", "compilerOptions": { "outDir": "../out-tsc/e2e", "module": "commonjs", diff --git a/package.json b/package.json index 81d8f2a..9393a2f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "public-gateway-cacher", - "version": "2.1.0", + "version": "2.1.1", "scripts": { "ng": "ng", "start": "ng serve --ssl", @@ -16,17 +16,17 @@ }, "private": false, "dependencies": { - "@angular/animations": "~10.0.3", - "@angular/cdk": "~10.0.1", - "@angular/common": "~10.0.3", - "@angular/compiler": "~10.0.3", - "@angular/core": "~10.0.3", - "@angular/flex-layout": "^10.0.0-beta.32", - "@angular/forms": "~10.0.3", - "@angular/material": "^10.0.1", - "@angular/platform-browser": "~10.0.3", - "@angular/platform-browser-dynamic": "~10.0.3", - "@angular/router": "~10.0.3", + "@angular/animations": "~11.2.6", + "@angular/cdk": "~11.2.5", + "@angular/common": "~11.2.6", + "@angular/compiler": "~11.2.6", + "@angular/core": "~11.2.6", + "@angular/flex-layout": "^11.0.0-beta.33", + "@angular/forms": "~11.2.6", + "@angular/material": "^11.2.5", + "@angular/platform-browser": "~11.2.6", + "@angular/platform-browser-dynamic": "~11.2.6", + "@angular/router": "~11.2.6", "bootstrap": "^4.5.0", "ipfs-css": "^1.2.0", "rxjs": "~6.6.0", @@ -34,20 +34,20 @@ "zone.js": "~0.10.3" }, "devDependencies": { - "@angular-devkit/build-angular": "~0.1000.2", - "@angular/cli": "~10.0.2", - "@angular/compiler-cli": "~10.0.3", - "@angular/language-service": "~10.0.3", - "@types/jasmine": "~3.5.0", + "@angular-devkit/build-angular": "~0.1102.5", + "@angular/cli": "~11.2.5", + "@angular/compiler-cli": "~11.2.6", + "@angular/language-service": "~11.2.6", + "@types/jasmine": "~3.6.0", "@types/jasminewd2": "~2.0.3", "@types/node": "^12.11.1", "codelyzer": "^6.0.0", - "jasmine-core": "~3.5.0", + "jasmine-core": "~3.6.0", "jasmine-spec-reporter": "~5.0.0", - "karma": "~5.0.0", + "karma": "~6.2.0", "karma-chrome-launcher": "~3.1.0", "karma-coverage-istanbul-reporter": "~3.0.2", - "karma-jasmine": "~3.3.0", + "karma-jasmine": "~4.0.0", "karma-jasmine-html-reporter": "^1.5.0", "protractor": "~7.0.0", "rxjs-tslint-rules": "^4.33.3", @@ -56,6 +56,6 @@ "tslint-consistent-codestyle": "^1.16.0", "tslint-origin-ordered-imports-rule": "^1.3.0-0", "tslint-rxjs-subject-restrictions-rule": "^1.0.4", - "typescript": "~3.9.6" + "typescript": "~4.1.5" } } diff --git a/src/app/app-routing.module.ts b/src/app/app-routing.module.ts index aaf3979..4178bd0 100644 --- a/src/app/app-routing.module.ts +++ b/src/app/app-routing.module.ts @@ -8,7 +8,7 @@ const routes: Routes = [{ }]; @NgModule({ - imports: [RouterModule.forRoot(routes, { useHash: environment.useHash })], + imports: [RouterModule.forRoot(routes, { useHash: environment.useHash, relativeLinkResolution: 'legacy' })], exports: [RouterModule] }) export class AppRoutingModule { } diff --git a/src/app/app.component.html b/src/app/app.component.html index 4bd6ac4..dae53fe 100644 --- a/src/app/app.component.html +++ b/src/app/app.component.html @@ -1,5 +1,5 @@ -

Public IPFS Cacher

+

Public Gateway Cacher