From 6f542bf77d4191098fe76236e70c58f89b3544f6 Mon Sep 17 00:00:00 2001 From: Dave Jones Date: Thu, 14 May 2020 13:50:52 +0000 Subject: [PATCH] v0.7.9 release notes --- releases/v0.7.9-apt.sh | 53 +++++++++++++++++++++++++++++++++++++++ releases/v0.7.9-notes.txt | 25 ++++++++++++++++++ 2 files changed, 78 insertions(+) create mode 100644 releases/v0.7.9-apt.sh create mode 100644 releases/v0.7.9-notes.txt diff --git a/releases/v0.7.9-apt.sh b/releases/v0.7.9-apt.sh new file mode 100644 index 00000000..f4c06be6 --- /dev/null +++ b/releases/v0.7.9-apt.sh @@ -0,0 +1,53 @@ +#!/bin/bash + +##: This file should be EXEcutable! + +##: This script needs to be run with sudo +ROOT_UID="0" + +#Check if run as root +if [ "$UID" -ne "$ROOT_UID" ] ; then + echo "You must run this script with sudo." + exit 1 +fi +export CARTROOT=`echo "" | php` + +##: Do a user check pass to pick up any user level config needed +sudo php /opt/cartulary/bin/usercheck.php + +echo Side-loading packages up through version 0.6.10... + +##: Refresh apt +echo Updating apt-get repos... +apt-get update -qq + +echo Installing node.js... +NODEVER=`node --version` +if [[ "$NODEVER" == *"v4"* ]] ; then + echo "You're on an old version of node. Upgrading..." + sudo apt-get remove -y node nodejs + curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash - + sudo apt-get install -y nodejs +fi +cd $CARTROOT/aggrivate +sudo rm -rf node_modules/ +sudo rm package-lock.json +sudo npm -g install npm@latest +sudo npm -g install npm@latest +sudo npm install --unsafe-perm=true --allow-root + +echo Correcting feed database... +echo " This could take a while since it checks the whole feed table. Please wait..." +sudo php /opt/cartulary/bin/clean_nonfqdn_feeds.php +sudo php /opt/cartulary/bin/clean_duplicate_feeds.php + +echo Running a full aggregator pass... +echo " This could take a while since it checks error/dead feeds too. Please wait..." +cd $CARTROOT/aggrivate +sudo node ./aggrivate.js checkerror force +sudo node ./aggrivate.js checkdead force +suod node ./aggrivate.js force + +##: Log the upgrade +CARTVER=`sudo php /opt/cartulary/bin/getversion.php raw` +sudo php /opt/cartulary/bin/admin_notify.php --content="System was upgraded to version: v$CARTVER" --title="System Upgrade" diff --git a/releases/v0.7.9-notes.txt b/releases/v0.7.9-notes.txt new file mode 100644 index 00000000..1027d69f --- /dev/null +++ b/releases/v0.7.9-notes.txt @@ -0,0 +1,25 @@ +#Release Notes - Freedom Controller v0.7.9 + + +The primary focus of this release is alternative s3 support for multimedia assets and mastodon timeline feed + + +- New feature: Support for Alternative S3 storage for multimedia files + - Think "Wasabi" with this. You can specify a wasabi key/secret/bucket/endpoint/region in the preferences page + - If you have all of this filled in, audio and video files you upload will go to this bucket instead of Amazon + - Wasabi has free (as in $$) egress, so putting the big files there will reduce your AWS bill + - Remember to back it up though. :-) + - In the next release we'll also support alternative S3 providers for primary storage + - This is code that hasn't been touched in years, so we must tread carefully + +- New feature: Mastodon timeline support with filtering + - Again, on the prefs page in the Mastodon section + - You can subscribe to your timeline as an RSS feed + - Apply a text filter to it, like "#coronavirus" and only items with that text string will show up in the feed + - You can use this for taming the firehose of your mastodon timeline into something that only applies to your FC interests + +- Improvements: Cart'ing fixes + - Better cartulizing of twitter threads. Still scraping since their API doesn't allow getting a whole thread. + - Better handling of B'Berg articles. + - Better handline of Apple News articles. + - Bugfixes and tweaks \ No newline at end of file