commit bc7efeb344d049d1cbc67daac923c9118ea68533 Author: OCram85 Date: Tue Jul 4 16:41:17 2023 +0200 Initial commit diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..fd2fc3f --- /dev/null +++ b/.editorconfig @@ -0,0 +1,14 @@ +root = true + +[*] +indent_style = space +indent_size = 2 +end_of_line = lf +charset = utf-8 +trim_trailing_whitespace = true +insert_final_newline = true + + +[*.go] +indent_style = tab +indent_size = 4 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..c9f8b02 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,20 @@ +# images + +*.jpg binary +*.jpeg binary +*.bmp binary +*.tiff binary +*.png binary +*.svg binary +*.ico binary + +# binary files +*.exe binary +*.dll binary + +# PowerShell specific +*.ps1 working-tree-encoding=UTF-8 +*.psm1 working-tree-encoding=UTF-8 +*.psd1 working-tree-encoding=UTF-8 + +*.md working-tree-encoding=UTF-8 diff --git a/.gitea/ISSUE_TEMPLATE.md b/.gitea/ISSUE_TEMPLATE.md new file mode 100644 index 0000000..ec3134a --- /dev/null +++ b/.gitea/ISSUE_TEMPLATE.md @@ -0,0 +1,10 @@ +--- +name: 'Default' +about: 'Use this template if nothing seems to work.' +title: ':question: ' +labels: + - question +--- +#### :grey_question: Simply ask your question here: :grey_question: + + diff --git a/.gitea/ISSUE_TEMPLATE/Bug.md b/.gitea/ISSUE_TEMPLATE/Bug.md new file mode 100644 index 0000000..e3c896d --- /dev/null +++ b/.gitea/ISSUE_TEMPLATE/Bug.md @@ -0,0 +1,48 @@ +--- +name: 'Bug' +about: 'This template is used to report bugs!' +title: ':lady_beetle: ' +labels: + - bug +--- + + +#### :bomb: Steps to reproduce + +```bash + +``` + +#### :rocket: Expected behavior + +```bash + +``` + +#### :boom: Actual behavior + +```bash + +``` + +#### :notebook: Environment data + + + +```bash + +``` + +#### :framed_picture: Screenshots + + + +#### :bookmark: Refs + + diff --git a/.gitea/ISSUE_TEMPLATE/Enhancement.md b/.gitea/ISSUE_TEMPLATE/Enhancement.md new file mode 100644 index 0000000..286eb82 --- /dev/null +++ b/.gitea/ISSUE_TEMPLATE/Enhancement.md @@ -0,0 +1,16 @@ +--- +name: 'Enhancement' +about: 'Wite about new features.' +title: ':flying_saucer: ' +labels: + - issue/enhancement +--- + + +#### :satellite: Suggestion + +#### :artificial_satellite: Implementation ideas + +#### :framed_picture: Mock-up Images + +#### :bookmark: Refs. diff --git a/.gitea/PULL_REQUEST_TEMPLATE.md b/.gitea/PULL_REQUEST_TEMPLATE.md new file mode 100644 index 0000000..a6e9ffb --- /dev/null +++ b/.gitea/PULL_REQUEST_TEMPLATE.md @@ -0,0 +1,19 @@ +#### :book: Summary + + + +#### :bookmark_tabs: Test Plan + +> :bulb: Select your test plan for the code changes. + +- [x] CI pipeline tests +- [ ] Custom test +- [ ] No test plan + +##### Details / Justification + + + +#### :books: Additional Notes + + diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..82f00e6 --- /dev/null +++ b/.gitignore @@ -0,0 +1,14 @@ +# Basic ignore patterns +*.log +*.secret + +# data dir related prod files +data/*.csv + +# Ignore temp build artifacts +/bin/* +!bin/.gitkeep + +# Ignore Pester test result files +coverage.xml +testResults.xml diff --git a/.gitlocal b/.gitlocal new file mode 100644 index 0000000..e331dc6 --- /dev/null +++ b/.gitlocal @@ -0,0 +1,19 @@ +[alias] + +# simplified logs +log1 = log --graph --abbrev-commit --decorate --date=relative --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)' --all +log2 = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(bold green)(%ar)%C(reset)%C(bold yellow)%d%C(reset)%n'' %C(white)%s%C(reset) %C(dim white)- %an%C(reset)' --all + +# Aliases for a Phabricator inspired workflow +# 1. Create new feature branch +feature = "!f(){ b=$1; git checkout master; git pull; git checkout -b "$b" master; };f" + +# 2. Working with code +wip = !"git add -A; git commit -m '[WIP]'" +squish = !"git add -A; git commit --no-edit --amend" + +# 3. Push to origin +pod = !"git push origin dev" + +# 4. Push to custom remote branch +poc = "!f(){ b=$1; git push origin "$b";};f" diff --git a/.vscode/dictionaries/project-words.txt b/.vscode/dictionaries/project-words.txt new file mode 100644 index 0000000..0601a09 --- /dev/null +++ b/.vscode/dictionaries/project-words.txt @@ -0,0 +1 @@ +tbd diff --git a/.vscode/extensions.json b/.vscode/extensions.json new file mode 100644 index 0000000..bb7dca0 --- /dev/null +++ b/.vscode/extensions.json @@ -0,0 +1,10 @@ +{ + "recommendations": [ + "editorconfig.editorconfig", + "eamodio.gitlens", + "streetsidesoftware.code-spell-checker", + "streetsidesoftware.code-spell-checker-german", + "bierner.emojisense", + "ryanluker.vscode-coverage-gutters" + ] +} diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..ed6e551 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,71 @@ +{ + "files.encoding": "utf8", + "files.eol": "auto", + "files.trimTrailingWhitespace": true, + "files.insertFinalNewline": true, + "editor.renderWhitespace": "boundary", + "editor.formatOnSave": true, + "editor.formatOnType": true, + "editor.rulers": [ + 116 + ], + // powershell general + "powershell.startAutomatically": true, + "powershell.enableProfileLoading": true, + "powershell.scriptAnalysis.enable": true, + // powershell code Formatting + "powershell.codeFormatting.openBraceOnSameLine": true, + "powershell.codeFormatting.newLineAfterOpenBrace": true, + "powershell.codeFormatting.newLineAfterCloseBrace": true, + "powershell.codeFormatting.whitespaceBeforeOpenBrace": true, + "powershell.codeFormatting.whitespaceBeforeOpenParen": true, + "powershell.codeFormatting.whitespaceAroundOperator": true, + "powershell.codeFormatting.whitespaceAfterSeparator": true, + "powershell.codeFormatting.ignoreOneLineBlock": true, + "powershell.codeFormatting.alignPropertyValuePairs": true, + // cSpell settings for custom dictionary + "cSpell.enabled": true, + "cSpell.caseSensitive": false, + "cSpell.maxNumberOfProblems": 100, + "cSpell.numSuggestions": 8, + "cSpell.minWordLength": 3, + "cSpell.allowCompoundWords": false, + "cSpell.ignorePaths": [ + "package-lock.json", + "node_modules", + "vscode-extension", + ".git/objects", + ".vscode", + ".vscode-insiders" + ], + "cSpell.enabledLanguageIds": [ + "c", + "cpp", + "csharp", + "go", + "javascript", + "javascriptreact", + "json", + "latex", + "markdown", + "php", + "plaintext", + "powershell", + "python", + "text", + "typescript", + "typescriptreact", + "yaml", + "yml" + ], + "cSpell.language": "en-US,de-DE", + "cSpell.customDictionaries": { + "project-words": { + "name": "project-words", + "path": "${workspaceRoot}/.vscode/dictionaries/project-words.txt", + "description": "Words used in this project", + "addWords": true + }, + "custom": true + } +} diff --git a/README.md b/README.md new file mode 100644 index 0000000..2589fb4 --- /dev/null +++ b/README.md @@ -0,0 +1,31 @@ +

+ + +

+ +

+ + tiniproxy + +

+ +

+ tiniproxy +

+ +

+ tiniproxy docker image +

+ +

+ + Master Branch Build Status + +

+ +## :book: General + +> :bulb: tbd... diff --git a/assets/social-logo.png b/assets/social-logo.png new file mode 100644 index 0000000..21e3830 Binary files /dev/null and b/assets/social-logo.png differ