mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
Rename Plinth to FreedomBox in module doc strings
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
1 parent
dea4af17fb
commit
8f0e2d6381
71 files changed
+81
-115
No files matched your search
@@ -15,7 +15,7 @@
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
"""
|
||||
Plinth module for using Let's Encrypt.
|
||||
FreedomBox app for using Let's Encrypt.
|
||||
"""
|
||||
|
||||
import json
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
"""
|
||||
Plinth module for using Let's Encrypt.
|
||||
FreedomBox app for using Let's Encrypt.
|
||||
"""
|
||||
|
||||
import logging
|
||||
@@ -101,7 +101,11 @@ def enable_renewal_management(request, domain):
|
||||
|
||||
@require_POST
|
||||
def toggle_hooks(request, domain):
|
||||
"""Toggle pointing of certbot's hooks to Plinth, for the current domain."""
|
||||
"""Toggle pointing of certbot's hooks to FreedomBox.
|
||||
|
||||
For the current domain.
|
||||
|
||||
"""
|
||||
manage_hooks_status = letsencrypt.get_manage_hooks_status()
|
||||
subcommand = 'disable' if 'enabled' in manage_hooks_status else 'enable'
|
||||
|
||||
|
||||
Reference in new issue
Block a user