| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
Just so the user can see its login
|
|\
| |
| | |
mysql: change collation of tag label
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
utf8mb4_unicode_ci considers that 'caché' is equal to 'cache' which
can lead to attaching incorrect tags to entries. This issue is due to
some unicode normalization done by MySQL.
utf8mb4_bin makes no unicode normalization, letting wallabag to consider
'cache' and 'caché' as two different tags.
We change the collation of the whole table as Doctrine does not support
setting a collation on a column for a specific platform (it tries to
apply utf8mb4_bin even for pgsql and sqlite).
Fixes #3302
Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
|
|\ \
| | |
| | | |
Add ability to revoke feed token
|
| | | |
|
|/ /
| |
| |
| | |
Just in case people want to see that page again.
|
|\ \
| | |
| | | |
Add `given_url` in Entry table to check if a redirected url has already added
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
When using `OR` in a where clause, a composite index can't be used. We should use a `UNION` to take advantages of it.
Instead, create 2 indexes on each hashed urls and make 2 queries to find an url. It'll be faster than the previous solution.
|
| | |
| | |
| | |
| | | |
Using hashed url we can ensure an index on them to ensure it's fast.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
- Added index on entry table for given_url field
- Fix tests:
The previous `bit.ly` url redirected to doc.wallabag but that url doesn't exist in the fixtures.
I used our own internal "redirector" to create a redirect to an url which exist in the fixtures.
Also, updating current migration to use the new `WallabagMigration`.
|
| | |
| | |
| | |
| | |
| | | |
It was only used to make an absolute url when downloading images.
The deps is still there (in the `composer.lock`) because Graby use it (not for absolute but for encoding).
|
|/ / |
|
|\ \
| | |
| | | |
Always hash exists url
|
| | |
| | |
| | |
| | | |
Also fix a phpdoc block
|
| | | |
|
| | |
| | |
| | |
| | | |
Signed-off-by: Olivier Mehani <shtrom@ssji.net>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Olivier Mehani <shtrom@ssji.net>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Simplify the logic from #3158 by hashing all the urls from the request,
and only doing a search by hash. This allows to get performance benefits
from the new indexed hash column even when using older clients that do
not hash the URL in the request.
Fixes: #3158, #3919
Signed-off-by: Olivier Mehani <shtrom@ssji.net>
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
|\ \ \
| | | |
| | | | |
Preview picture: use the 1st pic retrieved if no og:image set
|
| |/ / |
|
|/ / |
|
|\ \
| | |
| | | |
api/entries: add parameter detail to exclude or include content in response
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
detail=metadata will nullify the content field of entries in order to
make smaller responses.
detail=full keeps the former behavior, it sends the content of entries.
It's the default, for backward compatibility.
Fixes #2817
Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
|
|\ \ |
|
| |\ \
| | | |
| | | | |
Remove preview picture from share view page for #1875
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Essentially, same as commit 038fccd for single entry views. From that commit:
> Showing the preview picture usually leads to showing a duplicate
> image, and frequently leads to showing duplicate images directly
> adjacent to each other.
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
default
Fixes #3889
Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Add reading time and creation date to rows of list view.
Refactor styles using a sass mixin.
Fixes #3838
Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
Instead of fetching one domain, we use the same method as in site config (to retrieve the matching file) and handle api.example.org, example.org, .org (yes the last one isn’t useful).
If one of these match, we got it and use it.
|
| |/
|/| |
|
| | |
|
| |
| |
| |
| |
| | |
If Imagick is available, GIF will be saved using it to keep animation.
Otherwise the previous method will be used and the animation won't be kept.
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
Also, do not run the hashed_url migration into a Doctrine migration
|
| |
| |
| |
| |
| |
| | |
It'll most often be used in addition to the `user_id`.
Also, automatically generate the hash when saving the url.
Switch from `md5` to `sha1`.
|
| |
| |
| |
| |
| |
| | |
- Add migration
- Use md5 instead of sha512 (we don't need security here, just a hash)
- Update tests
|
| |
| |
| |
| | |
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
|