Commit graph

228 commits

Author SHA1 Message Date
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 4ca70ea9f3 Some of repositories are now presented as services in container. SubscriptionsManager is now not dependent on EntityManager directly. 2017-01-11 04:27:41 +03:00
Alexey Skobkin ba574984d7 SubscriptionEventRepository, SubscriptionRepository, UserRepository now have add() method which will add entity to the EntityManager. 2017-01-11 04:10:32 +03:00
Alexey Skobkin b229a3a8b8 array_reverse() added to sort events by day. 2017-01-10 04:30:53 +03:00
Alexey Skobkin 60fe8cfc18 Translation fixed. 2017-01-10 04:26:57 +03:00
Alexey Skobkin b3822c5be6 Top page renamed to 'statistics'. 2017-01-10 04:24:22 +03:00
Alexey Skobkin bfc40d595c Events by day stats added. DAY() DQL function added. 2017-01-10 04:21:57 +03:00
Alexey Skobkin 8544d9c7c3 Highcharts version updated. 2017-01-10 03:18:10 +03:00
Alexey Skobkin 279896be50 public resources from SkobkinPointToolsBundle moved to web directory. 2017-01-10 03:11:53 +03:00
Alexey Skobkin 22a61c2a67 Missing translation fixed. 2017-01-10 02:48:57 +03:00
Alexey Skobkin 290e3cb609 Auto-focus in the search field on the main page. 2017-01-10 02:47:33 +03:00
Alexey Skobkin 9ec1dce9ab TopUserDTO type hints added. 2017-01-09 23:58:03 +03:00
Alexey Skobkin 973207d543 UserRepository type hints added. 2017-01-09 22:36:08 +03:00
Alexey Skobkin dcf3f0f3e9 ApplicationAvailabilityFunctionalTest moved to the new path. 2017-01-09 22:14:08 +03:00
Alexey Skobkin db90f9ec87 Tests moved to new directory (/tests). 2017-01-09 22:08:01 +03:00
Alexey Skobkin 99888794ef Crawler UserFactory fix. 2017-01-09 21:46:56 +03:00
Alexey Skobkin fbea7ffe4e PostFactory exception fix. 2017-01-09 21:43:41 +03:00
Alexey Skobkin bdbcf14a15 User phpDoc fixes. 2017-01-09 21:29:39 +03:00
Alexey Skobkin 628916d69b UpdateSubscriptionsCommand code quality fix. 2017-01-09 06:03:29 +03:00
Alexey Skobkin abb320920a UpdateSubscriptionsCommand code quality fix. 2017-01-09 05:53:58 +03:00
Alexey Skobkin 6c6fe5a65d Some todo for UpdateSubscriptionsCommand. 2017-01-09 05:46:52 +03:00
Alexey Skobkin 5bf20066fa UpdateSubscriptionsCommand now uses ProgressBar. 2017-01-09 05:35:18 +03:00
Alexey Skobkin a6ac3757b6 UpdateSubscriptionsCommand refactored and simplified. API delay moved to parameters.yml. 2017-01-09 05:22:56 +03:00
Alexey Skobkin fa76440fa2 Unneeded variable removed in AbstractApi. 2017-01-09 04:47:10 +03:00
Alexey Skobkin 7d0440db92 Logging in Point API clients. 2017-01-09 04:42:06 +03:00
Alexey Skobkin 1df09fa68d SubscriptionsManager logging added. 2017-01-09 04:28:33 +03:00
Alexey Skobkin 30faaa7b08 Monolog log rotation in dev environment. Console command logging updated. 2017-01-09 04:21:31 +03:00
Alexey Skobkin 0232dee4fb Symfony upgraded to 3.2.1. Deprecations solved, BC breaks fixed. All tests passing right. 2017-01-09 03:33:29 +03:00
Alexey Skobkin cf005637f8 MisdGuzzleBundle removed from project in favor of CsaGuzzleBundle. AbstractApi refactored to use Guzzle 6. Service names refactoring (now all uses 'app.' prefix). Factories slightly refactored. 2017-01-09 02:26:06 +03:00
Alexey Skobkin 2702f0cb5e MainControllerTest updated according to 9f53628 2017-01-09 00:24:25 +03:00
Alexey Skobkin 9f53628373 Code deprecations update according to https://github.com/symfony/symfony/blob/2.8/UPGRADE-2.8.md 2017-01-08 22:57:52 +03:00
Alexey Skobkin 25f15e40ba Removed unnecessary entity class binding from UserSearchType form type. 2017-01-08 20:52:50 +03:00
Alexey Skobkin 366396a4c2 More SubscriptionEvent optimization. 2017-01-08 18:31:05 +03:00
Alexey Skobkin c3d430e8f8 Base user-related and subscriptions-related entities refactored and optimized. 2017-01-08 18:29:12 +03:00
Alexey Skobkin 7dacc3e4d3 LoadSubscribersData micro optimization. 2017-01-08 18:05:52 +03:00
Alexey Skobkin cfd30a093d Check for first-time processing removed from SubscriptionsManager. SubscriptionsManager optimized and slightly refactored. 2017-01-08 17:13:51 +03:00
Alexey Skobkin cc29168d83 Telegram bot user subscribers update notification template fix. 2017-01-07 22:20:21 +03:00
Alexey Skobkin 1d5ccd6e30 Telegram bot settings template fix. 2017-01-07 22:20:01 +03:00
Alexey Skobkin 2d47fb4f4d Telegram bot empty subscribers change notification fix. 2017-01-07 21:56:09 +03:00
Alexey Skobkin 1372b7e6d1 Telegram bot users statistics in /stats response. 2017-01-07 21:53:31 +03:00
Alexey Skobkin 88be9e99ae Telegram notifications on user subscribers list changes. Some refactoring of SubscriptionsManager and event system. 2017-01-07 21:46:50 +03:00
Alexey Skobkin 9488eddd9f UsersRenamedEvent now dispatches instead of GenericEvent on users rename. Some events refactoring. 2017-01-07 18:05:54 +03:00
Alexey Skobkin 3db25e9bdb Telegram bot settings page template updated. Linking status added. Notification about disabled linking when turning on subscribers notifications. 2017-01-07 14:30:30 +03:00
Alexey Skobkin 9a0d374baf User renaming Telegram notifications. User renaming event 'app.users.renamed' present. UpdateSubscriptionsCommand refactored (now updates data in single transaction). SubscriptionsManager updated (now not flushing). UserApi updated (now not flushing). Possible bugs added. 2017-01-07 00:51:56 +03:00
Alexey Skobkin 43dbb0b007 Telegram bot /help template updated. 2017-01-07 00:46:08 +03:00
Alexey Skobkin 4e24b58c49 User renaming Telegram notifications. User renaming event 'app.users.renamed' present. UpdateSubscriptionsCommand refactored (now updates data in single transaction). SubscriptionsManager updated (now not flushing). Point API clients and factories not flushing data themselves. Possible bugs added. 2017-01-07 00:38:20 +03:00
Alexey Skobkin 6c198053d5 Editable Telegram account settings. Some PrivateMessageProcessor refactoring. 2017-01-06 22:19:44 +03:00
Alexey Skobkin 3e42ded305 Point user links bug fixed. 2017-01-06 20:51:03 +03:00
Alexey Skobkin 565ec33a19 Small fix after refactoring. 2017-01-06 20:24:40 +03:00
Alexey Skobkin e6338b0cbd Telegram services refactoring. 2017-01-06 20:18:39 +03:00