1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/wallabag2_ynh.git synced 2024-10-01 13:35:06 +02:00

[enh] Update Wallabag to v2.1.1

This commit is contained in:
Jérôme Lebleu 2016-10-09 15:30:34 +02:00
parent 4135a28ad4
commit 7d181edb0f
6 changed files with 22 additions and 7 deletions

View file

@ -3,7 +3,7 @@ Wallabag v2 for Yunohost
**This is a work-in-progress Wallabag v2 package for YunoHost.** **This is a work-in-progress Wallabag v2 package for YunoHost.**
**Shipped version:** 2.0.8 **Shipped version:** 2.1.1
[Wallabag](https://www.wallabag.org/) is a self hostable application allowing [Wallabag](https://www.wallabag.org/) is a self hostable application allowing
you to not miss any content anymore. Click, save, read it when you can. It you to not miss any content anymore. Click, save, read it when you can. It
@ -18,6 +18,7 @@ this package:
* Integrate with YunoHost users and SSO - i.e. logout button * Integrate with YunoHost users and SSO - i.e. logout button
* Allow one user to be the administrator (set at the installation) * Allow one user to be the administrator (set at the installation)
* Asynchronous import using Redis (need to be enabled in the *Internal Settings*)
## TODO ## TODO

View file

@ -23,6 +23,19 @@ parameters:
twofactor_sender: no-reply@wallabag.org twofactor_sender: no-reply@wallabag.org
# fosuser stuff # fosuser stuff
fosuser_registration: false
fosuser_confirmation: true fosuser_confirmation: true
from_email: no-reply@wallabag.org from_email: no-reply@wallabag.org
rss_limit: 50
# RabbitMQ processing
rabbitmq_host: localhost
rabbitmq_port: 5672
rabbitmq_user: guest
rabbitmq_password: guest
# Redis processing
redis_host: localhost
redis_port: 6379

View file

@ -4,9 +4,9 @@ Homepage: https://www.wallabag.org/
Standards-Version: 3.9.2 Standards-Version: 3.9.2
Package: wallabag-deps Package: wallabag-deps
Version: 2.0-1 Version: 2.1-1
Depends: php5-cli, php5-mysql, php5-json, php5-gd, php5-tidy, php5-curl Depends: php5-cli, php5-mysql, php5-json, php5-gd, php5-tidy, php5-curl
, php-gettext , php-gettext, redis-server
Architecture: all Architecture: all
Description: meta package for wallabag dependencies Description: meta package for wallabag dependencies
Wallabag is a self hostable application allowing you to not miss Wallabag is a self hostable application allowing you to not miss

View file

@ -8,7 +8,7 @@
}, },
"url": "https://www.wallabag.org", "url": "https://www.wallabag.org",
"license": "MIT", "license": "MIT",
"version": "2.0.8", "version": "2.1.1",
"maintainer": { "maintainer": {
"name": "jerome", "name": "jerome",
"email": "jerome@yunohost.org" "email": "jerome@yunohost.org"

View file

@ -3,7 +3,7 @@
# #
# Wallabag version # Wallabag version
VERSION="2.0.8" VERSION="2.1.1"
# Package name for Wallabag dependencies # Package name for Wallabag dependencies
DEPS_PKG_NAME="wallabag-deps" DEPS_PKG_NAME="wallabag-deps"
@ -12,7 +12,7 @@ DEPS_PKG_NAME="wallabag-deps"
WALLABAG_SOURCE_URL="https://framabag.org/wallabag-release-${VERSION}.tar.gz" WALLABAG_SOURCE_URL="https://framabag.org/wallabag-release-${VERSION}.tar.gz"
# Full Wallabag sources tarball checksum # Full Wallabag sources tarball checksum
WALLABAG_SOURCE_SHA256="885567b000ad3ea554bb00cbc3d5efdd121854a5b8114f7e31de6bf8d49e7768" WALLABAG_SOURCE_SHA256="59649f777932cd5a0cbc950c57fffbee851cc4222dda5ecbb462900a6e2a7ef2"
# App package root directory should be the parent folder # App package root directory should be the parent folder
PKGDIR=$(cd ../; pwd) PKGDIR=$(cd ../; pwd)

View file

@ -45,7 +45,8 @@ sudo rm -rf "$DESTDIR"
sudo mv "$TMPDIR" "$DESTDIR" sudo mv "$TMPDIR" "$DESTDIR"
sudo chown -R www-data: "$DESTDIR" sudo chown -R www-data: "$DESTDIR"
# Clear Wallabag cache # Upgrade database and clear the cache
exec_console www-data "$DESTDIR" doctrine:migrations:migrate
exec_console www-data "$DESTDIR" cache:clear exec_console www-data "$DESTDIR" cache:clear
# Copy and set nginx configuration # Copy and set nginx configuration