From a83ee5a5cdf522a981788a9a3a7bb1706177dee7 Mon Sep 17 00:00:00 2001 From: yalh76 Date: Tue, 23 Apr 2019 16:53:07 +0200 Subject: [PATCH 1/6] Update version --- 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 7858100..f95c365 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,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-04-11 +**Shipped version:** 0.1.0-2019-04-23 ## Important diff --git a/conf/app.src b/conf/app.src index 1e507c8..0152de0 100644 --- a/conf/app.src +++ b/conf/app.src @@ -1,5 +1,5 @@ -SOURCE_URL=https://framagit.org/framasoft/mobilizon/-/archive/6bf903f9d79dc4f24c35d9e21ebe45abbc0924ed/mobilizon-6bf903f9d79dc4f24c35d9e21ebe45abbc0924ed.tar.gz -SOURCE_SUM=2ba82d8771ec0374cbb9708d55a48e5785310429cc017e242f33c6ec119fff58 +SOURCE_URL=https://framagit.org/framasoft/mobilizon/-/archive/13b8f5746822b4875e7135cbc725d531b5d207cc/mobilizon-13b8f5746822b4875e7135cbc725d531b5d207cc.tar.gz +SOURCE_SUM=40e20a67003bd100a0fd5de97112981049714e3ec1db8faaa5f0a07e5b2103ec SOURCE_SUM_PRG=sha256sum SOURCE_FORMAT=tar.gz SOURCE_IN_SUBDIR=true diff --git a/manifest.json b/manifest.json index 5fe7b8c..8eb4331 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-04-12~ynh2", + "version": "0.1.0-2019-04-23~ynh1", "url": "https://joinmobilizon.org/", "license": "AGPL-3.0-or-later", "maintainer": { From bbf134edea7226cd9cdcd15592e7b5498e18dac9 Mon Sep 17 00:00:00 2001 From: yalh76 Date: Tue, 23 Apr 2019 16:53:41 +0200 Subject: [PATCH 2/6] remove yarnrc fix --- conf/.yarnrc | 1 - scripts/install | 3 --- 2 files changed, 4 deletions(-) delete mode 100644 conf/.yarnrc diff --git a/conf/.yarnrc b/conf/.yarnrc deleted file mode 100644 index 9bc2065..0000000 --- a/conf/.yarnrc +++ /dev/null @@ -1 +0,0 @@ -network-timeout 600000 \ No newline at end of file diff --git a/scripts/install b/scripts/install index 67411a5..7bb7a69 100644 --- a/scripts/install +++ b/scripts/install @@ -173,9 +173,6 @@ ynh_replace_string "__NAME__" "$name" "../conf/prod.exs" ynh_replace_string "__ADMIN_EMAIL__" "$admin_email" "../conf/prod.exs" cp ../conf/prod.exs "$final_path/$app/config/prod.exs" -# Temprary YARN fix for package material-design-icons -cp ../conf/.yarnrc "$final_path/$app/.yarnrc" - # Give permission to the final_path chown -R "$app":"$app" "$final_path" From 51f4a8cbab0b8dd6cb6c9929a187c728c7ba982d Mon Sep 17 00:00:00 2001 From: yalh76 Date: Tue, 23 Apr 2019 17:00:58 +0200 Subject: [PATCH 3/6] remove build status --- README.md | 1 - 1 file changed, 1 deletion(-) diff --git a/README.md b/README.md index f95c365..118c728 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,6 @@ # Mobilizon for YunoHost [![Integration level](https://dash.yunohost.org/integration/mobilizon.svg)](https://dash.yunohost.org/appci/app/mobilizon) -[![Build Status](https://ci-apps-dev.yunohost.org/jenkins/job/mobilizon_ynh%20(yalh76)/badge/icon)](https://ci-apps-dev.yunohost.org/jenkins/job/mobilizon_ynh%20(yalh76)/) [![Install Mobilizon with YunoHost](https://install-app.yunohost.org/install-with-yunohost.png)](https://install-app.yunohost.org/?app=mobilizon) > *This package allow you to install Mobilizon quickly and simply on a YunoHost server. From 17b0f192bf3f3fa845c159e9bacfbac59e630f03 Mon Sep 17 00:00:00 2001 From: yalh76 Date: Tue, 23 Apr 2019 21:17:52 +0200 Subject: [PATCH 4/6] Update README.md --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index 118c728..f93c178 100644 --- a/README.md +++ b/README.md @@ -22,6 +22,14 @@ Mobilizon is a tool designed to create platforms for managing communities and ev 1. Even if requested during installation: admin, language and password variables are not used 1. When your mobilizon instance is installed, you need to register. 1. When registered to be admin you have to manually goes in PostgreSQL, database $app, table users, and change the role value to `administrator` instead of `user` (other role available: `moderator`) +```bash +su -l postgres +psql +\c mobilizon +UPDATE public.users SET role='administrator' where id=1; +\q +exit +``` 1. Admin Dashboard is still not implemented ## Screenshots From 64c2cb8b8da562ec9b01feccdfe8f06f85195691 Mon Sep 17 00:00:00 2001 From: yalh76 Date: Tue, 23 Apr 2019 21:19:41 +0200 Subject: [PATCH 5/6] reorder ## Important --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index f93c178..2065e1a 100644 --- a/README.md +++ b/README.md @@ -20,6 +20,7 @@ Mobilizon is a tool designed to create platforms for managing communities and ev 1. **Mobilizon** is in early development, like an Alpha, all functionalities are not available 1. **Mobilizon** require a dedicated **root domain**, eg. mobilizon.domain.tld 1. Even if requested during installation: admin, language and password variables are not used +1. Admin Dashboard is still not implemented 1. When your mobilizon instance is installed, you need to register. 1. When registered to be admin you have to manually goes in PostgreSQL, database $app, table users, and change the role value to `administrator` instead of `user` (other role available: `moderator`) ```bash @@ -30,7 +31,6 @@ UPDATE public.users SET role='administrator' where id=1; \q exit ``` -1. Admin Dashboard is still not implemented ## Screenshots From 796ddb74bb2ad8f05c3ee6d099c983b52bb39b66 Mon Sep 17 00:00:00 2001 From: yalh76 Date: Tue, 23 Apr 2019 21:20:46 +0200 Subject: [PATCH 6/6] Update README.md --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 2065e1a..7e946b7 100644 --- a/README.md +++ b/README.md @@ -23,6 +23,8 @@ Mobilizon is a tool designed to create platforms for managing communities and ev 1. Admin Dashboard is still not implemented 1. When your mobilizon instance is installed, you need to register. 1. When registered to be admin you have to manually goes in PostgreSQL, database $app, table users, and change the role value to `administrator` instead of `user` (other role available: `moderator`) + +Example to manually put user with id=1 as administrator: ```bash su -l postgres psql