Commit graph

343 commits

Author SHA1 Message Date
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
Alexey Skobkin a84c2dcd3b Small quality fixes in AbstractApi. 2017-01-06 00:57:32 +03:00
Alexey Skobkin 4e9c556320 Small quality fixes in UserApi. 2017-01-06 00:54:19 +03:00
Alexey Skobkin 48b47c9bc2 Type cast for $sendMessage->chat_id. 2017-01-06 00:52:46 +03:00
Alexey Skobkin 8f9bb3a71e Small problems fixes. 2017-01-06 00:50:16 +03:00
Alexey Skobkin b51d2f1a6e Recent fix additional fix. 2017-01-06 00:30:52 +03:00
Alexey Skobkin 7298c37f44 Recent fix fix. 2017-01-06 00:18:52 +03:00
Alexey Skobkin b712307782 Fixing @ in POST parameters which could cause sending file from filesystem as POST data. 2017-01-06 00:13:50 +03:00
Alexey Skobkin d9082a3a71 Telegram bot /link case sensitive user search fix. 2017-01-06 00:00:37 +03:00
Alexey Skobkin 4ebc547ab2 Telegram /last response template fix. 2017-01-05 23:27:08 +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 1145e4da45 Telegram bot link in header. 2017-01-05 14:35:04 +03:00
Alexey Skobkin 2b38c8b48e Test version of Telegram bot support. 2017-01-05 01:36:30 +03:00
Alexey Skobkin ca0991a623 MainControllerTest code quality fix. 2016-12-12 21:37:15 +03:00
Alexey Skobkin 97dc750e08 UserApi code quality fix. 2016-12-12 21:35:59 +03:00
Alexey Skobkin 54da4c454c unused imports removed. 2016-12-12 21:34:48 +03:00
Alexey Skobkin f184bde6ad SubscriptionsManager code quality fix. 2016-12-12 21:33:37 +03:00
Alexey Skobkin 68440c8531 PostApi code quality fix. Non implemented yet method removed. 2016-12-12 21:32:56 +03:00
Alexey Skobkin 7fbe9f8752 PointParser code quality fix. 2016-12-12 21:30:27 +03:00
Alexey Skobkin 34fc7c9e21 UserFactory code quality fix. 2016-12-12 21:25:41 +03:00
Alexey Skobkin d8e6a2bbe0 TagFactory code quality fix. 2016-12-12 21:24:23 +03:00
Alexey Skobkin 860ea95538 PostFactory code quality fix. 2016-12-12 21:23:11 +03:00
Alexey Skobkin be074ebad5 FileFactory code quality fix. 2016-12-12 21:17:02 +03:00
Alexey Skobkin aeaad243bc CommentFactory code quality fix. 2016-12-12 21:15:46 +03:00
Alexey Skobkin 12d33c9400 Service/AbstractApi code quality fix. 2016-12-12 21:11:53 +03:00
Alexey Skobkin eae74e58fa Entity\Blogs\Post code quality fix. phpDoc fixed. 2016-12-12 21:03:06 +03:00
Alexey Skobkin 95cab0b564 Entity\Comment code quality fix. 2016-12-12 21:02:19 +03:00
Alexey Skobkin b06eaec2b3 PostsPage code quality fix. 2016-12-12 20:59:42 +03:00
Alexey Skobkin a9a247ba45 PostController code quality fix. 2016-12-12 20:58:01 +03:00
Alexey Skobkin 7776b1ac74 UpdateSubscriptionsCommand code quality fix. 2016-12-12 20:57:03 +03:00
Alexey Skobkin b16646a2ed ImportUsersCommand code quality fix 2. 2016-12-12 20:56:40 +03:00
Alexey Skobkin e52dc94c77 ImportUsersCommand code quality fix. 2016-12-12 20:44:36 +03:00
Alexey Skobkin 77b6e866de LoadSubscribersData bug fix. 2016-12-12 20:07:03 +03:00
Alexey Skobkin 84be9d5df4 PostControllerTest added. LoadPostData now loads one long and one short post for different tests. 2016-12-12 19:58:29 +03:00
Alexey Skobkin 4e0bbadd7f Very important whitespace fix. 2016-12-12 18:52:51 +03:00
Alexey Skobkin 88105a4ef1 LoadSubscribersData possible fix. 2016-12-12 03:51:41 +03:00
Alexey Skobkin 706933b405 Unused variables removed in MainControllerTest. 2016-12-12 03:27:35 +03:00
Alexey Skobkin 5843dfbd12 MainControllerTest now tests AJAX user autocompletion. 2016-12-12 03:22:02 +03:00
Alexey Skobkin d988bac7b0 MainControllerTest now checks non-existing user search scenario. 2016-12-12 02:58:11 +03:00
Alexey Skobkin 6e5e0435ac LoadSubscribersData fixture added. Subscription and SubscriptionEvent entities refactored. SubscriptionsManager refactored as well. 2016-12-12 02:21:05 +03:00
Alexey Skobkin 24a173af16 LoadCommentsData fixture fix. 2016-12-12 01:58:58 +03:00
Alexey Skobkin 22784542bf Many test users in fixtures 2016-12-12 01:53:56 +03:00
Alexey Skobkin 9264170d0b Fix #26. Top users page fixed. 2016-12-12 01:26:27 +03:00
Alexey Skobkin 0dfdf9793e ApiController phpDoc fix. 2016-12-12 00:40:55 +03:00
Alexey Skobkin f216b4f11a MainControllerTest fix. 2016-12-12 00:09:29 +03:00
Alexey Skobkin 6f47fa344d Useless test removed from EventsControllerTest 2016-12-12 00:09:02 +03:00
Alexey Skobkin e493eb6322 Updated user page tests. 2016-12-11 23:59:05 +03:00
Alexey Skobkin 5cbc255331 EventsControllerTest tests page heading and table with events are properly shown. 2016-12-11 23:27:56 +03:00
Alexey Skobkin 961b9f346a MainControllerTest testing user stats output. 2016-12-11 23:27:14 +03:00
Alexey Skobkin 36be7e7225 Named data sources in ApplicationAvailabilityFunctionalTest. 2016-12-11 22:07:01 +03:00
Alexey Skobkin 3d2a1593cf First functional test. 2016-12-11 08:26:30 +03:00
Alexey Skobkin 874ff42797 composer update. Query fix. 2016-12-11 06:23:03 +03:00
Alexey Skobkin 1a5ce08fcd Doctrine entities mapping fix. Excessive schemas removed. 2016-12-11 06:03:59 +03:00
Alexey Skobkin 207a8bab21 Typeahead library link. 2016-12-11 03:56:14 +03:00
Alexey Skobkin 23042cf2b1 Autocomplete search bug fix. 2016-12-11 03:54:14 +03:00
Alexey Skobkin 4c3191aa86 Autocomplete items count. 2016-12-11 03:54:01 +03:00
Alexey Skobkin 28f3c14fa5 User search field placeholder. 2016-12-11 03:34:20 +03:00
Alexey Skobkin cfe8339ab1 Top chart fix after HighCharts bundle update. 2016-12-11 03:28:29 +03:00
Alexey Skobkin 6d8e17b114 composer update. PointParser updated to match new version of markdown library. 2016-12-11 03:20:55 +03:00
Alexey Skobkin 74b39d7918 Pagination of last events. 2016-12-11 02:55:28 +03:00
Alexey Skobkin 65cc08d91f Pagination of subscribers events on user page. KnpPaginatorBundle added. 2016-12-11 02:43:25 +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 6abb1f647c UpdateSubscriptionsCommand "--all-users" option. 2016-07-29 22:03:43 +03:00
Alexey Skobkin 648e5d7ba5 Fixtures for post with large discussion. 2016-03-29 09:53:06 +03:00
Alexey Skobkin f4f33a8947 PostRepository#getPostWithComments() fixed. 2016-03-29 09:52:21 +03:00
Alexey Skobkin 6d10b6dac1 Post and Comment small fixes. 2016-03-29 07:43:23 +03:00
Alexey Skobkin c880304ef5 Test post comments templates implementation. 2016-03-29 07:13:01 +03:00
Alexey Skobkin 0ceaf43ff3 PostRepository getPostWithComments() method added. PostController#showAction() now uses it. 2016-03-29 07:11:12 +03:00
Alexey Skobkin cf08978c58 Point avatars twig extension. 2016-03-29 07:08:23 +03:00
Alexey Skobkin 9b052cc97e Renaming log on user page. newLogin property deleted from UserRenameEvent entity. New migration. 2016-03-29 03:58:33 +03:00
Alexey Skobkin 13e35d939d User rename logging implemented. 2016-03-29 03:12:52 +03:00
Alexey Skobkin a36259dc34 Some varchar fields altered to text. New migration. 2016-03-27 00:33:55 +03:00
Alexey Skobkin dd3733f75e PostFactory more informative log and bugfix for null arguments with array typehint. 2016-03-26 02:48:39 +03:00
Alexey Skobkin b5007fceec Crawler API now checks token. 2016-03-25 17:34:18 +03:00
Alexey Skobkin f9f1072bbd PointParser external post link added and commented. 2016-03-25 17:16:25 +03:00
Alexey Skobkin c4182e3621 Post page layout. New markdown parser used for post text rendering. Lightbox analog library integrated. 2016-03-25 17:06:14 +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 e95b05f854 Comments primary key changed to simple. PostTag entity added. Blogs migration. 2016-03-24 01:01:18 +03:00
Alexey Skobkin 626a823233 User updatedAt migration. 2016-03-24 00:31:44 +03:00
Alexey Skobkin 892f24fb16 UserFactory createFromDTO() public method added. Bug fixed. 2016-03-23 22:38:44 +03:00
Alexey Skobkin 8d29564d18 New exceptions for factories. 2016-03-23 22:37:19 +03:00
Alexey Skobkin 1aacdead06 Symfony Serializer annotations removed. Lifecycle 'preUpdate' callbacks added in User and Post entities. 2016-03-23 22:36:44 +03:00
Alexey Skobkin f043649ad0 Post DTO getPrivate() method added. 2016-03-23 22:34:12 +03:00
Alexey Skobkin 2ed693fbcd Recommendation DTO removed. 2016-03-23 22:33:43 +03:00
Alexey Skobkin 2aaa620606 Factories refactoring (moved to separate directory). 2016-03-23 20:06:49 +03:00
Alexey Skobkin 0f0700f87b Repositories refactoring. TopUserDTO moved. 2016-03-23 20:06:38 +03:00
Alexey Skobkin 8f44a04989 PostsPage deserialization via JMS Serializer. 2016-03-22 22:57:18 +03:00
Alexey Skobkin c1914f3b27 UpdatePostsCommand removed. 2016-03-22 21:22:56 +03:00
Alexey Skobkin 7dfb520161 AbstractApiController and CrawlerController draft added. 2016-03-22 20:45:05 +03:00
Alexey Skobkin 5ccefa630f API routing updated. 2016-03-22 20:44:22 +03:00
Alexey Skobkin 9779233e87 Merge branch 'feature_posts' of bitbucket.org:skobkin/point-tools into feature_posts
# Conflicts:
#	src/Skobkin/Bundle/PointToolsBundle/Entity/Blogs/Post.php
2016-03-17 19:54:17 +03:00
Alexey Skobkin 057481b808 DTO's for crawler. Test implementation. Not tested. 2016-03-16 23:55:41 +03:00
Alexey Skobkin c1e01c4738 Symfony Serializer enabled. Serializer groups added to Post, Tag and Comment. 2016-03-16 23:08:48 +03:00
Alexey Skobkin ae8cbde3e1 Post entity update. PostRepository and TagRepository created. 2016-03-16 22:03:08 +03:00
Alexey Skobkin 408dafe2c4 Fix service DI definition. 2015-11-04 17:21:55 +03:00
Alexey Skobkin 1034ce4692 Forgotten code and some other fixes. 2015-10-26 06:31:24 +03:00
Alexey Skobkin 6e32fec5c1 Dummy comment. 2015-10-26 06:05:40 +03:00
Alexey Skobkin 98252f6dff PostApi now using PostFactory. 2015-10-26 06:00:39 +03:00
Alexey Skobkin 3b25afd6aa More factories to the God of Factories! Entities update. 2015-10-26 06:00:01 +03:00
Alexey Skobkin 41960f21c7 Merge branch 'master' into feature_posts 2015-10-25 21:25:19 +03:00
Alexey Skobkin 2380cdbc1c API orderBy() fix. 2015-10-08 02:40:42 +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 1461837405 Last events link on the events counter on the main page. 2015-10-05 04:16:49 +03:00
Alexey Skobkin 4bd570e910 urlencode() for user logins in API requests. 2015-10-05 04:10:07 +03:00
Alexey Skobkin 295b089616 getUserByLogin() method in UserApi. 2015-10-05 04:08:01 +03:00
Alexey Skobkin f8bd95360e Common User repository via class property. 2015-10-05 04:02:06 +03:00
Alexey Skobkin c3191d82e6 New UserApi methods for getting single user from API. Some refactoring. New API exceptions. 2015-10-05 03:59:22 +03:00
Alexey Skobkin 23b51ea98c User constructor now recieving id, login and name for faster creation. 2015-10-05 03:56:16 +03:00
Alexey Skobkin dfc7fb70e4 User without login flushing fix. 2015-10-01 22:14:30 +03:00
Alexey Skobkin 0685e6d8f9 Migration fix. 2015-10-01 21:45:16 +03:00
Alexey Skobkin f7bbe3ebed Temporary #21 bugfix. 2015-10-01 21:15:49 +03:00
Alexey Skobkin f351fc22ff API exceptions. 2015-10-01 21:05:11 +03:00
Alexey Skobkin 4887516525 Merge branch 'master' of bitbucket.org:skobkin/point-tools 2015-08-08 12:26:36 +03:00
Alexey Skobkin b135ee0cec TODO in template. 2015-08-08 12:25:24 +03:00
Alexey Skobkin 4dfda21401 getUserSubscriptions methods in UserApi. 2015-08-08 12:22:35 +03:00
Alexey Skobkin 82c22679a3 Merge branch 'master' into feature_highcharts 2015-06-26 19:18:17 +03:00
Alexey Skobkin c5f63d86cb Last user subscribers events query optimized. 2015-06-26 19:16:14 +03:00
Alexey Skobkin 6f2cca5799 Топ в виде графика. 2015-06-26 18:05:26 +03:00
Alexey Skobkin 57cedf5417 Количество подписчиков на странице пользователя. Номера в топе. 2015-06-26 15:57:51 +03:00
Alexey Skobkin 27754e9134 Separate last events page. 2015-06-23 14:20:21 +03:00
Alexey Skobkin 5778404813 Query crutchy fix. 2015-06-23 14:19:57 +03:00
Alexey Skobkin aedc15a204 Last events on the main page. 2015-06-23 14:03:46 +03:00
Alexey Skobkin ac297dc0a2 Moar refactoring. 2015-06-23 13:41:29 +03:00
Alexey Skobkin 41c7e57524 Small fix. 2015-06-23 13:37:45 +03:00
Alexey Skobkin c87192a1f2 More refactoring. 2015-06-23 13:34:53 +03:00
Alexey Skobkin da7b8894f5 Repository fix. 2015-06-23 12:42:59 +03:00
Alexey Skobkin 0f93037624 500 ms timeout. 2015-06-23 12:39:30 +03:00
Alexey Skobkin 6384527720 Some refactoring. 2015-06-23 12:38:43 +03:00
Alexey Skobkin a3b1f60c6f Post requests test implementation. 2015-06-23 12:04:02 +03:00
Alexey Skobkin 659a930037 Post requests test implementation. 2015-06-02 14:56:39 +03:00
Alexey Skobkin ca28ebd67d Merge branch 'master' into feature_posts 2015-06-02 10:56:29 +03:00
Alexey Skobkin f83d719299 Locale fix. 2015-06-02 09:03:06 +03:00
Alexey Skobkin 933cd222db User page collapse accessibility fixes. 2015-06-02 08:59:42 +03:00
Alexey Skobkin 9b6b286d2d Collapse subscribers by default. 2015-06-02 08:56:38 +03:00
Alexey Skobkin 6e3fd7081d Index page and footer fixes. 2015-06-02 07:33:21 +03:00
Alexey Skobkin ab755377b0 Source code link. 2015-06-02 07:15:41 +03:00
Alexey Skobkin 3af468432c Bugtracker link 2015-06-02 06:45:51 +03:00
Alexey Skobkin 8314c91b25 Fix HTTPS problem. 2015-06-02 06:41:50 +03:00
Alexey Skobkin c49fda1165 Fix #19. Russian language. 2015-06-02 06:21:23 +03:00
Alexey Skobkin 9d1bbe2f29 Label changed. 2015-06-02 06:10:07 +03:00
Alexey Skobkin cc8a7d51eb Date format changed in the log output. 2015-06-02 06:02:53 +03:00
Alexey Skobkin 5bb8c64c98 Fix #10. 2015-06-02 05:39:09 +03:00
Alexey Skobkin 94129f3b5c More log info. 2015-06-02 05:32:45 +03:00
Alexey Skobkin b7e4374dac Fix #13. 2015-06-02 05:27:19 +03:00
Alexey Skobkin 3742f4b06c Fix #16. 2015-06-02 05:24:38 +03:00
Alexey Skobkin a9f53f3b25 Better logger usage. 2015-06-02 05:05:03 +03:00
Alexey Skobkin 24d2ae468a Fix #14. 2015-06-02 04:59:07 +03:00
Alexey Skobkin f353949e6d Fix #12. 2015-06-02 04:52:27 +03:00
Alexey Skobkin 42b213ac85 Basic implementation of blogs (posts, comments, tags). No migration yet. 2015-06-01 03:39:14 +03:00
Alexey Skobkin 76d75542fd Get user subscribers by id. 2015-06-01 00:19:03 +03:00
Alexey Skobkin 055b967996 Case insensitive user search and URL's. 2015-05-31 11:11:40 +03:00
Alexey Skobkin e93807469a 200 msec pause between requests. 2015-05-31 10:49:45 +03:00
Alexey Skobkin cacb676d96 Fix #9. 2015-05-31 10:43:24 +03:00
Alexey Skobkin d2711f2057 Redirecting to index if no login present. 2015-05-31 10:05:08 +03:00
Alexey Skobkin 58f8db6c97 Search from index page. 2015-05-31 10:02:00 +03:00
Alexey Skobkin ce0b6e856f Top users page. SQL queries optimization. 2015-05-31 09:16:36 +03:00
Alexey Skobkin f19efe8ca1 Micro fix. 2015-05-31 08:33:48 +03:00
Alexey Skobkin 0242463739 User page fix. 2015-05-31 06:08:34 +03:00
Alexey Skobkin 24793120ff User page prototype. 2015-05-31 05:48:12 +03:00
Alexey Skobkin af94e84256 Main page prototype. 2015-05-31 03:01:48 +03:00
Alexey Skobkin 0ff0db81a3 Basic layout. 2015-05-31 03:01:19 +03:00
Alexey Skobkin b76036573a More try-catch. Logs added. 2015-05-31 01:50:35 +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 20c44371c9 Some exception handling. More output in verbose mode. 2015-05-30 08:29:40 +03:00
Alexey Skobkin 5652a5ca68 Test implementation of subscriptions checking command. 2015-05-29 01:47:06 +03:00
Alexey Skobkin 032730d2b2 Import date fixed. 2015-05-29 00:15:56 +03:00
Alexey Skobkin 976c435ae1 Service definition fix. 2015-05-28 23:07:48 +03:00
Alexey Skobkin 07373e49c2 Users import command. 2015-05-28 22:21:58 +03:00
Alexey Skobkin b7c6539477 Moved to PostgreSQL. 2015-05-28 20:36:52 +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
Alexey Skobkin 414d862c6f Table name semantics. 2015-03-23 18:43:00 +03:00
Alexey Skobkin 56af6f0db3 SubscriptionEvent entity added. 2015-03-23 18:39:00 +03:00
Dmitri Vereshchagin a9c32e0f92 Initial commit. User and Subscription entities. 2015-03-22 20:22:49 +03:00