diff options
author | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2016-11-06 15:15:48 +0100 |
---|---|---|
committer | Julian Oster <jlnostr@outlook.de> | 2016-11-17 19:22:15 +0100 |
commit | 2e389b0b90f34d795e4bafc43d621955c05850a9 (patch) | |
tree | eb9cd6197751383375339b0fee5ac32f362e3c0a /docs/en/user | |
parent | 9e0a49e6acf60c3dbf3c479cb36d404239dfda89 (diff) | |
download | wallabag-2e389b0b90f34d795e4bafc43d621955c05850a9.tar.gz wallabag-2e389b0b90f34d795e4bafc43d621955c05850a9.tar.zst wallabag-2e389b0b90f34d795e4bafc43d621955c05850a9.zip |
Reordered documentation
Diffstat (limited to 'docs/en/user')
-rw-r--r-- | docs/en/user/android.rst | 11 | ||||
-rw-r--r-- | docs/en/user/annotations.rst | 24 | ||||
-rw-r--r-- | docs/en/user/articles.rst | 116 | ||||
-rw-r--r-- | docs/en/user/backup.rst | 3 | ||||
-rw-r--r-- | docs/en/user/create_account.rst | 21 | ||||
-rw-r--r-- | docs/en/user/download_articles.rst | 17 | ||||
-rw-r--r-- | docs/en/user/errors_during_fetching.rst | 4 | ||||
-rw-r--r-- | docs/en/user/filters.rst | 6 | ||||
-rw-r--r-- | docs/en/user/import.rst | 91 | ||||
-rw-r--r-- | docs/en/user/login.rst | 13 | ||||
-rw-r--r-- | docs/en/user/migration.rst | 66 | ||||
-rw-r--r-- | docs/en/user/parameters.rst | 43 | ||||
-rw-r--r-- | docs/en/user/upgrade-2.1.x-2.1.y.rst | 30 | ||||
-rw-r--r-- | docs/en/user/upgrade.rst (renamed from docs/en/user/upgrade-2.0.x-2.1.1.rst) | 96 |
14 files changed, 322 insertions, 219 deletions
diff --git a/docs/en/user/android.rst b/docs/en/user/android.rst index 91dcb2fc..d210d6da 100644 --- a/docs/en/user/android.rst +++ b/docs/en/user/android.rst | |||
@@ -1,13 +1,11 @@ | |||
1 | Android App | 1 | Android application |
2 | =========== | 2 | =================== |
3 | |||
4 | 3 | ||
5 | Purpose of this document | 4 | Purpose of this document |
6 | ------------------------ | 5 | ------------------------ |
7 | 6 | ||
8 | This document describes how you can setup your Android application to work with your wallabag instance. There is no difference in this procedure for wallabag v1 or v2. | 7 | This document describes how you can setup your Android application to work with your wallabag instance. There is no difference in this procedure for wallabag v1 or v2. |
9 | 8 | ||
10 | |||
11 | Steps to configure your app | 9 | Steps to configure your app |
12 | --------------------------- | 10 | --------------------------- |
13 | 11 | ||
@@ -71,8 +69,6 @@ Finally after the synchronisation finished successfully, you are presented to th | |||
71 | :alt: Filled article list cause feeds successfully synchronized | 69 | :alt: Filled article list cause feeds successfully synchronized |
72 | :align: center | 70 | :align: center |
73 | 71 | ||
74 | |||
75 | |||
76 | Known limitations | 72 | Known limitations |
77 | ----------------- | 73 | ----------------- |
78 | 74 | ||
@@ -81,19 +77,16 @@ Known limitations | |||
81 | 77 | ||
82 | Currently the Android application does not support two-factor authentication. You should disable that to get the application working. | 78 | Currently the Android application does not support two-factor authentication. You should disable that to get the application working. |
83 | 79 | ||
84 | |||
85 | Limited amount of articles with wallabag v2 | 80 | Limited amount of articles with wallabag v2 |
86 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 81 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
87 | 82 | ||
88 | In your wallabag web instance you can configure how many items are part of the RSS feed. This option did not exist in wallabag v1, where all articles were part of the feed. So if you set the amount of articles being displayed greater than the number of items being content of your RSS feed, you will only see the number of items in your RSS feed. | 83 | In your wallabag web instance you can configure how many items are part of the RSS feed. This option did not exist in wallabag v1, where all articles were part of the feed. So if you set the amount of articles being displayed greater than the number of items being content of your RSS feed, you will only see the number of items in your RSS feed. |
89 | 84 | ||
90 | |||
91 | SSL/TLS encryption | 85 | SSL/TLS encryption |
92 | ~~~~~~~~~~~~~~~~~~ | 86 | ~~~~~~~~~~~~~~~~~~ |
93 | 87 | ||
94 | If you can reach your wallabag web instance via HTTPS, you should use that. Especially if your HTTP URL redirects you to the HTTPS one. Currently, the app cannot handle that redirect properly. | 88 | If you can reach your wallabag web instance via HTTPS, you should use that. Especially if your HTTP URL redirects you to the HTTPS one. Currently, the app cannot handle that redirect properly. |
95 | 89 | ||
96 | |||
97 | References | 90 | References |
98 | ---------- | 91 | ---------- |
99 | 92 | ||
diff --git a/docs/en/user/annotations.rst b/docs/en/user/annotations.rst deleted file mode 100644 index fab854aa..00000000 --- a/docs/en/user/annotations.rst +++ /dev/null | |||
@@ -1,24 +0,0 @@ | |||
1 | Annotations | ||
2 | =========== | ||
3 | |||
4 | In each article you read, you can write annotations. It's easier to understand with some pictures. | ||
5 | |||
6 | Select the part of the article that you want to annotate and click on the pencil: | ||
7 | |||
8 | .. image:: ../../img/user/annotations_1.png | ||
9 | :alt: Select your text | ||
10 | :align: center | ||
11 | |||
12 | Then, write your annotation: | ||
13 | |||
14 | .. image:: ../../img/user/annotations_2.png | ||
15 | :alt: Write your annotation | ||
16 | :align: center | ||
17 | |||
18 | The text is now highlighted and you can read your annotation if you move the mouse cursor over it. | ||
19 | |||
20 | .. image:: ../../img/user/annotations_3.png | ||
21 | :alt: Read your annotation | ||
22 | :align: center | ||
23 | |||
24 | You can create as many annotations as you wish. | ||
diff --git a/docs/en/user/articles.rst b/docs/en/user/articles.rst new file mode 100644 index 00000000..16b3b0d2 --- /dev/null +++ b/docs/en/user/articles.rst | |||
@@ -0,0 +1,116 @@ | |||
1 | Articles | ||
2 | ======== | ||
3 | |||
4 | Save your first article | ||
5 | ----------------------- | ||
6 | |||
7 | The main purpose of wallabag is to save web articles. You have many ways to do it. If you think that the article is wrong displayed, `you can read this documentation <http://doc.wallabag.org/en/master/user/errors_during_fetching.html>`_. | ||
8 | |||
9 | By using a bookmarklet | ||
10 | ^^^^^^^^^^^^^^^^^^^^^^ | ||
11 | |||
12 | On the ``Howto`` page, you have a ``Bookmarklet`` tab. Drag and drop the ``bag it!`` | ||
13 | link to your bookmarks bar of your browser. | ||
14 | |||
15 | Now, each time you're reading an article on the web and you want to save it, | ||
16 | click on the ``bag it!`` link in your bookmarks bar. The article is saved. | ||
17 | |||
18 | By using the classic form | ||
19 | ^^^^^^^^^^^^^^^^^^^^^^^^^ | ||
20 | |||
21 | In the top bar of your screen, you have 3 icons. With the first one, a plus sign, | ||
22 | you can easily save a new article. | ||
23 | |||
24 | .. image:: ../../img/user/topbar.png | ||
25 | :alt: Top bar | ||
26 | :align: center | ||
27 | |||
28 | Click on it to display a new field, paste the article URL inside and press your | ||
29 | ``Return`` key. The article is saved. | ||
30 | |||
31 | By using a browser add-on | ||
32 | ^^^^^^^^^^^^^^^^^^^^^^^^^ | ||
33 | |||
34 | Firefox | ||
35 | """"""" | ||
36 | |||
37 | You can download the `Firefox addon here <https://addons.mozilla.org/firefox/addon/wallabag-v2/>`_. | ||
38 | |||
39 | Chrome | ||
40 | """""" | ||
41 | |||
42 | You can download the `Chrome addon here <https://chrome.google.com/webstore/detail/wallabagger/gbmgphmejlcoihgedabhgjdkcahacjlj?hl=fr>`_. | ||
43 | |||
44 | By using your smarphone application | ||
45 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ||
46 | |||
47 | Android | ||
48 | """"""" | ||
49 | |||
50 | You can download the `Android application here <https://play.google.com/store/apps/details?id=fr.gaulupeau.apps.InThePoche>`_. | ||
51 | |||
52 | Windows Phone | ||
53 | """"""""""""" | ||
54 | |||
55 | You can downlaod the `Windows Phone application here <https://www.microsoft.com/store/apps/9nblggh5x3p6>`_. | ||
56 | |||
57 | Download your articles | ||
58 | ---------------------- | ||
59 | |||
60 | You can download each article in several formats: ePUB, MOBI, PDF, XML, JSON, CSV. | ||
61 | |||
62 | On the article view, click on this icon, in the sidebar: | ||
63 | |||
64 | .. image:: ../../img/user/download_article.png | ||
65 | :alt: download article | ||
66 | :align: center | ||
67 | |||
68 | You can also download a full category (unread, starred, archive) in these formats. | ||
69 | For example, on **Unread** view, click on this icon in the top bar: | ||
70 | |||
71 | .. image:: ../../img/user/download_articles.png | ||
72 | :alt: download articles | ||
73 | :align: center | ||
74 | |||
75 | Share your articles | ||
76 | ------------------- | ||
77 | |||
78 | When you're reading an article, you can share it. Just click on the share button: | ||
79 | |||
80 | .. image:: ../../img/user/share.png | ||
81 | :alt: share article | ||
82 | :align: center | ||
83 | |||
84 | Now, you can share the article: | ||
85 | |||
86 | - with a public URL (you'll have a light view of the article) | ||
87 | - with a tweet | ||
88 | - into your Shaarli | ||
89 | - with a post in Diaspora* | ||
90 | - to Carrot | ||
91 | - with an email | ||
92 | |||
93 | Annotate your articles | ||
94 | ---------------------- | ||
95 | |||
96 | In each article you read, you can write annotations. It's easier to understand with some pictures. | ||
97 | |||
98 | Select the part of the article that you want to annotate and click on the pencil: | ||
99 | |||
100 | .. image:: ../../img/user/annotations_1.png | ||
101 | :alt: Select your text | ||
102 | :align: center | ||
103 | |||
104 | Then, write your annotation: | ||
105 | |||
106 | .. image:: ../../img/user/annotations_2.png | ||
107 | :alt: Write your annotation | ||
108 | :align: center | ||
109 | |||
110 | The text is now highlighted and you can read your annotation if you move the mouse cursor over it. | ||
111 | |||
112 | .. image:: ../../img/user/annotations_3.png | ||
113 | :alt: Read your annotation | ||
114 | :align: center | ||
115 | |||
116 | You can create as many annotations as you wish. | ||
diff --git a/docs/en/user/backup.rst b/docs/en/user/backup.rst index 51721000..f8b480a3 100644 --- a/docs/en/user/backup.rst +++ b/docs/en/user/backup.rst | |||
@@ -1,5 +1,6 @@ | |||
1 | Backup wallabag | 1 | Backup wallabag |
2 | =============== | 2 | =============== |
3 | |||
3 | Because sometimes you may do a mistake with your wallabag and lose data or in case you need to move your wallabag to another server you want to backup your data. | 4 | Because sometimes you may do a mistake with your wallabag and lose data or in case you need to move your wallabag to another server you want to backup your data. |
4 | This articles describes what you need to backup. | 5 | This articles describes what you need to backup. |
5 | 6 | ||
@@ -22,4 +23,4 @@ To backup the SQLite database, you just need to copy the directory `data/db` fro | |||
22 | 23 | ||
23 | Images | 24 | Images |
24 | ------ | 25 | ------ |
25 | The images retrieved by wallabag are stored under `data/assets/images` (the images storage will be implemented in wallabag 2.2). | 26 | The images retrieved by wallabag are stored under `web/assets/images` (the images storage will be implemented in wallabag 2.2). |
diff --git a/docs/en/user/create_account.rst b/docs/en/user/create_account.rst index 2e883c88..8c43867d 100644 --- a/docs/en/user/create_account.rst +++ b/docs/en/user/create_account.rst | |||
@@ -1,5 +1,8 @@ | |||
1 | Create an account | 1 | Create an account and authentication |
2 | ================= | 2 | ==================================== |
3 | |||
4 | Register | ||
5 | -------- | ||
3 | 6 | ||
4 | On the login page, click on ``Register`` button. | 7 | On the login page, click on ``Register`` button. |
5 | 8 | ||
@@ -23,3 +26,17 @@ Your account is now activated. | |||
23 | .. image:: ../../img/user/activated_account.png | 26 | .. image:: ../../img/user/activated_account.png |
24 | :alt: Welcome on board! | 27 | :alt: Welcome on board! |
25 | :align: center | 28 | :align: center |
29 | |||
30 | Login | ||
31 | ----- | ||
32 | |||
33 | Your account is now enabled, congratulations! | ||
34 | |||
35 | To login to wallabag, fill the form on login page. | ||
36 | |||
37 | If you are on your personal computer and you want to stay connected, | ||
38 | you can check the ``Keep me logged in`` checkbox: wallabag will remember you for one year. | ||
39 | |||
40 | .. image:: ../../img/user/login_form.png | ||
41 | :alt: Login form | ||
42 | :align: center | ||
diff --git a/docs/en/user/download_articles.rst b/docs/en/user/download_articles.rst deleted file mode 100644 index 4813776d..00000000 --- a/docs/en/user/download_articles.rst +++ /dev/null | |||
@@ -1,17 +0,0 @@ | |||
1 | Download articles | ||
2 | ================= | ||
3 | |||
4 | You can download each article in several formats: ePUB, MOBI, PDF, XML, JSON, CSV. | ||
5 | |||
6 | On the article view, click on this icon, in the sidebar: | ||
7 | |||
8 | .. image:: ../../img/user/download_article.png | ||
9 | :alt: download article | ||
10 | :align: center | ||
11 | |||
12 | You can also download a full category (unread, starred, archive) in these formats. | ||
13 | For example, on **Unread** view, click on this icon in the top bar: | ||
14 | |||
15 | .. image:: ../../img/user/download_articles.png | ||
16 | :alt: download articles | ||
17 | :align: center | ||
diff --git a/docs/en/user/errors_during_fetching.rst b/docs/en/user/errors_during_fetching.rst index 6684563a..c5e18d3b 100644 --- a/docs/en/user/errors_during_fetching.rst +++ b/docs/en/user/errors_during_fetching.rst | |||
@@ -12,9 +12,7 @@ There may be several reasons: | |||
12 | How can I help to fix that? | 12 | How can I help to fix that? |
13 | --------------------------- | 13 | --------------------------- |
14 | 14 | ||
15 | You can `sending us an email with the article's URL <mailto:hello@wallabag.org>`_. | 15 | You can try to fix this problem by yourself (so we can be focused on improving wallabag internally instead of writing siteconfig :) ). |
16 | |||
17 | Or you can also try to fix this problem by yourself (so we can be focused on improving wallabag internally instead of writing siteconfig :) ). | ||
18 | 16 | ||
19 | You can try to see if it works here: `http://f43.me/feed/test <http://f43.me/feed/test>`_ (it uses almost the same system as wallabag to retrieve content). | 17 | You can try to see if it works here: `http://f43.me/feed/test <http://f43.me/feed/test>`_ (it uses almost the same system as wallabag to retrieve content). |
20 | 18 | ||
diff --git a/docs/en/user/filters.rst b/docs/en/user/filters.rst index ad06819b..4d1df6eb 100644 --- a/docs/en/user/filters.rst +++ b/docs/en/user/filters.rst | |||
@@ -1,7 +1,7 @@ | |||
1 | Filters | 1 | Retrieve your articles thanks to filters |
2 | ======= | 2 | ======================================== |
3 | 3 | ||
4 | To retrieve articles easier, you can use filters. | 4 | To retrieve articles easily, you can use filters. |
5 | Click on the third icon in the top bar. | 5 | Click on the third icon in the top bar. |
6 | 6 | ||
7 | .. image:: ../../img/user/topbar.png | 7 | .. image:: ../../img/user/topbar.png |
diff --git a/docs/en/user/import.rst b/docs/en/user/import.rst index 38cd30c1..269e226c 100644 --- a/docs/en/user/import.rst +++ b/docs/en/user/import.rst | |||
@@ -1,8 +1,18 @@ | |||
1 | Migrate from a third service | 1 | Migrate from ... |
2 | ============================ | 2 | ================ |
3 | 3 | ||
4 | From Pocket | 4 | In wallabag 2.x, you can import data from: |
5 | ----------- | 5 | |
6 | - `Pocket <#id1>`_ | ||
7 | - `Readability <#id2>`_ | ||
8 | - `Instapaper <#instapaper>`_ | ||
9 | - `wallabag 1.x <#wallabag-1-x>`_ | ||
10 | - `wallabag 2.x <#wallabag-2-x>`_ | ||
11 | |||
12 | We also developed `a script to execute migrations via command-line interface <#import-via-command-line-interface-cli>`_. | ||
13 | |||
14 | |||
15 | ------ | ||
6 | 16 | ||
7 | Create a new application on Pocket | 17 | Create a new application on Pocket |
8 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 18 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
@@ -29,8 +39,8 @@ and then on ``Connect to Pocket and import data``. | |||
29 | You need to authorize wallabag to interact with your Pocket account. | 39 | You need to authorize wallabag to interact with your Pocket account. |
30 | Your data will be imported. Data import can be a demanding process for your server. | 40 | Your data will be imported. Data import can be a demanding process for your server. |
31 | 41 | ||
32 | From Readability | 42 | Readability |
33 | ---------------- | 43 | ----------- |
34 | 44 | ||
35 | Export your Readability data | 45 | Export your Readability data |
36 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 46 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
@@ -45,8 +55,8 @@ and then select your json file and upload it. | |||
45 | 55 | ||
46 | Your data will be imported. Data import can be a demanding process for your server. | 56 | Your data will be imported. Data import can be a demanding process for your server. |
47 | 57 | ||
48 | From Instapaper | 58 | Instapaper |
49 | --------------- | 59 | ---------- |
50 | 60 | ||
51 | Export your Instapaper data | 61 | Export your Instapaper data |
52 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 62 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
@@ -61,7 +71,66 @@ and then select your CSV file and upload it. | |||
61 | 71 | ||
62 | Your data will be imported. Data import can be a demanding process for your server. | 72 | Your data will be imported. Data import can be a demanding process for your server. |
63 | 73 | ||
64 | From HTML or JSON file | 74 | wallabag 1.x |
65 | ---------------------- | 75 | ------------ |
76 | |||
77 | If you were using wallabag v1.x, you need to export your data before migrating to wallabag v2.x, because the application and its database changed a lot. In your old wallabag installation, you can export your data, which can be done on the Config page of your old wallabag installation. | ||
78 | |||
79 | .. image:: ../../img/user/export_v1.png | ||
80 | :alt: Exporting from wallabag v1 | ||
81 | :align: center | ||
82 | |||
83 | .. note:: | ||
84 | If you have multiple accounts on the same instance of wallabag, each user must export from v1 and import into v2 its data. | ||
85 | |||
86 | .. note:: | ||
87 | If you encounter issues during the export or the import, don't hesitate to `ask for support <https://www.wallabag.org/pages/support.html>`__. | ||
88 | |||
89 | When you have retrieved the json file containing your entries, you can install wallabag v2 if needed by following `the standard procedure <http://doc.wallabag.org/en/master/user/installation.html>`__. | ||
90 | |||
91 | After creating an user account on your new wallabag v2 instance, you must head over to the `Import` section and select `Import from wallabag v1`. Select your json file and upload it. | ||
92 | |||
93 | .. image:: ../../img/user/import_wallabagv1.png | ||
94 | :alt: Import from wallabag v1 | ||
95 | :align: center | ||
96 | |||
97 | wallabag 2.x | ||
98 | ------------ | ||
99 | |||
100 | From the previous wallabag instance on which you were before, go to `All articles`, then export these articles as json. | ||
101 | |||
102 | .. image:: ../../img/user/export_v2.png | ||
103 | :alt: Export depuis wallabag v2 | ||
104 | :align: center | ||
105 | |||
106 | From your new wallabag instance, create your user account and click on the link in the menu to proceed to import. Choose import from wallabag v2 and select your json file to upload it. | ||
107 | |||
108 | .. note:: | ||
109 | If you encounter issues during the export or the import, don't hesitate to `ask for support <https://www.wallabag.org/pages/support.html>`__. | ||
110 | |||
111 | Import via command-line interface (CLI) | ||
112 | --------------------------------------- | ||
113 | |||
114 | If you have a CLI access on your web server, you can execute this command to import your wallabag v1 export: | ||
115 | |||
116 | :: | ||
117 | |||
118 | bin/console wallabag:import 1 ~/Downloads/wallabag-export-1-2016-04-05.json --env=prod | ||
119 | |||
120 | Please replace values: | ||
121 | |||
122 | * ``1`` is the user identifier in database (The ID of the first user created on wallabag is 1) | ||
123 | * ``~/Downloads/wallabag-export-1-2016-04-05.json`` is the path of your wallabag v1 export | ||
124 | |||
125 | If you want to mark all these entries as read, you can add the ``--markAsRead`` option. | ||
126 | |||
127 | To import a wallabag v2 file, you need to add the option ``--importer=v2``. | ||
128 | |||
129 | You'll have this in return: | ||
130 | |||
131 | :: | ||
66 | 132 | ||
67 | *Feature not yet implemented in wallabag v2.* | 133 | Start : 05-04-2016 11:36:07 --- |
134 | 403 imported | ||
135 | 0 already saved | ||
136 | End : 05-04-2016 11:36:09 --- | ||
diff --git a/docs/en/user/login.rst b/docs/en/user/login.rst deleted file mode 100644 index e66089bd..00000000 --- a/docs/en/user/login.rst +++ /dev/null | |||
@@ -1,13 +0,0 @@ | |||
1 | Login | ||
2 | ===== | ||
3 | |||
4 | Your account is now enabled, congratulations! | ||
5 | |||
6 | To login to wallabag, fill the form on login page. | ||
7 | |||
8 | If you are on your personal computer and you want to stay connected, | ||
9 | you can check the ``Keep me logged in`` checkbox: wallabag will remember you for one year. | ||
10 | |||
11 | .. image:: ../../img/user/login_form.png | ||
12 | :alt: Login form | ||
13 | :align: center | ||
diff --git a/docs/en/user/migration.rst b/docs/en/user/migration.rst deleted file mode 100644 index 42062796..00000000 --- a/docs/en/user/migration.rst +++ /dev/null | |||
@@ -1,66 +0,0 @@ | |||
1 | Migrate from v1 or v2 | ||
2 | ===================== | ||
3 | |||
4 | From wallabag 1.x | ||
5 | ----------------- | ||
6 | |||
7 | If you were using wallabag v1.x, you need to export your data before migrating to wallabag v2.x, because the application and its database changed a lot. In your old wallabag installation, you can export your data, which can be done on the Config page of your old wallabag installation. | ||
8 | |||
9 | .. image:: ../../img/user/export_v1.png | ||
10 | :alt: Exporting from wallabag v1 | ||
11 | :align: center | ||
12 | |||
13 | .. note:: | ||
14 | If you have multiple accounts on the same instance of wallabag, each user must export from v1 and import into v2 its data. | ||
15 | |||
16 | .. note:: | ||
17 | If you encounter issues during the export or the import, don't hesitate to `ask for support <https://www.wallabag.org/pages/support.html>`__. | ||
18 | |||
19 | When you have retrieved the json file containing your entries, you can install wallabag v2 if needed by following `the standard procedure <http://doc.wallabag.org/en/master/user/installation.html>`__. | ||
20 | |||
21 | After creating an user account on your new wallabag v2 instance, you must head over to the `Import` section and select `Import from wallabag v1`. Select your json file and upload it. | ||
22 | |||
23 | .. image:: ../../img/user/import_wallabagv1.png | ||
24 | :alt: Import from wallabag v1 | ||
25 | :align: center | ||
26 | |||
27 | From wallabag 2.x | ||
28 | ----------------- | ||
29 | |||
30 | From the previous wallabag instance on which you were before, go to `All articles`, then export these articles as json. | ||
31 | |||
32 | .. image:: ../../img/user/export_v2.png | ||
33 | :alt: Export depuis wallabag v2 | ||
34 | :align: center | ||
35 | |||
36 | From your new wallabag instance, create your user account and click on the link in the menu to proceed to import. Choose import from wallabag v2 and select your json file to upload it. | ||
37 | |||
38 | .. note:: | ||
39 | If you encounter issues during the export or the import, don't hesitate to `ask for support <https://www.wallabag.org/pages/support.html>`__. | ||
40 | |||
41 | Import via command-line interface (CLI) | ||
42 | --------------------------------------- | ||
43 | |||
44 | If you have a CLI access on your web server, you can execute this command to import your wallabag v1 export: | ||
45 | |||
46 | :: | ||
47 | |||
48 | bin/console wallabag:import 1 ~/Downloads/wallabag-export-1-2016-04-05.json --env=prod | ||
49 | |||
50 | Please replace values: | ||
51 | |||
52 | * ``1`` is the user identifier in database (The ID of the first user created on wallabag is 1) | ||
53 | * ``~/Downloads/wallabag-export-1-2016-04-05.json`` is the path of your wallabag v1 export | ||
54 | |||
55 | If you want to mark all these entries as read, you can add the ``--markAsRead`` option. | ||
56 | |||
57 | To import a wallabag v2 file, you need to add the option ``--importer=v2``. | ||
58 | |||
59 | You'll have this in return: | ||
60 | |||
61 | :: | ||
62 | |||
63 | Start : 05-04-2016 11:36:07 --- | ||
64 | 403 imported | ||
65 | 0 already saved | ||
66 | End : 05-04-2016 11:36:09 --- | ||
diff --git a/docs/en/user/parameters.rst b/docs/en/user/parameters.rst index 6cbd5ae4..6ccc03b4 100644 --- a/docs/en/user/parameters.rst +++ b/docs/en/user/parameters.rst | |||
@@ -1,5 +1,48 @@ | |||
1 | What is the meaning of the parameters? | 1 | What is the meaning of the parameters? |
2 | ====================================== | 2 | ====================================== |
3 | |||
4 | Default `parameters.yml` file | ||
5 | ----------------------------- | ||
6 | |||
7 | Here is the last version of the default `app/config/parameters.yml` file. Be sure that yours respects this one. | ||
8 | If you don't know which parameter you need to set, please leave the default one. | ||
9 | |||
10 | .. code-block:: yml | ||
11 | |||
12 | parameters: | ||
13 | database_driver: pdo_sqlite | ||
14 | database_host: 127.0.0.1 | ||
15 | database_port: null | ||
16 | database_name: symfony | ||
17 | database_user: root | ||
18 | database_password: null | ||
19 | database_path: '%kernel.root_dir%/../data/db/wallabag.sqlite' | ||
20 | database_table_prefix: wallabag_ | ||
21 | database_socket: null | ||
22 | mailer_transport: smtp | ||
23 | mailer_host: 127.0.0.1 | ||
24 | mailer_user: null | ||
25 | mailer_password: null | ||
26 | locale: en | ||
27 | secret: ovmpmAWXRCabNlMgzlzFXDYmCFfzGv | ||
28 | twofactor_auth: true | ||
29 | twofactor_sender: no-reply@wallabag.org | ||
30 | fosuser_registration: true | ||
31 | fosuser_confirmation: true | ||
32 | from_email: no-reply@wallabag.org | ||
33 | rss_limit: 50 | ||
34 | rabbitmq_host: localhost | ||
35 | rabbitmq_port: 5672 | ||
36 | rabbitmq_user: guest | ||
37 | rabbitmq_password: guest | ||
38 | redis_scheme: tcp | ||
39 | redis_host: localhost | ||
40 | redis_port: 6379 | ||
41 | redis_path: null | ||
42 | |||
43 | Meaning of each parameter | ||
44 | ------------------------- | ||
45 | |||
3 | .. csv-table:: Database parameters | 46 | .. csv-table:: Database parameters |
4 | :header: "name", "default", "description" | 47 | :header: "name", "default", "description" |
5 | 48 | ||
diff --git a/docs/en/user/upgrade-2.1.x-2.1.y.rst b/docs/en/user/upgrade-2.1.x-2.1.y.rst deleted file mode 100644 index fb41a07b..00000000 --- a/docs/en/user/upgrade-2.1.x-2.1.y.rst +++ /dev/null | |||
@@ -1,30 +0,0 @@ | |||
1 | Upgrading from 2.1.x to 2.1.y | ||
2 | ============================= | ||
3 | |||
4 | Upgrade on a dedicated web server | ||
5 | --------------------------------- | ||
6 | |||
7 | The last release is published on https://www.wallabag.org/pages/download-wallabag.html. In order to upgrade your wallabag installation and get the last version, run the following commands in you wallabag folder (replace ``2.1.3`` by the last release number): | ||
8 | |||
9 | :: | ||
10 | |||
11 | make update | ||
12 | |||
13 | Upgrade on a shared hosting | ||
14 | --------------------------- | ||
15 | |||
16 | Backup your ``app/config/parameters.yml`` file. | ||
17 | |||
18 | Download the last release of wallabag: | ||
19 | |||
20 | .. code-block:: bash | ||
21 | |||
22 | wget http://wllbg.org/latest-v2-package && tar xvf latest-v2-package | ||
23 | |||
24 | You will find the `md5 hash of the latest package on our website <https://www.wallabag.org/pages/download-wallabag.html>`_. | ||
25 | |||
26 | Extract the archive in your wallabag folder and replace ``app/config/parameters.yml`` with yours. | ||
27 | |||
28 | If you use SQLite, you must also copy your ``data/`` folder inside the new installation. | ||
29 | |||
30 | Empty ``var/cache`` folder. | ||
diff --git a/docs/en/user/upgrade-2.0.x-2.1.1.rst b/docs/en/user/upgrade.rst index 3b39fc8c..544d57eb 100644 --- a/docs/en/user/upgrade-2.0.x-2.1.1.rst +++ b/docs/en/user/upgrade.rst | |||
@@ -1,12 +1,21 @@ | |||
1 | Upgrade your wallabag installation | ||
2 | ================================== | ||
3 | |||
4 | You will find here different ways to upgrade your wallabag: | ||
5 | |||
6 | - `from 2.0.x to 2.1.1 <#upgrade-from-2-0-x-to-2-1-1>`_ | ||
7 | - `from 2.1.x to 2.1.y <#upgrading-from-2-1-x-to-2-1-y>`_ | ||
8 | - `from 1.x to 2.x <#from-wallabag-1-x>`_ | ||
9 | |||
1 | Upgrade from 2.0.x to 2.1.1 | 10 | Upgrade from 2.0.x to 2.1.1 |
2 | =========================== | 11 | --------------------------- |
3 | 12 | ||
4 | .. warning:: | 13 | .. warning:: |
5 | 14 | ||
6 | Before this migration, if you configured the Pocket import by adding your consumer key in Internal settings, please do a backup of it: you'll have to add it into the Config page after the upgrade. | 15 | Before this migration, if you configured the Pocket import by adding your consumer key in Internal settings, please do a backup of it: you'll have to add it into the Config page after the upgrade. |
7 | 16 | ||
8 | Upgrade on a dedicated web server | 17 | Upgrade on a dedicated web server |
9 | --------------------------------- | 18 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
10 | 19 | ||
11 | :: | 20 | :: |
12 | 21 | ||
@@ -19,11 +28,11 @@ Upgrade on a dedicated web server | |||
19 | php bin/console cache:clear --env=prod | 28 | php bin/console cache:clear --env=prod |
20 | 29 | ||
21 | Upgrade on a shared hosting | 30 | Upgrade on a shared hosting |
22 | --------------------------- | 31 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
23 | 32 | ||
24 | Backup your ``app/config/parameters.yml`` file. | 33 | Backup your ``app/config/parameters.yml`` file. |
25 | 34 | ||
26 | Download the last release of wallabag: | 35 | Download the 2.1.1 release of wallabag: |
27 | 36 | ||
28 | .. code-block:: bash | 37 | .. code-block:: bash |
29 | 38 | ||
@@ -33,42 +42,7 @@ Download the last release of wallabag: | |||
33 | 42 | ||
34 | Extract the archive in your wallabag folder and replace ``app/config/parameters.yml`` with yours. | 43 | Extract the archive in your wallabag folder and replace ``app/config/parameters.yml`` with yours. |
35 | 44 | ||
36 | Please check that your ``app/config/parameters.yml`` contains all the required parameters. Here is a default ``parameters.yml`` file. If you don't know which parameter you need to set, please leave the default one. | 45 | Please check that your ``app/config/parameters.yml`` contains all the required parameters. You can find `here a documentation about parameters <http://doc.wallabag.org/en/master/user/parameters.html>`_. |
37 | |||
38 | .. code-block:: yml | ||
39 | |||
40 | parameters: | ||
41 | database_driver: pdo_sqlite | ||
42 | database_host: 127.0.0.1 | ||
43 | database_port: null | ||
44 | database_name: symfony | ||
45 | database_user: root | ||
46 | database_password: null | ||
47 | database_path: '%kernel.root_dir%/../data/db/wallabag.sqlite' | ||
48 | database_table_prefix: wallabag_ | ||
49 | database_socket: null | ||
50 | mailer_transport: smtp | ||
51 | mailer_host: 127.0.0.1 | ||
52 | mailer_user: null | ||
53 | mailer_password: null | ||
54 | locale: en | ||
55 | secret: ovmpmAWXRCabNlMgzlzFXDYmCFfzGv | ||
56 | twofactor_auth: true | ||
57 | twofactor_sender: no-reply@wallabag.org | ||
58 | fosuser_registration: true | ||
59 | fosuser_confirmation: true | ||
60 | from_email: no-reply@wallabag.org | ||
61 | rss_limit: 50 | ||
62 | rabbitmq_host: localhost | ||
63 | rabbitmq_port: 5672 | ||
64 | rabbitmq_user: guest | ||
65 | rabbitmq_password: guest | ||
66 | redis_scheme: tcp | ||
67 | redis_host: localhost | ||
68 | redis_port: 6379 | ||
69 | redis_path: null | ||
70 | |||
71 | You can find `here a documentation about parameters <http://doc.wallabag.org/en/master/user/parameters.html>`_. | ||
72 | 46 | ||
73 | If you use SQLite, you must also copy your ``data/`` folder inside the new installation. | 47 | If you use SQLite, you must also copy your ``data/`` folder inside the new installation. |
74 | 48 | ||
@@ -85,3 +59,45 @@ You must run some SQL queries to upgrade your database. We assume that the table | |||
85 | INSERT INTO `wallabag_craue_config_setting` (`name`, `value`, `section`) VALUES ('import_with_rabbitmq', '0', 'import'); | 59 | INSERT INTO `wallabag_craue_config_setting` (`name`, `value`, `section`) VALUES ('import_with_rabbitmq', '0', 'import'); |
86 | ALTER TABLE `wallabag_config` ADD `pocket_consumer_key` VARCHAR(255) DEFAULT NULL; | 60 | ALTER TABLE `wallabag_config` ADD `pocket_consumer_key` VARCHAR(255) DEFAULT NULL; |
87 | DELETE FROM `wallabag_craue_config_setting` WHERE `name` = 'pocket_consumer_key'; | 61 | DELETE FROM `wallabag_craue_config_setting` WHERE `name` = 'pocket_consumer_key'; |
62 | |||
63 | Upgrading from 2.1.x to 2.1.y | ||
64 | ----------------------------- | ||
65 | |||
66 | Upgrade on a dedicated web server | ||
67 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ||
68 | |||
69 | In order to upgrade your wallabag installation and get the last version, run the following command in you wallabag folder: | ||
70 | |||
71 | :: | ||
72 | |||
73 | make update | ||
74 | |||
75 | Upgrade on a shared hosting | ||
76 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ||
77 | |||
78 | Backup your ``app/config/parameters.yml`` file. | ||
79 | |||
80 | Download the last release of wallabag: | ||
81 | |||
82 | .. code-block:: bash | ||
83 | |||
84 | wget http://wllbg.org/latest-v2-package && tar xvf latest-v2-package | ||
85 | |||
86 | You will find the `md5 hash of the latest package on our website <https://www.wallabag.org/pages/download-wallabag.html>`_. | ||
87 | |||
88 | Extract the archive in your wallabag folder and replace ``app/config/parameters.yml`` with yours. | ||
89 | |||
90 | Please check that your ``app/config/parameters.yml`` contains all the required parameters. You can find `here a documentation about parameters <http://doc.wallabag.org/en/master/user/parameters.html>`_. | ||
91 | |||
92 | If you use SQLite, you must also copy your ``data/`` folder inside the new installation. | ||
93 | |||
94 | Empty ``var/cache`` folder. | ||
95 | |||
96 | From wallabag 1.x | ||
97 | ----------------- | ||
98 | |||
99 | There is no automatic script to update from wallabag 1.x to wallabag 2.x. You need to: | ||
100 | |||
101 | - export your data | ||
102 | - install wallabag 2.x (`read the installation documentation <http://doc.wallabag.org/en/master/user/installation.html>`_ ) | ||
103 | - import data in this fresh installation (`read the import documentation <http://doc.wallabag.org/en/master/user/import.html>`_ ) | ||