Skip to content

Commit

Permalink
feat: explorer dashboard (#34)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ealenn authored Jul 23, 2022
1 parent f1c75ee commit 7d4c727
Show file tree
Hide file tree
Showing 19 changed files with 7,494 additions and 1 deletion.
29 changes: 29 additions & 0 deletions .github/workflows/explorer-deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: "Explorer - Deploy"

on:
pull_request:
branches: ['*']
push:
branches:
- "master"

jobs:
heroku:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./modules/guard-explorer
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: akhileshns/[email protected]
with:
appdir: 'modules/guard-explorer'
heroku_api_key: ${{secrets.HEROKU_API_KEY}}
heroku_app_name: ${{secrets.HEROKU_ADMIN}}
heroku_email: ${{secrets.HEROKU_EMAIL}}
buildpack: "https://github.com/heroku/heroku-buildpack-nodejs"
procfile: "web: npm run start:prod"
env:
HD_PORT: 80
31 changes: 31 additions & 0 deletions .github/workflows/explorer-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: "Explorer - NodeJS Tests"

on:
pull_request:
branches: ['*']

jobs:
build:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./modules/guard-explorer
strategy:
matrix:
node-version: [16.x]

steps:
- uses: actions/checkout@v3
with:
path: 'modules/guard-explorer'
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Install, build, and test
run: |
cd ./modules/guard-explorer
npm ci
npm run build
env:
CI: true
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ These lists are downloaded, cleaned and combined during a release.
- [blocklistproject/Lists](https://github.com/blocklistproject/Lists) ![GitHub Repo stars](https://img.shields.io/github/stars/blocklistproject/Lists?style=flat-square)
- [Spam404/lists](https://github.com/Spam404/lists) ![GitHub Repo stars](https://img.shields.io/github/stars/Spam404/lists?style=flat-square)
- [Perflyst/PiHoleBlocklist](https://github.com/Perflyst/PiHoleBlocklist) ![GitHub Repo stars](https://img.shields.io/github/stars/Perflyst/PiHoleBlocklist?style=flat-square)
- [hectorm/hblock](hblock.molinero.dev) ![GitHub Repo stars](https://img.shields.io/github/stars/hectorm/hblock?style=flat-square)
- [hectorm/hblock](https://hblock.molinero.dev) ![GitHub Repo stars](https://img.shields.io/github/stars/hectorm/hblock?style=flat-square)
- [anudeepND/whitelist](https://github.com/anudeepND/whitelist) ![GitHub Repo stars](https://img.shields.io/github/stars/anudeepND/whitelist?style=flat-square)

## DNS Providers
Expand Down
3 changes: 3 additions & 0 deletions allowlist/custom/services/salesforce.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,6 @@
@@||login.salesforce.com^$important
@@||c.salesforce.com^$important
@@||edge2.salesforce.com^$important
@@||verify.salesforce.com^$important
@@||developer.salesforce.com^$important
@@||vaas-ve-edge-frankfurt.salesforce.com^$important
11 changes: 11 additions & 0 deletions modules/guard-explorer/.eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
/* eslint-env node */
require("@rushstack/eslint-patch/modern-module-resolution");

module.exports = {
"root": true,
"extends": [
"plugin:vue/vue3-essential",
"eslint:recommended",
"@vue/eslint-config-typescript/recommended"
]
}
1 change: 1 addition & 0 deletions modules/guard-explorer/env.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/// <reference types="vite/client" />
13 changes: 13 additions & 0 deletions modules/guard-explorer/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" href="/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>AdGuard Explorer</title>
</head>
<body>
<div id="app"></div>
<script type="module" src="/src/main.ts"></script>
</body>
</html>
Loading

0 comments on commit 7d4c727

Please sign in to comment.