f40c88eb1f
Jump to Symfony 3.3 & update others deps
...
Also update tests urls
2017-10-09 16:45:12 +02:00
e437ad810b
Fix tests
...
Signed-off-by: Kevin Decherf <kevin@kdecherf.com >
2017-08-27 16:51:23 +02:00
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
f808b01692
Add a real configuration for CS-Fixer
2017-07-01 09:52:38 +02:00
6acadf8e98
Rewrote code & fix tests
2017-06-01 11:31:45 +02:00
704803e182
Replace Wallabag v1 error strings with v2 strings
2017-06-01 09:48:14 +02:00
d0e9b3d640
Add disableContentUpdate import option
...
This commit also decouples the "import" and "update" functions inside
ContentProxy. If a content array is available, it must be passed to the
new importEntry method.
2017-06-01 09:48:14 +02:00
2a0eec07a5
Merge pull request #3137 from aaa2000/isolated-tests
...
Isolated tests
2017-06-01 07:58:17 +02:00
7ab5eb9508
Isolated tests
...
Use https://github.com/dmaicher/doctrine-test-bundle to have test isolation.
2017-05-31 16:03:54 +02:00
cf05a1ae34
Reduce imported entries
...
Down from 2.2 minutes to 1.39 minutes
2017-05-31 14:00:15 +02:00
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
bad7df8c00
CS & improve tags assertions
2017-05-31 10:38:15 +02:00
7a8ed3cee1
Add support for tag in Instapaper import
2017-05-31 10:38:00 +02:00
7aa5607f29
Merge pull request #3143 from wallabag/fix-wllbg2-import
...
Fixed is_starred for wallabag v2 import
2017-05-31 09:08:34 +02:00
047fdc767a
Add tests
2017-05-30 20:27:44 +02:00
6bc6fb1f60
Move Tags assigner to a separate file
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr >
2017-05-27 22:08:14 +02:00
216dee4d8a
Fix SO tests
...
SO switched to http yesterday
2017-05-24 12:13:25 +02:00
d1e5059ea0
Use username to import
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr >
add docs
Signed-off-by: Thomas Citharel <tcit@tcit.fr >
use username as default
Signed-off-by: Thomas Citharel <tcit@tcit.fr >
rename user to username
typo
Signed-off-by: Thomas Citharel <tcit@tcit.fr >
2017-05-04 14:41:42 +02:00
fdd725f58c
Added notmatches operator for tagging rule
2017-04-20 15:17:02 +02:00
b45b6b6707
Import: we now skip messages when user is null
2017-02-20 09:16:02 +01:00
dba1e0b188
Fix WallabagV1Controller test
...
Account for URL redirection in refreshed entry.
2016-12-03 00:14:06 -05:00
5cc367b83a
Fix tests
2016-11-17 19:58:10 +01:00
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
e92fbdc852
Fix tests
2016-11-06 09:58:07 +01:00
9ab024b4f5
Add Pinboard import
2016-11-04 22:44:31 +01:00
7816eb622d
Add entry.saved event to import & rest
2016-11-02 07:10:23 +01:00
9095497191
Fix test
2016-10-20 23:03:37 +02:00
e40bed3607
Avoid error when Redis isn't here in tests
2016-10-10 16:34:57 +02:00
c7ea9b41f3
Add controller test for Instapaper
2016-09-27 20:27:08 +02:00
ff1a5362f7
Add Instapaper import
...
Also update ImportController with latest import (chrome, firefox & instapaper).
2016-09-27 20:27:08 +02:00
d6de23a100
Merge pull request #2192 from wallabag/import-browser-bookmarks
...
Import Firefox & Chrome bookmarks into wallabag
2016-09-26 14:47:02 +02:00
fefef9d41b
Added tags for Firefox import
2016-09-26 13:40:10 +02:00
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
27acc6ddb8
Fix bad date format in Browser import
2016-09-25 15:32:02 +02:00
64b1229b2d
fix tests
2016-09-25 12:29:19 +02:00
59201088b4
bring chrome and firefox as separate imports
2016-09-25 12:29:18 +02:00
f7c55b3812
Added tests for Chrome bookmarks import
2016-09-25 12:29:18 +02:00
06d13ddfbc
Indentation and renamed fixtures file
2016-09-25 12:28:55 +02:00
efe659ab84
Add Chrome path for Mac OS
2016-09-25 12:28:55 +02:00
ae669126e7
Import Firefox & Chrome bookmarks into wallabag
2016-09-25 12:28:54 +02:00
401135852c
Use scheduled entity insertions to avoid tag duplicate
...
Using `getScheduledEntityInsertions()` we can retrieve not yet flushed but already persisted entities and then avoid tags duplication on import.
2016-09-25 12:03:49 +02:00
0e0102b6fc
Avoid failing test for user who didn’t install Redis
2016-09-24 19:57:59 +02:00
59b97fae99
Avoid losing entry when fetching fail
...
Instead of just say “Failed to save entry” we’ll save the entry at all cost and try to fetch content. If fetching content failed, the entry will still be saved at least, but without content.
2016-09-17 07:40:56 +02:00
ebe0787e09
Moved Pocket token to user config
2016-09-16 22:22:25 +02:00
ac87e0db2a
AMPQ -> AMQP
2016-09-14 10:18:02 +02:00
47d7c682a4
Add more “real” tests
2016-09-13 22:27:27 +02:00
c80cc01afa
Change flash message for queued articles
2016-09-13 21:09:05 +02:00
886d479734
Fix tests
2016-09-11 23:57:27 +02:00
ebf5e5087d
Add tests on ImportCommand
2016-09-11 22:15:31 +02:00
015c7a8359
Add more tests
...
And ability to define how many messages can be hanle by the redis worker before stopping (usefull for tests)
2016-09-11 22:15:31 +02:00