Jeremy Benoist
c1a5dfe5e4
Use skipIf
instead of abortIf
...
This is to avoid migration using an other SGBD to break.
2019-06-21 09:15:35 +02:00
Jeremy Benoist
1f36a21887
Fix reading_time
being NULL on SQLite
2019-06-20 09:50:07 +02:00
Jeremy Benoist
227e44d49c
Fix PG migration
2019-06-19 09:06:58 +02:00
Jeremy Benoist
22807de7c5
Fix migration with prefix table name
...
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.
2019-06-18 22:10:46 +02:00
Jérémy Benoist
c19845a7ae
Merge pull request #3959 from wallabag/mig-tag-collation
...
mysql: change collation of tag label
2019-06-06 12:03:37 +02:00
Jérémy Benoist
7e5b7e029a
Merge pull request #3990 from wallabag/feature/sentry
...
Add Sentry support
2019-06-05 14:41:42 +02:00
Jérémy Benoist
c822b20835
Try to force people to update the secret
2019-06-05 14:14:17 +02:00
Jeremy Benoist
955a3bde17
Add Sentry support
...
Only enable in production
2019-06-05 13:15:15 +02:00
Jeremy Benoist
70df4c3359
Use two indexes instead of one for hashed urls
...
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.
2019-06-05 10:53:15 +02:00
Jeremy Benoist
f3bfb875e9
Use hash given url to avoid duplicate
...
Using hashed url we can ensure an index on them to ensure it's fast.
2019-05-29 15:56:20 +02:00
Nicolas Lœuillet
b7fa51ae7d
Added given_url in entry table
...
- 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`.
2019-05-29 13:50:59 +02:00
Jeremy Benoist
6546aca4a3
Keep composer.lock
...
We initially ignored the `composer.lock` because it generated a lock of rebase on PR when someone updated it and the master updated it too.
Now we have less contributions (sadly) so I think we won't run against that problem.
Also, it'll solve issue about people cloning the master and got angry because composer eat all the available memory to determine packages to install.
It'll also be much easier to make release.
Scrutinizer & Travis will be faster too.
2019-05-29 11:41:07 +02:00
adev
1048c9c4a8
Configure timeout
2019-05-28 11:42:27 +02:00
adev
bf9ace0643
Use httplug
2019-05-28 11:40:41 +02:00
Kevin Decherf
feb239ea10
mysql: change collation of tag table
...
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>
2019-05-19 23:37:49 +02:00
Jeremy Benoist
9f0957b831
Merge remote-tracking branch 'origin/master' into 2.4
2019-05-15 14:38:07 +02:00
Jeremy Benoist
cc181629a0
Prepare 2.3.8 release
2019-05-14 10:16:46 +02:00
Jeremy Benoist
754bf12e67
Fix SQLite constraint
2019-05-10 21:15:46 +02:00
Jeremy Benoist
d2ef2d6df8
Fix SQLite migration
2019-05-10 20:36:45 +02:00
Jeremy Benoist
637f0df976
Cascade delete on oauth2 table when deleting a user
2019-05-10 20:36:45 +02:00
Kevin Decherf
4b5b228650
material: add metadata to list view
...
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>
2019-05-01 15:47:48 +02:00
Jeremy Benoist
68a90821a3
Handle redirection from previous feeds
2019-04-26 13:40:58 +02:00
Jeremy Benoist
f277bc042c
Fix tests & cs & migration
2019-04-26 12:53:21 +02:00
Thomas Citharel
531c8d0a5c
Changed RSS to Atom feed and improve paging
2019-04-25 13:46:31 +02:00
Jeremy Benoist
5cc0646e66
Fix index on MySQL
2019-04-01 15:45:17 +02:00
Jeremy Benoist
c579ce2306
Some cleanup
...
Also, do not run the hashed_url migration into a Doctrine migration
2019-04-01 14:34:20 +02:00
Jeremy Benoist
8a64566298
Use a better index for hashed_url
...
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`.
2019-04-01 13:51:57 +02:00
Jeremy Benoist
9c2b2aae70
Keep url in exists endpoint
...
- Add migration
- Use md5 instead of sha512 (we don't need security here, just a hash)
- Update tests
2019-04-01 13:24:40 +02:00
Jeremy Benoist
3620dae1e6
Merge remote-tracking branch 'origin/master' into 2.4
2019-04-01 13:16:15 +02:00
Kevin Decherf
cf0010cf4a
material: fix left padding on non-entry pages introduced by #3893
...
Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
2019-03-09 00:27:50 +01:00
Jeremy Benoist
3d7a1f4caf
Jump to 2.3.8-dev
2019-03-04 13:49:23 +01:00
Jeremy Benoist
f2aa373054
Prepare 2.3.7 release
2019-03-04 09:32:26 +01:00
Kevin Decherf
246cc9ac93
material: add media queries to hide creation date from card actions
...
Hide the creation date from card actions on specific sizes when there's
not enough space for all parts.
Fixes #3851
Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
2019-03-03 19:22:32 +01:00
Kevin Decherf
f1f1efb5de
material: wrap card actions, remove class hiding of creation date
...
Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
2019-03-03 19:22:32 +01:00
Kevin Decherf
05232afe32
material: fix left padding of content on medium screens
...
Fixes #3877
Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
2019-03-02 23:46:00 +01:00
Kevin Decherf
fb7dedf36c
material: move a media query from cards to dedicated scss file
...
Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
2019-03-02 22:48:43 +01:00
Jeremy Benoist
85403dae04
Disable down for that migration
2019-03-01 20:26:59 +01:00
Jeremy Benoist
fcd54e2447
Test each internal settings before creating them
2019-03-01 20:26:58 +01:00
Nadrieril
c2efb5a306
Add missing entries in craue_config_setting.
...
Should fix https://github.com/wallabag/wallabag/issues/3662
2019-03-01 20:26:58 +01:00
Rurik19
a9f61d3dbb
CORS repare for api
2019-02-11 11:57:52 +01:00
Jeremy Benoist
842af5c357
Add SQLite & PG migration
...
Also remove the forced `server_version` from dbal config to avoid an
hard overriding across all database.
2019-01-23 13:28:23 +01:00
Jeremy Benoist
dfd0a7bc5f
Add backup codes
2019-01-23 13:28:03 +01:00
Jeremy Benoist
a6b242a1fd
Enable OTP 2FA
...
- 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
2019-01-23 13:28:02 +01:00
Jeremy Benoist
6113dbbc20
Removed hardcoded database version
2019-01-22 20:38:28 +01:00
Jeremy Benoist
50f35f0db2
Move icon into the top menu bar
...
Change the way to select a random entry:
- select all ids from the given user (with filters)
- choose randomly one in php
- find that entry
2019-01-19 22:24:10 +01:00
Jeremy Benoist
1e0d8ad7b7
Enable PHPStan
...
- Fix error for level 0 & 1 (level 7 has 699 errors...)
- Add `updated_at` to site_credential (so the `timestamps()` method applies correctly)
2019-01-18 15:25:50 +01:00
Jeremy Benoist
3bd65991ad
Add a new endpoint to retrieve information from the wallabag instance
...
Useful for api client which required some information.
We might add more inside them in the future.
The endpoint /api/version should be avoided now as it contains not so much information rather the version.
2019-01-15 10:17:11 +01:00
Jeremy Benoist
5419a8368e
Merge remote-tracking branch 'origin/master' into 2.4
2019-01-15 09:41:18 +01:00
Jérémy Benoist
314f647238
Jump to 2.3.7-dev
2019-01-11 22:17:48 +01:00
Jeremy Benoist
3bed2e440e
Prepare 2.3.6 release
2019-01-11 14:16:41 +01:00
Jeremy Benoist
4fd5f670fe
Jump to 2.3.6-dev and update release process
...
Fix release archive in `release.sh` and also fix a typo in the release process
2018-12-15 08:14:47 +01:00
Jeremy Benoist
a1272ab84d
Prepare 2.3.5 release
2018-12-14 20:59:16 +01:00
Jeremy Benoist
877787e5fe
Fix utf8mb4 on vendor tables
...
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
2018-11-28 22:04:55 +01:00
Jeremy Benoist
1b6b77f029
Remove custom Postgres class
...
Because PG > 10 is now supported by DBAL >= 2.6.0
2018-11-28 22:04:54 +01:00
Jeremy Benoist
db9b6d8d0d
Update fixtures
2018-11-28 22:04:54 +01:00
Jeremy Benoist
6fc95673df
Cleanup
2018-11-28 22:04:54 +01:00
Kevin Decherf
20898d5ef4
Merge pull request #3783 from wallabag/issue-3780
...
material: decrease size of tags on list view
2018-11-26 18:45:38 +01:00
Kevin Decherf
72efc8ceeb
Merge pull request #3782 from wallabag/issue-3779
...
material: fix missing thumbnail on list view
2018-11-26 18:45:12 +01:00
Kevin Decherf
13d94929ec
material: decrease size of tags on list view
...
Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
2018-11-25 15:38:17 +01:00
Kevin Decherf
e5de9917fd
material: fix missing thumbnail on list view
...
Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
2018-11-25 15:00:08 +01:00
Jeremy Benoist
b878be4cc9
Merge remote-tracking branch 'origin/master' into 2.4
...
# Conflicts:
# web/wallassets/baggy.js
# web/wallassets/manifest.json
# web/wallassets/material.css
# web/wallassets/material.js
2018-11-25 09:58:18 +01:00
Jeremy Benoist
a03c4d90b2
Jump to 2.3.5-dev and update release process
...
After the latest release, I update the documentation about it so it’s more clear
2018-11-25 09:43:21 +01:00
Jeremy Benoist
dc90eab32b
Prepare 2.3.4 release
2018-11-23 08:34:13 +01:00
Simounet
2daae77094
Card no preview replaced by wallabag logo
2018-11-21 18:51:44 +01:00
Matt Burke
cefbe6a87f
Add placeholder image to card-based gallery entries page for #3651
...
I referenced https://css-tricks.com/using-svg/ for using the SVG icon.
The icon has a black foreground and white background, which doesn't
look very good as a placeholder. So, using the background-image style
to show the svg and the inversion filter to make it white on gray.
With the image always present, there isn't much difference between
the with and without image preview templates, so I merged them.
Tested on Chrome, Firefox, and Safari on OSX.
2018-10-15 23:59:39 -04:00
Jérémy Benoist
e673b54f70
Merge pull request #3574 from shulard/feature/rename-tags
...
Allow to rename tags from the web interface.
2018-10-15 08:32:59 +00:00
Nicolas Lœuillet
be417ef236
Added possibility to change locale from login/register pages
2018-10-13 09:39:00 +02:00
Glenn Goffin
6a3187066f
Add secure email
2018-10-11 07:57:11 +02:00
Jeremy Benoist
115de64e5b
Jump to Symfony 3.4
...
Thanks to the BC compatibility, almost nothing have to be changed.
All changes are related to new bundle version of:
- SensioFrameworkExtraBundle
- DoctrineFixturesBundle
2018-10-04 14:11:57 +02:00
Stéphane HULARD
32968bd30e
Add specific styles for the card tag form element.
...
Also add a `.hidden` class in the baggy theme to have consistency with material.
2018-09-25 10:18:35 +02:00
Stéphane HULARD
9b0aef9171
Update tag list template to allow renaming.
...
* Add a form on each tag to handle rename action.
* Add JavaScript to handle action on the corresponding page inside the global index.js file.
* Add support for the 2 active themes : material / baggy
The form solution is cleaner than an Ajax one because it let the browser validate input data and make the POST easier without the need to handle JSON response.
2018-09-25 10:18:08 +02:00
Sébastien Viande
7975395d10
Entry: add archived_at property and updateArchived method
2018-09-21 10:33:33 +02:00
Kevin Decherf
2a1ceb67b4
php-cs-fixer
...
Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
2018-09-05 14:25:32 +02:00
Aleksandar Todorović (r3bl)
e0a9791412
Fixes another typo
2018-08-10 20:28:48 +02:00
Simounet
e93f37206a
wallabag logo (side-nav) replaced by an SVG one
2018-07-11 21:57:53 +02:00
Simounet
4c78612eb4
wallabag logo with typo replaced by an SVG one
2018-07-11 21:51:52 +02:00
Simounet
2fdd512488
Fake wallabag logo data image replaced by real SVG
2018-07-11 21:25:46 +02:00
Jérémy Benoist
9216bab8c9
Merge pull request #3683 from Simounet/fix/iframe-video-width-shared
...
Fix mobile viewport on big iframe and video elements
2018-07-06 05:38:39 +00:00
Jeremy Benoist
80336f77fd
The 'framework.trusted_proxies' configuration key has been deprecated in Symfony 3.3
2018-07-05 21:01:45 +02:00
Simounet
6cf7f21dcb
Fix mobile viewport on big iframe and video elements
2018-06-28 15:22:51 +02:00
Jeremy Benoist
7ddba67745
Prepare 2.3.3 release
2018-06-19 06:50:13 +02:00
Jeremy Benoist
49b4c87598
We should able to get the table name unescaped
...
When we want to perform complex queries to retrieve metadata from the database
2018-06-14 14:15:07 +02:00
Jeremy Benoist
bfe7a69226
Fixed migrations with dash into db name
2018-06-14 13:43:09 +02:00
Jérémy Benoist
36054f5dd4
Merge pull request #3636 from flozz/syntax-highlight
...
Highlight code in articles using highlight.js
2018-06-07 06:22:14 +00:00
Jérémy Benoist
fea68d1a72
Merge pull request #3646 from Quenty31/master
...
[i18n] Occitan update
2018-06-01 14:53:49 +02:00
Simounet
f136d288d6
Fix Firefox mobile unneeded resize
...
Before that, on Firefox Mobile, when you were moving to the top or to
the bottom of the page, you were stopped before to go to the opposite
side.
2018-05-24 09:04:02 +02:00
Simounet
a6e5637507
Fix overflow wrap issue
2018-05-21 19:47:28 +02:00
Quentí
4745ca3fde
Update CraueConfigBundle.oc.yml
2018-05-05 21:16:20 +02:00
Quentí
9562a8aca8
Update CraueConfigBundle.oc.yml
2018-05-05 21:09:00 +02:00
Fabien LOISON
b2e7b8b600
Highlight code in articles using highlight.js
2018-04-23 19:11:24 +02:00
Floran Brutel
08d6bedcaa
Allow login by email
2018-04-01 20:57:10 +02:00
Jeremy Benoist
ac1811f83e
Prepare 2.3.2 release
2018-01-22 10:06:31 +01:00
Simounet
91f5992423
Close add entry and search nav JS action improved
2018-01-12 10:07:46 +01:00
Simounet
2831e77cce
Nav close button alignment and nav boxes improved
2018-01-12 10:07:46 +01:00
Simounet
63771b9ae3
Fix nav new entry and search form alignment
2018-01-12 10:07:46 +01:00
Simounet
f86c2b5fa6
Label replaced by a button on the nav search form
2018-01-12 10:07:46 +01:00
Simounet
e9e3f93805
Label replaced by a button on the nav new entry form
2018-01-12 10:07:46 +01:00
Nicolas Lœuillet
3473e600b1
Merge pull request #3525 from Simounet/fix/empty-card-title-link
...
Fix empty card title link
2017-12-26 16:00:58 +01:00
Nicolas Lœuillet
f83e9e32fc
Prepared wallabag 2.3.1
2017-12-26 09:15:39 +01:00
Simounet
49fb9e7cab
Card tags template shared
2017-12-26 09:02:00 +01:00