diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 7299506c..a30b7a1f 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -1,3 +1,4 @@ # Copyright (c) Emile Nijssen (WeeJeWel) # Founder and Codeowner of WireGuard Easy (wg-easy) -* @WeeJeWel +# Maintained by Philip Heiduck (pheiduck) +* @pheiduck diff --git a/.github/PULL_REQUEST_TEMPLATE/pull_request_template.md b/.github/PULL_REQUEST_TEMPLATE/pull_request_template.md new file mode 100644 index 00000000..fb8a9e52 --- /dev/null +++ b/.github/PULL_REQUEST_TEMPLATE/pull_request_template.md @@ -0,0 +1,28 @@ + + +## Description + + +## Motivation and Context + + + +## How has this been tested? + + + + +## Screenshots (if appropriate): + +## Types of changes + +- [ ] Bug fix (non-breaking change which fixes an issue) +- [ ] New feature (non-breaking change which adds functionality) +- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected) + +## Checklist: + + +- [ ] My code follows the code style of this project. +- [ ] My change requires a change to the documentation. +- [ ] I have updated the documentation accordingly. diff --git a/How_to_generate_an_bcrypt_hash.md b/How_to_generate_an_bcrypt_hash.md index 88df7b94..d868d23c 100644 --- a/How_to_generate_an_bcrypt_hash.md +++ b/How_to_generate_an_bcrypt_hash.md @@ -13,7 +13,7 @@ To generate a bcrypt password hash using docker, run the following command : ```sh docker run ghcr.io/wg-easy/wg-easy wgpw YOUR_PASSWORD -PASSWORD_HASH='$2b$12$coPqCsPtcFO.Ab99xylBNOW4.Iu7OOA2/ZIboHN6/oyxca3MWo7fW' // litteraly YOUR_PASSWORD +PASSWORD_HASH='$2b$12$coPqCsPtcFO.Ab99xylBNOW4.Iu7OOA2/ZIboHN6/oyxca3MWo7fW' // literally YOUR_PASSWORD ``` *Important* : make sure to enclose your password in single quotes when you run `docker run` command : @@ -25,4 +25,4 @@ $ echo "$2b$12$coPqCsPtcF" b2 $ echo '$2b$12$coPqCsPtcF' $2b$12$coPqCsPtcF -``` \ No newline at end of file +``` diff --git a/README.md b/README.md index e559b99b..be8a32cb 100644 --- a/README.md +++ b/README.md @@ -32,7 +32,8 @@ You have found the easiest way to install & manage WireGuard on any Linux host! ## Versions -We provide more then 1 docker image to get, this will help you decide which one is best for you. +We provide more then 1 docker image to get, this will help you decide which one is best for you.
+For **stable** versions instead of nightly or development please read **README** from the **production** branch! | tag | Branch | Example | Description | | - | - | - | - | @@ -103,7 +104,6 @@ These options can be configured by setting environment variables using `-e KEY=" | `PORT` | `51821` | `6789` | TCP port for Web UI. | | `WEBUI_HOST` | `0.0.0.0` | `localhost` | IP address web UI binds to. | | `PASSWORD_HASH` | - | `$2y$05$Ci...` | When set, requires a password when logging in to the Web UI. See [How to generate an bcrypt hash.md]("https://github.com/wg-easy/wg-easy/blob/master/How_to_generate_an_bcrypt_hash.md") for know how generate the hash. | -| `PASSWORD` (deprecated) | - | `foobar123` | When set, requires a password when logging in to the Web UI. *(Not used if `PASSWORD_HASH` is set)* | | `WG_HOST` | - | `vpn.myserver.com` | The public hostname of your VPN server. | | `WG_DEVICE` | `eth0` | `ens6f0` | Ethernet device the wireguard traffic should be forwarded through. | | `WG_PORT` | `51820` | `12345` | The public UDP port of your VPN server. WireGuard will listen on that (othwise default) inside the Docker container. | diff --git a/docker-compose.dev.yml b/docker-compose.dev.yml index 65e64297..bd4a836d 100644 --- a/docker-compose.dev.yml +++ b/docker-compose.dev.yml @@ -1,9 +1,17 @@ services: wg-easy: - image: wg-easy + build: + dockerfile: ./Dockerfile command: npm run serve volumes: - ./src/:/app/ + # - ./data/:/etc/wireguard + ports: + - "51820:51820/udp" + - "51821:51821/tcp" + cap_add: + - NET_ADMIN + - SYS_MODULE environment: # - PASSWORD=p - WG_HOST=192.168.1.233 diff --git a/docker-compose.yml b/docker-compose.yml index 7a6a4f49..dd450ed9 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -12,7 +12,6 @@ services: - WG_HOST=raspberrypi.local # Optional: - # - PASSWORD=foobar123 (deprecated, see readme) # - PASSWORD_HASH=$$2y$$10$$hBCoykrB95WSzuV4fafBzOHWKu9sbyVa34GJr8VV5R/pIelfEMYyG (needs double $$, hash of 'foobar123'; see "How_to_generate_an_bcrypt_hash.md" for generate the hash) # - PORT=51821 # - WG_PORT=51820 diff --git a/src/www/js/i18n.js b/src/www/js/i18n.js index 81d05c8c..b2234c7d 100644 --- a/src/www/js/i18n.js +++ b/src/www/js/i18n.js @@ -111,19 +111,25 @@ const messages = { // eslint-disable-line no-unused-vars deleteDialog2: 'Bu işlem geri alınamaz.', cancel: 'İptal', create: 'Oluştur', - createdAt: 'Şu saatte oluşturuldu: ', + createdOn: 'Şu saatte oluşturuldu: ', lastSeen: 'Son görülme tarihi: ', totalDownload: 'Toplam İndirme: ', totalUpload: 'Toplam Yükleme: ', newClient: 'Yeni Kullanıcı', - disableClient: 'İstemciyi Devre Dışı Bırak', - enableClient: 'İstemciyi Etkinleştir', + disableClient: 'Kullanıcıyı Devre Dışı Bırak', + enableClient: 'Kullanıcıyı Etkinleştir', noClients: 'Henüz kullanıcı yok.', + noPrivKey: 'Bu istemcinin bilinen bir özel anahtarı yok. Yapılandırma oluşturulamıyor.', showQR: 'QR Kodunu Göster', downloadConfig: 'Yapılandırmayı İndir', madeBy: 'Yapan Kişi: ', donate: 'Bağış Yap', - changeLang: 'Dil Değiştir', + toggleCharts: 'Grafiği göster/gizle', + theme: { dark: 'Karanlık tema', light: 'Açık tema', auto: 'Otomatik tema' }, + restore: 'Geri yükle', + backup: 'Yedekle', + titleRestoreConfig: 'Yapılandırmanızı geri yükleyin', + titleBackupConfig: 'Yapılandırmanızı yedekleyin', }, no: { // github.com/digvalley name: 'Navn',