]> git.immae.eu Git - github/wallabag/wallabag.git/blame - docs/en/user/configuration.rst
Alert that 2FA must be authorized in app/config/parameters.yml
[github/wallabag/wallabag.git] / docs / en / user / configuration.rst
CommitLineData
59e91bc8
NL
1Configuration
2=============
3
4Now you're logged in, it's time to configure your account as you want.
5
3495f78d
NL
6Click on ``Config`` menu. You have five tabs: ``Settings``, ``RSS``,
7``User information``, ``Password`` and ``Tagging rules``.
59e91bc8
NL
8
9Settings
10--------
11
12Theme
13~~~~~
14
540a9bc4 15wallabag is customizable. You can choose your prefered theme here. The default theme is
3495f78d 16``Material``, it's the theme used in the documentation screenshots.
59e91bc8
NL
17
18Items per page
19~~~~~~~~~~~~~~
20
21You can change the number of articles displayed on each page.
22
37b37172
NL
23Reading speed
24~~~~~~~~~~~~~
25
78becd54 26wallabag calculates a reading time for each article. You can define here, thanks to this list, if you are
37b37172
NL
27a fast or a slow reader. wallabag will recalculate the reading time for each article.
28
a42f38d9
NL
29Where do you want to be redirected after mark an article as read?
30~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
31
32Each time you'll do some actions (after marking an article as read/favorite,
33after deleting an article, after removing a tag from an entry), you can be redirected:
34
35- To the homepage
36- To the current page
37
59e91bc8
NL
38Language
39~~~~~~~~
40
540a9bc4 41You can change the language of wallabag interface.
59e91bc8
NL
42
43RSS
44---
45
46wallabag provides RSS feeds for each article status: unread, starred and archive.
47
48Firstly, you need to create a personal token: click on ``Create your token``.
49It's possible to change your token by clicking on ``Reset your token``.
50
51Now you have three links, one for each status: add them into your favourite RSS reader.
52
53You can also define how many articles you want in each RSS feed (default value: 50).
54
16eb124e
JB
55There is also a pagination available for these feeds. You can add ``?page=2`` to jump to the second page.
56The pagination follow `the RFC <https://tools.ietf.org/html/rfc5005#page-4>`_ about that, which means you'll find the ``next``, ``previous`` & ``last`` page link inside the `<channel>` tag of each RSS feed.
57
59e91bc8
NL
58User information
59----------------
60
61You can change your name, your email address and enable ``Two factor authentication``.
62
bb0c78f4
NL
63If the wallabag instance has more than one enabled user, you can delete your account here. **Take care, we delete all your data**.
64
bb624c02
NL
65Two factor authentication (2FA)
66~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
59e91bc8 67
3495f78d
NL
68 Two-factor authentication (also known as 2FA) is a technology patented in 1984
69 that provides identification of users by means of the combination of two different components.
59e91bc8 70
38fe5419
NF
71 https://en.wikipedia.org/wiki/Two-factor_authentication
72
73**Warning**: enabling 2FA from the configuration interface is only possible if it has been authorized before in `app/config/parameters.yml` by setting the *twofactor_auth* property to `true` (do not forget to run `php bin/console cache:clear -e=prod` after modification).
59e91bc8 74
3495f78d
NL
75If you enable 2FA, each time you want to login to wallabag, you'll receive
76a code by email. You have to put this code on the following form.
59e91bc8
NL
77
78.. image:: ../../img/user/2FA_form.png
3495f78d
NL
79 :alt: Two factor authentication
80 :align: center
59e91bc8 81
3495f78d
NL
82If you don't want to receive a code each time you want to login, you can check
83the ``I'm on a trusted computer`` checkbox: wallabag will remember you for 15 days.
59e91bc8
NL
84
85Password
86--------
87
3495f78d 88You can change your password here (8 characters minimum).
a42938f4
NL
89
90Tagging rules
91-------------
92
3495f78d
NL
93If you want to automatically assign a tag to new articles, this part
94of the configuration is for you.
a42938f4
NL
95
96What does « tagging rules » mean?
97~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
98
99They are rules used by wallabag to automatically tag new entries.
3495f78d
NL
100Each time a new entry is added, all the tagging rules will be used to add
101the tags you configured, thus saving you the trouble to manually classify your entries.
a42938f4
NL
102
103How do I use them?
104~~~~~~~~~~~~~~~~~~
105
3495f78d
NL
106Let assume you want to tag new entries as *« short reading »* when
107the reading time is inferior to 3 minutes.
108In that case, you should put « readingTime <= 3 » in the **Rule** field
109and *« short reading »* in the **Tags** field.
a42938f4 110Several tags can added simultaneously by separating them by a comma: *« short reading, must read »*.
3495f78d
NL
111Complex rules can be written by using predefined operators:
112if *« readingTime >= 5 AND domainName = "github.com" »* then tag as *« long reading, github »*.
a42938f4
NL
113
114Which variables and operators can I use to write rules?
115~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
116
8edb250c 117The following variables and operators can be used to create tagging rules (be careful, for some values, you need to add quotes, for example ``language = "en"``):
a42938f4
NL
118
119=========== ============================================== ======== ==========
120Variable Meaning Operator Meaning
121----------- ---------------------------------------------- -------- ----------
122title Title of the entry <= Less than…
123url URL of the entry < Strictly less than…
124isArchived Whether the entry is archived or not => Greater than…
3247b907 125isStarred Whether the entry is starred or not > Strictly greater than…
a42938f4
NL
126content The entry's content = Equal to…
127language The entry's language != Not equal to…
128mimetype The entry's mime-type OR One rule or another
129readingTime The estimated entry's reading time, in minutes AND One rule and another
130domainName The domain name of the entry matches Tests that a subject is matches a search (case-insensitive). Example: title matches "football"
3495f78d 131=========== ============================================== ======== ==========