aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/Wallabag/CoreBundle
Commit message (Collapse)AuthorAgeFilesLines
* tests: add a NetworkCalls group for tests making network callsKevin Decherf2020-04-253-5/+30
| | | | | | | Excluding this group can decrease the run time of tests during development. Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
* Add controller, views and translations for ignore origin instance rulesKevin Decherf2020-04-251-0/+148
| | | | Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
* ContentProxy: replace ignoreUrl with new RuleBasedIgnoreOriginProcessorKevin Decherf2020-04-251-23/+104
| | | | Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
* Add new Helper to process Ignore Origin rules and RulerZ operatorKevin Decherf2020-04-251-0/+212
| | | | | | | | | | This commits adds a new helper like RuleBasedTagger for processing ignore origin rules. It also adds a new custom RulerZ operator for the '~' pattern matching rule. Renames 'pattern' with '_all' in IgnoreOriginRule entity. Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
* Add new Ignore Origin rules tab, update ConfigControllerKevin Decherf2020-04-251-6/+142
| | | | Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
* Added mass actions for Material design in list viewNicolas Lœuillet2020-04-241-0/+77
|
* Fixed unit testsNicolas Lœuillet2020-04-221-2/+2
|
* 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 testsJeremy Benoist2019-11-131-2/+2
|
* 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-192-2/+2
|
* Fix testsJeremy Benoist2019-07-261-2/+2
|
* 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-082-0/+68
|/ | | | | | | | | - 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)
* 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.
* 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-281-1/+1
| |
* | Fix because of some breaking changes of Graby 2.0adev2019-05-281-33/+37
| |
* | Use httplugadev2019-05-281-56/+23
| |
* | 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-211-1/+1
| | |
* | | [tests] Set first picture as preview picturenicofrand2019-05-211-0/+84
| | |
* | | 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-102-19/+19
| |
* | Handle redirection from previous feedsJeremy Benoist2019-04-261-0/+33
| |
* | Fix tests & cs & migrationJeremy Benoist2019-04-264-32/+32
| |