forked from wallabag/wallabag
Compare commits
6 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 08dea0edb1 | |||
| 79c44cb4f8 | |||
| 9c0bc04cfe | |||
| dafde7fb2f | |||
| 9481187896 | |||
| 1c90663b79 |
@ -53,7 +53,7 @@ before_install:
|
|||||||
- if [[ $TRAVIS_REPO_SLUG = wallabag/wallabag ]]; then cp .composer-auth.json ~/.composer/auth.json; fi;
|
- if [[ $TRAVIS_REPO_SLUG = wallabag/wallabag ]]; then cp .composer-auth.json ~/.composer/auth.json; fi;
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- travis_wait composer install --no-interaction --no-progress --prefer-dist -o
|
- travis_wait composer update --no-interaction --no-progress
|
||||||
- ant prepare-$DB
|
- ant prepare-$DB
|
||||||
- bin/phpunit -v
|
- bin/phpunit -v
|
||||||
- if [ "$CS_FIXER" = "run" ]; then php bin/php-cs-fixer fix src/ --verbose --dry-run ; fi;
|
- if [ "$CS_FIXER" = "run" ]; then php bin/php-cs-fixer fix src/ --verbose --dry-run ; fi;
|
||||||
|
|||||||
10
CHANGELOG.md
10
CHANGELOG.md
@ -2,6 +2,16 @@
|
|||||||
|
|
||||||
All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org/).
|
All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org/).
|
||||||
|
|
||||||
|
## [2.0.3] - 2016-04-22
|
||||||
|
|
||||||
|
### Added
|
||||||
|
|
||||||
|
- [#1962](https://github.com/wallabag/wallabag/pull/1962) cURL examples in documentation about API (Dirk Deimeke)
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
|
||||||
|
- Forgot `composer.lock` file in 2.0.2 release so some users may encounter `Fatal error: Out of memory` error during installation
|
||||||
|
|
||||||
## [2.0.2] - 2016-04-21
|
## [2.0.2] - 2016-04-21
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
|||||||
@ -16,7 +16,7 @@ Then you can install wallabag by executing the following commands:
|
|||||||
```
|
```
|
||||||
git clone https://github.com/wallabag/wallabag.git
|
git clone https://github.com/wallabag/wallabag.git
|
||||||
cd wallabag
|
cd wallabag
|
||||||
git checkout 2.0.2
|
git checkout 2.0.3
|
||||||
SYMFONY_ENV=prod composer install --no-dev -o --prefer-dist
|
SYMFONY_ENV=prod composer install --no-dev -o --prefer-dist
|
||||||
php bin/console wallabag:install --env=prod
|
php bin/console wallabag:install --env=prod
|
||||||
php bin/console server:run --env=prod
|
php bin/console server:run --env=prod
|
||||||
|
|||||||
@ -28,7 +28,7 @@ framework:
|
|||||||
assets: ~
|
assets: ~
|
||||||
|
|
||||||
wallabag_core:
|
wallabag_core:
|
||||||
version: 2.0.2
|
version: 2.0.3
|
||||||
paypal_url: "https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=9UBA65LG3FX9Y&lc=gb"
|
paypal_url: "https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=9UBA65LG3FX9Y&lc=gb"
|
||||||
languages:
|
languages:
|
||||||
en: 'English'
|
en: 'English'
|
||||||
|
|||||||
6050
composer.lock
generated
Normal file
6050
composer.lock
generated
Normal file
File diff suppressed because it is too large
Load Diff
@ -69,7 +69,7 @@ You'll have this in return:
|
|||||||
|
|
||||||
We'll work with the ``access_token`` value in our next calls.
|
We'll work with the ``access_token`` value in our next calls.
|
||||||
|
|
||||||
Curl example:
|
cURL example:
|
||||||
|
|
||||||
::
|
::
|
||||||
|
|
||||||
@ -126,7 +126,7 @@ returns:
|
|||||||
|
|
||||||
The ``items`` array is empty.
|
The ``items`` array is empty.
|
||||||
|
|
||||||
Curl example:
|
cURL example:
|
||||||
|
|
||||||
::
|
::
|
||||||
|
|
||||||
@ -186,7 +186,7 @@ returns
|
|||||||
|
|
||||||
Now, if you execute the previous command (see **Get existing entries**), you'll have data.
|
Now, if you execute the previous command (see **Get existing entries**), you'll have data.
|
||||||
|
|
||||||
Curl example:
|
cURL example:
|
||||||
|
|
||||||
::
|
::
|
||||||
|
|
||||||
@ -245,7 +245,7 @@ returns
|
|||||||
|
|
||||||
And if you want to list the existing entries (see **Get existing entries**), the array is empty.
|
And if you want to list the existing entries (see **Get existing entries**), the array is empty.
|
||||||
|
|
||||||
Curl example:
|
cURL example:
|
||||||
|
|
||||||
::
|
::
|
||||||
|
|
||||||
|
|||||||
@ -50,7 +50,7 @@ To install wallabag itself, you must run these two commands:
|
|||||||
|
|
||||||
git clone https://github.com/wallabag/wallabag.git
|
git clone https://github.com/wallabag/wallabag.git
|
||||||
cd wallabag
|
cd wallabag
|
||||||
git checkout 2.0.2
|
git checkout 2.0.3
|
||||||
SYMFONY_ENV=prod composer install --no-dev -o --prefer-dist
|
SYMFONY_ENV=prod composer install --no-dev -o --prefer-dist
|
||||||
php bin/console wallabag:install --env=prod
|
php bin/console wallabag:install --env=prod
|
||||||
|
|
||||||
|
|||||||
@ -69,6 +69,12 @@ Vous obtiendrez :
|
|||||||
|
|
||||||
Nous allons utiliser la valeur de ``access_token`` dans nos prochains appels.
|
Nous allons utiliser la valeur de ``access_token`` dans nos prochains appels.
|
||||||
|
|
||||||
|
Exemple cURL :
|
||||||
|
|
||||||
|
::
|
||||||
|
|
||||||
|
curl -s "https://localhost:8000/oauth/v2/token?grant_type=password&client_id=1_3o53gl30vhgk0c8ks4cocww08o84448osgo40wgw4gwkoo8skc&client_secret=636ocbqo978ckw0gsw4gcwwocg8044sco0w8w84cws48ggogs4&username=wallabag&password=wallabag"
|
||||||
|
|
||||||
Récupérer les articles existants
|
Récupérer les articles existants
|
||||||
--------------------------------
|
--------------------------------
|
||||||
|
|
||||||
@ -120,6 +126,12 @@ retournera :
|
|||||||
|
|
||||||
Le tableau ``items`` est vide.
|
Le tableau ``items`` est vide.
|
||||||
|
|
||||||
|
Exemple cURL :
|
||||||
|
|
||||||
|
::
|
||||||
|
|
||||||
|
curl --get "https://localhost:8000/api/entries.html?access_token=ZGJmNTA2MDdmYTdmNWFiZjcxOWY3MWYyYzkyZDdlNWIzOTU4NWY3NTU1MDFjOTdhMTk2MGI3YjY1ZmI2NzM5MA"
|
||||||
|
|
||||||
Créer votre premier article
|
Créer votre premier article
|
||||||
---------------------------
|
---------------------------
|
||||||
|
|
||||||
@ -174,6 +186,12 @@ retournera :
|
|||||||
|
|
||||||
Maintenant, si vous exécutez la précédente commande (voir **Récupérer les articles existants**), vous obtiendrez quelque chose.
|
Maintenant, si vous exécutez la précédente commande (voir **Récupérer les articles existants**), vous obtiendrez quelque chose.
|
||||||
|
|
||||||
|
Exemple cURL :
|
||||||
|
|
||||||
|
::
|
||||||
|
|
||||||
|
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"
|
||||||
|
|
||||||
Supprimer un article
|
Supprimer un article
|
||||||
--------------------
|
--------------------
|
||||||
|
|
||||||
@ -227,6 +245,12 @@ retournera :
|
|||||||
|
|
||||||
Et si vous voulez voir la liste des articles existants (voir **Récupérer les articles existants**), le tableau sera vide.
|
Et si vous voulez voir la liste des articles existants (voir **Récupérer les articles existants**), le tableau sera vide.
|
||||||
|
|
||||||
|
Exemple cURL :
|
||||||
|
|
||||||
|
::
|
||||||
|
|
||||||
|
curl --request DELETE "https://localhost:8000/api/entries/1.html?access_token=ZGJmNTA2MDdmYTdmNWFiZjcxOWY3MWYyYzkyZDdlNWIzOTU4NWY3NTU1MDFjOTdhMTk2MGI3YjY1ZmI2NzM5MA"
|
||||||
|
|
||||||
Autres méthodes
|
Autres méthodes
|
||||||
---------------
|
---------------
|
||||||
|
|
||||||
|
|||||||
@ -48,7 +48,7 @@ Pour installer wallabag, vous devez exécuter ces deux commandes :
|
|||||||
|
|
||||||
git clone https://github.com/wallabag/wallabag.git
|
git clone https://github.com/wallabag/wallabag.git
|
||||||
cd wallabag
|
cd wallabag
|
||||||
git checkout 2.0.2
|
git checkout 2.0.3
|
||||||
SYMFONY_ENV=prod composer install --no-dev -o --prefer-dist
|
SYMFONY_ENV=prod composer install --no-dev -o --prefer-dist
|
||||||
php bin/console wallabag:install --env=prod
|
php bin/console wallabag:install --env=prod
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user