Docker Fixes, iPerf3 Feature Completion, Minor PHP Code Improvements #41
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "contrib"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
LG_LOCATIONS
contains the current location, which in my opinion is expected when deploying in multiple locations. The location drop-down menu displays the same location twice due to$templateData['current_location']
and$templateData['locations']
both being displayed. Anif
check is implemented to deduplicate.LG_IPV4
to display the IP address of the looking glass, instead of being set manually.There might also be some other small changes I failed to mention. Thank you for reading this.
@RealBrandon Thank you for your PR, I will go through this asap. I have some changes I would like to see before we merge this 👍🏽
Hi there, this is the first time I am contributing to a public project. If there is anything that doesn't conform to the convention, please let me know. I'll be more than willing to change it. Thank you for going through my code.
Nice first public PR, good job. I have done a short review on your code.
Did you test the Docker part? If it works then that part is good to go.
This should not change, because not everybody runs the iperf server on the looking glass server.
Same here ^
Why remove the examples? Easier to keep them commented to show people how it works. Remember that most people installing such looking glass aren't that technical in terms of coding 😄
Don't forget to change it here too.
Here too.
Keep the examples to show how it works.
Can you put the iPerf installation guide in a separate section? As mentioned earlier, this makes the installation more complex and not everybody runs an iPerf server. If you do run it, usually you do this on a separate server due to congestion (not exactly ideal for a looking glass).
Thank you very much. As for the Docker part, yes, I have tested them. I've deployed them in production environment as well. Here is the link to one of the looking glass I've deployed.
I didn't think of this scenario at all. Sorry, I'll change these back and other corresponding parts as well.
Yeah, no problem. By the way, would it be good if I comment out iPerf3-related configurations in
docker-compose.yml
? This way, when the user installs via Docker, it doesn't come with iPerf3 by default, since usually it should be deployed separately.Sorry I thought changing the default value to empty would allow the location drop-down menu to auto hide out of the box. I did keep them in the comments though. Should I change these back?
Roger that. I will change them back.
Yes, good idea! We need to keep as much as possible optional, and very easy too.
@dqos Hi, I've changed back the iPerf3 commands and the default values of the constants. Also, I've separated the iPerf3 instructions into a different section. Please have a look when you're free. Have a good weekend.
@RealBrandon Looks good, thank you. Merging this into main, congratulations with your first contribution!
Thank you so much. Looking forward to working with you in the future!