mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
repro: Remove app
The repro app has been disabled for a long time. Its package has been removed from Debian, and there is no sign of it returning soon. Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
15 files changed
+1
-712
No files matched your search
@@ -171,32 +171,6 @@ def _mediawiki_has_main_page(browser):
|
||||
return 'This page has been deleted.' not in content.text
|
||||
|
||||
|
||||
def repro_configure(browser):
|
||||
"""Configure repro."""
|
||||
browser.visit(
|
||||
'{}/repro/domains.html?domainUri=freedombox.local&domainTlsPort='
|
||||
'&action=Add'.format(interface.default_url))
|
||||
|
||||
|
||||
def repro_delete_config(browser):
|
||||
"""Delete the repro config."""
|
||||
browser.visit('{}/repro/domains.html?domainUri=&domainTlsPort='
|
||||
'&action=Remove&remove.freedombox.local=on'.format(
|
||||
interface.default_url))
|
||||
|
||||
|
||||
def repro_is_configured(browser):
|
||||
"""Check whether repro is configured."""
|
||||
return eventually(_repro_is_configured, [browser])
|
||||
|
||||
|
||||
def _repro_is_configured(browser):
|
||||
"""Check whether repro is configured."""
|
||||
browser.visit('{}/repro/domains.html'.format(interface.default_url))
|
||||
remove = browser.find_by_name('remove.freedombox.local')
|
||||
return bool(remove)
|
||||
|
||||
|
||||
def jsxc_login(browser):
|
||||
"""Login to JSXC."""
|
||||
access_url(browser, 'jsxc')
|
||||
|
||||
Reference in new issue
Block a user