Conversation
…ttings for publishing and changelog.
Replace template readme with module description for sysadmins. Add English README.md with cross-link to Russian version. Add CLAUDE.md with architecture and build instructions for Claude Code.
Add AcmeHttpPort class that creates a dedicated nginx server block on port 80 serving only /.well-known/acme-challenge/ (returns 444 for everything else) and adds iptables rules when firewall is managed. Port 80 is opened before certificate request and guaranteed closed after via try/finally in all code paths: REST API GET-CERT handler, updateCert.php, and new cronRenewCert.php wrapper for cron renewal. Safety mechanisms: - Lock file with PID+timestamp in /var/run (tmpfs, survives no crash) - Watchdog cron (every minute) cleans up stale state after 5min/dead PID - Cleanup on PBX startup via onAfterPbxStarted Also adds timestamp wrapper for getssl output (ISO format matching syslog) and phpstan.neon config for the module.
- Disable submit button and show ACE editor immediately on cert request - Re-enable button on success/failure - Call run() after cert process to install existing cert files into PbxSettings (fixes case when cert exists on disk but was cleared from system settings) - Load last log into ACE editor on page open - Add link to system diagnostic for full log - Add timestamped logging for port 80 open/close and cert installation - Add translation keys for log link (en, ru)
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
No description provided.