Commit Graph

1117 Commits

Author SHA1 Message Date
Yassine Guedidi cc33fcb4ba Replace kernel.root_dir by kernel.project_dir 2023-08-09 22:46:18 +01:00
Kevin Decherf 60cb8c0294
Merge pull request #6797 from yguedidi/use-twig-instead-of-templating
Use Twig instead of templating
2023-08-08 23:18:16 +02:00
Yassine Guedidi f48f982025 Identify platforms by their class 2023-08-05 18:35:09 +01:00
Yassine Guedidi e93fdca2d3 Use Twig instead of templating 2023-08-05 16:43:36 +01:00
Nicolas Lœuillet 5e4eae42a0 Change public registration to false by default 2023-08-03 16:15:37 +02:00
Nicolas Lœuillet 192fa3ea2e
Prepare 2.6.2 release 2023-07-24 10:28:28 +02:00
Jérémy Benoist df56bfe94e
Merge pull request #6710 from Glandos/patch-1
Keep escaped table name while migrating
2023-07-17 14:12:25 +02:00
Nicolas Lœuillet c75d3e6961 Remove twofactor_auth parameter
Fix #6649
2023-07-15 16:18:01 +02:00
Glandos 0596633a29
Keep escaped table name while migrating
Fix #6709
2023-07-09 15:29:50 +02:00
Girish Ramakrishnan 131ef532c7 Skip migration if the table was already renamed
Doctrine 3.5 reruns skipped migrations when invoking doctrine:migrations:migrate.
This causes this migration to rerun and it errors since craue_config_setting table
gets renamed in Version20190808124957.php to internal_setting table.

Fixes #6660
2023-06-28 21:50:46 +05:30
Simounet 513337c1fa
Fix 6664 mass action input on dark theme 2023-06-26 22:34:57 +02:00
Nicolas Lœuillet a6c78f0039
Fix table name in migration 2023-06-21 11:34:08 +02:00
Nicolas Lœuillet 73682283e4 Prepare 2.6.1 release 2023-06-21 07:13:03 +02:00
Jeremy Benoist 679dc32885
Do not autoload fixtures
They should only be loaded from `app/config/services_test.yml`.
Otherwise we'll have an issue when clearing the cache in prod env:

```
In DefinitionErrorExceptionPass.php line 54:

  Class "Doctrine\Bundle\FixturesBundle\Fixture" not found while loading "Wal
  labag\AnnotationBundle\DataFixtures\AnnotationFixtures".
```

Also update deps to latest.
2023-06-20 19:28:08 +02:00
Nicolas Lœuillet aee7df9f3d Prepare 2.6.0 release 2023-06-19 22:14:27 +02:00
Simounet 97a87235a1
Setting to show / hide articles thumbnails styling 2023-06-16 14:28:57 +02:00
Nicolas Lœuillet 46521e48e5
PHP CS fix 2023-06-16 14:27:26 +02:00
Nicolas Lœuillet a94d7503c2
Added new setting to show / hide articles thumbnails 2023-06-16 14:27:15 +02:00
Jérémy Benoist 2aa18b7b90
Merge pull request #6624 from Simounet/fix/6333-mousetrap-enter-issue
Fix mousetrap enter issue
2023-06-16 14:11:46 +02:00
Simounet fb2d88ffa4
Fix #6333 mousetrap enter issue 2023-06-16 12:19:34 +02:00
Nicolas Lœuillet 54b3977a3c Update main contributors 2023-06-16 11:40:33 +02:00
Simounet 1534841308
Entry tags hover, active, focus style added 2023-06-15 23:18:43 +02:00
Simounet 7a9e328ce9
Entry info style updated 2023-06-15 23:17:30 +02:00
Simounet 5d1abde36d
Entry view tags styled udpated 2023-06-15 23:13:45 +02:00
Nicolas Lœuillet 5d4743e944
Changed default value for domain_name parameter 2023-06-15 09:06:52 +02:00
Simounet fcb880fbd1
Empty space on the top bar used for more add url toggle clickable target 2023-06-14 21:54:57 +02:00
Simounet 3c7457801f
index class added to body 2023-06-12 18:15:39 +02:00
Simounet e5b72f3123
Fix Stylelint errors 2023-06-12 18:15:38 +02:00
Simounet b0a53a44ae
Fix #5808 auto dark theme detection flickering 2023-06-06 17:58:10 +02:00
Simounet 81f58df7b8
Mass action tag layout updated 2023-05-26 21:14:32 +02:00
Simounet 824d0248d5
[Boyscout] Material icons not selectable anymore 2023-05-25 22:06:00 +02:00
Simounet d0aad7b96d
Mass actions available on cards view
fixup! Mass action toggle button added
2023-05-25 22:04:44 +02:00
Simounet 384918cda9
Mass action toggle button added 2023-05-25 21:56:09 +02:00
Simounet c589e669e0
Dark mode background color for side panels updated 2023-05-18 13:34:11 +02:00
Simounet 274412fb79
Fix dark mode URL add input color 2023-05-17 22:27:40 +02:00
Simounet aec4d9076e
Dark mode contrast improved 2023-05-10 20:38:06 +02:00
Simounet 5c1c779746
Fix dark mode top bar contrast 2023-05-10 13:51:58 +02:00
Simounet 58c8548da0
Fix dark theme for pre HTML tags 2023-05-04 21:19:20 +02:00
Jeremy Benoist 66b7bdd07c
Merge remote-tracking branch 'origin/2.5.x' 2023-04-24 14:36:32 +02:00
Jeremy Benoist 812d6ac376
Prepare 2.5.4 2023-02-07 22:03:20 +01:00
Jeremy Benoist b795622f06
Prepare 2.5.3 2023-02-01 09:51:02 +01:00
Jérémy Benoist 7625e36b5a
Merge pull request #6182 from caspermeijn/openapi3
Update annotations to OpenApi 3
2023-01-02 10:39:56 +01:00
Casper Meijn 4f9c7a92a1 Update annotations to OpenApi 3
Most of the API annotations are directly converted. The changes in meaning are:
- Parameters "in body" is not supported anymore. These are changed to "in query" or to a request body (depending on the code).
2022-12-23 14:54:55 +01:00
Jérémy Benoist f04e48fc23
Merge pull request #6171 from wallabag/fix/json-array-dbal-type
Properly handle `json_array` type removal
2022-12-22 16:29:53 +01:00
Jeremy Benoist cdd2185063
Properly handle `json_array` type removal
The `json_array` type was removed from DBAL v3, we should handle it using a migration to avoid error.
I've also added the remove type because we need it during migration.
2022-12-21 11:02:51 +01:00
Jeremy Benoist 0a6e6abdc4
Add `RabbitMQConsumerTotalProxy` to lazy RabbitMQ services for messages
This is just a simple proxy because we can't lazy load RabbitMQ service just to count number of messages in the queue.
As they are automatically injected in the controller now, we can't lazy load them.

Also forgot to use `AbstractController` in previous PR about _controller as a service_.
2022-12-19 13:23:56 +01:00
Jeremy Benoist 6aca334d53
Move to controller as a service
Mostly using autowiring to inject deps.
The only tricky part was for import because all producer use the same class and have a different alias. So we must write them down in the service definition, autowiring doesn't work in that case.

Usually:
- if a controller has a constructor, it means injected services are at least re-used once in actions
- otherwise, service are injected per action
2022-12-19 10:38:08 +01:00
Jeremy Benoist 67a344c2c6
Update PagerFanta 2022-12-16 12:22:56 +01:00
Jeremy Benoist b3099f68c5
Update all Doctrine deps
Also update these deps to be compatible with latest Doctrine version:
- `friendsofsymfony/oauth-server-bundle`
- `lexik/form-filter-bundle`
- `dama/doctrine-test-bundle`
2022-12-16 10:29:42 +01:00
Jérémy Benoist 8f473ecf5c
Merge pull request #6152 from wallabag/fix/container-aware-command
Remove `ContainerAwareCommand` from commands
2022-12-16 10:25:26 +01:00
Jeremy Benoist 32661f380c
Replace SwiftMailer by Symfony Mailer 2022-12-16 10:03:34 +01:00
Jeremy Benoist 5832482a10
Remove `ContainerAwareCommand` from commands
And use DI to retrieve services in commands (except for `RedisWorkerCommand` where the container is injected, hard to find a better way, at least for now).
2022-12-16 10:02:15 +01:00
Jeremy Benoist 5e2ad5f8db
Move translations files to `/translations`
This is a recommendation for Symfony 5
2022-12-15 21:19:41 +01:00
Jeremy Benoist 28abfe264a
Upgrade to Twig 3 2022-12-15 13:44:21 +01:00
Jeremy Benoist 33267f0736
Update to FOSUserBundle 3.1
Also remove some deprecation from Symfony.
Use `LegacyEventDispatcherProxy` to handle Symfony 4 dispatch from FOSUser
2022-12-14 09:42:17 +01:00
Diego Heras 3df2370abc
Translated using Weblate (Spanish)
Currently translated at 100.0% (37 of 37 strings)
2022-12-12 04:16:51 +01:00
Jeremy Benoist aa5c7f05b8
Upgrade to Symfony 4.4
- disable autowiring for Event (because the Entry entity was injected)
- rename `getClient()` for test to `getTestClient()` to avoid error while overriding (from `BrowserKitAssertionsTrait`)
2022-11-29 18:01:46 -08:00
Jeremy Benoist 1d3935fbd3
Remove LiipThemeBundle
As baggy theme was removed and material is the only remaining theme, we don't need a theme switched anymore.
So:
- move all `*.twig` files from the material theme folder to the root
- remove useless translations
2022-11-23 14:52:06 +01:00
Jeremy Benoist 27e788d0be
Re-create all API routes 2022-11-23 12:44:55 +01:00
Jeremy Benoist 2efb990a14
Remove deprecated options from FOSRest
Also add a new alias for rulerz to remove a deprecation.
2022-11-23 11:13:52 +01:00
Jeremy Benoist b41696fd1c Remove some deprecation 2022-11-22 21:39:34 +01:00
Casper Meijn 470a8575c0 Update to nelmio/api-doc 3.0
Convert ApiDoc to Swagger
2022-11-16 16:10:33 +01:00
Jeremy Benoist 8d3fcd4635
Merge remote-tracking branch 'origin/master' into 2.6.0 2022-11-03 10:30:17 +01:00
Nicolas Lœuillet 9d39130a96
Removed useless files 2022-11-03 10:16:52 +01:00
Nicolas Lœuillet 29308024ac Removed old, not so maintained and buggy baggy theme 2022-11-03 09:55:20 +01:00
Weblate 84c1731f55
Added translation using Weblate (Catalan) 2022-11-02 09:55:59 +01:00
Nicolas Lœuillet 4947d419a3
Removed Carrot & Scuttle share 2022-11-01 15:10:02 +01:00
Jeremy Benoist 7b2107d3bb
Prepare 2.5.2 2022-10-20 16:00:16 +02:00
SAKATA, Yusuke 809e41fe6b
Translated using Weblate (Japanese)
Currently translated at 100.0% (40 of 40 strings)
2022-10-20 02:07:39 +02:00
Jeremy Benoist c372d68cc1
Merge remote-tracking branch 'origin/master' into 2.6.0 2022-10-18 11:11:02 +02:00
Andrea Brandi 6569d15297
Translated using Weblate (Italian)
Currently translated at 82.5% (33 of 40 strings)
2022-10-11 23:29:17 +02:00
Matthaiks 1baf6eeafd
Translated using Weblate (Polish)
Currently translated at 100.0% (40 of 40 strings)
2022-09-19 09:02:44 +02:00
gnu-ewm dab677fbc3
Translated using Weblate (Polish)
Currently translated at 100.0% (40 of 40 strings)
2022-09-04 10:18:32 +02:00
Yassine Guedidi eb43c78720 Use FQCN instead of service alias 2022-09-01 09:07:19 +02:00
Yassine Guedidi 1c479d6b97 Autowire Redis and RabbitMQ services 2022-08-31 02:05:30 +02:00
Yassine Guedidi e856c06d39 Simplify service definitions 2022-08-31 02:05:30 +02:00
Yassine Guedidi d520e55c84 Bind most constructor parameters to simplify service definition 2022-08-31 02:05:30 +02:00
Yassine Guedidi 1bee0eeb29 Make repositories use ServiceEntityRepository 2022-08-31 02:05:30 +02:00
Yassine Guedidi 51884911f5 Pass logger in constructor for importers 2022-08-31 02:05:29 +02:00
Yassine Guedidi 96c8cc25af Remove autoconfigured tags 2022-08-31 02:05:29 +02:00
Yassine Guedidi dad088b575 Autowire service arguments 2022-08-31 02:05:29 +02:00
Yassine Guedidi 76a5133545 Enable autowire and autoconfigure 2022-08-31 02:05:29 +02:00
Yassine Guedidi 73bdd66c84 Move services and parameters to app services 2022-08-31 02:05:29 +02:00
Yassine Guedidi 791b674cdc Migrate remaining places 2022-08-26 17:47:46 +02:00
Yassine Guedidi 481283bbee Migrate controller and action references 2022-08-26 17:47:46 +02:00
MarkLee 873f1358b0
Translated using Weblate (Chinese (Traditional))
Currently translated at 12.5% (5 of 40 strings)
2022-08-26 04:20:08 +02:00
Yassine Guedidi 9549a90e76 Migrate first level template references to new notation 2022-08-25 21:09:26 +02:00
Yassine Guedidi 10f1bc5506 Migrate root level template references to new notation 2022-08-25 21:08:21 +02:00
Jérémy Benoist 009697f844
Merge pull request #5748 from yguedidi/use-fqcn-as-service-name 2022-08-25 07:37:06 +02:00
Yassine Guedidi 60777e0573 Use FQCN as service name for remaining CoreBundle services 2022-08-24 23:24:25 +02:00
Yassine Guedidi 0f9c359476 Use FQCN as service name for repositories 2022-08-24 23:24:25 +02:00
Yassine Guedidi 844e8e9d22 Use FQCN as service name for helper services 2022-08-24 23:24:24 +02:00
Yassine Guedidi 4449265836 Use FQCN as service name for remaining UserBundle services 2022-08-24 23:17:17 +02:00
Yassine Guedidi ff9f719ec5 Use FQCN as service name for UserRepository 2022-08-24 23:17:17 +02:00
Yassine Guedidi 97a4e826b5 Use FQCN as service name for global services 2022-08-24 23:17:16 +02:00
Yassine Guedidi fc85cfd52e Fix TwigCS issues 2022-08-24 23:13:18 +02:00
Jeremy Benoist 131f21883d
Merge remote-tracking branch 'origin/master' into 2.6.0 2022-08-23 08:43:46 +02:00
Jérémy Benoist 2f1f6e9c51
Merge pull request #5838 from wallabag/feat/mass-action-tag
Add support of mass action to tag entries
2022-08-22 20:56:04 +02:00
Yassine Guedidi 007bd31bee Use a listener to skip registration 2022-08-15 17:23:16 +02:00
Yassine Guedidi bfc28d4c0b Use Twig globals to pass registration_enabled 2022-08-15 17:23:16 +02:00
Yassine Guedidi 5a55a64fee Use fosuser_registration directly instead of wallabag_user.registration_enabled 2022-08-15 17:23:16 +02:00
Oğuz Ersen 67caee2e2c
Translated using Weblate (Turkish)
Currently translated at 100.0% (40 of 40 strings)
2022-07-21 21:17:47 +02:00
Kevin Decherf 08eb190c95 Add support of mass action to tag entries
Closes #3118

Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
2022-06-29 15:48:41 +02:00
Simounet e55cb639fc
Tag delete style action updated 2022-06-15 16:18:12 +02:00
Jeremy Benoist 2984c0dfcc
Merge remote-tracking branch 'origin/master' into 2.6.0 2022-06-15 16:17:50 +02:00
Milo Ivir 1f4de1bc51
Translated using Weblate (Croatian)
Currently translated at 100.0% (40 of 40 strings)
2022-06-13 06:02:08 +02:00
Jeremy Benoist 40595af2cf
Merge remote-tracking branch 'origin/master' into 2.6.0 2022-06-09 11:33:05 +02:00
Jeremy Benoist c2ef197726 Prepare 2.5.1
And also update Composer & Yarn deps.
2022-06-08 23:13:37 +02:00
Kevin Decherf 1d1c2a3311 material: fix "untagged entries" chip style
The longest translated string for "Untagged entries" seems to be the
greek "Καταχωρίσεις χωρίς ετικέτες"

Fixes #5632

Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
2022-06-07 14:42:14 +02:00
Yassine Guedidi eda4ff0336 Remove SensioDistributionBundle 2022-05-21 23:35:53 +02:00
Jérémy Benoist 84c026081b
Merge pull request #5799 from wallabag/release/2.5.0 2022-05-20 16:30:22 +02:00
Xosé M eed182c591
Translated using Weblate (Galician)
Currently translated at 100.0% (40 of 40 strings)
2022-05-19 06:17:18 +02:00
Jeremy Benoist 1a5348a8b8
Prepare 2.5.0 release 2022-05-17 20:29:28 +02:00
Eric 5ef97e63c3
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (40 of 40 strings)
2022-05-14 16:44:19 +02:00
Kevin Decherf 5809d7b072
Merge pull request #5794 from wallabag/2.5.0
Merge branch 2.5.0 in master
2022-05-14 16:44:13 +02:00
Jeremy Benoist 4947ea6758
Merge remote-tracking branch 'origin/master' into 2.5.0 2022-05-13 13:50:50 +02:00
Jeremy Benoist c87c91d3df
Update message 2022-05-13 09:56:35 +02:00
Kevin Decherf 6824914eb5
Deprecate mobi export
- Disable mobi export on new installations
- Put a note in the setting label

Closes #5773

Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
2022-05-13 09:52:43 +02:00
Yassine Guedidi 82fc828442 Remove bundle inheritance 2022-04-24 05:56:44 +02:00
Jeremy Benoist 0ac8089eee
CI workaround for PHP < 7.4 & MySQL 8
The error on PHP 7.2 & 7.3 is:

> PDO::__construct(): The server requested authentication method unknown to the client [caching_sha2_password]

See:
- https://stackoverflow.com/q/53066962/569101
- https://stackoverflow.com/q/52364415/569101
- https://stackoverflow.com/q/51489616/569101
- https://stackoverflow.com/q/50026939/569101

Also upgrade `actions/checkout` v3
2022-04-11 22:11:22 +02:00
Kevin Decherf 78ad422486 material: improve mass buttons style, mostly for smartphone screens
Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
2022-03-25 11:00:06 +01:00
Simounet d0cfdaf10e
Fix row and card style regressions 2022-03-15 13:54:04 +01:00
Simounet 201a9930f9
Card actions styled at the bottom 2022-03-14 22:13:44 +01:00
Simounet 016ceb6829
ul entries list replaced by ol 2022-03-14 22:12:22 +01:00
Simounet e700cadae3
Mass action buttons extracted from entries list 2022-03-14 22:11:09 +01:00
Simounet 85e91f9e67
CSS grid used for bloc mode entries and flex for card bloc 2022-03-14 22:09:07 +01:00
Nicolas Lœuillet 9a9d8840bb Enabled greek translation 2022-03-08 15:30:45 +01:00
Nicolas Lœuillet 6dfc031839
Enhanced tests and changed route 2022-03-02 20:07:43 +01:00
Nicolas Lœuillet dce50ddb79
Added route to list entries with annotations 2022-03-02 20:07:17 +01:00
Jeremy Benoist 9a6146d2ef
Merge remote-tracking branch 'origin/master' into 2.5.0 2022-03-02 20:03:33 +01:00
Jeremy Benoist 9e5a7db740
2.4.3
Also exclude @dependabot from automated GitHub release
2022-02-14 16:25:16 +01:00
monirzadeh d38fe8d7af
Add support for RTL content 2022-02-08 15:51:50 +01:00
Reza Almanda e8720dafbc
Translated using Weblate (Indonesian)
Currently translated at 100.0% (40 of 40 strings)
2022-01-28 01:54:47 +01:00
Jeremy Benoist 01609f8514
Update to ESLint 8
And run it:
- `yarn eslint app/**/*.js --fix`
- `yarn eslint web/**/*.js --fix`
2022-01-05 21:43:32 +01:00
Jeremy Benoist 9d1716c0e5
Rebuild assets
And add `postcss-scss` and fixing some issues.
2022-01-05 20:43:36 +01:00
Jérémy Benoist 7a444ed4aa
Merge pull request #5535 from marapavelka/patch-2
Add Czech language
2022-01-05 16:49:30 +01:00
marapavelka c429a31273
Update wallabag.yml
Added option for Czech language.
2022-01-05 16:40:28 +01:00
Jeremy Benoist 100469025a
Update webpack dev server config & webpack-cli package 2022-01-05 16:40:08 +01:00
Jeremy Benoist 283675ccd0
Rebuild assets and update webpack config
And optimize images (Thanks ImageOptim)
2022-01-05 16:09:43 +01:00
Jeremy Benoist 7ac1217c01
Update assets 2022-01-05 16:04:40 +01:00
Oğuz Ersen 161f113e69
Translated using Weblate (Turkish)
Currently translated at 100.0% (40 of 40 strings)
2022-01-02 12:37:07 +01:00
Weblate 660444e69c
Added translation using Weblate (Lithuanian) 2022-01-02 12:37:07 +01:00
WETX 5f7deb1a3f
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (40 of 40 strings)
2022-01-02 12:37:07 +01:00
liimee 02d91b7f83
Translated using Weblate (Indonesian)
Currently translated at 22.5% (9 of 40 strings)
2022-01-02 12:37:07 +01:00
Weblate 30e3437d29
Added translation using Weblate (Indonesian) 2022-01-02 12:37:06 +01:00
Kevin Decherf 1e7849c401 Fix dark mode background color for pre tags
Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
2021-10-23 14:50:14 +02:00
Simounet 60d601789c
Fix dark theme first-app code 2021-10-07 15:10:25 +02:00
Simounet 3d74bf483f
Fix 5421 dark theme on the developper page 2021-10-07 19:25:03 +02:00
Kevin Decherf c467bf9382 Update npm/yarn dependencies
Replace deprecated babel-eslint with @babel/eslint-parser
Replace deprecated eslint-loader with eslint-webpack-plugin
Update other plugins, resolving several opened security reports.

Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
2021-08-05 22:51:23 +02:00
Tim Lee ea06e4b735
Translated using Weblate (Korean)
Currently translated at 100.0% (40 of 40 strings)
2021-08-03 08:10:25 +02:00