Commit Graph

298 Commits

Author SHA1 Message Date
dependabot[bot]
2f7819ca9b
Bump github.com/glebarez/sqlite from 1.10.0 to 1.11.0 (#227)
Bumps [github.com/glebarez/sqlite](https://github.com/glebarez/sqlite) from 1.10.0 to 1.11.0.
- [Release notes](https://github.com/glebarez/sqlite/releases)
- [Commits](https://github.com/glebarez/sqlite/compare/v1.10.0...v1.11.0)

---
updated-dependencies:
- dependency-name: github.com/glebarez/sqlite
  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-03-29 16:02:05 +01:00
dependabot[bot]
86fbff886f
Bump gorm.io/gorm from 1.25.7 to 1.25.8 (#228)
Bumps [gorm.io/gorm](https://github.com/go-gorm/gorm) from 1.25.7 to 1.25.8.
- [Release notes](https://github.com/go-gorm/gorm/releases)
- [Commits](https://github.com/go-gorm/gorm/compare/v1.25.7...v1.25.8)

---
updated-dependencies:
- dependency-name: gorm.io/gorm
  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-03-29 16:01:55 +01:00
dependabot[bot]
52c3bc8d92
Bump github.com/stretchr/testify from 1.8.4 to 1.9.0 (#229)
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.8.4 to 1.9.0.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.8.4...v1.9.0)

---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
  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-03-29 16:01:43 +01:00
dependabot[bot]
ea055f3428
Bump golang.org/x/oauth2 from 0.15.0 to 0.18.0 (#226)
Bumps [golang.org/x/oauth2](https://github.com/golang/oauth2) from 0.15.0 to 0.18.0.
- [Commits](https://github.com/golang/oauth2/compare/v0.15.0...v0.18.0)

---
updated-dependencies:
- dependency-name: golang.org/x/oauth2
  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-03-29 16:00:03 +01:00
Ruoxi Wang
1d862c01d5
Implement custom Value and Scan methods for PrivateString type (#231) 2024-03-29 15:52:14 +01:00
dependabot[bot]
38310d6ff2
Bump github.com/prometheus-community/pro-bing from 0.3.0 to 0.4.0 (#220)
Bumps [github.com/prometheus-community/pro-bing](https://github.com/prometheus-community/pro-bing) from 0.3.0 to 0.4.0.
- [Release notes](https://github.com/prometheus-community/pro-bing/releases)
- [Changelog](https://github.com/prometheus-community/pro-bing/blob/main/.goreleaser.yaml)
- [Commits](https://github.com/prometheus-community/pro-bing/compare/v0.3.0...v0.4.0)

---
updated-dependencies:
- dependency-name: github.com/prometheus-community/pro-bing
  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-03-13 23:13:37 +01:00
dependabot[bot]
68903597eb
Bump gorm.io/gorm from 1.25.5 to 1.25.7 (#222)
Bumps [gorm.io/gorm](https://github.com/go-gorm/gorm) from 1.25.5 to 1.25.7.
- [Release notes](https://github.com/go-gorm/gorm/releases)
- [Commits](https://github.com/go-gorm/gorm/compare/v1.25.5...v1.25.7)

---
updated-dependencies:
- dependency-name: gorm.io/gorm
  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-03-13 23:13:06 +01:00
dependabot[bot]
2cfd565e3f
Bump gorm.io/driver/sqlserver from 1.5.2 to 1.5.3 (#223)
Bumps [gorm.io/driver/sqlserver](https://github.com/go-gorm/sqlserver) from 1.5.2 to 1.5.3.
- [Commits](https://github.com/go-gorm/sqlserver/compare/v1.5.2...v1.5.3)

---
updated-dependencies:
- dependency-name: gorm.io/driver/sqlserver
  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-03-13 23:12:05 +01:00
dependabot[bot]
6f617d6e86
Bump github.com/swaggo/swag from 1.16.2 to 1.16.3 (#221)
Bumps [github.com/swaggo/swag](https://github.com/swaggo/swag) from 1.16.2 to 1.16.3.
- [Release notes](https://github.com/swaggo/swag/releases)
- [Changelog](https://github.com/swaggo/swag/blob/master/.goreleaser.yml)
- [Commits](https://github.com/swaggo/swag/compare/v1.16.2...v1.16.3)

---
updated-dependencies:
- dependency-name: github.com/swaggo/swag
  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-03-13 23:11:50 +01:00
dependabot[bot]
349a6befa1
Bump github.com/gin-contrib/cors from 1.5.0 to 1.7.0 (#219)
Bumps [github.com/gin-contrib/cors](https://github.com/gin-contrib/cors) from 1.5.0 to 1.7.0.
- [Release notes](https://github.com/gin-contrib/cors/releases)
- [Changelog](https://github.com/gin-contrib/cors/blob/master/.goreleaser.yaml)
- [Commits](https://github.com/gin-contrib/cors/compare/v1.5.0...v1.7.0)

---
updated-dependencies:
- dependency-name: github.com/gin-contrib/cors
  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-03-13 23:10:08 +01:00
Christoph Haas
2de438add8 Merge branch 'pr216' 2024-03-12 22:45:32 +01:00
Christoph Haas
e565e26c65 Merge branch 'pr214' 2024-03-12 22:33:15 +01:00
Christoph Haas
acc785e4ca small cleanup 2024-03-12 22:32:05 +01:00
Mehrdad Tahernia
c89f201c78
fix issue 211: DNS Search Domain not applying (#217)
Added the DnsSearchStr to the template to include the dns search domain in the generated config file
2024-03-11 16:03:03 +01:00
Dmytro Bondar
3279cb2204
Fix installation button translations (#215) 2024-03-11 16:02:16 +01:00
Dmytro Bondar
6fb6dc0d23
Remove builded frontend from repo 2024-03-04 11:57:19 +01:00
Dmytro Bondar
8279aba15e
Add docs to .dockerignore 2024-03-04 11:43:35 +01:00
Dmytro Bondar
c8989e1ca3
Add curl,iptables,nftables into final image 2024-03-04 11:43:35 +01:00
Dmytro Bondar
9e1b6b6d91
Refactor docker-publish workflow 2024-03-04 11:43:30 +01:00
Dmytro Bondar
180b43608d
Update actions versions 2024-03-04 11:27:12 +01:00
Dmytro Bondar
f76b59286e
Use golang-alpine image for builds 2024-03-04 11:27:12 +01:00
Dmytro Bondar
c970b81d84
Add frontend to Dockerfile and use cross-platform build 2024-03-04 11:27:02 +01:00
Dmytro Bondar
c37a85fa0b
Fix CVE-2024-23331 https://github.com/advisories/GHSA-c24v-8rfc-w8vw 2024-03-04 09:55:13 +01:00
Dmytro Bondar
5dcb3eca6d
Add dependabot config for actions and go 2024-03-04 09:55:13 +01:00
sh0rch
1287215837 another Minor fixes for greater compatibility with the original code. 2024-02-29 08:18:40 +03:00
sh0rch
26cd286c57 Minor fixes for greater compatibility with the original code. 2024-02-29 07:59:27 +03:00
sh0rch
eae1bc765d Brought into working condition for LDAP authentication. 2024-02-29 07:30:22 +03:00
sh0rch
0ade556e80 Brought into working condition for LDAP authentication. 2024-02-29 07:17:17 +03:00
Christoph Haas
1b4b5ff161 fix REST API permission checks (#209) 2024-01-31 21:14:36 +01:00
Christoph Haas
81e696fc7d update frontend dependencies 2023-12-23 13:36:42 +01:00
Christoph Haas
ebe902d119 update backend dependencies 2023-12-23 13:30:31 +01:00
HPPinata
4a0fcfbf60
Use Alpine base image (#205)
wgquick (apparently) depends on bash and openresolv.

Without those packages removing an Interface is impossible and causes an error message to appear in the webui:
- No Bash: exec complains about "bash no such file in $PATH"
- No openresolv: resolvconf -f -d *interface* returns with error 127

Not having a Shell in the container also makes debugging a lot more annoying.

This enables deletion of interfaces in the webui, eases debugging and only adds about 3MB in size.
2023-12-23 13:08:33 +01:00
h44z
1f47075020
Update social links 2023-11-03 09:03:54 +01:00
Christoph Haas
faf454f649 add github pages site 2023-11-02 21:44:14 +01:00
h44z
35939c92c9
Create CNAME 2023-11-01 10:18:55 +01:00
Christoph Haas
b693f697fc fix build 2023-10-26 23:38:11 +02:00
Christoph Haas
9528f55c51 - update dependencies 2023-10-26 15:19:06 +02:00
Christoph Haas
c9dce9d554 - fix docker image name
- remove deprecated envconfig file
2023-10-26 15:08:11 +02:00
Christoph Haas
248518d239 - update github actions
- update docker build
- move default database to /app/data (#179)
- move config file location to /app/config
2023-10-26 12:42:18 +02:00
guangwu
6284bc8a01
chore: no need to use fmt.Sprintf (#190) 2023-10-22 18:40:54 +02:00
Christoph Haas
b49ff66c41 fix invalid ip suggestions (#185) 2023-10-20 12:13:39 +02:00
Christoph Haas
d78b4f49bd fix nilpointer dereference 2023-10-20 11:44:17 +02:00
Ruoxi Wang
66aadf9d42
Respect some config values (#175)
* Respect create_default_peer in config

* Respect user_identifier in LDAP field map
2023-10-19 22:54:51 +02:00
Ruoxi Wang
4c061a1aa9
Peer interface address should match server's prefix length (#177) 2023-10-19 22:53:51 +02:00
Ruoxi Wang
40cfcd67e9
frontend: Treat peer DNS as StringSliceConfigOption (#178) 2023-10-19 22:51:20 +02:00
Ruoxi Wang
ad935ad927
Small mistake in auth.go comment (#174) 2023-08-30 19:26:43 +02:00
Christoph Haas
53b4922d9f build without cgo 2023-08-05 23:47:02 +02:00
h44z
8b820a5adf
V2 alpha - initial version (#172)
Initial alpha codebase for version 2 of WireGuard Portal.
This version is considered unstable and incomplete (for example, no public REST API)! 
Use with care!


Fixes/Implements the following issues:
 - OAuth support #154, #1 
 - New Web UI with internationalisation support #98, #107, #89, #62
 - Postgres Support #49 
 - Improved Email handling #47, #119 
 - DNS Search Domain support #46 
 - Bugfixes #94, #48 

---------

Co-authored-by: Fabian Wechselberger <wechselbergerf@hotmail.com>
2023-08-04 13:34:18 +02:00
Christoph Haas
b3a5f2ac60 update gitignore 2023-06-19 23:14:25 +02:00
Philipp Harms
20b71b4e1f Add Interface column in user profile and fix sorting 2023-04-14 14:50:57 +02:00