aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* TagController: support merging labels when renaming one with label of anotherKevin Decherf2020-04-181-0/+127
| | | | Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
* TagController: prevent tag deletion when renaming a tag with the same labelKevin Decherf2020-04-181-0/+58
| | | | Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
* TagController: fix duplicated tags when renaming themKevin Decherf2020-04-181-7/+31
| | | | | | | | | | | | The fix relies on a workaround available on TagsAssigner, see the AssignTagsToEntry() signature for detail. I replaced the findOneByLabel in the corresponding test to assert that there is no duplicate. Fixes #4216 Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
* Added a button to disable 2FA when enabledNicolas Lœuillet2020-04-131-0/+47
|
* Fix testsJeremy Benoist2020-03-311-1/+1
|
* Merge pull request #4272 from Simounet/feat/load-custom-css-only-if-existsJérémy Benoist2020-03-281-3/+3
|\ | | | | Load custom.css only if exists
| * Load custom.css only if existsSimounet2020-02-071-3/+3
| |
* | Merge pull request #4299 from wallabag/fix/4133Jérémy Benoist2020-03-281-51/+50
|\ \ | | | | | | Fix createdAt filter on material
| * | Fix createdAt date range filterKevin Decherf2020-03-221-6/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - hiddenName has been disabled in order to fix the missing date range values when using the material theme - data format has been changed to 'Y-m-d' in order to comply with the browser date input default format - tests: date() and strtotime have been replaced with DateTime-related objects Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
| * | tests: replace baggy theme used in EntryController testsKevin Decherf2020-03-221-45/+32
| |/ | | | | | | Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
* / ExportController: fix entries export from search viewKevin Decherf2020-02-231-0/+63
|/ | | | | | Fixes #4240 Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
* Use lang attributeSimounet2020-01-231-0/+28
|
* Fix testsJérémy Benoist2019-11-271-7/+34
|
* 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.