aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* API return an error with empty quoteadev2019-11-271-0/+30
| | | | Fix #4137
* Fix tests (again..)Jeremy Benoist2019-11-192-2/+2
|
* Added elCurator importNicolas Lœuillet2019-11-154-1/+147
|
* Fix testsJeremy Benoist2019-11-131-2/+2
|
* Fix testsJeremy Benoist2019-11-121-1/+0
|
* Fix tests & update depsJeremy Benoist2019-10-221-1/+1
| | | | | | | | | | | | | | | | | | - Updating twig/twig (v2.12.0 => v2.12.1) - Updating symfony/mime (v4.3.4 => v4.3.5) - Updating friendsofsymfony/rest-bundle (2.5.0 => 2.6.0) - Updating j0k3r/graby-site-config (1.0.91 => 1.0.93) - Updating monolog/monolog (1.24.0 => 1.25.1) - Updating simplepie/simplepie (1.5.2 => 1.5.3) - Updating symfony/http-client-contracts (v1.1.6 => v1.1.7) - Updating symfony/http-client (v4.3.4 => v4.3.5) - Updating nette/utils (v3.0.1 => v3.0.2) - Updating phpstan/phpstan (0.11.17 => 0.11.18) - Updating zendframework/zend-code (3.3.2 => 3.4.0) - Updating php-amqplib/php-amqplib (v2.10.0 => v2.10.1) - Updating beberlei/assert (v3.2.3 => v3.2.6) - Updating zendframework/zend-diactoros (2.1.3 => 2.1.5) - Updating sentry/sentry (2.2.1 => 2.2.2)
* Fixed default value for reading speedNicolas Lœuillet2019-09-193-3/+3
|
* Fix testsJeremy Benoist2019-07-261-2/+2
|
* Fix testsJeremy Benoist2019-07-091-1/+1
|
* Merge pull request #4053 from wallabag/feature/manual-input-reading-speedJérémy Benoist2019-07-091-3/+3
|\ | | | | Add ability to manually define the reading speed
| * Add ability to manually define the reading speedJeremy Benoist2019-07-081-3/+3
| | | | | | | | Instead of using a select, let the user decide its own speed.
* | Add ability to import/export tagging rulesJeremy Benoist2019-07-083-0/+83
|/ | | | | | | | | - Add missing translations - Add some tests - Add `/api/taggingrule/export` API endpoint - Add baggy theme - Add error message when importing tagging rules failed - Also fix all translations (I think we are good now)
* Merge pull request #4018 from wallabag/fix/wallabag_user-migrationJérémy Benoist2019-06-241-2/+2
|\ | | | | Fix migration with prefix table name
| * Update test urlJeremy Benoist2019-06-181-2/+2
| | | | | | | | | | The previous URL started to report title as `snippet intertitre` instead of the previous title which contains Google. It looks like a bug on the website side. Instead of updating the test to match that new title, I prefer to use a more recent url instead.
* | Use Twig 2.0Jeremy Benoist2019-06-211-1/+3
|/ | | | `mnapoli/piwik-twig-extension` locked Twig to the 1.10 version. The new version is compatible with Twig 2.0
* Merge pull request #3959 from wallabag/mig-tag-collationJérémy Benoist2019-06-061-0/+46
|\ | | | | mysql: change collation of tag label
| * mysql: change collation of tag tableKevin Decherf2019-05-191-0/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | utf8mb4_unicode_ci considers that 'caché' is equal to 'cache' which can lead to attaching incorrect tags to entries. This issue is due to some unicode normalization done by MySQL. utf8mb4_bin makes no unicode normalization, letting wallabag to consider 'cache' and 'caché' as two different tags. We change the collation of the whole table as Doctrine does not support setting a collation on a column for a specific platform (it tries to apply utf8mb4_bin even for pgsql and sqlite). Fixes #3302 Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
* | Add ability to revoke feed tokenJeremy Benoist2019-06-051-1/+17
| |
* | Use two indexes instead of one for hashed urlsJeremy Benoist2019-06-051-0/+3
| | | | | | | | | | When using `OR` in a where clause, a composite index can't be used. We should use a `UNION` to take advantages of it. Instead, create 2 indexes on each hashed urls and make 2 queries to find an url. It'll be faster than the previous solution.
* | Added given_url in entry tableNicolas Lœuillet2019-05-291-1/+35
| | | | | | | | | | | | | | | | | | | | - Added index on entry table for given_url field - Fix tests: The previous `bit.ly` url redirected to doc.wallabag but that url doesn't exist in the fixtures. I used our own internal "redirector" to create a redirect to an url which exist in the fixtures. Also, updating current migration to use the new `WallabagMigration`.
* | Fix tests after rebaseJeremy Benoist2019-05-281-12/+8
| |
* | CS & fix testsJeremy Benoist2019-05-281-15/+36
| |
* | Fix some testsJeremy Benoist2019-05-281-31/+13
| |
* | CSJeremy Benoist2019-05-282-2/+2
| |
* | Fix because of some breaking changes of Graby 2.0adev2019-05-281-33/+37
| |
* | Use httplugadev2019-05-282-279/+204
| |
* | Merge remote-tracking branch 'origin/master' into 2.4Jeremy Benoist2019-05-271-1/+1
|\ \
| * | Fix testJeremy Benoist2019-05-271-1/+1
| | |
* | | [tests] Fix pre-existing tests (preview now imported + records added)nicofrand2019-05-212-2/+2
| | |
* | | [tests] Set first picture as preview picturenicofrand2019-05-211-0/+84
| | |
* | | Merge pull request #3960 from wallabag/api-entries-2817Jérémy Benoist2019-05-211-0/+21
|\ \ \ | | | | | | | | api/entries: add parameter detail to exclude or include content in response
| * | | api/entries: add parameter detail to exclude or include content in responseKevin Decherf2019-05-181-0/+21
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | detail=metadata will nullify the content field of entries in order to make smaller responses. detail=full keeps the former behavior, it sends the content of entries. It's the default, for backward compatibility. Fixes #2817 Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
* | | CSJeremy Benoist2019-05-151-2/+4
| | |
* | | Merge remote-tracking branch 'origin/master' into 2.4Jeremy Benoist2019-05-151-20/+131
|\ \ \ | |/ / |/| / | |/
| * Adding more tests to cover different scenarioJeremy Benoist2019-04-241-11/+123
| |
| * FIx unrelated failing testJeremy Benoist2019-04-231-1/+1
| |
| * Add ability to match many domains for credentialsJeremy Benoist2019-04-231-9/+9
| | | | | | | | | | Instead of fetching one domain, we use the same method as in site config (to retrieve the matching file) and handle api.example.org, example.org, .org (yes the last one isn’t useful). If one of these match, we got it and use it.
* | CSJeremy Benoist2019-05-103-20/+20
| |
* | Handle redirection from previous feedsJeremy Benoist2019-04-261-0/+33
| |
* | Fix tests & cs & migrationJeremy Benoist2019-04-264-32/+32
| |
* | Changed RSS to Atom feed and improve pagingThomas Citharel2019-04-257-251/+283
| |
* | Some cleanupJeremy Benoist2019-04-011-0/+18
| | | | | | | | Also, do not run the hashed_url migration into a Doctrine migration
* | Use a better index for hashed_urlJeremy Benoist2019-04-012-16/+13
| | | | | | | | | | | | It'll most often be used in addition to the `user_id`. Also, automatically generate the hash when saving the url. Switch from `md5` to `sha1`.
* | Keep url in exists endpointJeremy Benoist2019-04-012-43/+40
| | | | | | | | | | | | - Add migration - Use md5 instead of sha512 (we don't need security here, just a hash) - Update tests
* | Hash the urls to check if they existThomas Citharel2019-04-012-2/+154
| | | | | | | | Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* | Merge remote-tracking branch 'origin/master' into 2.4Jeremy Benoist2019-04-011-13/+55
|\|
| * tests: fix broken session clients for rest entry deletion testsKevin Decherf2019-02-201-4/+13
| | | | | | | | Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
| * EntryRestController: add support of expect parameter to delete actionKevin Decherf2019-02-201-5/+16
| | | | | | | | | | | | | | | | | | | | | | The expect parameter enables an application to request the whole entry or only the id when requesting its deletion. `expects` defaults to `entry` to prevent any API breakage. Fixes #3711 Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
| * tests: create entry for testDeleteEntry, fix missing idKevin Decherf2019-02-171-7/+29
| | | | | | | | | | | | | | | | | | | | | | When using the entity manager to retrieve an already stored entry, the id disapears from $entry after the first delete call. This leads to testing a nonexistent endpoint (api/entries/.json) during the second delete call. This change now creates an entry specifically for the test. Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
* | Adding more testsJeremy Benoist2019-02-271-0/+68
| |