summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2021-04-22 08:22:21 +0200
committerAlfredo Tupone <tupone@gentoo.org>2021-04-22 08:22:21 +0200
commit890d14659f3f8e36c6d03d948d3e6f2f109b27bf (patch)
tree0587670f2db273558f2f6ec38373e4f00b3f414f /www-apps/liquid_feedback_frontend/files
parentwww-apps/liquid_feedback_frontend: remove unnecessary executable bit (diff)
downloadgentoo-890d14659f3f8e36c6d03d948d3e6f2f109b27bf.tar.gz
gentoo-890d14659f3f8e36c6d03d948d3e6f2f109b27bf.tar.bz2
gentoo-890d14659f3f8e36c6d03d948d3e6f2f109b27bf.zip
www-apps/liquid_feedback_frontend: remove old version
Package-Manager: Portage-3.0.17, Repoman-3.0.2 Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
Diffstat (limited to 'www-apps/liquid_feedback_frontend/files')
-rw-r--r--www-apps/liquid_feedback_frontend/files/lqfb-apache.conf41
-rw-r--r--www-apps/liquid_feedback_frontend/files/lqfb.example.com.conf24
-rw-r--r--www-apps/liquid_feedback_frontend/files/myconfig.lua29
-rw-r--r--www-apps/liquid_feedback_frontend/files/postinstall-en.txt52
4 files changed, 0 insertions, 146 deletions
diff --git a/www-apps/liquid_feedback_frontend/files/lqfb-apache.conf b/www-apps/liquid_feedback_frontend/files/lqfb-apache.conf
deleted file mode 100644
index 3f1924b6ae3a..000000000000
--- a/www-apps/liquid_feedback_frontend/files/lqfb-apache.conf
+++ /dev/null
@@ -1,41 +0,0 @@
-RewriteEngine on
-
-RewriteRule ^/$ /lf/ [R]
-
-RewriteRule ^/lf/static/(.*)$ /lf/static/$1 [L,PT]
-
-RewriteCond %{QUERY_STRING} (.*)?
-RewriteRule ^/lf/$ /lf/webmcp-wrapper.lua?_webmcp_urldepth=0&_webmcp_module=index&_webmcp_view=index&%1 [PT]
-
-RewriteCond %{QUERY_STRING} (.*)?
-RewriteRule ^/lf/([^/]+)/$ /lf/webmcp-wrapper.lua?_webmcp_urldepth=1&_webmcp_module=$1&_webmcp_view=index&%1 [PT]
-
-RewriteCond %{QUERY_STRING} (.*)?
-RewriteRule ^/lf/([^/]+)/([^/\.]+)$ /lf/webmcp-wrapper.lua?_webmcp_urldepth=1&_webmcp_module=$1&_webmcp_action=$2&%1 [PT]
-
-RewriteCond %{QUERY_STRING} (.*)?
-RewriteRule ^/lf/([^/]+)/([^/\.]+)\.([^/]+)$ /lf/webmcp-wrapper.lua?_webmcp_urldepth=1&_webmcp_module=$1&_webmcp_view=$2&_webmcp_suffix=$3&%1 [PT]
-
-RewriteCond %{QUERY_STRING} (.*)?
-RewriteRule ^/lf/([^/]+)/([^/]+)/([^/\.]+)\.([^/]+)$ /lf/webmcp-wrapper.lua?_webmcp_urldepth=2&_webmcp_module=$1&_webmcp_view=$2&_webmcp_id=$3&_webmcp_suffix=$4&%1 [PT]
-
-Alias /lf/static /var/lib/liquid_feedback_frontend/static
-
-ScriptAlias /lf/ /usr/lib/webmcp/framework/cgi-bin/
-
-<Directory "/var/lib/liquid_feedback_frontend/static">
- AllowOverride None
- Order allow,deny
- Allow from all
-</Directory>
-
-<Directory "/usr/lib/webmcp/framework/cgi-bin">
- AllowOverride None
- Options ExecCGI -MultiViews +SymLinksIfOwnerMatch
- Order allow,deny
- Allow from all
-</Directory>
-
-<Location /lf>
- SetEnv WEBMCP_APP_BASEPATH '/var/lib/liquid_feedback_frontend'
-</Location>
diff --git a/www-apps/liquid_feedback_frontend/files/lqfb.example.com.conf b/www-apps/liquid_feedback_frontend/files/lqfb.example.com.conf
deleted file mode 100644
index 149084138683..000000000000
--- a/www-apps/liquid_feedback_frontend/files/lqfb.example.com.conf
+++ /dev/null
@@ -1,24 +0,0 @@
-<VirtualHost *:80>
- ServerName lqfb.example.com
-
- RewriteEngine On
- RewriteRule (.*) https://lqfb.example.com%{REQUEST_URI}
-</VirtualHost>
-
-<VirtualHost *:443>
- ServerName lqfb.example.com
-
- SSLEngine on
- SSLProtocol all -SSLv2
- SSLCipherSuite ALL:!ADH:!EXPORT:!SSLv2:RC4+RSA:+HIGH:+MEDIUM
- SSLCertificateFile /etc/ssl/apache2/wildcard/server.crt
- SSLCertificateKeyFile /etc/ssl/apache2/wildcard/server.key
-
- include /usr/share/liquid_feedback_frontend/lqfb-apache.conf
-
- <Location /lf>
- SetEnv WEBMCP_CONFIG_NAME 'myconfig'
- </Location>
-
- ErrorLog /var/log/apache2/lqfb.example.com-error.log
-</VirtualHost>
diff --git a/www-apps/liquid_feedback_frontend/files/myconfig.lua b/www-apps/liquid_feedback_frontend/files/myconfig.lua
deleted file mode 100644
index 19c259cd7cbd..000000000000
--- a/www-apps/liquid_feedback_frontend/files/myconfig.lua
+++ /dev/null
@@ -1,29 +0,0 @@
-config.absolute_base_url = "https://lqfb.example.com/lf"
-config.instance_name = "lf"
-config.database = { engine='postgresql', dbname='liquid_feedback', user='liquid_feedback', password='xxx'}
-config.enable_debug_trace = true
-
-execute.config("init")
-
-config.formatting_engine_executeables = {
- rocketwiki= "rocketwiki-lqfb",
- compat = "rocketwiki-lqfb-compat"
-}
-
--- Checkbox(es) the user has to accept while registering
---
---
-----
---------------------------------------------------------------------------
-config.use_terms_checkboxes = {
- {
- name = "terms_of_use_v1",
- html = "I accept the terms of use.",
- not_accepted_error = "You have to accept the terms of use to be able to regi ster."
- },
--- {
--- name = "extra_terms_of_use_v1",
--- html = "I accept the extra terms of use.",
--- not_accepted_error = "You have to accept the extra terms of use to be able to register."
--- }
-}
diff --git a/www-apps/liquid_feedback_frontend/files/postinstall-en.txt b/www-apps/liquid_feedback_frontend/files/postinstall-en.txt
deleted file mode 100644
index 80758792d817..000000000000
--- a/www-apps/liquid_feedback_frontend/files/postinstall-en.txt
+++ /dev/null
@@ -1,52 +0,0 @@
-0. DATABASE SETUP
-
-To use Liquid Feedback you have to follow these
-simple steps, which have to be done as the postgres system user (or
-which ever is the database superuser):
-
-$ createuser liquid_feedback
-and answer the following
-Shall the new role be a superuser? (y/n) n
-Shall the new role be allowed to create databases? (y/n) y
-Shall the new role be allowed to create more new roles? (y/n) n
-
-$ psql
-postgres=# ALTER USER liquid_feedback WITH PASSWORD 'the_new_password';
-
-$ createdb -U liquid_feedback liquid_feedback
-$ psql -U liquid_feedback liquid_feedback
-liquid_feedback=# \i ${MY_INSTALLDIR}/liquid_feedback_core/core.sql
-liquid_feedback=# \i ${MY_INSTALLDIR}/liquid_feedback_core/init.sql
-INSERT INTO system_setting (member_ttl) VALUES ('1 year');
-INSERT INTO contingent (polling, time_frame, text_entry_limit, initiative_limit) VALUES (false, '1 hour', 20, 6);
-INSERT INTO contingent (polling, time_frame, text_entry_limit, initiative_limit) VALUES (false, '1 day', 80, 12);
-INSERT INTO contingent (polling, time_frame, text_entry_limit, initiative_limit) VALUES (true, '1 hour', 200, 60);
-INSERT INTO contingent (polling, time_frame, text_entry_limit, initiative_limit) VALUES (true, '1 day', 800, 120);
-INSERT INTO policy (index, name, admission_time, discussion_time, verification_time, voting_time, issue_quorum_num, issue_quorum_den, initiative_quorum_num, initiative_quorum_den) VALUES (1, 'Default policy', '8 days', '15 days', '8 days', '15 days', 10, 100, 10, 100);
-
-cd /var/lib/liquid_feedback_frontend
-/usr/lib/webmcp/framework/bin/webmcp_shell myconfig
-Lua 5.1.5 Copyright (C) 1994-2012 Lua.org, PUC-Rio
-> member = Member:by_id(1)
-> member:set_password("type-password-here")
-> member:save()
-> os.exit()
-
-Ensure that "lf_update dbname=liquid_feedback" and
-"lf_update_suggestion_order dbname=liquid_feedback" are called
-regularly! It is required to run these commands regularly
-(i.e. every 5 minutes via cron) to update cached supporter counts,
-to change the state of issues when neccessary, to calculate the
-result of votings, etc. If you wish, copy the created lf_update
-and lf_update_suggestion_order files to /usr/local/bin or a
-similar directory.
-
-It is possible to run these two commands in parallel, if a setup
-requires splitting the load to multiple processor cores. In other
-cases it is recommended to run "lf_update" first, and then
-"lf_update_suggestion_order".
-
-To create an export file, which is containing all but private data,
-you may use the lf_export shell-script:
-$ lf_export liquid_feedback export.sql.gz
-