| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
| |
|
|\
| |
| | |
Better entry txt export using html2text
|
| | |
|
|/
|
|
|
|
| |
Fixes #2502
Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
|
| |
|
|
|
|
|
|
|
| |
To avoid error when a content is re-submitted and it previously add a
published date.
Also, fix the `testPostSameEntry`
|
| |
|
|\
| |
| | |
Use the article publisher as author for exported files
|
| | |
|
| |
| |
| |
| |
| | |
When exporting an entry, use the publishedBy field as author name for
epub, mobi and pdf formats. Fallback to domain name if empty.
|
| |
| |
| |
| |
| |
| |
| | |
When exporting an entry, use the domain name as author name for epub,
mobi and pdf formats, instead of 'wallabag'.
Change the author from array to string, because for now, there is always
only one author.
|
|/
|
|
| |
Refactorize timestamps() method to avoid re-writing it on each entity
|
| |
|
|
|
|
| |
Which wasn't covered by a test!
|
|
|
|
|
| |
The PATCH method for the entry should only update what user sent to us and not the whole entry as it was before.
Also, sending tags when patching an entry will now remove all current tags & assocatied new ones.
|
| |
|
| |
|
|\
| |
| | |
Store credentials in DB
|
| |
| |
| |
| |
| |
| |
| |
| | |
Encrypt username too
Redirect to list after saving credentials
Fix typos
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
|
| | |
|
|/ |
|
|
|
|
| |
Mostly to increase language supports
|
| |
|
| |
|
|
|
|
|
| |
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.
|
|\
| |
| | |
Add ability to patch an entry with more fields
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Like when we create an entry, we can now patch an entry with new fields:
- content
- language
- preview_picture
- published_at
- authors
|
|/
|
|
|
|
|
| |
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
|
|
|
|
| |
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)
|
|\
| |
| | |
Ignore ActionMarkAsRead when removing tag from entry
|
| |
| |
| |
| |
| |
| | |
Fixes #2835
Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
|
|/ |
|
|
|
|
| |
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
|