This repository was archived by the owner on Jan 3, 2023. It is now read-only.
Open
Conversation
creating .htpasswd and generating secure password for client-config
some installation visual touchups
removed FD0 device from system to prevent errors in the logs
…sers UX (E) Option A – Dark Admin Theme with Sidebar: - Replace top navbar with a fixed dark left sidebar (navy/indigo palette) - Sidebar nav items use data-toggle="tab" to drive the existing tab-content panels - Dark topbar with Get Config / Configurations / Logout actions - Tab panes styled as white cards with subtle shadow on a light-grey canvas - URL-hash tab persistence re-wired to sidebar active state Option B – Dashboard Stats Panel: - Four stat cards (Total Users, Online Now, Disabled, Log Entries) at the top of the main content area, loaded via a new ?select=stats AJAX endpoint - Stats refresh automatically after add/delete/enable-toggle user operations Option E – Improved Users Table UX: - Password column now shows masked bullets (••••••) plus a "Reset" button; clicking Reset opens a Bootstrap modal for the new password - Enabled column replaced with a CSS toggle switch (no raw checkbox) - Rows where user_end_date is in the past are highlighted in light red - Delete actions on users and admins now show a Bootstrap confirm modal instead of the native window.confirm() dialog https://claude.ai/code/session_01WZEZB3qbYnaXPXj3eB9P1j
…all scripts - install.sh: add Debian to the OS guard, add a Debian package installation block (mariadb-server, php, php-mysql, php-zip, apache2, openvpn, net-tools), and extend the firewall-persistence case to Ubuntu|Debian so iptables rules are saved persistently on both distros - online-install.sh: add Debian to the OS guard - uninstall.sh: replace the hard-coded /etc/php/7.3 path with a dynamic php_version variable so the php.ini cleanup works on any PHP version (fixes breakage on Debian and Ubuntu 21+) - README.md: update prerequisites to list Debian 11/12 and add it to the Tests section https://claude.ai/code/session_01WZEZB3qbYnaXPXj3eB9P1j
Parsing PRETTY_NAME with cut/sed is fragile and can silently produce the wrong value depending on locale, distro variant, or whitespace differences (e.g. Debian's PRETTY_NAME is "Debian GNU/Linux 12 (bookworm)" which requires a different word position than Ubuntu's). Switch both install.sh and online-install.sh to source /etc/os-release directly and read the standardised ID field (guaranteed lowercase, no spaces), then title-case it with awk to preserve the existing case statements (Ubuntu, Raspbian, Debian). Also switch OS_Version_Major/Minor to use VERSION_ID instead of carving up PRETTY_NAME. https://claude.ai/code/session_01WZEZB3qbYnaXPXj3eB9P1j
online-install.sh was cloning https://github.com/arvage/OpenVPN-Admin, causing all changes in this fork to be silently discarded — users ended up with the old unpatched code every time. Update the clone URL to ringmor/OpenVPN-Admin so the Debian-compatible install.sh is actually used. Update README.md Method 1 (wget) and Method 2 (git clone) URLs to match. https://claude.ai/code/session_01WZEZB3qbYnaXPXj3eB9P1j
- Replace JS tab navigation with server-side ?page= routing so pages survive browser refresh - Unify login and config download into a single page - Add mail, phone, and enable fields to admin table (matching user UX) - Mask admin passwords with reset button instead of raw hash display - Aggregate logs per user with session count and totals - Auto-refresh stats and user table every 5 seconds - Update installation configs with server IP and keepalive settings Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…oahl69q695u-JYzou Claude/explain codebase mlvb1oahl69q695u j yzou
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
It would be nice to change the client.ovpn file name to "username".ovpn