WIP: Symfony 6 project remake #2

Draft
skobkin wants to merge 103 commits from symfony6_remake into master

103 commits

Author SHA1 Message Date
Alexey Skobkin 9747eefe47
Replacing jms/serializer with symfony/serializer and doing some DTO refactoring. 2023-08-19 03:32:43 +03:00
Alexey Skobkin a7c17022dc
app:subscriptions:update --dry-run. 2023-08-19 03:28:45 +03:00
Alexey Skobkin 0a03a9a904
Fixing TelegramWebhookCommand setWebhook() call. 2023-08-19 01:22:37 +03:00
Alexey Skobkin 1c223f7077
Using --dry-run for app commands. 2023-08-19 01:22:09 +03:00
Alexey Skobkin bae8ee9a24
Using self-hosted version of HighCharts. Also updating to the latest version. 2023-08-18 20:27:18 +03:00
Alexey Skobkin 4c33ce9d84
Fixing stats page, replacing ob/highcharts-bundle with own implementation based on ghunti/highcharts-php. Some refactoring. 2023-08-18 20:20:26 +03:00
Alexey Skobkin 3a69565ecb
Fixing posts web controllers, templates and entities. 2023-08-18 18:56:17 +03:00
Alexey Skobkin 6c173b2e5c
Changes in tests: namespaces, properties, calls. 2023-08-18 16:06:30 +03:00
Alexey Skobkin 82b541c0fc
Translations moved/fixed. 2023-08-17 02:37:46 +03:00
Alexey Skobkin b413934d35
Introducing PostTypeEnum. 2023-08-17 02:27:31 +03:00
Alexey Skobkin 042d119cea
Introducing AvatarSizeEnum. 2023-08-17 02:17:24 +03:00
Alexey Skobkin 392ead9b3e
PointUrlExtension deprecation fixed. 2023-08-17 02:08:01 +03:00
Alexey Skobkin c2fb2b6dfc
composer recipe:update symfony/twig-bundle 2023-08-17 02:04:42 +03:00
Alexey Skobkin 9cb36868ed
composer recipe:update symfony/translation 2023-08-17 02:03:34 +03:00
Alexey Skobkin bd1a6741a3
composer recipe:update symfony/phpunit-bridge 2023-08-17 02:02:53 +03:00
Alexey Skobkin 5a2a6d2354
composer recipe:update phpunit/phpunit. 2023-08-17 02:01:52 +03:00
Alexey Skobkin c2348b8c8d
composer recipe:update doctrine/doctrine-bundle. 2023-08-17 02:00:37 +03:00
Alexey Skobkin 9bab457905
composer update symfony/* to 6.3. 2023-08-17 01:57:56 +03:00
Alexey Skobkin f426c46a7f
Adding /.idea to .gitignore. 2023-08-17 01:50:21 +03:00
Alexey Skobkin 5142d6d443
composer update. 2023-08-17 01:49:09 +03:00
Alexey Skobkin ab3a54bde9
Fixing main templates. 2023-08-17 01:40:29 +03:00
Alexey Skobkin 2673272fc7
Fixing controller action names and routing configuration accordingly. 2023-08-17 01:39:06 +03:00
Alexey Skobkin a58cd2a1ea
Fixing KNP Paginator template configuration. 2023-08-17 01:37:47 +03:00
Alexey Skobkin b7cf85fbcd
Fixing Doctrine DQL DAY function implementation configuration. 2023-08-17 01:37:24 +03:00
Alexey Skobkin 34718ceaf4
Fixing collection type hinting in entities. 2023-08-17 01:36:40 +03:00
Alexey Skobkin 0a8c6b0395
Ported templates and routes. Saved external JS/CSS into the public dir. 2023-04-10 00:35:58 +03:00
Alexey Skobkin 1aff2ac244
Telegram services and commands ported to telegram-bot/api. Also fixed ENV reading in the services.yaml. Some small refactoring and style fixes. 2023-04-10 00:30:51 +03:00
Alexey Skobkin 728f1c28ac
Fixing TelegramSendMessageCommand syntax error. 2023-04-09 21:21:51 +03:00
Alexey Skobkin 2501a67700
Returning symfony/runtime. 2023-04-09 17:41:13 +03:00
Alexey Skobkin fc8b8e04e3
Adding return types to commands. 2023-04-09 17:40:11 +03:00
Alexey Skobkin ef40d8f19a
composer remove symfony/runtime. 2023-04-01 22:18:45 +03:00
Alexey Skobkin 822f7a5530
Adding missing ext-json to composer.json. 2023-04-01 22:15:56 +03:00
Alexey Skobkin 5cb0cecd69
composer remove symfony/serializer. 2023-04-01 22:13:33 +03:00
Alexey Skobkin 307b242d21
composer remove symfony/web-link. 2023-04-01 22:07:52 +03:00
Alexey Skobkin f4e932ab79
composer remove symfony/process. 2023-04-01 22:03:54 +03:00
Alexey Skobkin 8353ed49fd
composer remove symfony/mime. 2023-04-01 22:01:18 +03:00
Alexey Skobkin 86458b006a
composer remove symfony/messenger. 2023-04-01 21:59:12 +03:00
Alexey Skobkin 1ca0d1fe93
composer remove symfony/notifier. 2023-04-01 21:52:55 +03:00
Alexey Skobkin 5725aaa305
composer remove symfony/mailer. 2023-04-01 21:47:29 +03:00
Alexey Skobkin 5c916a636f
Retrieving variables bound in the container configuration from environment variables. 2023-04-01 21:43:05 +03:00
Alexey Skobkin 109c95fcdb
Ported doctrine.orm from old config.yml. 2023-04-01 21:31:34 +03:00
Alexey Skobkin 65138f6868
Removed doctrine_migrations from config.yml. 2023-04-01 21:26:50 +03:00
Alexey Skobkin dc683362d7
Ported DataFixtures. composer require doctrine-fixtures-bundle. 2023-04-01 21:23:30 +03:00
Alexey Skobkin 351bffb298
Moved LICENSE. 2023-04-01 21:07:42 +03:00
Alexey Skobkin 312c1617e1
Moved JS/CSS/etc resources from /web to /public. 2023-04-01 21:06:57 +03:00
Alexey Skobkin c908a22d15
Removed useless index.rst. 2023-04-01 21:04:53 +03:00
Alexey Skobkin 53028d2577
Removed useless SkobkinPointToolsBundle. 2023-04-01 21:04:12 +03:00
Alexey Skobkin 1393e2d53f
Ported UserController. Fixed PhpDoc type hinting in SubscriptionEventRepository and UserRepository. 2023-04-01 21:00:16 +03:00
Alexey Skobkin 77fa05f457
Ported PublicFeedController. 2023-04-01 20:31:40 +03:00
Alexey Skobkin 40db2edc38
Ported PostController. 2023-04-01 20:30:04 +03:00
Alexey Skobkin e56cae9568
Ported MainController. 2023-04-01 20:28:24 +03:00
Alexey Skobkin fc9026d13f
Ported EventsController. composer require knplabs/knp-paginator-bundle. 2023-04-01 20:28:24 +03:00
Alexey Skobkin 0c48b57710
Ported ApiController. 2023-04-01 19:57:27 +03:00
Alexey Skobkin a83b783de4
Ported WebHookController. 2023-04-01 19:56:02 +03:00
Alexey Skobkin 430632c8e4
Ported Api\{AbstractApiController, CrawlerController}. 2023-04-01 19:45:21 +03:00
Alexey Skobkin f4e92a8f31
Avoiding an error warning in UserFactory. 2023-04-01 19:40:23 +03:00
Alexey Skobkin 8614bd0f26
Renaming point http client to @app.point.http_client. 2023-04-01 19:38:17 +03:00
Alexey Skobkin a409fbae8d
Ported UserSearchType. 2023-04-01 19:36:13 +03:00
Alexey Skobkin 0822aea5ec
Ported CommandProcessingException. 2023-04-01 19:36:13 +03:00
Alexey Skobkin c7256f5a50
Ported Exception\Factory\Blog\*. 2023-04-01 19:36:13 +03:00
Alexey Skobkin c151acd30b
Ported InvalidUserDataException. 2023-04-01 19:36:13 +03:00
Alexey Skobkin b4bdda26e3
Backslashes for usleep() call. 2023-04-01 19:10:56 +03:00
Alexey Skobkin 0a05264406
Changed value type for $pointApiDelay and set default value of 5 sec. 2023-04-01 19:10:26 +03:00
Alexey Skobkin 690b849ca6
Preliminary changes in README.md: Codeship, CodeCov, Total Downloads badges removed. 2023-03-28 23:52:49 +03:00
Alexey Skobkin 50d56f0007
Ported PointUrlExtension Twig extension. 2023-03-28 23:41:04 +03:00
Alexey Skobkin 8a9a5028dc
Ported SubscriptionsManager. 2023-03-28 23:33:14 +03:00
Alexey Skobkin ca1fb63604
Ported EventListener\* (without service registration). 2023-03-28 23:22:39 +03:00
Alexey Skobkin a129130ba1
Removed DependencyInjection dir from old code due to uselessness. 2023-03-28 23:02:58 +03:00
Alexey Skobkin 2029adc48d
Ported Day DQL extension. 2023-03-28 23:01:56 +03:00
Alexey Skobkin 441fdc06b3
Ported all API DTO's (without serializer configuration). 2023-03-28 22:57:11 +03:00
Alexey Skobkin b7e2cbc630
Ported DailyEvents and TopUserDTO. 2023-03-28 22:45:11 +03:00
Alexey Skobkin fd8161c9e1
Ported AccountFactory. 2023-03-28 22:29:19 +03:00
Alexey Skobkin 5e2f8787ae
Ported {Comment, File, Post, Tag}Factory. Service\Api\{Post, User}Api modified accordingly. 2023-03-28 21:45:41 +03:00
Alexey Skobkin 5afc8d91b4
Ported AbstractFactory, UserFactory. 2023-03-28 20:11:28 +03:00
Alexey Skobkin 7c9ee60103
Ported Service\Api\*. Now using symfony/http-client instead of Guzzle. AbstractApi refactored a bit. 2023-03-26 17:08:41 +03:00
Alexey Skobkin 4cc4f50e13
Using new bind variables in commands. 2023-03-26 17:07:00 +03:00
Alexey Skobkin 8c59f656f6
Creating default Point API HTTP client. Defining default bind by name variables in services.yaml. 2023-03-26 17:06:19 +03:00
Alexey Skobkin d68ae868ae
jms/serializer-bundle installed. Probably need to add more configuration later. 2023-03-26 17:05:20 +03:00
Alexey Skobkin 64b042bf77
Ported Exceptions\Api\*. Some small optimization. 2023-03-26 17:04:20 +03:00
Alexey Skobkin 8d6197b116
Ported SubscriptionManagerException. 2023-03-26 16:24:28 +03:00
Alexey Skobkin 3d0b2bdbc8
Ported UpdateUsersPrivacyCommand. 2023-03-26 15:32:13 +03:00
Alexey Skobkin b669057ce2
Renaming TelegramSendMessageCommand and TelegramWebhookCommand aliases. 2023-03-26 15:11:35 +03:00
Alexey Skobkin 7b465f46e3
Ported UpdateSubscriptionsCommand. 2023-03-26 15:09:57 +03:00
Alexey Skobkin f700b0c3c3
Ported TelegramWebHookCommand. Needs migration to another library. 2023-03-26 14:50:42 +03:00
Alexey Skobkin 9f97ba5db2
Ported TelegramSendMessageCommand. 2023-03-26 14:03:09 +03:00
Alexey Skobkin cd908d33ee
Forgotten 'public' modifier added to event classes. 2023-03-19 19:22:33 +03:00
Alexey Skobkin 64855c5076
Ported UsersRenamedEvent, UserSubscribersUpdatedEvent. 2023-03-19 19:20:12 +03:00
Alexey Skobkin 405b8a9f59
Ported RestoreRemovedUsersCommand. 2023-03-19 18:50:25 +03:00
Alexey Skobkin 4cb8e715bf
Ported ImportUsersCommand. 2023-03-19 17:55:24 +03:00
Alexey Skobkin 3fd76ff0ab
Ported Blog\Post entity and repo. 2023-03-19 17:43:05 +03:00
Alexey Skobkin bcc2c609c4
Ported Blog\PostTag entity and repo. 2023-03-19 17:30:44 +03:00
Alexey Skobkin 98f3634cf1
Fixing Blog\{Comment, File}::getId() signature. 2023-03-19 17:24:10 +03:00
Alexey Skobkin c5a63a4259
Ported Blog\Tag entity and repo. 2023-03-19 17:23:30 +03:00
Alexey Skobkin fa9a84f2a7
Ported Blog\File entity and repo. 2023-03-19 17:18:19 +03:00
Alexey Skobkin 5e901bc683
Ported Blog\Comment entity and repo. 2023-03-19 17:01:32 +03:00
Alexey Skobkin c2d682967a
Fatal flaw fixed. 2023-03-12 21:39:30 +03:00
Alexey Skobkin 6d557c9a40
Ported Telegram\Account entity and repo. 2023-03-12 21:39:18 +03:00
Alexey Skobkin 528099baa9
Ported UserRenameEvent entity and repo. 2023-03-12 21:11:27 +03:00
Alexey Skobkin 4f37cb9782
Ported SubscriptionEvent entity and SubscriptionEventRepository. 2023-03-12 20:50:52 +03:00
Alexey Skobkin 5b0fd11f31
Ported Subscription entity and SubscriptionRepository. 2023-03-12 20:39:24 +03:00
Alexey Skobkin 201356938f
Ported User entity and UserRepository. 2023-03-12 18:52:54 +03:00
Alexey Skobkin e482b4567a
Doctrine migrations ported. 2023-03-12 18:15:25 +03:00
Alexey Skobkin 820a37a5d0
Moving important old files to backup directory. Creating new project from scratch. 2023-03-11 19:28:46 +03:00