aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/CoreBundle/Helper
Commit message (Collapse)AuthorAgeFilesLines
* Add RSS tags feedsJeremy Benoist2017-06-211-2/+6
|
* Merge pull request #2683 from wallabag/credentials-in-dbJérémy Benoist2017-06-201-0/+86
|\ | | | | Store credentials in DB
| * Fix reviewsThomas Citharel2017-06-201-2/+2
| | | | | | | | | | | | | | | | Encrypt username too Redirect to list after saving credentials Fix typos Signed-off-by: Thomas Citharel <tcit@tcit.fr>
| * Crypt site credential passwordJeremy Benoist2017-06-201-0/+86
| |
* | Fix empty language and preview picsThomas Citharel2017-06-121-2/+2
|/
* Convert - to _ in languageJeremy Benoist2017-06-091-0/+4
| | | | Mostly to increase language supports
* Use Locale instead of LanguageJeremy Benoist2017-06-091-2/+2
|
* CSJeremy Benoist2017-06-081-1/+2
|
* Validate language & preview picture fieldsJeremy Benoist2017-06-081-11/+67
| | | | | Instead of saving the value of each field right into the content without any validation, it seems better to validate them. This might sounds obvious now we say that.
* Merge pull request #3181 from wallabag/api-content-patchJérémy Benoist2017-06-071-1/+1
|\ | | | | Add ability to patch an entry with more fields
| * Add ability to patch an entry with more fieldsJeremy Benoist2017-06-021-1/+1
| | | | | | | | | | | | | | | | | | Like when we create an entry, we can now patch an entry with new fields: - content - language - preview_picture - published_at - authors
* | Use an alternative way to detect imageJeremy Benoist2017-06-051-5/+45
|/ | | | | | | When parsing content to retrieve images to save locally, we only check for the content-type of the image response. In some case, that value is empty. Now we’re also checking for the first few bytes of the content as an alternative to detect if it’s an image wallabag can handle. We might get higher image supports using that alternative method.
* Merge pull request #2708 from jcharaoui/import-disablecontentupdateJérémy Benoist2017-06-021-21/+27
|\ | | | | Import disableContentUpdate
| * No need to catch that ExceptionJeremy Benoist2017-06-011-9/+2
| |
| * Rewrote code & fix testsJeremy Benoist2017-06-011-46/+20
| |
| * CSJeremy Benoist2017-06-011-3/+3
| |
| * Fix testsJeremy Benoist2017-06-011-8/+19
| |
| * Add disableContentUpdate import optionJerome Charaoui2017-06-011-22/+54
| | | | | | | | | | | | 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.
| * Avoid returning objects passed by reference.Jerome Charaoui2017-06-011-4/+0
| | | | | | | | | | | | 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.
* | CSJeremy Benoist2017-06-011-3/+2
| |
* | Replace images with &Jeremy Benoist2017-06-011-1/+7
| | | | | | | | | | | | Images with `&` in the path weren’t well replaced because they might be with `&amp;` in the html instead. Replacing `&` with `&amp;` fix the problem.
* | Page parameter was never used in the functionJeremy Benoist2017-06-011-3/+2
|/ | | | | It could have been used if we set the current page inside PreparePagerForEntries. But we did that in each controller because we can have an OutOfRangeCurrentPageException
* Forced date can now be a timestamp tooJeremy Benoist2017-05-311-1/+8
| | | | Add adding more tests for forced content
* Improve docsJeremy Benoist2017-05-311-3/+3
|
* Remove htmlawed and use graby insteadJeremy Benoist2017-05-311-18/+1
| | | | | Instead of using htmlawed (which is already used in graby) use graby directly (which require some refacto on graby side). Still needs some tests.
* Use graby ContentExtractor to clean htmlJeremy Benoist2017-05-311-0/+10
| | | | It might be better to re-use some graby functionalities to clean html instead of building a new system.
* Allow other fields to be send using APIJeremy Benoist2017-05-311-7/+23
| | | | | | | | | | | | | | | | 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)
* Merge pull request #3138 from Kdecherf/2835-tagsNicolas Lœuillet2017-05-311-4/+6
|\ | | | | Ignore ActionMarkAsRead when removing tag from entry
| * TagController: ignore ActionMarkAsRead when removing tag from entryKevin Decherf2017-05-311-4/+6
| | | | | | | | | | | | Fixes #2835 Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
* | Fix some Scrutinizer issuesJeremy Benoist2017-05-301-0/+1
|/
* CSThomas Citharel2017-05-282-3/+1
| | | | Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* Move Tags assigner to a separate fileThomas Citharel2017-05-272-53/+79
| | | | Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* Added logger when we match Tagging rulesNicolas Lœuillet2017-05-121-1/+8
|
* Added headers field in EntryNicolas Lœuillet2017-05-111-0/+4
|
* Skip auth when no credentials are foundJeremy Benoist2017-05-091-0/+1
| | | | If we can’t find a credential for the current host, even if it required login, we won’t add them and website will be fetched without any login.
* CSJeremy Benoist2017-05-091-1/+1
|
* Improved Guzzle subscribers extensibilityBertrand Dunogier2017-05-041-8/+18
| | | | Allows 3rd parties to register new guzzle subscribers by adding extra calls to the http_client_factory service.
* Merge pull request #3024 from wallabag/store-dateNicolas Lœuillet2017-04-181-0/+8
|\ | | | | Added publication date and author
| * Added author of articleNicolas Lœuillet2017-04-091-1/+5
| |
| * Added publication dateNicolas Lœuillet2017-04-051-0/+4
| |
* | Add export notice at the end of the epubMartin Trigaux2017-04-051-2/+2
| | | | | | | | | | | | | | | | | | The text "Produced by wallabag with PHPePub" is the first page of any epub. On ebooks reader, it is common (e.g. kobo) to use the first page as the cover of unread books, which makes it more difficult to differentiate the books. Move the Notices chapter at the end of the book.
* | Save alpha channel when downloading PNG imagesKevin Decherf2017-03-291-0/+2
|/ | | | | | Fixes #2805 Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
* Log restricted access valueJeremy Benoist2017-02-131-2/+8
| | | | It might help to figure out if we have enabled it or not
* add cli exportThomas Citharel2017-01-221-0/+5
| | | | Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* Avoid false preview imageJeremy Benoist2017-01-101-1/+1
| | | | | If the website doesn't provide an og_image, the value will be false and so it'll be saved like that in the database. We prefer to leave it as null instead of false.
* Replaced chmod for download pictures featureNicolas Lœuillet2016-12-081-1/+1
|
* Add some commentsJeremy Benoist2016-12-041-0/+3
|
* Prevent undefined index when import fetching failsJerome Charaoui2016-12-021-3/+3
|
* Imported entries which fail to fetch get standard error bodyJerome Charaoui2016-12-021-1/+1
|
* Retain imported content if fetching fails, fixes #2658Jerome Charaoui2016-12-021-2/+7
|