diff options
-rw-r--r-- | .travis.yml | 1 | ||||
-rw-r--r-- | CHANGELOG.md | 21 | ||||
-rw-r--r-- | app/Resources/CraueConfigBundle/translations/CraueConfigBundle.pl.yml | 8 | ||||
-rw-r--r-- | app/config/config.yml | 2 | ||||
-rw-r--r-- | composer.json | 2 | ||||
-rw-r--r-- | docs/de/user/installation.rst | 6 | ||||
-rw-r--r-- | docs/en/developer/paywall.rst | 15 | ||||
-rw-r--r-- | docs/en/user/installation.rst | 6 | ||||
-rw-r--r-- | docs/fr/user/installation.rst | 6 | ||||
-rw-r--r-- | docs/it/user/installation.rst | 6 | ||||
-rw-r--r-- | scripts/release.sh | 1 | ||||
-rw-r--r-- | src/Wallabag/CoreBundle/Resources/views/base.html.twig | 2 |
12 files changed, 65 insertions, 11 deletions
diff --git a/.travis.yml b/.travis.yml index 8c8093bf..29ca7dc3 100644 --- a/.travis.yml +++ b/.travis.yml | |||
@@ -44,7 +44,6 @@ matrix: | |||
44 | - php: 7.0 | 44 | - php: 7.0 |
45 | env: CS_FIXER=run VALIDATE_TRANSLATION_FILE=run ASSETS=build DB=sqlite | 45 | env: CS_FIXER=run VALIDATE_TRANSLATION_FILE=run ASSETS=build DB=sqlite |
46 | allow_failures: | 46 | allow_failures: |
47 | - php: 7.1 | ||
48 | - php: nightly | 47 | - php: nightly |
49 | 48 | ||
50 | # exclude v1 branches | 49 | # exclude v1 branches |
diff --git a/CHANGELOG.md b/CHANGELOG.md index a87f1d82..c5096fdf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md | |||
@@ -1,5 +1,26 @@ | |||
1 | ## Changelog | 1 | ## Changelog |
2 | 2 | ||
3 | ### 2.2.2 2017/03/02 | ||
4 | |||
5 | - [#2950](https://github.com/wallabag/wallabag/pull/2950) Fixed symlinks issue during release creation (@nicosomb) | ||
6 | - [#2832](https://github.com/wallabag/wallabag/pull/2832) Search by term: extend to entries url (@Kdecherf) | ||
7 | - [#2830](https://github.com/wallabag/wallabag/pull/2830) Fixed rendering of entry title in Twig views (@Kdecherf) | ||
8 | - [#2892](https://github.com/wallabag/wallabag/pull/2892) Updated spanish translation (@ngosang) | ||
9 | - [#2915](https://github.com/wallabag/wallabag/pull/2915) Import: we now skip messages when user is null (@nicosomb) | ||
10 | - [#2905](https://github.com/wallabag/wallabag/pull/2905) Alert that 2FA must be authorized in app/config/parameters.yml (@nicofrand) | ||
11 | - [#2832](https://github.com/wallabag/wallabag/pull/2832) Search by term: extend to entries url (@Kdecherf) | ||
12 | - [#2878](https://github.com/wallabag/wallabag/pull/2878) Added italian documentation (@matteocoder) | ||
13 | - [#2860](https://github.com/wallabag/wallabag/pull/2860) Documentation: update java wrapper, add cmd tool to add article (@Strubbl) | ||
14 | - [#2874](https://github.com/wallabag/wallabag/pull/2874) Added informations about Apache 2.4 (@kgaut) | ||
15 | - [#2869](https://github.com/wallabag/wallabag/pull/2869) Added log for restricted access value (@j0k3r) | ||
16 | - [#2846](https://github.com/wallabag/wallabag/pull/2846) Fixed misspells in polish translation (@mruminski) | ||
17 | - [#2842](https://github.com/wallabag/wallabag/pull/2842) Update RulerZ (@K-Phoen) | ||
18 | - [#2841](https://github.com/wallabag/wallabag/pull/2841) Show active list in the left menu during search (@Kdecherf) | ||
19 | - [#2788](https://github.com/wallabag/wallabag/pull/2788) Documentation on how to configure mobile apps to work with wallabag (@Zettt) | ||
20 | - [#2839](https://github.com/wallabag/wallabag/pull/2839) Fixed `composer.phar: not found` in update script (@foxmask) | ||
21 | - [#2818](https://github.com/wallabag/wallabag/pull/2818) Fix nav-panel-search height (@Kdecherf) | ||
22 | - [#2824](https://github.com/wallabag/wallabag/pull/2824) Renamed Developer section to API client management (@nicosomb) | ||
23 | |||
3 | ### 2.2.1 2017/01/31 | 24 | ### 2.2.1 2017/01/31 |
4 | 25 | ||
5 | - [#2809](https://github.com/wallabag/wallabag/pull/2809) Fixed duplicate entry for share_public in craue_setting_table and added documentation about migration (@nicosomb) | 26 | - [#2809](https://github.com/wallabag/wallabag/pull/2809) Fixed duplicate entry for share_public in craue_setting_table and added documentation about migration (@nicosomb) |
diff --git a/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.pl.yml b/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.pl.yml index 744031e8..1203e159 100644 --- a/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.pl.yml +++ b/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.pl.yml | |||
@@ -1,4 +1,4 @@ | |||
1 | # settings_changed: Configuration updated | 1 | settings_changed: Konfiguracja zaktualizowana |
2 | download_pictures: Pobierz obrazy na swój serwer | 2 | download_pictures: Pobierz obrazy na swój serwer |
3 | carrot: Włącz udostępnianie dla Carrot | 3 | carrot: Włącz udostępnianie dla Carrot |
4 | diaspora_url: Adres URL Diaspora, jeżeli usługa jest włączona | 4 | diaspora_url: Adres URL Diaspora, jeżeli usługa jest włączona |
@@ -24,12 +24,12 @@ entry: "artykuł" | |||
24 | export: "eksport" | 24 | export: "eksport" |
25 | import: "import" | 25 | import: "import" |
26 | misc: "różne" | 26 | misc: "różne" |
27 | modify_settings: "zatwierdz" | 27 | modify_settings: "zatwierdź" |
28 | piwik_host: Host twojej strony Piwik (bez http:// lub https://) | 28 | piwik_host: Host twojej strony Piwik (bez http:// lub https://) |
29 | piwik_site_id: ID twojej strony Piwik | 29 | piwik_site_id: ID twojej strony Piwik |
30 | piwik_enabled: Włacz Piwik | 30 | piwik_enabled: Włacz Piwik |
31 | demo_mode_enabled: "Włacz tryb demo? (używany wyłącznie dla publicznej demonstracji Wallabag)" | 31 | demo_mode_enabled: "Włacz tryb demo? (używany wyłącznie dla publicznej demonstracji Wallabag)" |
32 | demo_mode_username: "Użytkownik Demonstracyjny" | 32 | demo_mode_username: "Użytkownik Demonstracyjny" |
33 | share_public: Zezwalaj na publiczny adres url dla wpisow | 33 | share_public: Zezwalaj na publiczny adres url dla wpisow |
34 | # download_images_enabled: Download images locally | 34 | download_images_enabled: Pobierz obrazy lokalnie |
35 | # restricted_access: Enable authentication for websites with paywall | 35 | restricted_access: Włącz autoryzację dla stron z paywallem |
diff --git a/app/config/config.yml b/app/config/config.yml index 4e802c98..d7231112 100644 --- a/app/config/config.yml +++ b/app/config/config.yml | |||
@@ -30,7 +30,7 @@ framework: | |||
30 | assets: ~ | 30 | assets: ~ |
31 | 31 | ||
32 | wallabag_core: | 32 | wallabag_core: |
33 | version: 2.2.1 | 33 | version: 2.2.2 |
34 | paypal_url: "https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=9UBA65LG3FX9Y&lc=gb" | 34 | paypal_url: "https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=9UBA65LG3FX9Y&lc=gb" |
35 | languages: | 35 | languages: |
36 | en: 'English' | 36 | en: 'English' |
diff --git a/composer.json b/composer.json index b919f446..c43d2dcf 100644 --- a/composer.json +++ b/composer.json | |||
@@ -58,7 +58,7 @@ | |||
58 | "jms/serializer-bundle": "~1.1", | 58 | "jms/serializer-bundle": "~1.1", |
59 | "nelmio/api-doc-bundle": "~2.7", | 59 | "nelmio/api-doc-bundle": "~2.7", |
60 | "mgargano/simplehtmldom": "~1.5", | 60 | "mgargano/simplehtmldom": "~1.5", |
61 | "tecnickcom/tc-lib-pdf": "dev-master", | 61 | "wallabag/tcpdf": "^6.2", |
62 | "simplepie/simplepie": "~1.3.1", | 62 | "simplepie/simplepie": "~1.3.1", |
63 | "willdurand/hateoas-bundle": "~1.0", | 63 | "willdurand/hateoas-bundle": "~1.0", |
64 | "htmlawed/htmlawed": "~1.1.19", | 64 | "htmlawed/htmlawed": "~1.1.19", |
diff --git a/docs/de/user/installation.rst b/docs/de/user/installation.rst index cec62d18..0de6b6de 100644 --- a/docs/de/user/installation.rst +++ b/docs/de/user/installation.rst | |||
@@ -111,6 +111,12 @@ Virtualhosts | |||
111 | Konfiguration von Apache | 111 | Konfiguration von Apache |
112 | ~~~~~~~~~~~~~~~~~~~~~~~~ | 112 | ~~~~~~~~~~~~~~~~~~~~~~~~ |
113 | 113 | ||
114 | Vergiss nicht, die *rewrite* mod von Apache zu aktivieren. | ||
115 | |||
116 | .. code-block:: bash | ||
117 | |||
118 | a2enmod rewrite && systemctl reload apache2 | ||
119 | |||
114 | Angenommen du willst wallabag in das Verzeichnis ``/var/www/wallabag`` installieren und du willst PHP als Apache Modul nutzen, dann ist hier ein vhost für wallabag: | 120 | Angenommen du willst wallabag in das Verzeichnis ``/var/www/wallabag`` installieren und du willst PHP als Apache Modul nutzen, dann ist hier ein vhost für wallabag: |
115 | 121 | ||
116 | :: | 122 | :: |
diff --git a/docs/en/developer/paywall.rst b/docs/en/developer/paywall.rst index 365027b4..153afa6f 100644 --- a/docs/en/developer/paywall.rst +++ b/docs/en/developer/paywall.rst | |||
@@ -6,12 +6,16 @@ wallabag can fetch articles from websites which use a paywall system. | |||
6 | Enable paywall authentication | 6 | Enable paywall authentication |
7 | ----------------------------- | 7 | ----------------------------- |
8 | 8 | ||
9 | In internal settings, in the **Article** section, enable authentication for websites with paywall (with the value 1). | 9 | In internal settings, as a wallabag administrator, in the **Article** section, enable authentication for websites with paywall (with the value 1). |
10 | 10 | ||
11 | Configure credentials in wallabag | 11 | Configure credentials in wallabag |
12 | --------------------------------- | 12 | --------------------------------- |
13 | 13 | ||
14 | Edit your ``app/config/parameters.yml`` file to edit credentials for each website with paywall. Here is an example for some french websites: | 14 | Edit your ``app/config/parameters.yml`` file to edit credentials for each website with paywall. For example, under Ubuntu: |
15 | |||
16 | ``sudo -u www-data nano /var/www/html/wallabag/app/config/parameters.yml`` | ||
17 | |||
18 | Here is an example for some french websites (be careful: don't use the "tab" key, only spaces): | ||
15 | 19 | ||
16 | .. code:: yaml | 20 | .. code:: yaml |
17 | 21 | ||
@@ -28,7 +32,7 @@ Parsing configuration files | |||
28 | 32 | ||
29 | .. note:: | 33 | .. note:: |
30 | 34 | ||
31 | Read `this part of the documentation <http://doc.wallabag.org/en/master/user/errors_during_fetching.html>`_ to understand the configuration files. | 35 | Read `this part of the documentation <http://doc.wallabag.org/en/master/user/errors_during_fetching.html>`_ to understand the configuration files, which are located under ``vendor/j0k3r/graby-site-config/``. For most of the websites, this file is already configured: the following instructions are only for the websites that are not configured yet. |
32 | 36 | ||
33 | Each parsing configuration file needs to be improved by adding ``requires_login``, ``login_uri``, | 37 | Each parsing configuration file needs to be improved by adding ``requires_login``, ``login_uri``, |
34 | ``login_username_field``, ``login_password_field`` and ``not_logged_in_xpath``. | 38 | ``login_username_field``, ``login_password_field`` and ``not_logged_in_xpath``. |
@@ -54,3 +58,8 @@ For example: | |||
54 | login_password_field: password | 58 | login_password_field: password |
55 | 59 | ||
56 | not_logged_in_xpath: //body[@class="not-logged-in"] | 60 | not_logged_in_xpath: //body[@class="not-logged-in"] |
61 | |||
62 | Last step: clear the cache | ||
63 | -------------------------- | ||
64 | |||
65 | It's necessary to clear the wallabag cache with the following command (here under Ubuntu): ``sudo -u www-data php /var/www/html/wallabag/bin/console cache:clear -e=prod`` | ||
diff --git a/docs/en/user/installation.rst b/docs/en/user/installation.rst index 7fb81aeb..2b730b83 100644 --- a/docs/en/user/installation.rst +++ b/docs/en/user/installation.rst | |||
@@ -110,6 +110,12 @@ Virtual hosts | |||
110 | Configuration on Apache | 110 | Configuration on Apache |
111 | ~~~~~~~~~~~~~~~~~~~~~~~ | 111 | ~~~~~~~~~~~~~~~~~~~~~~~ |
112 | 112 | ||
113 | Do not forget to active the *rewrite* mod of Apache | ||
114 | |||
115 | .. code-block:: bash | ||
116 | |||
117 | a2enmod rewrite && systemctl reload apache2 | ||
118 | |||
113 | Assuming you install wallabag in the ``/var/www/wallabag`` folder and that you want to use PHP as an Apache module, here's a vhost for wallabag: | 119 | Assuming you install wallabag in the ``/var/www/wallabag`` folder and that you want to use PHP as an Apache module, here's a vhost for wallabag: |
114 | 120 | ||
115 | :: | 121 | :: |
diff --git a/docs/fr/user/installation.rst b/docs/fr/user/installation.rst index 319735af..5d29cb01 100644 --- a/docs/fr/user/installation.rst +++ b/docs/fr/user/installation.rst | |||
@@ -107,6 +107,12 @@ Virtual hosts | |||
107 | Configuration avec Apache | 107 | Configuration avec Apache |
108 | ~~~~~~~~~~~~~~~~~~~~~~~~~ | 108 | ~~~~~~~~~~~~~~~~~~~~~~~~~ |
109 | 109 | ||
110 | N'oubliez pas d'activer le mod *rewrite* de Apache | ||
111 | |||
112 | .. code-block:: bash | ||
113 | |||
114 | a2enmod rewrite && systemctl reload apache2 | ||
115 | |||
110 | En imaginant que vous vouliez installer wallabag dans le dossier ``/var/www/wallabag`` et que vous utilisiez PHP comme un module Apache, voici un vhost pour wallabag : | 116 | En imaginant que vous vouliez installer wallabag dans le dossier ``/var/www/wallabag`` et que vous utilisiez PHP comme un module Apache, voici un vhost pour wallabag : |
111 | 117 | ||
112 | :: | 118 | :: |
diff --git a/docs/it/user/installation.rst b/docs/it/user/installation.rst index cd6ebbef..a79a31d3 100644 --- a/docs/it/user/installation.rst +++ b/docs/it/user/installation.rst | |||
@@ -110,6 +110,12 @@ Host virtuali | |||
110 | Configurazione su Apache | 110 | Configurazione su Apache |
111 | ~~~~~~~~~~~~~~~~~~~~~~~~ | 111 | ~~~~~~~~~~~~~~~~~~~~~~~~ |
112 | 112 | ||
113 | Non dimenticate di attivare la mod *rewrite* di Apache | ||
114 | |||
115 | .. code-block:: bash | ||
116 | |||
117 | a2enmod rewrite && systemctl reload apache2 | ||
118 | |||
113 | Assumendo che voi abbiate installato wallabag nella cartella ``/var/www/wallabag`` e che vogliate usare PHP come un modulo Apache, ecco un vhost per l’applicazione: | 119 | Assumendo che voi abbiate installato wallabag nella cartella ``/var/www/wallabag`` e che vogliate usare PHP come un modulo Apache, ecco un vhost per l’applicazione: |
114 | 120 | ||
115 | :: | 121 | :: |
diff --git a/scripts/release.sh b/scripts/release.sh index e118b87e..bfb65684 100644 --- a/scripts/release.sh +++ b/scripts/release.sh | |||
@@ -12,6 +12,7 @@ mkdir $TMP_FOLDER/$RELEASE_FOLDER | |||
12 | git clone git@github.com:wallabag/wallabag.git -b $VERSION $TMP_FOLDER/$RELEASE_FOLDER/$VERSION | 12 | git clone git@github.com:wallabag/wallabag.git -b $VERSION $TMP_FOLDER/$RELEASE_FOLDER/$VERSION |
13 | cd $TMP_FOLDER/$RELEASE_FOLDER/$VERSION && SYMFONY_ENV=$ENV composer up -n --no-dev | 13 | cd $TMP_FOLDER/$RELEASE_FOLDER/$VERSION && SYMFONY_ENV=$ENV composer up -n --no-dev |
14 | cd $TMP_FOLDER/$RELEASE_FOLDER/$VERSION && php bin/console wallabag:install --env=$ENV | 14 | cd $TMP_FOLDER/$RELEASE_FOLDER/$VERSION && php bin/console wallabag:install --env=$ENV |
15 | cd $TMP_FOLDER/$RELEASE_FOLDER/$VERSION && php bin/console assets:install --env=$ENV --symlink --relative | ||
15 | cd $TMP_FOLDER/$RELEASE_FOLDER && tar czf wallabag-$VERSION.tar.gz --exclude="var/cache/*" --exclude="var/logs/*" --exclude="var/sessions/*" --exclude=".git" $VERSION | 16 | cd $TMP_FOLDER/$RELEASE_FOLDER && tar czf wallabag-$VERSION.tar.gz --exclude="var/cache/*" --exclude="var/logs/*" --exclude="var/sessions/*" --exclude=".git" $VERSION |
16 | echo "MD5 checksum of the package for wallabag $VERSION" | 17 | echo "MD5 checksum of the package for wallabag $VERSION" |
17 | md5 $TMP_FOLDER/$RELEASE_FOLDER/wallabag-$VERSION.tar.gz | 18 | md5 $TMP_FOLDER/$RELEASE_FOLDER/wallabag-$VERSION.tar.gz |
diff --git a/src/Wallabag/CoreBundle/Resources/views/base.html.twig b/src/Wallabag/CoreBundle/Resources/views/base.html.twig index 289458d4..020d8efc 100644 --- a/src/Wallabag/CoreBundle/Resources/views/base.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/base.html.twig | |||
@@ -3,7 +3,7 @@ | |||
3 | <!--[if lte IE 7]><html class="no-js ie7 ie67 ie678" lang="en"><![endif]--> | 3 | <!--[if lte IE 7]><html class="no-js ie7 ie67 ie678" lang="en"><![endif]--> |
4 | <!--[if IE 8]><html class="no-js ie8 ie678" lang="en"><![endif]--> | 4 | <!--[if IE 8]><html class="no-js ie8 ie678" lang="en"><![endif]--> |
5 | <!--[if gt IE 8]><html class="no-js" lang="en"><![endif]--> | 5 | <!--[if gt IE 8]><html class="no-js" lang="en"><![endif]--> |
6 | <html lang="fr"> | 6 | <html> |
7 | <head> | 7 | <head> |
8 | {% block head %} | 8 | {% block head %} |
9 | <meta name="viewport" content="initial-scale=1.0"> | 9 | <meta name="viewport" content="initial-scale=1.0"> |