aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/Wallabag/CoreBundle
Commit message (Collapse)AuthorAgeFilesLines
* 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
| |
* | Changed RSS to Atom feed and improve pagingThomas Citharel2019-04-256-250/+282
| |
* | Use a better index for hashed_urlJeremy Benoist2019-04-011-4/+1
| | | | | | | | | | | | 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-011-4/+4
| | | | | | | | | | | | - 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-011-0/+101
| | | | | | | | Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* | Adding more testsJeremy Benoist2019-02-271-0/+68
| |
* | Change the way to enable 2FAJeremy Benoist2019-01-231-113/+81
| | | | | | | | And add a step to validate a generated code from the OTP app
* | Fix test for custom version of the tidy extensionJeremy Benoist2019-01-231-7/+7
| |
* | Enable OTP 2FAJeremy Benoist2019-01-233-9/+135
| | | | | | | | | | | | | | | | | | - Update SchebTwoFactorBundle to version 3 - Enable Google 2fa on the bundle - Disallow ability to use both email and google as 2fa - Update Ocramius Proxy Manager to handle typed function & attributes (from PHP 7) - use `$this->addFlash` shortcut instead of `$this->get('session')->getFlashBag()->add` - update admin to be able to create/reset the 2fa
* | Use only one method to randomizeJeremy Benoist2019-01-191-0/+26
| | | | | | | | Instead of one per type, one for all is ok.
* | Enable PHPStanJeremy Benoist2019-01-186-10/+12
| | | | | | | | | | - Fix error for level 0 & 1 (level 7 has 699 errors...) - Add `updated_at` to site_credential (so the `timestamps()` method applies correctly)
* | Merge remote-tracking branch 'origin/master' into 2.4Jeremy Benoist2019-01-159-9/+68
|\|
| * EntriesExport: sanitize filename and fix testsKevin Decherf2019-01-081-3/+8
| | | | | | | | | | | | | | | | Filename will now only use a-zA-Z0-9-' and space. Fixes remaining filename issue on #3811 Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
| * Counting two characters together as a word in CJKlizyn2019-01-063-4/+4
| |
| * Improve reading time testsJeremy Benoist2019-01-048-6/+39
| |
| * fix incorrect reading time calculation for entries with CJK characterslizyn2018-12-253-0/+21
| |
* | Fix utf8mb4 on vendor tablesJeremy Benoist2018-11-281-5/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | When creating the schema for test these tables use default length for string: 255. Which fail when using utf8mb4. > Syntax error or access violation: 1071 Specified key was too long; max key length is 767 bytes Also move the `setKeepStaticConnections` in before and after class to avoid: > SAVEPOINT DOCTRINE2_SAVEPOINT_2 does not exist See https://github.com/dmaicher/doctrine-test-bundle#troubleshooting
* | Use our own fork for CraueConfigBundleJeremy Benoist2018-11-281-0/+1
| | | | | | | | Mostly to fix utf8mb4 issue
* | Merge remote-tracking branch 'origin/master' into 2.4Jeremy Benoist2018-11-252-3/+373
|\| | | | | | | | | | | | | | | # Conflicts: # web/wallassets/baggy.js # web/wallassets/manifest.json # web/wallassets/material.css # web/wallassets/material.js
| * Prepare 2.3.4 releaseJeremy Benoist2018-11-231-3/+2
| |
| * updateOriginUrl: remove 'query string' case from ignore listKevin Decherf2018-10-241-10/+2
| | | | | | | | | | | | | | Two urls with a different query string may refer to two different pages so keep them both. Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
| * ignoreOriginUrl: add initial support of ignore listsKevin Decherf2018-10-221-1/+33
| | | | | | | | | | | | | | | | | | | | | | Add the ability to specify hosts and patterns lists to ignore the given entry url and replace it with the fetched content url without touching to origin_url. This initial support should be reworked in the following months to move the hardcoded ignore lists in the database. Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
| * updateOriginUrl: add behavior when diff is fragment and queryKevin Decherf2018-10-221-0/+8
| | | | | | | | Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
| * Refactor updateOriginUrl to include new behaviors behaviorsKevin Decherf2018-10-221-26/+95
| | | | | | | | | | | | | | | | - Leave origin_url unchanged if difference is an ending slash - Leave origin_url unchanged if difference is scheme - Ignore (noop) if difference is query string or fragment Signed-off-by: Kevin Decherf <kevin@kdecherf.com>