| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
Signed-off-by: Olivier Mehani <shtrom@ssji.net>
|
|
|
|
| |
Signed-off-by: Olivier Mehani <shtrom@ssji.net>
|
| |
|
| |
|
|
|
|
|
|
| |
Fixes #4079
Signed-off-by: Olivier Mehani <shtrom@ssji.net>
|
|
|
|
|
|
| |
Fixes #4080
Signed-off-by: Olivier Mehani <shtrom@ssji.net>
|
|
|
|
| |
Instead of using a select, let the user decide its own speed.
|
|
|
|
|
| |
Again.
Looks like there are still some which were missing to be replaced.
|
|\
| |
| | |
Fix `reading_time` being NULL on SQLite
|
| |
| |
| |
| | |
This is to avoid migration using an other SGBD to break.
|
| | |
|
| | |
|
|/
|
|
|
| |
Looks like we missed one `wallabag_user` in migration.
It can work for most people but if someone use a different prefix, it'll break.
|
|\
| |
| | |
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>
|
| |
| |
| |
| |
| | |
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`.
|
| | |
|
| | |
|
|/ |
|
| |
|
| |
|
|
|
|
| |
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
|
| |
|
| |
|
|
|
|
| |
Should fix https://github.com/wallabag/wallabag/issues/3662
|
|
|
|
|
| |
Also remove the forced `server_version` from dbal config to avoid an
hard overriding across all database.
|
| |
|
|
|
|
|
|
|
|
|
| |
- Update SchebTwoFactorBundle to version 3
- Enable Google 2fa on the bundle
- Disallow ability to use both email and google as 2fa
- Update Ocramius Proxy Manager to handle typed function & attributes (from PHP 7)
- use `$this->addFlash` shortcut instead of `$this->get('session')->getFlashBag()->add`
- update admin to be able to create/reset the 2fa
|
|
|
|
|
| |
- Fix error for level 0 & 1 (level 7 has 699 errors...)
- Add `updated_at` to site_credential (so the `timestamps()` method applies correctly)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When creating the schema for test these tables use default length for
string: 255. Which fail when using utf8mb4.
> Syntax error or access violation: 1071 Specified key was too long; max key length is 767 bytes
Also move the `setKeepStaticConnections` in before and after class to
avoid:
> SAVEPOINT DOCTRINE2_SAVEPOINT_2 does not exist
See https://github.com/dmaicher/doctrine-test-bundle#troubleshooting
|
| |
|
|
|
|
| |
Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
|
|
|
|
| |
When we want to perform complex queries to retrieve metadata from the database
|
| |
|
|\
| |
| | |
Fix initial migration when using custom table prefix
|
| | |
|
| |
| |
| |
| | |
Fix #3503
|
|/ |
|
| |
|
| |
|
| |
|
|
|
|
| |
Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
|
|
|
|
|
|
| |
Fix possible issue with special chars on #3139
Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
|
|
|
|
|
|
|
| |
Also fix the field name used in the query string and add it to baggy
theme
Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
|
| |
|