Commit Graph

1048 Commits

Author SHA1 Message Date
Jeremy Benoist 5a69fec5da
Prepare 2.4.1
- update changelog
- bump version
- update deps
2021-01-04 10:21:07 +01:00
Thomas Citharel 21dee08b4d Add issuer to otp config
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-12-31 18:09:14 +01:00
Nicolas Lœuillet 2267453d1f
Merge pull request #4866 from wallabag/fix/4812/dark-theme-cookie
material: fix issue with cookie check for light/dark theme
2020-12-21 08:53:51 +01:00
Simounet c1b195f860
Fix extra padding on the homepage main content 2020-12-19 13:57:07 +01:00
Kevin Decherf 0631f5c8d0 material: fix issue with cookie check for light/dark theme
Fixes #4812

Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
2020-12-19 01:45:05 +01:00
Jérémy Benoist 49ad7aeeb3
Merge pull request #4832 from wallabag/fix/4826
migrations: fix mysql migration for an edge case
2020-12-14 10:21:27 +01:00
Simounet b553b77ceb
Fix dark theme table odd style 2020-12-13 22:07:21 +01:00
Kevin Decherf fb5c155484 migrations: fix mysql migration for an edge case
In an unspecified case the schema state was not consistent with the
expected migration plans. This fix ignores two statements by checking
if a foreign key is here or not.

This issue may have been caused by a rewrite of an old migration,
probably through 4acbeb9371

Fixes #4826

Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
2020-12-13 18:10:43 +01:00
Jeremy Benoist f5d82abcfe
Update release process and introduce 2.4.1-dev 2020-12-10 15:01:47 +01:00
Jeremy Benoist 289406f258
Ensure manifest files are sorted properly 2020-12-08 09:34:17 +01:00
J. Lavoie e7615494a9 Translated using Weblate (Spanish)
Currently translated at 100.0% (40 of 40 strings)
2020-12-07 06:35:57 +01:00
Jeremy Benoist 92b14a3536
Update for `webpack-manifest-plugin` 2020-12-03 10:15:21 +01:00
Simounet 6431046700
Padding bottom added to article content on mobile 2020-12-01 21:43:50 +01:00
Nicolas Lœuillet dd36b9bda5
Updated changelog for wallabag 2.4.0 2020-11-30 12:17:42 +01:00
Jérémy Benoist ecc26e70f2
Merge pull request #4754 from Simounet/feat/remove-public-from-webpack
public assets files removed from webpack
2020-11-27 15:56:55 +01:00
Simounet 53a04b6af1
Global assets files moved to web/img 2020-11-27 15:24:35 +01:00
Simounet 974ff07076
Fix dark theme handling scrolling to the top 2020-11-27 15:24:04 +01:00
Jeremy Benoist 40c01ad1d4
Ditch Travis to use GitHub Actions 2020-11-27 14:14:44 +01:00
Simounet e9a0577f32
font-family lint 2020-11-24 22:28:52 +01:00
Simounet 9937d3a060
Webpack upgraded from 4 to 5 + dependancies updated 2020-11-24 22:28:52 +01:00
Simounet 184c82f411
Fix nav items alignment 2020-11-24 21:59:06 +01:00
Simounet 66d5042af5
Theme picker 2020-11-19 15:45:58 +01:00
Simounet a562f6b943
Basic dark theme handling 2020-11-19 14:58:48 +01:00
Weblate 56cb7da57c Added translation using Weblate (Swedish) 2020-11-03 08:47:22 +01:00
Oğuz Ersen 182380343d
Translated using Weblate (Turkish)
Currently translated at 100.0% (40 of 40 strings)
2020-10-18 19:26:50 +02:00
minob b1e35ecc7e Translated using Weblate (Japanese)
Currently translated at 100.0% (40 of 40 strings)
2020-10-15 08:47:45 +02:00
Milo Ivir 18190e27f0
Translated using Weblate (Croatian)
Currently translated at 100.0% (40 of 40 strings)
2020-10-13 16:26:44 +02:00
ssantos 52f05c0428
Translated using Weblate (Portuguese)
Currently translated at 100.0% (40 of 40 strings)
2020-10-13 16:26:44 +02:00
Milo Ivir 20ce2e73d9 Translated using Weblate (Croatian)
Currently translated at 100.0% (40 of 40 strings)
2020-10-12 05:41:41 +02:00
Blip Blop 63f1e18a7e Translated using Weblate (Dutch)
Currently translated at 100.0% (40 of 40 strings)
2020-10-12 05:41:41 +02:00
Jérémy Benoist 57f4f5bb8e
Merge pull request #4632 from kostegit/patch-1
Added dutch translation to the settings
2020-10-09 16:08:28 +02:00
Tom 8eac42a897
Added dutch translation to the settings
Since the NL translation is 100% i think it deserves a place in the settings page :-)
2020-10-09 15:23:58 +02:00
Weblate e8fda1b18f
Added translation using Weblate (Hindi) 2020-10-09 11:13:00 +02:00
Jérémy 6af2defa54
Translated using Weblate (Czech)
Currently translated at 52.5% (21 of 40 strings)
2020-10-09 09:48:09 +02:00
Jérémy b1b8263633
Translated using Weblate (Ukrainian)
Currently translated at 100.0% (40 of 40 strings)
2020-10-09 09:48:09 +02:00
Jérémy 6ebed33b83
Translated using Weblate (Croatian)
Currently translated at 97.5% (39 of 40 strings)
2020-10-09 09:48:06 +02:00
Jérémy 897c4fcd6f
Translated using Weblate (Dutch)
Currently translated at 97.5% (39 of 40 strings)
2020-10-09 09:48:04 +02:00
Jérémy 0b4478fc2b
Translated using Weblate (Japanese)
Currently translated at 100.0% (40 of 40 strings)
2020-10-09 09:48:02 +02:00
Jérémy b422796a8d
Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (40 of 40 strings)
2020-10-09 09:48:01 +02:00
Jérémy b0c8cbbc49
Translated using Weblate (Romanian)
Currently translated at 65.0% (26 of 40 strings)
2020-10-09 09:48:00 +02:00
Jérémy 1ff3805005
Translated using Weblate (Portuguese)
Currently translated at 90.0% (36 of 40 strings)
2020-10-09 09:48:00 +02:00
Jérémy 2a15cea1d0
Translated using Weblate (Occitan)
Currently translated at 100.0% (40 of 40 strings)
2020-10-09 09:47:59 +02:00
Jérémy b42d02c00c
Translated using Weblate (French)
Currently translated at 100.0% (40 of 40 strings)
2020-10-09 09:47:59 +02:00
Jérémy 5577666cc9
Translated using Weblate (English)
Currently translated at 100.0% (40 of 40 strings)
2020-10-09 09:47:58 +02:00
Jérémy 4d0177fcdf
Translated using Weblate (Danish)
Currently translated at 77.5% (31 of 40 strings)
2020-10-09 09:47:58 +02:00
Dmitriy Bogdanov e65509b327
Translated using Weblate (Ukrainian)
Currently translated at 100.0% (40 of 40 strings)
2020-10-09 08:40:20 +02:00
Blip Blop 37ef5479c0 Translated using Weblate (Dutch)
Currently translated at 100.0% (40 of 40 strings)
2020-10-08 08:31:53 +02:00
ssantos e0c1c70725
Translated using Weblate (Portuguese)
Currently translated at 62.5% (25 of 40 strings)
2020-10-02 22:41:10 +02:00
Allan Nordhøy 3378ade0c9 Translated using Weblate (Norwegian Bokmål)
Currently translated at 92.5% (37 of 40 strings)
2020-09-30 06:21:14 +02:00
leschek 8a0f7f6608 Translated using Weblate (Czech)
Currently translated at 55.0% (22 of 40 strings)
2020-09-30 06:21:14 +02:00
leschek 3a08371dd8 Translated using Weblate (Czech)
Currently translated at 50.0% (20 of 40 strings)
2020-09-30 06:21:14 +02:00
Weblate 466c73a7f2 Added translation using Weblate (Czech) 2020-09-30 06:21:14 +02:00
Jeremy Benoist dce3c84c9c
Upgrade to NodeJS 12
Update javascript deps to latest version.
Rebuild assets

- Keep `stylehint` in a lower version because starting at v9.0.0 it generates too much errors. We might fix them later.
- Don't touch `materialize-css` to avoid too much side effect. We might update it later (to 1.0.0).
2020-08-25 12:28:12 +02:00
Jérémy Benoist 885a1daec5
Add Croatian translation 2020-08-24 07:03:09 +02:00
Milo Ivir 7e21c6b987
Translated using Weblate (Croatian)
Currently translated at 100.0% (40 of 40 strings)
2020-08-21 14:36:08 +02:00
Milo Ivir 41e405ac21
Translated using Weblate (Croatian)
Currently translated at 100.0% (40 of 40 strings)
2020-08-18 14:32:53 +02:00
Nikita Epifanov e96b330e71
Translated using Weblate (Russian)
Currently translated at 100.0% (40 of 40 strings)
2020-08-18 14:32:50 +02:00
Volodymyr Fedyk 488f01f50e Add Ukrainian translation 2020-07-26 21:23:56 +03:00
Kevin Decherf f4a1401de0 Reduce opacity of archived entries on tag view
Fixes #4466

Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
2020-07-13 18:53:39 +02:00
Jérémy Benoist 142d03354d
Merge pull request #4441 from wallabag/feature/drop-php-7.1
Jump to PHP 7.2+
2020-06-16 10:30:02 +02:00
Jeremy Benoist 870b5f5cbb
Fix indentations & remove comments
Mostly because weblate doesn't handle them.
2020-06-15 16:14:25 +02:00
Jeremy Benoist b8c7862c1b
Merge remote-tracking branch 'weblate/master' into weblate 2020-06-15 16:00:28 +02:00
Jeremy Benoist 7332d1f4e5
Remove support for PHP < 7.2
Updating deps

  - Removing electrolinux/php-html5lib (0.1.0)
  - Updating doctrine/inflector (1.3.1 => 1.4.3)
  - Updating doctrine/lexer (1.0.2 => 1.2.1)
  - Installing symfony/polyfill-php80 (v1.17.0)
  - Updating symfony/service-contracts (v1.1.8 => v2.1.2)
  - Installing symfony/deprecation-contracts (v2.1.2)
  - Updating symfony/mime (v4.4.8 => v5.1.1)
  - Updating friendsofsymfony/rest-bundle (2.7.4 => 2.8.0)
  - Updating doctrine/instantiator (1.3.0 => 1.3.1)
  - Updating ocramius/proxy-manager (2.1.1 => 2.2.3)
  - Updating php-http/discovery (1.7.4 => 1.8.0)
  - Updating symfony/http-client-contracts (v1.1.8 => v2.1.2)
  - Updating symfony/http-client (v4.4.8 => v5.1.1)
  - Updating php-http/httplug-bundle (1.16.0 => 1.18.0)
  - Updating symfony/phpunit-bridge (v4.3.11 => v5.1.1)
  - Updating doctrine/data-fixtures (1.3.3 => 1.4.3)
  - Updating composer/xdebug-handler (1.4.1 => 1.4.2)
  - Updating masterminds/html5 (2.7.0 => 2.7.1)
  - Updating j0k3r/php-readability (1.2.4 => 1.2.5)
  - Updating phpoption/phpoption (1.7.3 => 1.7.4)
  - Updating nikic/php-parser (v4.4.0 => v4.5.0)
  - Installing thecodingmachine/safe (v1.1.1)
  - Updating spomky-labs/otphp (v9.1.4 => v10.0.1)
  - Updating pagerfanta/pagerfanta (v2.1.3 => v2.3.0)

Package white-october/pagerfanta-bundle is abandoned, you should avoid using it. Use babdev/pagerfanta-bundle instead.

  - Removing white-october/pagerfanta-bundle (v1.3.2)
  - Installing babdev/pagerfanta-bundle (v2.4.2)

Upgrading PHPStan to 0.12 and use extension installer

  - Removing phpstan/phpdoc-parser (0.3.5)
  - Removing nette/utils (v3.1.2)
  - Removing nette/schema (v1.0.2)
  - Removing nette/robot-loader (v3.2.3)
  - Removing nette/php-generator (v3.4.0)
  - Removing nette/neon (v3.1.2)
  - Removing nette/finder (v2.5.2)
  - Removing nette/di (v3.0.4)
  - Removing nette/bootstrap (v3.0.2)
  - Updating phpstan/phpstan (0.11.19 => 0.12.29)
  - Updating phpstan/phpstan-doctrine (0.11.6 => 0.12.16)
  - Updating phpstan/phpstan-phpunit (0.11.2 => 0.12.11)
  - Updating phpstan/phpstan-symfony (0.11.6 => 0.12.6)
  - Installing phpstan/extension-installer (1.0.4)

Upgrading jms/serializer-bundle to version 3 (and willdurand/hateoas-bundle to version 2)

  - Removing phpoption/phpoption (1.7.4)
  - Removing phpcollection/phpcollection (0.5.0)
  - Removing jms/parser-lib (1.0.0)
  - Updating jms/metadata (1.7.0 => 2.3.0)
  - Updating jms/serializer (1.14.1 => 3.7.0)
  - Updating jms/serializer-bundle (2.4.4 => 3.6.0)
  - Updating willdurand/hateoas (2.12.0 => 3.6.0)
  - Updating willdurand/hateoas-bundle (1.4.0 => 2.1.0)

Upgrading dama/doctrine-test-bundle to version 6

  - Updating dama/doctrine-test-bundle (v5.0.3 => v6.2.0)
2020-06-15 08:25:59 +02:00
Jeremy Benoist 2a74acb77f
Update deps
- Clean Travis config file
  - Only cache deps from composer (avoiding metadata to invalid Travis cache)
  - Update config file to match future version from Travis
  - Remove useless (not so working) `travis_fold`
- Remove `SensioGeneratorBundle` and use `MakerBundle`
  ```
  Package sensio/generator-bundle is abandoned, you should avoid using it. Use symfony/maker-bundle instead.
  ```
- Sort packages in `composer.json`
- Use `laminas/*` package to remove deprecated `zendframework/*` ones:
  ```
  Package zendframework/zend-code is abandoned, you should avoid using it. Use laminas/laminas-code instead.
  Package zendframework/zend-diactoros is abandoned, you should avoid using it. Use laminas/laminas-diactoros instead.
  Package zendframework/zend-eventmanager is abandoned, you should avoid using it. Use laminas/laminas-eventmanager instead.
  ```
2020-05-25 06:28:04 +02:00
Weblate a2ee37c5c9
Added translation using Weblate (Croatian) 2020-05-22 14:37:48 +02:00
Diego Heras 1059eb9d58
Translated using Weblate (Spanish)
Currently translated at 100.0% (40 of 40 strings)
2020-05-10 13:13:01 +02:00
Simounet a5ac604683
Side nav hidden on mobile tag adding 2020-05-06 22:27:11 +02:00
Nicolas Lœuillet 9717d01298
Upgrade Piwik Twig Extension to Matomo 2020-04-29 14:19:31 +02:00
Jérémy 47e8a115ed
Translated using Weblate (Italian)
Currently translated at 75.0% (30 of 40 strings)
2020-04-28 11:11:16 +02:00
Nicolas Lœuillet d9a68f6ced
Enhanced navigation menu in material theme 2020-04-26 21:08:22 +02:00
Jeannette L 8355db7940
Translated using Weblate (Italian)
Currently translated at 67.5% (27 of 40 strings)
2020-04-26 03:11:17 +02:00
Jeannette L 33c3ff900f
Translated using Weblate (French)
Currently translated at 100.0% (40 of 40 strings)
2020-04-26 03:11:16 +02:00
Kevin Decherf 7408a6cb68 Add controller, views and translations for ignore origin instance rules
Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
2020-04-25 15:59:23 +02:00
Kevin Decherf 2495b19761 Add default system-wide ignore origin rules with install support
Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
2020-04-25 15:59:23 +02:00
Kevin Decherf c675bd11c6 Add IgnoreOriginRule-related entities, db migration, update config
Add IgnoreOriginUserRule for user-defined rules and
IgnoreOriginInstanceRule for system-wide rules. Add an interface for
these two new entities.

Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
2020-04-25 15:59:23 +02:00
Nicolas Lœuillet 467327771a
Added mass actions for Material design in list view 2020-04-24 09:12:57 +02:00
Nicolas Lœuillet a6b5b8f7a9
Changed visibility for article stats 2020-04-22 14:58:24 +02:00
Nicolas Lœuillet 558651783a
Added more coherence with color links for material theme 2020-04-21 17:30:39 +02:00
Nicolas Lœuillet 5434577883
Improved tags list for material view 2020-04-20 11:39:35 +02:00
Jeremy Benoist d20a8c5fb4
Add ability to define lifetime token for the API
It'll allow admin of a wallabag instance to define its own lifetime for the refresh token and the access token.
The default value are the recommended one from the wallabag team.
2020-04-08 09:18:17 +02:00
Nicolas Lœuillet 1598d13248
Enhanced article display
Fixes #4153
2020-04-06 16:32:09 +02:00
Jérémy Benoist c9b83a13c0
Merge pull request #4274 from AKKED/add_ja
add Japanese translation
2020-03-28 17:16:37 +01:00
Jérémy Benoist 11079d204d
Merge pull request #4272 from Simounet/feat/load-custom-css-only-if-exists
Load custom.css only if exists
2020-03-28 16:49:29 +01:00
AKKED 7d4176b27b
Add Japanese translation 2020-03-28 16:47:44 +01:00
Jérémy Benoist d8a40d703e
Merge pull request #4281 from lizyn/zh_translation
Added language support for Simplified Chinese(简体中文)
2020-03-28 16:39:17 +01:00
Jérémy Benoist 26467fa6b4
Merge pull request #4299 from wallabag/fix/4133
Fix createdAt filter on material
2020-03-28 16:38:12 +01:00
Kevin Decherf 8ee7b1603d Fix createdAt date range filter
- hiddenName has been disabled in order to fix the missing date range
  values when using the material theme
- data format has been changed to 'Y-m-d' in order to comply with the
  browser date input default format
- tests: date() and strtotime have been replaced with DateTime-related
  objects

Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
2020-03-22 17:01:39 +01:00
Kevin Decherf 899ab0d04f Remove capistrano-related files
Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
2020-03-08 17:00:51 +01:00
lizyn 9ce18f06c3 Added Simplified Chinese as a language option 2020-02-25 00:19:04 +08:00
lizyn 4a654ae49a Added translation in Simplified Chinese(简体中文) 2020-02-25 00:13:26 +08:00
Simounet 33e3eeaec8
Load custom.css only if exists 2020-02-07 13:21:48 +01:00
Jérémy Benoist 62107f50d3
Merge pull request #4264 from herrriehm/master
cosmetic changes
2020-01-28 10:07:22 +01:00
Sebastian Riehm 6fb7d4a7ae
fixed annoying typo 2020-01-26 09:48:17 +01:00
Sebastian Riehm 20349b02dd
Update wallabag.yml
reverted generic urls
2020-01-26 09:45:31 +01:00
Sebastian Riehm 1e921a657f cosmetic changes:
- http to https
- replaced generic .com by specific TLD
- updated some dead urls
2020-01-25 16:16:43 +01:00
Kevin Decherf 3dcb701975 baggy: remove logo from printed pages
Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
2020-01-25 15:42:43 +01:00
Kevin Decherf 45582f2992 material: replace display: flex with block in print mode
This change is a workaround for a reported issue with printing flex
items on Firefox

See: https://bugzilla.mozilla.org/show_bug.cgi?id=939897

Fixes #4251

Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
2020-01-25 15:40:29 +01:00
Simounet dc23bf9f29
Entry action buttons displayed on page end reached 2020-01-21 14:06:08 +01:00
Simounet cfd77d1c2a
Sticky nav on entry action button click 2020-01-21 12:00:21 +01:00
Simounet 0a81f9b9d9
Sidebar sub entries not conditioned by hover anymore 2020-01-19 11:01:24 +01:00
Nicolas Lœuillet 958e77e6a7
Added elCurator import 2019-11-15 16:08:36 +01:00
Jeremy Benoist 8d4ed0df06
Update deps
Also CS (because cs-fixer got an update)

Package operations: 0 installs, 26 updates, 0 removals
  - Updating twig/twig (v2.12.1 => v2.12.2)
  - Updating symfony/symfony (v3.4.33 => v3.4.34)
  - Updating doctrine/event-manager (v1.0.0 => 1.1.0)
  - Updating doctrine/collections (v1.6.2 => 1.6.3)
  - Updating doctrine/cache (v1.8.1 => 1.9.0)
  - Updating doctrine/persistence (1.1.1 => 1.2.0)
  - Updating doctrine/inflector (v1.3.0 => 1.3.1)
  - Updating symfony/mime (v4.3.5 => v4.3.7)
  - Updating swiftmailer/swiftmailer (v6.2.1 => v6.2.3)
  - Updating symfony/swiftmailer-bundle (v3.3.0 => v3.3.1)
  - Updating doctrine/dbal (v2.9.2 => v2.9.3)
  - Updating doctrine/instantiator (1.2.0 => 1.3.0)
  - Updating j0k3r/graby-site-config (1.0.93 => 1.0.94)
  - Updating phpoption/phpoption (1.5.0 => 1.5.2)
  - Updating symfony/http-client-contracts (v1.1.7 => v1.1.8)
  - Updating symfony/http-client (v4.3.5 => v4.3.7)
  - Updating sensiolabs/security-checker (v6.0.2 => v6.0.3)
  - Updating paragonie/constant_time_encoding (v2.2.3 => v2.3.0)
  - Updating scheb/two-factor-bundle (v4.7.1 => v4.8.0)
  - Updating symfony/phpunit-bridge (v4.3.6 => v4.3.7)
  - Updating composer/xdebug-handler (1.3.3 => 1.4.0)
  - Updating friendsofphp/php-cs-fixer (v2.15.3 => v2.16.0)
  - Updating doctrine/data-fixtures (v1.3.2 => 1.3.3)
  - Updating nette/schema (v1.0.0 => v1.0.1)
  - Updating nikic/php-parser (v4.2.4 => v4.3.0)
  - Updating sentry/sentry (2.2.2 => 2.2.4)
2019-11-12 14:18:58 +01:00
Nathan 73bf5b40bf
Translated using Weblate (French)
Currently translated at 100.0% (40 of 40 strings)
2019-10-13 17:52:41 +02:00
Mateusz Rumiński d5ea8f7578
Translated using Weblate (Polish)
Currently translated at 100.0% (40 of 40 strings)
2019-10-07 15:56:31 +02:00
Weblate 9c40a75097
Added translation using Weblate (Korean) 2019-10-05 15:23:35 +02:00
Weblate 8c19b1a830
Added translation using Weblate (Dutch) 2019-09-28 00:21:01 +02:00
Nicolas Lœuillet 2f5fa30aad
Added MathJax support 2019-09-27 16:01:55 +02:00
Nicolas Lœuillet af7b22a3be
Fixed default value for reading speed 2019-09-19 14:23:06 +02:00
Jeremy Benoist 1576905e03
Rename internal settings table
In fact it's not _just_ a rename.
We are now able to use our own entity with the CraueConfigBundle which allow us to enforce a custom length on string field and avoid error with utf8mb4 on MySQL.
To fix that issue before we were in need to fork CraueConfigBundle to hard apply these length changes.

The recent 2.3.0 release fix that issue. That's why we are in need to rename the table (getting rid of the bundle name from it)

Also updating deps:
  - Updating symfony/polyfill-mbstring (v1.11.0 => v1.12.0)
  - Updating symfony/polyfill-ctype (v1.11.0 => v1.12.0)
  - Updating symfony/polyfill-php70 (v1.11.0 => v1.12.0)
  - Updating symfony/polyfill-util (v1.11.0 => v1.12.0)
  - Updating symfony/polyfill-php56 (v1.11.0 => v1.12.0)
  - Updating symfony/polyfill-intl-icu (v1.11.0 => v1.12.0)
  - Updating symfony/polyfill-apcu (v1.11.0 => v1.12.0)
  - Updating j0k3r/graby-site-config (1.0.88 => 1.0.89)
  - Updating php-http/message (1.7.2 => 1.8.0)
  - Updating symfony/polyfill-php73 (v1.11.0 => v1.12.0)
  - Updating symfony/http-client (v4.3.2 => v4.3.3)
  - Updating symfony/polyfill-php72 (v1.11.0 => v1.12.0)
  - Updating symfony/polyfill-intl-idn (v1.11.0 => v1.12.0)
  - Updating symfony/mime (v4.3.2 => v4.3.3)
  - Updating craue/config-bundle (dev-utf8mb4 46cfd37 => 2.3.0)
  - Updating masterminds/html5 (2.6.0 => 2.7.0)
  - Updating nette/di (v3.0.0 => v3.0.1)
  - Updating symfony/polyfill-iconv (v1.11.0 => v1.12.0)
  - Updating wallabag/php-mobi (1.0.1 => 1.1.0)
2019-08-08 16:03:20 +02:00
Jeremy Benoist 00567d9ccd
CS 2019-08-08 11:45:39 +02:00
Jeremy Benoist 0810c75e0b
Add `tag_label` & `config_feed_token` index 2019-08-08 09:36:03 +02:00
Olivier Mehani 2b0f4e86b2
Add user_created index
Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2019-08-07 22:02:37 +10:00
Olivier Mehani 588de419e0
Add user_archived index
Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2019-08-07 21:44:00 +10:00
Jeremy Benoist b700b38e17
Fix PG migration 2019-08-07 11:46:58 +02:00
Jeremy Benoist 24acf2e0f3
Fix migrations 2019-08-07 11:25:55 +02:00
Olivier Mehani 5071c8c9cf
Add index on starred entries
Fixes #4079

Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2019-08-06 23:21:47 +10:00
Olivier Mehani d1dbe10e84
Update language in Entry model, and add index
Fixes #4080

Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2019-08-06 23:21:18 +10:00
Jeremy Benoist df45126a14
Update translations
Remove log
2019-07-09 15:54:59 +02:00
Jeremy Benoist 66fa0c26ab
Copy client info to clipboard
From the listing page and the create summary page, you can now copy client info to the clipboard using dedicated buttons.
2019-07-09 13:46:02 +02:00
Jeremy Benoist 41022cb289
Add ability to manually define the reading speed
Instead of using a select, let the user decide its own speed.
2019-07-08 20:18:59 +02:00
Jeremy Benoist b8fa1b13a6
Fix hardcoded `wallabag_` prefix in migration
Again.
Looks like there are still some which were missing to be replaced.
2019-07-01 13:38:53 +02:00
Jérémy Benoist bd6a7622d3
Merge pull request #4020 from wallabag/fix/sqlite-reading-time-null
Fix `reading_time` being NULL on SQLite
2019-06-24 07:31:13 +02:00
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
ssantos 97194171be
Translated using Weblate (German)
Currently translated at 100.0% (40 of 40 strings)
2019-05-09 00:49:22 +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
Louies 83f3bcf841
Added translation using Weblate (Chinese (Traditional)) 2019-04-06 09:55:13 +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
Doma Gergő 63c1e382ca
Translated using Weblate (Hungarian)
Currently translated at 100.0% (40 of 40 strings)
2019-03-20 00:38:42 +01:00
Weblate 9a1c42e252
Added translation using Weblate (Hungarian) 2019-03-16 19:58:31 +01:00
Arda Kilicdagi 7447754e44
Translated using Weblate (Turkish)
Currently translated at 100.0% (40 of 40 strings)
2019-03-15 18:04:16 +01: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
naofum 9cd49b4340
Translated using Weblate (Japanese)
Currently translated at 100.0% (40 of 40 strings)
2019-02-24 02:09:24 +01:00
Weblate 4362d5ea98
Added translation using Weblate (Japanese) 2019-02-24 01:43:33 +01:00
Rurik19 a9f61d3dbb
CORS repare for api 2019-02-11 11:57:52 +01:00
Allan Nordhøy 5bd456eda7
Translated using Weblate (Norwegian Bokmål)
Currently translated at 87.5% (35 of 40 strings)
2019-01-24 12:06:31 +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
Allan Nordhøy 4119dac5b2
Translated using Weblate (English)
Currently translated at 97.1% (34 of 35 strings)
2019-01-23 09:34:53 +01:00
Allan Nordhøy 752e0491ce
Translated using Weblate (Norwegian Bokmål)
Currently translated at 88.6% (31 of 35 strings)
2019-01-23 08:55:48 +01:00
Allan Nordhøy b18a16951d Added translation using Weblate (Norwegian Bokmål) 2019-01-23 08:53:37 +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
Simounet a8541089be Useless span removed from the card's title 2017-12-26 09:00:33 +01:00
Kevin Decherf 0d9c8081fe cs-fixer
Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
2017-12-20 22:18:26 +01:00
Kevin Decherf e8694faad6 Remove fixed relative path for assets 2017-12-20 21:53:48 +01:00
Nicolas Lœuillet ef5c8a7d01
Merge pull request #3515 from wallabag/php-7.2
Add PHP 7.2 compatibility
2017-12-18 14:32:21 +01:00
Jeremy Benoist eb3754509d
Add missing parameter for test 2017-12-18 13:29:33 +01:00
Nicolas Lœuillet 9e89bf7aca
Removed duplicated line 2017-12-17 21:20:23 +01:00
Paulino Michelazzo a5849ac956 Update PT translations 2017-12-17 10:57:17 +01:00
Jérémy Benoist d1f260e2d7
Merge pull request #3504 from aaa2000/fix-initial-migration-with-table-prefix
Fix initial migration when using custom table prefix
2017-12-16 22:24:06 +01:00
Jeremy Benoist ccb52fb461
Use getTable() to retrieve prefixed table name 2017-12-16 22:08:00 +01:00
Nicolas Lœuillet caf719f163
Fixed lower case tags migration 2017-12-15 13:59:02 +01:00
adev f1f2cf2bce Fix initial migration when using custom table prefix
Fix #3503
2017-12-14 19:14:10 +01:00
Jérémy Benoist 70265817ae
Merge pull request #3488 from wallabag/pg-10
Add custom driver & schema manager for PostgreSQL 10
2017-12-13 13:50:15 +01:00
Jeremy Benoist 3fadf42a1c
CS 2017-12-12 14:30:22 +01:00
Jeremy Benoist ad46f2fb46
Use hasTable instead of try/catch 2017-12-12 13:41:44 +01:00
Jeremy Benoist a1661af17c
Add custom driver & schema manager for PostgreSQL 10 2017-12-12 12:14:40 +01:00
Jeremy Benoist 43e1711eb6
Change the way to check for initial migration 2017-12-12 11:17:16 +01:00
Nicolas Lœuillet 98869090f6
Merge pull request #3468 from wallabag/fix-migration-3139
Fix migration from #3139
2017-12-11 19:38:46 +01:00