Compare commits

..

1294 Commits

Author SHA1 Message Date
Bernd Storath 326717444b Bump version to 15.2.0-beta.2 2025-11-18 15:05:42 +01:00
Bernd Storath 4e4bfc75e3 feat: add config btn and modal to view and copy config (#2289)
* add view config btn and modal

* show loading state

* add note about keyboard
2025-11-18 11:36:46 +01:00
Bernd Storath 5c97a8ba73 try all qr ecc levels (#2288)
try ecc levels
2025-11-18 09:25:57 +01:00
Bernd Storath cba7a160ea intellicode deprecated 2025-11-17 08:04:10 +01:00
Nikolas 4a75e1379d Update uk.json (#2286)
* Update uk.json

* fix formatting

---------

Co-authored-by: Bernd Storath <999999bst@gmail.com>
2025-11-17 07:54:50 +01:00
Chiahong 10a140d188 feat(i18n): Add Traditional Chinese (Taiwan, zh-TW) support (#2285) 2025-11-17 07:53:03 +01:00
Bernd Storath edc3c5af57 Bump version to 15.2.0-beta.1 2025-11-12 08:35:19 +01:00
Bernd Storath 26708305d6 add script to calculate i18n progress 2025-11-12 08:23:44 +01:00
Alexander Chepurnoy 6a282e6ab9 AmneziaWG 2.0 (#2226)
* feat!: awg

* feat: add description to fields, add I5

* fix: awg i18n

* fix: types

* minor fixes

* Remove TODO comment from types.ts

Removed TODO comment for more validation.

---------

Co-authored-by: Bernd Storath <999999bst@gmail.com>
2025-11-12 07:46:16 +01:00
Badri Isiani a8ba7f7247 Fixed a bug causing .conf.txt download on Android affecting Firefox based Android browsers. (#2269)
* Fixed a bug causing .conf.txt download on Android
... affecting Firefox based Android browsers.

* change content-type

---------

Co-authored-by: Badri Isiani <badri@loonartech.net>
Co-authored-by: Bernd Storath <999999bst@gmail.com>
2025-11-11 08:02:03 +01:00
Bernd Storath 502fe718d5 update packages 2025-11-10 10:10:24 +01:00
Bernd Storath 5c7aac9fd2 update packages 2025-11-03 08:49:11 +01:00
YuWorm 2f96d9934b add filename cleaning at OneTimeLink download (#2253)
* add filename cleaning at OneTimeLink download

* add cleanConfigFilename function in utils/WireGuard
2025-10-31 09:28:46 +01:00
Bernd Storath daff15463d switch to node v22
https://github.com/wg-easy/wg-easy/discussions/2254
2025-10-31 09:24:45 +01:00
Bernd Storath 5f68d261c0 update packages 2025-10-27 08:41:09 +01:00
Bernd Storath 013ea6dba9 add exemptions stale action 2025-10-22 10:08:50 +02:00
Bernd Storath ab9d75757f fix types 2025-10-21 12:10:53 +02:00
Daniel Vos 9be20109af Add routed (no NAT) example setup (#2181)
* Add routed.md example

* remove bad example

* Add note about 2001:db8::/32

* Add note about OPNSense/PFSense outbound NAT rule.

* add SYS_MODULE capability

* remove whitelines

* fix formatting

* typo LUA -> ULA

* minor fix

---------

Co-authored-by: Bernd Storath <999999bst@gmail.com>
2025-10-21 12:06:55 +02:00
Bernd Storath 9430b76258 update packages 2025-10-21 11:43:39 +02:00
Bernd Storath 99f1a004d5 Fix: Allow lower MTU (#2228)
allow lower mtu
2025-10-21 11:38:39 +02:00
YuWorm 2b42b639ea Add search / filter box (#2170)
* feat: Add search client based on #1978

* moved the filtering to the DB level using zod and tidied up some imports.

* minor fix

* minor fix

* fix typo

---------

Co-authored-by: Bernd Storath <999999bst@gmail.com>
2025-10-20 08:04:21 +02:00
Bernd Storath 76d5944726 Fix: Client Address Cidr (#2217)
fix client cidr
2025-10-14 11:31:41 +02:00
Bernd Storath 81bd19cfb6 update packages 2025-10-13 08:17:17 +02:00
Edgar R.N 0365ca7fb6 docs: Add AdGuard Home tutorial (#2175)
* docs: Add AdGuard Home tutorial

Signed-off-by: Edgar R.N <ernvk23@gmail.com>

* docs: Update AdGuard Home tutorial to use multi-network architecure

Signed-off-by: Edgar R.N <ernvk23@gmail.com>

* docs: Refine AdGuard Home tutorial based on feedback

Signed-off-by: Edgar R.N <ernvk23@gmail.com>

* docs: Temporary fix multi-network iptables

Signed-off-by: Edgar R.N <ernvk23@gmail.com>

* docs: AdGuard Home tutorial compatible with wg-easy v15

Signed-off-by: Edgar R.N <ernvk23@gmail.com>

---------

Signed-off-by: Edgar R.N <ernvk23@gmail.com>
2025-10-08 15:37:48 +02:00
Bernd Storath 529d65b3fb Fix: don't expect dump to contain client
Fixes: #2200
Fixes Bug introduced in: #2058
2025-10-08 13:43:07 +02:00
Bernd Storath cbbf5d3d25 Feat: Return client id of newly created client (#2190)
return client id of newly created client
2025-09-29 08:20:00 +02:00
Bernd Storath 7b2d234ea5 add link to codeberg registry 2025-09-25 15:13:33 +02:00
lenny76 a282ca35f1 feat(i18n): Add Italian language support (#2185)
* feat(i18n): Add Italian language support

This commit introduces Italian (it) language support to the application.
The `it` locale has been added to the `messages` object in `i18n.config.ts`, enabling the application to load and display content in Italian.

* little fix for italian translation

* Update nuxt.config.ts for italian language

---------

Co-authored-by: LucaS <l.scrigna@eoscaffe.it>
2025-09-25 14:42:04 +02:00
Danya 0792862c0d Fix minor issues in Russian translations (#2177)
fix-russian-ui

Update Russian translation
2025-09-22 14:31:01 +02:00
Németh Bálint 6c0d8e91fa Add INIT_ALLOWED_IPS for unattended setup (#2164)
* Add INIT_ALLOWED_IPS env var

Implement INIT_ALLOWED_IPS env var like the INIT_DNS to preset the global Allowed IPs field.

* Docs: Add INIT_ALLOWED_IPS var to unattended setup table

* Make UserConfigService.update param partial

Update UserConfigService.update() to accept any subset of the updatable fields.
Remove the unnecessary userConfig object from  DBService.initialSetup()

* formatting fix

* format on linux

On windows prettier get confused by global conf... common windows things
2025-09-16 12:16:31 +02:00
Bernd Storath 8892c43a7d Feat: Publish package on Codeberg (#2160)
* test codeberg build

* copy container to codeberg
2025-09-13 20:03:38 +02:00
Bernd Storath 7cfe04286a update packages 2025-09-13 18:35:55 +02:00
Bernd Storath 000513f212 fix build
TODO: investigate the root cause
2025-09-08 23:25:34 +02:00
dependabot[bot] 6ca3da1b80 build(deps): bump actions/checkout from 4 to 5 (#2120)
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-08 22:53:49 +02:00
Bernd Storath fe394ecbe4 update actions 2025-09-08 22:17:00 +02:00
Bernd Storath ec6f0423ca fix typo 2025-09-08 22:10:16 +02:00
Bernd Storath e12208af75 update packages 2025-09-08 22:08:40 +02:00
TaeHyeon Jo 2d9c75fd81 fix(i18n-ko): unify 2FA terminology; add notConnected/endpoint/endpointDesc; keep PreUp (#2140)
fix(i18n-ko): unify 2FA terminology, add notConnected/endpoint/endpointDesc, keep PreUp
2025-08-30 13:42:57 +02:00
Bahri Rizaldi 0c54b1c3da Add Bahasa Indonesia Translations (#2142)
Add Bahasa Indonesia
2025-08-30 13:33:57 +02:00
xGhostxDev be7943dc9b Add polish language (#2126)
* Update i18n.config.ts

* Update nuxt.config.ts

* Add files via upload
2025-08-26 09:40:16 +02:00
Bernd Storath 303c2f1e39 Docs: Add amneziawg (#2108)
add amneziawg docs
2025-08-16 16:02:17 +02:00
WebX Beyond 0b32ab899c Add Bangla (বাংলা) translation and language support to wg-easy (#2112)
Bangla translation added
2025-08-16 16:01:57 +02:00
Alexander Chepurnoy ef463d3d85 feat: add amneziawg support (#2102)
* feat: detect wireguard executable

* feat: add amneziawg-tools to container

* feat: enhance AWG detection and configuration handling

* refactor: change env name

* refactor: change env values
2025-08-14 09:10:18 +02:00
dependabot[bot] c10daa2fd4 build(deps): bump actions/download-artifact from 4 to 5 (#2096)
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 4 to 5.
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](https://github.com/actions/download-artifact/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/download-artifact
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-08-12 09:19:57 +02:00
Kayhan cb8aa45cde Added Turkish language (#2099) 2025-08-12 08:14:05 +02:00
Bernd Storath 54e0a1e886 update packages 2025-08-12 08:13:10 +02:00
Ezmana 71a452080e French language update (#2090) 2025-08-10 20:57:17 +02:00
Ciro Mota 5be7fb3038 feat: Add Português Brasil translation (#2077) 2025-08-08 19:30:22 +02:00
Aleksandr Fedotov 59f0c8b0d2 Update ru.json (#2078) 2025-08-06 07:52:38 +02:00
Bernd Storath e1ed93674d update packages, fix es, remove nuxtr 2025-08-05 08:43:30 +02:00
Néstor 6b65a8099b Create es.json (spanish language) (#2070)
Create es.json

Added a preview of spanish translation.
2025-08-05 08:28:12 +02:00
Nikolas c1dd494d0f Update uk.json (#2065) 2025-07-30 10:10:07 +02:00
Bernd Storath bf9e8a6e21 fix lint 2025-07-25 12:39:13 +02:00
Bernd Storath 371d7617ff fix styling 2025-07-25 12:37:46 +02:00
Bernd Storath 0b435d9ed8 update packages 2025-07-25 12:32:25 +02:00
Bernd Storath 07f89d15a9 Feat: show client endpoint (#2058)
* show client endpoint

* improve

* fix status code
2025-07-25 12:00:42 +02:00
Bernd Storath b5318086d2 Fix: Remove dns if empty (#2057)
remove dns if empty
2025-07-25 11:26:16 +02:00
Bernd Storath b7f9b7c830 Feat: Allow empty dns (#2052)
* allow empty dns

* remove log
2025-07-24 10:58:40 +02:00
mnaray 2e4f386f49 Improve incomplete setup docs in README (#2031)
* Update setup docs in README

* remove redundant information
2025-07-15 10:02:45 +02:00
Astesana 9ead985798 Fixes network creation in docker-run.md (#2018)
* Fixes network creation in docker-run.md

* Update docker-run.md as suggested by @kaaax0815
2025-07-14 09:58:34 +02:00
Bernd Storath 6326ee31c4 migrate to zod v4 2025-07-14 08:19:23 +02:00
Bernd Storath 984dc95550 update packages 2025-07-14 07:51:35 +02:00
Maksim M. cd0a9b8e33 Add Russian translation (#2014)
* feat(i18n): add Russian translation

* Corrected the AI translation

Подправил AI перевод

* fix: format ru.json
2025-07-10 09:53:03 +02:00
Bernd Storath 90b9ba15ec feat: make api more secure (#2015)
make api more secure
2025-07-09 15:42:29 +02:00
Bernd Storath 0abc419db7 fix lint errors 2025-07-07 11:19:45 +02:00
Daeho Ro b185d7a63d add Korean translation (#2003)
Added translation using Weblate (Korean)




Translate-URL: https://mini-i18n.daeho.ro/projects/wg-easy/main/ko/
Translation: wg-easy/main

Co-authored-by: OpenAI <noreply-mt-openai@weblate.org>
2025-07-07 10:59:54 +02:00
Bernd Storath 4bb880c4b7 update packages 2025-07-07 10:06:23 +02:00
SebastiaanTheCoder b0ba9e43f9 Updated traefik documentation (#2005) 2025-07-07 09:53:36 +02:00
杨黄林 ddb01fb968 Improve Chinese translation and fix 4-character Chinese suggestion button (#1997)
* Improve Chinese Simplified translate

* Use whitespace-nowrap class to fix Suggest button

* fix formatting

---------

Co-authored-by: Bernd Storath <999999bst@gmail.com>
2025-07-02 20:15:19 +02:00
Bernd Storath 22812e0632 Fix: Admin menu text (#1999)
make admin menu reactive
2025-07-02 09:42:09 +02:00
Bernd Storath 4d84e1d9d3 fix changelog 2025-07-01 08:51:35 +02:00
Bernd Storath 9368b857e8 Bump version to 15.1.0 2025-07-01 08:50:21 +02:00
Bernd Storath 0f663df7f6 Add option to disable ipv6 (#1951)
* add option to disable ipv6

* don't add ipv6 address

* update docs
2025-07-01 07:57:14 +02:00
Kirill Dvoretskov 68fde7d165 Updated container launch commands (#1989)
* Updated container launch commands

* one more occurrence

---------

Co-authored-by: Bernd Storath <999999bst@gmail.com>
2025-06-30 08:01:26 +02:00
杨黄林 501a784264 Add Chinese Simplified (#1990)
* Add Chinese Simplified

* fix formatting

---------

Co-authored-by: Bernd Storath <999999bst@gmail.com>
2025-06-30 07:55:00 +02:00
Bernd Storath 629c184195 update packages 2025-06-30 07:54:45 +02:00
Rayyamhk 76b8818a33 feat: Add Traditional Chinese (zh-HK) i18n Support (#1988)
* feat:add translation for zh-hk

* fix formatting issues
2025-06-27 08:25:02 +02:00
Pascal Dietrich 6c52301a64 Add german translations (#1889) 2025-06-26 16:05:44 +02:00
Bernd Storath be26db63ca add docs on how to add/update translation 2025-06-26 15:27:27 +02:00
Bernd Storath 962bfa213f update screenshot 2025-06-26 14:56:15 +02:00
Bernd Storath ee00e5c914 update packages 2025-06-23 09:53:30 +02:00
Bernd Storath 6343213538 v14 migration env vars
make note that the env vars from v14 won't be migrated
2025-06-11 11:14:13 +02:00
Bernd Storath 187bdc0836 update packages 2025-06-11 07:42:21 +02:00
wh!le f2520f0481 docs for caddy example (#1939) 2025-06-09 16:04:59 +02:00
Ezmana 5e9a73645b Add French language (#1924)
* French translation file creation

* Add French language
2025-06-09 15:55:12 +02:00
Bernd Storath 783fa3286c update packages
removed override as every package updated
2025-06-02 08:23:26 +02:00
Nikolas 77b4f9db65 Added Ukrainian language (#1906)
* Add files via upload

Ukrainian language

* Update ua.json

* Update i18n.config.ts

* Update i18n.config.ts

* Rename ua.json to uk.json

* Update i18n.config.ts

* Update nuxt.config.ts

* Update uk.json
2025-06-01 16:40:31 +02:00
Bernd Storath 0f6f07161b update docker compose 2025-05-28 13:50:13 +02:00
Bernd Storath d75a836de9 update changelog 2025-05-28 12:33:44 +02:00
Bernd Storath f79b0fd025 Bump version to 15.0.0 2025-05-28 12:22:42 +02:00
Bernd Storath d2ce82241b Bump version to 15.0.0-beta.13 2025-05-28 12:11:03 +02:00
Bernd Storath 8c395ec275 fix pre-release 2025-05-28 12:10:47 +02:00
Bernd Storath 10f42170f3 Bump version to 15.0.0-beta.13 2025-05-28 11:59:38 +02:00
Bernd Storath a8aa85bdaa Feat: map client to interface (#1886)
map client to interface
2025-05-28 11:58:33 +02:00
Bernd Storath 7e1aa5807d Feat: variants (#1885)
add primary & secondary button & actionfield
2025-05-28 11:44:16 +02:00
Bernd Storath df57921b8e update packages 2025-05-27 09:39:37 +02:00
Bernd Storath 4fbf059e61 add armv7 support
override until
- https://github.com/nuxt/nuxt/issues/32124
- https://github.com/nuxt-modules/i18n/issues/3605
are fixed
2025-05-16 09:11:50 +02:00
Bernd Storath b150e3f3b4 update packages 2025-05-16 08:54:52 +02:00
Bernd Storath aed10ab0bd update packages 2025-05-12 07:41:40 +02:00
Bernd Storath 478e7207b2 don't hoist libsql
not needed anymore
2025-05-05 11:15:24 +02:00
Bernd Storath c8dc710435 update packages 2025-05-05 10:25:28 +02:00
Bernd Storath 19d9e3b7d7 update packages
this greatly improves qr code size and quality
2025-04-26 16:49:51 +02:00
Bernd Storath c4efb1d03a update packages
argon2 now prebuilds for armv7
only libsql is missing: https://github.com/tursodatabase/libsql-js/pull/169
2025-04-24 11:50:35 +02:00
Bernd Storath 529b9eeb88 improve image size 2025-04-22 16:09:18 +02:00
Bernd Storath 69ee741d7e Feat: distributed build (#1829)
* distribute build across runners

* better formatting

* fix issues

* fix matrix

* retrigger build
2025-04-22 14:11:28 +02:00
Bernd Storath f2dc38e91b add setup guide 2025-04-22 10:47:55 +02:00
Bernd Storath 64e9484331 update packages 2025-04-22 07:46:33 +02:00
Bernd Storath c777fa30b3 publish stable docker compose (#1828) 2025-04-22 07:44:28 +02:00
Bernd Storath 734d91fd98 replace nightly with edge (#1819) 2025-04-17 15:58:45 +02:00
Bernd Storath 84ed7b299f Feat: Cli (#1818)
* add cli

* fix lint

* add docs, include cli packages

* fix docs, username instead of name
2025-04-16 14:17:02 +02:00
Bernd Storath 1cfe6404b2 Feat docs (#1814)
* improve docs and formatting

* lint in ci

avoid using bundled prettier from vscode extension

* fix action, typos

* remove header

* remove unused deps
2025-04-15 12:43:57 +02:00
Bernd Storath 2a32c1b9c0 remove unused dependencies 2025-04-14 08:36:07 +02:00
Bernd Storath 3ef258a28a Bump version to 15.0.0-beta.12 2025-04-11 23:35:51 +02:00
Bernd Storath ff783fd4d1 Feat: Improve Docs (#1791)
* improve docs

* preplan guides

* fix spelling

* fix nftables rules

* consistent wg-easy code block

* fix grammar
2025-04-11 23:25:58 +02:00
Bernd Storath 65aa067100 update packages 2025-04-11 22:46:03 +02:00
Edgars 48e6949a4d Update docker-run.md (#1804)
Small fixes were made to:

- adjust indentation for the first line in code blocks;
- fix backticks;
- make the URL interactive.
2025-04-09 11:25:30 +02:00
Bernd Storath 9ebf2c1d33 chore: disable latest tag for docker
so old installations wont break until v15 is stable enough
2025-04-02 09:32:52 +02:00
Bernd Storath d0f85316a6 chore: delete changelog from docs 2025-04-02 09:20:18 +02:00
Bernd Storath ff9fd553c5 Fix: sync / rekey issue (#1789)
only sync if needed
2025-04-02 08:49:04 +02:00
Bernd Storath e92ee0464e Feat: Server Endpoint (#1785)
* add server endpoint to client

* be able to update endpoint over api
2025-04-01 16:13:51 +02:00
Bernd Storath 9df049d3f4 Feat: startup info (#1784)
add startup info
2025-04-01 15:18:13 +02:00
Bernd Storath 32b73b850a Feat: 2fa (#1783)
* preplan otp, better qrcode library

* add 2fa as feature

* add totp generation

* working totp lifecycle

* don't allow disabled user to log in

not a security issue as permission handler would fail anyway

* require 2fa on login

if enabled

* update packages

* fix typo

* remove console.logs
2025-04-01 14:43:48 +02:00
Bernd Storath 1c7f64ebd5 Bump version to 15.0.0-beta.11 2025-03-31 10:32:27 +02:00
Bernd Storath 589ec1fe9a Feat: Show insecure warning (#1779)
show insecure warning
2025-03-31 10:29:22 +02:00
Bernd Storath 6e0d758e36 Feat: Hash metrics password (#1778)
hash the metrics password

if it is not already hashed
2025-03-31 09:58:02 +02:00
Pokydko Oleksandr 940edb2b0c Improvements to username and password validations (#1745)
* Fix: Improve special character regex (#1744)
* update password special character regex to support
( `-` `_` `=` `+` `[` `]` `;` `'` `\` `/` )

* Fix: Allow usernames starting from 2 characters (#1744)
* update username validation to support short usernames starting from 2 characters

* remove char validation altogether

---------

Co-authored-by: Bernd Storath <999999bst@gmail.com>
2025-03-31 08:58:24 +02:00
Bernd Storath d51f12a82f update packages 2025-03-31 07:51:21 +02:00
Bernd Storath 4a3747fa12 update packages 2025-03-24 07:53:02 +01:00
Bernd Storath 499fb096b6 Fix: button triggering form (#1750)
prevent button from triggering form
2025-03-19 11:50:48 +01:00
Bernd Storath c5c3a65bbf Fix: slow suggest Host Address (#1746)
load on client instead of block
2025-03-17 14:28:03 +01:00
Bernd Storath c133446f9c Bump version to 15.0.0-beta.10 2025-03-14 14:28:12 +01:00
Bernd Storath e8b3e54228 fix libsql bundling issue 2025-03-14 14:26:08 +01:00
Bernd Storath a9a51337da Bump version to 15.0.0-beta.9 2025-03-14 12:22:43 +01:00
Bernd Storath bbee7e04ed Feat: add ability to restart interface (#1740)
add ability to restart interface
2025-03-14 12:19:26 +01:00
Bernd Storath 198b240755 Feat: Suggest IP or Hostname (#1739)
* get ip and hostnames

* use heroicons

* add host field

* get private info

* unstyled prototype

* styled select

* add to setup

* fix types
2025-03-14 10:33:02 +01:00
Bernd Storath 86bdbe4c3d Feat: Initial Setup through env vars (#1736)
* initial support for initial setup

* improve setup

* improve mobile view

* move base admin route

* admin panel mobile view

* set initial host and port

* add docs

* properly setup everything, use for dev env

* change userconfig and interface port on setup, note users afterwards
2025-03-13 11:28:05 +01:00
Bernd Storath 4890bb28e5 Bump version to 15.0.0-beta.8 2025-03-12 13:47:46 +01:00
Bernd Storath c3dbd3a815 Fix: Add ui port to template (#1735)
* add ui port to template

* update changelog
2025-03-12 13:44:45 +01:00
Bernd Storath fc480df910 Fix: Update ip outside of cidr (#1733)
* update packages

* check if ip is included on update

* update package manager
2025-03-12 12:47:12 +01:00
dependabot[bot] b3bd2502af build(deps): bump nuxt from 3.15.4 to 3.16.0 in /src (#1727)
Bumps [nuxt](https://github.com/nuxt/nuxt/tree/HEAD/packages/nuxt) from 3.15.4 to 3.16.0.
- [Release notes](https://github.com/nuxt/nuxt/releases)
- [Commits](https://github.com/nuxt/nuxt/commits/v3.16.0/packages/nuxt)

---
updated-dependencies:
- dependency-name: nuxt
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-10 12:26:21 +01:00
dependabot[bot] eb5ad91022 build(deps-dev): bump eslint from 9.21.0 to 9.22.0 in /src (#1726)
Bumps [eslint](https://github.com/eslint/eslint) from 9.21.0 to 9.22.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v9.21.0...v9.22.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-10 08:11:31 +01:00
dependabot[bot] f2955a1278 build(deps): bump @nuxtjs/i18n from 9.2.1 to 9.3.1 in /src (#1728)
Bumps [@nuxtjs/i18n](https://github.com/nuxt-modules/i18n) from 9.2.1 to 9.3.1.
- [Release notes](https://github.com/nuxt-modules/i18n/releases)
- [Changelog](https://github.com/nuxt-modules/i18n/blob/main/CHANGELOG.md)
- [Commits](https://github.com/nuxt-modules/i18n/compare/v9.2.1...v9.3.1)

---
updated-dependencies:
- dependency-name: "@nuxtjs/i18n"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-10 07:34:37 +01:00
dependabot[bot] 1b76c066e0 build(deps-dev): bump @nuxt/eslint from 1.1.0 to 1.2.0 in /src (#1729)
Bumps [@nuxt/eslint](https://github.com/nuxt/eslint/tree/HEAD/packages/module) from 1.1.0 to 1.2.0.
- [Release notes](https://github.com/nuxt/eslint/releases)
- [Commits](https://github.com/nuxt/eslint/commits/v1.2.0/packages/module)

---
updated-dependencies:
- dependency-name: "@nuxt/eslint"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-10 07:27:29 +01:00
Bernd Storath 5b68cc7311 Feat: Confirm setup password (#1722)
confirm setup password
2025-03-07 16:05:40 +01:00
Bernd Storath 0597470f4c Bump version to 15.0.0-beta.7 2025-03-07 15:00:12 +01:00
Bernd Storath 159a51cff4 Feat: Global config override (#1720)
* be able to change dns. implement global override

* link donate to readme

* implement global config for allowed ips

* change translations, fix generation

* improve docs
2025-03-07 14:59:06 +01:00
Bernd Storath 9fc6ebafb3 Bump version to 15.0.0-beta.6 2025-03-07 12:02:03 +01:00
Bernd Storath 9a029eeb23 improve docs, add version script 2025-03-07 12:02:02 +01:00
Bernd Storath e5fb6ff3a6 Fix: OneTimeLinks (#1719)
* fix otls

* one otl per client

* revert some code

* revert some more code, add comments

* adjust migration
2025-03-07 09:16:24 +01:00
杨黄林 fcb5049dab Add PreUp, PostUp, PreDown, PostDown for client (#1714)
* Fix create client popup background is not white

* Fix no Add button when client Allowed Ips or Server Allowed Ips is empty

* Add preUp preDown postUp postDown for client

* Add description of hooks for client config

* Move hooks's label text into 'hooks' in en.json

---------

Co-authored-by: yanghuanglin <yanghuanglin@qq.com>
Co-authored-by: Bernd Storath <999999bst@gmail.com>
2025-03-07 08:17:33 +01:00
Bernd Storath 93db67bab6 fix: only require metrics password if set (#1715) 2025-03-06 11:45:03 +01:00
Bernd Storath 842475f799 Fix: Cidr Change (#1712)
* only calculate ip if cidr changed

if the cidr did not change, the ip will not change to prevent ip shifts

* fix lint
2025-03-06 10:04:49 +01:00
Bernd Storath f4d3608da7 Fix: Various (#1711)
* fix docs

* fix migration
2025-03-06 08:15:18 +01:00
Bernd Storath 84ee8c35f0 fix labels, date field, enable 2025-03-05 15:38:09 +01:00
Bernd Storath ded148a0f5 fix docs action 2025-03-05 13:37:16 +01:00
Bernd Storath 9b29d72991 Version 15.0.0-beta.1: Rewrite in Nuxt and Typescript, Move to UI (#1333)
* Add Nuxt, ESM, Typescript (#1244)

* wip: add nuxt

* basic implementation

* add changes from c9ff248

* update workflow, add eslint

* add types, fix wrong error message

* install correct bcrypt, move eslint to dev modules

* add docker dev script

* fix styling

* add wireguard routes

* typescript, vendors

* fix lint workflow

* lint fixes

* add prettier, format

* fix lint, add vscode settings

* better typescript

* use auto imports

* add prettier eslint config

* cache config

* fix styling issue, fix formatting

* fix tailwind problems

* fix logout not showing

* fix lint action

* Fix session middleware

* split files into correct methods

* use type safe api, fix typescript errors

* better return types

not tested

* change default working directory

* update workflows

* fix error

* correct session middleware, type safe session

* convert undefined to boolean

* correct key for api errors

* use zod to validate input

* add more jobs to check for good code

* add pinia

Co-authored-by: Sergei Birukov <suxscribe@gmail.com>
Co-authored-by: Bernd Storath <bernd.storath@offizium.de>

* use color mode plugin

* !! use better storage key name

Breaking as if old key exists it breaks as "auto" is not compatible with new "system"

* better local dev while dev container is running

use `docker compose -f docker-compose.dev.yml up`
or after changing dockerfile
`docker compose -f docker-compose.dev.yml up --build`

* update translation to match new theme mode

* improve dx

new devs get extensions recommended to catch errors, etc directly in vscode

* reduce errors, improve typing

* Split components (#1)

* update: introduce pages & components

 fix lint

* update: starting split components

* use auto imports

* Improve workflows and docker

workflow fix step naming

simplify docker dev

simplify docker prod

revert to node 18

dockerfile naming scheme

* Split components (#2)

* update: starting split components

* upd: rebase & continue splitting components

- layouts: header & footer
- components: basic buttton
- pages: login page

* update: login page

* package.json: remove dev:pass script

* Split into Components, migrate to nuxt

fixup

shutdown wireguard properly

fix styling, fix store

split even more

clear interval

split even more

split even more

handle auth middleware on server

avoid flicker of login page

* fix: buttons spaces & move layouts to components (#3)

* update: icons into components

- fix: header login page

* fix: tailwind handle btn class

* Split into icons

fix avatar

move class to view not icon itself

fix icon

format

* invalidate cache to make restoreConfig work

* fix apexchart

* use different color mode module

other one resulted in hydration mismatch

* fix dialog

* fix bad i18n merge

* use nuxt 4

* fix typing, fix redirect, latest release on server

* start wireguard on start

* wait for shutdown

* improve zod errors, consistent server errors

* migrate to useFetch

this makes sure that there is no double fetching

* fix hydration issues, remove unnecessary state, rename function

* fetch globalstore globally

otherwise this will load on login to homepage

* migrate to useFetch

no javascript support

TODO: not properly tested

* update backend

* wip: frontend

* update frontend

* update pnpm lock

---------

Co-authored-by: Sergei Birukov <suxscribe@gmail.com>
Co-authored-by: Bernd Storath <bernd.storath@offizium.de>
Co-authored-by: tetuaoro <65575727+tetuaoro@users.noreply.github.com>

* Fix various issues

fix router param

fix max age

unit is seconds not ms

fix regressions

fix missing expire date in client create dialog
fix wrong type rules
fix wrong api endpoint

properly catch error running cron job

fix type issues

* add database (#1330)

* add: database abstraction

* update: get lang from database

* udpate: with repositories

* add: interfaces to connect a database provider

- easy swapping between database provider

* add: setup page

- add: in-memory database provider
- create a new account (signup)
- login with username and password
- first setup page to create an account
- PASSWORD_HASH was removed from environment and files was updated/removed due to that change

* update: Dockerfile

* fix: review done

- remove: REQUIRES_PASSWORD & RELEASE environment variables

* fix: i18n translation

- rename directories

* update: use database

* fix: typecheck

* fix: review

* rebase & add: persistent lowdb provider

* update: french translation

* revert: due to rebase

* remove & document

* Refactor New UI (#1342)

* refactor code

* refactor code

* add some todos

* update pnpm, start migrating to database

* add missing i18n key

* add todo

* basic setup styling

* nuxt 4 folder structure, update packages

* Feat: Migrations (#1344)

* add migrations

* improve migration runner

* improve migration runner

* document what each migration does

* Feat: Rewrite Wireguard to use Database (#1345)

* update wireguard

* update

* update

* remove all config

* move all features into one route

* improve code

* fix some issues

add wg_path, update documentation

* Feat: Cidr Support (#1347)

* cidr support

* add cidr

* fix some errors

fix server config

missing cidr block in server config

* Fix: Database Date type (#1349)

* Feat: IPv6 (#1354)

* start supporting ipv6

* add ipv6 support

* build server with es2020

es2019 doesn't support bigint

* fix issues, better naming

* Fix: Security (#1355)

* separate route for onboarding

* zse zod for validation

* use argon2id

* add build tools

* Feat: Server AllowedIPs, MTU (#1356)

* add wireguard helpers

* improve wireguard helpers

* add server mtu

* fix wg0.conf formatting

* add ipv6 support to docker compose and readme

* Feat: Docs (#1361)

* basic docs

* use semver versioning

* Feat: Migration (#1363)

* start migration

* improve migration

* remove endpoint from client

* improve docker

* Chore: Deprecate Dockerless (#1377)

* deprecate dockerless

* Feat: Improve Repository pattern (#1380)

* improve repository pattern

* fix errors

* Feat: Improve Database Handling (#1383)

* improve docker build

* build doc workflow

* Feat: Changelog, Release Notes (#1385)

* add changelog, use semver for update message

* use first line of release for short changelog

* load ipv6 iptables module

* Feat: Show Version in Footer (#1389)

update ui logic, always store release in global store.

new release logic uses rate limited github api, avoid using cache

* use i18n ally (#1391)

* improve gh actions

* Setup UI (#1392)

* update: setup ui page

* rebase

* remove script addition

* Fixed usage of Ukrainian instead of Russian in ru.json (#1414)

* Added translations for the Belarusian language (#1472)

* Install kmod from alpine repository (#1553)

Because the busybox modprobe utility is unable to load zstd compressed modules.

Co-authored-by: Matt <mmoore2012@users.noreply.github.com>

* WIP: Feat: UI, General Improvements (#1397)

* update: setup ui page

* remove script addition

* add admin panel

* basic user menu and admin page

* make usable admin panel

* add radix vue, improve ui

* fix features, add toast

* rewrite middleware logic, support basic auth

* add todo marker

* active tailwind forms

* remove some console.logs

* check if user is enabled

frontend doesn't handle this state yet, nothing will work as api routes will fail

* add email to user, basic account page

* better group database

* group even more

* basic statistics page

* update: admin ui

- add: common panel components to get same UI
- i18n: french

* update: setup page error handle

- use fetch error data to provide error message
- use translation to provider error message

* update: me page

* fix: :text props

* update: login page

* update: i18n french support

* fix: use radix toast duration

* update: reduce templates

- remake: setup page to add others step configuration (host/port/migration)

* udpate: setup page use wizard form step

* update: ui

* update: step page

- first step to choose a language
- use red color in light mode
- validate step before move toward

* update: setup page

- use radix select component to reduce boilerplate

* update: setup page

- add: database langugage method
- update: api lang & export supported languages

* update: setup page

- update ui select language
- change lang on selection

* fix: use global store

* fix: initial value

- update: sort langs by value

* fix: ui center paragraph

* fix: remove file extension & some revert

- add: script to run checks script

* update: setup page

- add: host/port section
- i18n: french
- fix: fallback translation

* refactor: split setup into files

* update: setup page

- redirect to login when the setup is done
- allow user to return to previous steps
- prompt error message
- i18n french

* add: migration UI step

- rename: components
- fix: label for & form child id
- i18n french sup

* add: migration server

* fix: use string instead of File

* improve: with zod validation

* restore: clients

* rework setup

* add client page, move api routes

* improve setup

* switch to agpl

* add step back

* update licensed under texts

cc -> agpl

* make db results readonly

avoid weird side effects, when modifying the db object as its only allowed inside e.g. lowdb.ts

* update footer links

* improve client edit page, add mtu

* reorder tailwind classes

* update packages

* update comments

* better toast, better avatar

* delete feature toggle

* remove chart, statistics from server

let user decide what he wants to display

* move into own components

* switch from AGPL-3.0-or-later to AGPL-3.0-only

AGPL-3.0-or-later is not OSI approved

* fix building source

fixes https://github.com/wg-easy/wg-easy/issues/1563

* update packages

---------

Co-authored-by: tetuaoro <65575727+tetuaoro@users.noreply.github.com>

* update readme

* Feat: Settings, UI, General Improvements (#1572)

* deprecate other languages

new ui has too many new strings

* fix wrong license in readme

* properly fetch release

* order safe data structure for migrations

* empty server allowed ips by default

* show userconfig in admin panel

* remove routes, fix config

* add ability to update clients

* handle form submit using js

avoid weird behavior with FormData

* global toast, be able to update client

* update packages

* fix date field

* delete client using radix dialog

* remove lang from backend, let users decide

* be able to change interface and general

* be able to update user config

* consistent allowedips

* fix array field

* improve avatar, code cleanup

* basic metrics support

* remove dateTime helper

* be able to change hooks

* start cidr update

* be able to update cidr

* Feat: SQLite (#1619)

* start drizzle migration

* split schema

* improve schema

* improve schema, cascade, unique

* improve structure, start migration

* migrate to sqlite

* work in prod docker

* start adding a better permission handler

* permission matrix, permission handler

* update packages

* move session timeout to session config, use new permission handler

* improve docker dev

only install dependencies if changed

* implement setup

* migrate to sqlite

* improve debug, fix custom migration

* migrate to sqlite

* regenerate migrations

* ignore autogenerated migrations from prettier

* migrate to sqlite

* migrate to sqlite

* Migrate to sqlite

* fix prod error

* move nuxt middleware from server to nuxt

* update corepack in prod dockerfile

* use correct branch for workflow

* make docker file build on armv6/v7

* fix client update

* update zod locales

* cancel pr workflow if new commit

* test concurrency

* Feat: Account (#1645)

* be able to change name, email

* be able to change password

* consistent naming

zod is a schema not a type

* use transaction instance

* add zod strings

* Feat: Prometheus (#1655)

* check metrics password

* rewrite prometheus and json metric endpoints

* move metrics to general

metrics is not per interface

* change metrics settings in admin panel

* add i18n keys

* Chore: Remove multi interface support (#1657)

* streamline references to wg0

database wg0 name makes no sense anymore
wg0 only in database, could be easily replaced, or support for custom name added

* fix default key gen

* Feat: Permission System (#1660)

* wip: add abac

* wip: add admin abac

* add me abac

* fix type issue

* move from role check

avoid authStore.userData?.role === roles.ADMIN

* Feat: Zod Generic String (#1661)

* start improving zod translations

* update zod translations

* Feat: Migration (#1663)

* show error for old env vars

* reorder setup, be able to migrate

* fix type issue

* footer and header in setup, remove lang setup step

* remove backup / restore

* refactor dialog (#1665)

* fixed Dockerfile HEALTHCHECK syntax (#1686)

HEALTHCHECK options should always come before the CMD instruction

* Feat: Info (#1666)

* add tooltip info, extract strings

* multi type toast

* improve useSubmit, i18n

* better login screen

* improve

* consistent folder casing

* consistent casing

* fix even more stuff

* temp

* fix type errors

* remove armv6/7 support for now

* add information to client page

* optimize dockerfile

* update base image in Dockerfile to use node:lts-alpine

* fix build stage

* Chore: TODOs (#1695)

* verify setup step

* improve readme

* format todos

* move id

* remove objectMessage

* style array field

* Chore: TODOs (#1696)

* fix chart

* replace localstorage with cookies

* Chore: Improvments (#1697)

* update packages

* fix tab issues

* consistent imports

* use eslint module

* update date

* improve docs

* update docs

* format

* fix docs, fix cookie

* recognize timing attack potential

* improve gh actions, issue templates (#1700)

* Feat improv (#1702)

* add insecure option, link readme to docs

* improve docs

* update version

* add warning to readme

---------

Co-authored-by: Sergei Birukov <suxscribe@gmail.com>
Co-authored-by: Bernd Storath <bernd.storath@offizium.de>
Co-authored-by: tetuaoro <65575727+tetuaoro@users.noreply.github.com>
Co-authored-by: laperuz92 <31198184+laperuz92@users.noreply.github.com>
Co-authored-by: Siomkin Alexander <siomkin.alexander@gmail.com>
Co-authored-by: Matt <102529127+mmoore2012@users.noreply.github.com>
Co-authored-by: Matt <mmoore2012@users.noreply.github.com>
Co-authored-by: Denis Kazimirov <rokiden@users.noreply.github.com>
2025-03-05 13:06:31 +01:00
Philip H. c6dce0f6fb Dockerfile: don't update npm to latest, fix iptables paths (#1574)
* Dockerfile: don't update npm to latest

It's breaking nightly builds

* Dockerfile: path for iptables-legacy dosn't exist

* Dockerfile: fix iptables paths

* fixup: iptables-legacy

* Update Dockerfile
2024-12-22 14:14:01 +01:00
shalafi99 ddc7394e1b Document updates: docker-compose.yml / How_to_generate_an_bcrypt_hash.md (#1529)
* Update How_to_generate_an_bcrypt_hash.md

inclusion of single quotes for password with docker run command

addition of "--rm" parameter to docker run command as to cleanup the wg-easy container created with the password hash generation command

* Update docker-compose.yml

addition of missing # before the comment on PASSWORD_HASH line
2024-11-24 15:49:01 +01:00
Bernd Storath 6c752941f3 Update CODEOWNERS
Remove pheiduck
Reorder so WeeJeWel is not pinged on every PR
2024-10-18 09:02:26 +02:00
Philip H. eda8040a03 README.md: add donation link for WireGuard 2024-10-14 18:13:04 +02:00
dependabot[bot] bf77386ec6 build(deps): bump express-session from 1.18.0 to 1.18.1 in /src (#1470)
Bumps [express-session](https://github.com/expressjs/session) from 1.18.0 to 1.18.1.
- [Release notes](https://github.com/expressjs/session/releases)
- [Changelog](https://github.com/expressjs/session/blob/master/HISTORY.md)
- [Commits](https://github.com/expressjs/session/compare/v1.18.0...v1.18.1)

---
updated-dependencies:
- dependency-name: express-session
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-14 09:23:24 +02:00
dependabot[bot] 6f2811c637 build(deps): bump h3 from 1.12.0 to 1.13.0 in /src (#1454)
Bumps [h3](https://github.com/unjs/h3) from 1.12.0 to 1.13.0.
- [Release notes](https://github.com/unjs/h3/releases)
- [Changelog](https://github.com/unjs/h3/blob/v1.13.0/CHANGELOG.md)
- [Commits](https://github.com/unjs/h3/compare/v1.12.0...v1.13.0)

---
updated-dependencies:
- dependency-name: h3
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-07 09:56:08 +02:00
dependabot[bot] e75719b803 build(deps-dev): bump tailwindcss from 3.4.12 to 3.4.13 in /src (#1446)
Bumps [tailwindcss](https://github.com/tailwindlabs/tailwindcss) from 3.4.12 to 3.4.13.
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/v3.4.13/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss/compare/v3.4.12...v3.4.13)

---
updated-dependencies:
- dependency-name: tailwindcss
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-30 13:29:41 +02:00
Gašper Spagnolo 3fc0e02798 Add slovene translation (#1440) 2024-09-28 11:37:09 +02:00
Philip H. 5aed67838c README.md: fixup urls
fix error 404
2024-09-23 12:27:57 +02:00
Edgars 99e1e15b03 Make minor improvements for ReadMe.md (#1428)
The following minor improvements were made to `README.md`:

- The notice about stable version was styled as block quote to emphasize
  it more and it was moved right after the title of the section
  "Versions", and a link to the production branch was added;
- versions table was updated to add links to branches for easier
  navigation;
- some typos were fixed;
- wording was changed in couple of places to make it simpler;
- the `docker run` command was updated to:
  - use long options to make it more self-explanatory;
  - wrap password hash value placeholder in single quotes to avoid
    variable expanding as password hashes tend to contain `$`;
  - some other very minor changes to make `docker run` options uniform.

Co-authored-by: Philip H. <47042125+pheiduck@users.noreply.github.com>
2024-09-23 12:02:33 +02:00
dependabot[bot] 6dc89257ff build(deps-dev): bump nodemon from 3.1.4 to 3.1.7 in /src (#1426)
Bumps [nodemon](https://github.com/remy/nodemon) from 3.1.4 to 3.1.7.
- [Release notes](https://github.com/remy/nodemon/releases)
- [Commits](https://github.com/remy/nodemon/compare/v3.1.4...v3.1.7)

---
updated-dependencies:
- dependency-name: nodemon
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-23 10:07:33 +02:00
dependabot[bot] a32655992f build(deps-dev): bump tailwindcss from 3.4.11 to 3.4.12 in /src (#1425)
Bumps [tailwindcss](https://github.com/tailwindlabs/tailwindcss) from 3.4.11 to 3.4.12.
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/v3.4.12/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss/compare/v3.4.11...v3.4.12)

---
updated-dependencies:
- dependency-name: tailwindcss
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-23 10:05:04 +02:00
Philip H. 2bd1dffe7e CODEOWNERS: fixup request review by all Maintainers
Emile will also be on this list, should be fine anyways.
2024-09-17 17:39:25 +02:00
Naoki Ishikawa 3c959ba3bb Add japanese translation. (#1403) 2024-09-16 08:31:28 +02:00
dependabot[bot] 0b204a6f21 build(deps-dev): bump tailwindcss from 3.4.10 to 3.4.11 in /src (#1412)
Bumps [tailwindcss](https://github.com/tailwindlabs/tailwindcss) from 3.4.10 to 3.4.11.
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/v3.4.11/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss/compare/v3.4.10...v3.4.11)

---
updated-dependencies:
- dependency-name: tailwindcss
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-16 08:28:26 +02:00
Philip H. efe5cccb02 index.html: Emile Nijssen's blog url changed 2024-09-13 18:24:41 +02:00
Tristan 31c59c1b26 Update README.md (#1390) 2024-09-11 09:05:32 +02:00
Vadim Babadzhanyan 6e891ad9fb Prometheus password fix (#1319)
* Russian translation

* Fix require prometheus password

---------

Co-authored-by: Vadim Babadzhanyan <vadim.babadzhanyan@my.games>
2024-09-10 18:46:09 +02:00
Philip H. e2fe3b8b32 fixup: deploy.yml
echo moved by a mistake
2024-09-09 15:31:18 +02:00
Philip H. c0fbc3f647 Update deploy.yml 2024-09-09 13:33:52 +02:00
Xiwangly f3324cbb28 Update i18n.js, add chs & cht translations (#1374) 2024-09-08 08:21:26 +02:00
Vadim Babadzhanyan 33b4c3859d Fix onetimelink (#1367)
* Russian translation

* fix onetime link for android tv

---------

Co-authored-by: Vadim Babadzhanyan <vadim.babadzhanyan@my.games>
2024-09-07 08:43:59 +02:00
Philip H 067b7bcf84 CI: fixup dev deploy too
Signed-off-by: Philip H <47042125+pheiduck@users.noreply.github.com>
2024-09-06 16:39:34 +02:00
Philip H. 942f35916c deploy-nightly.yml: reference to master branch 2024-09-06 16:35:03 +02:00
dependabot[bot] 52d83dbf35 build(deps): bump debug from 4.3.6 to 4.3.7 in /src (#1365)
Bumps [debug](https://github.com/debug-js/debug) from 4.3.6 to 4.3.7.
- [Release notes](https://github.com/debug-js/debug/releases)
- [Commits](https://github.com/debug-js/debug/compare/4.3.6...4.3.7)

---
updated-dependencies:
- dependency-name: debug
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-06 16:29:05 +02:00
Philip H. 4dc56a0718 CI: use dependabot instead of gh action (#1364) 2024-09-06 16:26:27 +02:00
NPM Update Bot 66c64af7cf npm: package updates 2024-09-05 16:09:17 +00:00
Philip H. f4b3d4fb6b wg-password(docu): fixup docker command 2024-09-05 18:08:49 +02:00
NPM Update Bot 3427d677f6 npm: package updates 2024-09-04 16:37:44 +00:00
Bernd Storath 4ba7dc244c early fail if old password variable (#1350) 2024-09-04 18:37:11 +02:00
NPM Update Bot 3f6b6f3c9b npm: package updates 2024-09-03 20:34:41 +00:00
Hans 11872de321 Allow wgpw to prompt for a password through stdin (#1348)
* Allow wgpw to prompt for a password through stdin

If the user does not pass the password as a parameter, they are prompted
for it through stdin.
The password is not echoed back, just like any other command-line log-in
prompt (ie. sudo).

* Fix lint errors in wgpw
2024-09-03 22:34:08 +02:00
NPM Update Bot 4758c0dddc npm: package updates 2024-09-02 00:03:22 +00:00
NPM Update Bot 96030c08f4 npm: package updates 2024-08-30 11:17:49 +00:00
Kirk1984 ba989aa829 Fix typo in How_to_generate_an_bcrypt_hash.md (#1332) 2024-08-30 13:17:20 +02:00
NPM Update Bot 78fab2b5d8 npm: package updates 2024-08-26 00:03:04 +00:00
NPM Update Bot dd04dd285d npm: package updates 2024-08-23 10:11:05 +00:00
Vadim Babadzhanyan 7be9884aec Feat Prometheus metrics (#1299)
* Russian translation

* Add Prometheus metrics
[Feat]: Simple Stats API #1285

* Revert "Add Prometheus metrics"

This reverts commit a998f6be8a.

* Add Prometheus metrics
[Feat]: Simple Stats API #1285

* Fix short link. Generate One Time Link (#1301)

Co-authored-by: Vadim Babadzhanyan <vadim.babadzhanyan@my.games>

* fix one time links (#1304)

Closes #1302
Co-authored-by: Bernd Storath <999999bst@gmail.com>

* fixup: issue templates due to labels reorg

Signed-off-by: Philip H <47042125+pheiduck@users.noreply.github.com>

* Separate port for prometheus metrics
Add Prometheus metrics [Feat]: Simple Stats API #1285

* Separate port for prometheus metrics
Add Prometheus metrics [Feat]: Simple Stats API #1285

* Fix port in Readme
Separate port for prometheus metrics
Add Prometheus metrics [Feat]: Simple Stats API #1285

* Add Prometheus port in Service
Separate port for prometheus metrics
Add Prometheus metrics [Feat]: Simple Stats API #1285

* Revert "Add Prometheus port in Service"

This reverts commit a7376abcf1.

* Revert "Fix port in Readme"

This reverts commit 9760bde2f2.

* Revert "Separate port for prometheus metrics"

This reverts commit 58f5b6806e.

* Revert "Separate port for prometheus metrics"

This reverts commit 6d246ea4bd.

* Add Prometheus metrics with Basic Auth
[Feat]: Simple Stats API #1285

* Disable by default
[Feat]: Simple Stats API #1285

* [Feat]: Simple Stats API #1285

* Update README.md

---------

Co-authored-by: Vadim Babadzhanyan <vadim.babadzhanyan@my.games>
Co-authored-by: Bernd Storath <bernd.storath@offizium.de>
Co-authored-by: Philip H <47042125+pheiduck@users.noreply.github.com>
2024-08-23 12:10:20 +02:00
Bernd Storath 41be774761 rename features, fix formatting 2024-08-23 08:32:47 +02:00
Philip H. ed93c6c8ed CODEOWNERS: make it commplete 2024-08-22 23:46:04 +02:00
NPM Update Bot bbffc22ae3 npm: package updates 2024-08-22 21:45:42 +00:00
Philip H. 800ec155c1 CODEOWNERS: add kaaax0815 2024-08-22 23:45:04 +02:00
Philip H 75df17476f fixup: issue templates due to labels reorg
Signed-off-by: Philip H <47042125+pheiduck@users.noreply.github.com>
2024-08-21 17:07:46 +02:00
Bernd Storath 86f968499a fix one time links (#1304)
Closes #1302
Co-authored-by: Bernd Storath <999999bst@gmail.com>
2024-08-21 15:55:35 +02:00
Vadim Babadzhanyan 968d2b90a0 Fix short link. Generate One Time Link (#1301)
Co-authored-by: Vadim Babadzhanyan <vadim.babadzhanyan@my.games>
2024-08-20 16:19:07 +02:00
Philip H 352a022f30 nodejs: use lts as version tag
Signed-off-by: Philip H <47042125+pheiduck@users.noreply.github.com>
2024-08-19 14:30:41 +02:00
Vadim Babadzhanyan 8145809e22 Feat expiration date (#1296)
Closes #1287
Co-authored-by: Vadim Babadzhanyan <vadim.babadzhanyan@my.games>
2024-08-18 23:18:09 +02:00
Vadim Babajanyan 40af030266 Update Russian translation (#1291)
Co-authored-by: Vadim Babadzhanyan <vadim.babadzhanyan@my.games>
2024-08-16 21:48:22 +02:00
Vadim Babajanyan bb2e8d2751 Fix sort clients (#1290)
Co-authored-by: Vadim Babadzhanyan <vadim.babadzhanyan@my.games>
2024-08-16 20:47:31 +02:00
Võ Hoàng ca7ee32052 feat(www): add sort clients by name (#1227)
Co-authored-by: Philip H. <47042125+pheiduck@users.noreply.github.com>
2024-08-16 19:40:24 +02:00
Philip H. 7c521e8733 Add Remember me (#1276) 2024-08-16 19:27:30 +02:00
Philip H. f5885e335c Merge branch 'master' into remember-me 2024-08-16 19:25:36 +02:00
Philip H. 36b9ff60c8 Supports displaying short links (#1288) 2024-08-16 19:24:43 +02:00
Vadim Babadzhanyan cd3d4efebf Supports displaying short links, for easy downloading on TVs and Android TVs: fix lint errors 2024-08-16 20:20:31 +03:00
Vadim Babadzhanyan 81633de07b Supports displaying short links, for easy downloading on TVs and Android TVs: Add crc-32 package 2024-08-16 20:08:30 +03:00
Vadim Babadzhanyan 0a33b1f7df Supports displaying short links, for easy downloading on TVs and Android TVs 2024-08-16 18:39:24 +03:00
NPM Update Bot 2ea37dd7ba npm: package updates 2024-08-15 15:04:36 +00:00
Philip H. 2fe5269bbe Additional Korean language updates (#1278) 2024-08-15 17:04:07 +02:00
jkh0kr 8591b35d4e Update i18n.js
Additional Korean language updates
2024-08-14 10:00:58 +09:00
Philip H. 7fbc2702a6 fix pr template location (#1277)
Co-authored-by: Bernd Storath <999999bst@gmail.com>
2024-08-13 14:54:46 +02:00
Bernd Storath 4ead4c2cc9 fix pr template location 2024-08-13 08:30:51 +02:00
Viktor Yudov 3e6ded18a5 Add Remember me 2024-08-13 02:51:05 +03:00
NPM Update Bot 4e79d0ee03 npm: package updates 2024-08-12 14:56:03 +00:00
Philip H. 6d59e16161 add better issue template (#1274)
Co-authored-by: Bernd Storath <999999bst@gmail.com>
2024-08-12 16:55:29 +02:00
Bernd Storath 0386a0da6b add better issue template
Co-authored-by: Bernd Storath <bernd.storath@offizium.de>
2024-08-12 16:34:01 +02:00
NPM Update Bot 0bf266d5cb npm: package updates 2024-08-12 08:56:59 +00:00
Philip H. 0ca39b4f34 fix(Doc): fix escaping issue for PASSWORD_HASH in docker-compose.yml (#1270)
For users using docker-compose.yml, please note that you should not wrap the generated hash password in single quotes. Instead, replace each `$` symbol with two `$$` symbols.

For example, for the password 'foobar123', use the following command to generate the hash:
`docker run ghcr.io/wg-easy/wg-easy wgpw foobar123`

The resulting hash should be used in docker-compose.yml like this:
``` yaml
- PASSWORD_HASH=$$2y$$10$$hBCoykrB95WSzuV4fafBzOHWKu9sbyVa34GJr8VV5R/pIelfEMYyG
```

Signed-off-by: cyicz123 <cyicz123@outlook.com>
2024-08-12 10:56:32 +02:00
程越 a268422e9d fix(Doc): fix escaping issue for PASSWORD_HASH in docker-compose.yml
For users using docker-compose.yml, please note that you should not wrap the generated hash password in single quotes. Instead, replace each `$` symbol with two `$$` symbols.

For example, for the password 'foobar123', use the following command to generate the hash:
`docker run ghcr.io/wg-easy/wg-easy wgpw foobar123`

The resulting hash should be used in docker-compose.yml like this:
``` yaml
- PASSWORD_HASH=$$2y$$10$$hBCoykrB95WSzuV4fafBzOHWKu9sbyVa34GJr8VV5R/pIelfEMYyG
```

Signed-off-by: cyicz123 <cyicz123@outlook.com>
2024-08-12 11:25:17 +08:00
Philip H. 8921d6c661 docker-compose.yml: reflect How_to_generate_an_bcrypt_hash.md 2024-08-10 19:33:30 +02:00
Philip H. b18f919419 fixup How_to_generate_an_bcrypt_hash.md
Password hash has to be in single quotes
2024-08-10 10:34:46 +02:00
Philip H. ea99f56484 Update How_to_generate_an_bcrypt_hash.md (#1262)
explain about double $ usage on password.
2024-08-10 10:28:29 +02:00
Jouy Durao aea653a071 Update How_to_generate_an_bcrypt_hash.md
explain about double $ on password
2024-08-09 18:40:39 -03:00
NPM Update Bot a18a715f6f npm: package updates 2024-08-08 18:37:52 +00:00
Philip H. ec202d8575 fix: Status Bar Color Issue in PWA on iOS 18 (#1257)
#1256
Reported by @xK1t
2024-08-08 20:37:19 +02:00
Philip H 9dd7f256ba fix: Status Bar Color Issue in PWA on iOS 18
Signed-off-by: Philip H <47042125+pheiduck@users.noreply.github.com>
2024-08-08 20:33:01 +02:00
Philip H. 33e95bac5e Update Ukraine translation (#1251) 2024-08-07 17:23:09 +02:00
Nikolas 72fe64385e Update i18n.js 2024-08-07 17:20:38 +02:00
NPM Update Bot 2b7c846823 npm: package updates 2024-08-07 14:11:55 +00:00
Philip H. 9275cf611a Add autocomplete attribute to password input (#1249) 2024-08-07 16:11:25 +02:00
İbrahim Çetin 95934c6008 Add autocomplete attribute to password input 2024-08-07 10:29:33 +03:00
Philip H. babb9983aa chore: Update i18n.js Turkish translations (#1238)
Thank you @babico!
2024-08-03 09:22:51 +02:00
Müslüm Barış Korkmazer c9ff248011 chore: Update i18n.js Turkish translations 2024-08-02 22:49:56 +03:00
Philip H. f9edec0ac1 Create pull_request_template.md (#1226) 2024-08-02 19:48:08 +02:00
Philip H. eb0fa90cd0 Create pull_request_template.md 2024-08-02 19:47:30 +02:00
Philip H. 1607fd1562 fixup: docker-compose.dev.yml (#1236)
Improving compose file for dev.
Some variables are missed which lead to an error.
Fixes: #1234
2024-08-01 20:09:01 +02:00
Philip H. 5938474bf8 fixup: docker-compose.dev.yml
Improving compose file for dev.
Some variables are missed which lead to an error.
Fixes: #1234
2024-08-01 17:20:11 +02:00
Philip H. ff9c1b49b6 CODEOWNERS: add maintainer 2024-08-01 17:11:01 +02:00
Philip H. 72562dc660 Spelling in How_to_generate_an_bcrypt_hash.md (#1233) 2024-08-01 07:30:28 +02:00
kikawala 4ffa6b37de Spelling in How_to_generate_an_bcrypt_hash.md 2024-07-31 17:10:25 -05:00
Philip H. 1416613cc6 README.md: Reduce confusion in the readme 2024-07-30 17:57:15 +02:00
Philip H. a3c5cf359f remove PASSWORD env unused and replace by PASSWORD_HASH (#1229) 2024-07-30 17:47:18 +02:00
pheiduck d8a48aef29 remove PASSWORD env unused and replace by PASSWORD_HASH 2024-07-30 17:45:00 +02:00
NPM Update Bot 5dad038796 npm: package updates 2024-07-27 11:05:05 +00:00
Philip H. 63f49a20ed translations: Add missing Russian translations (#1219)
thank you @mcmimik!
2024-07-27 13:04:32 +02:00
Андрей 39949d2704 translations: Add missing Russian translations 2024-07-27 14:00:48 +03:00
Андрей 13fcccb2f2 translations: Add missing Russian translations 2024-07-27 13:50:18 +03:00
NPM Update Bot 200332df4b npm: package updates 2024-07-24 15:54:42 +00:00
Philip H. 3d0070f3f6 prepare: version bump and changelog (#1211) 2024-07-24 17:54:08 +02:00
pheiduck 14fd01f4d0 prepare: version bump and changelog
Signed-off-by: pheiduck <47042125+pheiduck@users.noreply.github.com>
2024-07-24 17:46:31 +02:00
Philip H. 52bcfb056a Get the version info inside the release object (#1208)
Fix "invalid reference format" in production Docker build
2024-07-23 07:47:07 +02:00
Dartegnian d5b8d707ef Get the version info inside the release object 2024-07-23 13:01:08 +08:00
Philip H. caad2e4162 fix: responsive buttons on mobile (#1206)
* fix: buttons on mobile
* fix: lint error with workspaces
* fix: redundant css
2024-07-22 13:49:46 +02:00
tetuaoro 3d376e542f fix: redundant css 2024-07-22 13:28:30 +02:00
tetuaoro 74372dc05d fix: lint error with workspaces 2024-07-22 13:05:18 +02:00
tetuaoro b46018efd8 fix: buttons on mobile 2024-07-22 12:44:53 +02:00
NPM Update Bot 2ef264d06f npm: package updates 2024-07-20 14:35:18 +00:00
Philip H. d23c5f7d01 Bugfix: Line Charts
Fixes: #1111
2024-07-20 16:34:46 +02:00
Sergei Birukov 73f2ad4ac3 Fix #1111 2024-07-20 17:20:54 +03:00
Philip H 5a075683c4 fix typo: How_to_generate_an_bcrypt_hash.md 2024-07-15 15:20:15 +02:00
Philip H c28e5befa6 feat: PASSWORD_HASH helpers (#1180)
* feat: generate PASSWORD_HASH on the fly

* remove PASSWORD environment variable in favor of PASSWORD_HASH
* enhance password validity check server function
* update Dockerfile to include building a binary for generating hashed password
* update README with comprehensive Docker usage instructions hash generation

* fix: try fix git action docker build

* Dockerfile: use alpine-base image and install required build packages

* rewrite in js

* move files

* fix: lint errors

* some corrections

---------

Co-authored-by: Philip H <47042125+pheiduck@users.noreply.github.com>
2024-07-15 10:32:38 +02:00
NPM Update Bot 42ad29b494 npm: package updates 2024-07-15 00:03:14 +00:00
tetuaoro 53dad56bb6 some corrections 2024-07-14 18:33:11 +02:00
tetuaoro f5d93f6c5a fix: lint errors 2024-07-14 18:09:13 +02:00
tetuaoro a9c798deda move files 2024-07-14 17:59:52 +02:00
tetuaoro 781d56d0ff Merge branch 'wgpassword_js' into wgpassword 2024-07-14 17:20:47 +02:00
tetuaoro 883ca34182 rewrite in js 2024-07-14 17:13:27 +02:00
Philip H cc5d45b833 Dockerfile: use alpine-base image and install required build packages 2024-07-14 16:43:53 +02:00
tetuaoro 8bfcb5d502 fix: try fix git action docker build 2024-07-12 22:39:26 +02:00
tetuaoro 9a19430dc8 feat: generate PASSWORD_HASH on the fly
* remove PASSWORD environment variable in favor of PASSWORD_HASH
* enhance password validity check server function
* update Dockerfile to include building a binary for generating hashed password
* update README with comprehensive Docker usage instructions hash generation
2024-07-12 21:24:09 +02:00
NPM Update Bot 62ea932d33 npm: package updates 2024-07-11 13:46:35 +00:00
Philip H be8a592072 refactor: optimize build config, factorize code, enhance SVG icons (#1174)
* focus on syncing configuration without shutting down current wg session
	refactor build configuration logic to optimize code structure
* enhance SVG icons for better visual appeal (https://github.com/wg-easy/wg-easy/pull/1166#issuecomment-2222418606)
* update the screenshot to reflect the latest UI changes
* fix: prevent logging private key during user creation
2024-07-11 15:45:58 +02:00
tetuaoro 9371b78a21 refactor: optimize build config, factorize code, enhance SVG icons
* focus on syncing configuration without shutting down current wg session
	refactor build configuration logic to optimize code structure
* enhance SVG icons for better visual appeal (https://github.com/wg-easy/wg-easy/pull/1166#issuecomment-2222418606)
* update the screenshot to reflect the latest UI changes
* fix: prevent logging private key during user creation
2024-07-11 12:58:25 +02:00
Philip H 4ba638c09c i18n.js: fix typo 2024-07-10 18:55:24 +02:00
NPM Update Bot 3ad2607515 npm: package updates 2024-07-10 16:49:35 +00:00
Philip H 7f05448a5d import & export configuration (#1161,#1166)
* fix: auto formatter

* Revert "i18n.js: german translation"

This reverts commit e4a7ff08c6.

* fix conficts

* feat: load configuration from file

* import json config file & update the config (restore)
* export the config and save it to json file (backup)

* fix: reload configuration

* run linter
* screenshot update

* feat: support more langs

* add translations for French, Spanish, and Italian
* change the wording for better understanding of this feature:
    - "import" to "restore"
    - "export" to "backup"
* rename functions to reflect these changes

* i18n.js: german translation

* npm: package updates

* fix: icons & buttons view

* update the viewBox of svg elements
* add cursor pointer when hover the restore button
* rebuild the css

---------

Co-authored-by: tetuaoro <tetuaoropro@gmail.com>
Co-authored-by: tetuaoro <65575727+tetuaoro@users.noreply.github.com>
2024-07-10 18:48:33 +02:00
Philip H c5b3bcd31d fix: icons & buttons view (#1167)
* update the viewBox of svg elements
* add cursor pointer when hover the restore button
* rebuild the css
2024-07-10 18:40:15 +02:00
tetuaoro 10d24fa04b fix: icons & buttons view
* update the viewBox of svg elements
* add cursor pointer when hover the restore button
* rebuild the css
2024-07-10 18:11:28 +02:00
Philip H 3dc83f9c25 start fix pr 1161 (#1165)
* feat: load configuration from file

* import json config file & update the config (restore)
* export the config and save it to json file (backup)

* fix: reload configuration

* run linter
* screenshot update

* feat: support more langs

* add translations for French, Spanish, and Italian
* change the wording for better understanding of this feature:
    - "import" to "restore"
    - "export" to "backup"
* rename functions to reflect these changes

* i18n.js: german translation

* npm: package updates

* Revert "import & export configuration"

* npm: package updates

* Revert "import & export configuration"

* fix: auto formatter

* Revert "i18n.js: german translation"

This reverts commit e4a7ff08c6.

* fix conficts

---------

Co-authored-by: Philip H <47042125+pheiduck@users.noreply.github.com>
Co-authored-by: NPM Update Bot <npmupbot@users.noreply.github.com>
2024-07-10 15:51:38 +02:00
Philip H 1a54a0b016 Merge branch 'imexport' into imexport 2024-07-10 15:49:42 +02:00
NPM Update Bot a0ed35fd76 npm: package updates 2024-07-10 15:46:36 +02:00
Philip H 8421e313b5 i18n.js: german translation 2024-07-10 15:46:36 +02:00
tetuaoro ce20bb7fcb feat: support more langs
* add translations for French, Spanish, and Italian
* change the wording for better understanding of this feature:
    - "import" to "restore"
    - "export" to "backup"
* rename functions to reflect these changes
2024-07-10 15:46:36 +02:00
tetuaoro e3ee09b755 fix: reload configuration
* run linter
* screenshot update
2024-07-10 15:46:36 +02:00
tetuaoro 03b7d8e537 feat: load configuration from file
* import json config file & update the config (restore)
* export the config and save it to json file (backup)
2024-07-10 15:46:36 +02:00
tetuaoro e7d4bbc12c Merge branch 'master' into imexport 2024-07-10 15:14:41 +02:00
tetuaoro 45087a9683 fix conficts 2024-07-10 15:01:39 +02:00
tetuaoro 39d32b0a1c Revert "i18n.js: german translation"
This reverts commit e4a7ff08c6.
2024-07-10 14:44:40 +02:00
tetuaoro f47e740861 fix: auto formatter 2024-07-10 14:34:57 +02:00
Philip H ba85c085ab Revert "import & export configuration" (#1163) 2024-07-10 13:12:56 +02:00
Philip H 9aafbd73d2 Revert "import & export configuration" 2024-07-10 12:51:45 +02:00
NPM Update Bot 9efac11680 npm: package updates 2024-07-10 10:49:29 +00:00
Philip H e5131fb707 Revert "import & export configuration" (#1162) 2024-07-10 12:48:50 +02:00
Philip H abdf96011e Revert "import & export configuration" 2024-07-10 12:44:59 +02:00
NPM Update Bot 8b2706e3c2 npm: package updates 2024-07-10 10:38:02 +00:00
Philip H 6fe197f4fd import & export configuration (#1161)
* feat: load configuration from file

* import json config file & update the config (restore)
* export the config and save it to json file (backup)

* fix: reload configuration

* run linter
* screenshot update

* feat: support more langs

* add translations for French, Spanish, and Italian
* change the wording for better understanding of this feature:
    - "import" to "restore"
    - "export" to "backup"
* rename functions to reflect these changes

* i18n.js: german translation

---------

Co-authored-by: Philip H <47042125+pheiduck@users.noreply.github.com>
2024-07-10 12:37:28 +02:00
Philip H e4a7ff08c6 i18n.js: german translation 2024-07-10 12:34:11 +02:00
tetuaoro 43b193b76d feat: support more langs
* add translations for French, Spanish, and Italian
* change the wording for better understanding of this feature:
    - "import" to "restore"
    - "export" to "backup"
* rename functions to reflect these changes
2024-07-10 12:06:25 +02:00
tetuaoro 4deca34faf fix: reload configuration
* run linter
* screenshot update
2024-07-09 19:49:40 +02:00
tetuaoro 72ba79b5f2 feat: load configuration from file
* import json config file & update the config (restore)
* export the config and save it to json file (backup)
2024-07-09 17:06:19 +02:00
NPM Update Bot 94d87681c3 npm: package updates 2024-07-09 15:01:53 +00:00
Philip H e3315d92c4 Fix a small typo in README.md (#1160)
Thank you @ThreadR-r!
2024-07-09 17:01:15 +02:00
Elian (ThreadR) Freyermuth a0c495ddad Fix a small typo in README.md
Changed from "Home Assistent" to "Home Assistant"
2024-07-09 14:11:07 +02:00
NPM Update Bot c73c6c7291 npm: package updates 2024-07-08 08:42:56 +00:00
Philip H 04d1ca18b7 Fix bcrypt hash one-liner (#1154)
Thank you @steviegalluscio!
2024-07-08 10:42:23 +02:00
Stevie Galluscio 438fc7ccf9 Fix bcrypt hash one-liner 2024-07-08 10:39:29 +02:00
Philip H a2c758dbcb How_to_generate_an_bcrypt_hash.md: macos homebrew 2024-07-07 19:15:57 +02:00
NPM Update Bot 6a588ee3fa npm: package updates 2024-07-07 17:13:42 +00:00
Philip H 378464a424 How_to_generate_an_bcrypt_hash.md: macos guide 2024-07-07 19:13:03 +02:00
Philip H 7ecf7b08b1 fixup: typos 2024-07-05 22:42:38 +02:00
Philip H cea9e9302d translations: Update Traditional Chinese translations (#1145)
Thank you @bluehomewu!
2024-07-04 19:02:19 +02:00
EdwardWu 11f5122c39 translations: Update Traditional Chinese translations
* Update strings closer than Taiwanese used.

Signed-off-by: EdwardWu <bluehome.wu@gmail.com>
2024-07-04 10:47:18 +08:00
NPM Update Bot ee117ddb91 npm: package updates 2024-07-01 00:03:23 +00:00
NPM Update Bot d3e8e627e9 npm: package updates 2024-06-28 10:37:56 +00:00
Philip H 864bb00d0b Enhance bcrypt doc: rename, add one-liner, usage info, and assert (#1138)
Thank you @mathys-lopinto!
2024-06-28 12:37:22 +02:00
Mathys Lopinto 7608f91913 Right README
Push the latest README.md
2024-06-27 21:06:15 +02:00
Mathys Lopinto 4d849fc508 Enhance bcrypt doc: rename, add one-liner, usage info, and assert
- Rename the file to a more readable name
- Add one-liner command for quick execution
- Include dedicated paragraph on using the output
- Implement assert to prevent bcrypt limitation issues
- Comment the python script
- Improves clarity and usability of bcrypt documentation
- Mention documentation file in docker-compose.yml and README.me file
2024-06-27 21:00:11 +02:00
NPM Update Bot 436ccac824 npm: package updates 2024-06-27 18:34:47 +00:00
Philip H b4ca454ec5 Add: Generate.bcrypt.hash.md (#1135)
Thank you @mathys-lopinto!
2024-06-27 20:34:05 +02:00
Philip H 8044c53815 add: Fedora and Arch Linux install guide 2024-06-27 10:18:09 +02:00
Philip H e7e374cfd7 comment: created by 2024-06-26 18:11:02 +02:00
Philip H 9afd549273 Add: Generate.bcrypt.hash.md
Thanks to: @mathys-lopinto
2024-06-26 13:03:14 +02:00
Philip H 6b67f20b6a build(deps): bump docker/build-push-action from 5 to 6 (#1134) 2024-06-24 10:34:41 +02:00
dependabot[bot] d31524a531 build(deps): bump docker/build-push-action from 5 to 6
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 5 to 6.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v5...v6)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-24 04:23:33 +00:00
NPM Update Bot 34c28805c4 npm: package updates 2024-06-24 00:04:04 +00:00
Philip H 9b6ac7cd8d docker-compose.yml: PASSWORD_HASH is replacing PASSWORD
in nightly and next releases
2024-06-20 16:15:10 +02:00
Philip H 3613d26d4a docker-compose.yml: fixup every single $ has to be $$ 2024-06-20 14:43:17 +02:00
Philip H ccacc5ea87 docker-compose.yml: refinements 2024-06-20 14:37:12 +02:00
Philip H bfd7ef9e46 docker-compose.yml: fixup use '' for hashed Password
otherwise docker think it is an env variable and set it to blank
2024-06-20 12:24:57 +02:00
NPM Update Bot 2f956248db npm: package updates 2024-06-20 09:46:37 +00:00
Philip H e0e2a6deba docker-compose.yml: add missing PASSWORD_HASH option (#1121) 2024-06-20 11:46:03 +02:00
Philip H 304506d26d docker-compose.yml: add missing PASSWORD_HASH option 2024-06-20 11:43:23 +02:00
Peter Lewis e0775c0d2e Merge pull request #1117 from wg-easy/peterlewis-patch-1
README refinements
2024-06-18 22:38:04 +01:00
Peter Lewis 8598a167ef Update README.md
Refinement
2024-06-18 22:30:28 +01:00
Philip H 6659785514 feat: introduce PASSWORD_HASH and deprecate PASSWORD (#1116)
Thank you @RobertHeim!
2024-06-18 22:50:57 +02:00
Robert Heim 34ae8e42f3 fix: lint errors 2024-06-18 22:30:55 +02:00
Robert Heim eaa4b1ebaa feat: introduce PASSWORD_HASH and deprecate PASSWORD 2024-06-18 20:17:00 +02:00
Philip H 72fbf1baf6 README.md: add docs for WG_CONFIG_PORT 2024-06-17 15:22:54 +02:00
Philip H 2a102eea93 deploy-development.yml: disable pull request
until we can deploy on other branches from contributors/authors
2024-06-16 19:02:32 +02:00
Philip H 85913b71ed CI: no cache-dependency-path
it's useless and can lead to confusion
2024-06-16 16:25:51 +02:00
NPM Update Bot 7d0e2729b6 npm: package updates 2024-06-16 14:14:58 +00:00
Philip H b5372f0dbc bring password hash back
users want to have this instead cleartext password. Mitigates security issues.
2024-06-16 16:14:19 +02:00
NPM Update Bot 390b72c94a npm: package updates 2024-06-10 00:03:26 +00:00
Philip H de22768079 config: Add support for custom client port configuration (#1090)
Thank you @adriy-be!
This will enable homeassistant support
2024-06-08 11:47:52 +02:00
Philip H 00acd1a07e config: Add support for custom client port configuration (#1080)
merge for testing (1)
2024-06-07 12:55:14 +02:00
adrien a082a40bf6 config: Add support for custom client port configuration
This commit introduces the ability to specify a custom port for the client
configuration. This feature is particularly useful when the WireGuard server
is behind a port forwarding setup, allowing clients to connect using the
correct port number.

With this change, users can now define the desired client port in the
configuration file, ensuring seamless connectivity even in scenarios where
the client's listening port differs from the standard WireGuard port.
2024-06-07 12:53:54 +02:00
Philip H 3d1e42c722 fix typo in Server.js (#1089)
Thank you @Max-42!
2024-06-07 09:04:58 +02:00
Max e6d2d95340 fix typo in Server.js 2024-06-06 23:01:39 +02:00
NPM Update Bot 1370141f03 npm: package updates 2024-06-06 15:21:02 +00:00
Philip H ac552e0384 Readme: Inform Podman users about cap-add=NET_RAW (#1085)
Thank you @iguanajuice!
2024-06-06 17:20:26 +02:00
iguanajuice ca737f9452 Inform Podman users about cap-add=NET_RAW 2024-06-04 01:17:05 -04:00
NPM Update Bot b60f0e9668 npm: package updates 2024-06-02 13:20:07 +00:00
Philip H 0e1ad23f17 Everyting owned by WeeJeWel 2024-06-02 15:19:29 +02:00
Philip H 3638e81718 Update CODEOWNERS 2024-05-30 15:28:13 +02:00
NPM Update Bot 44417d3db6 npm: package updates 2024-05-30 11:48:00 +00:00
Philip H e5e63c43e6 package.json: fixup license identifier 2024-05-30 13:47:24 +02:00
NPM Update Bot f06b7e00aa npm: package updates 2024-05-30 07:31:06 +00:00
Philip H 70d59d0fdd cdnjs: apexcharts.min.js 3.49.1 (#1081) 2024-05-30 09:30:29 +02:00
Philip H 332039de56 cdnjs: apexcharts.min.js 3.49.1 2024-05-30 09:24:58 +02:00
Philip H 5e015bfdb5 Security vulnerability patched and minor improvements (#1071)
Thank you so much @davide-acanfora!
2024-05-27 20:41:46 +02:00
davide-acanfora d2d15fca2a Path traversal vulnerability resolved 2024-05-27 20:25:00 +02:00
davide-acanfora c26b536b65 Remove unnecessary bcryptjs module usage 2024-05-27 20:25:00 +02:00
davide-acanfora 859dd2f25b Replace uuid module with built in crypto for UUIDv4 generation 2024-05-27 20:25:00 +02:00
davide-acanfora e80ff54ebc Don't print release number to anyone who visits the service 2024-05-27 20:25:00 +02:00
NPM Update Bot 4bfef3c0c0 npm: package updates 2024-05-27 00:03:06 +00:00
NPM Update Bot 93d9f0b6fe npm: package updates 2024-05-24 19:35:49 +00:00
Philip H 54236eb8b4 Documentation: image tags and UI_CHART_TYPE (#1057) 2024-05-24 21:35:11 +02:00
Philip H 8249b92a34 fixup: add UI_CHART_TYPE docs 2024-05-24 21:32:17 +02:00
Philip H 4cd5d5459a Documentation: docker image versions 2024-05-23 11:32:13 +02:00
NPM Update Bot 678cf5bffb npm: package updates 2024-05-23 07:46:21 +00:00
Philip H ad80017846 Dockerfile: remove unused parts
We expose ports another way
2024-05-23 09:45:37 +02:00
Philip H 975c61df6d fixup: desktop example iOS -> macOS 2024-05-20 12:52:18 +02:00
Philip H 211e0b6aa2 Update README.md 2024-05-18 14:13:03 +02:00
taohua 8df1b6ff54 Update config.js
should respect WG_PORT, not hard code 51820.
2024-05-18 14:13:03 +02:00
Philip H cf94b98482 fixup: Server.js for instance without docker (#1044)
patch for v13
2024-05-16 20:21:37 +02:00
NPM Update Bot 3844d04569 npm: package updates 2024-05-16 20:19:22 +02:00
Philip H 68c6f6252e fixup: Server.js for instance without docker
Some users can no longer access the Web UI since the release of v13.
2024-05-16 20:19:22 +02:00
Philip H 519f4efa20 Version 13: new framework, UI_CHART_TYPE, some bugfixes and more (#967)
Thanks to all contributors to get us able to release v13!
2024-05-13 20:44:16 +02:00
NPM Update Bot c6dd456a07 npm: package updates 2024-05-13 00:03:03 +00:00
NPM Update Bot a43d2201fc npm: package updates 2024-05-09 18:01:15 +00:00
Philip H 86146ccc68 Dockerfile: ensure to use latest npm cli 2024-05-09 20:00:36 +02:00
NPM Update Bot 191dd74b0c npm: package updates 2024-05-09 15:29:08 +00:00
Philip H e2eb7bc362 avoid warnings on ci
as we support nodejs latest lts version on instance without docker
2024-05-09 17:28:28 +02:00
NPM Update Bot b60461e917 npm: package updates 2024-05-09 11:21:47 +00:00
Philip H fb628bcb89 Update npm to patched version of latest nodejs lts 2024-05-09 13:21:09 +02:00
NPM Update Bot 195e307ff5 npm: package updates 2024-05-04 19:00:17 +00:00
Philip H e46efd6088 package.json: rollback nodejs 18
because of build hang on newer nodejs version stick to nodejs 18
2024-05-04 20:59:36 +02:00
NPM Update Bot 66bb13ed30 npm: package updates 2024-05-04 13:19:02 +00:00
Philip H. 34fdc313ae docker-compose: version is obsolete 2024-05-04 13:18:20 +00:00
NPM Update Bot 9b5b8c77c3 npm: package updates 2024-04-30 17:53:00 +00:00
Philip H 7d05a82dae Improved local development and Dockerfile (#1015)
Thanks @davide-acanfora
2024-04-30 19:52:20 +02:00
Philip H a25d28755c Improved local development and Dockerfile (#1014)
Thanks @davide-acanfora
2024-04-30 19:35:13 +02:00
davide-acanfora cada04ad0e Use the newer Docker Compose 2024-04-30 17:04:33 +02:00
davide-acanfora 6b2f57f2f1 Added nodemon as a dev dependency and removed unnecessary instructions from the Dockerfile 2024-04-30 17:03:48 +02:00
davide-acanfora 488e3c32b3 Fix typo in code comments 2024-04-30 17:00:53 +02:00
NPM Update Bot 4cc07c5312 npm: package updates 2024-04-29 00:03:04 +00:00
Philip H c5d328be2a fixup: Dockerfile 2024-04-27 18:55:06 +02:00
Philip H 155541fbdb fixup: add timeout otherwise it reports unhealthy 2024-04-27 18:44:05 +02:00
Philip H 3f763d2607 implement healthcheck into Dockerfile (#1009)
Thanks @CosasDePuma
2024-04-27 18:39:40 +02:00
Philip H f9656d0bfe healthcheck is integrated internally 2024-04-27 18:35:22 +02:00
Philip H 83408f6a9b add healthcheck into Dockerfile
Thanks @CosasDePuma
2024-04-27 18:34:20 +02:00
NPM Update Bot 4911082a34 npm: package updates 2024-04-27 16:19:23 +00:00
Philip H a3a69654fc docker-compose.yml: add healthcheck
Thanks @CosasDePuma
2024-04-27 18:18:51 +02:00
Philip H 4f8ee27d77 Create CODEOWNERS 2024-04-25 12:24:48 +02:00
NPM Update Bot 1e2da39a87 npm: package updates 2024-04-20 16:06:25 +00:00
Philip H e153998d29 Dockerfile: bump to nodejs 20 (#999) 2024-04-20 18:05:41 +02:00
Philip H 6b284cb27c Dockerfile: add note 2024-04-19 17:12:07 +02:00
Philip H e6db5e8b7f Dockerfile: missing operator 2024-04-19 17:12:07 +02:00
Philip H 6e7f2f730e Dockerfile: move all npm steps 2024-04-19 17:12:07 +02:00
Philip H c8224f34f9 Dockerfile: use nodejs 18 for build
workaround to get nodejs 20 working on older arm architectures
2024-04-19 17:12:07 +02:00
pheiduck 3032163814 bump to node 20 2024-04-19 17:12:07 +02:00
Philip H 2eec97ff25 Bugfix: differnt Ports usage (#973) 2024-04-19 17:11:50 +02:00
Philip H ae60493414 Merge branch 'master' into issue-972 2024-04-18 19:00:07 +02:00
Philip H e43688a091 npm: revert update-browserslist-db
is not needed
2024-04-18 18:50:29 +02:00
Philip H c29ba35d41 npm: update-browserslist-db 2024-04-18 18:47:52 +02:00
Peter Lewis a05b71c652 Update README.md
https://github.com/wg-easy/wg-easy/commit/2a3acdcad5b7c73feccdd47e4f3c5d743593e393#r141068572
2024-04-17 21:39:08 +01:00
Philip H e6b5f2e33c fixup: README 2024-04-17 19:22:07 +02:00
Philip H 187888e078 WireGuard.js: fixup ListenPort 2024-04-14 19:51:04 +02:00
Philip H f9daa3e5be Bugfix: differnt Ports usage 2024-04-14 19:51:04 +02:00
Philip H c2482f494a [combine] gitignore
Signed-off-by: Philip H <47042125+pheiduck@users.noreply.github.com>
2024-04-14 19:16:41 +02:00
Philip H ed369ff199 Revert "feat: cidr notation" (#969) 2024-04-06 15:21:41 +02:00
Philip H 2a3acdcad5 Merge branch 'master' into revert-888-feat-cidr-notation 2024-04-06 15:17:43 +02:00
Philip H 9be036aefa Merge branch 'production' into master 2024-04-05 19:04:13 +02:00
Philip H 9507454d3f [fixup] Grammar
Signed-off-by: Philip H <47042125+pheiduck@users.noreply.github.com>
2024-04-05 19:02:44 +02:00
Philip H 9e925c2ebb [prepare] version bump to 13 and updated changelog
Signed-off-by: Philip H <47042125+pheiduck@users.noreply.github.com>
2024-04-05 18:59:41 +02:00
Philip H 31c34367b2 Fix comment in docker-compose.yml (#960) 2024-04-03 12:34:28 +02:00
Michael van Tricht 990a7ae548 Fix comment in docker-compose.yml 2024-04-03 12:31:02 +02:00
Philip H 6dc75b7f1e i18n.js: complete words in Spanish (#956) 2024-04-01 23:39:35 +02:00
Rubén León 4868f32f1e i18n.js: complete words in Spanish 2024-04-01 23:16:57 +02:00
Philip H 61b57a885c README.md: make commands easier to copy 2024-04-01 18:04:29 +02:00
NPM Update Bot 074b3548d2 npm: package updates 2024-03-31 17:37:34 +00:00
Philip H 2dafeae54d Fix WG_DEFAULT_ADDRESS if not set (#951) 2024-03-31 19:36:57 +02:00
Philip H 2d7460f35a fix default WG_DEFAULT_ADDRESS issue (#948) 2024-03-31 19:32:22 +02:00
Utkarsh Goel 4981b72d00 fix unambiguous boolean operators 2024-03-27 22:23:37 +08:00
Utkarsh Goel 33634211a9 check for empty WG_DEFAULT_ADDRESS 2024-03-27 22:19:27 +08:00
Philip H 6045c2ada5 fix backward compatibility issue (#946) 2024-03-27 15:09:10 +01:00
Philip H bf214fb4d3 Revert "feat: cidr notation" 2024-03-27 14:41:31 +01:00
Philip H 9332e8b663 fix backward compatibility issue (#945)
in #888
fixes #943
2024-03-27 14:33:18 +01:00
Utkarsh Goel dbbfdd5357 Add backward compatibility for WG_DEFAULT_ADDRESS 2024-03-27 21:27:43 +08:00
NPM Update Bot cb63d5c67f npm: package updates 2024-03-26 16:40:32 +00:00
Philip H 3fce6e8d1d feat: cidr notation (#888) 2024-03-26 17:39:56 +01:00
Philip H 2f9364aa31 wg-easy.service: add missing WG_DEFAULT_ADDRESS_RANGE 2024-03-25 18:31:06 +01:00
Philip H 479c51d741 WG_DEFAULT_ADDRESS_RANGE / is not needed 2024-03-25 17:18:14 +01:00
Philip H 196cb63c6e README.md: add WG_DEFAULT_ADDRESS_RANGE 2024-03-25 17:15:30 +01:00
Philip H d024018bba fix cidr block calculation issue, fix post down config (#939)
Thanks for your work @utkarsh867!
2024-03-25 16:54:22 +01:00
Utkarsh Goel 5cdacd6cc3 Fix CIDR block calculation issue, fix POST_DOWN config 2024-03-25 23:28:36 +08:00
Philip H. fe7d77e481 fixup: packages 2024-03-23 20:34:43 +00:00
Philip H 6c0049770e Merge branch 'master' into feat-cidr-notation 2024-03-23 21:30:52 +01:00
Philip H f134a3671a fix: add Content-Type header for static files (#933) 2024-03-23 20:15:20 +01:00
cany748 8d00c5456a fix: add Content-Type header for static files 2024-03-23 19:37:33 +01:00
NPM Update Bot c2829d79e0 npm: package updates 2024-03-23 18:36:33 +00:00
Philip H ac47789561 revert: Workaround CVE-2023-42282
newest images have updated ip package
2024-03-23 19:35:58 +01:00
NPM Update Bot 5afb701013 npm: package updates 2024-03-21 10:42:32 +00:00
Philip H 81cae5e231 Use one command for updating with Docker Compose (#929) 2024-03-21 11:42:00 +01:00
Edgars 6c567d0082 Use one command for updating with Docker Compose
`README.md` was updated to use a one-liner to update WireGuard Easy with
Docker Compose.
A note about image tag was added to avoid confusion when one is
specified in Compose file and it is other than `latest`, as that would
result in no pull and no WireGuard Easy container recreation.
2024-03-21 09:02:08 +02:00
NPM Update Bot 62703ffbd6 npm: package updates 2024-03-20 12:38:50 +00:00
Philip H 19589e7ee7 refactor!: migrate from express to h3 (#914) 2024-03-20 13:38:14 +01:00
NPM Update Bot d40536c3fb npm: package updates 2024-03-19 21:10:54 +00:00
Philip H f979d23704 Add Chart and Auto/Light/Dark mode toggles (#925)
A banging contribution from @suxscribe. Many thanks!
2024-03-19 22:10:22 +01:00
Philip H 99c8081fe9 Add Chart and Auto/Light/Dark mode toggles (#924) 2024-03-19 21:24:14 +01:00
suxscribe 1c98e466c6 Merge branch 'feat-stats' into feat-toggles 2024-03-19 18:34:41 +03:00
Philip H 953a67bbdd fixup: Server.js 2024-03-19 14:18:29 +01:00
Philip H 5fbfb26937 fixup: Server.js 2024-03-19 14:16:44 +01:00
Philip H 74f3e2f320 fixup: Server.js 2024-03-19 14:11:03 +01:00
Philip H c107920df2 Merge branch 'master' into feat-h3 2024-03-19 14:09:42 +01:00
NPM Update Bot e666a14612 npm: package updates 2024-03-19 12:54:01 +00:00
Philip H a7ecb2a067 Fix TX/RX charts. Add UI_CHART_TYPE (#915) 2024-03-19 13:53:28 +01:00
Philip H 88b1b20e48 docker-compose.yml: add UI_CHART_TYPE 2024-03-18 21:25:08 +01:00
Sergei Birukov ac6a05f9be Fix lint errors 2024-03-18 21:25:08 +01:00
Sergei Birukov 262318df27 Disable debug 2024-03-18 21:25:08 +01:00
Sergei Birukov 98a5daf458 Fix charts on mobile 2024-03-18 21:25:08 +01:00
Sergei Birukov 71c208133d Remove .env from repo 2024-03-18 21:25:08 +01:00
Sergei Birukov aedb691b2b Fix traffic charts. Add chart vars
Add UI_TRAFFIC_STATS, UI_CHART_TYPE
2024-03-18 21:25:08 +01:00
Philip H ed0e46788a Update deploy.yml 2024-03-18 21:25:08 +01:00
Philip H 90bcdd1259 deploy.yml: rebuild v11
mistake
2024-03-18 21:25:08 +01:00
Sergei Birukov 81ccf8762d Header mobile layout 2024-03-18 10:05:12 +03:00
NPM Update Bot 90431ff9c5 npm: package updates 2024-03-18 00:03:46 +00:00
Sergei Birukov 32fc78589a Lint 2024-03-17 20:38:21 +03:00
Sergei Birukov f3a8ff6490 Add dark/light mode toggle. Add chart toggle
Change dark/light mode detection
Add saving uiShowCharts to local storage
Add saving uiTheme to local storage
Add ui buttons
2024-03-17 20:38:21 +03:00
Philip H f7bd362538 fixup: Server.js 2024-03-15 15:23:12 +01:00
Philip H 44cc5683d4 Merge branch 'master' into feat-h3 2024-03-15 15:22:17 +01:00
Philip H 4d5a5c9e0d docker-compose.yml: add UI_CHART_TYPE 2024-03-15 15:20:35 +01:00
Sergei Birukov 12b72cf389 Fix lint errors 2024-03-15 15:20:35 +01:00
Sergei Birukov ccde2fdfd3 Disable debug 2024-03-15 15:20:35 +01:00
Sergei Birukov 166a58a685 Fix charts on mobile 2024-03-15 15:20:35 +01:00
Sergei Birukov 73242c61c3 Remove .env from repo 2024-03-15 15:20:35 +01:00
Sergei Birukov 3d11730926 Fix traffic charts. Add chart vars
Add UI_TRAFFIC_STATS, UI_CHART_TYPE
2024-03-15 15:20:35 +01:00
Philip H 8ce2d44c08 Update deploy.yml 2024-03-15 15:20:35 +01:00
Philip H 3cb83dc53a deploy.yml: rebuild v11
mistake
2024-03-15 15:20:35 +01:00
NPM Update Bot e2242daef1 npm: package updates 2024-03-15 14:18:17 +00:00
Philip H ee5a2c6c5a Server.js: remove cookie setting
Proxy is recommended else use only internally
2024-03-15 15:17:41 +01:00
Philip H 68187e07a1 Merge branch 'master' into feat-cidr-notation 2024-03-14 13:49:26 +01:00
Philip H. 7596385d5a fixup: lint errors and uninstall express 2024-03-14 12:18:47 +00:00
Philip H 6c4eb522a6 Update README.md 2024-03-14 09:37:50 +01:00
Philip H 9a35b56f5c Update README.md 2024-03-14 09:33:08 +01:00
Philip H. 10f246ea59 fixup: Server.js 2024-03-14 08:19:29 +00:00
Philip H. 3f2495a0ea fixup: UI_TRAFFIC_STATS 2024-03-14 08:14:52 +00:00
Philip H. b7c2c81cc7 fixup: lint errors 2024-03-14 08:05:09 +00:00
Philip H b3306bee48 refactor!: migrate from express to h3 (#880) 2024-03-14 09:00:38 +01:00
Philip H 064e264ce8 Server.js: add missing ')' 2024-03-14 08:59:31 +01:00
Philip H 08c412fd14 Server.js: remove white-space 2024-03-14 08:57:38 +01:00
Philip H 8c771b054c Server.js: add UI_TRAFFIC_STATS 2024-03-14 08:55:15 +01:00
Philip H e9480a5ed5 fixup Server.js: even to master 2024-03-14 08:50:31 +01:00
Philip H 1a3cff855e Merge branch 'feat-h3' into master 2024-03-14 08:48:53 +01:00
Philip H f0ec8e45a0 i18n.js: add Hindi language translation (#902) 2024-03-13 18:55:40 +01:00
Rahil Bhimjiani d91f08eb1b i18n.js: add Hindi language translation
Signed-off-by: Rahil Bhimjiani <me@rahil.rocks>
2024-03-13 18:52:25 +01:00
Philip H 17fdb3396f Add setup and update instructions for Compose (#901) 2024-03-13 18:52:06 +01:00
Edgars 2f5878d406 Add setup and update instructions for Compose
`README.md` was updated to provide installation and update instructions
for Docker Compose as well.
2024-03-13 18:49:49 +01:00
NPM Update Bot 4dc439f041 npm: package updates 2024-03-13 17:49:02 +00:00
Philip H f69aa9dc65 PR: Build Docker images (#912) 2024-03-13 18:48:32 +01:00
Philip H 11a56ffdc5 needed for testing on our test branches 2024-03-13 13:12:16 +01:00
Philip H bad7bff98e Update deploy-pr.yml 2024-03-13 13:09:32 +01:00
Philip H a4c3bf0291 PR: Build Docker images
Signed-off-by: Philip H <47042125+pheiduck@users.noreply.github.com>
2024-03-13 13:05:08 +01:00
Philip H b37f85edea [update] package.json and changelog to current release 12
Signed-off-by: Philip H <47042125+pheiduck@users.noreply.github.com>
2024-03-12 19:19:46 +01:00
Philip H 2ffb68eeb2 [update] package.json and changelog to current release 12
Signed-off-by: Philip H <47042125+pheiduck@users.noreply.github.com>
2024-03-12 18:46:50 +01:00
Philip H 303f8847fe Version 12: Big feature update (#891)
* UI_TRAFFIC_STATS
* Import json configurations with no PreShared-Key
* allow clients with no privateKey
* Reduce Docker image size
* Added Thai language
* Added Italian language. Updated supported languages list
List see: https://github.com/wg-easy/wg-easy/milestone/1?closed=1
2024-03-12 16:51:07 +01:00
NPM Update Bot 2d683678b0 npm: package updates 2024-03-11 15:34:20 +00:00
Philip H df882770ad deploy-development.yml: able to deploy dev up on pull request 2024-03-11 16:33:48 +01:00
NPM Update Bot e408e4bba2 npm: package updates 2024-03-11 00:02:41 +00:00
NPM Update Bot b4930b386c npm: package updates 2024-03-09 17:22:18 +00:00
Philip H a9cd3071c8 npm-update-bot.yml: check for updates every monday 2024-03-09 18:21:44 +01:00
NPM Update Bot 925a47d15a npm: package updates 2024-03-06 16:04:24 +00:00
Philip H 3621bdebad feat: no private key (#887)
Thank you @willtho89!
2024-03-06 17:03:33 +01:00
Philip H a36ab8891e fixup: WireGuard.js 2024-03-06 16:43:07 +01:00
Philip H 5ee284b973 fixup: WireGuard.js 2024-03-05 19:35:38 +01:00
Philip H 754b5f29af fixup: WireGuard.js
well I was on the client side so I hope I get all stuff fixed now.
2024-03-05 19:29:14 +01:00
Philip H 84b2b61d63 Merge branch 'master' into feat-cidr-notation 2024-03-05 18:39:15 +01:00
Philip H 86f23cd1d3 config.js: formatting 2024-03-05 18:37:28 +01:00
Philip H 63faf4c507 fixup: WireGuard.js 2024-03-05 18:24:42 +01:00
Philip H 76a3d7f81d fixing stuff and formating 2024-03-05 18:15:42 +01:00
Philip H bbc919608c Update docker-compose.yml 2024-03-05 17:57:49 +01:00
Philip H 2f89765112 WireGuard.js: fixup undefined CIDR 2024-03-05 17:56:13 +01:00
Thomas Willems cb45bc1c43 update ip package to 2.0.1 2024-03-05 16:58:19 +01:00
Thomas Willems c4d4da38e7 correct CIDR notation 2024-03-05 16:58:19 +01:00
Thomas Willems 89415a2258 refactor to support CIDR and legacy notation
for WG_DEFAULT_ADDRESS
2024-03-05 16:58:19 +01:00
Thomas Willems 577af9947d introduce WG_DEFAULT_ADDRESS_RANGE (CIDR notation)
This PR allows the use of Address Ranges using the CIDR notation.

To make it backward compatible, i introduced a new env variable WG_DEFAULT_ADDRESS_RANGE (defaults to the previous default of 24).

This allows the usage of smaller subnets (or possibly larger; but i didn't test that due to restrictions on my network). Client IPs will be calculated with correct IP addresses instead of making assumptions of the address space.
2024-03-05 16:58:19 +01:00
Philip H 3a4564a508 Import json configurations with no PreShared-Key (#763)
Thank you @t-oster!
2024-03-05 16:13:40 +01:00
Thomas Willems 19c83de975 add .is-disabled 2024-03-04 21:40:17 +01:00
Thomas Willems 76c713499d allow clients with no privateKey
see https://github.com/wg-easy/wg-easy/discussions/791

I disabled the download from the frontend.
If someone tries to manually call the API, the privateKey block is set to "REPLACE_ME" to indicate that this value must be set manually.
2024-03-04 21:39:57 +01:00
NPM Update Bot b90941715c npm: package updates 2024-03-04 21:38:22 +01:00
Philip H ef8093311c allow clients with no privateKey (#793)
Thank you @willtho89!
2024-03-04 21:28:04 +01:00
Thomas Willems 80cb585560 fix lint error 2024-03-04 17:46:39 +01:00
Florian Rattay e9e8d47858 Import json configurations with no PreShared-Key 2024-03-03 11:52:37 +01:00
NPM Update Bot b9f037fae1 npm: package updates 2024-03-03 00:13:03 +00:00
Philip H ce1af6d691 Merge branch 'feat-no-privateKey' into feat/clients-without-privatekey 2024-03-02 14:12:38 +01:00
Philip H 04e6f50ac7 feat: graceful shutdown (#862)
Thank you @samart45!
2024-03-01 14:27:39 +01:00
Philip H a6d092dd87 fixup: lint errors 2024-03-01 14:26:13 +01:00
Chanchai 6604e44ea3 feat: support graceful shutdown 2024-03-01 14:26:13 +01:00
Philip H f603d6b5da Add UI_TRAFFIC_STATS (#873)
Thank you @suxscribe!
2024-03-01 14:25:40 +01:00
Philip H 1a6e5e3ea7 Update README.md 2024-03-01 14:24:38 +01:00
Philip H 6eaa00d620 Merge branch 'master' into feat-stats 2024-03-01 14:23:29 +01:00
Philip H 18d774b598 Reduce Docker image size (#883)
Thank you @davide-acanfora!
2024-03-01 14:22:20 +01:00
davide-acanfora 50add72345 Reduce docker image size 2024-03-01 14:20:28 +01:00
Philip H bd3652c184 Added Thai language. (#881)
Thank you @samart45!
2024-03-01 14:19:59 +01:00
Philip H 9a3f6b0544 Merge branch 'master' into feature/added-thai-language 2024-03-01 14:17:43 +01:00
NPM Update Bot 075c13bfc2 npm: package updates 2024-03-01 13:13:09 +00:00
Philip H 51cbc114c5 Added Italian language. Updated supported languages list (#874)
Thank you @davide-acanfora!
2024-03-01 14:12:37 +01:00
davide-acanfora a6767cafb2 Added Italian language. Updated supported languages list 2024-03-01 14:10:16 +01:00
Chanchai d3864bb065 update readme 2024-03-01 14:10:01 +01:00
Chanchai 811ac30fd3 update Thai language 2024-03-01 14:10:01 +01:00
Chanchai 58435fe972 Added Thai language 2024-03-01 14:10:01 +01:00
NPM Update Bot 9ca88e18af npm: package updates 2024-03-01 00:13:45 +00:00
NPM Update Bot c733ef410d npm: package updates 2024-02-29 00:11:47 +00:00
cany748 7efdbf38e4 fix: revert ServerError.js 2024-02-28 16:27:33 +07:00
cany748 e8a160b14f refactor!: migrate from express to h3 2024-02-28 15:48:09 +07:00
NPM Update Bot f963e7a4d1 npm: package updates 2024-02-28 00:11:32 +00:00
Philip H e942ebd577 app.css: revert version modification 2024-02-27 21:33:53 +01:00
Philip H a8be9f3994 Fix simple stats wrapping on mobile (#876) 2024-02-27 20:55:42 +01:00
Sergei Birukov 7d19b74845 Fix simple stats wrapping on mobile 2024-02-27 20:03:43 +03:00
Philip H 00956ecf74 Merge branch 'feat-no-privateKey' into feat/clients-without-privatekey 2024-02-26 10:47:43 +01:00
NPM Update Bot 1d7e11e11f npm: package updates 2024-02-26 00:12:23 +00:00
Peter Lewis ebc5173bd0 usage -> traffic 2024-02-25 22:02:53 +00:00
Peter Lewis 117d713ee1 fix regression 2024-02-25 21:48:33 +00:00
Peter Lewis f6b0085c1b fix regression 2024-02-25 21:47:56 +00:00
Peter Lewis a40dbe130e detailed -> usage 2024-02-25 21:42:51 +00:00
Peter Lewis a4da7421c8 Merge remote-tracking branch 'origin/feat-stats' into feat-stats 2024-02-25 21:40:10 +00:00
Peter Lewis 0444940303 Merge pull request #872 from suxscribe/feat-update-client-layout
Fix detailed stats 3
2024-02-25 19:54:56 +00:00
NPM Update Bot 97b8819834 npm: package updates 2024-02-25 00:13:05 +00:00
Sergei Birukov 2c05b7989f Align stats to the right on mobile 2024-02-22 21:01:01 +03:00
Philip H b6484518f4 wg-easy.service: remove double '+' 2024-02-22 18:14:29 +01:00
Philip H fbfaaa4f67 update ApexCharts to v3.46.0 (#867) 2024-02-22 16:27:40 +01:00
NPM Update Bot 6d99128040 npm: package updates 2024-02-22 15:21:18 +00:00
Philip H d734445184 Fix Gravatar support (#865)
Thank you @sardaukar!
2024-02-22 16:20:45 +01:00
Philip H db2dc8959b Added Ukrainian language (#871)
Thank you @Loudhot!
2024-02-22 16:17:59 +01:00
Philip H 392ca86df7 Added Ukrainian language (#870)
Thank you @Loudhot!
2024-02-22 16:14:42 +01:00
Loudhot ff7254ffcf Update docker-compose.yml
Added Ukrainian language
2024-02-22 17:55:17 +03:00
Loudhot 0a2c06a386 Update i18n.js 2024-02-22 15:36:27 +03:00
Loudhot 5a0a9c7333 Update i18n.js
Added Ukrainian language
2024-02-22 03:52:31 +03:00
NPM Update Bot 3fcd74ec3e npm: package updates 2024-02-22 00:11:48 +00:00
pheiduck 511e6140fc update ApexCharts to v3.46.0 2024-02-21 20:34:06 +01:00
Bruno Antunes d12c81e51f Forgot to trim the string 2024-02-21 10:33:30 +00:00
Bruno Antunes f61b187402 Fix Gravatar support 2024-02-21 10:23:53 +00:00
Philip H 3b6353df06 Add Simplified Chinese & Traditional Chinese Language (#863)
Thank you @nashi23!
2024-02-21 10:28:21 +01:00
NPM Update Bot 1412f63dfa npm: package updates 2024-02-21 09:25:10 +00:00
Philip H 3c03ff8aee Add Simplified Chinese & Traditional Chinese Language (#860)
Thank you @nashi23!
2024-02-21 10:24:38 +01:00
Philip H a951f0eb26 i18n.js: fixup remove trailing space 2024-02-21 10:22:57 +01:00
nashi23 e4f9a37933 Add Simplified Chinese & Traditional Chinese Language 2024-02-21 16:47:45 +08:00
NPM Update Bot afaaa2bd0e npm: package updates 2024-02-21 00:12:01 +00:00
Philip H ecd8176d83 Add Portuguese Language (#858)
Thank you @RuiRibeiro-P4L!
2024-02-20 13:40:52 +01:00
Philip H 91c08e2ce9 Updated pt language reference on docker-compose (#857) 2024-02-20 13:38:27 +01:00
NPM Update Bot 4b543edec5 npm: package updates 2024-02-20 12:37:34 +00:00
Philip H f5c7d6b1d5 Added Portuguese Language (#856)
Thank you @RuiRibeiro-P4L!
2024-02-20 13:36:58 +01:00
Rui Ribeiro 93bf84c84e Updated pt language reference on docker-compose.yml 2024-02-20 11:37:51 +00:00
Rui Ribeiro ca508549ca Added Portuguese Language
Added Portuguese Language
2024-02-20 09:57:10 +00:00
NPM Update Bot 76c6792904 npm: package updates 2024-02-20 00:11:59 +00:00
Philip H 11be3791c4 adds Dutch & Icelandic language (#855)
Thank you @deffcolony and @AlexVeeBee!
2024-02-19 18:52:07 +01:00
Philip H 8ebdd2669a adds Dutch & Icelandic language (#854)
Thank you @deffcolony and @AlexVeeBee!
2024-02-19 18:48:50 +01:00
deffcolony 30ba579517 adds Dutch & Icelandic language
+ added Dutch language
+ added Icelandic language by @alexveebee

Co-Authored-By: Alex <75509525+alexveebee@users.noreply.github.com>
2024-02-19 18:28:16 +01:00
Philip H a285ae3d43 Add Vietnamese language (#853)
Thank you @quyvsquy!
2024-02-19 12:42:16 +01:00
Philip H 675925d636 Add Vietnamese language (#851) 2024-02-19 12:38:16 +01:00
Philip H 264eb078ca fixup: Missing trailing comma 2024-02-19 12:36:11 +01:00
Quy Dang Quoc 30367ee32b Add Vietnamese language 2024-02-19 17:04:56 +07:00
Philip H 86630a7966 Update dependabot.yml 2024-02-19 07:06:18 +01:00
Philip H c7f3d14c73 Correct Korean language typo (#850) 2024-02-19 06:29:21 +01:00
Philip H 6ac69c8eab Correct Korean language typo (#849)
Update i18n.js
2024-02-19 06:27:00 +01:00
jkh0kr 69513770e9 Update i18n.js
Correct Korean language typo
2024-02-19 11:18:23 +09:00
Philip H cd347bd068 Workaround CVE-2023-42282 (#848)
Security Patch:
GHSA-78xj-cgh5-2h22
2024-02-18 22:59:00 +01:00
NPM Update Bot cc19f82a19 npm: package updates 2024-02-18 21:56:07 +00:00
Philip H 252882a41c Workaround CVE-2023-42282 (#847) 2024-02-18 22:55:32 +01:00
Philip H 00dc29c1ac Workaround CVE-2023-42282 2024-02-18 22:42:27 +01:00
Philip H 4b6b58b31a fixup: changelog.json (#845) 2024-02-17 20:42:43 +01:00
Philip H 73ee920072 fixup: changelog.json 2024-02-17 20:40:03 +01:00
Philip H ca7a6c00cc Fix detailed stats 2 (#844) 2024-02-17 20:38:59 +01:00
Sergei Birukov c47ade71cc Fix some bugs
json error
update css
some refactoring for getUiDetailedStats
2024-02-17 21:48:43 +03:00
Philip H d7d515cdce Fix detailed stats #843 from suxscribe/feat-update-client-layout 2024-02-17 16:02:01 +01:00
Sergei Birukov a4049acdb6 Wrap layout on <640px 2024-02-17 17:47:52 +03:00
Sergei Birukov a522a442ae Change layout wrapping. Fix last seen 2024-02-17 15:22:43 +03:00
Peter Lewis 4a7700bfb8 Merge pull request #834 from suxscribe/feat-update-client-layout
Show total RX/TX data for each client in UI
2024-02-16 21:57:55 +00:00
Philip H 80310bfd95 Version 11: multilanguage support & various bugfixes (#782) 2024-02-15 23:11:36 +01:00
NPM Update Bot 6670176c48 npm: package updates 2024-02-15 00:12:05 +00:00
Sergei Birukov 081e3eef75 Update Readme and docker-compose 2024-02-14 22:06:30 +03:00
NPM Update Bot 257be24edf npm: package updates 2024-02-14 00:12:09 +00:00
Sergei Birukov 45147ee7c4 Fix lint errors 2024-02-13 19:30:34 +03:00
Sergei Birukov fa392cf260 Add UI_DETAILED_STATS variable
Show detailed RX / TX stats when UI_DETAILED_STATS = true
Add api method to get UI_DETAILED_STATS value on frontend
2024-02-13 12:53:32 +03:00
NPM Update Bot 14e97c8d86 npm: package updates 2024-02-13 09:20:33 +00:00
Philip H 2e792cb962 Add Korean language (#833)
Thank you @jkh0kr!
2024-02-13 10:19:51 +01:00
jkh0kr 4b53c3d755 Update i18n.js
Add Korean language
2024-02-13 11:19:42 +09:00
NPM Update Bot 9fb0b2b760 npm: package updates 2024-02-13 00:12:36 +00:00
Sergei Birukov a1fdc610ad Merge branch 'master' into feat-update-client-layout 2024-02-12 17:30:45 +03:00
Philip H cebc5de579 Add Spanish language (#831)
Thank you @amarqz!
2024-02-12 11:18:16 +01:00
amarqz e190544c50 Add Spanish language 2024-02-12 11:11:06 +01:00
NPM Update Bot d386bed476 npm: package updates 2024-02-12 00:12:28 +00:00
Philip H 0196c03e53 Add catalan language (#826)
Thank you @Guillembonet!
2024-02-09 12:15:25 +01:00
Guillem Bonet 7b91dd678e Add catalan language
Signed-off-by: Guillem Bonet <guillem.bonet@gmail.com>
2024-02-09 10:01:34 +01:00
NPM Update Bot 7cd64c3511 npm: package updates 2024-02-08 00:11:38 +00:00
NPM Update Bot c7a30f4245 npm: package updates 2024-02-07 00:11:50 +00:00
Sergei Birukov 5b2a9308f5 Update client list layout and show total client RX/TX
Update client layout to show current and total rx/tx values in columns.
Update tablet and mobile layout
2024-02-06 17:45:33 +03:00
NPM Update Bot d7b5f4d100 npm: package updates 2024-02-06 00:12:12 +00:00
Philip H f2727e64a7 CI: restrict workflows to only run on owner repository (#817) 2024-02-04 22:56:40 +01:00
pheiduck 6788d98d9d CI: restrict workflows to only run on owner repository 2024-02-04 22:54:34 +01:00
NPM Update Bot d0e0e6a415 npm: package updates 2024-02-04 00:13:18 +00:00
NPM Update Bot eec94a3b4e npm: package updates 2024-02-03 23:30:30 +00:00
Philip H 111426b1cb dependabot.yml: for github-actions updates 2024-02-04 00:29:58 +01:00
NPM Update Bot 0f07244bb4 npm: package updates 2024-02-02 21:21:49 +00:00
Peter Lewis 3ee2260714 Merge pull request #806 from wg-easy/fix/newline
Fix/newline
2024-02-02 21:21:17 +00:00
Peter Lewis 660d77d63b Merge pull request #800 from minghongx/rm-newline-char
Remove redundant newline char in generated client configuration
2024-02-02 20:58:13 +00:00
NPM Update Bot 946eb6004e npm: package updates 2024-02-02 00:11:51 +00:00
Minghong Xu 648594733c fixup: interface is a reserved word in strict mode 2024-01-31 03:50:53 +00:00
Thomas Willems 4aa6f99b04 rename is-disabled to inactive 2024-01-30 21:28:46 +01:00
Thomas Willems 20ae02dd48 add .is-disabled 2024-01-30 21:27:05 +01:00
Thomas Willems c7cc3eca4a allow clients with no privateKey
see https://github.com/wg-easy/wg-easy/discussions/791

I disabled the download from the frontend.
If someone tries to manually call the API, the privateKey block is set to "REPLACE_ME" to indicate that this value must be set manually.
2024-01-30 21:27:02 +01:00
Minghong Xu 8aafe6b8c9 WireGuard.js: remove redundant newline char in client config generation 2024-01-30 06:59:19 +00:00
NPM Update Bot bfd281fc9f npm: package updates 2024-01-29 20:05:05 +00:00
Philip H c54e4d6c7c index.html: logo on loginpage (#798) 2024-01-29 21:04:34 +01:00
Philip H 98fb6f724d fixup: index.html 2024-01-29 16:55:29 +01:00
Philip H 518f8fd811 fixup: index.html 2024-01-29 16:48:32 +01:00
Philip H 8dbc882a11 index.html: logo on loginpage 2024-01-29 16:38:20 +01:00
Philip H 4f3479c89e stale.yml: revert to 100 ops otherwise some of them are skipped 2024-01-29 15:58:52 +01:00
NPM Update Bot 79f1b88534 npm: package updates 2024-01-29 00:12:15 +00:00
NPM Update Bot 3b42a3522b npm: package updates 2024-01-27 00:11:33 +00:00
NPM Update Bot a9e01b2677 npm: package updates 2024-01-26 00:53:14 +00:00
Peter Lewis 1ed6449ea7 Update stale.yml
#416
2024-01-24 21:35:16 +00:00
NPM Update Bot 599a7a07e0 npm: package updates 2024-01-22 21:05:23 +00:00
pheiduck dc83434253 update changelog for v11 2024-01-22 22:04:44 +01:00
Philip H c3044f16e8 README.md: -e LANG=de --> -e LANG=de \
fix typo in install guide (thanks to @fabiantreu)
Closes: https://github.com/wg-easy/wg-easy/issues/783
2024-01-22 01:44:48 +01:00
Philip H 9bf3e9482f Merge branch 'production' into master 2024-01-21 15:33:07 +01:00
Philip H cab3391da8 .gitignore: add vim swap file 2024-01-21 00:20:08 +01:00
Philip H 45c637027b add wg-easy.service for wg-easy setup without docker 2024-01-20 23:33:20 +01:00
NPM Update Bot 19a2e5fc93 npm: package updates 2024-01-20 00:55:57 +00:00
NPM Update Bot d9458f8f5c npm: package updates 2024-01-19 09:48:06 +00:00
Philip H 9f151a7b4d apexcharts.min.js: v3.45.1 (#779) 2024-01-19 10:47:37 +01:00
Philip H 9ab2c7672b apexcharts.min.js: v3.45.1 2024-01-19 10:43:43 +01:00
Philip H d0ac22a111 vue-i18n.min.js: v8.28.2 (#777) 2024-01-19 10:22:07 +01:00
Philip H 3dbb5bd7e8 vue-i18n.min.js: v8.28.2 2024-01-19 10:11:46 +01:00
Philip H 3ae9072686 hotfix: load language before session is initialized (#778) 2024-01-19 09:46:27 +01:00
Philip H. 9346dda2e5 fixup: lint error 2024-01-19 08:44:28 +00:00
pheiduck a182efb443 load language before session 2024-01-19 09:35:35 +01:00
Philip H 3dae5d64fd add multilanguage support (#769)
Thank you @cany748!
2024-01-19 08:39:59 +01:00
Philip H 8810a4fa79 add which languages are supported currently 2024-01-19 08:38:01 +01:00
Philip H 1bfbd4720a revert deploy-development.yml
was for testing
2024-01-19 08:29:49 +01:00
Philip H 187c3ee007 deploy-development.yml: set release number for testing
will be disabled after testing
2024-01-19 08:09:28 +01:00
Philip H 85cf905bfb index.html: use app.css (#775) 2024-01-19 06:46:08 +01:00
Philip H 7e4a3b3347 index.html: use app.css 2024-01-19 06:39:57 +01:00
Philip H a13fba16da update: app.css to match latest tailwindcss version (#774) 2024-01-19 06:21:31 +01:00
Philip H. 2df3e6cb42 update: app.css to match latest tailwindcss version 2024-01-19 05:15:12 +00:00
Philip H 21ce36c116 vue.min.js: cleanup note 2024-01-18 18:51:20 +01:00
Philip H 138a951aab vue.min.js: v2.7.16 (#772) 2024-01-18 18:43:16 +01:00
Philip H 77edd697e4 vue.min.js: v2.7.16 2024-01-18 18:38:16 +01:00
pheiduck 710771ac16 add instruction how to change the web ui language 2024-01-18 15:03:33 +01:00
Philip H 3435b1bd73 add multilanguage support and add russian language (#278) from cany748 2024-01-18 14:28:20 +01:00
NPM Update Bot 7ed1572970 npm: package updates 2024-01-16 00:56:20 +00:00
Alexander f7e8ad1fb5 Merge branch 'multilanguage_support' into master 2024-01-15 16:50:13 +07:00
NPM Update Bot 4b834b5276 npm: package updates 2024-01-15 00:58:37 +00:00
NPM Update Bot 8cd52231b5 npm: package updates 2024-01-13 00:55:52 +00:00
Philip H 910ce7052e Update licensing in Production build (#757) 2024-01-12 00:17:31 +01:00
Philip H c09fc32f76 Rename LICENSE.md to LICENSE 2024-01-12 00:14:53 +01:00
Philip H ed73f2b03d Rename LICENSE.md to LICENSE 2024-01-12 00:11:42 +01:00
Peter Lewis 61680cc05b No changes to app, just updating licensing to reflect the current. 2024-01-11 22:16:17 +00:00
Peter Lewis af44a82780 Update index.html
Remove errant `</p>`
2024-01-11 22:15:19 +00:00
Peter Lewis 7ce1af2f49 Merge pull request #756 from wg-easy/wip/licensing
LICENSE based on CC BY-NC-SA 4.0
2024-01-11 22:11:33 +00:00
Peter Lewis ac672e4922 Merge pull request #756 from wg-easy/wip/licensing
LICENSE based on CC BY-NC-SA 4.0
2024-01-11 22:05:26 +00:00
Peter Lewis d51ee147ea Update index.html
Remove duplicate GitHub link
2024-01-11 22:03:02 +00:00
Peter Lewis a8d6bac37f Update index.html 2024-01-11 21:59:54 +00:00
Peter Lewis 3c296189cf Update LICENSE.md 2024-01-11 21:59:10 +00:00
NPM Update Bot 1dcc8a2be8 npm: package updates 2024-01-11 21:39:21 +00:00
Peter Lewis 0e0b1b0320 Merge pull request #753 from wg-easy/revert-749-wip/licensing
Revert "LICENSE based on CC BY-NC-SA 4.0"
2024-01-11 21:38:51 +00:00
Peter Lewis 371e01aec6 Revert "LICENSE based on CC BY-NC-SA 4.0" 2024-01-11 21:37:15 +00:00
Philip H 4e10d6b3fb Add Contributing Guidelines (#741) 2024-01-11 18:33:27 +01:00
Philip H d78066f44b LICENSE based on CC BY-NC-SA 4.0 (#749) 2024-01-11 18:31:28 +01:00
Philip H 505717c443 Update LICENSE: CC BY-NC-SA 4.0
Suggested by @WeeJeWel internally
2024-01-11 18:26:43 +01:00
Philip H 135554523d Update LICENSE to AGPLv3
was GPLv3 by misstake
2024-01-11 17:23:22 +01:00
Philip H ca7dc4cd37 Delete LICENSE.md 2024-01-11 16:59:21 +01:00
Philip H e1c472bd22 Create LICENSE based on AGPLv3 2024-01-11 16:57:30 +01:00
Philip H e0bab37305 Merge pull request #744 from wg-easy/ci/stale
stale.yml: do 5 operation per run
2024-01-10 13:56:03 +01:00
Philip H c2e64329af stale.yml: do 5 operation per run
[Best practices for using the REST API](https://docs.github.com/en/rest/using-the-rest-api/best-practices-for-using-the-rest-api?apiVersion=2022-11-28)
2024-01-10 12:54:46 +01:00
Peter Lewis 039c605e9c Merge pull request #743 from wg-easy/master
Update README.md
2024-01-10 11:38:31 +00:00
Peter Lewis 1e228997e4 Update README.md
Dark mode no longer WIP!
2024-01-10 11:37:13 +00:00
Philip H 032ef54798 Version 10: Dark mode & sessionless auth (#691)
Version 10 release, including:

Fixed issue when running on Synology NAS
Added sessionless HTTP API auth (with thanks to @James-Stokes)
Automatic dark mode (with thanks to @goodbyepavlyi)
Version bumps
Code refinement (that feels like it's only a small step up from saying "bug fixes")
2024-01-10 10:50:25 +01:00
NPM Update Bot 044897ce33 npm: package updates 2024-01-10 00:56:42 +00:00
Philip H 037be99a8f stale.yml: update to v9 (#740)
[Release Notes](https://github.com/actions/stale/releases/tag/v9)
2024-01-09 10:14:04 +01:00
Alexander 7ba2ed6368 Merge branch 'master' into master 2024-01-09 12:49:34 +07:00
NPM Update Bot ecc461ddbd npm: package updates 2024-01-09 00:56:30 +00:00
Peter Lewis 87dde42b68 Merge pull request #389 from JohannesBe/master 2024-01-08 21:51:27 +00:00
Philip H 5e50dfb918 contributing.md: remove stackoverflow link 2024-01-07 20:06:43 +01:00
Philip H. 0e548a3b32 Add Contributing Guidelines 2024-01-07 18:59:38 +00:00
Philip H 8ee6ae86cb stale.yml: update to v9
https://github.com/actions/stale/releases/tag/v9
2024-01-07 15:44:01 +01:00
Philip H 7989d0e3c4 deploy-nightly.yml: Release number is not provieded (#738)
Remove unused: `Set environment variables` Step on deploy-nightly CI
2024-01-07 13:38:09 +01:00
NPM Update Bot e8ff6848f5 npm: package updates 2024-01-07 01:00:38 +00:00
Philip H 93324072d3 deploy-nightly.yml: Release number is not provieded
Remove unused: `Set environment variables` Step on deploy-nightly CI
2024-01-06 23:02:27 +01:00
NPM Update Bot c849d5b522 npm: package updates 2024-01-06 00:54:47 +00:00
Philip H 50fdc14e2b npm-update-bot.yml: cleanup 2024-01-05 19:14:25 +01:00
JohannesB 83b7825aff Don't 'update the cache' and tell apk to use 'no cache' at the same time; it makes no sense. 2024-01-05 10:15:24 +01:00
Philip H 500d349892 npm-update-bot.yml: always checkout to master branch 2024-01-05 10:00:22 +01:00
NPM Update Bot 1c6eb65385 npm: package updates 2024-01-05 08:57:58 +00:00
Philip H 8a2f405daa npm-update-bot.yml: always checkout to 'wg-easy/wg-easy' 2024-01-05 09:57:30 +01:00
Philip H cea05caa53 npm-update-bot.yml: revert: only push on master from wg-easy 2024-01-05 09:53:14 +01:00
Philip H 924e0b0353 npm-update-bot.yml: add git checkout master 2024-01-05 00:44:13 +01:00
Philip H 8d8dd516dd npm-update-bot.yml: fixup clone 'wg-easy/wg-easy' 2024-01-05 00:01:28 +01:00
Philip H e39eef2a37 npm-update-bot.yml: only push on master from wg-easy 2024-01-04 16:52:35 +01:00
Philip H 280fc9f095 npm-update-bot.yml: only push to master of wg-easy/wg-easy 2024-01-04 15:19:29 +01:00
Philip H 6fa24b3391 fixup de: naming update 2024-01-03 23:48:45 +01:00
NPM Update Bot d9ef36321b npm: package updates 2024-01-03 22:38:43 +00:00
Philip H cacf5f3c02 fixup de language: Login = Anmelden, Logout = Abmelden 2024-01-03 23:38:14 +01:00
Peter Lewis 1d4e56b665 Update README.md
https://github.com/wg-easy/wg-easy/issues/486
2024-01-03 21:45:18 +00:00
NPM Update Bot 423c7c64e1 npm: package updates 2024-01-02 00:53:58 +00:00
Peter Lewis 5e9b6ffcca Merge pull request #720 from wg-easy/peterlewis-patch-1 2024-01-01 07:52:48 +00:00
Peter Lewis 1d919ed1e4 Update README.md
Update to provide further detail on setting `WG_DEFAULT_DNS` to blank value.
2024-01-01 07:51:12 +00:00
Philip H 75180f953d Dockerfile: --omit=dev newer flag for —production
Dependency types to omit from the installation tree on disk. Will make the image a bit smaller and build take less time.
2023-12-31 16:43:11 +01:00
Philip H 046b05eac4 revert: custom interface (#714)
Reverts #700
2023-12-30 21:56:29 +01:00
Peter Lewis 0f0c83e35d Update LICENSE.md
Added "Limitation of Liability" from [AGPL](https://www.gnu.org/licenses/agpl-3.0.en.html)
2023-12-30 19:15:56 +00:00
Peter Lewis 6c8da24a45 Update README.md
Sessionless state auth is indeed a 'feature' but as to whether or not it needs to be included under 'Features' is another question... :) Most would consider it a "given" (thanks @pheiduck for enlightening me further).
2023-12-30 19:11:33 +00:00
Philip H d16ed82290 WireGuard.js: revert to ' + WG_DEVICE + ' 2023-12-30 20:10:13 +01:00
Philip H. e1dfc0ff19 revert: custom interface PR: #700 2023-12-30 18:35:37 +00:00
Peter Lewis 2eb276a836 Update tailwind.config.js
Fixed missing `media` (replacing an errant `class`) for auto dark mode
2023-12-30 12:49:08 +00:00
Peter Lewis 7900ca1e80 Merge pull request #712 from wg-easy/revert/port
Revert port variable-isation *inside* container
2023-12-30 09:09:13 +00:00
Peter Lewis 92baf712da Update README 2023-12-30 08:48:30 +00:00
Peter Lewis b09ee3ec4f Revert variable-isation 2023-12-30 08:48:21 +00:00
Peter Lewis 4c7aa0fd1a Revert variable-isation 2023-12-30 08:46:56 +00:00
NPM Update Bot 1a878d6fd6 npm: package updates 2023-12-30 00:53:22 +00:00
Philip H. e3fd6cf8b4 fixup: bcrypt implementation 2023-12-29 15:43:26 +00:00
Philip H 96420d6f51 config.js: fixup WG_INTERFACE 2023-12-26 15:52:45 +01:00
Philip H 01bcfa3ebe Add custom port and interface (#700) 2023-12-26 14:41:54 +01:00
NPM Update Bot 883d047b8e npm: package updates 2023-12-26 12:50:39 +00:00
Philip H 1dc4c03b08 Merge pull request #706 from wg-easy/use_internal_eslint
use of internal eslint as external updated eslint introduces dependency
2023-12-26 13:50:08 +01:00
Philip H. d52b4ffbc8 use of internal eslint as external updated eslint introduces dependency warnings 2023-12-26 12:42:13 +00:00
Peter Lewis e1a30cb30b further populate .gitignore 2023-12-26 07:17:46 +00:00
NPM Update Bot 5196c413e9 npm: package updates 2023-12-26 00:53:31 +00:00
Philip H 7f44fa0500 Remove blank spaces (#703)
Thank you! @astounds
2023-12-25 14:07:21 +01:00
NPM Update Bot 50d7883933 npm: package updates 2023-12-25 13:00:42 +00:00
Philip H f586c76602 revert: install eslint as dev-package (#705)
as its needed for eslint-config-athom: see: https://github.com/athombv/eslint-config-athom?tab=readme-ov-file#usage
2023-12-25 14:00:10 +01:00
Astound c99c9375b2 Remove blank spaces 2023-12-25 06:48:20 +08:00
Philip H. 627651658f revert: install eslint as dev-package 2023-12-24 14:50:43 +00:00
Philip H a73dbcc8e2 WireGuard.js: fixup lint errors 2023-12-24 15:09:03 +01:00
Philip H fe3e3004ad config.js: fixup lint errors 2023-12-24 15:08:05 +01:00
Comet1903 71284317b7 update readme.md 2023-12-24 01:40:11 +01:00
Comet1903 52fa781f13 Merge remote-tracking branch 'upstream/master' into add-custom-port-and-interface 2023-12-24 01:21:26 +01:00
Comet1903 6e08e5a824 add custom port and interface 2023-12-24 01:19:06 +01:00
Philip H bf1b4df69f Dockerfile: revert --production 2023-12-22 17:38:36 +01:00
Philip H 0bf439c018 Dockerfile: use npm ci --production
get rid of npm config set -g command, its not realy needed
2023-12-22 16:45:43 +01:00
Philip H c772427d4a Merge branch 'production' into master 2023-12-22 11:34:03 +01:00
Peter Lewis 2273243c6d Update README.md
Given that the README is taken from master branch, this aims to clarify that dark mode and auth tweaks are WIP and only available in `nightly`.
2023-12-22 08:36:11 +00:00
Peter Lewis a7347aec99 Merge pull request #696 from wg-easy/iptables-fix
Version 9: Fix issue running on older kernels
2023-12-22 08:26:07 +00:00
Peter Lewis 969d2ad07c Made iptables comment more accurate
Made iptables comment a more accurate reflection on what is being done.
2023-12-22 08:15:27 +00:00
Peter Lewis 2720d7e2b4 Update Dockerfile 2023-12-22 08:14:34 +00:00
Alexander 7d7a2ff8d7 Merge branch 'master' into master 2023-12-22 14:29:38 +07:00
Peter Lewis 14c855c71c Update changelog.json 2023-12-22 06:26:09 +00:00
Peter Lewis 65c1e73b85 Update changelog.json 2023-12-22 06:25:38 +00:00
Peter Lewis 8567a655b6 Update changelog.json 2023-12-22 06:19:17 +00:00
NPM Update Bot d02293bd04 npm: package updates 2023-12-22 06:19:03 +00:00
Peter Lewis 3a406ec59d Bump version 2023-12-22 06:18:35 +00:00
Peter Lewis be786e0a33 Update VERSION 2023-12-22 06:08:20 +00:00
Peter Lewis 48d66f3546 Add Synology fix 2023-12-22 06:07:17 +00:00
Peter Lewis c4d27b8d4d Merge pull request #693 from wg-easy/revert/fixed-mtu
config.js: revert fixed MTU 1420
2023-12-21 22:37:39 +00:00
Peter Lewis c67f1cf5b5 Update deploy-development.yml 2023-12-21 22:17:13 +00:00
Peter Lewis f6fa7a3b6e Update Dockerfile 2023-12-21 22:15:24 +00:00
Philip H 291cd3325b config.js: revert fixed MTU 1420 2023-12-21 22:14:57 +01:00
NPM Update Bot a7b0d35fcc npm: package updates 2023-12-21 21:05:31 +00:00
Philip H. d4dc8f490a Fix versioning in package.json
Fix versioning in package.json to align to its move upstream.
2023-12-21 21:04:34 +00:00
NPM Update Bot 17cf8de2c4 npm: package updates 2023-12-21 20:57:07 +00:00
Peter Lewis faf3372c22 Fix versioning in package.json
Fix versioning in package.json to align to its move upstream.
2023-12-21 20:56:33 +00:00
Peter Lewis a8616097a3 Update changelog.json
Pondering far-too-long over whether to end with a full-stop or exclamation mark.
2023-12-21 20:45:05 +00:00
Peter Lewis 7d710d0e85 Update changelog.json
Fixes > Fixed
2023-12-21 20:43:17 +00:00
Peter Lewis e403e713fa Update changelog.json 2023-12-21 20:42:50 +00:00
Peter Lewis d8e58b69bb Update nightly to actually deploy nightly
Midnight on the nose (or 5 minutes either side, if we're following GitHub documentation) feels a suitably memorable delinator, in terms of knowing when new nightly builds are landing!
2023-12-21 20:36:47 +00:00
Peter Lewis 22a38baf7d Remove versioning from nightly build 2023-12-21 20:33:28 +00:00
Philip H d46c11954b Fix: iptables cannot be executed correctly on certain environments (#690) 2023-12-21 21:24:07 +01:00
Peter Lewis f1a7c65bb0 Merge pull request #689 from wg-easy/master
Merge from master
2023-12-21 19:56:24 +00:00
Peter Lewis 7a97b799ac add dpkg 2023-12-21 19:53:30 +00:00
Peter Lewis 7c52810476 Rename to make action more clearer 2023-12-21 19:52:20 +00:00
Peter Lewis 66c79b6740 Update deploy-development.yml 2023-12-21 19:52:04 +00:00
Peter Lewis 35bb2e2adf Rename to make action more clearer 2023-12-21 19:51:17 +00:00
Peter Lewis 80f619aa1d Update Dockerfile 2023-12-21 19:48:49 +00:00
Peter Lewis 1a2a8740cc Add Development GitHub Action 2023-12-21 19:46:31 +00:00
Philip H e2339a4a9d Merge pull request #688 from wg-easy/cleanup
remove npm config set and notes
2023-12-21 20:22:20 +01:00
Peter Lewis 8f0e92715e Rename deploy-development.yml to deploy-nightly.yml 2023-12-21 18:41:57 +00:00
Philip H 35386d0792 Revert Dockerfile: switch from iptables to iptables-legacy
it's need some more development
2023-12-21 19:35:36 +01:00
Philip H. f27f1f89bd remove npm config 2023-12-21 18:25:14 +00:00
Philip H 6ff6115e98 Dockerfile: fixup symlink of iptables 2023-12-21 19:18:46 +01:00
Philip H 10089cf622 Dockerfile: separate Symlink task 2023-12-21 19:15:02 +01:00
Philip H e42a9c4062 Dockerfile: use iptables-legacy and symlink to iptables (#687) 2023-12-21 19:09:33 +01:00
Philip H 95038b7d5e Dockerfile: use iptables-legacy and symlink to iptables 2023-12-21 18:57:58 +01:00
Peter Lewis 849436d6a4 Change ‘Toggleable’ to ‘Automatic’
Change ‘Toggleable’ to ‘Automatic’ to reflect current behaviour.
2023-12-21 17:43:44 +00:00
Peter Lewis abe7e45bc7 Revert Dockerfile: switch from iptables to iptables-legacy 2023-12-21 17:11:54 +00:00
Philip H 42920996f8 Merge pull request #685 from wg-easy/rebase-pheiduck
Rebase from pheiduck
2023-12-21 18:03:23 +01:00
Peter Lewis 113e1f172e Rename deploy-stable.yml to deploy.yml
This should fix that repeated error.
2023-12-21 16:55:50 +00:00
Peter Lewis 5c26b4997d CI: use master as reference 2023-12-21 16:15:21 +00:00
Philip H. d588e01017 CI: use master as reference 2023-12-21 16:12:31 +00:00
Peter Lewis b9ccbb6353 Merge pull request #686 from wg-easy/auto-darkmode
Add auto dark mode and remove toggle
2023-12-21 16:06:06 +00:00
Philip H ae15e1a563 deploy-stable.yml: remove whitespace 2023-12-21 17:01:34 +01:00
Peter Lewis f3e926eabc Update index.html
Switch to using `media` for dark mode.
2023-12-21 16:00:40 +00:00
Philip H. b059ace86b Dockerfile: switch from iptables to iptables-legacy 2023-12-21 15:56:57 +00:00
Philip H. 6aad72296c fixup: lint errors 2023-12-21 15:47:09 +00:00
Philip H. 9a93f82314 CI: use versioned actions and node-version 18 to match with package.json 2023-12-21 15:45:22 +00:00
Peter Lewis 8f644873e7 WeeJeWel > Emile 2023-12-21 14:31:59 +00:00
Peter Lewis 7049bc89fd missed nodemon 2023-12-21 14:30:19 +00:00
Peter Lewis aa939d876c Merge remote-tracking branch 'pheiduck/main' into rebase-pheiduck 2023-12-21 14:25:54 +00:00
Alexander 26d60e5ee6 Merge branch 'wg-easy:master' into master 2023-12-21 19:57:05 +07:00
Philip H 7198490427 Merge branch 'production' into main 2023-12-20 12:33:08 +01:00
NPM Update Bot ccf58444b1 npm: package updates 2023-12-20 00:26:43 +00:00
Philip H a1a132e25f Updates: Dockerfile and npm packages (#57)
- manage node updates via major version
- get rid of checksum to always pull latest node.js image
- npm package updates
2023-12-19 12:33:52 +01:00
Emile Nijssen 83ac4ff4cf Update stale.yml 2023-12-19 11:54:05 +01:00
Alexander 3ee12e2a6a Merge branch 'master' into master 2023-12-19 14:06:57 +07:00
NPM Update Bot 80d6aefcae npm: package updates 2023-12-19 00:32:57 +00:00
Emile Nijssen 1e6e8d25a4 Update stale.yml 2023-12-18 22:08:41 +01:00
Emile Nijssen 4fd7665bca Update stale.yml 2023-12-18 22:08:31 +01:00
Emile Nijssen 87ecf50a73 Update stale.yml 2023-12-18 22:03:28 +01:00
Emile Nijssen 8732bf7ecb Update stale.yml 2023-12-18 22:00:57 +01:00
Emile Nijssen 250e1e051e Update stale.yml 2023-12-18 21:57:49 +01:00
Emile Nijssen 84c99defc5 Create stale.yml 2023-12-18 21:52:59 +01:00
Emile Nijssen d492b334d8 Merge branch 'master' into production 2023-12-18 21:41:56 +01:00
Emile Nijssen 12c69ee949 node v20 → v18 2023-12-18 21:41:51 +01:00
Philip H 554503c0d3 Dockerfile: pull always latest image of specific node version 2023-12-18 13:03:50 +01:00
Emile Nijssen df36c6560a Merge branch 'master' into production 2023-12-17 23:00:35 +01:00
Emile Nijssen 94d0016674 release 8 2023-12-17 22:59:30 +01:00
Emile Nijssen f316b6b775 Merge branch 'master' into production 2023-12-17 22:56:14 +01:00
Emile Nijssen 7decb5907d rename 2023-12-17 22:56:09 +01:00
Emile Nijssen 0d1bd2011c fix badges 2023-12-17 22:55:44 +01:00
Emile Nijssen 3cc88ceb0e update lint to node 20 2023-12-17 22:47:14 +01:00
Emile Nijssen ca8f577d6a Merge branch 'master' into production 2023-12-17 22:45:41 +01:00
Emile Nijssen 106387f71a update packages 2023-12-17 22:44:47 +01:00
Emile Nijssen 024abce7e5 update to node v20 2023-12-17 22:42:40 +01:00
Emile Nijssen c2432a17a9 node 14 → node 20 2023-12-17 22:39:15 +01:00
Emile Nijssen a89ff96d37 weejewel → wg-easy 2023-12-17 22:37:34 +01:00
Emile Nijssen 0bdb43c2f5 wip 2023-12-17 22:31:58 +01:00
Emile Nijssen f06ca2663b wip 2023-12-17 22:27:27 +01:00
Emile Nijssen fb56bb94ac wip 2023-12-17 22:23:04 +01:00
Emile Nijssen ba8c18ceaf Update deploy.yml 2023-12-17 22:19:52 +01:00
Philip H 3202b868b8 Server.js: expiryDate prevents login (#56) 2023-12-17 18:34:24 +01:00
Philip H d1f00b140b Server.js: expiryDate prevents login 2023-12-17 18:32:04 +01:00
Philip H 8d88549d02 Server.js: expiryDate prevents login 2023-12-17 18:31:31 +01:00
Philip H 3986deec5f release 12 and patch 1.0.3: (#45) and (#54) 2023-12-17 13:29:25 +01:00
pheiduck 275513c95f release 12 and patch 1.0.3: https://github.com/pheiduck/wg-easy/commit/b334931027058aad2c37a1b9ed95ce0f988d1704 2023-12-17 13:25:03 +01:00
Philip H 6264ff9de1 Revert "small changes" 2023-12-17 12:41:50 +01:00
NPM Update Bot b5b4b9e817 npm: package updates 2023-12-17 12:41:18 +01:00
Philip H 219073b534 Dockerfile: iptables is missing on alpine 3.19 2023-12-17 12:16:48 +01:00
NPM Update Bot e137419617 npm: package updates 2023-12-15 00:33:18 +00:00
Philip H. c56c2a0c40 Dockerfile: update node18 checksum 2023-12-12 18:04:54 +00:00
NPM Update Bot 5be4238ae6 npm: package updates 2023-12-12 00:33:16 +00:00
NPM Update Bot 0a17c414bf npm: package updates 2023-12-11 00:33:44 +00:00
Philip H da94b5f6a3 npm-update-bot.yml: install ncu quiet 2023-12-09 23:19:18 +01:00
Philip H. 218ad867cf CI: cache package-lock.json 2023-12-09 14:00:04 +00:00
Philip H. 2ced701309 src/package.json: add description 2023-12-05 20:37:18 +00:00
NPM Update Bot 3caaa1c483 npm: package updates 2023-12-05 07:32:19 +00:00
Philip H. 145a994349 npm: ncu to update package.json as well 2023-12-05 07:31:12 +00:00
NPM Update Bot 406ba304d8 npm: package updates 2023-12-05 00:33:08 +00:00
Philip H. 2a775d4bf7 fixup: Prototype-polluting assignment (medium) 2023-12-03 11:50:14 +00:00
Philip H 9408b732a2 index.html: replace md5 with sha512 2023-12-03 12:34:18 +01:00
Philip H ce75e3db61 fixup: add sha512.min.js (#52) 2023-12-03 11:53:02 +01:00
Philip H. cb91b06b88 fixup: add sha512.min.js 2023-12-03 10:50:41 +00:00
Philip H. 206033a731 fixup: Prototype-polluting assignment (medium) 2023-12-03 10:21:43 +00:00
Philip H c73e64c9c4 set expiryDate for session (#50) 2023-12-03 10:50:11 +01:00
Philip H. 7d755f033b session will be expire in 1 hour 2023-12-03 09:06:06 +00:00
Philip H 150125aa68 fixup: some security stuff (#49) 2023-12-03 09:55:15 +01:00
Philip H. 35144b34c2 fixup: some security stuff 2023-12-03 08:53:54 +00:00
Philip H f1cafc3f09 fixup Server.js: revert secure: true
Clear text transmission of sensitive cookie (medium)
needs rework for better fix
2023-12-02 23:49:41 +01:00
Philip H 4c7d763d24 fixes: security stuff (#47)
Insecure randomness (high)
gravatar: md5 insecure hash algorithm (high)
Clear text transmission of sensitive cookie (medium)
2023-12-02 22:59:30 +01:00
Philip H 8d3e355591 lint.yml: remove legacy-peer-deps 2023-12-02 17:22:30 +01:00
NPM Update Bot 22da2ec243 npm: package updates 2023-12-02 16:19:46 +00:00
Philip H. 5b27a1696d package.json: uninstall eslint from package-base 2023-12-02 16:19:02 +00:00
Philip H. 59181ba3d8 Dockerfile: update node18 checksum 2023-12-02 15:08:38 +00:00
Philip H 746576693f Dockerfile: readd legacy-peer-deps
disable during debuging
2023-12-02 14:12:06 +01:00
Philip H. e5f4fb4e90 fixup: require('bcryptjs') 2023-12-02 13:07:21 +00:00
NPM Update Bot 5c2df2e8b5 npm: package updates 2023-12-02 13:01:50 +00:00
Philip H. b9db8c9cd6 use: bcryptjs 2023-12-02 13:01:20 +00:00
NPM Update Bot 53cd99a3b9 npm: package updates 2023-12-02 12:45:24 +00:00
Philip H e95754edc0 fixup: Dockerfile
remove legacy-peer-deps flag
2023-12-02 13:44:59 +01:00
NPM Update Bot 312812d815 npm: package updates 2023-12-01 21:48:46 +00:00
Philip H 268681d6b5 changelog: release 12 2023-12-01 22:48:03 +01:00
Philip H de9eebd827 [Feature] Add Darkmode 🌚 (#13)
part_2 for version 12
2023-12-01 18:11:45 +01:00
Philip H. 3257d22233 patch: src/package-lock.json 2023-12-01 17:06:03 +00:00
Philip H 02a13049cb Merge branch 'main' into darkmode 2023-12-01 18:01:52 +01:00
Philip H 6e7f8d516f Support for sessionless HTTP API authentication 🔒 (#23)
part_1 for version 12
2023-12-01 17:22:13 +01:00
Philip H a0a3f4bcb3 Merge branch 'main' into darkmode 2023-12-01 17:19:21 +01:00
Philip H. c1ab294ca2 npm: package updates 2023-12-01 16:18:02 +00:00
Philip H a6d79c5b9e Merge branch 'main' into sessionless_http_auth 2023-12-01 17:15:23 +01:00
Philip H. 2c4c3fd5c5 npm: package updates 2023-12-01 14:39:31 +00:00
Philip H. 0924b5b564 Dockerfile: update node18 checksum 2023-12-01 11:03:40 +00:00
NPM Update Bot 723794177a npm: package updates 2023-12-01 00:35:46 +00:00
Philip H. a27ec4e201 npm: set global config 2023-11-26 13:45:04 +00:00
Philip H 950b13a88a Dockerfile: separate run for npm config 2023-11-25 18:06:25 +01:00
Philip H. 23405243c8 Dockerfile: update node18 checksum 2023-11-22 16:55:50 +00:00
NPM Update Bot b7667a7a18 npm: package updates 2023-11-22 00:33:59 +00:00
Philip H. bf956e3ae8 Support for sessionless HTTP API authentication 2023-11-21 20:06:55 +00:00
Philip H. b56c49c99a CI: add step description 2023-11-19 16:40:08 +00:00
Philip H. b8a77bf2d8 CI: cache npm 2023-11-19 16:33:45 +00:00
goodbyepavlyi 042168f0bb Add Darkmode 2023-11-19 16:10:19 +00:00
Philip H e967522f88 lint.yml: append: --legacy-peer-deps 2023-11-19 16:59:09 +01:00
Philip H. 3d6c49dbdb CI: use current nodejs 2023-11-19 15:54:30 +00:00
Philip H 31f15aa216 Dockerfile: clean build
--legacy-peer-deps will be use on build time, to get clean builds
deps will be updated normal anyway
2023-11-19 15:05:07 +01:00
Philip H. 739d049a1b patch: --legacy-peer-deps should be a temporary solution 2023-11-19 13:57:55 +00:00
Philip H f32ab0446e Dockerfile: --legacy-peer-deps 2023-11-19 12:06:52 +01:00
Philip H 07b1571f6b Merge branch 'production' into main 2023-11-19 11:35:14 +01:00
NPM Update Bot f8f9edb7d8 npm: package updates 2023-11-19 10:12:46 +00:00
Philip H 0006c854cc npm-update-bot.yml: handle legacy peer dependencies 2023-11-19 11:12:24 +01:00
NPM Update Bot 24560f460b npm: package updates 2023-11-19 10:05:20 +00:00
Philip H f37c9b6da2 npm: update legacy peer dependencies 2023-11-19 10:04:46 +00:00
Philip H 39692c140d npm-update-bot.yml: change user email 2023-11-18 10:58:32 +01:00
NPM Update Bot 96c93e3f8f npm: package updates 2023-11-18 01:08:51 +00:00
Philip H e9610e1c17 npm-update-bot.yml: nub > npmupbot 2023-11-16 19:57:12 +00:00
NPM Update Bot a0b23c6a9a npm: package updates 2023-11-16 19:57:12 +00:00
Philip H. 6d3036b19c rm: mergify 2023-11-16 19:57:12 +00:00
Philip H 92f4e51e55 docker-compose.yml: add WG_PERSISTENT_KEEPALIVE 2023-11-16 19:57:12 +00:00
Philip H ca9d75ffbc config.js: if not set use wireguard default mtu 2023-11-16 19:57:12 +00:00
Philip H 58cb448316 Dockerfile: in npm 8.x and above use --omit=dev flag 2023-11-16 19:57:12 +00:00
Philip H c2b9cd46bb Revert "fixup: Determine interface of default network rather than assume eth0" 2023-11-16 19:57:12 +00:00
Philip H bab00ef967 npm-update-bot.yml: uses the internal update checker 2023-11-16 19:57:12 +00:00
Chris Debenham e227c9ea41 Determine interface of default network rather than assume eth0
fixup: import child_process before package.json
2023-11-16 19:57:12 +00:00
Philip H 09fcaa39c3 deploy-development.yml: does not use release tag 2023-11-16 19:57:12 +00:00
Philip H. f86b1cacee CI: adjust cronjobs 2023-11-16 19:57:12 +00:00
Philip H 784e1f1258 npm-update-bot.yml: keep node-lts up-to-date 2023-11-16 19:57:12 +00:00
Philip H 7ba6a13aec lint.yml: keep node-lts up-to-date 2023-11-16 19:57:12 +00:00
Philip H 1d6d253067 New NPM Update Bot 🤖 (#25) 2023-11-16 19:57:12 +00:00
Philip H d0e0f5be3d package-lock.json: 1.0.1 2023-11-16 19:57:12 +00:00
Philip H. bfcdd1055a npm: package updates 2023-11-16 19:57:12 +00:00
Philip H d5427bbdde Dockerfile: disable fund message at build time 2023-11-16 19:57:12 +00:00
Philip H 6f9b43b398 lint.yml: use meaningful names 2023-11-16 19:57:12 +00:00
Philip H 9a012548e6 lint.yml: npm config set fund false 2023-11-16 19:57:12 +00:00
Philip H 9126215b75 codeql.yml: run once over night 2023-11-16 19:57:12 +00:00
Philip H 16926e0632 codeql.yml: timout is not needed 2023-11-16 19:57:12 +00:00
Philip H 43e1547a29 codeql.yml: Code scanning alerts
Automatically detect common vulnerability and coding errors
2023-11-16 19:57:12 +00:00
Philip H e4cd099abd npm-update-bot.yml: nub > npmupbot 2023-11-16 19:54:11 +00:00
NPM Update Bot 446f5d5849 npm: package updates 2023-11-16 19:54:11 +00:00
Philip H. a677bc9560 rm: mergify 2023-11-15 19:13:30 +00:00
Philip H 083f8056c8 docker-compose.yml: add WG_PERSISTENT_KEEPALIVE 2023-11-15 20:09:42 +01:00
Philip H 1a8062dde3 config.js: if not set use wireguard default mtu 2023-11-15 10:36:17 +01:00
Philip H 521df75463 Dockerfile: in npm 8.x and above use --omit=dev flag 2023-11-15 09:49:41 +01:00
Philip H e2f58b878d Revert "Determine interface of default network rather than assume eth0" (#29)
Reverts #27
2023-11-15 09:38:51 +01:00
Philip H 94b9eaf3cd Revert "fixup: Determine interface of default network rather than assume eth0" 2023-11-15 09:36:45 +01:00
Philip H ba6a4ea846 npm-update-bot.yml: uses the internal update checker 2023-11-14 23:34:42 +01:00
Philip H b0def28938 Merge pull request #27 from pheiduck/determ_interface
fixup: Determine interface of default network rather than assume eth0
2023-11-14 13:34:03 +01:00
Chris Debenham 7ba23dc593 Determine interface of default network rather than assume eth0
fixup: import child_process before package.json
2023-11-14 12:32:01 +00:00
Philip H a71283f500 deploy-development.yml: does not use release tag 2023-11-14 11:13:30 +01:00
Philip H. 1e3f1a980f CI: adjust cronjobs 2023-11-13 22:26:24 +00:00
Philip H 550f4446e2 npm-update-bot.yml: keep node-lts up-to-date 2023-11-13 23:08:14 +01:00
Philip H c508c1ea9b lint.yml: keep node-lts up-to-date 2023-11-13 23:06:53 +01:00
Philip H a7dca88ebb New NPM Update Bot 🤖 (#25) 2023-11-13 21:41:35 +00:00
Philip H e2e6b55c3b package-lock.json: 1.0.1 2023-11-13 19:53:23 +01:00
Philip H. bacbcf1605 npm: package updates 2023-11-13 18:03:43 +00:00
Philip H b34796806d Dockerfile: disable fund message at build time (#24) 2023-11-13 18:52:08 +01:00
Philip H 55e4bf2fda Dockerfile: disable fund message at build time 2023-11-13 11:03:55 +01:00
Philip H ada884779a lint.yml: use meaningful names 2023-11-13 10:52:49 +01:00
Philip H 9100f2f5cc lint.yml: npm config set fund false 2023-11-13 10:47:18 +01:00
Philip H 062e25854c codeql.yml: run once over night 2023-11-12 14:34:48 +01:00
Philip H 655625b696 codeql.yml: timout is not needed 2023-11-11 21:51:12 +01:00
Philip H 63d5cdc11e codeql.yml: Code scanning alerts
Automatically detect common vulnerability and coding errors
2023-11-09 15:22:31 +01:00
Philip H d943d3f5bd README.md: Fix Labels 🏷️ #21 2023-11-06 18:03:37 +01:00
Philip H d3cb417f07 Update README.md 2023-11-06 16:22:58 +01:00
Philip H 8c58032482 CI: rename github action runner #20 2023-11-06 15:39:49 +01:00
Philip H 06d936f27c rename tag to development 2023-11-06 14:54:25 +01:00
Philip H 433f446963 Update and rename deploy-nightly.yml to deploy-development.yml 2023-11-06 14:47:45 +01:00
Philip H 4946b4a062 Update and rename deploy.yml to deploy-stable.yml 2023-11-06 14:46:55 +01:00
Philip H 08f5e4103b security-updates 2023-11-06 14:38:24 +01:00
Philip H 8cc99d7ccc fixup: security-updates (#18) 2023-11-06 11:05:02 +01:00
Philip H 0e3a36ee7d small changes (#14)
* Remove release tag

* index.html: add fork note
2023-11-05 18:43:23 +01:00
Philip H 4bac820db2 fixup deploy-nightly.yml: typo 2023-11-05 18:42:30 +01:00
Philip H b5698df61d index.html: add fork note 2023-11-05 18:38:39 +01:00
Philip H c940466a15 Remove release tag 2023-11-05 13:41:13 +01:00
Philip H e429c86d81 lib/WireGuard.js - ListenPort from ENV (#11)
Co-authored-by: Whithil <ericcruz.prog@gmail.com>
2023-11-05 11:31:04 +01:00
Philip H 1fbc8effca ci(Mergify): configuration update (#10) 2023-11-05 11:07:50 +01:00
dependabot[bot] cc3204c565 Bump eslint from 8.52.0 to 8.53.0 in /src (#9)
Bumps [eslint](https://github.com/eslint/eslint) from 8.52.0 to 8.53.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.52.0...v8.53.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-05 10:52:23 +01:00
Philip H b346c3e3a3 dependabot.yml: check daily for updates 2023-11-05 10:49:56 +01:00
Philip H 78f6e93b44 Production -> main 2023-11-05 10:21:57 +01:00
Philip H. f8c513f050 fixup: revert to 1.0.0 and node 18 2023-11-05 09:16:21 +00:00
Philip H cc7766195d update checksum 2023-11-04 10:31:44 +01:00
Philip H. 8ea03d26ce CI: updates 2023-11-04 09:21:38 +00:00
Philip H. 51b0c87f67 Update node to 18.18.2 2023-11-04 09:14:15 +00:00
Philip H d9dfd05d4f wg-easy: patch 1.0.1
support for node 18
Fix: Unsupported engine
2023-11-04 09:54:42 +01:00
Philip H. b0e6c3af6d Update node to 18.16.0 2023-11-04 08:46:48 +00:00
Philip H. 13aa9991fd change repo for deploy 2023-11-03 20:21:17 +00:00
dependabot[bot] 0b685bdf0d Bump uuid from 9.0.0 to 9.0.1 in /src
Bumps [uuid](https://github.com/uuidjs/uuid) from 9.0.0 to 9.0.1.
- [Changelog](https://github.com/uuidjs/uuid/blob/main/CHANGELOG.md)
- [Commits](https://github.com/uuidjs/uuid/compare/v9.0.0...v9.0.1)

---
updated-dependencies:
- dependency-name: uuid
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-03 20:49:13 +01:00
dependabot[bot] cdd4316122 Bump eslint from 8.48.0 to 8.52.0 in /src (#1)
Bumps [eslint](https://github.com/eslint/eslint) from 8.48.0 to 8.52.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.48.0...v8.52.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-03 20:48:53 +01:00
Peter Lewis 0b744abb50 Merge pull request #44 from peterlewis/dependabot/npm_and_yarn/src/eslint-8.48.0
Bump eslint from 8.46.0 to 8.48.0 in /src
2023-09-04 09:19:51 +01:00
dependabot[bot] dc4a7c0835 Bump eslint from 8.46.0 to 8.48.0 in /src
Bumps [eslint](https://github.com/eslint/eslint) from 8.46.0 to 8.48.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.46.0...v8.48.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-28 06:49:24 +00:00
Peter Lewis a10627026e Merge pull request #42 from peterlewis/dependabot/npm_and_yarn/src/eslint-8.46.0
Bump eslint from 8.45.0 to 8.46.0 in /src
2023-08-10 20:26:07 +01:00
dependabot[bot] a52e50df83 Bump eslint from 8.45.0 to 8.46.0 in /src
Bumps [eslint](https://github.com/eslint/eslint) from 8.45.0 to 8.46.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.45.0...v8.46.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-31 06:11:26 +00:00
Peter Lewis b2d861f792 Merge pull request #41 from peterlewis/dependabot/npm_and_yarn/src/eslint-8.45.0
Bump eslint from 8.44.0 to 8.45.0 in /src
2023-07-18 22:31:08 +01:00
dependabot[bot] 7be3ba446c Bump eslint from 8.44.0 to 8.45.0 in /src
Bumps [eslint](https://github.com/eslint/eslint) from 8.44.0 to 8.45.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.44.0...v8.45.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-17 06:12:44 +00:00
Peter Lewis b3d36b9615 Merge pull request #40 from peterlewis/dependabot/npm_and_yarn/src/eslint-8.44.0
Bump eslint from 8.43.0 to 8.44.0 in /src
2023-07-04 11:48:37 +01:00
dependabot[bot] 2099588f68 Bump eslint from 8.43.0 to 8.44.0 in /src
Bumps [eslint](https://github.com/eslint/eslint) from 8.43.0 to 8.44.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.43.0...v8.44.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-03 06:05:46 +00:00
Alexander 4bc110bca5 feat: add german translation 2023-06-28 10:24:20 +07:00
Peter Lewis 9be8e560bf Merge pull request #39 from peterlewis/dependabot/npm_and_yarn/src/eslint-8.43.0 2023-06-19 17:50:37 +01:00
dependabot[bot] 45ed7ccb18 Bump eslint from 8.42.0 to 8.43.0 in /src
Bumps [eslint](https://github.com/eslint/eslint) from 8.42.0 to 8.43.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.42.0...v8.43.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-19 07:02:41 +00:00
Peter Lewis 5add4234e8 Merge pull request #37 from peterlewis/dependabot/npm_and_yarn/src/eslint-8.42.0
Bump eslint from 8.41.0 to 8.42.0 in /src
2023-06-05 21:25:24 +01:00
Peter Lewis 2a4e860e9e Merge pull request #36 from rahilarious/fork
Ability to change ip address WebUI binds to with WEBUI_HOST env var
2023-06-05 21:24:56 +01:00
dependabot[bot] 04da9ec97b Bump eslint from 8.41.0 to 8.42.0 in /src
Bumps [eslint](https://github.com/eslint/eslint) from 8.41.0 to 8.42.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.41.0...v8.42.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-05 07:02:40 +00:00
Rahil Bhimjiani dd86dbaef0 Ability to change ip address WebUI binds to with WEBUI_HOST env var 2023-06-03 16:14:47 +05:30
Peter Lewis 28b12dde6c Merge pull request #35 from peterlewis/dependabot/npm_and_yarn/src/eslint-8.41.0
Bump eslint from 8.40.0 to 8.41.0 in /src
2023-05-26 13:38:45 +01:00
dependabot[bot] 500600ceda Bump eslint from 8.40.0 to 8.41.0 in /src
Bumps [eslint](https://github.com/eslint/eslint) from 8.40.0 to 8.41.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.40.0...v8.41.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-22 07:04:40 +00:00
Peter Lewis d75922b34d Merge pull request #34 from wg-easy/master
add wireguard device parameter #500
2023-05-21 22:26:00 +01:00
Emile Nijssen 642d6d62ed Merge pull request #500 from joeroback/wireguard_device_parameter
add wireguard device parameter
2023-05-17 09:12:09 +02:00
Peter Lewis 211175fe10 Merge pull request #33 from peterlewis/18.16.0
Update node to 18.16.0
2023-05-10 14:05:40 +01:00
Peter Lewis 898b731d54 Update node to 18.16.0 2023-05-10 14:02:44 +01:00
Peter Lewis 78ac220852 Merge pull request #32 from rahilarious/master
Add PORT environment variable in README.md
2023-05-10 13:54:54 +01:00
Rahil Bhimjiani b0714c9b2f Add PORT environment variable in README.md 2023-05-10 02:19:57 +05:30
Peter Lewis caeb44e057 Merge pull request #30 from peterlewis/dependabot/npm_and_yarn/src/eslint-8.40.0
Bump eslint from 8.39.0 to 8.40.0 in /src
2023-05-09 09:09:37 +01:00
dependabot[bot] c1520293f9 Bump eslint from 8.39.0 to 8.40.0 in /src
Bumps [eslint](https://github.com/eslint/eslint) from 8.39.0 to 8.40.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.39.0...v8.40.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-08 07:04:44 +00:00
Peter Lewis 2c8ebf4dfc Merge pull request #28 from peterlewis/dependabot/npm_and_yarn/src/eslint-8.39.0
Bump eslint from 8.38.0 to 8.39.0 in /src
2023-05-02 11:16:03 +01:00
Peter Lewis 1b3f489fb1 Merge pull request #29 from peterlewis/dependabot/npm_and_yarn/src/qrcode-1.5.3
Bump qrcode from 1.5.1 to 1.5.3 in /src
2023-05-02 11:15:47 +01:00
dependabot[bot] d72a6d762b Bump qrcode from 1.5.1 to 1.5.3 in /src
Bumps [qrcode](https://github.com/soldair/node-qrcode) from 1.5.1 to 1.5.3.
- [Release notes](https://github.com/soldair/node-qrcode/releases)
- [Changelog](https://github.com/soldair/node-qrcode/blob/master/CHANGELOG.md)
- [Commits](https://github.com/soldair/node-qrcode/compare/v1.5.1...v1.5.3)

---
updated-dependencies:
- dependency-name: qrcode
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-24 07:03:23 +00:00
dependabot[bot] b1b2ac0ea3 Bump eslint from 8.38.0 to 8.39.0 in /src
Bumps [eslint](https://github.com/eslint/eslint) from 8.38.0 to 8.39.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.38.0...v8.39.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-24 07:03:13 +00:00
Peter Lewis 316e1fd294 Change CRON to midnight 2023-04-20 19:13:32 +01:00
Peter Lewis dab4510a44 Merge pull request #27 from peterlewis/dependabot/npm_and_yarn/src/eslint-8.38.0 2023-04-12 21:26:05 +01:00
dependabot[bot] f2a01a0a5b Bump eslint from 8.36.0 to 8.38.0 in /src
Bumps [eslint](https://github.com/eslint/eslint) from 8.36.0 to 8.38.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.36.0...v8.38.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-10 07:03:08 +00:00
Peter Lewis 6ba8ddd59f Update release version 2023-03-30 14:02:25 +01:00
Peter Lewis 08b966641a Update changelog.json 2023-03-30 14:01:51 +01:00
Peter Lewis e87191edd9 Merge pull request #23 from peterlewis/dependabot/npm_and_yarn/src/eslint-8.36.0
Bump eslint from 8.35.0 to 8.36.0 in /src
2023-03-30 10:33:03 +01:00
Peter Lewis 0daa71f56a Merge pull request #24 from pheiduck/upd/node18
update: node 18.15.0
2023-03-30 10:32:28 +01:00
Philip H c2ea321645 update: node 18.15.0
Vulnerabilities found on node 18.14.1:
https://hub.docker.com/_/node/tags?page=1&name=18.14.1
None on 18.15.0:
https://hub.docker.com/_/node/tags?page=1&name=18.15.0
2023-03-17 10:23:43 +01:00
dependabot[bot] d899ebc543 Bump eslint from 8.35.0 to 8.36.0 in /src
Bumps [eslint](https://github.com/eslint/eslint) from 8.35.0 to 8.36.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.35.0...v8.36.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-13 07:05:54 +00:00
Peter Lewis 99675396a3 Bump version from '8.0.1' to '9' 2023-03-02 11:32:53 +00:00
Peter Lewis c728d0f632 Bump version to 9 from 8.0.1
It appears that currently only integers are supported. Will aim to resolve in due course!
2023-03-02 11:32:12 +00:00
Peter Lewis b336faaea8 Update version check URL 2023-03-02 11:31:24 +00:00
Peter Lewis 38c216cafe Merge pull request #21 from peterlewis/dependabot/npm_and_yarn/src/eslint-8.35.0
Bump eslint from 8.34.0 to 8.35.0 in /src
2023-02-27 19:03:37 +00:00
dependabot[bot] df46c053a2 Bump eslint from 8.34.0 to 8.35.0 in /src
Bumps [eslint](https://github.com/eslint/eslint) from 8.34.0 to 8.35.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.34.0...v8.35.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-27 07:09:36 +00:00
Joe Roback 5e5506eea0 add wireguard device parameter 2023-02-23 15:12:47 -07:00
Peter Lewis adc5e8f067 Update changelog.json 2023-02-20 10:15:28 +00:00
Peter Lewis ac370c4f17 Merge pull request #19 from peterlewis/dependabot/npm_and_yarn/src/eslint-8.34.0
Bump eslint from 8.33.0 to 8.34.0 in /src
2023-02-20 10:13:43 +00:00
Peter Lewis 6c447e1efe Update changelog.json 2023-02-20 10:13:19 +00:00
dependabot[bot] c75b37e8a2 Bump eslint from 8.33.0 to 8.34.0 in /src
Bumps [eslint](https://github.com/eslint/eslint) from 8.33.0 to 8.34.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.33.0...v8.34.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-20 10:05:19 +00:00
Peter Lewis d8fcb82267 Update release version to v8.0.1 2023-02-20 10:02:59 +00:00
Peter Lewis 48cf395706 Update changelog.json 2023-02-20 10:01:52 +00:00
Peter Lewis caad4f8f09 Merge pull request #18 from pheiduck/dependabot/npm-updater
add: dependabot to update npm packages
2023-02-20 09:57:30 +00:00
Peter Lewis 31603a10a0 Merge pull request #17 from pheiduck/node18.14.1
update to node 18.14.1 / alpine3.17
2023-02-20 09:56:56 +00:00
Philip H 9c45268904 add: dependabot to update npm packages 2023-02-18 17:12:31 +01:00
Philip H c1a4dff2e3 update to node 18.14.1 / alpine3.17 2023-02-18 16:41:13 +01:00
Peter Lewis 73b1270c10 Update index.html 2023-02-01 15:34:57 +00:00
Peter Lewis 5871df1a23 Update README.md 2023-02-01 15:24:56 +00:00
Peter Lewis 83930b4a8e Update changelog.json 2023-02-01 15:22:54 +00:00
Peter Lewis be17a8b688 Update docker-compose.yml 2023-02-01 15:18:44 +00:00
Peter Lewis 4ad812b0e4 Update footer on webpage 2023-02-01 15:14:46 +00:00
Peter Lewis 0a4db17015 Merge pull request #14 from peterlewis/node-updates
update node modules and patch vuln (json5)
2023-02-01 12:32:03 +00:00
Peter Lewis a3f7235de4 update node modules and patch vuln 2023-02-01 12:29:28 +00:00
Peter Lewis 041ca6e7ed Update README.md 2023-02-01 12:12:18 +00:00
Peter Lewis 6b32c252aa Update version number 2023-02-01 12:06:36 +00:00
Peter Lewis 2ae727dbff v8 2023-02-01 11:59:06 +00:00
Peter Lewis 65b432bc99 Update README.md 2023-02-01 11:55:18 +00:00
Peter Lewis c52670b07a Merge pull request #10 from peterlewis/production
Merge commits from Production back into Development
2023-02-01 11:51:05 +00:00
Peter Lewis 6d0949a2cd Merge pull request #7 from peterlewis/development
Merge development into production
2023-02-01 11:42:16 +00:00
Peter Lewis a4e5b18967 Merge pull request #9 from peterlewis/lint-fixes
Lint fixes
2023-02-01 11:35:13 +00:00
Peter Lewis fb3ece4360 Update app.js 2023-02-01 11:25:12 +00:00
Peter Lewis a00a9f0449 Update api.js 2023-02-01 11:24:58 +00:00
Peter Lewis 1b835bfb40 Update server.js 2023-02-01 11:22:48 +00:00
Peter Lewis 8800cd9b0d Update WireGuard.js 2023-02-01 11:22:33 +00:00
Peter Lewis 1a11c6f396 Update Util.js 2023-02-01 11:22:07 +00:00
Peter Lewis 6bbd46e7df Update Server.js 2023-02-01 11:21:40 +00:00
Peter Lewis 563cb77176 Revert "Update server.js to keep lint happy"
This reverts commit 90b6c19c6a.
2023-02-01 11:08:05 +00:00
Peter Lewis 90b6c19c6a Update server.js to keep lint happy 2023-02-01 11:05:16 +00:00
Peter Lewis 2c7221b64a Update branch name in lint.yml 2023-02-01 10:58:36 +00:00
Peter Lewis ee60e15ea1 Merge pull request #6 from pheiduck/ci-updates
CI: updates
2023-02-01 10:54:15 +00:00
Philip H 61062979cd update to node18 2023-01-29 20:42:41 +01:00
Philip H 83876f20a2 Update deploy.yml 2023-01-29 20:41:03 +01:00
Philip H 4def9cb586 Update deploy-nightly.yml 2023-01-29 20:40:10 +01:00
Peter Lewis b0ff2fdbf6 Merge pull request #3 from andinoriel/feature-small-screen-fixes
Feature small screen fixes
2023-01-22 10:06:46 +00:00
Peter Lewis bc791b0a05 Update Alpine to 3.17 2023-01-22 09:53:26 +00:00
Peter Lewis b80d098f85 Merge pull request #4 from comassky/master
Update to current NodeJs, wireguard v1.0.20210914
2023-01-22 09:49:05 +00:00
Peter Lewis 4b6e26d1bb Merge pull request #2 from peterlewis/master
Master to Production
2023-01-22 09:44:34 +00:00
Peter Lewis 6b30cb4871 Merge pull request #1 from peterlewis/production
Production to Master
2023-01-22 09:43:59 +00:00
cany748 88bb67e263 Update src/www/js/i18n.js
typo

Co-authored-by: Sergey Kuznetsov <votkinsk@gmail.com>
2022-12-20 09:43:36 +07:00
Mykola Symon 85ed6d2b23 add client name clipping(with ellipsis) on small screens(<sm) 2022-10-31 19:45:07 +03:00
Mykola Symon 30d3b4d72e move control buttons down on small screens(<sm) 2022-10-31 19:31:05 +03:00
ComasSky 7763325dd7 Fix docker-compose 2022-09-27 08:34:22 +00:00
ComasSky ef42040630 Merge branch 'test' 2022-09-27 08:31:04 +00:00
ComasSky f0e18d0f87 Update Node libraries & Npm libraries 2022-09-27 08:30:51 +00:00
ComasSky 8892e28d33 Update Node libraries & Npm libraries 2022-09-27 08:29:48 +00:00
Hadrien Jacquot c71b669f7e Merge pull request #3 from WeeJeWel/master
Update from origin
2022-09-27 10:29:08 +02:00
ComasSky 7bba5beade Update Node libraries & Npm libraries 2022-09-27 08:23:58 +00:00
Emile Nijssen 736c62b436 Update issue templates 2022-08-25 20:54:58 +02:00
Emile Nijssen 79dc68d4bd Create FUNDING.yml 2022-08-25 20:54:05 +02:00
ComasSky f7c0fb9dfe Merge pull request #2 from WeeJeWel/master
Update
2022-08-24 16:26:02 +02:00
cany748 11e3b1b644 Merge pull request #3 from clem3109/patch-1
Here is french !
2022-08-09 15:44:49 +07:00
Clément Radenac bad3f1f492 Here is french !
Thanks a lot for this work, that's absolutely a great idea !
2022-08-04 13:38:27 +02:00
cany748 2fd233ee52 add Norwegian and Polish lang 2022-08-04 17:55:08 +07:00
cany748 ec872acba1 Merge pull request #2 from babico/patch-1
turkish support
2022-08-04 17:50:54 +07:00
Müslüm Barış Korkmazer 35bf2e3b8e turkish support 2022-07-07 18:36:55 +03:00
cany748 bc38a72b1a Merge branch 'WeeJeWel:master' into master 2022-07-06 11:57:52 +07:00
Emile Nijssen bc320fbf79 fixes #306 2022-07-03 21:38:22 +02:00
Emile Nijssen eda9dd5d95 Update README.md 2022-07-03 14:37:21 +02:00
cany748 3f24e6c79f Merge branch 'master' into master 2022-06-28 21:02:26 +07:00
Emile Nijssen 33edb6018a Update README.md 2022-06-26 11:43:31 +02:00
Emile Nijssen 0950e0450c Merge pull request #298 from WeeJeWel/master
v7
2022-06-26 11:30:07 +02:00
Emile Nijssen 363de7426c v7 2022-06-26 11:29:48 +02:00
Emile Nijssen 78017e8aba Merge pull request #283 from WeeJeWel/master
Merge Master into Production
2022-06-25 22:40:13 +02:00
Emile Nijssen faf00d46d9 replace apexcharts with 'ye olde divs 2022-06-25 22:39:41 +02:00
ComasSky a09e4c99c7 Update Dockerfile 2022-06-22 11:42:37 +02:00
cany748 2c29909ef6 add environment variable for changes lang 2022-06-20 20:09:17 +07:00
cany748 f8c414042a Merge branch 'master' of https://github.com/cany748/wg-easy 2022-06-20 18:03:53 +07:00
cany748 0d4218e2e7 Update i18n.js 2022-06-20 18:03:49 +07:00
cany748 02cdb21405 Merge branch 'master' into master 2022-06-20 17:59:29 +07:00
ComasSky b50d21ae58 Update 2022-06-20 08:15:37 +00:00
ComasSky d2aaf6da22 Merge pull request #1 from WeeJeWel/master
Recupération
2022-06-20 09:41:25 +02:00
Emile Nijssen f364e0775a fix eslint 2022-06-12 23:28:51 +02:00
Emile Nijssen b4c4dc1ad7 Merge pull request #265 from FlyinPancake/master
docs: 📝 added keepalive explanation
2022-06-12 23:25:30 +02:00
Emile Nijssen b72bcce052 Merge pull request #216 from murka/patch-1
feat(WireGuard): return client data by createClient.
2022-06-12 23:24:28 +02:00
Emile Nijssen 7a0f097e4e Merge pull request #192 from crazyracer98/feature/wg-pre-up-down
Add PreUp and PreDown
2022-06-12 23:22:17 +02:00
Emile Nijssen 2935bfe354 Merge pull request #282 from WeeJeWel/master
Merge Master into Production
2022-06-12 23:06:25 +02:00
Emile Nijssen 2abefa90eb v6 2022-06-12 23:06:03 +02:00
Emile Nijssen 90c4ca90bd fixes #199 2022-06-12 23:03:57 +02:00
Emile Nijssen a72029d7e5 improve chart 2022-06-12 22:48:30 +02:00
Emile Nijssen 274aeb2614 Merge pull request #260 from Teraskull/fix-modal-flash
Fix modals flashing on reload
2022-06-12 22:16:14 +02:00
Emile Nijssen 22646c1388 Merge branch 'master' of github.com:WeeJeWel/wg-easy 2022-06-12 22:10:53 +02:00
Emile Nijssen e7f4cc2d56 use relative paths 2022-06-12 22:10:50 +02:00
Emile Nijssen 0da7ee1c68 Update README.md 2022-06-12 22:07:28 +02:00
cany748 ceacaa9e3c add multilanguage support and add russian language 2022-06-11 15:30:09 +07:00
FlyinPancake 4a63bd9598 docs: 📝 added keepalive explanation 2022-05-25 19:20:18 +00:00
Anton Grouchtchak c663d02a36 Fix typo
Change `Created/Last seen at` to `Created/Last seen on`.
2022-05-18 17:18:30 -04:00
Anton Grouchtchak b146ba1d86 Wait for Vue to finish loading before showing HTML
This prevents flashing static HTML elements (icons, modals) on reload.
2022-05-18 17:14:05 -04:00
Danil Shaymurzin 8f66d11e3f feat(WireGuard): return client data by createClient. 2022-03-06 00:38:46 +05:00
ComasSky 01d34ea7ab Add SHA 2022-02-23 08:16:59 +00:00
ComasSky bad70c4369 Update to current NodeJs, wireguard v1.0.20210914 2022-02-17 18:17:30 +00:00
crazyracer98 67119ce42e revert WG_Host variable 2022-01-29 00:49:21 +01:00
crazyracer98 557e13a953 expose server interface PreUp and PreDown to environment variable 2022-01-29 00:46:21 +01:00
Emile Nijssen 17d9b576c5 Merge branch 'master' into production 2022-01-13 13:24:41 -08:00
Emile Nijssen bbd19b7a6f lock build again 2022-01-13 13:24:37 -08:00
Emile Nijssen 833e304fdd Merge branch 'master' into production 2022-01-10 23:16:38 -08:00
Emile Nijssen bfb9296fdb v5 2022-01-10 23:15:56 -08:00
Emile Nijssen a1305da766 add to readme 2022-01-10 23:13:21 -08:00
Emile Nijssen a97142bb97 add WG_POST_UP, WG_POST_DOWN 2022-01-10 23:11:34 -08:00
Emile Nijssen e1582ec678 fix WG_MTU 2022-01-10 22:57:32 -08:00
Emile Nijssen f829bbdf41 Merge pull request #154 from DerDanilo/add-WG_MTU
add optional client profile MTU var
2022-01-10 22:55:08 -08:00
Emile Nijssen 2a9a7eecac add helpful error message 2022-01-10 22:52:24 -08:00
Emile Nijssen 0d908f56a0 chmod config files 2022-01-10 22:47:45 -08:00
Emile Nijssen 3e473d0f81 node 16 engine 2022-01-10 22:37:50 -08:00
Emile Nijssen 7b24289c91 release 5 2022-01-10 22:37:38 -08:00
Emile Nijssen 1486bf2415 change auto-deploy to nightly 2022-01-10 22:33:32 -08:00
Emile Nijssen df48049bd5 use node 16 2022-01-10 22:32:01 -08:00
Emile Nijssen 72267b4d55 use relative paths in front-end 2022-01-10 22:28:24 -08:00
Emile Nijssen c6831a76fb fix eslint 2022-01-10 22:28:18 -08:00
DerDanilo 8e93ae76a5 Merge branch 'master' into add-WG_MTU 2021-12-26 14:22:23 +01:00
DerDanilo b4fbcdd2db add optional client profile MTU var 2021-12-26 14:08:41 +01:00
Emile Nijssen d07d981c7f Merge branch 'master' into production 2021-11-29 18:03:44 +01:00
Emile Nijssen 1b036c3b4c Add total Download/Upload in title 2021-11-29 18:03:39 +01:00
Emile Nijssen 03e8544097 update readme 2021-11-22 22:57:29 +01:00
Emile Nijssen 68ea077d74 update readme 2021-11-22 22:54:42 +01:00
Emile Nijssen b77c783e32 Merge branch 'master' into production 2021-11-22 22:49:13 +01:00
Emile Nijssen 2f81f38d2d v4 2021-11-22 22:48:36 +01:00
Emile Nijssen 6ba32d2880 update readme 2021-11-22 22:47:58 +01:00
Emile Nijssen 52d3c79353 Merge branch 'master' into production 2021-11-22 22:41:56 +01:00
Emile Nijssen 5cf5fcbfeb update readme 2021-11-22 22:40:35 +01:00
Emile Nijssen 44b75a5496 update readme 2021-11-22 22:39:53 +01:00
Emile Nijssen 8c9c373220 update screenshot to @2x 2021-11-22 22:38:10 +01:00
Emile Nijssen 98a40949a8 update readme 2021-11-22 22:37:07 +01:00
Emile Nijssen bbc8bf1ba2 update screenshot 2021-11-22 22:25:42 +01:00
Emile Nijssen 7cd677f7ef add charts 2021-11-22 22:15:09 +01:00
Emile Nijssen b97224683d Merge pull request #115 from WeeJeWel/master
release 3
2021-11-12 22:30:48 +01:00
Emile Nijssen 9a4b0bff2e release 3 2021-11-12 21:30:24 +00:00
Emile Nijssen 0c0314b36c Merge pull request #114 from WeeJeWel/master
mmip
2021-11-12 22:29:29 +01:00
Emile Nijssen e843593b17 eslint 2021-11-12 21:27:58 +00:00
Emile Nijssen c19cb72b6d better logging (fixes #100) 2021-11-12 21:20:28 +00:00
Emile Nijssen 5895b986fc fixes #52 2021-11-12 21:15:40 +00:00
Emile Nijssen 8d8ac536ff lock node alpine 2021-11-12 21:11:17 +00:00
Emile Nijssen 8338594ffc simplify build 2021-11-11 21:02:07 +01:00
Emile Nijssen 3a2e1002b6 Update README.md 2021-10-22 13:35:02 +02:00
Emile Nijssen a8990b2f48 Merge pull request #83 from vojtad/fix-configs-for-windows
Normalize config file name for download to make it work on Windows
2021-10-11 22:14:01 +02:00
Vojta Drbohlav 722bd18999 normalize config file name for download to make it work on Windows
Windows client name is derived from config file name when importing to WireGuard and it only accepts names satisfying /^[a-zA-Z0-9_=+.-]{1,32}$/.
For more information look at https://github.com/WireGuard/wireguard-windows/blob/af60ab229954519b8295bb3ef453231f4d3b9087/conf/name.go#L24.
2021-10-11 22:02:08 +02:00
Emile Nijssen 67b820d985 Update README.md 2021-09-29 12:56:09 +02:00
Emile Nijssen 60da315c7e Update README.md 2021-09-29 12:53:22 +02:00
Emile Nijssen e280bed71c Merge pull request #76 from WeeJeWel/master
mmip
2021-09-26 23:07:52 +02:00
Emile Nijssen 3fbeab012b Merge pull request #71 from gaby/docker-updates
Add dumb-init to avoid zombie processes.
2021-09-26 23:06:43 +02:00
Juan Calderon-Perez a459284957 Add dumb-init to avoid zombie processes. 2021-09-15 21:35:37 -04:00
Emile Nijssen f77c26dc0c Update README.md 2021-07-19 11:26:42 +02:00
Emile Nijssen 13749f1e04 Update README.md 2021-07-18 17:04:20 +02:00
Emile Nijssen 9c174927ec Merge pull request #47 from WeeJeWel/master
mmip
2021-07-18 16:49:54 +02:00
Emile Nijssen d8eaafbcfb fix 2021-07-18 16:48:33 +02:00
Emile Nijssen ebb5fec09e Merge branch 'master' of github.com:WeeJeWel/wg-easy 2021-07-18 16:48:13 +02:00
Emile Nijssen dae700ef3d dev env 2021-07-18 16:48:09 +02:00
Emile Nijssen 9eb852f7f6 Merge pull request #46 from Fastidious/master
Adding PersistentKeepalive
2021-07-18 16:47:52 +02:00
Fastidious 0c46cbf30a Extra E
Removed an extra E. Sorry!
2021-07-17 10:44:33 -04:00
Fastidious 31abeaeff7 Update README.md 2021-07-17 10:22:10 -04:00
Fastidious b3ab0a9ddf Update Server.js 2021-07-17 10:20:46 -04:00
Fastidious 534fb0ab79 Update config.js 2021-07-17 10:20:01 -04:00
Fastidious 6a0a5a10be Update WireGuard.js 2021-07-17 10:19:17 -04:00
Fastidious 49a2949aea Renaming and settings values
Renaming environmental variable, and changing its default value.
2021-07-17 10:18:19 -04:00
Fastidious 00135d0c35 Small fix 2021-07-16 07:02:46 -04:00
Fastidious 8069985c92 Update README.md 2021-07-15 09:45:00 -04:00
Fastidious 83ebd8af4a Update README.md 2021-07-15 07:01:26 -04:00
Fastidious 9d555730db Update README.md 2021-07-15 07:01:08 -04:00
Fastidious ef7570777d Binding web address
Adding the ability to change the binding address for the web server (0.0.0.0, open to everyone, or 127.0.0.1, for example, for proxying).
2021-07-15 06:57:22 -04:00
Fastidious 5248dfec77 Binding web address
Ability to change whether app binds to 0.0.0.0 or other address (127.0.0.1, for proxying).
2021-07-15 06:54:08 -04:00
Fastidious 31d1cb96fc Adding Persistent Keepalive 2021-07-14 20:53:59 -04:00
Fastidious 587bb7a3f0 Adding Persistent keepalive 2021-07-14 20:49:29 -04:00
Emile Nijssen 6ddc5cdea3 fix 2021-07-13 21:55:12 +02:00
Emile Nijssen 0b74b77d8b build production 2021-07-13 21:54:14 +02:00
Emile Nijssen e0b5045c89 add license 2021-07-13 21:45:52 +02:00
Emile Nijssen 3c6e456121 Merge branch 'master' into production 2021-07-13 21:39:59 +02:00
Emile Nijssen 4bbacf3fbf Merge branch 'master' of github.com:WeeJeWel/wg-easy 2021-07-13 21:39:48 +02:00
Emile Nijssen 91832c8e20 wip 2021-07-13 21:39:45 +02:00
Emile Nijssen c7f508fbfb Create changelog.json 2021-07-13 21:11:45 +02:00
Emile Nijssen 985d886362 make WG_DEFAULT_DNS optional, fixes #40 2021-07-13 21:00:40 +02:00
Emile Nijssen 016382dd01 allow edit of name + address 2021-07-13 20:51:23 +02:00
Emile Nijssen 58f3f5f2e4 Merge pull request #37 from WeeJeWel/master
mmip
2021-06-15 18:15:38 +02:00
Emile Nijssen 2966666cc6 Merge pull request #36 from DerDanilo/add-WG_ALLOWED_IPS
add WG_ALLOWED_IPS
2021-06-15 18:15:19 +02:00
DerDanilo 8919451430 add WG_ALLOWED_IPS; https://github.com/WeeJeWel/wg-easy/issues/19 2021-06-15 17:58:58 +02:00
Emile Nijssen ffaf67a08a Update Dockerfile 2021-06-02 12:29:42 +02:00
Emile Nijssen 805d8ef812 Merge pull request #21 from WeeJeWel/master
mmip
2021-05-31 14:22:02 +02:00
Emile Nijssen c74179eece Update docker-compose.yml 2021-05-31 14:21:30 +02:00
Emile Nijssen 6d12c4f09e Update deploy.yml 2021-05-27 10:00:54 +02:00
Emile Nijssen a13e51ed26 Update README.md 2021-05-25 15:59:18 +02:00
Emile Nijssen c2ce81800a Merge pull request #7 from WeeJeWel/master
mmip
2021-05-24 11:26:28 +02:00
Emile Nijssen 12d8013d01 Delete .wg-easy directory 2021-05-24 11:26:08 +02:00
Emile Nijssen 932caddb3c Update README.md 2021-05-23 18:17:22 +02:00
Emile Nijssen 62bd7ddb91 add badge 2021-05-23 17:08:36 +02:00
Emile Nijssen 2a92b8bbe6 fix 2021-05-23 17:07:37 +02:00
Emile Nijssen 03066b5e43 fix yaml 2021-05-23 17:06:29 +02:00
Emile Nijssen a6da5cc684 wip 2021-05-23 17:05:24 +02:00
Emile Nijssen d8c4598511 update readme 2021-05-23 16:59:27 +02:00
Emile Nijssen a9b58990cc Update README.md 2021-05-23 16:57:51 +02:00
Emile Nijssen 221e9390dc resize image 2021-05-23 16:56:29 +02:00
Emile Nijssen d21ccd5a6b wip 2021-05-23 16:54:48 +02:00
Emile Nijssen 5222bd1f2c update readme 2021-05-23 16:24:25 +02:00
Emile Nijssen 5d04ba26a7 fix 2021-05-23 16:04:37 +02:00
Emile Nijssen c50e7dce7a update order 2021-05-23 16:00:29 +02:00
Emile Nijssen a3ff5ab502 update readme 2021-05-23 15:59:50 +02:00
Emile Nijssen f266f168da wip 2021-05-23 15:55:50 +02:00
Emile Nijssen 30f56510e6 wip 2021-05-23 15:27:46 +02:00
Emile Nijssen cb17ba5ebd use Node 14 2021-05-23 15:03:17 +02:00
Emile Nijssen 09a824ec61 v1.0.0 2021-05-23 14:47:50 +02:00
Emile Nijssen e89e364b36 wip 2021-05-23 14:38:33 +02:00
Emile Nijssen e5eda35965 add linux/arm/v6 2021-05-23 14:32:10 +02:00
Emile Nijssen 0c3217def0 wip 2021-05-23 14:28:22 +02:00
Emile Nijssen 01f2724518 Merge branch 'master' of github.com:WeeJeWel/wg-easy 2021-05-23 13:38:03 +02:00
Emile Nijssen 0110f712bc Delete config directory 2021-05-23 13:37:28 +02:00
Emile Nijssen 71b3221ceb Delete config directory 2021-05-23 13:37:19 +02:00
Emile Nijssen c9a0562d6c wip 2021-05-23 13:36:47 +02:00
Emile Nijssen 871651aca3 wip 2021-05-23 13:36:44 +02:00
Emile Nijssen 0f220c1a78 wip 2021-05-23 13:36:26 +02:00
Emile Nijssen d9901aa8a3 rm linux/arm/v6 2021-05-23 12:56:53 +02:00
Emile Nijssen f262a161f7 wip 2021-05-23 12:43:52 +02:00
Emile Nijssen f171e25908 add deploy 2021-05-23 12:38:39 +02:00
Emile Nijssen 992e31add1 update 2021-05-23 12:32:28 +02:00
Emile Nijssen 572cb7c18a update 2021-05-23 12:31:07 +02:00
Emile Nijssen 71243b458f add build script 2021-05-23 12:26:26 +02:00
Emile Nijssen e3b7d94fa0 wip 2021-05-23 12:25:14 +02:00
Emile Nijssen 9c34761578 wip 2021-05-23 12:04:43 +02:00
Emile Nijssen 9d355f67d8 wip 2021-05-23 12:02:56 +02:00
Emile Nijssen 18b6ce7c78 wip 2021-05-22 23:29:01 +02:00
Emile Nijssen 650128cacb wip 2021-05-22 22:45:47 +02:00
Emile Nijssen d8f45476da wip 2021-05-22 22:40:11 +02:00
Emile Nijssen d7bb645470 wip 2021-05-22 22:21:09 +02:00
Emile Nijssen eaf3d5c3fb wip 2021-05-22 11:12:26 +02:00
847 changed files with 30806 additions and 429320 deletions
+3
View File
@@ -0,0 +1,3 @@
/src/node_modules
/src/.nuxt
/src/.output
+5
View File
@@ -0,0 +1,5 @@
# Copyright (c) Emile Nijssen (WeeJeWel)
# Founder and Codeowner of WireGuard Easy (wg-easy)
# Maintained by Bernd Storath (kaaax0815)
* @WeeJeWel
* @kaaax0815
+3
View File
@@ -0,0 +1,3 @@
# These are supported funding model platforms
github: [weejewel, kaaax0815]
+37
View File
@@ -0,0 +1,37 @@
---
name: 🐛 Bug Report
description: Create a report to help us improve
title: "[Bug]: "
type: Bug
body:
- type: markdown
attributes:
value: |
**Thanks :heart: for taking the time to fill out this bug report!**
We kindly ask that you search to see if an issue [already exists](https://github.com/wg-easy/wg-easy/issues?q=is%3Aissue+sort%3Acreated-desc+) for the bug you encountered.
- type: textarea
id: what-happened
attributes:
label: Describe the bug
placeholder: Tell us what you see!
value: "A bug happened!"
validations:
required: true
- type: textarea
id: what-should-happen
attributes:
label: Expected behavior
placeholder: Tell us what you expected!
value: "Work just fine!"
validations:
required: true
- type: textarea
id: logs
attributes:
label: Relevant log output
description: Please copy and paste any relevant log output. This will be automatically formatted into code, so no need for backticks.
render: shell
@@ -0,0 +1,47 @@
---
name: 🛠️ Feature Request
description: Suggest an idea to help us improve
title: "[Feat]: "
type: Feature
body:
- type: markdown
attributes:
value: |
**Thanks :heart: for taking the time to fill out this feature request report!**
We kindly ask that you search to see if an issue [already exists](https://github.com/wg-easy/wg-easy/issues?q=is%3Aissue+sort%3Acreated-desc+) for your feature.
We are also happy to accept contributions from our users. For more details see [here](https://github.com/wg-easy/wg-easy/blob/master/contributing.md).
- type: textarea
attributes:
label: Description
description: |
A clear and concise description of the feature you're interested in.
validations:
required: true
- type: textarea
attributes:
label: Suggested Solution
description: |
Describe the solution you'd like. A clear and concise description of what you want to happen.
validations:
required: true
- type: textarea
attributes:
label: Alternatives
description: |
Describe alternatives you've considered.
A clear and concise description of any alternative solutions or features you've considered.
validations:
required: false
- type: textarea
attributes:
label: Additional Context
description: |
Add any other context about the problem here.
validations:
required: false
+5
View File
@@ -0,0 +1,5 @@
contact_links:
- name: Get Help
url: https://github.com/wg-easy/wg-easy/discussions/new?category=q-a
about: If you can't get something to work the way you expect, open a question in the discussions.
blank_issues_enabled: false
+28
View File
@@ -0,0 +1,28 @@
<!--- Provide a general summary of your changes in the Title above -->
## Description
<!--- Describe your changes in detail -->
## Motivation and Context
<!--- Why is this change required? What problem does it solve? -->
<!--- If it fixes an open issue, please link to the issue here. -->
## How has this been tested?
<!--- Please describe in detail how you tested your changes. -->
<!--- Include details of your testing environment, tests ran to see how -->
<!--- your change affects other areas of the code, etc. -->
## Screenshots (if appropriate):
## Types of changes
<!--- What types of changes does your code introduce? Put an `x` in all the boxes that apply: -->
- [ ] 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:
<!--- Go over all the following points, and put an `x` in all the boxes that apply. -->
<!--- If you're unsure about any of these, don't hesitate to ask. We're here to help! -->
- [ ] My code follows the code style of this project.
- [ ] My change requires a change to the documentation.
- [ ] I have updated the documentation accordingly.
+17
View File
@@ -0,0 +1,17 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
rebase-strategy: "auto"
- package-ecosystem: "npm"
directory: "/"
schedule:
interval: "weekly"
rebase-strategy: "auto"
- package-ecosystem: "npm"
directory: "/src/"
schedule:
interval: "weekly"
rebase-strategy: "auto"
+43
View File
@@ -0,0 +1,43 @@
name: CodeQL
on:
push:
branches:
- master
pull_request:
branches:
- master
schedule:
- cron: "15 0 * * *"
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
if: github.repository_owner == 'wg-easy'
permissions:
actions: read
contents: read
security-events: write
strategy:
fail-fast: false
matrix:
language: ["javascript-typescript"]
steps:
- name: Checkout repository
uses: actions/checkout@v5
- name: Initialize CodeQL
uses: github/codeql-action/init@v4
with:
languages: ${{ matrix.language }}
- name: Autobuild
uses: github/codeql-action/autobuild@v4
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v4
with:
category: "/language:${{matrix.language}}"
+164
View File
@@ -0,0 +1,164 @@
name: Development
on:
workflow_dispatch:
jobs:
docker-build:
name: Build Docker
runs-on: ${{ matrix.arch.os }}
if: github.repository_owner == 'wg-easy'
permissions:
packages: write
strategy:
fail-fast: false
matrix:
arch:
- platform: linux/amd64
os: ubuntu-latest
- platform: linux/arm64
os: ubuntu-24.04-arm
- platform: linux/arm/v7
os: ubuntu-24.04-arm
steps:
- uses: actions/checkout@v5
- name: Prepare
run: |
platform=${{ matrix.arch.platform }}
echo "PLATFORM_PAIR=${platform//\//-}" >> $GITHUB_ENV
- name: Docker meta
id: meta
uses: docker/metadata-action@v5
with:
images: |
ghcr.io/wg-easy/wg-easy
flavor: |
latest=false
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build and push by digest
id: build
uses: docker/build-push-action@v6
with:
context: .
platforms: ${{ matrix.arch.platform }}
labels: ${{ steps.meta.outputs.labels }}
tags: ghcr.io/wg-easy/wg-easy
outputs: type=image,push-by-digest=true,name-canonical=true,push=true
cache-from: type=gha,scope=build-${{ env.PLATFORM_PAIR }}
cache-to: type=gha,mode=min,scope=build-${{ env.PLATFORM_PAIR }}
- name: Export digest
run: |
mkdir -p ${{ runner.temp }}/digests
digest="${{ steps.build.outputs.digest }}"
touch "${{ runner.temp }}/digests/${digest#sha256:}"
- name: Upload digest
uses: actions/upload-artifact@v5
with:
name: digests-${{ env.PLATFORM_PAIR }}
path: ${{ runner.temp }}/digests/*
if-no-files-found: error
retention-days: 1
docker-merge:
name: Merge & Deploy Docker
runs-on: ubuntu-latest
if: github.repository_owner == 'wg-easy'
permissions:
packages: write
needs: docker-build
steps:
- name: Download digests
uses: actions/download-artifact@v6
with:
path: ${{ runner.temp }}/digests
pattern: digests-*
merge-multiple: true
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Login to Codeberg
uses: docker/login-action@v3
with:
registry: codeberg.org
username: ${{ secrets.CODEBERG_USER }}
password: ${{ secrets.CODEBERG_PASS }}
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Docker meta
id: meta
uses: docker/metadata-action@v5
with:
images: |
ghcr.io/wg-easy/wg-easy
codeberg.org/wg-easy/wg-easy
flavor: |
latest=false
tags: |
type=raw,value=development
- name: Create manifest list and push
working-directory: ${{ runner.temp }}/digests
run: |
docker buildx imagetools create $(jq -cr '.tags | map("-t " + .) | join(" ")' <<< "$DOCKER_METADATA_OUTPUT_JSON") \
$(printf 'ghcr.io/wg-easy/wg-easy@sha256:%s ' *)
- name: Inspect image
run: |
docker buildx imagetools inspect ghcr.io/wg-easy/wg-easy:${{ steps.meta.outputs.version }}
docs:
name: Build & Deploy Docs
runs-on: ubuntu-latest
if: github.repository_owner == 'wg-easy'
permissions:
contents: write
needs: docker-merge
steps:
- uses: actions/checkout@v5
- name: Setup Python
uses: actions/setup-python@v6
with:
python-version: 3.11.9
cache: "pip"
cache-dependency-path: docs/requirements.txt
- name: Install Dependencies
run: |
pip install -r docs/requirements.txt
- name: Setup Git User
run: |
git config --global user.name 'github-actions[bot]'
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
- name: Build Docs Website
run: |
cd docs
git fetch origin gh-pages --depth=1 || true
mike deploy --push --update-aliases development
+175
View File
@@ -0,0 +1,175 @@
name: Edge
on:
workflow_dispatch:
push:
branches:
- master
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
docker-build:
name: Build Docker
runs-on: ${{ matrix.arch.os }}
if: github.repository_owner == 'wg-easy'
permissions:
packages: write
strategy:
fail-fast: false
matrix:
arch:
- platform: linux/amd64
os: ubuntu-latest
- platform: linux/arm64
os: ubuntu-24.04-arm
- platform: linux/arm/v7
os: ubuntu-24.04-arm
steps:
- uses: actions/checkout@v5
with:
ref: master
- name: Prepare
run: |
platform=${{ matrix.arch.platform }}
echo "PLATFORM_PAIR=${platform//\//-}" >> $GITHUB_ENV
- name: Docker meta
id: meta
uses: docker/metadata-action@v5
with:
images: |
ghcr.io/wg-easy/wg-easy
flavor: |
latest=false
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build and push by digest
id: build
uses: docker/build-push-action@v6
with:
context: .
platforms: ${{ matrix.arch.platform }}
labels: ${{ steps.meta.outputs.labels }}
tags: ghcr.io/wg-easy/wg-easy
outputs: type=image,push-by-digest=true,name-canonical=true,push=true
cache-from: type=gha,scope=build-${{ env.PLATFORM_PAIR }}
cache-to: type=gha,mode=min,scope=build-${{ env.PLATFORM_PAIR }}
- name: Export digest
run: |
mkdir -p ${{ runner.temp }}/digests
digest="${{ steps.build.outputs.digest }}"
touch "${{ runner.temp }}/digests/${digest#sha256:}"
- name: Upload digest
uses: actions/upload-artifact@v5
with:
name: digests-${{ env.PLATFORM_PAIR }}
path: ${{ runner.temp }}/digests/*
if-no-files-found: error
retention-days: 1
docker-merge:
name: Merge & Deploy Docker
runs-on: ubuntu-latest
if: github.repository_owner == 'wg-easy'
permissions:
packages: write
needs: docker-build
steps:
- name: Download digests
uses: actions/download-artifact@v6
with:
path: ${{ runner.temp }}/digests
pattern: digests-*
merge-multiple: true
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Login to Codeberg
uses: docker/login-action@v3
with:
registry: codeberg.org
username: ${{ secrets.CODEBERG_USER }}
password: ${{ secrets.CODEBERG_PASS }}
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Docker meta
id: meta
uses: docker/metadata-action@v5
with:
images: |
ghcr.io/wg-easy/wg-easy
codeberg.org/wg-easy/wg-easy
flavor: |
latest=false
tags: |
type=raw,value=edge
- name: Create manifest list and push
working-directory: ${{ runner.temp }}/digests
run: |
docker buildx imagetools create $(jq -cr '.tags | map("-t " + .) | join(" ")' <<< "$DOCKER_METADATA_OUTPUT_JSON") \
$(printf 'ghcr.io/wg-easy/wg-easy@sha256:%s ' *)
- name: Inspect image
run: |
docker buildx imagetools inspect ghcr.io/wg-easy/wg-easy:${{ steps.meta.outputs.version }}
docs:
name: Build & Deploy Docs
runs-on: ubuntu-latest
if: github.repository_owner == 'wg-easy'
permissions:
contents: write
needs: docker-merge
steps:
- uses: actions/checkout@v5
with:
ref: master
- name: Setup Python
uses: actions/setup-python@v6
with:
python-version: 3.11.9
cache: "pip"
cache-dependency-path: docs/requirements.txt
- name: Install Dependencies
run: |
pip install -r docs/requirements.txt
- name: Setup Git User
run: |
git config --global user.name 'github-actions[bot]'
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
- name: Build Docs Website
run: |
cd docs
git fetch origin gh-pages --depth=1 || true
mike deploy --push --update-aliases edge
+55
View File
@@ -0,0 +1,55 @@
name: Pull Request
on:
workflow_dispatch:
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
docker:
name: Build Docker
runs-on: ${{ matrix.arch.os }}
if: github.repository_owner == 'wg-easy'
strategy:
fail-fast: false
matrix:
arch:
- platform: linux/amd64
os: ubuntu-latest
- platform: linux/arm64
os: ubuntu-24.04-arm
- platform: linux/arm/v7
os: ubuntu-24.04-arm
steps:
- uses: actions/checkout@v5
- name: Prepare
run: |
platform=${{ matrix.arch.platform }}
echo "PLATFORM_PAIR=${platform//\//-}" >> $GITHUB_ENV
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build Docker Image
uses: docker/build-push-action@v6
with:
context: .
push: false
platforms: ${{ matrix.arch.platform }}
tags: ghcr.io/wg-easy/wg-easy:pr
cache-from: type=gha
cache-to: type=gha,mode=min,scope=build-${{ env.PLATFORM_PAIR }}
+189
View File
@@ -0,0 +1,189 @@
name: Production
on:
workflow_dispatch:
push:
tags:
- "v*"
# This workflow does not support fixing old versions
# as this will break the latest and major tags
jobs:
docker-build:
name: Build Docker
runs-on: ${{ matrix.arch.os }}
if: |
github.repository_owner == 'wg-easy' &&
startsWith(github.ref, 'refs/tags/v')
permissions:
packages: write
strategy:
fail-fast: false
matrix:
arch:
- platform: linux/amd64
os: ubuntu-latest
- platform: linux/arm64
os: ubuntu-24.04-arm
- platform: linux/arm/v7
os: ubuntu-24.04-arm
steps:
- uses: actions/checkout@v5
- name: Prepare
run: |
platform=${{ matrix.arch.platform }}
echo "PLATFORM_PAIR=${platform//\//-}" >> $GITHUB_ENV
- name: Docker meta
id: meta
uses: docker/metadata-action@v5
with:
images: |
ghcr.io/wg-easy/wg-easy
flavor: |
latest=false
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build and push by digest
id: build
uses: docker/build-push-action@v6
with:
context: .
platforms: ${{ matrix.arch.platform }}
labels: ${{ steps.meta.outputs.labels }}
tags: ghcr.io/wg-easy/wg-easy
outputs: type=image,push-by-digest=true,name-canonical=true,push=true
cache-from: type=gha,scope=build-${{ env.PLATFORM_PAIR }}
cache-to: type=gha,mode=min,scope=build-${{ env.PLATFORM_PAIR }}
- name: Export digest
run: |
mkdir -p ${{ runner.temp }}/digests
digest="${{ steps.build.outputs.digest }}"
touch "${{ runner.temp }}/digests/${digest#sha256:}"
- name: Upload digest
uses: actions/upload-artifact@v5
with:
name: digests-${{ env.PLATFORM_PAIR }}
path: ${{ runner.temp }}/digests/*
if-no-files-found: error
retention-days: 1
docker-merge:
name: Merge & Deploy Docker
runs-on: ubuntu-latest
if: |
github.repository_owner == 'wg-easy' &&
startsWith(github.ref, 'refs/tags/v')
permissions:
packages: write
needs: docker-build
steps:
- name: Download digests
uses: actions/download-artifact@v6
with:
path: ${{ runner.temp }}/digests
pattern: digests-*
merge-multiple: true
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Login to Codeberg
uses: docker/login-action@v3
with:
registry: codeberg.org
username: ${{ secrets.CODEBERG_USER }}
password: ${{ secrets.CODEBERG_PASS }}
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Docker meta
id: meta
uses: docker/metadata-action@v5
with:
images: |
ghcr.io/wg-easy/wg-easy
codeberg.org/wg-easy/wg-easy
flavor: |
latest=false
tags: |
type=semver,pattern={{version}}
type=semver,pattern={{major}}
type=semver,pattern={{major}}.{{minor}}
- name: Create manifest list and push
working-directory: ${{ runner.temp }}/digests
run: |
docker buildx imagetools create $(jq -cr '.tags | map("-t " + .) | join(" ")' <<< "$DOCKER_METADATA_OUTPUT_JSON") \
$(printf 'ghcr.io/wg-easy/wg-easy@sha256:%s ' *)
- name: Inspect image
run: |
docker buildx imagetools inspect ghcr.io/wg-easy/wg-easy:${{ steps.meta.outputs.version }}
docs:
name: Build & Deploy Docs
runs-on: ubuntu-latest
if: |
github.repository_owner == 'wg-easy' &&
startsWith(github.ref, 'refs/tags/v')
permissions:
contents: write
needs: docker-merge
steps:
- uses: actions/checkout@v5
- name: Setup Python
uses: actions/setup-python@v6
with:
python-version: 3.11.9
cache: "pip"
cache-dependency-path: docs/requirements.txt
- name: Install Dependencies
run: |
pip install -r docs/requirements.txt
- name: Setup Git User
run: |
git config --global user.name 'github-actions[bot]'
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
- name: Build Docs Website
run: |
cd docs
git fetch origin gh-pages --depth=1 || true
# Extract version numbers
DOCS_VERSION=${GITHUB_REF#refs/tags/} # e.g. v1.2.3 or v1.2.3-beta
MINOR_VERSION=$(echo $DOCS_VERSION | cut -d. -f1,2) # e.g. v1.2
# Check if it's a stable release (only numbers, no '-')
if [[ "$DOCS_VERSION" =~ ^v[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
echo "Stable release detected: $DOCS_VERSION"
mike deploy --push --update-aliases $MINOR_VERSION latest
else
echo "Pre-release detected: $DOCS_VERSION"
mike deploy --push --update-aliases Pre-release
fi
+68
View File
@@ -0,0 +1,68 @@
name: Lint
on:
push:
branches:
- master
pull_request:
jobs:
docs:
name: Check Docs
runs-on: ubuntu-latest
if: github.repository_owner == 'wg-easy'
steps:
- name: Checkout repository
uses: actions/checkout@v5
- uses: pnpm/action-setup@v4
name: Install pnpm
with:
run_install: false
- name: Setup Node
uses: actions/setup-node@v6
with:
node-version: "lts/jod"
check-latest: true
cache: "pnpm"
- name: Check docs formatting
run: |
pnpm install
pnpm format:check:docs
lint:
name: Lint
runs-on: ubuntu-latest
needs: docs
if: github.repository_owner == 'wg-easy'
strategy:
fail-fast: false
max-parallel: 3
matrix:
command: ["lint", "typecheck", "format:check"]
steps:
- name: Checkout repository
uses: actions/checkout@v5
- uses: pnpm/action-setup@v4
name: Install pnpm
with:
run_install: false
- name: Setup Node
uses: actions/setup-node@v6
with:
node-version: "lts/jod"
check-latest: true
cache: "pnpm"
- name: pnpm ${{ matrix.command }}
run: |
cd src
pnpm install
pnpm ${{ matrix.command }}
+43
View File
@@ -0,0 +1,43 @@
# This workflow warns and then closes issues and PRs that have had no activity for a specified amount of time.
#
# You can adjust the behavior by modifying this file.
# For more information, see:
# https://github.com/actions/stale
name: Mark stale issues and pull requests
on:
workflow_dispatch:
schedule:
- cron: "*/5 * * * *"
jobs:
stale:
runs-on: ubuntu-latest
if: github.repository_owner == 'wg-easy'
permissions:
actions: write
issues: write
pull-requests: write
steps:
- uses: actions/stale@v10
with:
# Stale after 30 days of inactivity
days-before-issue-stale: 30
# Close after 14 days of being stale
days-before-issue-close: 14
stale-issue-label: "stale"
stale-issue-message: "This issue is stale because it has been open for 30 days with no activity."
close-issue-message: "This issue was closed because it has been inactive for 14 days since being marked as stale."
days-before-pr-stale: 30
days-before-pr-close: 14
stale-pr-message: "This PR is stale because it has been open for 30 days with no activity."
close-pr-message: "This PR was closed because it has been inactive for 14 days since being marked as stale."
repo-token: ${{ secrets.GITHUB_TOKEN }}
operations-per-run: 100
# Ignore Feature requests (https://github.com/actions/stale/issues/1293)
only-issue-types: "Bug"
# Ignore confirmed bugs
exempt-issue-labels: "status: confirmed"
# Ignore PRs with milestones
exempt-all-pr-milestones: true
+3
View File
@@ -0,0 +1,3 @@
.DS_Store
*.swp
node_modules
View File
+13
View File
@@ -0,0 +1,13 @@
{
"recommendations": [
"aaron-bond.better-comments",
"dbaeumer.vscode-eslint",
"antfu.goto-alias",
"esbenp.prettier-vscode",
"yoavbls.pretty-ts-errors",
"bradlc.vscode-tailwindcss",
"vue.volar",
"lokalise.i18n-ally",
"DavidAnson.vscode-markdownlint"
]
}
+30
View File
@@ -0,0 +1,30 @@
{
"editor.tabSize": 2,
"editor.useTabStops": false,
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.fixAll.eslint": "always"
},
"[vue]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[typescript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[json]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[markdown]": {
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.tabSize": 4,
"editor.useTabStops": false
},
"typescript.tsdk": "./src/node_modules/typescript/lib",
"i18n-ally.enabledFrameworks": ["vue"],
"i18n-ally.localesPaths": ["src/i18n/locales"],
"i18n-ally.sortKeys": false,
"i18n-ally.keepFulfilled": false,
"i18n-ally.keystyle": "nested",
"editor.gotoLocation.multipleDefinitions": "goto"
}
+94
View File
@@ -0,0 +1,94 @@
# Changelog
All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [Unreleased]
## Added
- AmneziaWG integration (https://github.com/wg-easy/wg-easy/pull/2102, https://github.com/wg-easy/wg-easy/pull/2226)
- Search / filter box (https://github.com/wg-easy/wg-easy/pull/2170)
- `INIT_ALLOWED_IPS` env var (https://github.com/wg-easy/wg-easy/pull/2164)
- Show client endpoint (https://github.com/wg-easy/wg-easy/pull/2058)
- Add option to view and copy config (https://github.com/wg-easy/wg-easy/pull/2289)
## Fixed
- Fix download as conf.txt (https://github.com/wg-easy/wg-easy/pull/2269)
- Clean filename for OTL download (https://github.com/wg-easy/wg-easy/pull/2253)
## Changed
- Allow lower MTU (https://github.com/wg-easy/wg-easy/pull/2228)
- Use /32 and /128 for client Cidr (https://github.com/wg-easy/wg-easy/pull/2217)
- Return client id on create (https://github.com/wg-easy/wg-easy/pull/2190)
- Publish on Codeberg (https://github.com/wg-easy/wg-easy/pull/2160)
- Allow empty DNS (https://github.com/wg-easy/wg-easy/pull/2052, https://github.com/wg-easy/wg-easy/pull/2057)
- Don't include keys in API responses (https://github.com/wg-easy/wg-easy/pull/2015)
- Try all QR ecc levels (https://github.com/wg-easy/wg-easy/pull/2288)
## Docs
- Add AdGuard Home (https://github.com/wg-easy/wg-easy/pull/2175)
- Add Routed (No NAT) docs (https://github.com/wg-easy/wg-easy/pull/2181)
## [15.1.0] - 2025-07-01
### Added
- Added Ukrainian language (#1906)
- Add French language (#1924)
- docs for caddy example (#1939)
- add docs on how to add/update translation (be26db6)
- Add german translations (#1889)
- feat: Add Traditional Chinese (zh-HK) i18n Support (#1988)
- Add Chinese Simplified (#1990)
- Add option to disable ipv6 (#1951)
### Fixed
- Updated container launch commands (#1989)
- update screenshot (962bfa2)
### Changed
- Updated dependencies
## [15.0.0] - 2025-05-28
We're super excited to announce v15!
This update is an entire rewrite to make it even easier to set up your own VPN.
### Breaking Changes
As the whole setup has changed, we recommend to start from scratch. And import your existing configs.
### Major Changes
- Almost all Environment variables removed
- New and Improved UI
- API Basic Authentication
- Added Docs
- Incrementing Version -> Semantic Versioning
- CIDR Support
- IPv6 Support
- Changed API Structure
- SQLite Database
- Deprecated Dockerless Installations
- Added Docker Volume Mount (`/lib/modules`)
- Removed ARMv6 support
- Connections over HTTP require setting the `INSECURE` env var
- Changed license from CC BY-NC-SA 4.0 to AGPL-3.0-only
- Added 2FA using TOTP
- Improved mobile support
- CLI
- Replaced `nightly` with `edge`
## [14.0.0] - 2024-09-04
### Major changes
- `PASSWORD` has been replaced by `PASSWORD_HASH`
+75
View File
@@ -0,0 +1,75 @@
FROM docker.io/library/node:jod-alpine AS build
WORKDIR /app
# update corepack
RUN npm install --global corepack@latest
# Install pnpm
RUN corepack enable pnpm
# Copy Web UI
COPY src/package.json src/pnpm-lock.yaml ./
RUN pnpm install
# Build UI
COPY src ./
RUN pnpm build
# Build amneziawg-tools
RUN apk add linux-headers build-base git && \
git clone https://github.com/amnezia-vpn/amneziawg-tools.git && \
cd amneziawg-tools/src && \
make
# Copy build result to a new image.
# This saves a lot of disk space.
FROM docker.io/library/node:jod-alpine
WORKDIR /app
HEALTHCHECK --interval=1m --timeout=5s --retries=3 CMD /usr/bin/timeout 5s /bin/sh -c "/usr/bin/wg show | /bin/grep -q interface || exit 1"
# Copy build
COPY --from=build /app/.output /app
# Copy migrations
COPY --from=build /app/server/database/migrations /app/server/database/migrations
# libsql (https://github.com/nitrojs/nitro/issues/3328)
RUN cd /app/server && \
npm install --no-save libsql && \
npm cache clean --force
# cli
COPY --from=build /app/cli/cli.sh /usr/local/bin/cli
RUN chmod +x /usr/local/bin/cli
# Copy amneziawg-tools
COPY --from=build /app/amneziawg-tools/src/wg /usr/bin/awg
COPY --from=build /app/amneziawg-tools/src/wg-quick/linux.bash /usr/bin/awg-quick
RUN chmod +x /usr/bin/awg /usr/bin/awg-quick
# Install Linux packages
RUN apk add --no-cache \
dpkg \
dumb-init \
iptables \
ip6tables \
nftables \
kmod \
iptables-legacy \
wireguard-tools
RUN mkdir -p /etc/amnezia
RUN ln -s /etc/wireguard /etc/amnezia/amneziawg
# Use iptables-legacy
RUN update-alternatives --install /usr/sbin/iptables iptables /usr/sbin/iptables-legacy 10 --slave /usr/sbin/iptables-restore iptables-restore /usr/sbin/iptables-legacy-restore --slave /usr/sbin/iptables-save iptables-save /usr/sbin/iptables-legacy-save
RUN update-alternatives --install /usr/sbin/ip6tables ip6tables /usr/sbin/ip6tables-legacy 10 --slave /usr/sbin/ip6tables-restore ip6tables-restore /usr/sbin/ip6tables-legacy-restore --slave /usr/sbin/ip6tables-save ip6tables-save /usr/sbin/ip6tables-legacy-save
# Set Environment
ENV DEBUG=Server,WireGuard,Database,CMD
ENV PORT=51821
ENV HOST=0.0.0.0
ENV INSECURE=false
ENV INIT_ENABLED=false
ENV DISABLE_IPV6=false
LABEL org.opencontainers.image.source=https://github.com/wg-easy/wg-easy
# Run Web UI
CMD ["/usr/bin/dumb-init", "node", "server/index.mjs"]
+40
View File
@@ -0,0 +1,40 @@
FROM docker.io/library/node:jod-alpine
WORKDIR /app
# update corepack
RUN npm install --global corepack@latest
# Install pnpm
RUN corepack enable pnpm
HEALTHCHECK --interval=1m --timeout=5s --retries=3 CMD /usr/bin/timeout 5s /bin/sh -c "/usr/bin/wg show | /bin/grep -q interface || exit 1"
# Install Linux packages
RUN apk add --no-cache \
dpkg \
dumb-init \
iptables \
ip6tables \
kmod \
iptables-legacy \
wireguard-tools
# Use iptables-legacy
RUN update-alternatives --install /usr/sbin/iptables iptables /usr/sbin/iptables-legacy 10 --slave /usr/sbin/iptables-restore iptables-restore /usr/sbin/iptables-legacy-restore --slave /usr/sbin/iptables-save iptables-save /usr/sbin/iptables-legacy-save
RUN update-alternatives --install /usr/sbin/ip6tables ip6tables /usr/sbin/ip6tables-legacy 10 --slave /usr/sbin/ip6tables-restore ip6tables-restore /usr/sbin/ip6tables-legacy-restore --slave /usr/sbin/ip6tables-save ip6tables-save /usr/sbin/ip6tables-legacy-save
# Set Environment
ENV DEBUG=Server,WireGuard,Database,CMD
ENV PORT=51821
ENV HOST=0.0.0.0
ENV INSECURE=true
ENV INIT_ENABLED=false
ENV DISABLE_IPV6=false
# Install Dependencies
COPY src/package.json src/pnpm-lock.yaml ./
RUN pnpm install
# Copy Project
COPY src ./
ENTRYPOINT [ "pnpm", "run" ]
+661
View File
@@ -0,0 +1,661 @@
GNU AFFERO GENERAL PUBLIC LICENSE
Version 3, 19 November 2007
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The GNU Affero General Public License is a free, copyleft license for
software and other kinds of works, specifically designed to ensure
cooperation with the community in the case of network server software.
The licenses for most software and other practical works are designed
to take away your freedom to share and change the works. By contrast,
our General Public Licenses are intended to guarantee your freedom to
share and change all versions of a program--to make sure it remains free
software for all its users.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
them if you wish), that you receive source code or can get it if you
want it, that you can change the software or use pieces of it in new
free programs, and that you know you can do these things.
Developers that use our General Public Licenses protect your rights
with two steps: (1) assert copyright on the software, and (2) offer
you this License which gives you legal permission to copy, distribute
and/or modify the software.
A secondary benefit of defending all users' freedom is that
improvements made in alternate versions of the program, if they
receive widespread use, become available for other developers to
incorporate. Many developers of free software are heartened and
encouraged by the resulting cooperation. However, in the case of
software used on network servers, this result may fail to come about.
The GNU General Public License permits making a modified version and
letting the public access it on a server without ever releasing its
source code to the public.
The GNU Affero General Public License is designed specifically to
ensure that, in such cases, the modified source code becomes available
to the community. It requires the operator of a network server to
provide the source code of the modified version running there to the
users of that server. Therefore, public use of a modified version, on
a publicly accessible server, gives the public access to the source
code of the modified version.
An older license, called the Affero General Public License and
published by Affero, was designed to accomplish similar goals. This is
a different license, not a version of the Affero GPL, but Affero has
released a new version of the Affero GPL which permits relicensing under
this license.
The precise terms and conditions for copying, distribution and
modification follow.
TERMS AND CONDITIONS
0. Definitions.
"This License" refers to version 3 of the GNU Affero General Public License.
"Copyright" also means copyright-like laws that apply to other kinds of
works, such as semiconductor masks.
"The Program" refers to any copyrightable work licensed under this
License. Each licensee is addressed as "you". "Licensees" and
"recipients" may be individuals or organizations.
To "modify" a work means to copy from or adapt all or part of the work
in a fashion requiring copyright permission, other than the making of an
exact copy. The resulting work is called a "modified version" of the
earlier work or a work "based on" the earlier work.
A "covered work" means either the unmodified Program or a work based
on the Program.
To "propagate" a work means to do anything with it that, without
permission, would make you directly or secondarily liable for
infringement under applicable copyright law, except executing it on a
computer or modifying a private copy. Propagation includes copying,
distribution (with or without modification), making available to the
public, and in some countries other activities as well.
To "convey" a work means any kind of propagation that enables other
parties to make or receive copies. Mere interaction with a user through
a computer network, with no transfer of a copy, is not conveying.
An interactive user interface displays "Appropriate Legal Notices"
to the extent that it includes a convenient and prominently visible
feature that (1) displays an appropriate copyright notice, and (2)
tells the user that there is no warranty for the work (except to the
extent that warranties are provided), that licensees may convey the
work under this License, and how to view a copy of this License. If
the interface presents a list of user commands or options, such as a
menu, a prominent item in the list meets this criterion.
1. Source Code.
The "source code" for a work means the preferred form of the work
for making modifications to it. "Object code" means any non-source
form of a work.
A "Standard Interface" means an interface that either is an official
standard defined by a recognized standards body, or, in the case of
interfaces specified for a particular programming language, one that
is widely used among developers working in that language.
The "System Libraries" of an executable work include anything, other
than the work as a whole, that (a) is included in the normal form of
packaging a Major Component, but which is not part of that Major
Component, and (b) serves only to enable use of the work with that
Major Component, or to implement a Standard Interface for which an
implementation is available to the public in source code form. A
"Major Component", in this context, means a major essential component
(kernel, window system, and so on) of the specific operating system
(if any) on which the executable work runs, or a compiler used to
produce the work, or an object code interpreter used to run it.
The "Corresponding Source" for a work in object code form means all
the source code needed to generate, install, and (for an executable
work) run the object code and to modify the work, including scripts to
control those activities. However, it does not include the work's
System Libraries, or general-purpose tools or generally available free
programs which are used unmodified in performing those activities but
which are not part of the work. For example, Corresponding Source
includes interface definition files associated with source files for
the work, and the source code for shared libraries and dynamically
linked subprograms that the work is specifically designed to require,
such as by intimate data communication or control flow between those
subprograms and other parts of the work.
The Corresponding Source need not include anything that users
can regenerate automatically from other parts of the Corresponding
Source.
The Corresponding Source for a work in source code form is that
same work.
2. Basic Permissions.
All rights granted under this License are granted for the term of
copyright on the Program, and are irrevocable provided the stated
conditions are met. This License explicitly affirms your unlimited
permission to run the unmodified Program. The output from running a
covered work is covered by this License only if the output, given its
content, constitutes a covered work. This License acknowledges your
rights of fair use or other equivalent, as provided by copyright law.
You may make, run and propagate covered works that you do not
convey, without conditions so long as your license otherwise remains
in force. You may convey covered works to others for the sole purpose
of having them make modifications exclusively for you, or provide you
with facilities for running those works, provided that you comply with
the terms of this License in conveying all material for which you do
not control copyright. Those thus making or running the covered works
for you must do so exclusively on your behalf, under your direction
and control, on terms that prohibit them from making any copies of
your copyrighted material outside their relationship with you.
Conveying under any other circumstances is permitted solely under
the conditions stated below. Sublicensing is not allowed; section 10
makes it unnecessary.
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
No covered work shall be deemed part of an effective technological
measure under any applicable law fulfilling obligations under article
11 of the WIPO copyright treaty adopted on 20 December 1996, or
similar laws prohibiting or restricting circumvention of such
measures.
When you convey a covered work, you waive any legal power to forbid
circumvention of technological measures to the extent such circumvention
is effected by exercising rights under this License with respect to
the covered work, and you disclaim any intention to limit operation or
modification of the work as a means of enforcing, against the work's
users, your or third parties' legal rights to forbid circumvention of
technological measures.
4. Conveying Verbatim Copies.
You may convey verbatim copies of the Program's source code as you
receive it, in any medium, provided that you conspicuously and
appropriately publish on each copy an appropriate copyright notice;
keep intact all notices stating that this License and any
non-permissive terms added in accord with section 7 apply to the code;
keep intact all notices of the absence of any warranty; and give all
recipients a copy of this License along with the Program.
You may charge any price or no price for each copy that you convey,
and you may offer support or warranty protection for a fee.
5. Conveying Modified Source Versions.
You may convey a work based on the Program, or the modifications to
produce it from the Program, in the form of source code under the
terms of section 4, provided that you also meet all of these conditions:
a) The work must carry prominent notices stating that you modified
it, and giving a relevant date.
b) The work must carry prominent notices stating that it is
released under this License and any conditions added under section
7. This requirement modifies the requirement in section 4 to
"keep intact all notices".
c) You must license the entire work, as a whole, under this
License to anyone who comes into possession of a copy. This
License will therefore apply, along with any applicable section 7
additional terms, to the whole of the work, and all its parts,
regardless of how they are packaged. This License gives no
permission to license the work in any other way, but it does not
invalidate such permission if you have separately received it.
d) If the work has interactive user interfaces, each must display
Appropriate Legal Notices; however, if the Program has interactive
interfaces that do not display Appropriate Legal Notices, your
work need not make them do so.
A compilation of a covered work with other separate and independent
works, which are not by their nature extensions of the covered work,
and which are not combined with it such as to form a larger program,
in or on a volume of a storage or distribution medium, is called an
"aggregate" if the compilation and its resulting copyright are not
used to limit the access or legal rights of the compilation's users
beyond what the individual works permit. Inclusion of a covered work
in an aggregate does not cause this License to apply to the other
parts of the aggregate.
6. Conveying Non-Source Forms.
You may convey a covered work in object code form under the terms
of sections 4 and 5, provided that you also convey the
machine-readable Corresponding Source under the terms of this License,
in one of these ways:
a) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by the
Corresponding Source fixed on a durable physical medium
customarily used for software interchange.
b) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by a
written offer, valid for at least three years and valid for as
long as you offer spare parts or customer support for that product
model, to give anyone who possesses the object code either (1) a
copy of the Corresponding Source for all the software in the
product that is covered by this License, on a durable physical
medium customarily used for software interchange, for a price no
more than your reasonable cost of physically performing this
conveying of source, or (2) access to copy the
Corresponding Source from a network server at no charge.
c) Convey individual copies of the object code with a copy of the
written offer to provide the Corresponding Source. This
alternative is allowed only occasionally and noncommercially, and
only if you received the object code with such an offer, in accord
with subsection 6b.
d) Convey the object code by offering access from a designated
place (gratis or for a charge), and offer equivalent access to the
Corresponding Source in the same way through the same place at no
further charge. You need not require recipients to copy the
Corresponding Source along with the object code. If the place to
copy the object code is a network server, the Corresponding Source
may be on a different server (operated by you or a third party)
that supports equivalent copying facilities, provided you maintain
clear directions next to the object code saying where to find the
Corresponding Source. Regardless of what server hosts the
Corresponding Source, you remain obligated to ensure that it is
available for as long as needed to satisfy these requirements.
e) Convey the object code using peer-to-peer transmission, provided
you inform other peers where the object code and Corresponding
Source of the work are being offered to the general public at no
charge under subsection 6d.
A separable portion of the object code, whose source code is excluded
from the Corresponding Source as a System Library, need not be
included in conveying the object code work.
A "User Product" is either (1) a "consumer product", which means any
tangible personal property which is normally used for personal, family,
or household purposes, or (2) anything designed or sold for incorporation
into a dwelling. In determining whether a product is a consumer product,
doubtful cases shall be resolved in favor of coverage. For a particular
product received by a particular user, "normally used" refers to a
typical or common use of that class of product, regardless of the status
of the particular user or of the way in which the particular user
actually uses, or expects or is expected to use, the product. A product
is a consumer product regardless of whether the product has substantial
commercial, industrial or non-consumer uses, unless such uses represent
the only significant mode of use of the product.
"Installation Information" for a User Product means any methods,
procedures, authorization keys, or other information required to install
and execute modified versions of a covered work in that User Product from
a modified version of its Corresponding Source. The information must
suffice to ensure that the continued functioning of the modified object
code is in no case prevented or interfered with solely because
modification has been made.
If you convey an object code work under this section in, or with, or
specifically for use in, a User Product, and the conveying occurs as
part of a transaction in which the right of possession and use of the
User Product is transferred to the recipient in perpetuity or for a
fixed term (regardless of how the transaction is characterized), the
Corresponding Source conveyed under this section must be accompanied
by the Installation Information. But this requirement does not apply
if neither you nor any third party retains the ability to install
modified object code on the User Product (for example, the work has
been installed in ROM).
The requirement to provide Installation Information does not include a
requirement to continue to provide support service, warranty, or updates
for a work that has been modified or installed by the recipient, or for
the User Product in which it has been modified or installed. Access to a
network may be denied when the modification itself materially and
adversely affects the operation of the network or violates the rules and
protocols for communication across the network.
Corresponding Source conveyed, and Installation Information provided,
in accord with this section must be in a format that is publicly
documented (and with an implementation available to the public in
source code form), and must require no special password or key for
unpacking, reading or copying.
7. Additional Terms.
"Additional permissions" are terms that supplement the terms of this
License by making exceptions from one or more of its conditions.
Additional permissions that are applicable to the entire Program shall
be treated as though they were included in this License, to the extent
that they are valid under applicable law. If additional permissions
apply only to part of the Program, that part may be used separately
under those permissions, but the entire Program remains governed by
this License without regard to the additional permissions.
When you convey a copy of a covered work, you may at your option
remove any additional permissions from that copy, or from any part of
it. (Additional permissions may be written to require their own
removal in certain cases when you modify the work.) You may place
additional permissions on material, added by you to a covered work,
for which you have or can give appropriate copyright permission.
Notwithstanding any other provision of this License, for material you
add to a covered work, you may (if authorized by the copyright holders of
that material) supplement the terms of this License with terms:
a) Disclaiming warranty or limiting liability differently from the
terms of sections 15 and 16 of this License; or
b) Requiring preservation of specified reasonable legal notices or
author attributions in that material or in the Appropriate Legal
Notices displayed by works containing it; or
c) Prohibiting misrepresentation of the origin of that material, or
requiring that modified versions of such material be marked in
reasonable ways as different from the original version; or
d) Limiting the use for publicity purposes of names of licensors or
authors of the material; or
e) Declining to grant rights under trademark law for use of some
trade names, trademarks, or service marks; or
f) Requiring indemnification of licensors and authors of that
material by anyone who conveys the material (or modified versions of
it) with contractual assumptions of liability to the recipient, for
any liability that these contractual assumptions directly impose on
those licensors and authors.
All other non-permissive additional terms are considered "further
restrictions" within the meaning of section 10. If the Program as you
received it, or any part of it, contains a notice stating that it is
governed by this License along with a term that is a further
restriction, you may remove that term. If a license document contains
a further restriction but permits relicensing or conveying under this
License, you may add to a covered work material governed by the terms
of that license document, provided that the further restriction does
not survive such relicensing or conveying.
If you add terms to a covered work in accord with this section, you
must place, in the relevant source files, a statement of the
additional terms that apply to those files, or a notice indicating
where to find the applicable terms.
Additional terms, permissive or non-permissive, may be stated in the
form of a separately written license, or stated as exceptions;
the above requirements apply either way.
8. Termination.
You may not propagate or modify a covered work except as expressly
provided under this License. Any attempt otherwise to propagate or
modify it is void, and will automatically terminate your rights under
this License (including any patent licenses granted under the third
paragraph of section 11).
However, if you cease all violation of this License, then your
license from a particular copyright holder is reinstated (a)
provisionally, unless and until the copyright holder explicitly and
finally terminates your license, and (b) permanently, if the copyright
holder fails to notify you of the violation by some reasonable means
prior to 60 days after the cessation.
Moreover, your license from a particular copyright holder is
reinstated permanently if the copyright holder notifies you of the
violation by some reasonable means, this is the first time you have
received notice of violation of this License (for any work) from that
copyright holder, and you cure the violation prior to 30 days after
your receipt of the notice.
Termination of your rights under this section does not terminate the
licenses of parties who have received copies or rights from you under
this License. If your rights have been terminated and not permanently
reinstated, you do not qualify to receive new licenses for the same
material under section 10.
9. Acceptance Not Required for Having Copies.
You are not required to accept this License in order to receive or
run a copy of the Program. Ancillary propagation of a covered work
occurring solely as a consequence of using peer-to-peer transmission
to receive a copy likewise does not require acceptance. However,
nothing other than this License grants you permission to propagate or
modify any covered work. These actions infringe copyright if you do
not accept this License. Therefore, by modifying or propagating a
covered work, you indicate your acceptance of this License to do so.
10. Automatic Licensing of Downstream Recipients.
Each time you convey a covered work, the recipient automatically
receives a license from the original licensors, to run, modify and
propagate that work, subject to this License. You are not responsible
for enforcing compliance by third parties with this License.
An "entity transaction" is a transaction transferring control of an
organization, or substantially all assets of one, or subdividing an
organization, or merging organizations. If propagation of a covered
work results from an entity transaction, each party to that
transaction who receives a copy of the work also receives whatever
licenses to the work the party's predecessor in interest had or could
give under the previous paragraph, plus a right to possession of the
Corresponding Source of the work from the predecessor in interest, if
the predecessor has it or can get it with reasonable efforts.
You may not impose any further restrictions on the exercise of the
rights granted or affirmed under this License. For example, you may
not impose a license fee, royalty, or other charge for exercise of
rights granted under this License, and you may not initiate litigation
(including a cross-claim or counterclaim in a lawsuit) alleging that
any patent claim is infringed by making, using, selling, offering for
sale, or importing the Program or any portion of it.
11. Patents.
A "contributor" is a copyright holder who authorizes use under this
License of the Program or a work on which the Program is based. The
work thus licensed is called the contributor's "contributor version".
A contributor's "essential patent claims" are all patent claims
owned or controlled by the contributor, whether already acquired or
hereafter acquired, that would be infringed by some manner, permitted
by this License, of making, using, or selling its contributor version,
but do not include claims that would be infringed only as a
consequence of further modification of the contributor version. For
purposes of this definition, "control" includes the right to grant
patent sublicenses in a manner consistent with the requirements of
this License.
Each contributor grants you a non-exclusive, worldwide, royalty-free
patent license under the contributor's essential patent claims, to
make, use, sell, offer for sale, import and otherwise run, modify and
propagate the contents of its contributor version.
In the following three paragraphs, a "patent license" is any express
agreement or commitment, however denominated, not to enforce a patent
(such as an express permission to practice a patent or covenant not to
sue for patent infringement). To "grant" such a patent license to a
party means to make such an agreement or commitment not to enforce a
patent against the party.
If you convey a covered work, knowingly relying on a patent license,
and the Corresponding Source of the work is not available for anyone
to copy, free of charge and under the terms of this License, through a
publicly available network server or other readily accessible means,
then you must either (1) cause the Corresponding Source to be so
available, or (2) arrange to deprive yourself of the benefit of the
patent license for this particular work, or (3) arrange, in a manner
consistent with the requirements of this License, to extend the patent
license to downstream recipients. "Knowingly relying" means you have
actual knowledge that, but for the patent license, your conveying the
covered work in a country, or your recipient's use of the covered work
in a country, would infringe one or more identifiable patents in that
country that you have reason to believe are valid.
If, pursuant to or in connection with a single transaction or
arrangement, you convey, or propagate by procuring conveyance of, a
covered work, and grant a patent license to some of the parties
receiving the covered work authorizing them to use, propagate, modify
or convey a specific copy of the covered work, then the patent license
you grant is automatically extended to all recipients of the covered
work and works based on it.
A patent license is "discriminatory" if it does not include within
the scope of its coverage, prohibits the exercise of, or is
conditioned on the non-exercise of one or more of the rights that are
specifically granted under this License. You may not convey a covered
work if you are a party to an arrangement with a third party that is
in the business of distributing software, under which you make payment
to the third party based on the extent of your activity of conveying
the work, and under which the third party grants, to any of the
parties who would receive the covered work from you, a discriminatory
patent license (a) in connection with copies of the covered work
conveyed by you (or copies made from those copies), or (b) primarily
for and in connection with specific products or compilations that
contain the covered work, unless you entered into that arrangement,
or that patent license was granted, prior to 28 March 2007.
Nothing in this License shall be construed as excluding or limiting
any implied license or other defenses to infringement that may
otherwise be available to you under applicable patent law.
12. No Surrender of Others' Freedom.
If conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot convey a
covered work so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you may
not convey it at all. For example, if you agree to terms that obligate you
to collect a royalty for further conveying from those to whom you convey
the Program, the only way you could satisfy both those terms and this
License would be to refrain entirely from conveying the Program.
13. Remote Network Interaction; Use with the GNU General Public License.
Notwithstanding any other provision of this License, if you modify the
Program, your modified version must prominently offer all users
interacting with it remotely through a computer network (if your version
supports such interaction) an opportunity to receive the Corresponding
Source of your version by providing access to the Corresponding Source
from a network server at no charge, through some standard or customary
means of facilitating copying of software. This Corresponding Source
shall include the Corresponding Source for any work covered by version 3
of the GNU General Public License that is incorporated pursuant to the
following paragraph.
Notwithstanding any other provision of this License, you have
permission to link or combine any covered work with a work licensed
under version 3 of the GNU General Public License into a single
combined work, and to convey the resulting work. The terms of this
License will continue to apply to the part which is the covered work,
but the work with which it is combined will remain governed by version
3 of the GNU General Public License.
14. Revised Versions of this License.
The Free Software Foundation may publish revised and/or new versions of
the GNU Affero General Public License from time to time. Such new versions
will be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the
Program specifies that a certain numbered version of the GNU Affero General
Public License "or any later version" applies to it, you have the
option of following the terms and conditions either of that numbered
version or of any later version published by the Free Software
Foundation. If the Program does not specify a version number of the
GNU Affero General Public License, you may choose any version ever published
by the Free Software Foundation.
If the Program specifies that a proxy can decide which future
versions of the GNU Affero General Public License can be used, that proxy's
public statement of acceptance of a version permanently authorizes you
to choose that version for the Program.
Later license versions may give you additional or different
permissions. However, no additional obligations are imposed on any
author or copyright holder as a result of your choosing to follow a
later version.
15. Disclaimer of Warranty.
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
16. Limitation of Liability.
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
SUCH DAMAGES.
17. Interpretation of Sections 15 and 16.
If the disclaimer of warranty and limitation of liability provided
above cannot be given local legal effect according to their terms,
reviewing courts shall apply local law that most closely approximates
an absolute waiver of all civil liability in connection with the
Program, unless a warranty or assumption of liability accompanies a
copy of the Program in return for a fee.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
state the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
Also add information on how to contact you by electronic and paper mail.
If your software can interact with users remotely through a computer
network, you should also make sure that it provides a way for users to
get its source. For example, if your program is a web application, its
interface could display a "Source" link that leads users to an archive
of the code. There are many ways you could offer source, and different
solutions will be better for different programs; see section 13 for the
specific requirements.
You should also get your employer (if you work as a programmer) or school,
if any, to sign a "copyright disclaimer" for the program, if necessary.
For more information on this, and how to apply and follow the GNU AGPL, see
<https://www.gnu.org/licenses/>.
-1775
View File
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 KiB

File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
-18
View File
@@ -1,18 +0,0 @@
/*!
* Lunr languages, `Danish` language
* https://github.com/MihaiValentin/lunr-languages
*
* Copyright 2014, Mihai Valentin
* http://www.mozilla.org/MPL/
*/
/*!
* based on
* Snowball JavaScript Library v0.3
* http://code.google.com/p/urim/
* http://snowball.tartarus.org/
*
* Copyright 2010, Oleg Mazko
* http://www.mozilla.org/MPL/
*/
!function(e,r){"function"==typeof define&&define.amd?define(r):"object"==typeof exports?module.exports=r():r()(e.lunr)}(this,function(){return function(e){if(void 0===e)throw new Error("Lunr is not present. Please include / require Lunr before this script.");if(void 0===e.stemmerSupport)throw new Error("Lunr stemmer support is not present. Please include / require Lunr stemmer support before this script.");e.da=function(){this.pipeline.reset(),this.pipeline.add(e.da.trimmer,e.da.stopWordFilter,e.da.stemmer),this.searchPipeline&&(this.searchPipeline.reset(),this.searchPipeline.add(e.da.stemmer))},e.da.wordCharacters="A-Za-zªºÀ-ÖØ-öø-ʸˠ-ˤᴀ-ᴥᴬ-ᵜᵢ-ᵥᵫ-ᵷᵹ-ᶾḀ-ỿⁱⁿₐ-ₜKÅℲⅎⅠ-ↈⱠ-ⱿꜢ-ꞇꞋ-ꞭꞰ-ꞷꟷ-ꟿꬰ-ꭚꭜ-ꭤff-stA-Za-z",e.da.trimmer=e.trimmerSupport.generateTrimmer(e.da.wordCharacters),e.Pipeline.registerFunction(e.da.trimmer,"trimmer-da"),e.da.stemmer=function(){var r=e.stemmerSupport.Among,i=e.stemmerSupport.SnowballProgram,n=new function(){function e(){var e,r=f.cursor+3;if(d=f.limit,0<=r&&r<=f.limit){for(a=r;;){if(e=f.cursor,f.in_grouping(w,97,248)){f.cursor=e;break}if(f.cursor=e,e>=f.limit)return;f.cursor++}for(;!f.out_grouping(w,97,248);){if(f.cursor>=f.limit)return;f.cursor++}d=f.cursor,d<a&&(d=a)}}function n(){var e,r;if(f.cursor>=d&&(r=f.limit_backward,f.limit_backward=d,f.ket=f.cursor,e=f.find_among_b(c,32),f.limit_backward=r,e))switch(f.bra=f.cursor,e){case 1:f.slice_del();break;case 2:f.in_grouping_b(p,97,229)&&f.slice_del()}}function t(){var e,r=f.limit-f.cursor;f.cursor>=d&&(e=f.limit_backward,f.limit_backward=d,f.ket=f.cursor,f.find_among_b(l,4)?(f.bra=f.cursor,f.limit_backward=e,f.cursor=f.limit-r,f.cursor>f.limit_backward&&(f.cursor--,f.bra=f.cursor,f.slice_del())):f.limit_backward=e)}function s(){var e,r,i,n=f.limit-f.cursor;if(f.ket=f.cursor,f.eq_s_b(2,"st")&&(f.bra=f.cursor,f.eq_s_b(2,"ig")&&f.slice_del()),f.cursor=f.limit-n,f.cursor>=d&&(r=f.limit_backward,f.limit_backward=d,f.ket=f.cursor,e=f.find_among_b(m,5),f.limit_backward=r,e))switch(f.bra=f.cursor,e){case 1:f.slice_del(),i=f.limit-f.cursor,t(),f.cursor=f.limit-i;break;case 2:f.slice_from("løs")}}function o(){var e;f.cursor>=d&&(e=f.limit_backward,f.limit_backward=d,f.ket=f.cursor,f.out_grouping_b(w,97,248)?(f.bra=f.cursor,u=f.slice_to(u),f.limit_backward=e,f.eq_v_b(u)&&f.slice_del()):f.limit_backward=e)}var a,d,u,c=[new r("hed",-1,1),new r("ethed",0,1),new r("ered",-1,1),new r("e",-1,1),new r("erede",3,1),new r("ende",3,1),new r("erende",5,1),new r("ene",3,1),new r("erne",3,1),new r("ere",3,1),new r("en",-1,1),new r("heden",10,1),new r("eren",10,1),new r("er",-1,1),new r("heder",13,1),new r("erer",13,1),new r("s",-1,2),new r("heds",16,1),new r("es",16,1),new r("endes",18,1),new r("erendes",19,1),new r("enes",18,1),new r("ernes",18,1),new r("eres",18,1),new r("ens",16,1),new r("hedens",24,1),new r("erens",24,1),new r("ers",16,1),new r("ets",16,1),new r("erets",28,1),new r("et",-1,1),new r("eret",30,1)],l=[new r("gd",-1,-1),new r("dt",-1,-1),new r("gt",-1,-1),new r("kt",-1,-1)],m=[new r("ig",-1,1),new r("lig",0,1),new r("elig",1,1),new r("els",-1,1),new r("løst",-1,2)],w=[17,65,16,1,0,0,0,0,0,0,0,0,0,0,0,0,48,0,128],p=[239,254,42,3,0,0,0,0,0,0,0,0,0,0,0,0,16],f=new i;this.setCurrent=function(e){f.setCurrent(e)},this.getCurrent=function(){return f.getCurrent()},this.stem=function(){var r=f.cursor;return e(),f.limit_backward=r,f.cursor=f.limit,n(),f.cursor=f.limit,t(),f.cursor=f.limit,s(),f.cursor=f.limit,o(),!0}};return function(e){return"function"==typeof e.update?e.update(function(e){return n.setCurrent(e),n.stem(),n.getCurrent()}):(n.setCurrent(e),n.stem(),n.getCurrent())}}(),e.Pipeline.registerFunction(e.da.stemmer,"stemmer-da"),e.da.stopWordFilter=e.generateStopWordFilter("ad af alle alt anden at blev blive bliver da de dem den denne der deres det dette dig din disse dog du efter eller en end er et for fra ham han hans har havde have hende hendes her hos hun hvad hvis hvor i ikke ind jeg jer jo kunne man mange med meget men mig min mine mit mod ned noget nogle nu når og også om op os over på selv sig sin sine sit skal skulle som sådan thi til ud under var vi vil ville vor være været".split(" ")),e.Pipeline.registerFunction(e.da.stopWordFilter,"stopWordFilter-da")}});
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1 +0,0 @@
!function(e,r){"function"==typeof define&&define.amd?define(r):"object"==typeof exports?module.exports=r():r()(e.lunr)}(this,function(){return function(e){if(void 0===e)throw new Error("Lunr is not present. Please include / require Lunr before this script.");if(void 0===e.stemmerSupport)throw new Error("Lunr stemmer support is not present. Please include / require Lunr stemmer support before this script.");e.hi=function(){this.pipeline.reset(),this.pipeline.add(e.hi.trimmer,e.hi.stopWordFilter,e.hi.stemmer),this.searchPipeline&&(this.searchPipeline.reset(),this.searchPipeline.add(e.hi.stemmer))},e.hi.wordCharacters="ऀ-ःऄ-एऐ-टठ-यर-िी-ॏॐ-य़ॠ-९॰-ॿa-zA-Z-zA-0-9-",e.hi.trimmer=e.trimmerSupport.generateTrimmer(e.hi.wordCharacters),e.Pipeline.registerFunction(e.hi.trimmer,"trimmer-hi"),e.hi.stopWordFilter=e.generateStopWordFilter("अत अपना अपनी अपने अभी अंदर आदि आप इत्यादि इन इनका इन्हीं इन्हें इन्हों इस इसका इसकी इसके इसमें इसी इसे उन उनका उनकी उनके उनको उन्हीं उन्हें उन्हों उस उसके उसी उसे एक एवं एस ऐसे और कई कर करता करते करना करने करें कहते कहा का काफ़ी कि कितना किन्हें किन्हों किया किर किस किसी किसे की कुछ कुल के को कोई कौन कौनसा गया घर जब जहाँ जा जितना जिन जिन्हें जिन्हों जिस जिसे जीधर जैसा जैसे जो तक तब तरह तिन तिन्हें तिन्हों तिस तिसे तो था थी थे दबारा दिया दुसरा दूसरे दो द्वारा न नके नहीं ना निहायत नीचे ने पर पहले पूरा पे फिर बनी बही बहुत बाद बाला बिलकुल भी भीतर मगर मानो मे में यदि यह यहाँ यही या यिह ये रखें रहा रहे ऱ्वासा लिए लिये लेकिन व वग़ैरह वर्ग वह वहाँ वहीं वाले वुह वे वो सकता सकते सबसे सभी साथ साबुत साभ सारा से सो संग ही हुआ हुई हुए है हैं हो होता होती होते होना होने".split(" ")),e.hi.stemmer=function(){return function(e){return"function"==typeof e.update?e.update(function(e){return e}):e}}();var r=e.wordcut;r.init(),e.hi.tokenizer=function(i){if(!arguments.length||null==i||void 0==i)return[];if(Array.isArray(i))return i.map(function(r){return isLunr2?new e.Token(r.toLowerCase()):r.toLowerCase()});var t=i.toString().toLowerCase().replace(/^\s+/,"");return r.cut(t).split("|")},e.Pipeline.registerFunction(e.hi.stemmer,"stemmer-hi"),e.Pipeline.registerFunction(e.hi.stopWordFilter,"stopWordFilter-hi")}});
File diff suppressed because one or more lines are too long
@@ -1 +0,0 @@
!function(e,r){"function"==typeof define&&define.amd?define(r):"object"==typeof exports?module.exports=r():r()(e.lunr)}(this,function(){return function(e){if(void 0===e)throw new Error("Lunr is not present. Please include / require Lunr before this script.");if(void 0===e.stemmerSupport)throw new Error("Lunr stemmer support is not present. Please include / require Lunr stemmer support before this script.");e.hy=function(){this.pipeline.reset(),this.pipeline.add(e.hy.trimmer,e.hy.stopWordFilter)},e.hy.wordCharacters="[A-Za-z԰-֏ff-ﭏ]",e.hy.trimmer=e.trimmerSupport.generateTrimmer(e.hy.wordCharacters),e.Pipeline.registerFunction(e.hy.trimmer,"trimmer-hy"),e.hy.stopWordFilter=e.generateStopWordFilter("դու և եք էիր էիք հետո նաև նրանք որը վրա է որ պիտի են այս մեջ ն իր ու ի այդ որոնք այն կամ էր մի ես համար այլ իսկ էին ենք հետ ին թ էինք մենք նրա նա դուք եմ էի ըստ որպես ում".split(" ")),e.Pipeline.registerFunction(e.hy.stopWordFilter,"stopWordFilter-hy"),e.hy.stemmer=function(){return function(e){return"function"==typeof e.update?e.update(function(e){return e}):e}}(),e.Pipeline.registerFunction(e.hy.stemmer,"stemmer-hy")}});
File diff suppressed because one or more lines are too long
@@ -1 +0,0 @@
!function(e,r){"function"==typeof define&&define.amd?define(r):"object"==typeof exports?module.exports=r():r()(e.lunr)}(this,function(){return function(e){if(void 0===e)throw new Error("Lunr is not present. Please include / require Lunr before this script.");if(void 0===e.stemmerSupport)throw new Error("Lunr stemmer support is not present. Please include / require Lunr stemmer support before this script.");var r="2"==e.version[0];e.ja=function(){this.pipeline.reset(),this.pipeline.add(e.ja.trimmer,e.ja.stopWordFilter,e.ja.stemmer),r?this.tokenizer=e.ja.tokenizer:(e.tokenizer&&(e.tokenizer=e.ja.tokenizer),this.tokenizerFn&&(this.tokenizerFn=e.ja.tokenizer))};var t=new e.TinySegmenter;e.ja.tokenizer=function(i){var n,o,s,p,a,u,m,l,c,f;if(!arguments.length||null==i||void 0==i)return[];if(Array.isArray(i))return i.map(function(t){return r?new e.Token(t.toLowerCase()):t.toLowerCase()});for(o=i.toString().toLowerCase().replace(/^\s+/,""),n=o.length-1;n>=0;n--)if(/\S/.test(o.charAt(n))){o=o.substring(0,n+1);break}for(a=[],s=o.length,c=0,l=0;c<=s;c++)if(u=o.charAt(c),m=c-l,u.match(/\s/)||c==s){if(m>0)for(p=t.segment(o.slice(l,c)).filter(function(e){return!!e}),f=l,n=0;n<p.length;n++)r?a.push(new e.Token(p[n],{position:[f,p[n].length],index:a.length})):a.push(p[n]),f+=p[n].length;l=c+1}return a},e.ja.stemmer=function(){return function(e){return e}}(),e.Pipeline.registerFunction(e.ja.stemmer,"stemmer-ja"),e.ja.wordCharacters="一二三四五六七八九十百千万億兆一-龠々〆ヵヶぁ-んァ-ヴーア-ン゙a-zA-Z-zA-0-9-",e.ja.trimmer=e.trimmerSupport.generateTrimmer(e.ja.wordCharacters),e.Pipeline.registerFunction(e.ja.trimmer,"trimmer-ja"),e.ja.stopWordFilter=e.generateStopWordFilter("これ それ あれ この その あの ここ そこ あそこ こちら どこ だれ なに なん 何 私 貴方 貴方方 我々 私達 あの人 あのかた 彼女 彼 です あります おります います は が の に を で え から まで より も どの と し それで しかし".split(" ")),e.Pipeline.registerFunction(e.ja.stopWordFilter,"stopWordFilter-ja"),e.jp=e.ja,e.Pipeline.registerFunction(e.jp.stemmer,"stemmer-jp"),e.Pipeline.registerFunction(e.jp.trimmer,"trimmer-jp"),e.Pipeline.registerFunction(e.jp.stopWordFilter,"stopWordFilter-jp")}});
@@ -1 +0,0 @@
module.exports=require("./lunr.ja");
@@ -1 +0,0 @@
!function(e,r){"function"==typeof define&&define.amd?define(r):"object"==typeof exports?module.exports=r():r()(e.lunr)}(this,function(){return function(e){if(void 0===e)throw new Error("Lunr is not present. Please include / require Lunr before this script.");if(void 0===e.stemmerSupport)throw new Error("Lunr stemmer support is not present. Please include / require Lunr stemmer support before this script.");e.kn=function(){this.pipeline.reset(),this.pipeline.add(e.kn.trimmer,e.kn.stopWordFilter,e.kn.stemmer),this.searchPipeline&&(this.searchPipeline.reset(),this.searchPipeline.add(e.kn.stemmer))},e.kn.wordCharacters="ಀ-಄ಅ-ಔಕ-ಹಾ-ೌ಼-ಽೕ-ೖೝ-ೞೠ-ೡೢ-ೣ೤೥೦-೯ೱ-ೳ",e.kn.trimmer=e.trimmerSupport.generateTrimmer(e.kn.wordCharacters),e.Pipeline.registerFunction(e.kn.trimmer,"trimmer-kn"),e.kn.stopWordFilter=e.generateStopWordFilter("ಮತ್ತು ಈ ಒಂದು ರಲ್ಲಿ ಹಾಗೂ ಎಂದು ಅಥವಾ ಇದು ರ ಅವರು ಎಂಬ ಮೇಲೆ ಅವರ ತನ್ನ ಆದರೆ ತಮ್ಮ ನಂತರ ಮೂಲಕ ಹೆಚ್ಚು ನ ಆ ಕೆಲವು ಅನೇಕ ಎರಡು ಹಾಗು ಪ್ರಮುಖ ಇದನ್ನು ಇದರ ಸುಮಾರು ಅದರ ಅದು ಮೊದಲ ಬಗ್ಗೆ ನಲ್ಲಿ ರಂದು ಇತರ ಅತ್ಯಂತ ಹೆಚ್ಚಿನ ಸಹ ಸಾಮಾನ್ಯವಾಗಿ ನೇ ಹಲವಾರು ಹೊಸ ದಿ ಕಡಿಮೆ ಯಾವುದೇ ಹೊಂದಿದೆ ದೊಡ್ಡ ಅನ್ನು ಇವರು ಪ್ರಕಾರ ಇದೆ ಮಾತ್ರ ಕೂಡ ಇಲ್ಲಿ ಎಲ್ಲಾ ವಿವಿಧ ಅದನ್ನು ಹಲವು ರಿಂದ ಕೇವಲ ದ ದಕ್ಷಿಣ ಗೆ ಅವನ ಅತಿ ನೆಯ ಬಹಳ ಕೆಲಸ ಎಲ್ಲ ಪ್ರತಿ ಇತ್ಯಾದಿ ಇವು ಬೇರೆ ಹೀಗೆ ನಡುವೆ ಇದಕ್ಕೆ ಎಸ್ ಇವರ ಮೊದಲು ಶ್ರೀ ಮಾಡುವ ಇದರಲ್ಲಿ ರೀತಿಯ ಮಾಡಿದ ಕಾಲ ಅಲ್ಲಿ ಮಾಡಲು ಅದೇ ಈಗ ಅವು ಗಳು ಎ ಎಂಬುದು ಅವನು ಅಂದರೆ ಅವರಿಗೆ ಇರುವ ವಿಶೇಷ ಮುಂದೆ ಅವುಗಳ ಮುಂತಾದ ಮೂಲ ಬಿ ಮೀ ಒಂದೇ ಇನ್ನೂ ಹೆಚ್ಚಾಗಿ ಮಾಡಿ ಅವರನ್ನು ಇದೇ ಯ ರೀತಿಯಲ್ಲಿ ಜೊತೆ ಅದರಲ್ಲಿ ಮಾಡಿದರು ನಡೆದ ಆಗ ಮತ್ತೆ ಪೂರ್ವ ಆತ ಬಂದ ಯಾವ ಒಟ್ಟು ಇತರೆ ಹಿಂದೆ ಪ್ರಮಾಣದ ಗಳನ್ನು ಕುರಿತು ಯು ಆದ್ದರಿಂದ ಅಲ್ಲದೆ ನಗರದ ಮೇಲಿನ ಏಕೆಂದರೆ ರಷ್ಟು ಎಂಬುದನ್ನು ಬಾರಿ ಎಂದರೆ ಹಿಂದಿನ ಆದರೂ ಆದ ಸಂಬಂಧಿಸಿದ ಮತ್ತೊಂದು ಸಿ ಆತನ ".split(" ")),e.kn.stemmer=function(){return function(e){return"function"==typeof e.update?e.update(function(e){return e}):e}}();var r=e.wordcut;r.init(),e.kn.tokenizer=function(t){if(!arguments.length||null==t||void 0==t)return[];if(Array.isArray(t))return t.map(function(r){return isLunr2?new e.Token(r.toLowerCase()):r.toLowerCase()});var n=t.toString().toLowerCase().replace(/^\s+/,"");return r.cut(n).split("|")},e.Pipeline.registerFunction(e.kn.stemmer,"stemmer-kn"),e.Pipeline.registerFunction(e.kn.stopWordFilter,"stopWordFilter-kn")}});
File diff suppressed because one or more lines are too long
@@ -1 +0,0 @@
!function(e,t){"function"==typeof define&&define.amd?define(t):"object"==typeof exports?module.exports=t():t()(e.lunr)}(this,function(){return function(e){e.multiLanguage=function(){for(var t=Array.prototype.slice.call(arguments),i=t.join("-"),r="",n=[],s=[],p=0;p<t.length;++p)"en"==t[p]?(r+="\\w",n.unshift(e.stopWordFilter),n.push(e.stemmer),s.push(e.stemmer)):(r+=e[t[p]].wordCharacters,e[t[p]].stopWordFilter&&n.unshift(e[t[p]].stopWordFilter),e[t[p]].stemmer&&(n.push(e[t[p]].stemmer),s.push(e[t[p]].stemmer)));var o=e.trimmerSupport.generateTrimmer(r);return e.Pipeline.registerFunction(o,"lunr-multi-trimmer-"+i),n.unshift(o),function(){this.pipeline.reset(),this.pipeline.add.apply(this.pipeline,n),this.searchPipeline&&(this.searchPipeline.reset(),this.searchPipeline.add.apply(this.searchPipeline,s))}}}});
File diff suppressed because one or more lines are too long
-18
View File
@@ -1,18 +0,0 @@
/*!
* Lunr languages, `Norwegian` language
* https://github.com/MihaiValentin/lunr-languages
*
* Copyright 2014, Mihai Valentin
* http://www.mozilla.org/MPL/
*/
/*!
* based on
* Snowball JavaScript Library v0.3
* http://code.google.com/p/urim/
* http://snowball.tartarus.org/
*
* Copyright 2010, Oleg Mazko
* http://www.mozilla.org/MPL/
*/
!function(e,r){"function"==typeof define&&define.amd?define(r):"object"==typeof exports?module.exports=r():r()(e.lunr)}(this,function(){return function(e){if(void 0===e)throw new Error("Lunr is not present. Please include / require Lunr before this script.");if(void 0===e.stemmerSupport)throw new Error("Lunr stemmer support is not present. Please include / require Lunr stemmer support before this script.");e.no=function(){this.pipeline.reset(),this.pipeline.add(e.no.trimmer,e.no.stopWordFilter,e.no.stemmer),this.searchPipeline&&(this.searchPipeline.reset(),this.searchPipeline.add(e.no.stemmer))},e.no.wordCharacters="A-Za-zªºÀ-ÖØ-öø-ʸˠ-ˤᴀ-ᴥᴬ-ᵜᵢ-ᵥᵫ-ᵷᵹ-ᶾḀ-ỿⁱⁿₐ-ₜKÅℲⅎⅠ-ↈⱠ-ⱿꜢ-ꞇꞋ-ꞭꞰ-ꞷꟷ-ꟿꬰ-ꭚꭜ-ꭤff-stA-Za-z",e.no.trimmer=e.trimmerSupport.generateTrimmer(e.no.wordCharacters),e.Pipeline.registerFunction(e.no.trimmer,"trimmer-no"),e.no.stemmer=function(){var r=e.stemmerSupport.Among,n=e.stemmerSupport.SnowballProgram,i=new function(){function e(){var e,r=w.cursor+3;if(a=w.limit,0<=r||r<=w.limit){for(s=r;;){if(e=w.cursor,w.in_grouping(d,97,248)){w.cursor=e;break}if(e>=w.limit)return;w.cursor=e+1}for(;!w.out_grouping(d,97,248);){if(w.cursor>=w.limit)return;w.cursor++}a=w.cursor,a<s&&(a=s)}}function i(){var e,r,n;if(w.cursor>=a&&(r=w.limit_backward,w.limit_backward=a,w.ket=w.cursor,e=w.find_among_b(m,29),w.limit_backward=r,e))switch(w.bra=w.cursor,e){case 1:w.slice_del();break;case 2:n=w.limit-w.cursor,w.in_grouping_b(c,98,122)?w.slice_del():(w.cursor=w.limit-n,w.eq_s_b(1,"k")&&w.out_grouping_b(d,97,248)&&w.slice_del());break;case 3:w.slice_from("er")}}function t(){var e,r=w.limit-w.cursor;w.cursor>=a&&(e=w.limit_backward,w.limit_backward=a,w.ket=w.cursor,w.find_among_b(u,2)?(w.bra=w.cursor,w.limit_backward=e,w.cursor=w.limit-r,w.cursor>w.limit_backward&&(w.cursor--,w.bra=w.cursor,w.slice_del())):w.limit_backward=e)}function o(){var e,r;w.cursor>=a&&(r=w.limit_backward,w.limit_backward=a,w.ket=w.cursor,e=w.find_among_b(l,11),e?(w.bra=w.cursor,w.limit_backward=r,1==e&&w.slice_del()):w.limit_backward=r)}var s,a,m=[new r("a",-1,1),new r("e",-1,1),new r("ede",1,1),new r("ande",1,1),new r("ende",1,1),new r("ane",1,1),new r("ene",1,1),new r("hetene",6,1),new r("erte",1,3),new r("en",-1,1),new r("heten",9,1),new r("ar",-1,1),new r("er",-1,1),new r("heter",12,1),new r("s",-1,2),new r("as",14,1),new r("es",14,1),new r("edes",16,1),new r("endes",16,1),new r("enes",16,1),new r("hetenes",19,1),new r("ens",14,1),new r("hetens",21,1),new r("ers",14,1),new r("ets",14,1),new r("et",-1,1),new r("het",25,1),new r("ert",-1,3),new r("ast",-1,1)],u=[new r("dt",-1,-1),new r("vt",-1,-1)],l=[new r("leg",-1,1),new r("eleg",0,1),new r("ig",-1,1),new r("eig",2,1),new r("lig",2,1),new r("elig",4,1),new r("els",-1,1),new r("lov",-1,1),new r("elov",7,1),new r("slov",7,1),new r("hetslov",9,1)],d=[17,65,16,1,0,0,0,0,0,0,0,0,0,0,0,0,48,0,128],c=[119,125,149,1],w=new n;this.setCurrent=function(e){w.setCurrent(e)},this.getCurrent=function(){return w.getCurrent()},this.stem=function(){var r=w.cursor;return e(),w.limit_backward=r,w.cursor=w.limit,i(),w.cursor=w.limit,t(),w.cursor=w.limit,o(),!0}};return function(e){return"function"==typeof e.update?e.update(function(e){return i.setCurrent(e),i.stem(),i.getCurrent()}):(i.setCurrent(e),i.stem(),i.getCurrent())}}(),e.Pipeline.registerFunction(e.no.stemmer,"stemmer-no"),e.no.stopWordFilter=e.generateStopWordFilter("alle at av bare begge ble blei bli blir blitt både båe da de deg dei deim deira deires dem den denne der dere deres det dette di din disse ditt du dykk dykkar då eg ein eit eitt eller elles en enn er et ett etter for fordi fra før ha hadde han hans har hennar henne hennes her hjå ho hoe honom hoss hossen hun hva hvem hver hvilke hvilken hvis hvor hvordan hvorfor i ikke ikkje ikkje ingen ingi inkje inn inni ja jeg kan kom korleis korso kun kunne kva kvar kvarhelst kven kvi kvifor man mange me med medan meg meget mellom men mi min mine mitt mot mykje ned no noe noen noka noko nokon nokor nokre nå når og også om opp oss over på samme seg selv si si sia sidan siden sin sine sitt sjøl skal skulle slik so som som somme somt så sånn til um upp ut uten var vart varte ved vere verte vi vil ville vore vors vort vår være være vært å".split(" ")),e.Pipeline.registerFunction(e.no.stopWordFilter,"stopWordFilter-no")}});
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1 +0,0 @@
!function(e,r){"function"==typeof define&&define.amd?define(r):"object"==typeof exports?module.exports=r():r()(e.lunr)}(this,function(){return function(e){if(void 0===e)throw new Error("Lunr is not present. Please include / require Lunr before this script.");if(void 0===e.stemmerSupport)throw new Error("Lunr stemmer support is not present. Please include / require Lunr stemmer support before this script.");e.sa=function(){this.pipeline.reset(),this.pipeline.add(e.sa.trimmer,e.sa.stopWordFilter,e.sa.stemmer),this.searchPipeline&&(this.searchPipeline.reset(),this.searchPipeline.add(e.sa.stemmer))},e.sa.wordCharacters="ऀ-ःऄ-एऐ-टठ-यर-िी-ॏॐ-य़ॠ-९॰-ॿ꣠-꣱ꣲ-ꣷ꣸-ꣻ꣼-ꣽꣾ-ꣿᆰ0-ᆰ9",e.sa.trimmer=e.trimmerSupport.generateTrimmer(e.sa.wordCharacters),e.Pipeline.registerFunction(e.sa.trimmer,"trimmer-sa"),e.sa.stopWordFilter=e.generateStopWordFilter('तथा अयम्‌ एकम्‌ इत्यस्मिन्‌ तथा तत्‌ वा अयम्‌ इत्यस्य ते आहूत उपरि तेषाम्‌ किन्तु तेषाम्‌ तदा इत्यनेन अधिकः इत्यस्य तत्‌ केचन बहवः द्वि तथा महत्वपूर्णः अयम्‌ अस्य विषये अयं अस्ति तत्‌ प्रथमः विषये इत्युपरि इत्युपरि इतर अधिकतमः अधिकः अपि सामान्यतया ठ इतरेतर नूतनम्‌ द न्यूनम्‌ कश्चित्‌ वा विशालः द सः अस्ति तदनुसारम् तत्र अस्ति केवलम्‌ अपि अत्र सर्वे विविधाः तत्‌ बहवः यतः इदानीम्‌ द दक्षिण इत्यस्मै तस्य उपरि नथ अतीव कार्यम्‌ सर्वे एकैकम्‌ इत्यादि। एते सन्ति उत इत्थम्‌ मध्ये एतदर्थं . स कस्य प्रथमः श्री. करोति अस्मिन् प्रकारः निर्मिता कालः तत्र कर्तुं समान अधुना ते सन्ति स एकः अस्ति सः अर्थात् तेषां कृते . स्थितम् विशेषः अग्रिम तेषाम्‌ समान स्रोतः ख म समान इदानीमपि अधिकतया करोतु ते समान इत्यस्य वीथी सह यस्मिन् कृतवान्‌ धृतः तदा पुनः पूर्वं सः आगतः किम्‌ कुल इतर पुरा मात्रा स विषये उ अतएव अपि नगरस्य उपरि यतः प्रतिशतं कतरः कालः साधनानि भूत तथापि जात सम्बन्धि अन्यत्‌ ग अतः अस्माकं स्वकीयाः अस्माकं इदानीं अन्तः इत्यादयः भवन्तः इत्यादयः एते एताः तस्य अस्य इदम् एते तेषां तेषां तेषां तान् तेषां तेषां तेषां समानः सः एकः च तादृशाः बहवः अन्ये च वदन्ति यत् कियत् कस्मै कस्मै यस्मै यस्मै यस्मै यस्मै न अतिनीचः किन्तु प्रथमं सम्पूर्णतया ततः चिरकालानन्तरं पुस्तकं सम्पूर्णतया अन्तः किन्तु अत्र वा इह इव श्रद्धाय अवशिष्यते परन्तु अन्ये वर्गाः सन्ति ते सन्ति शक्नुवन्ति सर्वे मिलित्वा सर्वे एकत्र"'.split(" ")),e.sa.stemmer=function(){return function(e){return"function"==typeof e.update?e.update(function(e){return e}):e}}();var r=e.wordcut;r.init(),e.sa.tokenizer=function(t){if(!arguments.length||null==t||void 0==t)return[];if(Array.isArray(t))return t.map(function(r){return isLunr2?new e.Token(r.toLowerCase()):r.toLowerCase()});var i=t.toString().toLowerCase().replace(/^\s+/,"");return r.cut(i).split("|")},e.Pipeline.registerFunction(e.sa.stemmer,"stemmer-sa"),e.Pipeline.registerFunction(e.sa.stopWordFilter,"stopWordFilter-sa")}});
@@ -1 +0,0 @@
!function(r,t){"function"==typeof define&&define.amd?define(t):"object"==typeof exports?module.exports=t():t()(r.lunr)}(this,function(){return function(r){r.stemmerSupport={Among:function(r,t,i,s){if(this.toCharArray=function(r){for(var t=r.length,i=new Array(t),s=0;s<t;s++)i[s]=r.charCodeAt(s);return i},!r&&""!=r||!t&&0!=t||!i)throw"Bad Among initialisation: s:"+r+", substring_i: "+t+", result: "+i;this.s_size=r.length,this.s=this.toCharArray(r),this.substring_i=t,this.result=i,this.method=s},SnowballProgram:function(){var r;return{bra:0,ket:0,limit:0,cursor:0,limit_backward:0,setCurrent:function(t){r=t,this.cursor=0,this.limit=t.length,this.limit_backward=0,this.bra=this.cursor,this.ket=this.limit},getCurrent:function(){var t=r;return r=null,t},in_grouping:function(t,i,s){if(this.cursor<this.limit){var e=r.charCodeAt(this.cursor);if(e<=s&&e>=i&&(e-=i,t[e>>3]&1<<(7&e)))return this.cursor++,!0}return!1},in_grouping_b:function(t,i,s){if(this.cursor>this.limit_backward){var e=r.charCodeAt(this.cursor-1);if(e<=s&&e>=i&&(e-=i,t[e>>3]&1<<(7&e)))return this.cursor--,!0}return!1},out_grouping:function(t,i,s){if(this.cursor<this.limit){var e=r.charCodeAt(this.cursor);if(e>s||e<i)return this.cursor++,!0;if(e-=i,!(t[e>>3]&1<<(7&e)))return this.cursor++,!0}return!1},out_grouping_b:function(t,i,s){if(this.cursor>this.limit_backward){var e=r.charCodeAt(this.cursor-1);if(e>s||e<i)return this.cursor--,!0;if(e-=i,!(t[e>>3]&1<<(7&e)))return this.cursor--,!0}return!1},eq_s:function(t,i){if(this.limit-this.cursor<t)return!1;for(var s=0;s<t;s++)if(r.charCodeAt(this.cursor+s)!=i.charCodeAt(s))return!1;return this.cursor+=t,!0},eq_s_b:function(t,i){if(this.cursor-this.limit_backward<t)return!1;for(var s=0;s<t;s++)if(r.charCodeAt(this.cursor-t+s)!=i.charCodeAt(s))return!1;return this.cursor-=t,!0},find_among:function(t,i){for(var s=0,e=i,n=this.cursor,u=this.limit,o=0,h=0,c=!1;;){for(var a=s+(e-s>>1),f=0,l=o<h?o:h,_=t[a],m=l;m<_.s_size;m++){if(n+l==u){f=-1;break}if(f=r.charCodeAt(n+l)-_.s[m])break;l++}if(f<0?(e=a,h=l):(s=a,o=l),e-s<=1){if(s>0||e==s||c)break;c=!0}}for(;;){var _=t[s];if(o>=_.s_size){if(this.cursor=n+_.s_size,!_.method)return _.result;var b=_.method();if(this.cursor=n+_.s_size,b)return _.result}if((s=_.substring_i)<0)return 0}},find_among_b:function(t,i){for(var s=0,e=i,n=this.cursor,u=this.limit_backward,o=0,h=0,c=!1;;){for(var a=s+(e-s>>1),f=0,l=o<h?o:h,_=t[a],m=_.s_size-1-l;m>=0;m--){if(n-l==u){f=-1;break}if(f=r.charCodeAt(n-1-l)-_.s[m])break;l++}if(f<0?(e=a,h=l):(s=a,o=l),e-s<=1){if(s>0||e==s||c)break;c=!0}}for(;;){var _=t[s];if(o>=_.s_size){if(this.cursor=n-_.s_size,!_.method)return _.result;var b=_.method();if(this.cursor=n-_.s_size,b)return _.result}if((s=_.substring_i)<0)return 0}},replace_s:function(t,i,s){var e=s.length-(i-t),n=r.substring(0,t),u=r.substring(i);return r=n+s+u,this.limit+=e,this.cursor>=i?this.cursor+=e:this.cursor>t&&(this.cursor=t),e},slice_check:function(){if(this.bra<0||this.bra>this.ket||this.ket>this.limit||this.limit>r.length)throw"faulty slice operation"},slice_from:function(r){this.slice_check(),this.replace_s(this.bra,this.ket,r)},slice_del:function(){this.slice_from("")},insert:function(r,t,i){var s=this.replace_s(r,t,i);r<=this.bra&&(this.bra+=s),r<=this.ket&&(this.ket+=s)},slice_to:function(){return this.slice_check(),r.substring(this.bra,this.ket)},eq_v_b:function(r){return this.eq_s_b(r.length,r)}}}},r.trimmerSupport={generateTrimmer:function(r){var t=new RegExp("^[^"+r+"]+"),i=new RegExp("[^"+r+"]+$");return function(r){return"function"==typeof r.update?r.update(function(r){return r.replace(t,"").replace(i,"")}):r.replace(t,"").replace(i,"")}}}}});
-18
View File
@@ -1,18 +0,0 @@
/*!
* Lunr languages, `Swedish` language
* https://github.com/MihaiValentin/lunr-languages
*
* Copyright 2014, Mihai Valentin
* http://www.mozilla.org/MPL/
*/
/*!
* based on
* Snowball JavaScript Library v0.3
* http://code.google.com/p/urim/
* http://snowball.tartarus.org/
*
* Copyright 2010, Oleg Mazko
* http://www.mozilla.org/MPL/
*/
!function(e,r){"function"==typeof define&&define.amd?define(r):"object"==typeof exports?module.exports=r():r()(e.lunr)}(this,function(){return function(e){if(void 0===e)throw new Error("Lunr is not present. Please include / require Lunr before this script.");if(void 0===e.stemmerSupport)throw new Error("Lunr stemmer support is not present. Please include / require Lunr stemmer support before this script.");e.sv=function(){this.pipeline.reset(),this.pipeline.add(e.sv.trimmer,e.sv.stopWordFilter,e.sv.stemmer),this.searchPipeline&&(this.searchPipeline.reset(),this.searchPipeline.add(e.sv.stemmer))},e.sv.wordCharacters="A-Za-zªºÀ-ÖØ-öø-ʸˠ-ˤᴀ-ᴥᴬ-ᵜᵢ-ᵥᵫ-ᵷᵹ-ᶾḀ-ỿⁱⁿₐ-ₜKÅℲⅎⅠ-ↈⱠ-ⱿꜢ-ꞇꞋ-ꞭꞰ-ꞷꟷ-ꟿꬰ-ꭚꭜ-ꭤff-stA-Za-z",e.sv.trimmer=e.trimmerSupport.generateTrimmer(e.sv.wordCharacters),e.Pipeline.registerFunction(e.sv.trimmer,"trimmer-sv"),e.sv.stemmer=function(){var r=e.stemmerSupport.Among,n=e.stemmerSupport.SnowballProgram,t=new function(){function e(){var e,r=w.cursor+3;if(o=w.limit,0<=r||r<=w.limit){for(a=r;;){if(e=w.cursor,w.in_grouping(l,97,246)){w.cursor=e;break}if(w.cursor=e,w.cursor>=w.limit)return;w.cursor++}for(;!w.out_grouping(l,97,246);){if(w.cursor>=w.limit)return;w.cursor++}o=w.cursor,o<a&&(o=a)}}function t(){var e,r=w.limit_backward;if(w.cursor>=o&&(w.limit_backward=o,w.cursor=w.limit,w.ket=w.cursor,e=w.find_among_b(u,37),w.limit_backward=r,e))switch(w.bra=w.cursor,e){case 1:w.slice_del();break;case 2:w.in_grouping_b(d,98,121)&&w.slice_del()}}function i(){var e=w.limit_backward;w.cursor>=o&&(w.limit_backward=o,w.cursor=w.limit,w.find_among_b(c,7)&&(w.cursor=w.limit,w.ket=w.cursor,w.cursor>w.limit_backward&&(w.bra=--w.cursor,w.slice_del())),w.limit_backward=e)}function s(){var e,r;if(w.cursor>=o){if(r=w.limit_backward,w.limit_backward=o,w.cursor=w.limit,w.ket=w.cursor,e=w.find_among_b(m,5))switch(w.bra=w.cursor,e){case 1:w.slice_del();break;case 2:w.slice_from("lös");break;case 3:w.slice_from("full")}w.limit_backward=r}}var a,o,u=[new r("a",-1,1),new r("arna",0,1),new r("erna",0,1),new r("heterna",2,1),new r("orna",0,1),new r("ad",-1,1),new r("e",-1,1),new r("ade",6,1),new r("ande",6,1),new r("arne",6,1),new r("are",6,1),new r("aste",6,1),new r("en",-1,1),new r("anden",12,1),new r("aren",12,1),new r("heten",12,1),new r("ern",-1,1),new r("ar",-1,1),new r("er",-1,1),new r("heter",18,1),new r("or",-1,1),new r("s",-1,2),new r("as",21,1),new r("arnas",22,1),new r("ernas",22,1),new r("ornas",22,1),new r("es",21,1),new r("ades",26,1),new r("andes",26,1),new r("ens",21,1),new r("arens",29,1),new r("hetens",29,1),new r("erns",21,1),new r("at",-1,1),new r("andet",-1,1),new r("het",-1,1),new r("ast",-1,1)],c=[new r("dd",-1,-1),new r("gd",-1,-1),new r("nn",-1,-1),new r("dt",-1,-1),new r("gt",-1,-1),new r("kt",-1,-1),new r("tt",-1,-1)],m=[new r("ig",-1,1),new r("lig",0,1),new r("els",-1,1),new r("fullt",-1,3),new r("löst",-1,2)],l=[17,65,16,1,0,0,0,0,0,0,0,0,0,0,0,0,24,0,32],d=[119,127,149],w=new n;this.setCurrent=function(e){w.setCurrent(e)},this.getCurrent=function(){return w.getCurrent()},this.stem=function(){var r=w.cursor;return e(),w.limit_backward=r,w.cursor=w.limit,t(),w.cursor=w.limit,i(),w.cursor=w.limit,s(),!0}};return function(e){return"function"==typeof e.update?e.update(function(e){return t.setCurrent(e),t.stem(),t.getCurrent()}):(t.setCurrent(e),t.stem(),t.getCurrent())}}(),e.Pipeline.registerFunction(e.sv.stemmer,"stemmer-sv"),e.sv.stopWordFilter=e.generateStopWordFilter("alla allt att av blev bli blir blivit de dem den denna deras dess dessa det detta dig din dina ditt du där då efter ej eller en er era ert ett från för ha hade han hans har henne hennes hon honom hur här i icke ingen inom inte jag ju kan kunde man med mellan men mig min mina mitt mot mycket ni nu när någon något några och om oss på samma sedan sig sin sina sitta själv skulle som så sådan sådana sådant till under upp ut utan vad var vara varför varit varje vars vart vem vi vid vilka vilkas vilken vilket vår våra vårt än är åt över".split(" ")),e.Pipeline.registerFunction(e.sv.stopWordFilter,"stopWordFilter-sv")}});
@@ -1 +0,0 @@
!function(e,t){"function"==typeof define&&define.amd?define(t):"object"==typeof exports?module.exports=t():t()(e.lunr)}(this,function(){return function(e){if(void 0===e)throw new Error("Lunr is not present. Please include / require Lunr before this script.");if(void 0===e.stemmerSupport)throw new Error("Lunr stemmer support is not present. Please include / require Lunr stemmer support before this script.");e.ta=function(){this.pipeline.reset(),this.pipeline.add(e.ta.trimmer,e.ta.stopWordFilter,e.ta.stemmer),this.searchPipeline&&(this.searchPipeline.reset(),this.searchPipeline.add(e.ta.stemmer))},e.ta.wordCharacters="஀-உஊ-ஏஐ-ஙச-ட஠-னப-யர-ஹ஺-ிீ-௉ொ-௏ௐ-௙௚-௟௠-௩௪-௯௰-௹௺-௿a-zA-Z-zA-0-9-",e.ta.trimmer=e.trimmerSupport.generateTrimmer(e.ta.wordCharacters),e.Pipeline.registerFunction(e.ta.trimmer,"trimmer-ta"),e.ta.stopWordFilter=e.generateStopWordFilter("அங்கு அங்கே அது அதை அந்த அவர் அவர்கள் அவள் அவன் அவை ஆக ஆகவே ஆகையால் ஆதலால் ஆதலினால் ஆனாலும் ஆனால் இங்கு இங்கே இது இதை இந்த இப்படி இவர் இவர்கள் இவள் இவன் இவை இவ்வளவு உனக்கு உனது உன் உன்னால் எங்கு எங்கே எது எதை எந்த எப்படி எவர் எவர்கள் எவள் எவன் எவை எவ்வளவு எனக்கு எனது எனவே என் என்ன என்னால் ஏது ஏன் தனது தன்னால் தானே தான் நாங்கள் நாம் நான் நீ நீங்கள்".split(" ")),e.ta.stemmer=function(){return function(e){return"function"==typeof e.update?e.update(function(e){return e}):e}}();var t=e.wordcut;t.init(),e.ta.tokenizer=function(r){if(!arguments.length||null==r||void 0==r)return[];if(Array.isArray(r))return r.map(function(t){return isLunr2?new e.Token(t.toLowerCase()):t.toLowerCase()});var i=r.toString().toLowerCase().replace(/^\s+/,"");return t.cut(i).split("|")},e.Pipeline.registerFunction(e.ta.stemmer,"stemmer-ta"),e.Pipeline.registerFunction(e.ta.stopWordFilter,"stopWordFilter-ta")}});
@@ -1 +0,0 @@
!function(e,t){"function"==typeof define&&define.amd?define(t):"object"==typeof exports?module.exports=t():t()(e.lunr)}(this,function(){return function(e){if(void 0===e)throw new Error("Lunr is not present. Please include / require Lunr before this script.");if(void 0===e.stemmerSupport)throw new Error("Lunr stemmer support is not present. Please include / require Lunr stemmer support before this script.");e.te=function(){this.pipeline.reset(),this.pipeline.add(e.te.trimmer,e.te.stopWordFilter,e.te.stemmer),this.searchPipeline&&(this.searchPipeline.reset(),this.searchPipeline.add(e.te.stemmer))},e.te.wordCharacters="ఀ-ఄఅ-ఔక-హా-ౌౕ-ౖౘ-ౚౠ-ౡౢ-ౣ౦-౯౸-౿఼ఽ్ౝ౷౤౥",e.te.trimmer=e.trimmerSupport.generateTrimmer(e.te.wordCharacters),e.Pipeline.registerFunction(e.te.trimmer,"trimmer-te"),e.te.stopWordFilter=e.generateStopWordFilter("అందరూ అందుబాటులో అడగండి అడగడం అడ్డంగా అనుగుణంగా అనుమతించు అనుమతిస్తుంది అయితే ఇప్పటికే ఉన్నారు ఎక్కడైనా ఎప్పుడు ఎవరైనా ఎవరో ఏ ఏదైనా ఏమైనప్పటికి ఒక ఒకరు కనిపిస్తాయి కాదు కూడా గా గురించి చుట్టూ చేయగలిగింది తగిన తర్వాత దాదాపు దూరంగా నిజంగా పై ప్రకారం ప్రక్కన మధ్య మరియు మరొక మళ్ళీ మాత్రమే మెచ్చుకో వద్ద వెంట వేరుగా వ్యతిరేకంగా సంబంధం".split(" ")),e.te.stemmer=function(){return function(e){return"function"==typeof e.update?e.update(function(e){return e}):e}}();var t=e.wordcut;t.init(),e.te.tokenizer=function(r){if(!arguments.length||null==r||void 0==r)return[];if(Array.isArray(r))return r.map(function(t){return isLunr2?new e.Token(t.toLowerCase()):t.toLowerCase()});var i=r.toString().toLowerCase().replace(/^\s+/,"");return t.cut(i).split("|")},e.Pipeline.registerFunction(e.te.stemmer,"stemmer-te"),e.Pipeline.registerFunction(e.te.stopWordFilter,"stopWordFilter-te")}});
@@ -1 +0,0 @@
!function(e,r){"function"==typeof define&&define.amd?define(r):"object"==typeof exports?module.exports=r():r()(e.lunr)}(this,function(){return function(e){if(void 0===e)throw new Error("Lunr is not present. Please include / require Lunr before this script.");if(void 0===e.stemmerSupport)throw new Error("Lunr stemmer support is not present. Please include / require Lunr stemmer support before this script.");var r="2"==e.version[0];e.th=function(){this.pipeline.reset(),this.pipeline.add(e.th.trimmer),r?this.tokenizer=e.th.tokenizer:(e.tokenizer&&(e.tokenizer=e.th.tokenizer),this.tokenizerFn&&(this.tokenizerFn=e.th.tokenizer))},e.th.wordCharacters="[฀-๿]",e.th.trimmer=e.trimmerSupport.generateTrimmer(e.th.wordCharacters),e.Pipeline.registerFunction(e.th.trimmer,"trimmer-th");var t=e.wordcut;t.init(),e.th.tokenizer=function(i){if(!arguments.length||null==i||void 0==i)return[];if(Array.isArray(i))return i.map(function(t){return r?new e.Token(t):t});var n=i.toString().replace(/^\s+/,"");return t.cut(n).split("|")}}});
File diff suppressed because one or more lines are too long
@@ -1 +0,0 @@
!function(e,r){"function"==typeof define&&define.amd?define(r):"object"==typeof exports?module.exports=r():r()(e.lunr)}(this,function(){return function(e){if(void 0===e)throw new Error("Lunr is not present. Please include / require Lunr before this script.");if(void 0===e.stemmerSupport)throw new Error("Lunr stemmer support is not present. Please include / require Lunr stemmer support before this script.");e.vi=function(){this.pipeline.reset(),this.pipeline.add(e.vi.stopWordFilter,e.vi.trimmer)},e.vi.wordCharacters="[A-Za-ẓ̀͐́͑̉̃̓ÂâÊêÔôĂ-ăĐ-đƠ-ơƯ-ư]",e.vi.trimmer=e.trimmerSupport.generateTrimmer(e.vi.wordCharacters),e.Pipeline.registerFunction(e.vi.trimmer,"trimmer-vi"),e.vi.stopWordFilter=e.generateStopWordFilter("là cái nhưng mà".split(" "))}});
@@ -1 +0,0 @@
!function(e,r){"function"==typeof define&&define.amd?define(r):"object"==typeof exports?module.exports=r(require("@node-rs/jieba")):r()(e.lunr)}(this,function(e){return function(r,t){if(void 0===r)throw new Error("Lunr is not present. Please include / require Lunr before this script.");if(void 0===r.stemmerSupport)throw new Error("Lunr stemmer support is not present. Please include / require Lunr stemmer support before this script.");var i="2"==r.version[0];r.zh=function(){this.pipeline.reset(),this.pipeline.add(r.zh.trimmer,r.zh.stopWordFilter,r.zh.stemmer),i?this.tokenizer=r.zh.tokenizer:(r.tokenizer&&(r.tokenizer=r.zh.tokenizer),this.tokenizerFn&&(this.tokenizerFn=r.zh.tokenizer))},r.zh.tokenizer=function(n){if(!arguments.length||null==n||void 0==n)return[];if(Array.isArray(n))return n.map(function(e){return i?new r.Token(e.toLowerCase()):e.toLowerCase()});t&&e.load(t);var o=n.toString().trim().toLowerCase(),s=[];e.cut(o,!0).forEach(function(e){s=s.concat(e.split(" "))}),s=s.filter(function(e){return!!e});var u=0;return s.map(function(e,t){if(i){var n=o.indexOf(e,u),s={};return s.position=[n,e.length],s.index=t,u=n,new r.Token(e,s)}return e})},r.zh.wordCharacters="\\w一-龥",r.zh.trimmer=r.trimmerSupport.generateTrimmer(r.zh.wordCharacters),r.Pipeline.registerFunction(r.zh.trimmer,"trimmer-zh"),r.zh.stemmer=function(){return function(e){return e}}(),r.Pipeline.registerFunction(r.zh.stemmer,"stemmer-zh"),r.zh.stopWordFilter=r.generateStopWordFilter("的 一 不 在 人 有 是 为 為 以 于 於 上 他 而 后 後 之 来 來 及 了 因 下 可 到 由 这 這 与 與 也 此 但 并 並 个 個 其 已 无 無 小 我 们 們 起 最 再 今 去 好 只 又 或 很 亦 某 把 那 你 乃 它 吧 被 比 别 趁 当 當 从 從 得 打 凡 儿 兒 尔 爾 该 該 各 给 給 跟 和 何 还 還 即 几 幾 既 看 据 據 距 靠 啦 另 么 麽 每 嘛 拿 哪 您 凭 憑 且 却 卻 让 讓 仍 啥 如 若 使 谁 誰 虽 雖 随 隨 同 所 她 哇 嗡 往 些 向 沿 哟 喲 用 咱 则 則 怎 曾 至 致 着 著 诸 諸 自".split(" ")),r.Pipeline.registerFunction(r.zh.stopWordFilter,"stopWordFilter-zh")}});
@@ -1,206 +0,0 @@
/**
* export the module via AMD, CommonJS or as a browser global
* Export code from https://github.com/umdjs/umd/blob/master/returnExports.js
*/
;(function (root, factory) {
if (typeof define === 'function' && define.amd) {
// AMD. Register as an anonymous module.
define(factory)
} else if (typeof exports === 'object') {
/**
* Node. Does not work with strict CommonJS, but
* only CommonJS-like environments that support module.exports,
* like Node.
*/
module.exports = factory()
} else {
// Browser globals (root is window)
factory()(root.lunr);
}
}(this, function () {
/**
* Just return a value to define the module export.
* This example returns an object, but the module
* can return a function as the exported value.
*/
return function(lunr) {
// TinySegmenter 0.1 -- Super compact Japanese tokenizer in Javascript
// (c) 2008 Taku Kudo <taku@chasen.org>
// TinySegmenter is freely distributable under the terms of a new BSD licence.
// For details, see http://chasen.org/~taku/software/TinySegmenter/LICENCE.txt
function TinySegmenter() {
var patterns = {
"[一二三四五六七八九十百千万億兆]":"M",
"[一-龠々〆ヵヶ]":"H",
"[ぁ-ん]":"I",
"[ァ-ヴーア-ン゙ー]":"K",
"[a-zA-Z-zA-]":"A",
"[0-9-]":"N"
}
this.chartype_ = [];
for (var i in patterns) {
var regexp = new RegExp(i);
this.chartype_.push([regexp, patterns[i]]);
}
this.BIAS__ = -332
this.BC1__ = {"HH":6,"II":2461,"KH":406,"OH":-1378};
this.BC2__ = {"AA":-3267,"AI":2744,"AN":-878,"HH":-4070,"HM":-1711,"HN":4012,"HO":3761,"IA":1327,"IH":-1184,"II":-1332,"IK":1721,"IO":5492,"KI":3831,"KK":-8741,"MH":-3132,"MK":3334,"OO":-2920};
this.BC3__ = {"HH":996,"HI":626,"HK":-721,"HN":-1307,"HO":-836,"IH":-301,"KK":2762,"MK":1079,"MM":4034,"OA":-1652,"OH":266};
this.BP1__ = {"BB":295,"OB":304,"OO":-125,"UB":352};
this.BP2__ = {"BO":60,"OO":-1762};
this.BQ1__ = {"BHH":1150,"BHM":1521,"BII":-1158,"BIM":886,"BMH":1208,"BNH":449,"BOH":-91,"BOO":-2597,"OHI":451,"OIH":-296,"OKA":1851,"OKH":-1020,"OKK":904,"OOO":2965};
this.BQ2__ = {"BHH":118,"BHI":-1159,"BHM":466,"BIH":-919,"BKK":-1720,"BKO":864,"OHH":-1139,"OHM":-181,"OIH":153,"UHI":-1146};
this.BQ3__ = {"BHH":-792,"BHI":2664,"BII":-299,"BKI":419,"BMH":937,"BMM":8335,"BNN":998,"BOH":775,"OHH":2174,"OHM":439,"OII":280,"OKH":1798,"OKI":-793,"OKO":-2242,"OMH":-2402,"OOO":11699};
this.BQ4__ = {"BHH":-3895,"BIH":3761,"BII":-4654,"BIK":1348,"BKK":-1806,"BMI":-3385,"BOO":-12396,"OAH":926,"OHH":266,"OHK":-2036,"ONN":-973};
this.BW1__ = {",と":660,",同":727,"B1あ":1404,"B1同":542,"、と":660,"、同":727,"」と":1682,"あっ":1505,"いう":1743,"いっ":-2055,"いる":672,"うし":-4817,"うん":665,"から":3472,"がら":600,"こう":-790,"こと":2083,"こん":-1262,"さら":-4143,"さん":4573,"した":2641,"して":1104,"すで":-3399,"そこ":1977,"それ":-871,"たち":1122,"ため":601,"った":3463,"つい":-802,"てい":805,"てき":1249,"でき":1127,"です":3445,"では":844,"とい":-4915,"とみ":1922,"どこ":3887,"ない":5713,"なっ":3015,"など":7379,"なん":-1113,"にし":2468,"には":1498,"にも":1671,"に対":-912,"の一":-501,"の中":741,"ませ":2448,"まで":1711,"まま":2600,"まる":-2155,"やむ":-1947,"よっ":-2565,"れた":2369,"れで":-913,"をし":1860,"を見":731,"亡く":-1886,"京都":2558,"取り":-2784,"大き":-2604,"大阪":1497,"平方":-2314,"引き":-1336,"日本":-195,"本当":-2423,"毎日":-2113,"目指":-724,"B1あ":1404,"B1同":542,"」と":1682};
this.BW2__ = {"..":-11822,"11":-669,"――":-5730,"−−":-13175,"いう":-1609,"うか":2490,"かし":-1350,"かも":-602,"から":-7194,"かれ":4612,"がい":853,"がら":-3198,"きた":1941,"くな":-1597,"こと":-8392,"この":-4193,"させ":4533,"され":13168,"さん":-3977,"しい":-1819,"しか":-545,"した":5078,"して":972,"しな":939,"その":-3744,"たい":-1253,"たた":-662,"ただ":-3857,"たち":-786,"たと":1224,"たは":-939,"った":4589,"って":1647,"っと":-2094,"てい":6144,"てき":3640,"てく":2551,"ては":-3110,"ても":-3065,"でい":2666,"でき":-1528,"でし":-3828,"です":-4761,"でも":-4203,"とい":1890,"とこ":-1746,"とと":-2279,"との":720,"とみ":5168,"とも":-3941,"ない":-2488,"なが":-1313,"など":-6509,"なの":2614,"なん":3099,"にお":-1615,"にし":2748,"にな":2454,"によ":-7236,"に対":-14943,"に従":-4688,"に関":-11388,"のか":2093,"ので":-7059,"のに":-6041,"のの":-6125,"はい":1073,"はが":-1033,"はず":-2532,"ばれ":1813,"まし":-1316,"まで":-6621,"まれ":5409,"めて":-3153,"もい":2230,"もの":-10713,"らか":-944,"らし":-1611,"らに":-1897,"りし":651,"りま":1620,"れた":4270,"れて":849,"れば":4114,"ろう":6067,"われ":7901,"を通":-11877,"んだ":728,"んな":-4115,"一人":602,"一方":-1375,"一日":970,"一部":-1051,"上が":-4479,"会社":-1116,"出て":2163,"分の":-7758,"同党":970,"同日":-913,"大阪":-2471,"委員":-1250,"少な":-1050,"年度":-8669,"年間":-1626,"府県":-2363,"手権":-1982,"新聞":-4066,"日新":-722,"日本":-7068,"日米":3372,"曜日":-601,"朝鮮":-2355,"本人":-2697,"東京":-1543,"然と":-1384,"社会":-1276,"立て":-990,"第に":-1612,"米国":-4268,"11":-669};
this.BW3__ = {"あた":-2194,"あり":719,"ある":3846,"い.":-1185,"い。":-1185,"いい":5308,"いえ":2079,"いく":3029,"いた":2056,"いっ":1883,"いる":5600,"いわ":1527,"うち":1117,"うと":4798,"えと":1454,"か.":2857,"か。":2857,"かけ":-743,"かっ":-4098,"かに":-669,"から":6520,"かり":-2670,"が,":1816,"が、":1816,"がき":-4855,"がけ":-1127,"がっ":-913,"がら":-4977,"がり":-2064,"きた":1645,"けど":1374,"こと":7397,"この":1542,"ころ":-2757,"さい":-714,"さを":976,"し,":1557,"し、":1557,"しい":-3714,"した":3562,"して":1449,"しな":2608,"しま":1200,"す.":-1310,"す。":-1310,"する":6521,"ず,":3426,"ず、":3426,"ずに":841,"そう":428,"た.":8875,"た。":8875,"たい":-594,"たの":812,"たり":-1183,"たる":-853,"だ.":4098,"だ。":4098,"だっ":1004,"った":-4748,"って":300,"てい":6240,"てお":855,"ても":302,"です":1437,"でに":-1482,"では":2295,"とう":-1387,"とし":2266,"との":541,"とも":-3543,"どう":4664,"ない":1796,"なく":-903,"など":2135,"に,":-1021,"に、":-1021,"にし":1771,"にな":1906,"には":2644,"の,":-724,"の、":-724,"の子":-1000,"は,":1337,"は、":1337,"べき":2181,"まし":1113,"ます":6943,"まっ":-1549,"まで":6154,"まれ":-793,"らし":1479,"られ":6820,"るる":3818,"れ,":854,"れ、":854,"れた":1850,"れて":1375,"れば":-3246,"れる":1091,"われ":-605,"んだ":606,"んで":798,"カ月":990,"会議":860,"入り":1232,"大会":2217,"始め":1681,"市":965,"新聞":-5055,"日,":974,"日、":974,"社会":2024,"カ月":990};
this.TC1__ = {"AAA":1093,"HHH":1029,"HHM":580,"HII":998,"HOH":-390,"HOM":-331,"IHI":1169,"IOH":-142,"IOI":-1015,"IOM":467,"MMH":187,"OOI":-1832};
this.TC2__ = {"HHO":2088,"HII":-1023,"HMM":-1154,"IHI":-1965,"KKH":703,"OII":-2649};
this.TC3__ = {"AAA":-294,"HHH":346,"HHI":-341,"HII":-1088,"HIK":731,"HOH":-1486,"IHH":128,"IHI":-3041,"IHO":-1935,"IIH":-825,"IIM":-1035,"IOI":-542,"KHH":-1216,"KKA":491,"KKH":-1217,"KOK":-1009,"MHH":-2694,"MHM":-457,"MHO":123,"MMH":-471,"NNH":-1689,"NNO":662,"OHO":-3393};
this.TC4__ = {"HHH":-203,"HHI":1344,"HHK":365,"HHM":-122,"HHN":182,"HHO":669,"HIH":804,"HII":679,"HOH":446,"IHH":695,"IHO":-2324,"IIH":321,"III":1497,"IIO":656,"IOO":54,"KAK":4845,"KKA":3386,"KKK":3065,"MHH":-405,"MHI":201,"MMH":-241,"MMM":661,"MOM":841};
this.TQ1__ = {"BHHH":-227,"BHHI":316,"BHIH":-132,"BIHH":60,"BIII":1595,"BNHH":-744,"BOHH":225,"BOOO":-908,"OAKK":482,"OHHH":281,"OHIH":249,"OIHI":200,"OIIH":-68};
this.TQ2__ = {"BIHH":-1401,"BIII":-1033,"BKAK":-543,"BOOO":-5591};
this.TQ3__ = {"BHHH":478,"BHHM":-1073,"BHIH":222,"BHII":-504,"BIIH":-116,"BIII":-105,"BMHI":-863,"BMHM":-464,"BOMH":620,"OHHH":346,"OHHI":1729,"OHII":997,"OHMH":481,"OIHH":623,"OIIH":1344,"OKAK":2792,"OKHH":587,"OKKA":679,"OOHH":110,"OOII":-685};
this.TQ4__ = {"BHHH":-721,"BHHM":-3604,"BHII":-966,"BIIH":-607,"BIII":-2181,"OAAA":-2763,"OAKK":180,"OHHH":-294,"OHHI":2446,"OHHO":480,"OHIH":-1573,"OIHH":1935,"OIHI":-493,"OIIH":626,"OIII":-4007,"OKAK":-8156};
this.TW1__ = {"につい":-4681,"東京都":2026};
this.TW2__ = {"ある程":-2049,"いった":-1256,"ころが":-2434,"しょう":3873,"その後":-4430,"だって":-1049,"ていた":1833,"として":-4657,"ともに":-4517,"もので":1882,"一気に":-792,"初めて":-1512,"同時に":-8097,"大きな":-1255,"対して":-2721,"社会党":-3216};
this.TW3__ = {"いただ":-1734,"してい":1314,"として":-4314,"につい":-5483,"にとっ":-5989,"に当た":-6247,"ので,":-727,"ので、":-727,"のもの":-600,"れから":-3752,"十二月":-2287};
this.TW4__ = {"いう.":8576,"いう。":8576,"からな":-2348,"してい":2958,"たが,":1516,"たが、":1516,"ている":1538,"という":1349,"ました":5543,"ません":1097,"ようと":-4258,"よると":5865};
this.UC1__ = {"A":484,"K":93,"M":645,"O":-505};
this.UC2__ = {"A":819,"H":1059,"I":409,"M":3987,"N":5775,"O":646};
this.UC3__ = {"A":-1370,"I":2311};
this.UC4__ = {"A":-2643,"H":1809,"I":-1032,"K":-3450,"M":3565,"N":3876,"O":6646};
this.UC5__ = {"H":313,"I":-1238,"K":-799,"M":539,"O":-831};
this.UC6__ = {"H":-506,"I":-253,"K":87,"M":247,"O":-387};
this.UP1__ = {"O":-214};
this.UP2__ = {"B":69,"O":935};
this.UP3__ = {"B":189};
this.UQ1__ = {"BH":21,"BI":-12,"BK":-99,"BN":142,"BO":-56,"OH":-95,"OI":477,"OK":410,"OO":-2422};
this.UQ2__ = {"BH":216,"BI":113,"OK":1759};
this.UQ3__ = {"BA":-479,"BH":42,"BI":1913,"BK":-7198,"BM":3160,"BN":6427,"BO":14761,"OI":-827,"ON":-3212};
this.UW1__ = {",":156,"、":156,"「":-463,"あ":-941,"う":-127,"が":-553,"き":121,"こ":505,"で":-201,"と":-547,"ど":-123,"に":-789,"の":-185,"は":-847,"も":-466,"や":-470,"よ":182,"ら":-292,"り":208,"れ":169,"を":-446,"ん":-137,"・":-135,"主":-402,"京":-268,"区":-912,"午":871,"国":-460,"大":561,"委":729,"市":-411,"日":-141,"理":361,"生":-408,"県":-386,"都":-718,"「":-463,"・":-135};
this.UW2__ = {",":-829,"、":-829,"":892,"「":-645,"」":3145,"あ":-538,"い":505,"う":134,"お":-502,"か":1454,"が":-856,"く":-412,"こ":1141,"さ":878,"ざ":540,"し":1529,"す":-675,"せ":300,"そ":-1011,"た":188,"だ":1837,"つ":-949,"て":-291,"で":-268,"と":-981,"ど":1273,"な":1063,"に":-1764,"の":130,"は":-409,"ひ":-1273,"べ":1261,"ま":600,"も":-1263,"や":-402,"よ":1639,"り":-579,"る":-694,"れ":571,"を":-2516,"ん":2095,"ア":-587,"カ":306,"キ":568,"ッ":831,"三":-758,"不":-2150,"世":-302,"中":-968,"主":-861,"事":492,"人":-123,"会":978,"保":362,"入":548,"初":-3025,"副":-1566,"北":-3414,"区":-422,"大":-1769,"天":-865,"太":-483,"子":-1519,"学":760,"実":1023,"小":-2009,"市":-813,"年":-1060,"強":1067,"手":-1519,"揺":-1033,"政":1522,"文":-1355,"新":-1682,"日":-1815,"明":-1462,"最":-630,"朝":-1843,"本":-1650,"東":-931,"果":-665,"次":-2378,"民":-180,"気":-1740,"理":752,"発":529,"目":-1584,"相":-242,"県":-1165,"立":-763,"第":810,"米":509,"自":-1353,"行":838,"西":-744,"見":-3874,"調":1010,"議":1198,"込":3041,"開":1758,"間":-1257,"「":-645,"」":3145,"ッ":831,"ア":-587,"カ":306,"キ":568};
this.UW3__ = {",":4889,"1":-800,"":-1723,"、":4889,"々":-2311,"":5827,"」":2670,"〓":-3573,"あ":-2696,"い":1006,"う":2342,"え":1983,"お":-4864,"か":-1163,"が":3271,"く":1004,"け":388,"げ":401,"こ":-3552,"ご":-3116,"さ":-1058,"し":-395,"す":584,"せ":3685,"そ":-5228,"た":842,"ち":-521,"っ":-1444,"つ":-1081,"て":6167,"で":2318,"と":1691,"ど":-899,"な":-2788,"に":2745,"の":4056,"は":4555,"ひ":-2171,"ふ":-1798,"へ":1199,"ほ":-5516,"ま":-4384,"み":-120,"め":1205,"も":2323,"や":-788,"よ":-202,"ら":727,"り":649,"る":5905,"れ":2773,"わ":-1207,"を":6620,"ん":-518,"ア":551,"グ":1319,"ス":874,"ッ":-1350,"ト":521,"ム":1109,"ル":1591,"ロ":2201,"ン":278,"・":-3794,"一":-1619,"下":-1759,"世":-2087,"両":3815,"中":653,"主":-758,"予":-1193,"二":974,"人":2742,"今":792,"他":1889,"以":-1368,"低":811,"何":4265,"作":-361,"保":-2439,"元":4858,"党":3593,"全":1574,"公":-3030,"六":755,"共":-1880,"円":5807,"再":3095,"分":457,"初":2475,"別":1129,"前":2286,"副":4437,"力":365,"動":-949,"務":-1872,"化":1327,"北":-1038,"区":4646,"千":-2309,"午":-783,"協":-1006,"口":483,"右":1233,"各":3588,"合":-241,"同":3906,"和":-837,"員":4513,"国":642,"型":1389,"場":1219,"外":-241,"妻":2016,"学":-1356,"安":-423,"実":-1008,"家":1078,"小":-513,"少":-3102,"州":1155,"市":3197,"平":-1804,"年":2416,"広":-1030,"府":1605,"度":1452,"建":-2352,"当":-3885,"得":1905,"思":-1291,"性":1822,"戸":-488,"指":-3973,"政":-2013,"教":-1479,"数":3222,"文":-1489,"新":1764,"日":2099,"旧":5792,"昨":-661,"時":-1248,"曜":-951,"最":-937,"月":4125,"期":360,"李":3094,"村":364,"東":-805,"核":5156,"森":2438,"業":484,"氏":2613,"民":-1694,"決":-1073,"法":1868,"海":-495,"無":979,"物":461,"特":-3850,"生":-273,"用":914,"町":1215,"的":7313,"直":-1835,"省":792,"県":6293,"知":-1528,"私":4231,"税":401,"立":-960,"第":1201,"米":7767,"系":3066,"約":3663,"級":1384,"統":-4229,"総":1163,"線":1255,"者":6457,"能":725,"自":-2869,"英":785,"見":1044,"調":-562,"財":-733,"費":1777,"車":1835,"軍":1375,"込":-1504,"通":-1136,"選":-681,"郎":1026,"郡":4404,"部":1200,"金":2163,"長":421,"開":-1432,"間":1302,"関":-1282,"雨":2009,"電":-1045,"非":2066,"駅":1620,"":-800,"」":2670,"・":-3794,"ッ":-1350,"ア":551,"グ":1319,"ス":874,"ト":521,"ム":1109,"ル":1591,"ロ":2201,"ン":278};
this.UW4__ = {",":3930,".":3508,"―":-4841,"、":3930,"。":3508,"":4999,"「":1895,"」":3798,"〓":-5156,"あ":4752,"い":-3435,"う":-640,"え":-2514,"お":2405,"か":530,"が":6006,"き":-4482,"ぎ":-3821,"く":-3788,"け":-4376,"げ":-4734,"こ":2255,"ご":1979,"さ":2864,"し":-843,"じ":-2506,"す":-731,"ず":1251,"せ":181,"そ":4091,"た":5034,"だ":5408,"ち":-3654,"っ":-5882,"つ":-1659,"て":3994,"で":7410,"と":4547,"な":5433,"に":6499,"ぬ":1853,"ね":1413,"の":7396,"は":8578,"ば":1940,"ひ":4249,"び":-4134,"ふ":1345,"へ":6665,"べ":-744,"ほ":1464,"ま":1051,"み":-2082,"む":-882,"め":-5046,"も":4169,"ゃ":-2666,"や":2795,"ょ":-1544,"よ":3351,"ら":-2922,"り":-9726,"る":-14896,"れ":-2613,"ろ":-4570,"わ":-1783,"を":13150,"ん":-2352,"カ":2145,"コ":1789,"セ":1287,"ッ":-724,"ト":-403,"メ":-1635,"ラ":-881,"リ":-541,"ル":-856,"ン":-3637,"・":-4371,"ー":-11870,"一":-2069,"中":2210,"予":782,"事":-190,"井":-1768,"人":1036,"以":544,"会":950,"体":-1286,"作":530,"側":4292,"先":601,"党":-2006,"共":-1212,"内":584,"円":788,"初":1347,"前":1623,"副":3879,"力":-302,"動":-740,"務":-2715,"化":776,"区":4517,"協":1013,"参":1555,"合":-1834,"和":-681,"員":-910,"器":-851,"回":1500,"国":-619,"園":-1200,"地":866,"場":-1410,"塁":-2094,"士":-1413,"多":1067,"大":571,"子":-4802,"学":-1397,"定":-1057,"寺":-809,"小":1910,"屋":-1328,"山":-1500,"島":-2056,"川":-2667,"市":2771,"年":374,"庁":-4556,"後":456,"性":553,"感":916,"所":-1566,"支":856,"改":787,"政":2182,"教":704,"文":522,"方":-856,"日":1798,"時":1829,"最":845,"月":-9066,"木":-485,"来":-442,"校":-360,"業":-1043,"氏":5388,"民":-2716,"気":-910,"沢":-939,"済":-543,"物":-735,"率":672,"球":-1267,"生":-1286,"産":-1101,"田":-2900,"町":1826,"的":2586,"目":922,"省":-3485,"県":2997,"空":-867,"立":-2112,"第":788,"米":2937,"系":786,"約":2171,"経":1146,"統":-1169,"総":940,"線":-994,"署":749,"者":2145,"能":-730,"般":-852,"行":-792,"規":792,"警":-1184,"議":-244,"谷":-1000,"賞":730,"車":-1481,"軍":1158,"輪":-1433,"込":-3370,"近":929,"道":-1291,"選":2596,"郎":-4866,"都":1192,"野":-1100,"銀":-2213,"長":357,"間":-2344,"院":-2297,"際":-2604,"電":-878,"領":-1659,"題":-792,"館":-1984,"首":1749,"高":2120,"「":1895,"」":3798,"・":-4371,"ッ":-724,"ー":-11870,"カ":2145,"コ":1789,"セ":1287,"ト":-403,"メ":-1635,"ラ":-881,"リ":-541,"ル":-856,"ン":-3637};
this.UW5__ = {",":465,".":-299,"1":-514,"E2":-32768,"]":-2762,"、":465,"。":-299,"「":363,"あ":1655,"い":331,"う":-503,"え":1199,"お":527,"か":647,"が":-421,"き":1624,"ぎ":1971,"く":312,"げ":-983,"さ":-1537,"し":-1371,"す":-852,"だ":-1186,"ち":1093,"っ":52,"つ":921,"て":-18,"で":-850,"と":-127,"ど":1682,"な":-787,"に":-1224,"の":-635,"は":-578,"べ":1001,"み":502,"め":865,"ゃ":3350,"ょ":854,"り":-208,"る":429,"れ":504,"わ":419,"を":-1264,"ん":327,"イ":241,"ル":451,"ン":-343,"中":-871,"京":722,"会":-1153,"党":-654,"務":3519,"区":-901,"告":848,"員":2104,"大":-1296,"学":-548,"定":1785,"嵐":-1304,"市":-2991,"席":921,"年":1763,"思":872,"所":-814,"挙":1618,"新":-1682,"日":218,"月":-4353,"査":932,"格":1356,"機":-1508,"氏":-1347,"田":240,"町":-3912,"的":-3149,"相":1319,"省":-1052,"県":-4003,"研":-997,"社":-278,"空":-813,"統":1955,"者":-2233,"表":663,"語":-1073,"議":1219,"選":-1018,"郎":-368,"長":786,"間":1191,"題":2368,"館":-689,"":-514,"E2":-32768,"「":363,"イ":241,"ル":451,"ン":-343};
this.UW6__ = {",":227,".":808,"1":-270,"E1":306,"、":227,"。":808,"あ":-307,"う":189,"か":241,"が":-73,"く":-121,"こ":-200,"じ":1782,"す":383,"た":-428,"っ":573,"て":-1014,"で":101,"と":-105,"な":-253,"に":-149,"の":-417,"は":-236,"も":-206,"り":187,"る":-135,"を":195,"ル":-673,"ン":-496,"一":-277,"中":201,"件":-800,"会":624,"前":302,"区":1792,"員":-1212,"委":798,"学":-960,"市":887,"広":-695,"後":535,"業":-697,"相":753,"社":-507,"福":974,"空":-822,"者":1811,"連":463,"郎":1082,"":-270,"E1":306,"ル":-673,"ン":-496};
return this;
}
TinySegmenter.prototype.ctype_ = function(str) {
for (var i in this.chartype_) {
if (str.match(this.chartype_[i][0])) {
return this.chartype_[i][1];
}
}
return "O";
}
TinySegmenter.prototype.ts_ = function(v) {
if (v) { return v; }
return 0;
}
TinySegmenter.prototype.segment = function(input) {
if (input == null || input == undefined || input == "") {
return [];
}
var result = [];
var seg = ["B3","B2","B1"];
var ctype = ["O","O","O"];
var o = input.split("");
for (i = 0; i < o.length; ++i) {
seg.push(o[i]);
ctype.push(this.ctype_(o[i]))
}
seg.push("E1");
seg.push("E2");
seg.push("E3");
ctype.push("O");
ctype.push("O");
ctype.push("O");
var word = seg[3];
var p1 = "U";
var p2 = "U";
var p3 = "U";
for (var i = 4; i < seg.length - 3; ++i) {
var score = this.BIAS__;
var w1 = seg[i-3];
var w2 = seg[i-2];
var w3 = seg[i-1];
var w4 = seg[i];
var w5 = seg[i+1];
var w6 = seg[i+2];
var c1 = ctype[i-3];
var c2 = ctype[i-2];
var c3 = ctype[i-1];
var c4 = ctype[i];
var c5 = ctype[i+1];
var c6 = ctype[i+2];
score += this.ts_(this.UP1__[p1]);
score += this.ts_(this.UP2__[p2]);
score += this.ts_(this.UP3__[p3]);
score += this.ts_(this.BP1__[p1 + p2]);
score += this.ts_(this.BP2__[p2 + p3]);
score += this.ts_(this.UW1__[w1]);
score += this.ts_(this.UW2__[w2]);
score += this.ts_(this.UW3__[w3]);
score += this.ts_(this.UW4__[w4]);
score += this.ts_(this.UW5__[w5]);
score += this.ts_(this.UW6__[w6]);
score += this.ts_(this.BW1__[w2 + w3]);
score += this.ts_(this.BW2__[w3 + w4]);
score += this.ts_(this.BW3__[w4 + w5]);
score += this.ts_(this.TW1__[w1 + w2 + w3]);
score += this.ts_(this.TW2__[w2 + w3 + w4]);
score += this.ts_(this.TW3__[w3 + w4 + w5]);
score += this.ts_(this.TW4__[w4 + w5 + w6]);
score += this.ts_(this.UC1__[c1]);
score += this.ts_(this.UC2__[c2]);
score += this.ts_(this.UC3__[c3]);
score += this.ts_(this.UC4__[c4]);
score += this.ts_(this.UC5__[c5]);
score += this.ts_(this.UC6__[c6]);
score += this.ts_(this.BC1__[c2 + c3]);
score += this.ts_(this.BC2__[c3 + c4]);
score += this.ts_(this.BC3__[c4 + c5]);
score += this.ts_(this.TC1__[c1 + c2 + c3]);
score += this.ts_(this.TC2__[c2 + c3 + c4]);
score += this.ts_(this.TC3__[c3 + c4 + c5]);
score += this.ts_(this.TC4__[c4 + c5 + c6]);
// score += this.ts_(this.TC5__[c4 + c5 + c6]);
score += this.ts_(this.UQ1__[p1 + c1]);
score += this.ts_(this.UQ2__[p2 + c2]);
score += this.ts_(this.UQ3__[p3 + c3]);
score += this.ts_(this.BQ1__[p2 + c2 + c3]);
score += this.ts_(this.BQ2__[p2 + c3 + c4]);
score += this.ts_(this.BQ3__[p3 + c2 + c3]);
score += this.ts_(this.BQ4__[p3 + c3 + c4]);
score += this.ts_(this.TQ1__[p2 + c1 + c2 + c3]);
score += this.ts_(this.TQ2__[p2 + c2 + c3 + c4]);
score += this.ts_(this.TQ3__[p3 + c1 + c2 + c3]);
score += this.ts_(this.TQ4__[p3 + c2 + c3 + c4]);
var p = "O";
if (score > 0) {
result.push(word);
word = "";
p = "B";
}
p1 = p2;
p2 = p3;
p3 = p;
word += seg[i];
}
result.push(word);
return result;
}
lunr.TinySegmenter = TinySegmenter;
};
}));
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1 +0,0 @@
{"version":3,"sources":["src/templates/assets/stylesheets/palette/_scheme.scss","../../../../src/templates/assets/stylesheets/palette.scss","src/templates/assets/stylesheets/palette/_accent.scss","src/templates/assets/stylesheets/palette/_primary.scss","src/templates/assets/stylesheets/utilities/_break.scss"],"names":[],"mappings":"AA2BA,cAGE,6BAME,sDAAA,CACA,6DAAA,CACA,+DAAA,CACA,gEAAA,CACA,mDAAA,CACA,6DAAA,CACA,+DAAA,CACA,gEAAA,CAGA,mDAAA,CACA,gDAAA,CACA,yDAAA,CACA,4DAAA,CAGA,0BAAA,CACA,mCAAA,CAGA,iCAAA,CACA,kCAAA,CACA,mCAAA,CACA,mCAAA,CACA,kCAAA,CACA,iCAAA,CACA,+CAAA,CACA,6DAAA,CACA,gEAAA,CACA,4DAAA,CACA,4DAAA,CACA,6DAAA,CAGA,6CAAA,CAGA,+CAAA,CAGA,uDAAA,CACA,6DAAA,CACA,2DAAA,CAGA,iCAAA,CAGA,yDAAA,CACA,iEAAA,CAGA,mDAAA,CACA,mDAAA,CAGA,qDAAA,CACA,uDAAA,CAGA,8DAAA,CAKA,8DAAA,CAKA,0DAAA,CAzEA,iBCiBF,CD6DE,kHAEE,YC3DJ,CDkFE,yDACE,4BChFJ,CD+EE,2DACE,4BC7EJ,CD4EE,gEACE,4BC1EJ,CDyEE,2DACE,4BCvEJ,CDsEE,yDACE,4BCpEJ,CDmEE,0DACE,4BCjEJ,CDgEE,gEACE,4BC9DJ,CD6DE,0DACE,4BC3DJ,CD0DE,2OACE,4BC/CJ,CDsDA,+FAGE,iCCpDF,CACF,CCjDE,2BACE,4BAAA,CACA,2CAAA,CAOE,yBAAA,CACA,qCD6CN,CCvDE,4BACE,4BAAA,CACA,2CAAA,CAOE,yBAAA,CACA,qCDoDN,CC9DE,8BACE,4BAAA,CACA,2CAAA,CAOE,yBAAA,CACA,qCD2DN,CCrEE,mCACE,4BAAA,CACA,2CAAA,CAOE,yBAAA,CACA,qCDkEN,CC5EE,8BACE,4BAAA,CACA,2CAAA,CAOE,yBAAA,CACA,qCDyEN,CCnFE,4BACE,4BAAA,CACA,2CAAA,CAOE,yBAAA,CACA,qCDgFN,CC1FE,kCACE,4BAAA,CACA,2CAAA,CAOE,yBAAA,CACA,qCDuFN,CCjGE,4BACE,4BAAA,CACA,2CAAA,CAOE,yBAAA,CACA,qCD8FN,CCxGE,4BACE,4BAAA,CACA,2CAAA,CAOE,yBAAA,CACA,qCDqGN,CC/GE,6BACE,4BAAA,CACA,2CAAA,CAOE,yBAAA,CACA,qCD4GN,CCtHE,mCACE,4BAAA,CACA,2CAAA,CAOE,yBAAA,CACA,qCDmHN,CC7HE,4BACE,4BAAA,CACA,2CAAA,CAIE,8BAAA,CACA,qCD6HN,CCpIE,8BACE,4BAAA,CACA,2CAAA,CAIE,8BAAA,CACA,qCDoIN,CC3IE,6BACE,yBAAA,CACA,2CAAA,CAIE,8BAAA,CACA,qCD2IN,CClJE,8BACE,4BAAA,CACA,2CAAA,CAIE,8BAAA,CACA,qCDkJN,CCzJE,mCACE,4BAAA,CACA,2CAAA,CAOE,yBAAA,CACA,qCDsJN,CE3JE,4BACE,6BAAA,CACA,oCAAA,CACA,mCAAA,CAOE,0BAAA,CACA,sCFwJN,CEnKE,6BACE,6BAAA,CACA,oCAAA,CACA,mCAAA,CAOE,0BAAA,CACA,sCFgKN,CE3KE,+BACE,6BAAA,CACA,oCAAA,CACA,mCAAA,CAOE,0BAAA,CACA,sCFwKN,CEnLE,oCACE,6BAAA,CACA,oCAAA,CACA,mCAAA,CAOE,0BAAA,CACA,sCFgLN,CE3LE,+BACE,6BAAA,CACA,oCAAA,CACA,mCAAA,CAOE,0BAAA,CACA,sCFwLN,CEnME,6BACE,6BAAA,CACA,oCAAA,CACA,mCAAA,CAOE,0BAAA,CACA,sCFgMN,CE3ME,mCACE,6BAAA,CACA,oCAAA,CACA,mCAAA,CAOE,0BAAA,CACA,sCFwMN,CEnNE,6BACE,6BAAA,CACA,oCAAA,CACA,mCAAA,CAOE,0BAAA,CACA,sCFgNN,CE3NE,6BACE,6BAAA,CACA,oCAAA,CACA,mCAAA,CAOE,0BAAA,CACA,sCFwNN,CEnOE,8BACE,6BAAA,CACA,oCAAA,CACA,mCAAA,CAOE,0BAAA,CACA,sCFgON,CE3OE,oCACE,6BAAA,CACA,oCAAA,CACA,mCAAA,CAOE,0BAAA,CACA,sCFwON,CEnPE,6BACE,6BAAA,CACA,oCAAA,CACA,mCAAA,CAIE,+BAAA,CACA,sCFmPN,CE3PE,+BACE,6BAAA,CACA,oCAAA,CACA,mCAAA,CAIE,+BAAA,CACA,sCF2PN,CEnQE,8BACE,6BAAA,CACA,oCAAA,CACA,mCAAA,CAIE,+BAAA,CACA,sCFmQN,CE3QE,+BACE,6BAAA,CACA,oCAAA,CACA,mCAAA,CAIE,+BAAA,CACA,sCF2QN,CEnRE,oCACE,6BAAA,CACA,oCAAA,CACA,mCAAA,CAOE,0BAAA,CACA,sCFgRN,CE3RE,8BACE,6BAAA,CACA,oCAAA,CACA,mCAAA,CAOE,0BAAA,CACA,sCFwRN,CEnSE,6BACE,6BAAA,CACA,oCAAA,CACA,mCAAA,CAOE,0BAAA,CACA,sCAAA,CAKA,4BF4RN,CE5SE,kCACE,6BAAA,CACA,oCAAA,CACA,mCAAA,CAOE,0BAAA,CACA,sCAAA,CAKA,4BFqSN,CEtRE,sEACE,4BFyRJ,CE1RE,+DACE,4BF6RJ,CE9RE,iEACE,4BFiSJ,CElSE,gEACE,4BFqSJ,CEtSE,iEACE,4BFySJ,CEhSA,8BACE,mDAAA,CACA,4DAAA,CACA,0DAAA,CACA,oDAAA,CACA,2DAAA,CAGA,4BFiSF,CE9RE,yCACE,+BFgSJ,CE7RI,kDAEE,0CAAA,CACA,sCAAA,CAFA,mCFiSN,CG7MI,mCD1EA,+CACE,8CF0RJ,CEvRI,qDACE,8CFyRN,CEpRE,iEACE,mCFsRJ,CACF,CGxNI,sCDvDA,uCACE,oCFkRJ,CACF,CEzQA,8BACE,kDAAA,CACA,4DAAA,CACA,wDAAA,CACA,oDAAA,CACA,6DAAA,CAGA,4BF0QF,CEvQE,yCACE,+BFyQJ,CEtQI,kDAEE,0CAAA,CACA,sCAAA,CAFA,mCF0QN,CEnQE,yCACE,6CFqQJ,CG9NI,0CDhCA,8CACE,gDFiQJ,CACF,CGnOI,0CDvBA,iFACE,6CF6PJ,CACF,CG3PI,sCDKA,uCACE,6CFyPJ,CACF","file":"palette.css"}
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because one or more lines are too long
-119
View File
@@ -1,119 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://wg-easy.github.io/wg-easy/Pre-release/</loc>
<lastmod>2026-05-07</lastmod>
</url>
<url>
<loc>https://wg-easy.github.io/wg-easy/Pre-release/faq/</loc>
<lastmod>2026-05-07</lastmod>
</url>
<url>
<loc>https://wg-easy.github.io/wg-easy/Pre-release/getting-started/</loc>
<lastmod>2026-05-07</lastmod>
</url>
<url>
<loc>https://wg-easy.github.io/wg-easy/Pre-release/advanced/api/</loc>
<lastmod>2026-05-07</lastmod>
</url>
<url>
<loc>https://wg-easy.github.io/wg-easy/Pre-release/advanced/config/amnezia/</loc>
<lastmod>2026-05-07</lastmod>
</url>
<url>
<loc>https://wg-easy.github.io/wg-easy/Pre-release/advanced/config/experimental-config/</loc>
<lastmod>2026-05-07</lastmod>
</url>
<url>
<loc>https://wg-easy.github.io/wg-easy/Pre-release/advanced/config/optional-config/</loc>
<lastmod>2026-05-07</lastmod>
</url>
<url>
<loc>https://wg-easy.github.io/wg-easy/Pre-release/advanced/config/unattended-setup/</loc>
<lastmod>2026-05-07</lastmod>
</url>
<url>
<loc>https://wg-easy.github.io/wg-easy/Pre-release/advanced/metrics/prometheus/</loc>
<lastmod>2026-05-07</lastmod>
</url>
<url>
<loc>https://wg-easy.github.io/wg-easy/Pre-release/advanced/migrate/</loc>
<lastmod>2026-05-07</lastmod>
</url>
<url>
<loc>https://wg-easy.github.io/wg-easy/Pre-release/advanced/migrate/from-14-to-15/</loc>
<lastmod>2026-05-07</lastmod>
</url>
<url>
<loc>https://wg-easy.github.io/wg-easy/Pre-release/contributing/general/</loc>
<lastmod>2026-05-07</lastmod>
</url>
<url>
<loc>https://wg-easy.github.io/wg-easy/Pre-release/contributing/issues-and-pull-requests/</loc>
<lastmod>2026-05-07</lastmod>
</url>
<url>
<loc>https://wg-easy.github.io/wg-easy/Pre-release/contributing/translation/</loc>
<lastmod>2026-05-07</lastmod>
</url>
<url>
<loc>https://wg-easy.github.io/wg-easy/Pre-release/examples/tutorials/adguard/</loc>
<lastmod>2026-05-07</lastmod>
</url>
<url>
<loc>https://wg-easy.github.io/wg-easy/Pre-release/examples/tutorials/auto-updates/</loc>
<lastmod>2026-05-07</lastmod>
</url>
<url>
<loc>https://wg-easy.github.io/wg-easy/Pre-release/examples/tutorials/basic-installation/</loc>
<lastmod>2026-05-07</lastmod>
</url>
<url>
<loc>https://wg-easy.github.io/wg-easy/Pre-release/examples/tutorials/caddy/</loc>
<lastmod>2026-05-07</lastmod>
</url>
<url>
<loc>https://wg-easy.github.io/wg-easy/Pre-release/examples/tutorials/docker-run/</loc>
<lastmod>2026-05-07</lastmod>
</url>
<url>
<loc>https://wg-easy.github.io/wg-easy/Pre-release/examples/tutorials/dockerless/</loc>
<lastmod>2026-05-07</lastmod>
</url>
<url>
<loc>https://wg-easy.github.io/wg-easy/Pre-release/examples/tutorials/podman-nft/</loc>
<lastmod>2026-05-07</lastmod>
</url>
<url>
<loc>https://wg-easy.github.io/wg-easy/Pre-release/examples/tutorials/reverse-proxyless/</loc>
<lastmod>2026-05-07</lastmod>
</url>
<url>
<loc>https://wg-easy.github.io/wg-easy/Pre-release/examples/tutorials/routed/</loc>
<lastmod>2026-05-07</lastmod>
</url>
<url>
<loc>https://wg-easy.github.io/wg-easy/Pre-release/examples/tutorials/traefik/</loc>
<lastmod>2026-05-07</lastmod>
</url>
<url>
<loc>https://wg-easy.github.io/wg-easy/Pre-release/guides/2fa/</loc>
<lastmod>2026-05-07</lastmod>
</url>
<url>
<loc>https://wg-easy.github.io/wg-easy/Pre-release/guides/admin/</loc>
<lastmod>2026-05-07</lastmod>
</url>
<url>
<loc>https://wg-easy.github.io/wg-easy/Pre-release/guides/cli/</loc>
<lastmod>2026-05-07</lastmod>
</url>
<url>
<loc>https://wg-easy.github.io/wg-easy/Pre-release/guides/clients/</loc>
<lastmod>2026-05-07</lastmod>
</url>
<url>
<loc>https://wg-easy.github.io/wg-easy/Pre-release/guides/setup/</loc>
<lastmod>2026-05-07</lastmod>
</url>
</urlset>
Binary file not shown.
+125
View File
@@ -0,0 +1,125 @@
# WireGuard Easy
[![Build & Publish latest Image](https://github.com/wg-easy/wg-easy/actions/workflows/deploy.yml/badge.svg?branch=production)](https://github.com/wg-easy/wg-easy/actions/workflows/deploy.yml)
[![Lint](https://github.com/wg-easy/wg-easy/actions/workflows/lint.yml/badge.svg?branch=master)](https://github.com/wg-easy/wg-easy/actions/workflows/lint.yml)
[![GitHub Stars](https://img.shields.io/github/stars/wg-easy/wg-easy)](https://github.com/wg-easy/wg-easy/stargazers)
[![License](https://img.shields.io/github/license/wg-easy/wg-easy)](LICENSE)
[![GitHub Release](https://img.shields.io/github/v/release/wg-easy/wg-easy)](https://github.com/wg-easy/wg-easy/releases/latest)
[![Image Pulls](https://img.shields.io/badge/image_pulls-12M+-blue)](https://github.com/wg-easy/wg-easy/pkgs/container/wg-easy)
You have found the easiest way to install & manage WireGuard on any Linux host!
<!-- TOOD: update screenshot -->
<p align="center">
<img src="./assets/screenshot.png" width="802" alt="wg-easy Screenshot" />
</p>
## Features
- All-in-one: WireGuard + Web UI.
- Easy installation, simple to use.
- List, create, edit, delete, enable & disable clients.
- Show a client's QR code.
- Download a client's configuration file.
- Statistics for which clients are connected.
- Tx/Rx charts for each connected client.
- Gravatar support.
- Automatic Light / Dark Mode
- Multilanguage Support
- One Time Links
- Client Expiration
- Prometheus metrics support
- IPv6 support
- CIDR support
- 2FA support
> [!NOTE]
> To better manage documentation for this project, it has its own site here: [https://wg-easy.github.io/wg-easy/latest](https://wg-easy.github.io/wg-easy/latest)
- [Getting Started](https://wg-easy.github.io/wg-easy/latest/getting-started/)
- [Basic Installation](https://wg-easy.github.io/wg-easy/latest/examples/tutorials/basic-installation/)
- [Caddy](https://wg-easy.github.io/wg-easy/latest/examples/tutorials/caddy/)
- [Traefik](https://wg-easy.github.io/wg-easy/latest/examples/tutorials/traefik/)
- [Podman](https://wg-easy.github.io/wg-easy/latest/examples/tutorials/podman-nft/)
- [AdGuard Home](https://wg-easy.github.io/wg-easy/latest/examples/tutorials/adguard/)
> [!NOTE]
> If you want to migrate from the old version to the new version, you can find the migration guide here: [Migration Guide](https://wg-easy.github.io/wg-easy/latest/advanced/migrate/)
## Installation
This is a quick start guide to get you up and running with WireGuard Easy.
For a more detailed installation guide, please refer to the [Getting Started](https://wg-easy.github.io/wg-easy/latest/getting-started/) page.
### 1. Install Docker
If you haven't installed Docker yet, install it by running as root:
```shell
curl -sSL https://get.docker.com | sh
exit
```
And log in again.
### 2. Run WireGuard Easy
The easiest way to run WireGuard Easy is with Docker Compose.
Just follow [these steps](https://wg-easy.github.io/wg-easy/latest/examples/tutorials/basic-installation/) in the detailed documentation.
You can also install WireGuard Easy with the [docker run command](https://wg-easy.github.io/wg-easy/latest/examples/tutorials/docker-run/) or via [podman](https://wg-easy.github.io/wg-easy/latest/examples/tutorials/podman-nft/).
Now [setup a reverse proxy](https://wg-easy.github.io/wg-easy/latest/examples/tutorials/basic-installation/#setup-reverse-proxy) to be able to access the Web UI securely from the internet. This step is optional, just make sure to follow the guide [here](https://wg-easy.github.io/wg-easy/latest/examples/tutorials/reverse-proxyless/) if you decide not to do it.
## Donate
Are you enjoying this project? Consider donating.
Founder: [Buy Emile a beer!](https://github.com/sponsors/WeeJeWel) 🍻
Maintainer: [Buy kaaax0815 a coffee!](https://github.com/sponsors/kaaax0815) ☕
## Development
### Prerequisites
- Docker
- Node LTS & corepack enabled
- Visual Studio Code
### Dev Server
This starts the development server with docker
```shell
pnpm dev
```
### Update Auto Imports
If you add something that should be auto-importable and VSCode complains, run:
```shell
cd src
pnpm install
cd ..
```
### Test Cli
This starts the cli with docker
```shell
pnpm cli:dev
```
## License
This project is licensed under the AGPL-3.0-only License - see the [LICENSE](LICENSE) file for details
This project is not affiliated, associated, authorized, endorsed by, or in any way officially connected with Jason A. Donenfeld, ZX2C4 or Edge Security
"WireGuard" and the "WireGuard" logo are registered trademarks of Jason A. Donenfeld

Some files were not shown because too many files have changed in this diff Show More