aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/ImportBundle/Import/PocketImport.php
Commit message (Collapse)AuthorAgeFilesLines
* CSJeremy Benoist2019-05-281-1/+1
|
* CSJeremy Benoist2019-05-281-4/+3
|
* Use httplugadev2019-05-281-43/+47
|
* Merge remote-tracking branch 'origin/master' into 2.4Jeremy Benoist2019-02-071-3/+3
|\
| * Improve checks & add testsJeremy Benoist2019-01-281-3/+3
| |
| * status and favourite are actually strings in the import so use ==Tristan Hill2019-01-271-2/+2
| |
* | Merge remote-tracking branch 'origin/master' into 2.4Jeremy Benoist2019-01-151-0/+12
|\|
| * Validate imported entry to avoid error on importJeremy Benoist2019-01-031-0/+12
| | | | | | | | | | We got some imports with a missing `url` field generating some errors while trying to retrieve an existing entry with that url. Introducing the `validateEntry` allow us to dismiss a message when it doesn't have an url (or other missing stuff in the future)
* | Entry: add archived_at property and updateArchived methodSébastien Viande2018-09-211-1/+1
|/
* php-cs-fixerKevin Decherf2018-09-051-1/+1
| | | | Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
* CSJeremy Benoist2017-10-091-6/+6
|
* Add a real configuration for CS-FixerJeremy Benoist2017-07-011-7/+6
|
* Avoid returning objects passed by reference.Jerome Charaoui2017-06-011-1/+1
| | | | | | Objects are always passed by reference, so it doesn't make sense to return an object which is passed by reference as it will always be the same object. This change makes the code a bit more readable.
* CSThomas Citharel2017-05-281-1/+0
| | | | Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* Move Tags assigner to a separate fileThomas Citharel2017-05-271-1/+1
| | | | Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* CSJeremy Benoist2016-11-021-2/+0
|
* Add entry.saved event to import & restJeremy Benoist2016-11-021-7/+0
|
* Use scheduled entity insertions to avoid tag duplicateJeremy Benoist2016-09-251-1/+2
| | | | Using `getScheduledEntityInsertions()` we can retrieve not yet flushed but already persisted entities and then avoid tags duplication on import.
* Avoid losing entry when fetching failJeremy Benoist2016-09-171-14/+5
| | | | 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-161-6/+4
|
* Change flash message for queued articlesJeremy Benoist2016-09-131-11/+0
|
* Retrieve created date from PocketJeremy Benoist2016-09-111-0/+4
|
* Add test for RabbitMQJeremy Benoist2016-09-111-1/+1
| | | | Also update Symfony deps
* Add ability to define created_at for all importJeremy Benoist2016-09-111-0/+5
| | | | | | 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-111-2/+0
|
* Some cleanup & refactorJeremy Benoist2016-09-111-17/+5
|
* 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-111-91/+16
|
* Send every imported item to the queueJeremy Benoist2016-09-111-65/+112
| | | | | 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-111-2/+2
|
* 1st draft for rabbitMQNicolas Lœuillet2016-09-111-8/+27
|
* Clearing entities in the loop fail on PostgresJeremy Benoist2016-09-111-4/+1
| | | | 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-111-1/+4
| | | | | Introduced in the recent 2.5.5 release. Also updated deps.
* 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-201-11/+8
|/ | | | | | | | | 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.
* Add testsNicolas Lœuillet2016-04-181-1/+1
|
* Add doctrine clear after flush, thanks to @BitOne talk at Symfony LiveNicolas Lœuillet2016-04-181-0/+1
|
* Fix some Scrutinizer issuesJeremy Benoist2016-03-271-1/+1
|
* Convert english translation fileJeremy Benoist2016-03-201-2/+2
| | | | | | | - 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>`
* Adding testJeremy Benoist2016-03-041-1/+1
| | | | Reformat json file (thanks pro.jsonlint.com)
* cs & tests for wllbg v1 importThomas Citharel2016-03-031-1/+0
|
* french translation & pocketThomas Citharel2016-03-031-1/+23
|
* Move assignTagsToEntry in ContentProxy helperJeremy Benoist2016-02-191-22/+4
|
* Merge pull request #1612 from wallabag/v2-settings-pageNicolas Lœuillet2016-02-041-2/+3
|\ | | | | Settings page
| * Add CraueConfig for internal settingsJeremy Benoist2016-01-311-2/+3
| |
* | [#1604] First draft to fix SensioLabsInsight reportNicolas Lœuillet2016-01-221-4/+0
|/
* Fix `findOneByUrl` side effect in testsJeremy Benoist2016-01-151-1/+1
| | | | Fix #1566
* updated testsNicolas Lœuillet2016-01-071-4/+2
|