diff --git a/.eslintignore b/.eslintignore new file mode 100644 index 0000000..b4fd470 --- /dev/null +++ b/.eslintignore @@ -0,0 +1,28 @@ +_archive +.DS_* +.env.* +.htaccess +.htaccess* +.idea +.out.* +.rsync-ignore +*.local +*.log +*.spec.* +bg.jpg +build +data +dist +dist_electron +docker +internal +legacy +logs +node_modules +npm-debug.log +package-lock.json +pnpm-lock.yaml +tmp +video +www +yarn-error.log \ No newline at end of file diff --git a/.eslintrc b/.eslintrc new file mode 100644 index 0000000..09c2e42 --- /dev/null +++ b/.eslintrc @@ -0,0 +1,3 @@ +{ + "extends": "@antfu" +} diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index a194558..93b7b1c 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -1,4 +1,4 @@ -name: "CodeQL" +name: 'CodeQL' on: push: @@ -7,7 +7,7 @@ on: # The branches below must be a subset of the branches above branches: [master] schedule: - - cron: "0 0 * * 6" + - cron: '0 0 * * 6' jobs: analyse: diff --git a/.gitignore b/.gitignore index 07dcec8..d22ba29 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,5 @@ -.env.* .DS_* +.env.* .htaccess .htaccess* .idea @@ -7,18 +7,11 @@ .rsync-ignore *.local *.log -app/public/faces -bg.jpg -bower_components dist dist_electron docker internal legacy -legacy/app/public/faces -legacy/ios/Briefing/Briefing.xcodeproj/project.xcworkspace/xcuserdata/dirk.xcuserdatad/UserInterfaceState.xcuserstate -legacy/ios/Briefing/Briefing.xcodeproj/xcuserdata/dirk.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist -legacy/ios/Briefing/Briefing.xcodeproj/xcuserdata/dirk.xcuserdatad/xcschemes/xcschememanagement.plist logs node_modules npm-debug.log diff --git a/.prettierrc b/.prettierrc index cc4e915..5149b1b 100644 --- a/.prettierrc +++ b/.prettierrc @@ -1,4 +1,5 @@ { "trailingComma": "es5", - "semi": false + "semi": false, + "singleQuote": true } diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..cb0d092 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,7 @@ +{ + "prettier.enable": false, + "editor.formatOnSave": false, + "editor.codeActionsOnSave": { + "source.fixAll.eslint": true + } +} diff --git a/docker-compose.development.yml b/docker-compose.development.yml index b905109..127c2e3 100644 --- a/docker-compose.development.yml +++ b/docker-compose.development.yml @@ -1,6 +1,6 @@ # Please read https://github.com/holtwick/briefing/blob/master/docs/docker.md for proper use of Docker -version: "3" +version: '3' services: briefing: diff --git a/docker-compose.yml b/docker-compose.yml index dcf1be0..59d1396 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,6 +1,6 @@ # Please read https://github.com/holtwick/briefing/blob/master/docs/docker.md for proper use of Docker -version: "3" +version: '3' services: briefing: @@ -10,7 +10,6 @@ services: - ./data:/app/data ports: - 8080:8080 - # networks: # default: # external: diff --git a/docker-package.json b/docker-package.json index e8d9982..992e845 100644 --- a/docker-package.json +++ b/docker-package.json @@ -15,4 +15,4 @@ "engines": { "node": ">=16.0.0" } -} \ No newline at end of file +} diff --git a/docs/coturn.md b/docs/coturn.md index e06676e..741b9de 100644 --- a/docs/coturn.md +++ b/docs/coturn.md @@ -40,7 +40,7 @@ proc-group=turnserver Docker might be an alternative, but I didn't try by myself: -- https://hub.docker.com/r/instrumentisto/coturn +- https://hub.docker.com/r/coturn/coturn - https://gabrieltanner.org/blog/turn-server --- diff --git a/docs/development.md b/docs/development.md index da14a70..674bb24 100644 --- a/docs/development.md +++ b/docs/development.md @@ -18,7 +18,7 @@ Most customization can be done by setting env variables, see [.env](../.env) for Enable logging by entering the following in the browsers console: ```js -localStorage.zeed = "*" +localStorage.zeed = '*' ``` ## Technology stack diff --git a/docs/examples/docker-compose.briefing-proxy.yml b/docs/examples/docker-compose.briefing-proxy.yml index ba75d11..350c0b2 100644 --- a/docs/examples/docker-compose.briefing-proxy.yml +++ b/docs/examples/docker-compose.briefing-proxy.yml @@ -1,4 +1,4 @@ -version: "3" +version: '3' services: briefing: diff --git a/docs/examples/docker-compose.nginx-proxy.yml b/docs/examples/docker-compose.nginx-proxy.yml index 3666525..49b8e19 100644 --- a/docs/examples/docker-compose.nginx-proxy.yml +++ b/docs/examples/docker-compose.nginx-proxy.yml @@ -16,4 +16,3 @@ networks: default: external: name: proxy - diff --git a/index.html b/index.html index 4fa007d..f83d550 100644 --- a/index.html +++ b/index.html @@ -1,55 +1,74 @@ +
+ + + + - - - - - +