Commit graph

513 commits

Author SHA1 Message Date
Alexey Skobkin 34a9aa8caf Fix for 1b2df8d. 2017-01-14 04:02:04 +03:00
Alexey Skobkin 1b2df8d4c3 #35 done. LoadSubscribersData are now non-random. 2017-01-14 03:58:18 +03:00
Alexey Skobkin 144a535c6b Monolog Telegram handler reconfigured for prod environment. New 'subscribers_update' channel. 2017-01-14 03:56:17 +03:00
Alexey Skobkin 93071b6be8 Telegram webhook management command updated to use router default context instead of input argument. TelegramWebHookCommand is now a service. 2017-01-14 02:15:08 +03:00
Alexey Skobkin ca62397cbb composer require unreal4u/monolog-telegram. Telegram Monolog handler added. 2017-01-14 01:47:46 +03:00
Alexey Skobkin eb5aa80430 UserController slightly refactored. 2017-01-13 03:00:20 +03:00
Alexey Skobkin da2a27dd63 Unnecessary phpDoc removed from Subscription and SubscriptionEvent. 2017-01-13 02:43:10 +03:00
Alexey Skobkin 37e0d10611 Account phpDoc and unnecessary method removal. 2017-01-13 02:42:19 +03:00
Alexey Skobkin 4d4493f7cd Comment phpDoc removal. 2017-01-13 02:41:44 +03:00
Alexey Skobkin 22a26d5298 Post phpDoc fixes and type missing type hinting. 2017-01-13 02:39:44 +03:00
Alexey Skobkin 69d72085d0 New PHP 7.1 iterable return type for entities. 2017-01-13 02:38:33 +03:00
Alexey Skobkin 3f5e9bda5e New PHP 7.1 constants visibility for MessageSender. 2017-01-13 02:28:54 +03:00
Alexey Skobkin c1848aad86 New PHP 7.1 type hints for AbstractApi and SubscriptionsManager. 2017-01-13 02:27:44 +03:00
Alexey Skobkin 4babc046e6 New PHP 7.1 type hints for Telegram services. 2017-01-13 02:25:46 +03:00
Alexey Skobkin 5271fd5f59 New PHP 7.1 type hints for factories. 2017-01-13 02:21:17 +03:00
Alexey Skobkin 415efe9e6e New PHP 7.1 type hints for service exceptions. 2017-01-13 02:18:57 +03:00
Alexey Skobkin 841c45bddb Unnecessary phpDoc removed from InvalidPostDataException. 2017-01-13 02:17:35 +03:00
Alexey Skobkin 54903e2ad3 New PHP 7.1 type hints for Event Listeners. 2017-01-13 02:16:50 +03:00
Alexey Skobkin a02250a8df UserSubscribersUpdatedEvent phpDoc fix. 2017-01-13 02:14:55 +03:00
Alexey Skobkin d21d18f50a New PHP 7.1 type hints for DTO. 2017-01-13 02:13:44 +03:00
Alexey Skobkin 39bfe4c9bf New PHP 7.1 type hints for ApiController and EventsController. 2017-01-13 02:05:24 +03:00
Alexey Skobkin 68238f2d14 New PHP 7.1 type hints for WebHookController. 2017-01-13 02:04:04 +03:00
Alexey Skobkin df244c90bd New PHP 7.1 type hints for AbstractApiController. 2017-01-13 02:03:27 +03:00
Alexey Skobkin d289571c5b New PHP 7.1 type hints for commands. 2017-01-13 02:02:25 +03:00
Alexey Skobkin 4b6dd73a0b New PHP 7.1 type hints for DataFixtures. 2017-01-13 02:00:21 +03:00
Alexey Skobkin 89998a6418 New PHP 7.1 type hints for entities and repositories. 2017-01-13 01:58:52 +03:00
Alexey Skobkin 069aa27bb4 Unnecessary checks removed from UserRepository. 2017-01-13 01:22:09 +03:00
Alexey Skobkin 72a408fa56 composer update. twig/twig, symfony/symfony, doctrine/common, symfony/monolog-bundle, sensio/distribution-bundle, sensio/framework-extra-bundle, doctrine/dbal, ocramius/proxy-manager updated. 2017-01-13 01:07:17 +03:00
Alexey Skobkin f741ff02a9 Tests for nullable User#getName(). 2017-01-12 21:54:46 +03:00
Alexey Skobkin aebc31a0fe Tests for nullable User#getName(). 2017-01-12 21:49:38 +03:00
Alexey Skobkin 45c3a0d9c9 Fixing User#getName() when name is null. 2017-01-12 21:36:57 +03:00
Alexey Skobkin 5aa09ada31 Monolog log rotation for dev environment reconfigured. 2017-01-11 21:42:29 +03:00
Alexey Skobkin a165c879cc Monolog log rotation for prod environment. 2017-01-11 21:41:48 +03:00
Alexey Skobkin 4c02e17595 UserApi slightly refactored. 2017-01-11 21:30:16 +03:00
Alexey Skobkin 3df7fa585e ApplicationAvailabilityFunctionalTest fixed due to 'statistics' route change. 2017-01-11 21:20:33 +03:00
Alexey Skobkin cb9c22df92 'statistics' route address changed. 2017-01-11 21:09:47 +03:00
Alexey Skobkin bc363c03e7 Hardcoded URL's removed everywhere in favor of dynamically generated based on container parameters. Router now can generate absolute URL even when not processing HTTP request. Avatar-related functions moved from UserApi to PointUrlExtension. 2017-01-11 21:03:32 +03:00
Alexey Skobkin d6bd2ddd73 Telegram PrivateMessageProcessor service is now receives all repositories directly. Still depends on EntityManager due to need to flush(). 2017-01-11 19:46:15 +03:00
Alexey Skobkin 928311dad1 Telegram InlineQueryProcessor service is now receives UserRepository directly instead of EntityManager. 2017-01-11 19:39:24 +03:00
Alexey Skobkin 170adca0f1 Telegram Notifier service is now receives AccountRepository directly instead of EntityManager. 2017-01-11 19:36:58 +03:00
Alexey Skobkin 592d9592c6 AccountFactory is now receives AccountRepository directly instead of EntityManager. 2017-01-11 19:31:37 +03:00
Alexey Skobkin 20878ab123 PostFactory is now receives PostRepository directly. Still depends on EntityManager because of UoW usage. 2017-01-11 19:27:08 +03:00
Alexey Skobkin 0dc01bef2b FileFactory is now receives FileRepository directly instead of EntityManager. 2017-01-11 19:21:20 +03:00
Alexey Skobkin 2ac54dc1b4 TagFactory is now receives TagRepository directly instead of EntityManager. 2017-01-11 19:17:52 +03:00
Alexey Skobkin 09cc3741e7 CommentFactory is now gets direct injection of CommentRepository and PostRepository instead of EntityManager. 2017-01-11 19:11:55 +03:00
Alexey Skobkin 097d9a5f65 UserFactory is now gets UserRepository directly instead of EntityManager. 2017-01-11 18:58:02 +03:00
Alexey Skobkin 55b5aaa1a2 Now injecting UserRepository into UpdateSubscriptionsCommand. UpdateSubscriptionsCommand still depends on EntityManager because of transactions. 2017-01-11 18:51:56 +03:00
Alexey Skobkin ff38cbc278 TODO comment. 2017-01-11 18:26:16 +03:00
Alexey Skobkin e32ced37dd Merge branch 'master' into fix_repositories_injection 2017-01-11 18:25:20 +03:00
Alexey Skobkin 2ce802e714 Two more badges to the God of Badges. 2017-01-11 05:22:34 +03:00