| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| | |
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.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- 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`.
|
|\ \
| |/
|/| |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
And add a step to validate a generated code from the OTP app
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- 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
|
| |
| |
| |
| | |
Instead of one per type, one for all is ok.
|
| |
| |
| |
| |
| | |
- Fix error for level 0 & 1 (level 7 has 699 errors...)
- Add `updated_at` to site_credential (so the `timestamps()` method applies correctly)
|
|\| |
|
| |
| |
| |
| |
| |
| |
| |
| | |
Filename will now only use a-zA-Z0-9-' and space.
Fixes remaining filename issue on #3811
Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
|
|\|
| |
| |
| |
| |
| |
| |
| | |
# Conflicts:
# web/wallassets/baggy.js
# web/wallassets/manifest.json
# web/wallassets/material.css
# web/wallassets/material.js
|
| | |
|
|\ \
| | |
| | | |
Allow to rename tags from the web interface.
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
- Do not override locale if user has choosen a locale from the login screen.
- Add some tests about locale url
|
|/ /
| |
| |
| |
| |
| |
| | |
Thanks to the BC compatibility, almost nothing have to be changed.
All changes are related to new bundle version of:
- SensioFrameworkExtraBundle
- DoctrineFixturesBundle
|
|/ |
|
| |
|
| |
|
|
|
|
| |
Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
|
|
|
|
| |
Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
|
| |
|
|
|
|
| |
Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
|
| |
|
|\
| |
| | |
Disable controller access if feature disabled
|
| |
| |
| |
| | |
If `restricted_access` is disabled, accessing `/site-credentials/` must be disabled.
|
|\|
| |
| | |
Added internal setting to enable/disable headers storage
|
| | |
|
| |
| |
| |
| | |
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>
|
| |
|
| |
|
| |
|
|
|
|
| |
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.
|