aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/ImportBundle
Commit message (Collapse)AuthorAgeFilesLines
* Add Instapaper to CLI importLaurent2016-11-011-0/+3
|
* Inject parameter instead of serviceJeremy Benoist2016-10-301-1/+0
| | | | | We are injecting CraueConfig service when we only need to retrieve one or two values from it. Instead I discovered we can directly inject a value from a service in the service definition!
* Requeue depending on producerJeremy Benoist2016-10-201-0/+12
| | | | Browser import can requeue message from `parseEntry` but we should take care of the way import are handled (depending on the producer)
* Avoid RabbitMQ consumer to loopJeremy Benoist2016-10-201-2/+3
| | | | When the `parseEntry` returns null it means the entry already exists in the database. Sending `false` as return, will requeue the message which will then loop forever.
* Add controller test for InstapaperJeremy Benoist2016-09-274-0/+12
|
* Add Instapaper importJeremy Benoist2016-09-279-3/+308
| | | | Also update ImportController with latest import (chrome, firefox & instapaper).
* Merge pull request #2192 from wallabag/import-browser-bookmarksJeremy Benoist2016-09-2613-6/+658
|\ | | | | Import Firefox & Chrome bookmarks into wallabag
| * Move prepareEntry to dedicated placeJeremy Benoist2016-09-263-35/+42
| | | | | | | | | | Yeah first try was ugly, now each part are in the dedicated place. Also, the date is hardly truncated to 10 chars because Firefox date are 16 chars long and Chrome are 17 chars long. So instead of divised them by a huge number, I prefer to truncate them.
| * Update Firefox fileJeremy Benoist2016-09-251-12/+24
| | | | | | | | | | With real data, the previous looks more than a Chrome converted file. Also, fix date conversion (hope so).
| * Fix bad date format in Browser importJeremy Benoist2016-09-253-62/+23
| |
| * Fixed tests by removing clear()Nicolas Lœuillet2016-09-251-4/+0
| |
| * fix testsThomas Citharel2016-09-253-24/+24
| |
| * cs & fixesThomas Citharel2016-09-255-33/+14
| |
| * bring chrome and firefox as separate importsThomas Citharel2016-09-2512-147/+472
| |
| * Add Chrome path for Mac OSNicolas Lœuillet2016-09-252-11/+1
| |
| * Import Firefox & Chrome bookmarks into wallabagThomas Citharel2016-09-256-6/+386
| |
* | Use scheduled entity insertions to avoid tag duplicateJeremy Benoist2016-09-252-2/+4
|/ | | | Using `getScheduledEntityInsertions()` we can retrieve not yet flushed but already persisted entities and then avoid tags duplication on import.
* Display a message when async import won’t workJeremy Benoist2016-09-242-16/+36
| | | | | Mostly if Redis or RabbitMQ isn’t installed / launched. I guess it’ll avoid some issues.
* Avoid losing entry when fetching failJeremy Benoist2016-09-174-39/+18
| | | | 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.
* Missing some migrationsJeremy Benoist2016-09-161-1/+0
| | | | and CS
* Moved Pocket token to user configJeremy Benoist2016-09-163-13/+7
|
* Only display message in queue for adminJeremy Benoist2016-09-161-0/+8
| | | | Instead of for EVERYONE
* AMPQ -> AMQPJeremy Benoist2016-09-142-9/+9
|
* Change flash message for queued articlesJeremy Benoist2016-09-137-34/+32
|
* Display how many messages are queueJeremy Benoist2016-09-132-0/+65
| | | | | - update the docker-composer to add Redis - add migrations
* Add tests on ImportCommandJeremy Benoist2016-09-111-1/+5
|
* Add more testsJeremy Benoist2016-09-114-3/+7
| | | | And ability to define how many messages can be hanle by the redis worker before stopping (usefull for tests)
* Re-facto EntryConsumerJeremy Benoist2016-09-113-112/+78
| | | | Using an abstract method allow to share code but also can be used it we add a new broker in the future
* Display a message when async is enabledJeremy Benoist2016-09-114-1/+15
|
* Enable Redis async importJeremy Benoist2016-09-1112-43/+300
| | | | | | | | - using javibravo/simpleue - internal config value are now `import_with_redis` & `import_with_rabbit` which are more clear - if both option are enable rabbit will be choosen - services imports related to async are now splitted into 2 files: `redis.yml` & `rabbit.yml` -
* Retrieve created date from PocketJeremy Benoist2016-09-111-0/+4
|
* Add test for RabbitMQJeremy Benoist2016-09-111-1/+1
| | | | Also update Symfony deps
* Fix DateTime & clear()Jeremy Benoist2016-09-112-2/+11
|
* Add ability to define created_at for all importJeremy Benoist2016-09-114-0/+15
| | | | | | At the moment only Readability & wallabag v2 import allow created_at import. Pocket removed `time_added` field from their API v2 to v3... And wallabag v1 doesn't export that value.
* CSJeremy Benoist2016-09-114-6/+2
|
* Some cleanup & refactorJeremy Benoist2016-09-116-70/+60
|
* Retrieve all items from PocketJeremy Benoist2016-09-111-6/+31
| | | | | 5000 by 5000. Also, retrieve newest item first.
* Convert other imports to RabbitJeremy Benoist2016-09-1113-253/+285
|
* Send every imported item to the queueJeremy Benoist2016-09-115-114/+201
| | | | | Instead of queing real Entry to process, we queue all the item to import from Pocket in a raw format. Then, the worker retrieve that information, find / create the entry and save it.
* Replace RabbitMQ injection with CraueConfigurationNicolas Lœuillet2016-09-112-3/+2
|
* 1st draft for rabbitMQNicolas Lœuillet2016-09-113-8/+75
|
* Clearing entities in the loop fail on PostgresJeremy Benoist2016-09-113-12/+3
| | | | It looks like when you clear entities on Postgres some references are lost and tags are not saved :-/
* Fix error on EntityManager clearJeremy Benoist2016-09-113-3/+12
| | | | | Introduced in the recent 2.5.5 release. Also updated deps.
* Add tests on ReadabilityImportJeremy Benoist2016-09-011-2/+0
|
* Add Readability importJeremy Benoist2016-09-014-0/+299
| | | | Based on the JSON export instead of the API (which will be shutting down by the September 30, 2016)
* Merge remote-tracking branch 'origin/master' into 2.1Jeremy Benoist2016-08-223-33/+64
|\
| * Merge pull request #2221 from wallabag/replace-favorite-starJeremy Benoist2016-08-211-1/+1
| |\ | | | | | | Replaced favorite word/icon with star one
| | * Replaced favorite word/icon with star oneNicolas Lœuillet2016-08-181-1/+1
| | | | | | | | | | | | Fix #2041
| * | Avoid breaking import when fetching failJeremy Benoist2016-08-203-32/+63
| |/ | | | | | | | | | | | | | | | | graby will throw an Exception in some case (like a bad url, a restricted url or a secured pdf). Import doesn't handle that case and break the whole import. With that commit the import isn't stopped but the entry is just skipped. Also, as a bonus, I've added extra test on WallabagImportV2 when the json is empty.
* | Merge branch 'master' into 2.1Jeremy Benoist2016-06-2315-1571/+0
|\|