Comments (4)
OK, I believe we have fully addressed this issue. I added Success! to all of the banners that needed it. Also, I was able to figure out how to add "name" to the Error banner, so they are all consistent. I'm not going to build a new beta right away, I'll wait until there are few more changes.
from openvpn-admin-plus.
OK, I see where the problem is -- I think I'll work on this issue first, since it's a bug. There is a validation check, for existing names, so let me know if you think that's not working. Based on the code I'm looking at, we need to add an red alert banner when a duplicate name has been used -- as you're suggesting. And, I need to move the green success banner after the name validation check.
from openvpn-admin-plus.
Though the solution ended up being relatively simple, this was a challenging issue to deal with. I learned a few things about error handling in Go along the way. The approach I used does not allow for a variable like "name" to be added to the message, but I still think it will do the job nicely. New multi-arch beta building now, that incorporates your recent PRs too -- it'll be uploaded and available in 20 minutes or so. Let me know how you like it.
from openvpn-admin-plus.
Scott, maybe it's better to display the result of the banner like this, for example:
Success! Certificate for the name of the "director" has been created
If we indicate an error in one of the banners in order to attract the attention of the administrator, then in the other we must be label success. What do you say?
from openvpn-admin-plus.
Related Issues (20)
- Spaces when importing to the name.ovpn file HOT 4
- SSL certificate and HTTPS protocol for OpenVPNAdmin HOT 25
- Make conf directory mappable HOT 1
- Billing of incoming and outgoing traffic HOT 5
- Improve the documentation HOT 3
- Settings > management address Error HOT 6
- Port 8080 is not listening HOT 6
- Missing info from GUI HOT 7
- Infinitely growing container log file HOT 5
- Cannot create new client certificate
- easy-rsa location HOT 1
- Run on existing configuration - unterminated `s' command HOT 23
- MAPPING ERROR HOT 5
- 500 error on status page when clients connected
- Failed to configure admin for tun VPN HOT 15
- No such file or directory easy-rsa vars HOT 2
- support dco
- No client
- Think it's possible to get this working with Gluetun?
- Fix your configuration ERROR HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openvpn-admin-plus.