Commit graph

538 commits

Author SHA1 Message Date
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
Alexey Eschenko 07f89712d9 Merged in composer_update (pull request #27)
composer update.
2020-04-29 14:22:11 +00:00
Alexey Skobkin fd09f389f7
composer update. 2020-04-29 16:55:02 +03:00
Alexey Skobkin b6f7ac8ec5 Fixing UserRepositoryTest according to new test users. 2019-04-03 20:40:09 +03:00
Alexey Skobkin f598864d4d Crutch-fixing PostController::showAction() exception handling with 404 instead of 403 exception. 2019-04-03 20:34:16 +03:00
Alexey Skobkin 44c4158602 Fixing automatic replacing of AccessDeniedExceptions with InsufficientAuthenticationException in Symfony\Component\Security\Http\Firewall\ExceptionListener::handleAccessDeniedException(). 2019-04-03 20:16:34 +03:00
Alexey Skobkin aa751bbbc1 Fixing MainControllerTest::testAjaxUserAutoCompleteHasValidUserObjectsForUnnamedUser() in case of user's name in null instead of empty string. 2019-04-03 19:43:32 +03:00
Alexey Skobkin 9e5f59a2b2 Fixina small MainControllerTest problems. 2019-04-03 19:38:57 +03:00
Alexey Skobkin 7fcdcbf728 Fixing AJAX data deserialization in the MainControllerTest. 2019-04-03 19:34:01 +03:00
Alexey Skobkin 60dcc5e955 Fixing MainControllerTest dependencies. 2019-04-03 19:28:18 +03:00
Alexey Skobkin c3605b2db1 Fixing MainControllerTest::{testAjaxUserAutoCompleteHasOptions, testFindUsersLikeLogin}() and adding new tests for user without name. 2019-04-03 19:19:03 +03:00
Alexey Skobkin b455a6c8e7 Adding new tests in PostControllerTest to check for potential private post leakage. 2019-04-03 18:55:29 +03:00
Alexey Skobkin 5e8935ce66 Fixing PostController::showAction() exception on private author's post. 2019-04-03 18:52:36 +03:00
Alexey Skobkin d9c0673445 Fixing user and post data fixtures to fix PostControllerTest::testShortPostPageIsOk() according to previous privacy fix. New post for more advanced privacy test-cases added. Test must be written though. 2019-04-03 18:38:53 +03:00
Alexey Skobkin 0c004085fd Fixing privacy in PostController::showAction(). 2019-04-03 18:07:47 +03:00
Alexey Skobkin 184030ebd5 Disabling debug class loader in test environment to hide deprecation warnings. 2019-02-16 00:55:43 +03:00
Alexey Skobkin cbd24e85f9 Merge branch 'master' of bitbucket.org:skobkin/point-tools 2019-02-16 00:03:30 +03:00
Alexey Skobkin 5eb81e87be PHP removed from platrofm reqs. 2019-02-16 00:03:17 +03:00
Alexey Eschenko d4b5367c27 Merged in unit_testing (pull request #25)
Unit test added
2019-02-15 20:51:22 +00:00
Alexey Skobkin e5d5059c30 UserFactoryTest added 2019-02-15 23:42:31 +03:00
Alexey Eschenko 5d2ee61b49 Merged in fix_subscribers_update_local_users_list_fallback (pull request #24)
Fixes POINT-TOOLS-5 from Sentry.
2019-01-19 13:49:41 +00:00
Alexey Skobkin 3805ec366f Fixes POINT-TOOLS-5 from Sentry. 2019-01-19 16:43:34 +03:00