瀏覽代碼

Only show certain domains on the about screen

Bob Mottram 8 年之前
父節點
當前提交
1ceffbd9c2

+ 2
- 0
src/freedombone-app-dokuwiki 查看文件

@@ -30,6 +30,8 @@
30 30
 
31 31
 VARIANTS='full full-vim writer'
32 32
 
33
+SHOW_ON_ABOUT=1
34
+
33 35
 DOKUWIKI_DOMAIN_NAME=
34 36
 DOKUWIKI_ADMIN_PASSWORD=
35 37
 DOKUWIKI_TITLE="${PROJECT_NAME} Dokuwiki"

+ 2
- 0
src/freedombone-app-gnusocial 查看文件

@@ -30,6 +30,8 @@
30 30
 
31 31
 VARIANTS='full full-vim media'
32 32
 
33
+SHOW_ON_ABOUT=1
34
+
33 35
 GNUSOCIAL_DOMAIN_NAME=
34 36
 GNUSOCIAL_CODE=
35 37
 GNUSOCIAL_ONION_PORT=8087

+ 2
- 0
src/freedombone-app-gogs 查看文件

@@ -30,6 +30,8 @@
30 30
 
31 31
 VARIANTS='developer'
32 32
 
33
+SHOW_ON_ABOUT=1
34
+
33 35
 GOGS_USERNAME='gogs'
34 36
 GOGS_VERSION='0.9.97'
35 37
 

+ 2
- 0
src/freedombone-app-htmly 查看文件

@@ -30,6 +30,8 @@
30 30
 
31 31
 VARIANTS="full full-vim writer"
32 32
 
33
+SHOW_ON_ABOUT=1
34
+
33 35
 HTMLY_DOMAIN_NAME=
34 36
 HTMLY_CODE=
35 37
 HTMLY_ONION_PORT=8086

+ 2
- 0
src/freedombone-app-hubzilla 查看文件

@@ -30,6 +30,8 @@
30 30
 
31 31
 VARIANTS='full full-vim social'
32 32
 
33
+SHOW_ON_ABOUT=1
34
+
33 35
 HUBZILLA_DOMAIN_NAME=
34 36
 HUBZILLA_CODE=
35 37
 HUBZILLA_ONION_PORT=8085

+ 2
- 0
src/freedombone-app-irc 查看文件

@@ -30,6 +30,8 @@
30 30
 
31 31
 VARIANTS='full full-vim chat'
32 32
 
33
+SHOW_ON_ABOUT=1
34
+
33 35
 IRC_PORT=6697
34 36
 IRC_ONION_PORT=6697
35 37
 

+ 2
- 0
src/freedombone-app-mediagoblin 查看文件

@@ -30,6 +30,8 @@
30 30
 
31 31
 VARIANTS=''
32 32
 
33
+SHOW_ON_ABOUT=1
34
+
33 35
 MEDIAGOBLIN_DOMAIN_NAME=
34 36
 MEDIAGOBLIN_CODE=
35 37
 MEDIAGOBLIN_REPO="git://git.savannah.gnu.org/mediagoblin.git"

+ 2
- 0
src/freedombone-app-mumble 查看文件

@@ -30,6 +30,8 @@
30 30
 
31 31
 VARIANTS='full full-vim chat'
32 32
 
33
+SHOW_ON_ABOUT=1
34
+
33 35
 # Password used for mumble server
34 36
 MUMBLE_SERVER_PASSWORD=
35 37
 # Port on which mumble server listens

+ 2
- 0
src/freedombone-app-rss 查看文件

@@ -30,6 +30,8 @@
30 30
 
31 31
 VARIANTS='full full-vim writer'
32 32
 
33
+SHOW_ON_ABOUT=1
34
+
33 35
 RSS_READER_REPO="https://tt-rss.org/git/tt-rss.git"
34 36
 RSS_READER_COMMIT='48007463861d8db8b2b79c2f4f54e0564edb0ec0'
35 37
 RSS_READER_ADMIN_PASSWORD=

+ 2
- 0
src/freedombone-app-searx 查看文件

@@ -30,6 +30,8 @@
30 30
 
31 31
 VARIANTS=''
32 32
 
33
+SHOW_ON_ABOUT=1
34
+
33 35
 SEARX_REPO="https://github.com/asciimoo/searx"
34 36
 SEARX_COMMIT='fee556c9904637051a9ba874ba7e71cd9f10789f'
35 37
 SEARX_PATH=/etc

+ 2
- 0
src/freedombone-app-sip 查看文件

@@ -30,6 +30,8 @@
30 30
 
31 31
 VARIANTS='full full-vim chat'
32 32
 
33
+SHOW_ON_ABOUT=1
34
+
33 35
 SIP_SERVER_PASSWORD=
34 36
 SIP_PORT=5060
35 37
 SIP_TLS_PORT=5061

+ 2
- 0
src/freedombone-app-tahoelafs 查看文件

@@ -30,6 +30,8 @@
30 30
 
31 31
 VARIANTS=''
32 32
 
33
+SHOW_ON_ABOUT=1
34
+
33 35
 TAHOELAFS_REPO="https://github.com/tahoe-lafs/tahoe-lafs"
34 36
 TAHOELAFS_COMMIT='30b421d48b3d1dae2ef507bf27a1f3816300cd92'
35 37
 

+ 2
- 0
src/freedombone-app-tox 查看文件

@@ -30,6 +30,8 @@
30 30
 
31 31
 VARIANTS='full full-vim chat'
32 32
 
33
+SHOW_ON_ABOUT=1
34
+
33 35
 TOX_PORT=33445
34 36
 TOXCORE_REPO="https://github.com/bashrc/toxcore"
35 37
 TOXCORE_COMMIT='d3fa9f82bda3a8746917502c525237427ba17d45'

+ 2
- 0
src/freedombone-app-xmpp 查看文件

@@ -30,6 +30,8 @@
30 30
 
31 31
 VARIANTS='full full-vim chat'
32 32
 
33
+SHOW_ON_ABOUT=1
34
+
33 35
 # Directory where XMPP settings are stored
34 36
 XMPP_DIRECTORY="/var/lib/prosody"
35 37
 XMPP_PASSWORD=

+ 4
- 0
src/freedombone-controlpanel 查看文件

@@ -238,6 +238,10 @@ function show_domains {
238 238
 
239 239
     for app_name in "${APPS_INSTALLED_NAMES[@]}"
240 240
     do
241
+        if ! grep -q "SHOW_ON_ABOUT=1" /usr/share/${PROJECT_NAME}/apps/${PROJECT_NAME}-app-${app_name}; then
242
+            continue
243
+        fi
244
+
241 245
         icann_address=${DEFAULT_DOMAIN_NAME}
242 246
         onion_address="-"
243 247