Add mobile app variables to app scripts

This commit is contained in:
Bob Mottram 2018-05-25 17:27:55 +01:00
parent fe963a94d6
commit dad0b391f5
34 changed files with 166 additions and 2 deletions

View File

@ -40,6 +40,11 @@ AKAUNTING_ADMIN_PASSWORD=
AKAUNTING_BACKGROUND_IMAGE_URL=
AKAUNTING_SHORT_DESCRIPTION=$'Personal accounting'
AKAUNTING_DESCRIPTION=$'Personal or small business accounting'
AKAUNTING_ICON_URL=
AKAUNTING_MOBILE_APP_URL=
akaunting_variables=(ONION_ONLY
AKAUNTING_DOMAIN_NAME
AKAUNTING_CODE

View File

@ -35,6 +35,11 @@ BLUDIT_ONION_PORT=9844
BLUDIT_REPO="https://github.com/bludit/bludit"
BLUDIT_COMMIT='0e27e31a84421b3e6bd000a77bc89c2dff3c446a'
BLUDIT_SHORT_DESCRIPTION=$'Bludit Blog'
BLUDIT_DESCRIPTION=$'Simple Markdown blogging'
BLUDIT_ICON_URL=
BLUDIT_MOBILE_APP_URL=
bludit_variables=(ONION_ONLY
BLUDIT_DOMAIN_NAME
BLUDIT_CODE

View File

@ -31,6 +31,11 @@ VARIANTS='full full-vim media'
IN_DEFAULT_INSTALL=0
SHOW_ON_ABOUT=0
DLNA_SHORT_DESCRIPTION=$'DLNA media'
DLNA_DESCRIPTION=$'DLNA media'
DLNA_ICON_URL=
DLNA_MOBILE_APP_URL=
dlna_variables=(SYSTEM_TYPE
USB_MOUNT_DLNA
INSTALLED_WITHIN_DOCKER

View File

@ -40,6 +40,11 @@ DOKUWIKI_TITLE="${PROJECT_NAME} Dokuwiki"
DOKUWIKI_REPO="https://github.com/splitbrain/dokuwiki"
DOKUWIKI_COMMIT='be15c01c0b982cf1a75b5af031bf077143c63f39'
DOKUWIKI_SHORT_DESCRIPTION=$'Dokuwiki'
DOKUWIKI_DESCRIPTION=$'Dokuwiki databaseless wiki'
DOKUWIKI_ICON_URL=
DOKUWIKI_MOBILE_APP_URL=
dokuwiki_variables=(ONION_ONLY
MY_USERNAME
DOKUWIKI_TITLE

View File

@ -38,6 +38,11 @@ EDITH_CODE=
EDITH_ONION_PORT=8278
EDITH_LOGIN_TEXT=$"Edith login"
EDITH_SHORT_DESCRIPTION=$'Edith Notes'
EDITH_DESCRIPTION=$'Extremely simple note taking'
EDITH_ICON_URL=
EDITH_MOBILE_APP_URL=
edith_variables=(MY_USERNAME
MY_EMAIL_ADDRESS
ONION_ONLY

View File

@ -42,6 +42,11 @@ ETHERPAD_ADMIN_PASSWORD=
ETHERPAD_TITLE=$'Freedombone Docs'
ETHERPAD_WELCOME_MESSAGE=$"Welcome to ${ETHERPAD_TITLE}!\\n\\nThis pad text is synchronized as you type, so that everyone viewing this page sees the same text. This allows you to collaborate seamlessly on documents!"
ETHERPAD_SHORT_DESCRIPTION=$'Etherpad'
ETHERPAD_DESCRIPTION=$'Etherpad'
ETHERPAD_ICON_URL=
ETHERPAD_MOBILE_APP_URL=
etherpad_variables=(ONION_ONLY
DEFAULT_DOMAIN_NAME
ETHERPAD_DOMAIN_NAME

View File

@ -42,6 +42,11 @@ FEDWIKI_PORT=3053
FEDWIKI_DATA=/var/lib/fedwiki
FEDWIKI_COOKIE=
FEDWIKI_SHORT_DESCRIPTION=$'FedWiki'
FEDWIKI_DESCRIPTION=$'Federated Wiki'
FEDWIKI_ICON_URL=
FEDWIKI_MOBILE_APP_URL=
fedwiki_variables=(FEDWIKI_DOMAIN_NAME
FEDWIKI_CODE
FEDWIKI_COOKIE

View File

@ -40,6 +40,11 @@ FRIENDICA_ADMIN_PASSWORD=
FRIENDICA_COMMIT='b5a42c5b31fae5315bacd37769eba20ab2345aaa'
FRIENDICA_ADDONS_COMMIT='7cb9dbdda7f227462895c07be3c968405561d40e'
FRIENDICA_SHORT_DESCRIPTION=$'Friendica'
FRIENDICA_DESCRIPTION=$'Friendica federated social network'
FRIENDICA_ICON_URL=
FRIENDICA_MOBILE_APP_URL=
friendica_variables=(ONION_ONLY
FRIENDICA_DOMAIN_NAME
FRIENDICA_CODE

View File

@ -46,6 +46,11 @@ GNUSOCIAL_TITLE='Pleroma FE'
# Number of months after which posts expire
GNUSOCIAL_EXPIRE_MONTHS=3
GNUSOCIAL_SHORT_DESCRIPTION=$'GNU Social'
GNUSOCIAL_DESCRIPTION=$'GNU Social federated microblogging'
GNUSOCIAL_ICON_URL=
GNUSOCIAL_MOBILE_APP_URL='https://f-droid.org/packages/org.mariotaku.twidere/'
gnusocial_variables=(ONION_ONLY
GNUSOCIAL_DOMAIN_NAME
GNUSOCIAL_CODE

View File

@ -41,6 +41,11 @@ GIT_ADMIN_PASSWORD=
GOGS_BIN=
GOGS_PORT=3145
GOGS_SHORT_DESCRIPTION=$'Gogs'
GOGS_DESCRIPTION=$'Gogs git repo management'
GOGS_ICON_URL=
GOGS_MOBILE_APP_URL=
gogs_variables=(ONION_ONLY
GIT_ADMIN_PASSWORD
GIT_DOMAIN_NAME

View File

@ -39,6 +39,11 @@ HTMLY_COMMIT='bf5fe9486160be4da86d8987d3e5c977e1dc6d32'
HTMLY_TITLE="My Blog"
HTMLY_SUBTITLE="Another ${PROJECT_NAME} blog"
HTMLY_SHORT_DESCRIPTION=$'HTMLy'
HTMLY_DESCRIPTION=$'HTMLy databaseless blogging'
HTMLY_ICON_URL=
HTMLY_MOBILE_APP_URL=
htmly_variables=(HTMLY_REPO
HTMLY_DOMAIN_NAME
HTMLY_CODE

View File

@ -41,6 +41,11 @@ HUBZILLA_ADDONS_REPO="https://github.com/redmatrix/hubzilla-addons.git"
HUBZILLA_ADDONS_COMMIT='be9dcd044b9326c3bd9301d7c4b375a2c2f54663'
HUBZILLA_ADMIN_PASSWORD=
HUBZILLA_SHORT_DESCRIPTION=$'Hubzilla'
HUBZILLA_DESCRIPTION=$'Hubzilla'
HUBZILLA_ICON_URL=
HUBZILLA_MOBILE_APP_URL=
hubzilla_variables=(ONION_ONLY
HUBZILLA_DOMAIN_NAME
HUBZILLA_CODE

View File

@ -44,6 +44,11 @@ ICECAST_DIR=/icestream
ICECAST_PLAYLIST_FILE=/etc/ices2/playlist.txt
ICECAST_LOGIN_TEXT=$"Icecast login"
ICECAST_SHORT_DESCRIPTION=$'Icecast'
ICECAST_DESCRIPTION=$'Icecast'
ICECAST_ICON_URL=
ICECAST_MOBILE_APP_URL=
icecast_variables=(MY_USERNAME
MY_EMAIL_ADDRESS
ONION_ONLY

View File

@ -41,6 +41,11 @@ IRC_PASSWORD=
# Number of entries for the bouncer to buffer
IRC_BUFFER_LENGTH=300
IRC_SHORT_DESCRIPTION=$'IRC'
IRC_DESCRIPTION=$'IRC'
IRC_ICON_URL=
IRC_MOBILE_APP_URL='https://f-droid.org/packages/org.yaaic'
irc_variables=(MY_USERNAME
MY_NAME
IRC_PORT

View File

@ -44,6 +44,11 @@ JITSI_DOMAIN_NAME=
JITSI_CODE=
JITSI_ONION_HOSTNAME=
JITSI_SHORT_DESCRIPTION=$'Jitsi'
JITSI_DESCRIPTION=$'Jitsi'
JITSI_ICON_URL=
JITSI_MOBILE_APP_URL=
jitsi_variables=(ONION_ONLY
JITSI_DOMAIN_NAME
JITSI_ONION_HOSTNAME

View File

@ -38,6 +38,10 @@ KANBOARD_REPO="https://github.com/kanboard/kanboard"
KANBOARD_COMMIT='7a6b1bc3da0af442e02b5a2dc430a4ded8e7c4ee'
KANBOARD_ADMIN_PASSWORD=
KANBOARD_SHORT_DESCRIPTION=$'Kanboard'
KANBOARD_DESCRIPTION=$'Kanboard kanban'
KANBOARD_ICON_URL=
KANBOARD_MOBILE_APP_URL=
kanboard_variables=(ONION_ONLY
KANBOARD_DOMAIN_NAME

View File

@ -40,6 +40,11 @@ KOEL_REPO="https://github.com/phanan/koel"
KOEL_COMMIT='8e9b021aa09f2b1460977bdd52fff14ea2bc1607'
KOEL_ADMIN_PASSWORD=
KOEL_SHORT_DESCRIPTION=$'Koel music'
KOEL_DESCRIPTION=$'Koel music player'
KOEL_ICON_URL=
KOEL_MOBILE_APP_URL=
koel_variables=(ONION_ONLY
KOEL_DOMAIN_NAME
KOEL_CODE

View File

@ -37,6 +37,11 @@ LYCHEE_ONION_PORT=8105
LYCHEE_REPO="https://github.com/electerious/Lychee"
LYCHEE_COMMIT='27f207dcbac8488629ffc3b5a9cac78ae123bee9'
LYCHEE_SHORT_DESCRIPTION=$'Lychee photos'
LYCHEE_DESCRIPTION=$'Lychee photos'
LYCHEE_ICON_URL=
LYCHEE_MOBILE_APP_URL=
lychee_variables=(LYCHEE_REPO
LYCHEE_DOMAIN_NAME
LYCHEE_CODE

View File

@ -38,6 +38,11 @@ MAILPILE_REPO="https://github.com/mailpile/Mailpile"
MAILPILE_COMMIT='4f28f1bb55b3b9985f22ab6372d539b1087482dd'
MAILPILE_PORT=33411
MAILPILE_SHORT_DESCRIPTION=$'Mailpile'
MAILPILE_DESCRIPTION=$'Mailpile email client'
MAILPILE_ICON_URL=
MAILPILE_MOBILE_APP_URL=
mailpile_variables=(MAILPILE_REPO
MAILPILE_DOMAIN_NAME
MAILPILE_CODE

View File

@ -53,6 +53,11 @@ REPORT_STATS="no"
MATRIX_SECRET=
MATRIX_EXPIRE_MONTHS=1
MATRIX_SHORT_DESCRIPTION=$'Matrix chat'
MATRIX_DESCRIPTION=$'Matrix chat'
MATRIX_ICON_URL=
MATRIX_MOBILE_APP_URL='https://f-droid.org/packages/im.vector.alpha'
matrix_variables=(ONION_ONLY
MY_USERNAME
MATRIX_SECRET

View File

@ -40,6 +40,11 @@ MEDIAGOBLIN_COMMIT='c4d3293dfa4076719e60fe9e052add07426f9a9a'
MEDIAGOBLIN_BASE_DIR=/var/www/mediagoblin.local/htdocs
MEDIAGOBLIN_PORT=6543
MEDIAGOBLIN_SHORT_DESCRIPTION=$'Mediagoblin'
MEDIAGOBLIN_DESCRIPTION=$'Mediagoblin'
MEDIAGOBLIN_ICON_URL=
MEDIAGOBLIN_MOBILE_APP_URL=
mediagoblin_variables=(ONION_ONLY
MY_USERNAME
MEDIAGOBLIN_DOMAIN_NAME

View File

@ -39,6 +39,11 @@ MOVIM_COMMIT='6142c2033b7695448516a67690324a3bde048260'
MOVIM_ADMIN_PASSWORD=
MOVIM_DAEMON_PORT=8880
MOVIM_SHORT_DESCRIPTION=$'Movim'
MOVIM_DESCRIPTION=$'Movim'
MOVIM_ICON_URL=
MOVIM_MOBILE_APP_URL='https://f-droid.org/packages/com.movim.movim'
movim_variables=(ONION_ONLY
MOVIM_DOMAIN_NAME
MOVIM_CODE

View File

@ -40,6 +40,11 @@ MUMBLE_PORT=64738
MUMBLE_DATABASE="mumble-server.sqlite"
MUMBLE_CONFIG_FILE="mumble-server.ini"
MUMBLE_SHORT_DESCRIPTION=$'Mumble'
MUMBLE_DESCRIPTION=$'Mumble'
MUMBLE_ICON_URL=
MUMBLE_MOBILE_APP_URL='https://f-droid.org/packages/com.morlunk.mumbleclient'
mumble_variables=(MY_USERNAME
DEFAULT_DOMAIN_NAME
MUMBLE_PORT

View File

@ -42,6 +42,11 @@ NEXTCLOUD_COMMIT='edd5712c6ead5b09fa4f996cfda66fc4e18ba597'
NEXTCLOUD_ADMIN_PASSWORD=
NEXTCLOUD_SERVER_SIDE_ENCRYPTION=1
NEXTCLOUD_SHORT_DESCRIPTION=$'NextCloud'
NEXTCLOUD_DESCRIPTION=$'NextCloud'
NEXTCLOUD_ICON_URL=
NEXTCLOUD_MOBILE_APP_URL='https://f-droid.org/packages/com.nextcloud.client'
nextcloud_variables=(ONION_ONLY
NEXTCLOUD_DOMAIN_NAME
NEXTCLOUD_CODE

View File

@ -44,6 +44,11 @@ PEERTUBE_PORT=9004
MESH_PEERTUBE_PORT=8500
PEERTUBE_DIR=/etc/peertube
PEERTUBE_SHORT_DESCRIPTION=$'PeerTube'
PEERTUBE_DESCRIPTION=$'PeerTube'
PEERTUBE_ICON_URL=
PEERTUBE_MOBILE_APP_URL=
peertube_variables=(PEERTUBE_DOMAIN_NAME
PEERTUBE_CODE
PEERTUBE_ADMIN_PASSWORD

View File

@ -51,6 +51,11 @@ PLEROMA_EXPIRE_MONTHS=3
pleroma_expire_posts_script=/usr/bin/pleroma-expire-posts
blocking_script_file=/usr/bin/pleroma-blocking
PLEROMA_SHORT_DESCRIPTION=$'Pleroma'
PLEROMA_DESCRIPTION=$'Pleroma federated microblogging'
PLEROMA_ICON_URL=
PLEROMA_MOBILE_APP_URL='https://f-droid.org/packages/com.keylesspalace.tusky'
pleroma_variables=(ONION_ONLY
PLEROMA_DOMAIN_NAME
PLEROMA_CODE

View File

@ -45,6 +45,11 @@ POSTACTIV_TITLE='PostActiv'
# Number of months after which posts expire
POSTACTIV_EXPIRE_MONTHS=3
POSTACTIV_SHORT_DESCRIPTION=$'PostActiv'
POSTACTIV_DESCRIPTION=$'PostActiv federated microblogging'
POSTACTIV_ICON_URL=
POSTACTIV_MOBILE_APP_URL='https://f-droid.org/packages/org.mariotaku.twidere/'
postactiv_variables=(ONION_ONLY
POSTACTIV_DOMAIN_NAME
POSTACTIV_CODE

View File

@ -38,6 +38,11 @@ PRIVATEBIN_REPO="https://github.com/PrivateBin/PrivateBin"
PRIVATEBIN_COMMIT='9c132cd839fd5e91da18e4a1e8ebef64fce605fb'
PRIVATEBIN_ADMIN_PASSWORD=
PRIVATEBIN_SHORT_DESCRIPTION=$'PrivateBin'
PRIVATEBIN_DESCRIPTION=$'PrivateBin zero knowledge pastebin'
PRIVATEBIN_ICON_URL=
PRIVATEBIN_MOBILE_APP_URL=
privatebin_variables=(ONION_ONLY
PRIVATEBIN_DOMAIN_NAME
PRIVATEBIN_CODE

View File

@ -36,6 +36,11 @@ ROCKETCHAT_CODE=
ROCKETCHAT_ONION_PORT=9722
ROCKETCHAT_PORT_INTERNAL=3000
ROCKETCHAT_SHORT_DESCRIPTION=$'Rocketchat'
ROCKETCHAT_DESCRIPTION=$'Rocketchat'
ROCKETCHAT_ICON_URL=
ROCKETCHAT_MOBILE_APP_URL=
rocketchat_variables=(ONION_ONLY
ROCKETCHAT_DOMAIN_NAME
ROCKETCHAT_CODE

View File

@ -40,6 +40,11 @@ SYNCTHING_PORT=22000
SYNCTHING_SHARED_DATA=/var/lib/syncthing/SyncShared
SYNCTHING_USER_IDS_FILE='.syncthingids'
SYNCTHING_SHORT_DESCRIPTION=$'Syncthing'
SYNCTHING_DESCRIPTION=$'Syncthing file synchronization'
SYNCTHING_ICON_URL=
SYNCTHING_MOBILE_APP_URL='https://f-droid.org/packages/com.nutomic.syncthingandroid'
syncthing_variables=(SYNCTHING_ID
SYNCTHING_CONFIG_PATH
SYNCTHING_CONFIG_FILE

View File

@ -48,6 +48,11 @@ TURTL_BASE_DIR=/etc/turtl
TURTL_SIGNUP_STRING='Signup a new user'
turtl_users_file=$TURTL_BASE_DIR/api/controllers/users.lisp
TURTL_SHORT_DESCRIPTION=$'Turtl'
TURTL_DESCRIPTION=$'Turtl notes'
TURTL_ICON_URL=
TURTL_MOBILE_APP_URL=
turtl_variables=(ONION_ONLY
DEFAULT_DOMAIN_NAME
TURTL_DOMAIN_NAME

View File

@ -53,6 +53,11 @@ prosody_modules_filename='prosody-modules-20180322.tar.gz'
prosody_modules_hash='982d0dfcef98e9cb9cee4cc3801b8ce9a503a32e44c32b99df6fe94545b90072'
xmpp_encryption_warning=$"For security reasons, OMEMO or PGP encryption is required for conversations on this server."
XMPP_SHORT_DESCRIPTION=$'XMPP chat'
XMPP_DESCRIPTION=$'XMPP chat'
XMPP_ICON_URL=
XMPP_MOBILE_APP_URL='https://f-droid.org/packages/eu.siacs.conversations'
xmpp_variables=(ONION_ONLY
INSTALLED_WITHIN_DOCKER
XMPP_CIPHERS

View File

@ -55,6 +55,11 @@ SYNCTHING_UPDATE_FILE='.syncthing-update'
CHANGED=
TEMP_IDS_FILE=/root/.synthingids
SYNCTHING_SHORT_DESCRIPTION=$'File Synchronization'
SYNCTHING_DESCRIPTION=$'File Synchronization'
SYNCTHING_ICON_URL=
SYNCTHING_MOBILE_APP_URL='https://f-droid.org/packages/com.nutomic.syncthingandroid'
function remove_user_syncthing {
remove_username="$1"

View File

@ -82,7 +82,7 @@ function android_update_apps {
echo " \"icon_url\": \"$((${app_name_upper}_ICON_URL))\",";
echo " \"clients\": ["; } >> "$plinth_api"
if [ $(("${app_name_upper}_DOMAIN_NAME")) ]; then
if [[ $(("${app_name_upper}_DOMAIN_NAME")) && "$app_name" != 'matrix' ]]; then
{ echo ' {';
echo " \"name\": \"${app_name}\",";
echo " \"platforms\": [";
@ -95,7 +95,7 @@ function android_update_apps {
fi
if [ $(("${app_name_upper}_MOBILE_APP_URL")) ]; then
if [ $(("${app_name_upper}_DOMAIN_NAME")) ]; then
if [[ $(("${app_name_upper}_DOMAIN_NAME")) && "$app_name" != 'matrix' ]]; then
echo ',' >> "$plinth_api"
fi
{ echo ' {';