diff --git a/img/android-app/dlna.png b/img/android-app/dlna.png index 7637d483..6d09f5e1 100644 Binary files a/img/android-app/dlna.png and b/img/android-app/dlna.png differ diff --git a/img/android-app/etherpad.png b/img/android-app/etherpad.png index a742d999..b462ac59 100644 Binary files a/img/android-app/etherpad.png and b/img/android-app/etherpad.png differ diff --git a/img/android-app/kanboard.png b/img/android-app/kanboard.png index 0c9e998d..c35160f7 100644 Binary files a/img/android-app/kanboard.png and b/img/android-app/kanboard.png differ diff --git a/img/android-app/koel.png b/img/android-app/koel.png index 90aa4174..7d24a2c7 100644 Binary files a/img/android-app/koel.png and b/img/android-app/koel.png differ diff --git a/img/android-app/nextcloud.png b/img/android-app/nextcloud.png index 9d9dc1b8..56bb8ce8 100644 Binary files a/img/android-app/nextcloud.png and b/img/android-app/nextcloud.png differ diff --git a/img/android-app/peertube.png b/img/android-app/peertube.png index abb88565..b01c3bc0 100644 Binary files a/img/android-app/peertube.png and b/img/android-app/peertube.png differ diff --git a/img/android-app/privatebin.png b/img/android-app/privatebin.png index a594f481..7dae2bad 100644 Binary files a/img/android-app/privatebin.png and b/img/android-app/privatebin.png differ diff --git a/img/android-app/rocketchat.png b/img/android-app/rocketchat.png index a0e340b0..c7c3e929 100644 Binary files a/img/android-app/rocketchat.png and b/img/android-app/rocketchat.png differ diff --git a/img/android-app/searx.png b/img/android-app/searx.png index e9f54f64..bd6b053d 100644 Binary files a/img/android-app/searx.png and b/img/android-app/searx.png differ diff --git a/src/freedombone-app-bludit b/src/freedombone-app-bludit index 52c7ca1f..885e48ac 100755 --- a/src/freedombone-app-bludit +++ b/src/freedombone-app-bludit @@ -35,7 +35,7 @@ BLUDIT_ONION_PORT=9844 BLUDIT_REPO="https://github.com/bludit/bludit" BLUDIT_COMMIT='0e27e31a84421b3e6bd000a77bc89c2dff3c446a' -BLUDIT_SHORT_DESCRIPTION=$'Bludit Blog' +BLUDIT_SHORT_DESCRIPTION=$'Markdown blogging' BLUDIT_DESCRIPTION=$'Simple Markdown blogging' BLUDIT_MOBILE_APP_URL= diff --git a/src/freedombone-app-cryptpad b/src/freedombone-app-cryptpad index f2cec38c..f4f910b4 100755 --- a/src/freedombone-app-cryptpad +++ b/src/freedombone-app-cryptpad @@ -36,7 +36,7 @@ CRYPTPAD_ONION_PORT=8119 CRYPTPAD_PORT=9003 CRYPTPAD_PORT2=9005 CRYPTPAD_REPO="https://github.com/xwiki-labs/cryptpad" -CRYPTPAD_COMMIT='cfc9ce33d6c7034a13cb0e6d606de6fba38697e0' +CRYPTPAD_COMMIT='fe202a92b490404e3d8b7b8a2712e2e0a33a9851' CRYPTPAD_DIR=/etc/cryptpad cryptpad_variables=(ONION_ONLY) @@ -103,8 +103,9 @@ function upgrade_cryptpad { cryptpad_create_config npm upgrade npm install - su -c 'echo "2" | bower update' - cryptpad - su -c 'bower install --config.interactive=false' - cryptpad + rm -rf $CRYPTPAD_DIR/.cache/bower + su -c './node_modules/bower/bin/bower install --config.interactive=false' - cryptpad + su -c './node_modules/bower/bin/bower update --config.interactive=false' - cryptpad cryptpad_generate_api_config chown -R cryptpad:cryptpad $CRYPTPAD_DIR @@ -407,11 +408,19 @@ function mesh_install_cryptpad { echo " try_files /customize/\$uri /customize.dist/\$uri;"; echo ' }'; echo ' location = /api/config {'; - echo ' default_type text/javascript;'; - echo ' rewrite ^.*$ /customize/api/config break;'; + echo " proxy_pass http://localhost:$CRYPTPAD_PORT;"; + echo " proxy_set_header X-Real-IP \$remote_addr;"; + echo " proxy_set_header Host \$host;"; + echo " proxy_set_header X-Forwarded-For \$proxy_add_x_forwarded_for;"; echo ' }'; echo ''; echo ' location ^~ /blob/ {'; + echo ' add_header Cache-Control max-age=31536000;'; + echo " try_files \$uri =404;"; + echo ' }'; + echo ''; + echo ' location ^~ /datastore/ {'; + echo ' add_header Cache-Control max-age=0;'; echo " try_files \$uri =404;"; echo ' }'; echo ''; @@ -448,11 +457,11 @@ function mesh_install_cryptpad { cat < "$rootdir/usr/bin/install_cryptpad" #!/bin/bash -cd $CRYPTPAD_DIR +cd $CRYPTPAD_DIR || exit 358735 npm install --arch=$NPM_ARCH --build-from-source -npm install --arch=$NPM_ARCH -g bower@1.8.0 +npm install --arch=$NPM_ARCH bower@1.8.4 chown -R cryptpad:cryptpad $CRYPTPAD_DIR -su -c 'bower install' - cryptpad +su -c './node_modules/bower/bin/bower install --config.interactive=false' - cryptpad cp config.example.js config.js EOF chmod +x "$rootdir/usr/bin/install_cryptpad" @@ -575,11 +584,19 @@ function install_cryptpad_main { echo " try_files /customize/\$uri /customize.dist/\$uri;"; echo ' }'; echo ' location = /api/config {'; - echo ' default_type text/javascript;'; - echo ' rewrite ^.*$ /customize/api/config break;'; + echo " proxy_pass http://localhost:$CRYPTPAD_PORT;"; + echo " proxy_set_header X-Real-IP \$remote_addr;"; + echo " proxy_set_header Host \$host;"; + echo " proxy_set_header X-Forwarded-For \$proxy_add_x_forwarded_for;"; echo ' }'; echo ''; echo ' location ^~ /blob/ {'; + echo ' add_header Cache-Control max-age=31536000;'; + echo " try_files \$uri =404;"; + echo ' }'; + echo ''; + echo ' location ^~ /datastore/ {'; + echo ' add_header Cache-Control max-age=0;'; echo " try_files \$uri =404;"; echo ' }'; echo ''; @@ -625,9 +642,10 @@ function install_cryptpad { cd $CRYPTPAD_DIR || exit 35483548 npm install - npm install -g bower@1.8.0 + npm install bower@1.8.4 chown -R cryptpad:cryptpad $CRYPTPAD_DIR - su -c 'bower install' - cryptpad + su -c './node_modules/bower/bin/bower install --config.interactive=false' - cryptpad + su -c './node_modules/bower/bin/bower update --config.interactive=false' - cryptpad cp config.example.js config.js if [ ! -f config.js ]; then echo $'Cryptpad config file not found' @@ -658,13 +676,13 @@ function install_cryptpad { systemctl daemon-reload systemctl start cryptpad.service - sleep 6 + sleep 8 cryptpad_generate_api_config # install again cd $CRYPTPAD_DIR || exit 73537453 - su -c 'bower install' - cryptpad + su -c './node_modules/bower/bin/bower install --config.interactive=false' - cryptpad systemctl restart nginx diff --git a/src/freedombone-app-dlna b/src/freedombone-app-dlna index f77aef45..97da4891 100755 --- a/src/freedombone-app-dlna +++ b/src/freedombone-app-dlna @@ -31,8 +31,8 @@ VARIANTS='full full-vim media' IN_DEFAULT_INSTALL=0 SHOW_ON_ABOUT=0 -DLNA_SHORT_DESCRIPTION=$'DLNA media' -DLNA_DESCRIPTION=$'DLNA media' +DLNA_SHORT_DESCRIPTION=$'Streaming media' +DLNA_DESCRIPTION=$'Streaming media' DLNA_MOBILE_APP_URL= dlna_variables=(SYSTEM_TYPE diff --git a/src/freedombone-app-dokuwiki b/src/freedombone-app-dokuwiki index 4b5905fb..696d1325 100755 --- a/src/freedombone-app-dokuwiki +++ b/src/freedombone-app-dokuwiki @@ -40,8 +40,8 @@ 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_SHORT_DESCRIPTION=$'Databaseless wiki' +DOKUWIKI_DESCRIPTION=$'Databaseless wiki' DOKUWIKI_MOBILE_APP_URL= dokuwiki_variables=(ONION_ONLY diff --git a/src/freedombone-app-edith b/src/freedombone-app-edith index 9627f4d1..b1421045 100755 --- a/src/freedombone-app-edith +++ b/src/freedombone-app-edith @@ -38,7 +38,7 @@ EDITH_CODE= EDITH_ONION_PORT=8278 EDITH_LOGIN_TEXT=$"Edith login" -EDITH_SHORT_DESCRIPTION=$'Edith Notes' +EDITH_SHORT_DESCRIPTION=$'Simple notes' EDITH_DESCRIPTION=$'Extremely simple note taking' EDITH_MOBILE_APP_URL= diff --git a/src/freedombone-app-etherpad b/src/freedombone-app-etherpad index b0a007c6..f5f5a55a 100755 --- a/src/freedombone-app-etherpad +++ b/src/freedombone-app-etherpad @@ -42,8 +42,8 @@ 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_SHORT_DESCRIPTION=$'Collaborative document editor' +ETHERPAD_DESCRIPTION=$'Collaborative document editor' ETHERPAD_MOBILE_APP_URL= etherpad_variables=(ONION_ONLY diff --git a/src/freedombone-app-fedwiki b/src/freedombone-app-fedwiki index 5299cc67..0478e6f1 100755 --- a/src/freedombone-app-fedwiki +++ b/src/freedombone-app-fedwiki @@ -42,8 +42,8 @@ FEDWIKI_PORT=3053 FEDWIKI_DATA=/var/lib/fedwiki FEDWIKI_COOKIE= -FEDWIKI_SHORT_DESCRIPTION=$'FedWiki' -FEDWIKI_DESCRIPTION=$'Federated Wiki' +FEDWIKI_SHORT_DESCRIPTION=$'Federated wiki' +FEDWIKI_DESCRIPTION=$'Federated wiki' FEDWIKI_MOBILE_APP_URL= fedwiki_variables=(FEDWIKI_DOMAIN_NAME diff --git a/src/freedombone-app-friendica b/src/freedombone-app-friendica index 9b095326..39c5c5e7 100755 --- a/src/freedombone-app-friendica +++ b/src/freedombone-app-friendica @@ -40,8 +40,8 @@ FRIENDICA_ADMIN_PASSWORD= FRIENDICA_COMMIT='b5a42c5b31fae5315bacd37769eba20ab2345aaa' FRIENDICA_ADDONS_COMMIT='7cb9dbdda7f227462895c07be3c968405561d40e' -FRIENDICA_SHORT_DESCRIPTION=$'Friendica' -FRIENDICA_DESCRIPTION=$'Friendica federated social network' +FRIENDICA_SHORT_DESCRIPTION=$'Federated social network' +FRIENDICA_DESCRIPTION=$'Federated social network' FRIENDICA_MOBILE_APP_URL= friendica_variables=(ONION_ONLY diff --git a/src/freedombone-app-gnusocial b/src/freedombone-app-gnusocial index f22e7f8c..37e32030 100755 --- a/src/freedombone-app-gnusocial +++ b/src/freedombone-app-gnusocial @@ -46,8 +46,8 @@ 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_SHORT_DESCRIPTION=$'Federated microblogging' +GNUSOCIAL_DESCRIPTION=$'Federated microblogging' GNUSOCIAL_MOBILE_APP_URL='https://f-droid.org/packages/org.mariotaku.twidere/' gnusocial_variables=(ONION_ONLY diff --git a/src/freedombone-app-gogs b/src/freedombone-app-gogs index 4599cc0b..80679908 100755 --- a/src/freedombone-app-gogs +++ b/src/freedombone-app-gogs @@ -41,8 +41,8 @@ GIT_ADMIN_PASSWORD= GOGS_BIN= GOGS_PORT=3145 -GOGS_SHORT_DESCRIPTION=$'Gogs' -GOGS_DESCRIPTION=$'Gogs git repo management' +GOGS_SHORT_DESCRIPTION=$'Git repo management' +GOGS_DESCRIPTION=$'Git repo management' GOGS_MOBILE_APP_URL= gogs_variables=(ONION_ONLY diff --git a/src/freedombone-app-htmly b/src/freedombone-app-htmly index 72baacbd..9e9a0d36 100755 --- a/src/freedombone-app-htmly +++ b/src/freedombone-app-htmly @@ -39,8 +39,8 @@ HTMLY_COMMIT='bf5fe9486160be4da86d8987d3e5c977e1dc6d32' HTMLY_TITLE="My Blog" HTMLY_SUBTITLE="Another ${PROJECT_NAME} blog" -HTMLY_SHORT_DESCRIPTION=$'HTMLy' -HTMLY_DESCRIPTION=$'HTMLy databaseless blogging' +HTMLY_SHORT_DESCRIPTION=$'Databaseless blogging' +HTMLY_DESCRIPTION=$'Databaseless blogging' HTMLY_MOBILE_APP_URL= htmly_variables=(HTMLY_REPO diff --git a/src/freedombone-app-hubzilla b/src/freedombone-app-hubzilla index e5a085d8..ba72eb6e 100755 --- a/src/freedombone-app-hubzilla +++ b/src/freedombone-app-hubzilla @@ -41,8 +41,8 @@ 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_SHORT_DESCRIPTION=$'Web publishing system' +HUBZILLA_DESCRIPTION=$'Web publishing system' HUBZILLA_MOBILE_APP_URL= hubzilla_variables=(ONION_ONLY diff --git a/src/freedombone-app-icecast b/src/freedombone-app-icecast index b0d848be..ad84200a 100755 --- a/src/freedombone-app-icecast +++ b/src/freedombone-app-icecast @@ -44,8 +44,8 @@ ICECAST_DIR=/icestream ICECAST_PLAYLIST_FILE=/etc/ices2/playlist.txt ICECAST_LOGIN_TEXT=$"Icecast login" -ICECAST_SHORT_DESCRIPTION=$'Icecast' -ICECAST_DESCRIPTION=$'Icecast' +ICECAST_SHORT_DESCRIPTION=$'Media broadcast' +ICECAST_DESCRIPTION=$'Media broadcast' ICECAST_MOBILE_APP_URL= icecast_variables=(MY_USERNAME diff --git a/src/freedombone-app-irc b/src/freedombone-app-irc index feb635c8..c9ff2d12 100755 --- a/src/freedombone-app-irc +++ b/src/freedombone-app-irc @@ -41,8 +41,8 @@ IRC_PASSWORD= # Number of entries for the bouncer to buffer IRC_BUFFER_LENGTH=300 -IRC_SHORT_DESCRIPTION=$'IRC' -IRC_DESCRIPTION=$'IRC' +IRC_SHORT_DESCRIPTION=$'Classic chat system' +IRC_DESCRIPTION=$'Classic chat system' IRC_MOBILE_APP_URL='https://f-droid.org/packages/org.yaaic' irc_variables=(MY_USERNAME diff --git a/src/freedombone-app-jitsi b/src/freedombone-app-jitsi index 948ba601..5635a5eb 100755 --- a/src/freedombone-app-jitsi +++ b/src/freedombone-app-jitsi @@ -44,8 +44,8 @@ JITSI_DOMAIN_NAME= JITSI_CODE= JITSI_ONION_HOSTNAME= -JITSI_SHORT_DESCRIPTION=$'Jitsi' -JITSI_DESCRIPTION=$'Jitsi' +JITSI_SHORT_DESCRIPTION=$'Video conferencing' +JITSI_DESCRIPTION=$'Video conferencing' JITSI_MOBILE_APP_URL= jitsi_variables=(ONION_ONLY diff --git a/src/freedombone-app-kanboard b/src/freedombone-app-kanboard index c3db22c9..54936ea9 100755 --- a/src/freedombone-app-kanboard +++ b/src/freedombone-app-kanboard @@ -38,8 +38,8 @@ KANBOARD_REPO="https://github.com/kanboard/kanboard" KANBOARD_COMMIT='7a6b1bc3da0af442e02b5a2dc430a4ded8e7c4ee' KANBOARD_ADMIN_PASSWORD= -KANBOARD_SHORT_DESCRIPTION=$'Kanboard' -KANBOARD_DESCRIPTION=$'Kanboard kanban' +KANBOARD_SHORT_DESCRIPTION=$'Simple kanban' +KANBOARD_DESCRIPTION=$'Simple kanban' KANBOARD_MOBILE_APP_URL= kanboard_variables=(ONION_ONLY diff --git a/src/freedombone-app-koel b/src/freedombone-app-koel index a02adfa3..afaf3825 100755 --- a/src/freedombone-app-koel +++ b/src/freedombone-app-koel @@ -40,8 +40,8 @@ KOEL_REPO="https://github.com/phanan/koel" KOEL_COMMIT='8e9b021aa09f2b1460977bdd52fff14ea2bc1607' KOEL_ADMIN_PASSWORD= -KOEL_SHORT_DESCRIPTION=$'Koel music' -KOEL_DESCRIPTION=$'Koel music player' +KOEL_SHORT_DESCRIPTION=$'Music player' +KOEL_DESCRIPTION=$'Music player' KOEL_MOBILE_APP_URL= koel_variables=(ONION_ONLY diff --git a/src/freedombone-app-lychee b/src/freedombone-app-lychee index e8b9efc0..1063c97b 100755 --- a/src/freedombone-app-lychee +++ b/src/freedombone-app-lychee @@ -37,8 +37,8 @@ LYCHEE_ONION_PORT=8105 LYCHEE_REPO="https://github.com/electerious/Lychee" LYCHEE_COMMIT='27f207dcbac8488629ffc3b5a9cac78ae123bee9' -LYCHEE_SHORT_DESCRIPTION=$'Lychee photos' -LYCHEE_DESCRIPTION=$'Lychee photos' +LYCHEE_SHORT_DESCRIPTION=$'Photo album' +LYCHEE_DESCRIPTION=$'Photo album' LYCHEE_MOBILE_APP_URL= lychee_variables=(LYCHEE_REPO diff --git a/src/freedombone-app-mailpile b/src/freedombone-app-mailpile index 8824bae6..3db32b43 100755 --- a/src/freedombone-app-mailpile +++ b/src/freedombone-app-mailpile @@ -38,8 +38,8 @@ MAILPILE_REPO="https://github.com/mailpile/Mailpile" MAILPILE_COMMIT='4f28f1bb55b3b9985f22ab6372d539b1087482dd' MAILPILE_PORT=33411 -MAILPILE_SHORT_DESCRIPTION=$'Mailpile' -MAILPILE_DESCRIPTION=$'Mailpile email client' +MAILPILE_SHORT_DESCRIPTION=$'Email system' +MAILPILE_DESCRIPTION=$'Email system' MAILPILE_MOBILE_APP_URL= mailpile_variables=(MAILPILE_REPO diff --git a/src/freedombone-app-matrix b/src/freedombone-app-matrix index 8b5eed6f..f40fab60 100755 --- a/src/freedombone-app-matrix +++ b/src/freedombone-app-matrix @@ -53,8 +53,8 @@ REPORT_STATS="no" MATRIX_SECRET= MATRIX_EXPIRE_MONTHS=1 -MATRIX_SHORT_DESCRIPTION=$'Matrix chat' -MATRIX_DESCRIPTION=$'Matrix chat' +MATRIX_SHORT_DESCRIPTION=$'Chat system' +MATRIX_DESCRIPTION=$'Chat system' MATRIX_MOBILE_APP_URL='https://f-droid.org/packages/im.vector.alpha' matrix_variables=(ONION_ONLY diff --git a/src/freedombone-app-mediagoblin b/src/freedombone-app-mediagoblin index 117cc4d4..91bf65b4 100755 --- a/src/freedombone-app-mediagoblin +++ b/src/freedombone-app-mediagoblin @@ -40,8 +40,8 @@ MEDIAGOBLIN_COMMIT='c4d3293dfa4076719e60fe9e052add07426f9a9a' MEDIAGOBLIN_BASE_DIR=/var/www/mediagoblin.local/htdocs MEDIAGOBLIN_PORT=6543 -MEDIAGOBLIN_SHORT_DESCRIPTION=$'Mediagoblin' -MEDIAGOBLIN_DESCRIPTION=$'Mediagoblin' +MEDIAGOBLIN_SHORT_DESCRIPTION=$'Media storage and broadcast' +MEDIAGOBLIN_DESCRIPTION=$'Media storage and broadcast' MEDIAGOBLIN_MOBILE_APP_URL= mediagoblin_variables=(ONION_ONLY diff --git a/src/freedombone-app-movim b/src/freedombone-app-movim index 02d3bcd8..35bb5c68 100755 --- a/src/freedombone-app-movim +++ b/src/freedombone-app-movim @@ -39,8 +39,8 @@ MOVIM_COMMIT='6142c2033b7695448516a67690324a3bde048260' MOVIM_ADMIN_PASSWORD= MOVIM_DAEMON_PORT=8880 -MOVIM_SHORT_DESCRIPTION=$'Movim' -MOVIM_DESCRIPTION=$'Movim' +MOVIM_SHORT_DESCRIPTION=$'xmpp based chat system' +MOVIM_DESCRIPTION=$'xmpp based chat system' MOVIM_MOBILE_APP_URL='https://f-droid.org/packages/com.movim.movim' movim_variables=(ONION_ONLY diff --git a/src/freedombone-app-mumble b/src/freedombone-app-mumble index 51424f50..cba7b5b2 100755 --- a/src/freedombone-app-mumble +++ b/src/freedombone-app-mumble @@ -40,8 +40,8 @@ MUMBLE_PORT=64738 MUMBLE_DATABASE="mumble-server.sqlite" MUMBLE_CONFIG_FILE="mumble-server.ini" -MUMBLE_SHORT_DESCRIPTION=$'Mumble' -MUMBLE_DESCRIPTION=$'Mumble' +MUMBLE_SHORT_DESCRIPTION=$'Voice chat' +MUMBLE_DESCRIPTION=$'Voice chat' MUMBLE_MOBILE_APP_URL='https://f-droid.org/packages/com.morlunk.mumbleclient' mumble_variables=(MY_USERNAME diff --git a/src/freedombone-app-nextcloud b/src/freedombone-app-nextcloud index b626a62f..e67a3043 100755 --- a/src/freedombone-app-nextcloud +++ b/src/freedombone-app-nextcloud @@ -42,8 +42,8 @@ NEXTCLOUD_COMMIT='edd5712c6ead5b09fa4f996cfda66fc4e18ba597' NEXTCLOUD_ADMIN_PASSWORD= NEXTCLOUD_SERVER_SIDE_ENCRYPTION=1 -NEXTCLOUD_SHORT_DESCRIPTION=$'NextCloud' -NEXTCLOUD_DESCRIPTION=$'NextCloud' +NEXTCLOUD_SHORT_DESCRIPTION=$'File storage and sync' +NEXTCLOUD_DESCRIPTION=$'File storage and sync' NEXTCLOUD_MOBILE_APP_URL='https://f-droid.org/packages/com.nextcloud.client' nextcloud_variables=(ONION_ONLY diff --git a/src/freedombone-app-peertube b/src/freedombone-app-peertube index eaaed73b..76051e8c 100755 --- a/src/freedombone-app-peertube +++ b/src/freedombone-app-peertube @@ -44,8 +44,8 @@ PEERTUBE_PORT=9004 MESH_PEERTUBE_PORT=8500 PEERTUBE_DIR=/etc/peertube -PEERTUBE_SHORT_DESCRIPTION=$'PeerTube' -PEERTUBE_DESCRIPTION=$'PeerTube' +PEERTUBE_SHORT_DESCRIPTION=$'Video broadcast' +PEERTUBE_DESCRIPTION=$'Video broadcast' PEERTUBE_MOBILE_APP_URL= peertube_variables=(PEERTUBE_DOMAIN_NAME diff --git a/src/freedombone-app-pleroma b/src/freedombone-app-pleroma index 848851a0..779fd02d 100755 --- a/src/freedombone-app-pleroma +++ b/src/freedombone-app-pleroma @@ -51,8 +51,8 @@ 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_SHORT_DESCRIPTION=$'Federated microblogging' +PLEROMA_DESCRIPTION=$'Federated microblogging' PLEROMA_MOBILE_APP_URL='https://f-droid.org/packages/com.keylesspalace.tusky' pleroma_variables=(ONION_ONLY diff --git a/src/freedombone-app-postactiv b/src/freedombone-app-postactiv index d26de180..231285c9 100755 --- a/src/freedombone-app-postactiv +++ b/src/freedombone-app-postactiv @@ -45,8 +45,8 @@ POSTACTIV_TITLE='PostActiv' # Number of months after which posts expire POSTACTIV_EXPIRE_MONTHS=3 -POSTACTIV_SHORT_DESCRIPTION=$'PostActiv' -POSTACTIV_DESCRIPTION=$'PostActiv federated microblogging' +POSTACTIV_SHORT_DESCRIPTION=$'Federated microblogging' +POSTACTIV_DESCRIPTION=$'Federated microblogging' POSTACTIV_MOBILE_APP_URL='https://f-droid.org/packages/org.mariotaku.twidere/' postactiv_variables=(ONION_ONLY diff --git a/src/freedombone-app-privatebin b/src/freedombone-app-privatebin index 1ff4f856..02a29b85 100755 --- a/src/freedombone-app-privatebin +++ b/src/freedombone-app-privatebin @@ -38,8 +38,8 @@ PRIVATEBIN_REPO="https://github.com/PrivateBin/PrivateBin" PRIVATEBIN_COMMIT='9c132cd839fd5e91da18e4a1e8ebef64fce605fb' PRIVATEBIN_ADMIN_PASSWORD= -PRIVATEBIN_SHORT_DESCRIPTION=$'PrivateBin' -PRIVATEBIN_DESCRIPTION=$'PrivateBin zero knowledge pastebin' +PRIVATEBIN_SHORT_DESCRIPTION=$'Zero knowledge pastebin' +PRIVATEBIN_DESCRIPTION=$'Zero knowledge pastebin' PRIVATEBIN_MOBILE_APP_URL= privatebin_variables=(ONION_ONLY diff --git a/src/freedombone-app-rocketchat b/src/freedombone-app-rocketchat index e07d7619..d0574ca8 100755 --- a/src/freedombone-app-rocketchat +++ b/src/freedombone-app-rocketchat @@ -36,8 +36,8 @@ ROCKETCHAT_CODE= ROCKETCHAT_ONION_PORT=9722 ROCKETCHAT_PORT_INTERNAL=3000 -ROCKETCHAT_SHORT_DESCRIPTION=$'Rocketchat' -ROCKETCHAT_DESCRIPTION=$'Rocketchat' +ROCKETCHAT_SHORT_DESCRIPTION=$'Chat system' +ROCKETCHAT_DESCRIPTION=$'Chat system' ROCKETCHAT_MOBILE_APP_URL= rocketchat_variables=(ONION_ONLY diff --git a/src/freedombone-app-syncthing b/src/freedombone-app-syncthing index 41aba63e..f3823721 100755 --- a/src/freedombone-app-syncthing +++ b/src/freedombone-app-syncthing @@ -40,8 +40,8 @@ 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_SHORT_DESCRIPTION=$'File synchronization' +SYNCTHING_DESCRIPTION=$'File synchronization' SYNCTHING_MOBILE_APP_URL='https://f-droid.org/packages/com.nutomic.syncthingandroid' syncthing_variables=(SYNCTHING_ID diff --git a/src/freedombone-app-turtl b/src/freedombone-app-turtl index 80c4f66a..fd47d6f4 100755 --- a/src/freedombone-app-turtl +++ b/src/freedombone-app-turtl @@ -48,8 +48,8 @@ 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_SHORT_DESCRIPTION=$'Note taking' +TURTL_DESCRIPTION=$'Note taking' TURTL_MOBILE_APP_URL= turtl_variables=(ONION_ONLY diff --git a/src/freedombone-app-xmpp b/src/freedombone-app-xmpp index 213c75e1..2fe792da 100755 --- a/src/freedombone-app-xmpp +++ b/src/freedombone-app-xmpp @@ -53,8 +53,8 @@ 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_SHORT_DESCRIPTION=$'Chat system' +XMPP_DESCRIPTION=$'Chat system' XMPP_MOBILE_APP_URL='https://f-droid.org/packages/eu.siacs.conversations' xmpp_variables=(ONION_ONLY diff --git a/src/freedombone-image b/src/freedombone-image index 968501d6..d0c8c0b9 100755 --- a/src/freedombone-image +++ b/src/freedombone-image @@ -178,7 +178,7 @@ function image_setup { sudo pacman -S --noconfirm debootstrap xz dosfstools btrfs-progs syslinux python-pip sudo pacman -S --noconfirm qemu-static binfmt-qemu-static uboot-tools qemu parted sudo pacman -S --noconfirm dpkg-devtools bin86 arch-install-scripts qemu-arch-extra - sudo pacman -S --noconfirm syncthing + sudo pacman -S --noconfirm syncthing bin86 patch mkdir "$USERHOME/develop" if [ -d "$USERHOME/develop/python-cliapp" ]; then sudo rm -rf "$USERHOME/develop/python-cliapp" @@ -710,7 +710,7 @@ Password: $PASSWORD" > "${CURR_DIR}/${PROJECT_NAME}_login_credentials.txt" chmod 600 "${CURR_DIR}/${PROJECT_NAME}_login_credentials.txt" if [[ $IMAGE_TYPE != "qemu"* ]]; then - IMAGE_FILENAME=$(find "${CURR_DIR}" -name "*.img" | head -n 1 | awk -F '/' '{print $2}') + IMAGE_FILENAME=$(find . -name "*.img" | head -n 1 | awk -F '/' '{print $2}') echo '' echo $'To compress:' diff --git a/src/freedombone-utils-firewall b/src/freedombone-utils-firewall index 021df7ad..837d5f56 100755 --- a/src/freedombone-utils-firewall +++ b/src/freedombone-utils-firewall @@ -38,7 +38,7 @@ function save_firewall_settings { iptables-save > /etc/firewall.conf ip6tables-save > /etc/firewall6.conf if [ ! -d /etc/network/if-up.d ]; then - mkdir /etc/network/if-up.d + mkdir -p /etc/network/if-up.d fi printf '#!/bin/sh\n' > /etc/network/if-up.d/iptables printf 'iptables-restore < /etc/firewall.conf\n' >> /etc/network/if-up.d/iptables