aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* CSJeremy Benoist2017-11-213-3/+3
|
* Fix phpcsKevin Decherf2017-11-193-19/+19
| | | | Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
* Improve EntryRestControllerTest for origin_urlKevin Decherf2017-11-191-0/+55
| | | | | | | | Ensure that origin_url is initially null Ensure patching entry with origin_url='' Ensure patching entry with origin_url=null Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
* Update EntryControllerTest to handle origin_urlKevin Decherf2017-11-191-2/+38
| | | | | | | Set an origin_url in testEditUpdate Test origin_url deletion in testEditRemoveOriginUrl Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
* Add some tests for OriginUrl in EntryRestControllerKevin Decherf2017-11-191-0/+73
| | | | Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
* Twig: add removeSchemeAndWww filterKevin Decherf2017-11-191-0/+27
| | | | | | | | This twig filter removes scheme (only http and https are supported) and pass the result to removeWww filter to also remove 'www.' at the beginning of an url. Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
* Fix phpcsadev2017-11-111-1/+1
|
* Fix testsadev2017-11-112-6/+7
|
* Merge pull request #3362 from sviande/fix_3361_api_warningJérémy Benoist2017-10-181-0/+7
|\ | | | | Fix #3361 check type for tags in entry repository
| * CSJeremy Benoist2017-10-121-1/+1
| |
| * Fix #3361 add testSébastien Viande2017-10-121-0/+7
| |
* | Replace kernel.root_dir by kernel.project_dirNicolas Hart2017-10-141-2/+2
|/ | | | | kernel.root_dir and Kernel::getRootDir() are deprecated since Symfony 3.3. See https://symfony.com/blog/new-in-symfony-3-3-a-simpler-way-to-get-the-project-root-directory and https://github.com/symfony/symfony/blob/3.3/UPGRADE-3.3.md#httpkernel for more information.
* Fix MondeDiplo https urlJeremy Benoist2017-10-101-1/+1
|
* Jump to Symfony 3.3 & update others depsJeremy Benoist2017-10-0910-9/+24
| | | | Also update tests urls
* Fix testsJeremy Benoist2017-09-061-1/+2
|
* Multiple tag search was broken from APIJeremy Benoist2017-09-063-4/+7
| | | | | | | | | | First, the setParameter() were done on the same parameter which in fact just duplicated the condition in the SQL query (like `where t.label = 'test' and t.label = 'test'`. Changed the parameter doesn't help because the query was then wrong. Changing the way to match associated tags for an entry and it worked.
* Merge pull request #3139 from Kdecherf/2502-tag-caseJérémy Benoist2017-09-033-4/+6
|\ | | | | Ignore tag's case
| * Fix testsJeremy Benoist2017-08-271-1/+1
| | | | | | | | Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
| * Tag: render tags case-insensitive by storing them in lowercaseKevin Decherf2017-08-272-3/+5
| | | | | | | | | | | | Fixes #2502 Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
* | Set a starred_at field when an entry is starred.François D2017-08-251-0/+5
|/ | | | | | | | This date is used to sort starred entries. Can not use Entry::timestamps method otherwise starred_at will be updated each time entry is updated. Add an updateStar method into Entry class A migration script has been added in order to set starred_at field.
* Add reload entry commandNicolas Hart2017-08-211-0/+115
|
* add search argument and limit option to list users commandNicolas Hart2017-07-311-1/+50
|
* Add list user commandNicolas Hart2017-07-301-0/+26
|
* Better rendering for all core commandsNicolas Hart2017-07-293-6/+8
|
* Add a test for updatePublishedAtJeremy Benoist2017-07-241-0/+34
| | | | | | | To avoid error when a content is re-submitted and it previously add a published date. Also, fix the `testPostSameEntry`
* Put the final URL in data testJeremy Benoist2017-07-241-1/+1
|
* Revert client_credentials grant typesJeremy Benoist2017-07-081-21/+1
|
* 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