Commit Graph

48 Commits

Author SHA1 Message Date
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 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 b3822c5be6 Top page renamed to 'statistics'. 2017-01-10 04:24:22 +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 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 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 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 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 e6338b0cbd Telegram services refactoring. 2017-01-06 20:18:39 +03:00
Alexey Skobkin 8f9bb3a71e Small problems fixes. 2017-01-06 00:50:16 +03:00
Alexey Skobkin 3b8b6d3732 Telegram account linking added. Telegram bot services refactored. Legacy abstract API client POST requests fixed. 2017-01-05 23:17:19 +03:00
Alexey Skobkin 2b38c8b48e Test version of Telegram bot support. 2017-01-05 01:36:30 +03:00
Alexey Skobkin d0c103eae0 User search refactored, autocomplete added. bootstrap3-typeahead jQuery plugin added. 2016-12-11 01:48:51 +03:00
Alexey Skobkin cf08978c58 Point avatars twig extension. 2016-03-29 07:08:23 +03:00
Alexey Skobkin 13e35d939d User rename logging implemented. 2016-03-29 03:12:52 +03:00
Alexey Skobkin 42d504aba5 Custom PointParser for Markdown implemented. 2016-03-25 16:58:11 +03:00
Alexey Skobkin f0ed72aa36 Basic post page implemented. 2016-03-25 01:10:10 +03:00
Alexey Skobkin f919740524 File entity added. Post and Comment entities now has $files property. New migration. New FileFactory. 2016-03-25 00:28:43 +03:00
Alexey Skobkin a1b982d891 Test implementation of crawler API. NOT SECURED BY TOKEN YET. 2016-03-24 01:49:22 +03:00
Alexey Skobkin 2aaa620606 Factories refactoring (moved to separate directory). 2016-03-23 20:06:49 +03:00
Alexey Skobkin 5ccefa630f API routing updated. 2016-03-22 20:44:22 +03:00
Alexey Skobkin 408dafe2c4 Fix service DI definition. 2015-11-04 17:21:55 +03:00
Alexey Skobkin 3b25afd6aa More factories to the God of Factories! Entities update. 2015-10-26 06:00:01 +03:00
Alexey Skobkin a429d571a5 Route fix. 2015-10-08 02:24:36 +03:00
Alexey Skobkin 3bb54550eb First API method. 2015-10-08 02:11:57 +03:00
Alexey Skobkin 27754e9134 Separate last events page. 2015-06-23 14:20:21 +03:00
Alexey Skobkin 58f8db6c97 Search from index page. 2015-05-31 10:02:00 +03:00
Alexey Skobkin af94e84256 Main page prototype. 2015-05-31 03:01:48 +03:00
Alexey Skobkin 5b63cac5ec User controller preparations. 2015-05-30 09:50:44 +03:00
Alexey Skobkin 097488446a Statistics for main page. 2015-05-30 09:22:06 +03:00
Alexey Skobkin 5652a5ca68 Test implementation of subscriptions checking command. 2015-05-29 01:47:06 +03:00
Alexey Skobkin 976c435ae1 Service definition fix. 2015-05-28 23:07:48 +03:00
Dmitri Vereshchagin 1ab993edaf Whitespace police
Remove unnecessary trailing whitespace
2015-03-27 22:49:21 +03:00
Alexey Skobkin c534168058 Test implementation of Point API services. Login field added to the User entity. 2015-03-24 02:49:56 +03:00
Dmitri Vereshchagin a9c32e0f92 Initial commit. User and Subscription entities. 2015-03-22 20:22:49 +03:00