summaryrefslogtreecommitdiffstats
path: root/install
diff options
context:
space:
mode:
authorAdam Young <ayoung@redhat.com>2010-07-26 11:57:29 -0400
committerRob Crittenden <rcritten@redhat.com>2010-07-29 10:44:56 -0400
commit26b0e8fc9809a4cd9f2f9a2281f0894e2e0f8db2 (patch)
treef2e3084e28fb490477b9336bd3a0cfd7dffea3b2 /install
parentfd1ff372dce5122f8bc3f7be7b144a92ec1f1bae (diff)
downloadfreeipa-26b0e8fc9809a4cd9f2f9a2281f0894e2e0f8db2.tar.gz
freeipa-26b0e8fc9809a4cd9f2f9a2281f0894e2e0f8db2.tar.xz
freeipa-26b0e8fc9809a4cd9f2f9a2281f0894e2e0f8db2.zip
This patch removes the existing UI functionality, as a prep for adding the Javascript based ui.
Diffstat (limited to 'install')
-rw-r--r--install/Makefile.am3
-rw-r--r--install/po/Makefile.in4
-rw-r--r--install/share/wsgi.py2
-rwxr-xr-xinstall/tools/ipa-server-install14
4 files changed, 0 insertions, 23 deletions
diff --git a/install/Makefile.am b/install/Makefile.am
index bc1dff14..1b97afa5 100644
--- a/install/Makefile.am
+++ b/install/Makefile.am
@@ -19,13 +19,10 @@ install-exec-local:
chmod 700 $(DESTDIR)$(localstatedir)/lib/ipa/sysrestore
mkdir -p $(DESTDIR)$(localstatedir)/cache/ipa/sessions
chmod 700 $(DESTDIR)$(localstatedir)/cache/ipa/sessions
- mkdir -p $(DESTDIR)$(localstatedir)/cache/ipa/assets
- chmod 700 $(DESTDIR)$(localstatedir)/cache/ipa/assets
uninstall-local:
-rmdir $(DESTDIR)$(localstatedir)/lib/ipa/sysrestore
-rmdir $(DESTDIR)$(localstatedir)/lib/ipa
- -rmdir $(DESTDIR)$(localstatedir)/cache/ipa/assets
-rmdir $(DESTDIR)$(localstatedir)/cache/ipa/sessions
-rmdir $(DESTDIR)$(localstatedir)/cache/ipa
diff --git a/install/po/Makefile.in b/install/po/Makefile.in
index d3aa018e..6f8932e3 100644
--- a/install/po/Makefile.in
+++ b/install/po/Makefile.in
@@ -129,10 +129,6 @@ PYTHON_POTFILES = \
../../ipaserver/plugins/xmlserver.py \
../../ipaserver/plugins/dogtag.py \
../../contrib/RHEL4/ipachangeconf.py \
- ../../ipawebui/engine.py \
- ../../ipawebui/__init__.py \
- ../../ipawebui/widgets.py \
- ../../ipawebui/controllers.py \
../../ipa-client/ipaclient/ntpconf.py \
../../ipa-client/ipaclient/__init__.py \
../../ipa-client/ipaclient/ipachangeconf.py \
diff --git a/install/share/wsgi.py b/install/share/wsgi.py
index e1c2c733..f6b99a2d 100644
--- a/install/share/wsgi.py
+++ b/install/share/wsgi.py
@@ -10,8 +10,6 @@ except StandardError, e:
api.log.error('Failed to start IPA: %s' % e)
else:
api.log.info('*** PROCESS START ***')
- import ipawebui
- ui = ipawebui.create_wsgi_app(api)
# This is the WSGI callable:
application = api.Backend.session
diff --git a/install/tools/ipa-server-install b/install/tools/ipa-server-install
index c7fe6608..89bb83e3 100755
--- a/install/tools/ipa-server-install
+++ b/install/tools/ipa-server-install
@@ -56,14 +56,12 @@ from ipapython import sysrestore
from ipapython.ipautil import *
from ipalib import api, errors, util
-import ipawebui
pw_name = None
uninstalling = False
# Used to determine the the highest possible uid/gid
MAXINT_32BIT = 2147483648
-ASSETS_DIR = '/var/cache/ipa/assets'
def parse_options():
namespace = random.randint(1000000, (MAXINT_32BIT - 1000000))
@@ -412,13 +410,6 @@ def uninstall(dm_password=None):
return 0
-def render_assets():
- """
- Render CSS and JavaScript assets.
- """
- ui = ipawebui.create_wsgi_app(api)
- ui.render_assets()
-
def set_subject_in_config(host_name, dm_password, suffix, subject_base):
ldapuri = 'ldap://%s' % host_name
try:
@@ -511,7 +502,6 @@ def main():
print " * Create and configure an instance of Directory Server"
print " * Create and configure a Kerberos Key Distribution Center (KDC)"
print " * Configure Apache (httpd)"
- print " * Render web UI JavaScript and CSS assets"
if options.setup_dns:
print " * Configure DNS (bind)"
if not options.conf_ntp:
@@ -656,7 +646,6 @@ def main():
fd.write("enable_ra=True\n")
if not options.selfsign:
fd.write("ra_plugin=dogtag\n")
- fd.write('webui_assets_dir=' + ASSETS_DIR + '\n')
fd.close()
api.bootstrap(**cfg)
@@ -739,9 +728,6 @@ def main():
# generated
ds.add_cert_to_service()
- # Render webui assets:
- ipautil.run(["/sbin/restorecon", ASSETS_DIR])
- render_assets()
# Create a HTTP instance