aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/ImportBundle
Commit message (Collapse)AuthorAgeFilesLines
* 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
|\|
| * Jump to Symfony 3.1Jeremy Benoist2016-06-2215-1571/+0
| |
* | Enhance option in commandNicolas Lœuillet2016-05-271-4/+2
| |
* | Add CLI import for wallabag v2 filesNicolas Lœuillet2016-05-271-1/+12
|/
* Add testsNicolas Lœuillet2016-04-184-4/+305
|
* Add doctrine clear after flush, thanks to @BitOne talk at Symfony LiveNicolas Lœuillet2016-04-182-0/+2
|
* Convert array + phpDocJeremy Benoist2016-04-129-33/+33
| | | | Thanks for https://github.com/thomasbachem/php-short-array-syntax-converter
* Refacto wallabag importJeremy Benoist2016-03-286-308/+353
| | | | | Use an abstract class to store all common action from wallabag vX import. Move specificity in v1 & v2 import.
* Tags were not imported in wallabag v2 importJeremy Benoist2016-03-275-28/+50
| | | | Also, simplify exportAs matching format
* Fix some Scrutinizer issuesJeremy Benoist2016-03-275-12/+55
|
* Add flashes messagesJeremy Benoist2016-03-206-14/+24
|
* Convert english translation fileJeremy Benoist2016-03-2014-49/+61
| | | | | | | - convert english translation to translate key - remove baggy template for login (never used since user isn't logged in and it'll use the default theme: material) - fix tests about text in response (now checking translation key instead of translated text) - remove all ugly `<div class="hidden">{{ form_rest(form) }}</div>`
* Improve testsJeremy Benoist2016-03-111-4/+0
| | | | | | - add more tests for coverage - add a test on annotation deletion - fix post annontation with ranges
* Added 'wallabag' in page titleNicolas Lœuillet2016-03-083-3/+3
|
* Adding testJeremy Benoist2016-03-0410-63/+219
| | | | Reformat json file (thanks pro.jsonlint.com)
* cs & tests for wllbg v1 importThomas Citharel2016-03-037-5/+122
|
* french translation & pocketThomas Citharel2016-03-034-3/+52
|