| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
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.
|
|\
| |
| | |
Import disableContentUpdate
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| | |
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.
|
| | |
|
| |
| |
| |
| |
| |
| | |
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.
|
| | |
|
| |
| |
| |
| |
| |
| | |
Images with `&` in the path weren’t well replaced because they might be with `&` in the html instead.
Replacing `&` with `&` fix the problem.
|
| | |
|
| | |
|
| | |
|
|/
|
|
|
| |
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
|
|\
| |
| | |
Isolated tests
|
| |
| |
| |
| | |
Use https://github.com/dmaicher/doctrine-test-bundle to have test isolation.
|
|\ \
| | |
| | | |
Added tags on list view
|
| | |
| | |
| | |
| | | |
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
Add adding more tests for forced content
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
Instead of using htmlawed (which is already used in graby) use graby directly (which require some refacto on graby side).
Still needs some tests.
|
| | |
| | |
| | |
| | | |
It might be better to re-use some graby functionalities to clean html instead of building a new system.
|
| | | |
|
| |/
|/|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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)
|
|\ \
| | |
| | | |
Add support for tag in Instapaper import
|
| | | |
|
|\ \ \
| | | |
| | | | |
Ignore ActionMarkAsRead when removing tag from entry
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Fixes #2835
Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
|
|\ \ \ \
| |_|/ /
|/| | | |
Fix some Scrutinizer issues
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Actually use the correct to way handle that
http://symfony.com/doc/current/components/console/helpers/questionhelper.html#testing-a-command-that-expects-input
|
| | |/
| |/| |
|
|\ \ \
| |_|/
|/| | |
Fixed is_starred for wallabag v2 import
|
| | | |
|
| | | |
|
|\ \ \
| |_|/
|/| | |
Register through API
|
| | |
| | |
| | |
| | | |
The Profile validation_groups does not exist and then for validation to be skipped (like password length)
|
| | |
| | |
| | |
| | |
| | |
| | | |
The only ugly things is how we handle error by generating the view and then parse the content to retrieve all errors…
Fix exposition fields in User entity
|
| | |
| | |
| | |
| | | |
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
|
|\ \ \
| |/ /
|/| | |
Add some deletion confirmation to avoid mistake
|
| | |
| | |
| | | |
add missing translation
|
| | | |
|
| |/ |
|