mirror of
https://github.com/YunoHost-Apps/writefreely_ynh.git
synced 2024-09-03 20:36:02 +02:00
commit
7e3f17b2d1
8 changed files with 41 additions and 9 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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 =
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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": [
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue