From 74d4feb5ec58f1e4147b011acd2de0a808590b7c Mon Sep 17 00:00:00 2001 From: Luke Faraone Date: Fri, 16 Aug 2013 13:19:05 -0400 Subject: [PATCH] Remove legacy gitit files. (imported from commit 818f4b95e82c5909be5909f24864614ff89517fc) --- .../zulip/files/supervisord/conf.d/gitit.conf | 9 - .../modules/zulip/files/wiki/gitit.conf | 234 ------------------ .../zulip/files/wiki/static/css/custom.css | 41 --- .../zulip/files/wiki/static/img/logo.png | Bin 1524 -> 0 bytes 4 files changed, 284 deletions(-) delete mode 100644 servers/puppet/modules/zulip/files/supervisord/conf.d/gitit.conf delete mode 100644 servers/puppet/modules/zulip/files/wiki/gitit.conf delete mode 100644 servers/puppet/modules/zulip/files/wiki/static/css/custom.css delete mode 100644 servers/puppet/modules/zulip/files/wiki/static/img/logo.png diff --git a/servers/puppet/modules/zulip/files/supervisord/conf.d/gitit.conf b/servers/puppet/modules/zulip/files/supervisord/conf.d/gitit.conf deleted file mode 100644 index 34a1571cd7..0000000000 --- a/servers/puppet/modules/zulip/files/supervisord/conf.d/gitit.conf +++ /dev/null @@ -1,9 +0,0 @@ -[program:wiki] -command=gitit -f /home/wiki/wiki/gitit.conf -numprocs=1 -autostart=true -autorestart=true -user=wiki -redirect_stderr=true -stdout_logfile=/var/log/humbug/wiki.log -directory=/home/wiki/wiki/ diff --git a/servers/puppet/modules/zulip/files/wiki/gitit.conf b/servers/puppet/modules/zulip/files/wiki/gitit.conf deleted file mode 100644 index 3b5ed62b12..0000000000 --- a/servers/puppet/modules/zulip/files/wiki/gitit.conf +++ /dev/null @@ -1,234 +0,0 @@ -# gitit wiki configuration file - -port: 5001 -# sets the port on which the web server will run. - -wiki-title: Zulip Wiki -# the title of the wiki. - -repository-type: Git -# specifies the type of repository used for wiki content. -# Options are Git, Darcs, and Mercurial. - -repository-path: wikidata -# specifies the path of the repository directory. If it does not -# exist, gitit will create it on startup. - -authentication-method: http -# 'form' means that users will be logged in and registered -# using forms in the gitit web interface. 'http' means -# that gitit will assume that HTTP authentication is in -# place and take the logged in username from the "Authorization" -# field of the HTTP request header (in addition, -# the login/logout and registration links will be -# suppressed). 'generic' means that gitit will assume that -# some form of authentication is in place that directly -# sets REMOTE_USER to the name of the authenticated user -# (e.g. mod_auth_cas on apache). - -user-file: gitit-users -# specifies the path of the file containing user login information. -# If it does not exist, gitit will create it (with an empty user list). -# This file is not used if 'http' is selected for authentication-method. - -session-timeout: 360 -# number of minutes of inactivity before a session expires. - -static-dir: static -# specifies the path of the static directory (containing javascript, -# css, and images). If it does not exist, gitit will create it -# and populate it with required scripts, stylesheets, and images. - -default-page-type: Markdown -# specifies the type of markup used to interpret pages in the wiki. -# Possible values are Markdown, RST, LaTeX, HTML, Markdown+LHS, RST+LHS, -# and LaTeX+LHS. (The +LHS variants treat the input as -# literate Haskell. See pandoc's documentation for more details.) If -# Markdown is selected, pandoc's syntax extensions (for footnotes, -# delimited code blocks, etc.) will be enabled. Note that pandoc's -# reStructuredText parser is not complete, so some pages may not be -# rendered correctly if RST is selected. The same goes for LaTeX and -# HTML. - -math: MathML -# specifies how LaTeX math is to be displayed. Possible values -# are MathML, raw, and jsMath. If mathml is selected, gitit will -# convert LaTeX math to MathML and link in a script, MathMLinHTML.js, -# that allows the MathML to be seen in Gecko browsers, IE + -# mathplayer, and Opera. In other browsers you may get a jumble -# of characters. If raw is selected, the LaTeX math will be displayed -# as raw LaTeX math. If jsMath is selected, gitit will link to -# the script /js/jsMath/easy/load.js, and will assume that jsMath -# has been installed into the js/jsMath directory. This is the most -# portable solution. - -show-lhs-bird-tracks: no -# specifies whether to show Haskell code blocks in "bird style", -# with "> " at the beginning of each line. - -templates-dir: templates -# specifies the path of the directory containing page templates. -# If it does not exist, gitit will create it with default templates. -# Users may wish to edit the templates to customize the appearance of -# their wiki. The template files are HStringTemplate templates. -# Variables to be interpolated appear between $'s. Literal $'s must be -# backslash-escaped. - -log-file: gitit.log -# specifies the path of gitit's log file. If it does not exist, -# gitit will create it. The log is in Apache combined log format. - -log-level: WARNING -# determines how much information is logged. -# Possible values (from most to least verbose) are DEBUG, INFO, -# NOTICE, WARNING, ERROR, CRITICAL, ALERT, EMERGENCY. - -front-page: Front Page -# specifies which wiki page is to be used as the wiki's front page. -# Gitit creates a default front page on startup, if one does not exist -# already. - -no-delete: Front Page, Help -# specifies pages that cannot be deleted through the web interface. -# (They can still be deleted directly using git or darcs.) -# A comma-separated list of page names. Leave blank to allow -# every page to be deleted. - -no-edit: Help -# specifies pages that cannot be edited through the web interface. -# Leave blank to allow every page to be edited. - -default-summary: (default commit message) -# specifies text to be used in the change description if the author -# leaves the "description" field blank. If default-summary is blank -# (the default), the author will be required to fill in the description -# field. - -table-of-contents: yes -# specifies whether to print a tables of contents (with links to -# sections) on each wiki page. - -plugins: -# specifies a list of plugins to load. Plugins may be specified -# either by their path or by their module name. If the plugin name -# starts with Gitit.Plugin., gitit will assume that the plugin is -# an installed module and will not try to find a source file. -# Examples: -# plugins: plugins/DotPlugin.hs, CapitalizeEmphasisPlugin.hs -# plugins: plugins/DotPlugin -# plugins: Gitit.Plugin.InterwikiLinks - -use-cache: no -# specifies whether to cache rendered pages. Note that if use-feed -# is selected, feeds will be cached regardless of the value of use-cache. - -cache-dir: cache -# directory where rendered pages will be cached - -max-upload-size: 10M -# specifies an upper limit on the size (in bytes) of files uploaded -# through the wiki's web interface. -# To disable uploads, set this to 0K. -# This will result in the uploads link disappearing -# and the _upload url becoming inactive. - -max-page-size: 1M -# specifies an upper limit on the size (in bytes) of pages - -debug-mode: no -# if "yes", causes debug information to be logged while gitit is running. - -compress-responses: yes -# specifies whether HTTP responses should be compressed. - -mime-types-file: /etc/mime.types -# specifies the path of a file containing mime type mappings. -# Each line of the file should contain two fields, separated by -# whitespace. The first field is the mime type, the second is a -# file extension. For example: -# video/x-ms-wmx wmx -# If the file is not found, some simple defaults will be used. - -use-recaptcha: no -# if "yes", causes gitit to use the reCAPTCHA service -# (http://recaptcha.net) to prevent bots from creating accounts. - -recaptcha-private-key: -recaptcha-public-key: -# specifies the public and private keys for the reCAPTCHA service. -# To get these, you need to create an account at http://recaptcha.net. - -access-question: -access-question-answers: -# specifies a question that users must answer when they attempt to create -# an account, along with a comma-separated list of acceptable answers. -# This can be used to institute a rudimentary password for signing up as -# a user on the wiki, or as an alternative to reCAPTCHA. -# Example: -# access-question: What is the code given to you by Ms. X? -# access-question-answers: RED DOG, red dog - -mail-command: -# specifies the command to use to send notification emails. -# '%s' will be replaced by the destination email address. -# The body of the message will be read from stdin. -# If this field is left blank, password reset will not be offered. - -reset-password-message: - > From: nobody@$hostname$ - > To: $useremail$ - > Subject: Wiki password reset - > - > Dear $username$: - > - > To reset your password, please follow the link below: - > http://$hostname$:$port$$resetlink$ - > - > Yours sincerely, - > The Wiki Master - -# gives the text of the message that will be sent to the user should she -# want to reset her password, or change other registration info. -# The lines must be indented, and must begin with '>'. The initial -# spaces and '> ' will be stripped off. $username$ will be replaced -# by the user's username, $useremail$ by her email address, -# $hostname$ by the hostname on which the wiki is running (as -# returned by the hostname system call), $port$ by the port on -# which the wiki is running, and $resetlink$ by the -# relative path of a reset link derived from the user's existing -# hashed password. If your gitit wiki is being proxied to a location -# other than the root path of $port$, you should change the link to -# reflect this: for example, to -# http://$hostname$/path/to/wiki$resetlink$ or -# http://gitit.$hostname$$resetlink$ - -use-feed: no -# specifies whether an ATOM feed should be enabled (for the site and for -# individual pages) - -base-url: -# the base URL of the wiki, to be used in constructing feed IDs. -# If this field is left blank, gitit will get the base URL from the -# request header 'Host'. For most users, this should be fine, but -# if you are proxying a gitit instance to a subdirectory URL, you will -# want to set this manually. - -feed-days: 14 -# number of days to be included in feeds. - -feed-refresh-time: 60 -# number of minutes to cache feeds before refreshing - -pdf-export: no -# if yes, PDF will appear in export options. PDF will be created using -# pdflatex, which must be installed and in the path. Note that PDF -# exports create significant additional server load. - -pandoc-user-data: -# if a directory is specified, this will be searched for pandoc -# customizations. These can include a templates/ directory for custom -# templates for various export formats, an S5 directory for custom -# S5 styles, and a reference.odt for ODT exports. If no directory is -# specified, $HOME/.pandoc will be searched. See pandoc's README for -# more information. - diff --git a/servers/puppet/modules/zulip/files/wiki/static/css/custom.css b/servers/puppet/modules/zulip/files/wiki/static/css/custom.css deleted file mode 100644 index 9d86004342..0000000000 --- a/servers/puppet/modules/zulip/files/wiki/static/css/custom.css +++ /dev/null @@ -1,41 +0,0 @@ -@import url("screen.css"); /* default gitit screen styles */ - -table.sourceCode, tr.sourceCode, td.lineNumbers, td.sourceCode { - margin: 0; - padding: 0; - vertical-align: baseline; - border: none; -} - -table.sourceCode { - width: 100%; -} - -td.lineNumbers { - text-align: right; - padding-right: 4px; - padding-left: 4px; - color: #aaaaaa; - border-right: 1px solid #aaaaaa; -} - -td.sourceCode { - padding-left: 5px; -} - -pre { - padding-left: 20px; -} - -code > span.kw { color: #007020; font-weight: bold; } -code > span.dt { color: #902000; } -code > span.dv { color: #40a070; } -code > span.bn { color: #40a070; } -code > span.fl { color: #40a070; } -code > span.ch { color: #4070a0; } -code > span.st { color: #4070a0; } -code > span.co { color: #60a0b0; font-style: italic; } -code > span.ot { color: #007020; } -code > span.al { color: #ff0000; font-weight: bold; } -code > span.fu { color: #06287e; } -code > span.er { color: #ff0000; font-weight: bold; } diff --git a/servers/puppet/modules/zulip/files/wiki/static/img/logo.png b/servers/puppet/modules/zulip/files/wiki/static/img/logo.png deleted file mode 100644 index 23c57afb485c27c24f7c0ac13d60a28513945ba2..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1524 zcmV37MZDViRlB7jrZEUMlr3I-sL=hxE6h*LFtQP;+8Z;3^!AOg&^oJlCTR{WK z?(FQPK{v5QLW#d zp_rCWau39E>UG)y$*2TISkb6Rzh;(4X+39&l~VwuOZGCt29J=RcX5_jPVkJUdl~{K z>rBrx&hW6D4qF=m$Z#4K)69TFuNioTX+39&HPwK*Iz8@bYZF#DEUZW*^NMBqoYr%e zSdIXF)6gLHwzP<@P$>OM%M1?7RRTY!;ZxPslRlmPn8n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