| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
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.
|
|\
| |
| | |
Ignore tag's case
|
| |
| |
| |
| | |
Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
|
| |
| |
| |
| |
| |
| | |
Fixes #2502
Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
|
|/
|
|
|
|
|
|
| |
This date is used to sort starred entries.
Can not use Entry::timestamps method otherwise starred_at will be updated each time entry is updated.
Add an updateStar method into Entry class
A migration script has been added in order to set starred_at field.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
To avoid error when a content is re-submitted and it previously add a
published date.
Also, fix the `testPostSameEntry`
|
| |
|
| |
|
| |
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
| |
|
|\
| |
| | |
Add client_credentials oAuth2 auth method
|
| |
| |
| |
| | |
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
|
| | |
|
| | |
|
|\ \
| | |
| | | |
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 😓
|
| | | |
|
| |/
|/| |
|
| |
| |
| |
| |
| |
| | |
Listing entries can now be filtered by “public”.
Creating or patching an entry can now set is to public or remove the public.
Entry response now include “is_public” boolean field
|
|/ |
|
|\
| |
| | |
remove craueconfig domain name setting and add a proper one in parame…
|
| | |
|
| | |
|
|\ \
| | |
| | | |
Validate language & preview picture fields
|
| | |
| | |
| | |
| | |
| | | |
Looks like we didn't ALWAYS get a value for language from 20minutes.
Ahem.
|
| | |
| | |
| | |
| | | |
Mostly to increase language supports
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
de_DE is not valid language.
Zataz doesn’t send a valid language in their content (they use `fr-FR`).
|
| | |
| | |
| | |
| | |
| | | |
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.
|
|/ / |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
While creating a new user using the API, we also create a new client for the current user.
So the app which just create the user can use its newly created client to configure the app.
That new client is only return after creating the user.
When calling the endpoint /api/user to get user information, the new client information won’t be return.
|
|\ \
| | |
| | | |
Displays an error with an annotation with a too long quote
|
| | |
| | |
| | |
| | | |
Fix #2762
|
|\ \ \
| | | |
| | | | |
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
|
|\ \ \
| | | |
| | | | |
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.
|