| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
|
|
|
|
|
|
|
| |
Set an origin_url in testEditUpdate
Test origin_url deletion in testEditRemoveOriginUrl
Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
|
|
|
|
|
|
|
|
| |
This twig filter removes scheme (only http and https are supported) and
pass the result to removeWww filter to also remove 'www.' at the
beginning of an url.
Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
|
| |
|
| |
|
| |
|
|
|
|
| |
Also update tests urls
|
| |
|
|
|
|
|
|
|
|
|
|
| |
First, the setParameter() were done on the same parameter which in fact
just duplicated the condition in the SQL query (like `where t.label =
'test' and t.label = 'test'`.
Changed the parameter doesn't help because the query was then wrong.
Changing the way to match associated tags for an entry and it worked.
|
|
|
|
|
|
| |
Fixes #2502
Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
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>
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
It is not aimed to test if we can get the full article (since we aren't using real login/password)
but mostly to test the full work (with authentication, etc.)
Do not clean fixtured to avoid SQLite to re-use id for entry tag relation 😓
|
| | |
|
| | |
|
|/ |
|
|\
| |
| | |
remove craueconfig domain name setting and add a proper one in parame…
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
Looks like we didn't ALWAYS get a value for language from 20minutes.
Ahem.
|
| |
| |
| |
| | |
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.
|
| | |
|
|\ \
| | |
| | | |
Use an alternative way to detect images
|
| |/
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| | |
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
|
|/
|
|
| |
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
|
|\
| |
| | |
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.
|
|\
| |
| | |
Isolated tests
|
| |
| |
| |
| | |
Use https://github.com/dmaicher/doctrine-test-bundle to have test isolation.
|