From 1ab08582b9377e6d49f0d7dfa94f9f289dc66edb Mon Sep 17 00:00:00 2001 From: yalh76 Date: Fri, 4 Oct 2019 01:56:58 +0200 Subject: [PATCH 1/3] upgrade to 0.1.0-2019-10-04~ynh1 --- README.md | 2 +- conf/app.src | 4 ++-- manifest.json | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 7a69242..eca20e5 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ MobiliZon aims to solve existing platform's problems to organize events in a dec Mobilizon is a tool designed to create platforms for managing communities and events. Its purpose is to help as many people as possible to free themselves from Facebook groups and events, from Meetup, etc. -**Shipped version:** 0.1.0-2019-07-28 +**Shipped version:** 0.1.0-2019-10-04 ## Important points to read before installing diff --git a/conf/app.src b/conf/app.src index 7bc30f7..567f0da 100644 --- a/conf/app.src +++ b/conf/app.src @@ -1,5 +1,5 @@ -SOURCE_URL=https://framagit.org/framasoft/mobilizon/-/archive/6d80bf43ea75d93cb7987792fa46974f77d330e8/mobilizon-6d80bf43ea75d93cb7987792fa46974f77d330e8.tar.gz -SOURCE_SUM=a8441bd946a8cf5262585119ad9a77c0737f9ae4ed6c7497be8229179ad592b9 +SOURCE_URL=https://framagit.org/framasoft/mobilizon/-/archive/e34f304b76e2dd1a4456d00d4e445605722eb34a/mobilizon-e34f304b76e2dd1a4456d00d4e445605722eb34a.tar.gz +SOURCE_SUM=7305cef7c6d1e203ba11eb5cce00ad1491e62e4fdc55f1c824d06b25dd1022bd SOURCE_SUM_PRG=sha256sum SOURCE_FORMAT=tar.gz SOURCE_IN_SUBDIR=true diff --git a/manifest.json b/manifest.json index 04021fa..6217d5f 100644 --- a/manifest.json +++ b/manifest.json @@ -6,7 +6,7 @@ "en": "Your federated organization and mobilization platform.", "fr": "Votre plateforme fédérée d'organisation et de mobilisation." }, - "version": "0.1.0-2019-07-28~ynh1", + "version": "0.1.0-2019-10-04~ynh1", "url": "https://joinmobilizon.org/", "license": "AGPL-3.0-or-later", "maintainer": { From d2680de4faf13160b34f1e56feaf5d84b80ae751 Mon Sep 17 00:00:00 2001 From: yalh76 Date: Thu, 10 Oct 2019 01:36:51 +0200 Subject: [PATCH 2/3] upgrade to 0.1.0-2019-10-09 --- README.md | 2 +- conf/.env | 2 +- conf/app.src | 4 ++-- conf/prod.exs | 27 +++++++-------------------- manifest.json | 2 +- scripts/install | 1 + scripts/upgrade | 1 - 7 files changed, 13 insertions(+), 26 deletions(-) diff --git a/README.md b/README.md index eca20e5..932d16e 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ MobiliZon aims to solve existing platform's problems to organize events in a dec Mobilizon is a tool designed to create platforms for managing communities and events. Its purpose is to help as many people as possible to free themselves from Facebook groups and events, from Meetup, etc. -**Shipped version:** 0.1.0-2019-10-04 +**Shipped version:** 0.1.0-2019-10-09 ## Important points to read before installing diff --git a/conf/.env b/conf/.env index 9a30482..592e830 100644 --- a/conf/.env +++ b/conf/.env @@ -19,4 +19,4 @@ MOBILIZON_DATABASE_USERNAME="__DB_USER__" MOBILIZON_DATABASE_PASSWORD="__DB_PWD__" MOBILIZON_DATABASE_DBNAME="__DB_NAME__" MOBILIZON_DATABASE_HOST="localhost" -MOBILIZON_DATABASE_PORT="5432" +MOBILIZON_DATABASE_PORT=5432 diff --git a/conf/app.src b/conf/app.src index 567f0da..42cc2dd 100644 --- a/conf/app.src +++ b/conf/app.src @@ -1,5 +1,5 @@ -SOURCE_URL=https://framagit.org/framasoft/mobilizon/-/archive/e34f304b76e2dd1a4456d00d4e445605722eb34a/mobilizon-e34f304b76e2dd1a4456d00d4e445605722eb34a.tar.gz -SOURCE_SUM=7305cef7c6d1e203ba11eb5cce00ad1491e62e4fdc55f1c824d06b25dd1022bd +SOURCE_URL=https://framagit.org/framasoft/mobilizon/-/archive/e0c6e599570688b9eee43d0d89d1403ab84edc60/mobilizon-e0c6e599570688b9eee43d0d89d1403ab84edc60.tar.gz +SOURCE_SUM=84b186b8db03c58d9526654e5df35fde2f7ff577aeef2e3532fc966477355bdc SOURCE_SUM_PRG=sha256sum SOURCE_FORMAT=tar.gz SOURCE_IN_SUBDIR=true diff --git a/conf/prod.exs b/conf/prod.exs index 15e7e9f..59a2308 100644 --- a/conf/prod.exs +++ b/conf/prod.exs @@ -1,24 +1,11 @@ -use Mix.Config +import Config -# For production, we often load configuration from external -# sources, such as your system environment. For this reason, -# you won't find the :http configuration below, but set inside -# MobilizonWeb.Endpoint.init/2 when load_from_system_env is -# true. Any dynamic configuration should be done there. -# -# Don't forget to configure the url host to something meaningful, -# Phoenix uses this information when generating URLs. -# -# Finally, we also include the path to a cache manifest -# containing the digested version of static files. This -# manifest is generated by the mix phx.digest task -# which you typically run after static files are built. config :mobilizon, MobilizonWeb.Endpoint, load_from_system_env: true, url: [ host: "__DOMAIN__", - scheme: "https", - port: 443 + port: 443, + scheme: "https" ], http: [ ip: {127, 0, 0, 1}, @@ -26,11 +13,11 @@ config :mobilizon, MobilizonWeb.Endpoint, ], secret_key_base: "__SECRET__", - cache_static_manifest: "priv/static/js/manifest.json" + cache_static_manifest: "priv/static/manifest.json" # Configure your database -config :mobilizon, Mobilizon.Repo, - types: Mobilizon.PostgresTypes, +config :mobilizon, Mobilizon.Storage.Repo, + types: Mobilizon.Storage.PostgresTypes, username: "__DB_USER__", password: "__DB_PWD__", database: "__DB_NAME__", @@ -38,7 +25,7 @@ config :mobilizon, Mobilizon.Repo, port: "5432", pool_size: 15 -config :mobilizon, Mobilizon.Mailer, +config :mobilizon, MobilizonWeb.Email.Mailer, adapter: Bamboo.SMTPAdapter, server: "localhost", hostname: "localhost", diff --git a/manifest.json b/manifest.json index 6217d5f..864a22b 100644 --- a/manifest.json +++ b/manifest.json @@ -6,7 +6,7 @@ "en": "Your federated organization and mobilization platform.", "fr": "Votre plateforme fédérée d'organisation et de mobilisation." }, - "version": "0.1.0-2019-10-04~ynh1", + "version": "0.1.0-2019-10-09~ynh1", "url": "https://joinmobilizon.org/", "license": "AGPL-3.0-or-later", "maintainer": { diff --git a/scripts/install b/scripts/install index 32bc8a4..bdaa61a 100644 --- a/scripts/install +++ b/scripts/install @@ -107,6 +107,7 @@ ynh_psql_setup_db --db_user=$db_user --db_name=$db_name --db_pwd=$db_pwd ynh_psql_execute_as_root --sql="CREATE EXTENSION IF NOT EXISTS postgis;" --database=$db_name ynh_psql_execute_as_root --sql="CREATE EXTENSION IF NOT EXISTS pg_trgm;" --database=$db_name ynh_psql_execute_as_root --sql="CREATE EXTENSION IF NOT EXISTS unaccent;" --database=$db_name +ynh_psql_execute_as_root --sql="ALTER USER $db_user PASSWORD '$db_pwd';" --database=$db_name #================================================= # DOWNLOAD, CHECK AND UNPACK SOURCE diff --git a/scripts/upgrade b/scripts/upgrade index 64dc9d8..14e2222 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -71,7 +71,6 @@ ynh_print_info --message="Backing up the app before upgrading (may take a while) # Backup the current version of the app ynh_backup_before_upgrade ynh_clean_setup () { - read -p "key" # restore it if the upgrade fails ynh_restore_upgradebackup ynh_clean_check_starting From 70b67c31f007b3680f66559f3959a23c87bdc790 Mon Sep 17 00:00:00 2001 From: yalh76 Date: Thu, 10 Oct 2019 21:58:11 +0200 Subject: [PATCH 3/3] upgrade to 0.1.0-2019-10-10 --- README.md | 2 +- conf/app.src | 6 +++--- manifest.json | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 932d16e..64ddc83 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ MobiliZon aims to solve existing platform's problems to organize events in a dec Mobilizon is a tool designed to create platforms for managing communities and events. Its purpose is to help as many people as possible to free themselves from Facebook groups and events, from Meetup, etc. -**Shipped version:** 0.1.0-2019-10-09 +**Shipped version:** 0.1.0-2019-10-10 ## Important points to read before installing diff --git a/conf/app.src b/conf/app.src index 42cc2dd..9fd53e1 100644 --- a/conf/app.src +++ b/conf/app.src @@ -1,6 +1,6 @@ -SOURCE_URL=https://framagit.org/framasoft/mobilizon/-/archive/e0c6e599570688b9eee43d0d89d1403ab84edc60/mobilizon-e0c6e599570688b9eee43d0d89d1403ab84edc60.tar.gz -SOURCE_SUM=84b186b8db03c58d9526654e5df35fde2f7ff577aeef2e3532fc966477355bdc +SOURCE_URL=https://framagit.org/framasoft/mobilizon/-/archive/b57c75743e7a8903388d6adb1e9e88b16453f74f/mobilizon-b57c75743e7a8903388d6adb1e9e88b16453f74f.tar.gz +SOURCE_SUM=0d0d9e51366b8705cf1df105363579e76caf54d7dfb6b3ce05b91559e46cb2b6 SOURCE_SUM_PRG=sha256sum SOURCE_FORMAT=tar.gz SOURCE_IN_SUBDIR=true -SOURCE_FILENAME= \ No newline at end of file +SOURCE_FILENAME=0.1.0-2019-10-10.tar.gz \ No newline at end of file diff --git a/manifest.json b/manifest.json index 864a22b..4aa68be 100644 --- a/manifest.json +++ b/manifest.json @@ -6,7 +6,7 @@ "en": "Your federated organization and mobilization platform.", "fr": "Votre plateforme fédérée d'organisation et de mobilisation." }, - "version": "0.1.0-2019-10-09~ynh1", + "version": "0.1.0-2019-10-10~ynh1", "url": "https://joinmobilizon.org/", "license": "AGPL-3.0-or-later", "maintainer": {