diff --git a/README.md b/README.md index 24eb954..47fcb66 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ Can be run as Single User Blog or Multi User Instance. Each User can be limited from 1 to unlimited blogs. -**Shipped version:** v0.11.2 +**Shipped version:** v0.12.0 ## Important points to read before installing diff --git a/check_process b/check_process index 2707ecf..7ef7279 100644 --- a/check_process +++ b/check_process @@ -13,7 +13,10 @@ setup_private=1 setup_public=1 upgrade=1 + # 0.8.1 upgrade=1 from_commit=093ec18f9f5282e1a137c0ac5444a414ee2b83bc + # 0.11.2 + upgrade=1 from_commit=45584b220e911c573643cb1e213e75fc42547818 backup_restore=1 multi_instance=1 # This test is no longer necessary since the version 2.7 (PR: https://github.com/YunoHost/yunohost/pull/304), you can still do it if your app could be installed with this version. diff --git a/conf/arm.src b/conf/arm.src index 3cbae2b..e12ad36 100644 --- a/conf/arm.src +++ b/conf/arm.src @@ -1,5 +1,5 @@ -SOURCE_URL=https://github.com/writeas/writefreely/releases/download/v0.11.2/writefreely_0.11.2_linux_arm7.tar.gz -SOURCE_SUM=739bf1782478936dc0466bdcb5df656b5559db79dd8c1a7d0c0db55ee3f5a6ba +SOURCE_URL=https://github.com/writeas/writefreely/releases/download/v0.12.0/writefreely_0.12.0_linux_arm7.tar.gz +SOURCE_SUM=2b05f0923de85de95c7e051eeb58d25d1366c1871d80c8b19691c4d8f238615e SOURCE_SUM_PRG=sha256sum SOURCE_FORMAT=tar.gz SOURCE_IN_SUBDIR=true diff --git a/conf/arm64.src b/conf/arm64.src index 16c8dcb..231efe2 100644 --- a/conf/arm64.src +++ b/conf/arm64.src @@ -1,5 +1,5 @@ -SOURCE_URL=https://github.com/writeas/writefreely/releases/download/v0.11.2/writefreely_0.11.2_linux_arm64.tar.gz -SOURCE_SUM=91341c8b4d27aa92e48b9949126a67b1d1a96276c6644f2b400d91eccfdb655f +SOURCE_URL=https://github.com/writeas/writefreely/releases/download/v0.12.0/writefreely_0.12.0_linux_arm64.tar.gz +SOURCE_SUM=d1efb86779abd253076ba50eba973304f2e3bf3f1e2ec8c11f09ef177d860507 SOURCE_SUM_PRG=sha256sum SOURCE_FORMAT=tar.gz SOURCE_IN_SUBDIR=true diff --git a/conf/config.ini b/conf/config.ini index 97aff4d..48b1529 100644 --- a/conf/config.ini +++ b/conf/config.ini @@ -1,7 +1,7 @@ [server] hidden_host = port = __PORT__ -bind = 127.0.0.1 +bind = localhost tls_cert_path = tls_key_path = autocert = false @@ -9,6 +9,7 @@ templates_parent_dir = static_parent_dir = pages_parent_dir = keys_parent_dir = +hash_seed = [database] type = mysql @@ -31,6 +32,7 @@ landing = simple_nav = false wf_modesty = false chorus = false +forest = false disable_drafts = false single_user = __SINGLEUSER__ open_registration = true @@ -42,4 +44,29 @@ private = false local_timeline = true user_invites = default_visibility = +update_checks = false + +[oauth.slack] +client_id = +client_secret = +team_id = +callback_proxy = +callback_proxy_api = + +[oauth.writeas] +client_id = +client_secret = +auth_location = +token_location = +inspect_location = +callback_proxy = +callback_proxy_api = + +[oauth.gitlab] +client_id = +client_secret = +host = +display_name = +callback_proxy = +callback_proxy_api = diff --git a/conf/x86-64.src b/conf/x86-64.src index 19ec76a..9446d56 100644 --- a/conf/x86-64.src +++ b/conf/x86-64.src @@ -1,5 +1,5 @@ -SOURCE_URL=https://github.com/writeas/writefreely/releases/download/v0.11.2/writefreely_0.11.2_linux_amd64.tar.gz -SOURCE_SUM=75ee274396e7b8bc68e1590d9d797f07fe83ee69ad8964287b391a2947ba504d +SOURCE_URL=https://github.com/writeas/writefreely/releases/download/v0.12.0/writefreely_0.12.0_linux_amd64.tar.gz +SOURCE_SUM=9563cda11cb3f789dc9ffccada48b377bf7b567b813cca7ed4706cc1c570c613 SOURCE_SUM_PRG=sha256sum SOURCE_FORMAT=tar.gz SOURCE_IN_SUBDIR=true diff --git a/manifest.json b/manifest.json index a845071..7eda50c 100644 --- a/manifest.json +++ b/manifest.json @@ -6,7 +6,7 @@ "en": "For starting a minimalist, federated blog — or an entire community.", "fr": "Permet de créer un blog fédéré minimaliste ou une communauté entière." }, - "version": "0.11.2~ynh1", + "version": "0.12.0~ynh1", "url": "https://writefreely.org", "license": "AGPL-3.0-or-later", "maintainer": [ diff --git a/scripts/upgrade b/scripts/upgrade index fd26b72..b2fc906 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -142,6 +142,8 @@ ynh_print_info --message="Making the upgrade..." chown -R "$app":"$app" "$final_path" pushd $final_path + ynh_mysql_execute_as_root --sql="ALTER DATABASE $db_name CHARACTER SET latin1 COLLATE latin1_swedish_ci;" --database=$db_name + sudo -u $app ./writefreely db migrate sudo -u $app ./writefreely --migrate popd