Yassine Guedidi
a7addd3c13
Use FQCN as service name for Import services
2022-08-24 23:24:24 +02:00
Jeremy Benoist
4947ea6758
Merge remote-tracking branch 'origin/master' into 2.5.0
2022-05-13 13:50:50 +02:00
Jeremy Benoist
3a918cf30e
Fix test with usinenouvelle.com
being flaky these times
...
Replace it with a more robust website 🤩
2022-03-21 20:43:29 +01:00
Jeremy Benoist
7ec0c9f844
Fix tests
2022-03-02 20:12:08 +01:00
Jeremy Benoist
9a6146d2ef
Merge remote-tracking branch 'origin/master' into 2.5.0
2022-03-02 20:03:33 +01:00
Jeremy Benoist
3c507d676f
Add build test on PHP 8.0 & 8.1
...
Add `isTransactional` to `WallabagMigration` because PHP 8 behave differently with PDO transaction.
This is a workaround because we can't upgrade Doctrine Migration for now (upper versions have the fix).
- Build is now using Composer v2 (instead of v1)
- All actions have been updated to latest version
- Fix bug in PHP 8 were `$entry->getTags()` can't be properly used as a _traversable_ by `assertContains` during tests. Added a custom method `Entry::getTagsLabel()` which return a flatted tag array with only label
- Replace `assertNotRegExp` by `assertDoesNotMatchRegularExpression` because it was deprecated
2022-01-31 12:59:39 +01:00
Simounet
e491052b0d
Fix 404 on real content test URL
2021-04-14 13:07:34 +02:00
Jeremy Benoist
7ca833bccb
Fix tests
2021-03-18 11:44:57 +01:00
Jeremy Benoist
38902a2f04
Fix test
2021-02-08 09:57:10 +01:00
Jeremy Benoist
a962a3ab13
CS
2021-02-08 09:56:25 +01:00
Jeremy Benoist
dd9d6a4c64
Add Delicious import
...
Since 2021, you can export again your data \o/
Also fix indentation in json fixtures files.
2021-02-08 09:47:56 +01:00
Jeremy Benoist
b02ca1f711
Fix tests & updated deps again
2020-10-22 11:13:51 +02:00
Jeremy Benoist
732ec8a2eb
Fix deprecated method in tests
2020-06-15 14:21:35 +02:00
Jeremy Benoist
9dfceff022
Fix test
2020-05-25 05:50:11 +02:00
Jeremy Benoist
bff82c3202
Fix tests (again..)
2019-11-19 13:28:32 +01:00
Nicolas Lœuillet
958e77e6a7
Added elCurator import
2019-11-15 16:08:36 +01:00
Jeremy Benoist
075a3b3e0a
Fix tests
2019-11-12 14:33:45 +01:00
nicofrand
d99e6423f4
[tests] Fix pre-existing tests (preview now imported + records added)
2019-05-21 20:38:22 +02:00
Jeremy Benoist
1e0d8ad7b7
Enable PHPStan
...
- Fix error for level 0 & 1 (level 7 has 699 errors...)
- Add `updated_at` to site_credential (so the `timestamps()` method applies correctly)
2019-01-18 15:25:50 +01:00
Jeremy Benoist
84b3bdaac0
Liberation goes https
2018-09-21 09:07:40 +02:00
Kevin Decherf
2a1ceb67b4
php-cs-fixer
...
Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
2018-09-05 14:25:32 +02:00
Jeremy Benoist
9c48053b14
Replace SO url by lemonde
...
Looks like we got a lot of random failing while grabing SO content, replacing it might fix the problem.
2018-07-05 14:50:27 +02:00
Jeremy Benoist
778543311f
Fix tests
2018-06-06 17:34:20 +02:00
Floran Brutel
739a4024fa
Replace zataz url
2018-03-30 23:09:03 +02:00
Jeremy Benoist
bf283db8e6
20 Minutes is now https
2018-02-24 22:02:52 +01:00
Nicolas Lœuillet
5614df19cf
Fixed tests
2018-01-12 11:19:11 +01:00
adev
d81bf605af
Fix tests
2017-11-11 23:37:57 +01:00
Jeremy Benoist
f40c88eb1f
Jump to Symfony 3.3 & update others deps
...
Also update tests urls
2017-10-09 16:45:12 +02:00
Jeremy Benoist
e437ad810b
Fix tests
...
Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
2017-08-27 16:51:23 +02:00
Kevin Decherf
7036d91fe7
Tag: render tags case-insensitive by storing them in lowercase
...
Fixes #2502
Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
2017-08-27 16:51:23 +02:00
Jeremy Benoist
f808b01692
Add a real configuration for CS-Fixer
2017-07-01 09:52:38 +02:00
Jeremy Benoist
cf05a1ae34
Reduce imported entries
...
Down from 2.2 minutes to 1.39 minutes
2017-05-31 14:00:15 +02:00
Jeremy Benoist
e668a8124c
Allow other fields to be send using API
...
Entry API can now have these new fields:
- content
- language
- preview_picture
- published_at
Re-use the ContentProxy to be able to do the same using the web UI (in the future).
htmLawed is used to clean stuff from content, I hope it’ll be enough to avoid security breach.
Lower content validation when we want to update an entry with content already defined. Before, language & content_type were required. If there weren’t provided, we re-fetched the content using graby. I think these fields aren’t required for an entry to be created. So I removed them.
Which means some import from the v1 export won’t be re-fetched since they provide content, url & title.
Also, remove liberation link from Readability import to avoid overlaping import (from wallabag v1, which had the same link)
2017-05-31 13:59:45 +02:00
Jeremy Benoist
bad7df8c00
CS & improve tags assertions
2017-05-31 10:38:15 +02:00
Jeremy Benoist
7a8ed3cee1
Add support for tag in Instapaper import
2017-05-31 10:38:00 +02:00
Jeremy Benoist
047fdc767a
Add tests
2017-05-30 20:27:44 +02:00
Jeremy Benoist
216dee4d8a
Fix SO tests
...
SO switched to http yesterday
2017-05-24 12:13:25 +02:00
Nicolas Lœuillet
fdd725f58c
Added notmatches operator for tagging rule
2017-04-20 15:17:02 +02:00
Jerome Charaoui
dba1e0b188
Fix WallabagV1Controller test
...
Account for URL redirection in refreshed entry.
2016-12-03 00:14:06 -05:00
Jeremy Benoist
5cc367b83a
Fix tests
2016-11-17 19:58:10 +01:00
Jeremy Benoist
d8a35aba49
Put log in the most common failure tests
...
So we’ll quickly be able to see what kind of test is failing when viewing Travis
2016-11-17 19:30:50 +01:00
Jeremy Benoist
e92fbdc852
Fix tests
2016-11-06 09:58:07 +01:00
Jeremy Benoist
9ab024b4f5
Add Pinboard import
2016-11-04 22:44:31 +01:00
Jeremy Benoist
e40bed3607
Avoid error when Redis isn't here in tests
2016-10-10 16:34:57 +02:00
Jeremy Benoist
c7ea9b41f3
Add controller test for Instapaper
2016-09-27 20:27:08 +02:00
Jeremy Benoist
ff1a5362f7
Add Instapaper import
...
Also update ImportController with latest import (chrome, firefox & instapaper).
2016-09-27 20:27:08 +02:00
Nicolas Lœuillet
fefef9d41b
Added tags for Firefox import
2016-09-26 13:40:10 +02:00
Jeremy Benoist
12d93e6896
Update Firefox file
...
With real data, the previous looks more than a Chrome converted file.
Also, fix date conversion (hope so).
2016-09-25 22:24:07 +02:00
Jeremy Benoist
27acc6ddb8
Fix bad date format in Browser import
2016-09-25 15:32:02 +02:00
Thomas Citharel
64b1229b2d
fix tests
2016-09-25 12:29:19 +02:00