mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
ttrss: Use LDAP authentication
This commit is contained in:
1 parent
47a54fadd1
commit
368e64c5ca
3 files changed
+24
-6
No files matched your search
@@ -58,7 +58,7 @@ def init():
|
||||
|
||||
def setup(helper, old_version=None):
|
||||
"""Install and configure the module."""
|
||||
helper.install(['tt-rss', 'postgresql', 'dbconfig-pgsql', 'php5-pgsql'])
|
||||
helper.install(['tt-rss', 'postgresql', 'dbconfig-pgsql', 'php-pgsql'])
|
||||
helper.call('post', actions.superuser_run, 'ttrss', ['setup'])
|
||||
helper.call('post', service.notify_enabled, None, True)
|
||||
|
||||
@@ -71,7 +71,8 @@ def get_status():
|
||||
|
||||
def is_enabled():
|
||||
"""Return whether the module is enabled."""
|
||||
return action_utils.webserver_is_enabled('50-tt-rss')
|
||||
return (action_utils.service_is_enabled('tt-rss') and
|
||||
action_utils.webserver_is_enabled('tt-rss-plinth'))
|
||||
|
||||
|
||||
def is_running():
|
||||
@@ -91,6 +92,6 @@ def diagnose():
|
||||
results = []
|
||||
|
||||
results.extend(action_utils.diagnose_url_on_all(
|
||||
'https://{host}/ttrss', extra_options=['--no-check-certificate']))
|
||||
'https://{host}/tt-rss', extra_options=['--no-check-certificate']))
|
||||
|
||||
return results
|
||||
Reference in new issue
Block a user