diff options
11 files changed, 50 insertions, 26 deletions
diff --git a/app/config/capistrano/deploy/staging.rb b/app/config/capistrano/deploy/staging.rb index ccd05b4d..ad899a85 100644 --- a/app/config/capistrano/deploy/staging.rb +++ b/app/config/capistrano/deploy/staging.rb | |||
@@ -1,2 +1,2 @@ | |||
1 | set :branch, 'v2' | 1 | set :branch, 'master' |
2 | set :deploy_to, '/var/www/v2.wallabag.org/web/' | 2 | set :deploy_to, '/var/www/v2.wallabag.org/web/' |
diff --git a/docs/en/developer/api.rst b/docs/en/developer/api.rst index ac00d3a4..38f0377c 100644 --- a/docs/en/developer/api.rst +++ b/docs/en/developer/api.rst | |||
@@ -69,6 +69,12 @@ You'll have this in return: | |||
69 | 69 | ||
70 | We'll work with the ``access_token`` value in our next calls. | 70 | We'll work with the ``access_token`` value in our next calls. |
71 | 71 | ||
72 | Curl example: | ||
73 | |||
74 | :: | ||
75 | |||
76 | curl -s "https://localhost:8000/oauth/v2/token?grant_type=password&client_id=1_3o53gl30vhgk0c8ks4cocww08o84448osgo40wgw4gwkoo8skc&client_secret=636ocbqo978ckw0gsw4gcwwocg8044sco0w8w84cws48ggogs4&username=wallabag&password=wallabag" | ||
77 | |||
72 | Getting existing entries | 78 | Getting existing entries |
73 | ------------------------ | 79 | ------------------------ |
74 | 80 | ||
@@ -120,6 +126,12 @@ returns: | |||
120 | 126 | ||
121 | The ``items`` array is empty. | 127 | The ``items`` array is empty. |
122 | 128 | ||
129 | Curl example: | ||
130 | |||
131 | :: | ||
132 | |||
133 | curl --get "https://localhost:8000/api/entries.html?access_token=ZGJmNTA2MDdmYTdmNWFiZjcxOWY3MWYyYzkyZDdlNWIzOTU4NWY3NTU1MDFjOTdhMTk2MGI3YjY1ZmI2NzM5MA" | ||
134 | |||
123 | Adding your first entry | 135 | Adding your first entry |
124 | ----------------------- | 136 | ----------------------- |
125 | 137 | ||
@@ -174,6 +186,12 @@ returns | |||
174 | 186 | ||
175 | Now, if you execute the previous command (see **Get existing entries**), you'll have data. | 187 | Now, if you execute the previous command (see **Get existing entries**), you'll have data. |
176 | 188 | ||
189 | Curl example: | ||
190 | |||
191 | :: | ||
192 | |||
193 | curl "https://localhost:8000/api/entries.html?access_token=ZGJmNTA2MDdmYTdmNWFiZjcxOWY3MWYyYzkyZDdlNWIzOTU4NWY3NTU1MDFjOTdhMTk2MGI3YjY1ZmI2NzM5MA&url=http://www.numerama.com/tech/160115-le-pocket-libre-wallabag-fait-le-plein-de-fonctionnalites.html" | ||
194 | |||
177 | Deleting an entry | 195 | Deleting an entry |
178 | ----------------- | 196 | ----------------- |
179 | 197 | ||
@@ -227,6 +245,12 @@ returns | |||
227 | 245 | ||
228 | And if you want to list the existing entries (see **Get existing entries**), the array is empty. | 246 | And if you want to list the existing entries (see **Get existing entries**), the array is empty. |
229 | 247 | ||
248 | Curl example: | ||
249 | |||
250 | :: | ||
251 | |||
252 | curl --request DELETE "https://localhost:8000/api/entries/1.html?access_token=ZGJmNTA2MDdmYTdmNWFiZjcxOWY3MWYyYzkyZDdlNWIzOTU4NWY3NTU1MDFjOTdhMTk2MGI3YjY1ZmI2NzM5MA" | ||
253 | |||
230 | Other methods | 254 | Other methods |
231 | ------------- | 255 | ------------- |
232 | 256 | ||
diff --git a/docs/en/developer/translate.rst b/docs/en/developer/translate.rst index 39478fd5..f1a12adf 100644 --- a/docs/en/developer/translate.rst +++ b/docs/en/developer/translate.rst | |||
@@ -12,15 +12,15 @@ Translation files | |||
12 | As wallabag is mainly developed by a French team, please consider that french | 12 | As wallabag is mainly developed by a French team, please consider that french |
13 | translation is the most updated one and please copy it to create your own translation. | 13 | translation is the most updated one and please copy it to create your own translation. |
14 | 14 | ||
15 | You can find translation files here: https://github.com/wallabag/wallabag/tree/v2/src/Wallabag/CoreBundle/Resources/translations. | 15 | You can find translation files here: https://github.com/wallabag/wallabag/tree/master/src/Wallabag/CoreBundle/Resources/translations. |
16 | 16 | ||
17 | You have to create ``messages.CODE.yml``, where CODE | 17 | You have to create ``messages.CODE.yml``, where CODE |
18 | is the ISO 639-1 code of your language (`see wikipedia <https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes>`__). | 18 | is the ISO 639-1 code of your language (`see wikipedia <https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes>`__). |
19 | 19 | ||
20 | Other files to translate: | 20 | Other files to translate: |
21 | 21 | ||
22 | - https://github.com/wallabag/wallabag/tree/v2/app/Resources/CraueConfigBundle/translations. | 22 | - https://github.com/wallabag/wallabag/tree/master/app/Resources/CraueConfigBundle/translations. |
23 | - https://github.com/wallabag/wallabag/tree/v2/app/Resources/FOSUserBundle/translations. | 23 | - https://github.com/wallabag/wallabag/tree/master/app/Resources/FOSUserBundle/translations. |
24 | 24 | ||
25 | You have to create ``THE_TRANSLATION_FILE.CODE.yml`` files. | 25 | You have to create ``THE_TRANSLATION_FILE.CODE.yml`` files. |
26 | 26 | ||
@@ -28,7 +28,7 @@ Configuration file | |||
28 | ~~~~~~~~~~~~~~~~~~ | 28 | ~~~~~~~~~~~~~~~~~~ |
29 | 29 | ||
30 | You have to edit `app/config/config.yml | 30 | You have to edit `app/config/config.yml |
31 | <https://github.com/wallabag/wallabag/blob/v2/app/config/config.yml>`__ to display | 31 | <https://github.com/wallabag/wallabag/blob/master/app/config/config.yml>`__ to display |
32 | your language on Configuration page of wallabag (to allow users to switch to this new translation). | 32 | your language on Configuration page of wallabag (to allow users to switch to this new translation). |
33 | 33 | ||
34 | Under the ``wallabag_core.languages`` section, you have to add a new line with | 34 | Under the ``wallabag_core.languages`` section, you have to add a new line with |
@@ -55,6 +55,6 @@ wallabag documentation | |||
55 | 55 | ||
56 | Contrary to the web application, the main language for documentation is english. | 56 | Contrary to the web application, the main language for documentation is english. |
57 | 57 | ||
58 | Documentation files are stored here: https://github.com/wallabag/wallabag/tree/v2/docs | 58 | Documentation files are stored here: https://github.com/wallabag/wallabag/tree/master/docs |
59 | 59 | ||
60 | You need to respect the ``en`` folder structure when you create your own translation. | 60 | You need to respect the ``en`` folder structure when you create your own translation. |
diff --git a/docs/fr/developer/translate.rst b/docs/fr/developer/translate.rst index 410aafe6..cc5336ee 100644 --- a/docs/fr/developer/translate.rst +++ b/docs/fr/developer/translate.rst | |||
@@ -13,15 +13,15 @@ Fichiers de traductions | |||
13 | cette traduction qui est considérée comme la plus récente. Merci de vous baser | 13 | cette traduction qui est considérée comme la plus récente. Merci de vous baser |
14 | sur celle-ci pour créer votre traduction. | 14 | sur celle-ci pour créer votre traduction. |
15 | 15 | ||
16 | Les principaux fichiers de traduction se trouvent ici : https://github.com/wallabag/wallabag/tree/v2/src/Wallabag/CoreBundle/Resources/translations. | 16 | Les principaux fichiers de traduction se trouvent ici : https://github.com/wallabag/wallabag/tree/master/src/Wallabag/CoreBundle/Resources/translations. |
17 | 17 | ||
18 | Vous devez créer le fichier ``messages.CODE.yml``, | 18 | Vous devez créer le fichier ``messages.CODE.yml``, |
19 | où CODE est le code ISO 639-1 de votre langue (`cf wikipedia <https://fr.wikipedia.org/wiki/Liste_des_codes_ISO_639-1>`__). | 19 | où CODE est le code ISO 639-1 de votre langue (`cf wikipedia <https://fr.wikipedia.org/wiki/Liste_des_codes_ISO_639-1>`__). |
20 | 20 | ||
21 | Autres fichiers à traduire : | 21 | Autres fichiers à traduire : |
22 | 22 | ||
23 | - https://github.com/wallabag/wallabag/tree/v2/app/Resources/CraueConfigBundle/translations. | 23 | - https://github.com/wallabag/wallabag/tree/master/app/Resources/CraueConfigBundle/translations. |
24 | - https://github.com/wallabag/wallabag/tree/v2/app/Resources/FOSUserBundle/translations. | 24 | - https://github.com/wallabag/wallabag/tree/master/app/Resources/FOSUserBundle/translations. |
25 | 25 | ||
26 | Vous devez créer les fichiers ``LE_FICHIER_DE_TRADUCTION.CODE.yml``. | 26 | Vous devez créer les fichiers ``LE_FICHIER_DE_TRADUCTION.CODE.yml``. |
27 | 27 | ||
@@ -29,7 +29,7 @@ Fichier de configuration | |||
29 | ~~~~~~~~~~~~~~~~~~~~~~~~ | 29 | ~~~~~~~~~~~~~~~~~~~~~~~~ |
30 | 30 | ||
31 | Vous devez éditer `app/config/config.yml | 31 | Vous devez éditer `app/config/config.yml |
32 | <https://github.com/wallabag/wallabag/blob/v2/app/config/config.yml>`__ pour | 32 | <https://github.com/wallabag/wallabag/blob/master/app/config/config.yml>`__ pour |
33 | afficher votre langue dans la page Configuration de wallabag (pour permettre aux | 33 | afficher votre langue dans la page Configuration de wallabag (pour permettre aux |
34 | utilisateurs de choisir cette nouvelle traduction). | 34 | utilisateurs de choisir cette nouvelle traduction). |
35 | 35 | ||
@@ -57,6 +57,6 @@ Documentation de wallabag | |||
57 | 57 | ||
58 | Contrairement à l'application, la langue principale de la documentation est l'anglais | 58 | Contrairement à l'application, la langue principale de la documentation est l'anglais |
59 | 59 | ||
60 | Les fichiers de documentation se trouvent ici : https://github.com/wallabag/wallabag/tree/v2/docs | 60 | Les fichiers de documentation se trouvent ici : https://github.com/wallabag/wallabag/tree/master/docs |
61 | 61 | ||
62 | Vous devez respecter la structure du dossier ``en`` quand vous crééz votre traduction. | 62 | Vous devez respecter la structure du dossier ``en`` quand vous crééz votre traduction. |
diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Developer/index.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Developer/index.html.twig index 67696a7b..001c5cbb 100644 --- a/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Developer/index.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Developer/index.html.twig | |||
@@ -14,7 +14,7 @@ | |||
14 | 14 | ||
15 | <ul> | 15 | <ul> |
16 | <li><a href="{{ path('developer_howto_firstapp') }}">{{ 'developer.how_to_first_app'|trans }}</a></li> | 16 | <li><a href="{{ path('developer_howto_firstapp') }}">{{ 'developer.how_to_first_app'|trans }}</a></li> |
17 | <li><a href="http://doc.wallabag.org/en/v2/developer/api.html">{{ 'developer.full_documentation'|trans }}</a></li> | 17 | <li><a href="http://doc.wallabag.org/en/master/developer/api.html">{{ 'developer.full_documentation'|trans }}</a></li> |
18 | <li><a href="{{ path('nelmio_api_doc_index') }}">{{ 'developer.list_methods'|trans }}</a></li> | 18 | <li><a href="{{ path('nelmio_api_doc_index') }}">{{ 'developer.list_methods'|trans }}</a></li> |
19 | </ul> | 19 | </ul> |
20 | 20 | ||
diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Static/about.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Static/about.html.twig index 0b54556a..404d2857 100644 --- a/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Static/about.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Static/about.html.twig | |||
@@ -25,8 +25,8 @@ | |||
25 | 25 | ||
26 | <dl> | 26 | <dl> |
27 | <dt>{{ 'about.getting_help.documentation'|trans }}</dt> | 27 | <dt>{{ 'about.getting_help.documentation'|trans }}</dt> |
28 | <dd><a href="http://doc.wallabag.org/en/v2/">english</a></dd> | 28 | <dd><a href="http://doc.wallabag.org/en/master/">english</a></dd> |
29 | <dd><a href="http://doc.wallabag.org/fr/v2/">français</a></dd> | 29 | <dd><a href="http://doc.wallabag.org/fr/master/">français</a></dd> |
30 | 30 | ||
31 | <dt>{{ 'about.getting_help.bug_reports'|trans }}</dt> | 31 | <dt>{{ 'about.getting_help.bug_reports'|trans }}</dt> |
32 | <dd>{{ 'about.getting_help.support'|trans|raw }}</dd> | 32 | <dd>{{ 'about.getting_help.support'|trans|raw }}</dd> |
diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Static/quickstart.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Static/quickstart.html.twig index 5f65ce15..b3d3d5a0 100644 --- a/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Static/quickstart.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Static/quickstart.html.twig | |||
@@ -48,10 +48,10 @@ | |||
48 | 48 | ||
49 | <h4>{{ 'quickstart.docs.title'|trans }}</h4> | 49 | <h4>{{ 'quickstart.docs.title'|trans }}</h4> |
50 | <ul> | 50 | <ul> |
51 | <li><a href="http://doc.wallabag.org/en/v2/user/annotations.html">{{ 'quickstart.docs.annotate'|trans }}</a></li> | 51 | <li><a href="http://doc.wallabag.org/en/master/user/annotations.html">{{ 'quickstart.docs.annotate'|trans }}</a></li> |
52 | <li><a href="http://doc.wallabag.org/en/v2/user/download_articles.html">{{ 'quickstart.docs.export'|trans }}</a></li> | 52 | <li><a href="http://doc.wallabag.org/en/master/user/download_articles.html">{{ 'quickstart.docs.export'|trans }}</a></li> |
53 | <li><a href="http://doc.wallabag.org/en/v2/user/filters.html">{{ 'quickstart.docs.search_filters'|trans }}</a></li> | 53 | <li><a href="http://doc.wallabag.org/en/master/user/filters.html">{{ 'quickstart.docs.search_filters'|trans }}</a></li> |
54 | <li><a href="http://doc.wallabag.org/en/v2/user/errors_during_fetching.html">{{ 'quickstart.docs.fetching_errors'|trans }}</a></li> | 54 | <li><a href="http://doc.wallabag.org/en/master/user/errors_during_fetching.html">{{ 'quickstart.docs.fetching_errors'|trans }}</a></li> |
55 | <li><a href="http://doc.wallabag.org/">{{ 'quickstart.docs.all_docs'|trans }}</a></li> | 55 | <li><a href="http://doc.wallabag.org/">{{ 'quickstart.docs.all_docs'|trans }}</a></li> |
56 | </ul> | 56 | </ul> |
57 | 57 | ||
diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/material/Developer/index.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/material/Developer/index.html.twig index 67696a7b..001c5cbb 100644 --- a/src/Wallabag/CoreBundle/Resources/views/themes/material/Developer/index.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/themes/material/Developer/index.html.twig | |||
@@ -14,7 +14,7 @@ | |||
14 | 14 | ||
15 | <ul> | 15 | <ul> |
16 | <li><a href="{{ path('developer_howto_firstapp') }}">{{ 'developer.how_to_first_app'|trans }}</a></li> | 16 | <li><a href="{{ path('developer_howto_firstapp') }}">{{ 'developer.how_to_first_app'|trans }}</a></li> |
17 | <li><a href="http://doc.wallabag.org/en/v2/developer/api.html">{{ 'developer.full_documentation'|trans }}</a></li> | 17 | <li><a href="http://doc.wallabag.org/en/master/developer/api.html">{{ 'developer.full_documentation'|trans }}</a></li> |
18 | <li><a href="{{ path('nelmio_api_doc_index') }}">{{ 'developer.list_methods'|trans }}</a></li> | 18 | <li><a href="{{ path('nelmio_api_doc_index') }}">{{ 'developer.list_methods'|trans }}</a></li> |
19 | </ul> | 19 | </ul> |
20 | 20 | ||
diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/material/Static/about.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/material/Static/about.html.twig index f77f092e..d0b94279 100644 --- a/src/Wallabag/CoreBundle/Resources/views/themes/material/Static/about.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/themes/material/Static/about.html.twig | |||
@@ -34,8 +34,8 @@ | |||
34 | <div id="set2" class="col s12"> | 34 | <div id="set2" class="col s12"> |
35 | <dl> | 35 | <dl> |
36 | <dt>{{ 'about.getting_help.documentation'|trans }}</dt> | 36 | <dt>{{ 'about.getting_help.documentation'|trans }}</dt> |
37 | <dd><a href="http://doc.wallabag.org/en/v2/">english</a></dd> | 37 | <dd><a href="http://doc.wallabag.org/en/master/">english</a></dd> |
38 | <dd><a href="http://doc.wallabag.org/fr/v2/">français</a></dd> | 38 | <dd><a href="http://doc.wallabag.org/fr/master/">français</a></dd> |
39 | 39 | ||
40 | <dt>{{ 'about.getting_help.bug_reports'|trans }}</dt> | 40 | <dt>{{ 'about.getting_help.bug_reports'|trans }}</dt> |
41 | <dd>{{ 'about.getting_help.support'|trans|raw }}</dd> | 41 | <dd>{{ 'about.getting_help.support'|trans|raw }}</dd> |
diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/material/Static/quickstart.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/material/Static/quickstart.html.twig index 706c4a79..59dd037b 100644 --- a/src/Wallabag/CoreBundle/Resources/views/themes/material/Static/quickstart.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/themes/material/Static/quickstart.html.twig | |||
@@ -53,10 +53,10 @@ | |||
53 | 53 | ||
54 | <h4>{{ 'quickstart.docs.title'|trans }}</h4> | 54 | <h4>{{ 'quickstart.docs.title'|trans }}</h4> |
55 | <ul> | 55 | <ul> |
56 | <li><a href="http://doc.wallabag.org/en/v2/user/annotations.html">{{ 'quickstart.docs.annotate'|trans }}</a></li> | 56 | <li><a href="http://doc.wallabag.org/en/master/user/annotations.html">{{ 'quickstart.docs.annotate'|trans }}</a></li> |
57 | <li><a href="http://doc.wallabag.org/en/v2/user/download_articles.html">{{ 'quickstart.docs.export'|trans }}</a></li> | 57 | <li><a href="http://doc.wallabag.org/en/master/user/download_articles.html">{{ 'quickstart.docs.export'|trans }}</a></li> |
58 | <li><a href="http://doc.wallabag.org/en/v2/user/filters.html">{{ 'quickstart.docs.search_filters'|trans }}</a></li> | 58 | <li><a href="http://doc.wallabag.org/en/master/user/filters.html">{{ 'quickstart.docs.search_filters'|trans }}</a></li> |
59 | <li><a href="http://doc.wallabag.org/en/v2/user/errors_during_fetching.html">{{ 'quickstart.docs.fetching_errors'|trans }}</a></li> | 59 | <li><a href="http://doc.wallabag.org/en/master/user/errors_during_fetching.html">{{ 'quickstart.docs.fetching_errors'|trans }}</a></li> |
60 | <li><a href="http://doc.wallabag.org/">{{ 'quickstart.docs.all_docs'|trans }}</a></li> | 60 | <li><a href="http://doc.wallabag.org/">{{ 'quickstart.docs.all_docs'|trans }}</a></li> |
61 | </ul> | 61 | </ul> |
62 | 62 | ||
diff --git a/src/Wallabag/UserBundle/Resources/views/Registration/confirmed.html.twig b/src/Wallabag/UserBundle/Resources/views/Registration/confirmed.html.twig index 674eb217..aa4b9bca 100644 --- a/src/Wallabag/UserBundle/Resources/views/Registration/confirmed.html.twig +++ b/src/Wallabag/UserBundle/Resources/views/Registration/confirmed.html.twig | |||
@@ -11,7 +11,7 @@ | |||
11 | {% endif %} | 11 | {% endif %} |
12 | </div> | 12 | </div> |
13 | <div class="card-action center"> | 13 | <div class="card-action center"> |
14 | <a href="{{ path('homepage') }}" class="waves-effect waves-light btn"><i class="material-icons left"></i> {{ 'security.register.go_to_account'|trans }}</a> | 14 | <a href="{{ path('homepage') }}" class="waves-effect waves-light btn"><i class="material-icons left"></i> {{ 'security.register.go_to_account'|trans({},'messages') }}</a> |
15 | </div> | 15 | </div> |
16 | </div> | 16 | </div> |
17 | {% endblock fos_user_content %} | 17 | {% endblock fos_user_content %} |