From e70e03e87e2b92b552fccab332856e93cbeb267e Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sun, 4 Feb 2018 21:22:26 +0000 Subject: [PATCH 1/2] Video suggestion --- doc/EN/support.org | 2 ++ website/EN/support.html | 64 +++++++++++++++++++++++------------------ 2 files changed, 38 insertions(+), 28 deletions(-) diff --git a/doc/EN/support.org b/doc/EN/support.org index 71a1f581..002884ff 100644 --- a/doc/EN/support.org +++ b/doc/EN/support.org @@ -45,6 +45,8 @@ Testing of the install on different hardware. Also pentesting on test installati ** Web design and artwork A better design for this website would be nice to have. Photos, icons or other artwork are all welcome. I've always liked the cartoon artwork of the [[https://www.mediagoblin.org/][Mediagoblin]] project, and attractive graphics can help to get people initially interested. +** Howto videos +If you're good at making videos then a howto for installing Freedombone onto various types of hardware, or testing the mesh system in realistic/exotic scenarios would be good. You could even host videos on PeerTube or Mediagoblin. ** More education and promotion #+BEGIN_CENTER [[./images/educate.png]] diff --git a/website/EN/support.html b/website/EN/support.html index eab4b29c..c8d8fec6 100644 --- a/website/EN/support.html +++ b/website/EN/support.html @@ -3,7 +3,7 @@ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> - + @@ -248,9 +248,9 @@ for the JavaScript code in this tag.

Support

-
-

Contact details

-
+
+

Contact details

+

This site can also be accessed via a Tor browser at http://yjxlc3imv7obva4grjae6u3qw527koaytrgjgdp364hmthrst3jodiid.onion

@@ -277,22 +277,22 @@ This site can also be accessed via a Tor browser at -

Things which would be nice to have

-
+
+

Things which would be nice to have

+
-
-

Ideas

-
+
+

Ideas

+

Know of some fabulous web system which could run on Freedombone, but currently doesn't? Contact the above, and be prepared to make a compelling argument for why it should be included.

-
-

Money

-
+
+

Money

+
-
-

Testing and reporting bugs

-
+
+

Testing and reporting bugs

+

Testing of the install on different hardware. Also pentesting on test installations to find vulnerabilities.

-
-

Web design and artwork

-
+ -
-

More education and promotion

-
+
+

Howto videos

+
+

+If you're good at making videos then a howto for installing Freedombone onto various types of hardware, or testing the mesh system in realistic/exotic scenarios would be good. You could even host videos on PeerTube or Mediagoblin. +

+
+
+
+

More education and promotion

+
@@ -341,18 +349,18 @@ Raising awareness beyond the near zero current level, overcoming fear and parano
-
-

Translations

-
+
+

Translations

+

To add translations modify the json files within the locale subdirectory. Then make a pull request on the Github site.

-
-

Packaging

-
+
+

Packaging

+

Helping to package GNU Social and Hubzilla for Debian would be beneficial.

From c8ee6129d0bae396e464c49c91fad7fdc143dae6 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sun, 4 Feb 2018 22:53:50 +0000 Subject: [PATCH 2/2] Create ghost config file --- src/freedombone-app-ghost | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/src/freedombone-app-ghost b/src/freedombone-app-ghost index a885b496..979f878f 100755 --- a/src/freedombone-app-ghost +++ b/src/freedombone-app-ghost @@ -84,8 +84,9 @@ function ghost_replace_jquery { function ghost_rss_button { # remove feedly -aaargh! - sed -i 's|http://cloud.feedly.com/#subscription/feed/{{@blog.url}}/rss/|{{@blog.url}}/rss/|g' /var/www/$GHOST_DOMAIN_NAME/htdocs/current/content/themes/casper/partials/site-nav.hbs - sed -i 's|http://cloud.feedly.com/#subscription/feed/{{url absolute="true"}}/rss/|{{url absolute="true"}}rss/|g' /var/www/$GHOST_DOMAIN_NAME/htdocs/current/content/themes/casper/author.hbs + sed -i 's|http://cloud.feedly.com/#subscription/feed/{{@blog.url}}/rss/|{{@blog.url}}/rss/|g' /var/www/$GHOST_DOMAIN_NAME/htdocs/versions/${GHOST_VERSION}/content/themes/casper/partials/site-nav.hbs + sed -i 's|http://cloud.feedly.com/#subscription/feed/{{url absolute="true"}}/rss/|{{url absolute="true"}}rss/|g' /var/www/$GHOST_DOMAIN_NAME/htdocs/versions/${GHOST_VERSION}/content/themes/casper/author.hbs + } function ghost_remove_offsite_links { @@ -464,8 +465,17 @@ function install_ghost { ghost_bust - # NOTE: this has to be http, not https - sed -i "s|\"url\":|\"url\": \"http://${GHOST_DOMAIN_NAME}/\",|g" /var/www/${GHOST_DOMAIN_NAME}/htdocs/config.development.json + echo '{' > /var/www/${GHOST_DOMAIN_NAME}/htdocs/config.development.json + if [[ "$ONION_ONLY" == 'no' ]]; then + # NOTE: url must be http, not https + echo " \"url\": \"http://${GHOST_DOMAIN_NAME}\"," >> /var/www/${GHOST_DOMAIN_NAME}/htdocs/config.development.json + else + echo " \"url\": \"http://${GHOST_ONION_HOSTNAME}\"," >> /var/www/${GHOST_DOMAIN_NAME}/htdocs/config.development.json + fi + echo ' "paths": {' >> /var/www/${GHOST_DOMAIN_NAME}/htdocs/config.development.json + echo " \"contentPath\": \"/var/www/${GHOST_DOMAIN_NAME}/htdocs/content\"" >> /var/www/${GHOST_DOMAIN_NAME}/htdocs/config.development.json + echo ' }' >> /var/www/${GHOST_DOMAIN_NAME}/htdocs/config.development.json + echo '}' >> /var/www/${GHOST_DOMAIN_NAME}/htdocs/config.development.json echo '[Unit]' > /etc/systemd/system/ghost.service echo 'Description=Ghost Blog' >> /etc/systemd/system/ghost.service