mirror of
https://github.com/YunoHost-Apps/mobilizon_ynh.git
synced 2024-09-03 19:46:19 +02:00
Merge pull request #154 from YunoHost-Apps/testing
Upgrade to version 3.1.3
This commit is contained in:
commit
7ad2ca6450
10 changed files with 19 additions and 19 deletions
4
.github/workflows/updater.yml
vendored
4
.github/workflows/updater.yml
vendored
|
@ -14,7 +14,7 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Fetch the source code
|
||||
uses: actions/checkout@v2
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
- name: Run the updater script
|
||||
|
@ -33,7 +33,7 @@ jobs:
|
|||
- name: Create Pull Request
|
||||
id: cpr
|
||||
if: ${{ env.PROCEED == 'true' }}
|
||||
uses: peter-evans/create-pull-request@v3
|
||||
uses: peter-evans/create-pull-request@v4
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
commit-message: Update to version ${{ env.VERSION }}
|
||||
|
|
|
@ -5,7 +5,8 @@ It shall NOT be edited by hand.
|
|||
|
||||
# Mobilizon for YunoHost
|
||||
|
||||
[](https://dash.yunohost.org/appci/app/mobilizon)  
|
||||
[](https://dash.yunohost.org/appci/app/mobilizon)  
|
||||
|
||||
[](https://install-app.yunohost.org/?app=mobilizon)
|
||||
|
||||
*[Lire ce readme en français.](./README_fr.md)*
|
||||
|
@ -23,7 +24,7 @@ A decentralized and federated platform to organize events
|
|||
|
||||
|
||||
|
||||
**Shipped version:** 2.1.0.1~ynh5
|
||||
**Shipped version:** 3.1.3~ynh1
|
||||
|
||||
**Demo:** https://demo.mobilizon.org
|
||||
|
||||
|
|
|
@ -5,7 +5,8 @@ It shall NOT be edited by hand.
|
|||
|
||||
# Mobilizon pour YunoHost
|
||||
|
||||
[](https://dash.yunohost.org/appci/app/mobilizon)  
|
||||
[](https://dash.yunohost.org/appci/app/mobilizon)  
|
||||
|
||||
[](https://install-app.yunohost.org/?app=mobilizon)
|
||||
|
||||
*[Read this readme in english.](./README.md)*
|
||||
|
@ -23,7 +24,7 @@ A decentralized and federated platform to organize events
|
|||
|
||||
|
||||
|
||||
**Version incluse :** 2.1.0.1~ynh5
|
||||
**Version incluse :** 3.1.3~ynh1
|
||||
|
||||
**Démo :** https://demo.mobilizon.org
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
SOURCE_URL=https://packages.joinmobilizon.org/2.0.2/mobilizon_2.0.2_amd64.tar.gz
|
||||
SOURCE_SUM=1c734435f9e23e599de2de057a95b25a978ae5bd65ffbd95213c4e0da40fc592
|
||||
SOURCE_URL=https://packages.joinmobilizon.org/3.1.3/mobilizon_3.1.3_amd64.tar.gz
|
||||
SOURCE_SUM=7f59b66f309fd1456c339639c24decb4909d0d692362d2d123ea5868ff929447
|
||||
SOURCE_SUM_PRG=sha256sum
|
||||
SOURCE_FORMAT=tar.gz
|
||||
SOURCE_IN_SUBDIR=true
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
SOURCE_URL=https://packages.joinmobilizon.org/2.0.2/mobilizon_2.0.2_arm.tar.gz
|
||||
SOURCE_SUM=1ac4241b46cf9b165a7fdf641af16310aceb36bbb411ac477332af4057826b3c
|
||||
SOURCE_URL=https://packages.joinmobilizon.org/3.0.4/mobilizon_3.0.4_arm.tar.gz
|
||||
SOURCE_SUM=9710a47ac29111419021fd7f4da2c33288e5741f695268a5067bab538acaa5da
|
||||
SOURCE_SUM_PRG=sha256sum
|
||||
SOURCE_FORMAT=tar.gz
|
||||
SOURCE_IN_SUBDIR=true
|
||||
|
|
|
@ -1,9 +1,7 @@
|
|||
|
||||
config :mobilizon, Mobilizon.Web.Email.Mailer,
|
||||
#adapter: Swoosh.Adapters.SMTP,
|
||||
#relay: "127.0.0.1",
|
||||
adapter: Bamboo.SMTPAdapter,
|
||||
server: "127.0.0.1",
|
||||
adapter: Swoosh.Adapters.SMTP,
|
||||
relay: "127.0.0.1",
|
||||
#hostname: "127.0.0.1",
|
||||
# usually 25, 465 or 587
|
||||
port: 25,
|
||||
|
|
|
@ -13,7 +13,7 @@ client_max_body_size 50M;
|
|||
proxy_http_version 1.1;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection "upgrade";
|
||||
proxy_set_header Host $http_host;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
"en": "A decentralized and federated platform to organize events",
|
||||
"fr": "Une plateforme décentralisée et fédérée pour organiser des événements"
|
||||
},
|
||||
"version": "2.1.0.1~ynh5",
|
||||
"version": "3.1.3~ynh1",
|
||||
"url": "https://joinmobilizon.org/",
|
||||
"upstream": {
|
||||
"license": "AGPL-3.0-or-later",
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
#=================================================
|
||||
|
||||
# dependencies used by the app
|
||||
pkg_dependencies="postgresql postgresql-client postgresql-contrib postgis postgresql-postgis-scripts argon2 imagemagick webp gifsicle jpegoptim optipng pngquant file"
|
||||
pkg_dependencies="postgresql postgresql-client postgresql-contrib postgis postgresql-postgis-scripts postgresql-13-postgis-3 argon2 imagemagick webp gifsicle jpegoptim optipng pngquant file"
|
||||
|
||||
#=================================================
|
||||
# PERSONAL HELPERS
|
||||
|
|
|
@ -248,8 +248,8 @@ ynh_script_progression --message="Updating a configuration file..."
|
|||
config="/etc/$app/config.exs"
|
||||
|
||||
ynh_backup_if_checksum_is_different --file="$config"
|
||||
ynh_replace_string --match_string="adapter: Swoosh.Adapters.SMTP," --replace_string="adapter: Bamboo.SMTPAdapter," --target_file="$config"
|
||||
ynh_replace_string --match_string="relay: \"127.0.0.1\"," --replace_string="server: \"127.0.0.1\"," --target_file="$config"
|
||||
ynh_replace_string --match_string="adapter: Bamboo.SMTPAdapter," --replace_string="adapter: Swoosh.Adapters.SMTP," --target_file="$config"
|
||||
ynh_replace_string --match_string="server: \"127.0.0.1\"," --replace_string="relay: \"127.0.0.1\"," --target_file="$config"
|
||||
ynh_store_file_checksum --file="$config"
|
||||
|
||||
chmod 400 "$config"
|
||||
|
|
Loading…
Add table
Reference in a new issue