Shobu UMEMURA
8fc518dba8
Fix username validation regex to correctly recognize hyphen (-)
...
This pull request corrects the regular expression used for username validation to correctly recognize hyphens (-).
Changes Made:
Changed the regex pattern from ^([a-zA-Z0-9_.-@])+$ to ^([a-zA-Z0-9_.\-@])+$.
Reason for Change:
In the previous regex, the hyphen (-) within the character class was interpreted as a range operator, not as a literal character. This caused usernames with hyphens to be incorrectly marked as invalid.
By escaping the hyphen (\-), the regex now correctly recognizes it as a literal character. This ensures that usernames containing hyphens are validated properly.
Points of Verification:
Confirmed that usernames containing hyphens are now correctly recognized and pass the validation.
Verified that other characters (letters, numbers, underscores, dots, and at signs) are still being properly validated.
2024-09-28 17:57:02 +09:00
Mike Klyuev
7134815ce6
Update README.md ( #291 )
...
Update current project status
2024-09-24 11:54:23 +03:00
Sprait
0c881c81e7
update start.sh
...
using compose v2
https://docs.docker.com/compose/migrate/#docker-compose-vs-docker-compose
2023-12-12 09:58:55 +03:00
Dmitry Shurupov
699cddc908
Fix the announcement blog link in README.md
2023-10-25 11:57:38 +07:00
Sprait
c83c581e21
fix revoke user ( #243 )
...
* fix reuse argument multiple times
* replace whitespace with tab
2023-09-12 11:05:28 +03:00
Sprait
35f76ec3b6
Update actions build binary ( #240 )
...
* disable-386-build
* update versison go-release-action
2023-09-11 09:18:48 +03:00
Sprait
8a35f70364
add variable for prometheus datasource to dashboard ( #239 )
2023-09-08 17:45:34 +03:00
Sprait
4981dcb919
Multi-platform build ( #234 )
...
* add multi-platform build
2023-09-04 19:24:13 +03:00
Sprait
dbc48ef3f1
Merge pull request #92 from strnk/master
...
listen.base-url parameter to support reverse-proxy setups
2023-08-22 13:40:46 +03:00
vitaliy-sn
f4d0212bfc
Merge pull request #199 from flant/update-user-list-in-ha-mode
...
Fix update user list for kubernetes.secrets backend
2023-04-27 16:04:00 +03:00
Vitaliy Snurnitsin
9024405232
Force update user list for kubernetes.secrets backend
...
Signed-off-by: Vitaliy Snurnitsin <vitaliy.snurnitsin@flant.com>
2023-04-27 15:18:29 +03:00
Christophe Huriaux
dfe2f3d756
Merge branch 'master' into master
2022-11-02 14:29:22 +01:00
Ilya Sosnovsky
a973b88463
Update README.md
...
Fix notes due #165 #166
2022-11-02 14:41:30 +03:00
Ilya Sosnovsky
3f3976ff7a
Add dashboard example
2022-09-06 09:55:02 +03:00
Ilya Sosnovsky
5d41f6d91e
Fix multiarch build
2022-09-05 11:48:34 +03:00
Ilya Sosnovsky
7db35753ad
Merge pull request #137 from miklezzzz/master
...
fix absent labels for secrets
2022-09-01 14:42:26 +03:00
Mikhail Scherba
10f7441c49
fix absent labels for secrets
2022-09-01 13:15:22 +03:00
Ilya Sosnovsky
ca53605554
Merge pull request #132 from flant/rc/2.0.0
...
Release 2.0.0
2022-08-29 12:20:48 +03:00
Ilya Sosnovsky
d012141b51
refactoring
2022-08-12 13:52:45 +03:00
Ilya Sosnovsky
0dfe9f9494
Add example dashboard
2022-08-04 15:13:41 +03:00
Ilya Sosnovsky
3e599eb989
Merge branch 'rc/2.0.0' of github.com:flant/ovpn-admin into rc/2.0.0
2022-08-02 17:19:58 +03:00
Ilya Sosnovsky
67dd4538ad
small refactoring to reduce os.exec calls
2022-08-02 17:19:27 +03:00
Ilya Sosnovsky
5146d04a0d
Merge branch 'master' into rc/2.0.0
2022-07-21 18:40:57 +03:00
Ilya Sosnovsky
a0daf5b4d7
add feature for rotate and delete users; fixes; refactoring
2022-07-21 18:37:34 +03:00
Ilya Sosnovsky
f369639a2a
Merge pull request #126 from sabuhish/master
...
Fix typo error
2022-06-08 13:17:21 +03:00
sabuhish
5a6724bf6a
Fix typo error
2022-05-18 11:37:02 +04:00
vitaliy-sn
53119e17b2
Merge pull request #122 from flant/fix-crl-file-permissions
...
Fix crl.pem file permissions
2022-04-27 23:03:57 +03:00
Vitaliy Snurnitsin
5705d2f60b
Fix crl file permissions
2022-04-27 21:51:43 +03:00
vitaliy-sn
99569daf31
Merge pull request #121 from flant/multiple-lb
...
Add ability to specify multiple --ovpn.service
2022-04-27 15:29:27 +03:00
Vitaliy Snurnitsin
47abe3bc1a
Added ability to specify multiple --ovpn.service
2022-04-27 13:45:43 +03:00
vitaliy-sn
cd746c20b5
Merge pull request #99 from vitaliy-sn/k8s-secrets-storage
...
K8s secrets storage
2022-03-18 17:44:02 +03:00
Vitaliy Snurnitsin
b26d0968e1
add helm chart example
2022-03-18 17:36:57 +03:00
Vitaliy Snurnitsin
7f1da70b9d
kubernetes.secrets storage.backend implementation
2022-03-18 17:36:57 +03:00
Vitaliy Snurnitsin
4b7ef65a66
add storage.backend selection (filesystem or kubernetes.secrets)
2022-03-18 17:36:57 +03:00
Vitaliy Snurnitsin
77adc1108c
openssl binary replaced with golang crypto/x509 library
2022-01-29 03:07:45 +03:00
Vitaliy Snurnitsin
9b1b34d4c4
logs, gofmt
2022-01-29 03:06:35 +03:00
Vitaliy Snurnitsin
5af16605d2
go 1.17
2022-01-29 03:04:26 +03:00
Vitaliy Snurnitsin
f180a9cc5a
node 16.13
2022-01-29 02:22:08 +03:00
strnk
0ee9be5744
Fix certs and ccd slave download API endpoints
2021-12-07 16:12:57 +01:00
strnk
f73626dd7b
Add configuration parameter for the easyrsa script path
2021-12-07 15:57:31 +01:00
strnk
633ad79d6a
Add base URL configuration to the webserver to support reverse-proxy setups
2021-12-07 15:44:52 +01:00
Ilya Sosnovsky
d3b5a77efb
fixes for build scripts
2021-11-29 13:40:05 +03:00
Ilya Sosnovsky
af65b36d2b
fix
2021-11-29 13:10:55 +03:00
Ilya Sosnovsky
2d75fb1f4b
bump go version
2021-11-29 12:57:45 +03:00
Ilya Sosnovsky
5ddbfe81ed
Merge pull request #88 from flant/rc/1.7.5
...
fixed a broken release
2021-11-29 11:37:28 +03:00
Ilya Sosnovsky
9873c2cb76
fixed a broken release
2021-11-29 11:34:34 +03:00
Ilya Sosnovsky
4bdb74411c
Merge pull request #86 from smalot/fix-packr-path
...
Fix packr path dependency
2021-11-25 20:30:00 +03:00
Sebastien Malot
b378ae17dd
Fix packr path dependency
2021-11-23 08:57:11 +01:00
Sebastien Malot
1b421070cb
Fix packr path dependency
2021-11-23 08:55:59 +01:00
Dmitry Shurupov
3c77273990
Security disclaimer for README
2021-11-11 11:12:10 +07:00