aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* add a few testsThomas Citharel2017-07-091-0/+3
| | | | Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* Rebase & Rename all rss to feedsThomas Citharel2017-07-095-48/+53
| | | | Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* Changed RSS to Atom feed and improve pagingThomas Citharel2017-07-092-36/+60
|
* CSJeremy Benoist2017-07-032-20/+19
|
* Fix validateAndSetPreviewPictureJeremy Benoist2017-07-031-0/+35
| | | | Which wasn't covered by a test!
* Fix PATCH methodJeremy Benoist2017-07-032-15/+60
| | | | | The PATCH method for the entry should only update what user sent to us and not the whole entry as it was before. Also, sending tags when patching an entry will now remove all current tags & assocatied new ones.
* Fix testsJeremy Benoist2017-07-036-35/+30
|
* Add a real configuration for CS-FixerJeremy Benoist2017-07-0160-1337/+1337
|
* Return null instead of falseJeremy Benoist2017-06-281-3/+3
|
* Avoid BC on exists endpointJeremy Benoist2017-06-231-4/+37
|
* Merge pull request #3227 from wallabag/oauth-client-credentialsNicolas Lœuillet2017-06-221-3/+24
|\ | | | | Add client_credentials oAuth2 auth method
| * Add client_credentials oAuth2 auth methodThomas Citharel2017-06-141-3/+24
| | | | | | | | Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* | Fix testsJeremy Benoist2017-06-211-1/+1
| |
* | Add RSS tags feedsJeremy Benoist2017-06-211-8/+33
| |
* | Merge pull request #2683 from wallabag/credentials-in-dbJérémy Benoist2017-06-204-8/+283
|\ \ | | | | | | Store credentials in DB
| * | Fix reviewsThomas Citharel2017-06-202-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | Encrypt username too Redirect to list after saving credentials Fix typos Signed-off-by: Thomas Citharel <tcit@tcit.fr>
| * | Crypt site credential passwordJeremy Benoist2017-06-203-3/+42
| | |
| * | Add a live test for restricted articleJeremy Benoist2017-06-203-25/+78
| | | | | | | | | | | | | | | | | | | | | It is not aimed to test if we can get the full article (since we aren't using real login/password) but mostly to test the full work (with authentication, etc.) Do not clean fixtured to avoid SQLite to re-use id for entry tag relation 😓
| * | Add menu access to site credentials CRUDJeremy Benoist2017-06-202-3/+187
| | |
* | | Fix empty language and preview picsThomas Citharel2017-06-121-3/+3
| |/ |/|
* | Add public filter/field in the APIJeremy Benoist2017-06-101-0/+52
| | | | | | | | | | | | Listing entries can now be filtered by “public”. Creating or patching an entry can now set is to public or remove the public. Entry response now include “is_public” boolean field
* | Add isPublic filter on entriesJeremy Benoist2017-06-101-0/+14
|/
* Merge pull request #3173 from wallabag/domain-name-paramJérémy Benoist2017-06-101-1/+1
|\ | | | | remove craueconfig domain name setting and add a proper one in parame…
| * Promote httpsJeremy Benoist2017-06-091-1/+1
| |
| * ReviewJeremy Benoist2017-06-081-1/+1
| |
* | Merge pull request #3192 from wallabag/validate-content-fieldsJérémy Benoist2017-06-093-30/+202
|\ \ | | | | | | Validate language & preview picture fields
| * | Cleanup testJeremy Benoist2017-06-091-1/+0
| | | | | | | | | | | | | | | Looks like we didn't ALWAYS get a value for language from 20minutes. Ahem.
| * | Convert - to _ in languageJeremy Benoist2017-06-092-5/+9
| | | | | | | | | | | | Mostly to increase language supports
| * | Use Locale instead of LanguageJeremy Benoist2017-06-091-14/+78
| | |
| * | Fix testJeremy Benoist2017-06-082-5/+5
| | | | | | | | | | | | | | | de_DE is not valid language. Zataz doesn’t send a valid language in their content (they use `fr-FR`).
| * | Validate language & preview picture fieldsJeremy Benoist2017-06-081-12/+117
| | | | | | | | | | | | | | | Instead of saving the value of each field right into the content without any validation, it seems better to validate them. This might sounds obvious now we say that.
* | | Use a listener to catch auth failureJeremy Benoist2017-06-091-0/+66
|/ /
* | Add ability to name the clientJeremy Benoist2017-06-081-1/+2
| |
* | CSJeremy Benoist2017-06-072-4/+2
| |
* | Create a client when creating a user using the apiJeremy Benoist2017-06-071-0/+12
| | | | | | | | | | | | | | | | While creating a new user using the API, we also create a new client for the current user. So the app which just create the user can use its newly created client to configure the app. That new client is only return after creating the user. When calling the endpoint /api/user to get user information, the new client information won’t be return.
* | Merge pull request #3093 from aaa2000/annotation-error-on-saveNicolas Lœuillet2017-06-071-1/+33
|\ \ | | | | | | Displays an error with an annotation with a too long quote
| * | Displays an error with an annotation with a too long quoteadev2017-06-041-1/+33
| | | | | | | | | | | | Fix #2762
* | | Merge pull request #3181 from wallabag/api-content-patchJérémy Benoist2017-06-071-0/+11
|\ \ \ | | | | | | | | Add ability to patch an entry with more fields
| * | | Add ability to patch an entry with more fieldsJeremy Benoist2017-06-021-0/+11
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | Like when we create an entry, we can now patch an entry with new fields: - content - language - preview_picture - published_at - authors
* | | Merge pull request #3184 from wallabag/better-way-image-extensionJérémy Benoist2017-06-072-0/+25
|\ \ \ | | | | | | | | Use an alternative way to detect images
| * | | Use an alternative way to detect imageJeremy Benoist2017-06-052-0/+25
| |/ / | | | | | | | | | | | | | | | | | | When parsing content to retrieve images to save locally, we only check for the content-type of the image response. In some case, that value is empty. Now we’re also checking for the first few bytes of the content as an alternative to detect if it’s an image wallabag can handle. We might get higher image supports using that alternative method.
* | | Merge pull request #3179 from wallabag/show-user-commandJérémy Benoist2017-06-071-0/+95
|\ \ \ | |_|/ |/| | Show user command
| * | Fix reviewThomas Citharel2017-06-041-1/+1
| | | | | | | | | | | | Signed-off-by: Thomas Citharel <tcit@tcit.fr>
| * | Add show user commandThomas Citharel2017-06-021-0/+95
| |/ | | | | | | Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* | Return 201 on user creationJeremy Benoist2017-06-021-2/+2
| |
* | API user creation behing a toggleJeremy Benoist2017-06-022-21/+85
|/ | | | | | | | I've added a toggle feature (in internal settings) so that user api creation can be disabled while form registration still can be enabled. Also, the /api/user endpoint shouldn't require authentication. Even if we check the authentication when sending a GET request, to retrieve current user information. I've moved all the internal settings definition to config to avoid duplicated place to define them. I don't know why we didn't did that earlier.
* Merge pull request #2708 from jcharaoui/import-disablecontentupdateJérémy Benoist2017-06-023-33/+54
|\ | | | | Import disableContentUpdate
| * Rewrote code & fix testsJeremy Benoist2017-06-019-50/+49
| |
| * Fix testsJeremy Benoist2017-06-011-2/+8
| |
| * Replace Wallabag v1 error strings with v2 stringsJerome Charaoui2017-06-011-1/+10
| |