Commit Graph

536 Commits

Author SHA1 Message Date
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
Alexey Skobkin dd3b1e2399 Todo for config_test.yml 2017-01-11 04:40:48 +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 7dc621a452 TopUserTest added. 2017-01-09 23:58:15 +03:00
Alexey Skobkin 9ec1dce9ab TopUserDTO type hints added. 2017-01-09 23:58:03 +03:00
Alexey Skobkin 793d54e206 UserSubscribersUpdatedEventTest added. 2017-01-09 23:51:39 +03:00
Alexey Skobkin e83fa99f32 UsersRenamedEventTest renamed. 2017-01-09 23:51:31 +03:00
Alexey Skobkin 25e4973a11 UserRenamedEventTest added. 2017-01-09 23:39:24 +03:00
Alexey Skobkin 4229ea05b0 DataFixtures excluded from tests. 2017-01-09 23:14:34 +03:00
Alexey Skobkin e3660031ab UserRepositoryTest fixed. 2017-01-09 23:09:14 +03:00
Alexey Skobkin 4a88a35b9d TestPostRepository added. 2017-01-09 23:00:28 +03:00
Alexey Skobkin 0cf5814c7a SubscriptionRepositoryTest added. 2017-01-09 22:47:15 +03:00
Alexey Skobkin 00b7c1d2f5 UserRepositoryTest added. 2017-01-09 22:36:19 +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