Commit graph

104 commits

Author SHA1 Message Date
Alexey Skobkin 05aaa1d4e1 Fixing circular dependency in UserFactory. 2019-02-23 21:11:11 +03:00
Alexey Skobkin 26ee4522fc Unfinished work on WS comment retrieval, 2019-02-23 20:51:42 +03:00
Alexey Skobkin 46b327b455 WS updates handling draft. Updates processing implementation needed. 2019-02-23 20:46:15 +03:00
Alexey Skobkin e5d5059c30 UserFactoryTest added 2019-02-15 23:42:31 +03:00
Alexey Skobkin a1fae6e3f0 Fix #43. AbstractApi::sendRequest() fixed. Telegram account linking fixed too. 2017-11-07 03:15:58 +03:00
Alexey Skobkin 6c321a9fc6 DB schema, entities and factories small refactoring. 2017-11-06 05:36:32 +03:00
Alexey Skobkin 8f8f6973c0 AbstractApi now has 'abstract' definition. 2017-11-06 04:54:02 +03:00
Alexey Skobkin 46502c4a80 deprecations removal. 2017-11-05 05:39:52 +03:00
Alexey Skobkin b8f912b91d Dependency Injection refactoring according to new autowiring and autoconfiguration. A bunch of classes refactored. 2017-11-05 04:42:08 +03:00
Alexey Skobkin fe5c936681 #38 fix. User privacy status update implemented ('point:update:privacy' command). Small refactoring and several bug fixes. Small optimization. 2017-11-04 22:38:38 +03:00
Alexey Skobkin 41079a29a8 RestoreRemovedUsersCommand added. 2017-01-18 04:06:55 +03:00
Alexey Skobkin 76b332155b Revert: Revert: User removal support. 2017-01-18 00:58:53 +03:00
Alexey Skobkin 38d0ab50be Revert: User removal support. 2017-01-17 04:36:35 +03:00
Alexey Skobkin 3ab7993d04 User removal support. 2017-01-17 04:07:38 +03:00
Alexey Skobkin 5633a5146b Autowiring test. 'telegram:send-message' command added. 2017-01-16 02:54:19 +03:00
Alexey Skobkin 3d481f744f Post and PostFactory refactored. 2017-01-15 20:33:43 +03:00
Alexey Skobkin 1d88ccb6a3 Code quality refactoring for AbstractApi and PostFactory. 2017-01-15 19:53:17 +03:00
Alexey Skobkin 6e7280938d PostFactory minor fixes. 2017-01-15 17:51:40 +03:00
Alexey Skobkin 6fc01076e2 fix #30. Factories and API clients refactored to DTO. Some other changes. 2017-01-15 05:54:38 +03:00
Alexey Skobkin 2d8bd6f6fc Fix for error in user list. 2017-01-14 04:35:44 +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 f741ff02a9 Tests for nullable User#getName(). 2017-01-12 21:54:46 +03:00
Alexey Skobkin 4c02e17595 UserApi slightly refactored. 2017-01-11 21:30:16 +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 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 fbea7ffe4e PostFactory exception fix. 2017-01-09 21:43:41 +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 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 cfd30a093d Check for first-time processing removed from SubscriptionsManager. SubscriptionsManager optimized and slightly refactored. 2017-01-08 17:13:51 +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 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 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