Commit Graph

604 Commits

Author SHA1 Message Date
ccba22cfd2 Show dialog on suspended users again. closes #387 2021-07-03 14:09:52 -05:00
864ebdf96d Made widgetUtils available to searchBuffers 2021-07-02 17:57:39 -05:00
ee9a92bcb4 Makes time available on conversation buffers 2021-07-02 17:53:05 -05:00
062289a977
Merge pull request #385 from manuelcortez/streaming
Streaming API support
2021-07-02 17:29:10 -05:00
3c7063792c Separate all buffers in modules for an easier work with code 2021-07-02 17:22:24 -05:00
77eadb42bb Make sure to disconnect the streams as tweepy implements it 2021-07-02 10:35:20 -05:00
9053fcd5de Send Tweets to mentions properly 2021-07-02 10:11:50 -05:00
5f11467f27 Switched threads to our own facilities and attempts to improve thread management for streaming endpoints 2021-07-02 09:52:21 -05:00
ba90842185 Initial work to put tweets in mentions, sent and timelines 2021-06-29 17:55:36 -05:00
8fd3041efd Added some reconnection code and logging 2021-06-29 17:16:53 -05:00
168c7e7a5d Initial test for supporting a subset of the Streaming API 2021-06-28 17:03:26 -05:00
02d94fcea0 Fixed a small issue when loading a conversation buffer 2021-06-28 00:36:53 -05:00
64a14c831b Added initial support for playback of Twitter videos (only works in tweets so far) 2021-06-27 21:40:22 -05:00
3ebfdbc48b Request for a restart when switching memory cache 2021-06-27 19:09:21 -05:00
8db14a95c1 Call reduce.reduce_tweet and session.save_users when retrieving previous items for a buffer 2021-06-27 18:07:56 -05:00
5712dd735b Added a new setting in account dialog to control whehter we load the cache db into memory or read it from disk 2021-06-26 01:52:07 -05:00
71358ea74d changed function names and cleaned code a little bit to reflect better the changes to object percistance 2021-06-25 23:35:33 -05:00
c761230566 Reduce the size of all tweets so it might make easier to handle those in a realtime database 2021-06-25 16:25:51 -05:00
4ad01d7833 Retrieve user objects from the users list stored in SqlDict as opposed to loading it from tweet objects 2021-06-25 13:13:00 -05:00
60144a6b08 Added initial support to SqliteDict package 2021-06-24 09:52:10 -05:00
382acf7c8c Use slitedict to attempt to reduce memory usage when caching tweets 2021-06-23 13:40:21 -05:00
39e1fb017c Made code indentation to comply with PEP8 2021-06-16 16:18:41 -05:00
7d6e230fd9 Fix issue that avoids TWBlue to use Shift+F10 as menu key. Fixes #353 2021-05-07 16:52:10 -05:00
9346bba7a0 Fixed a small bug when sending long tweets via twyshort 2021-05-03 10:05:14 -05:00
eb0679cb96 Make unexistent users to throw an error when loading a timeline 2021-04-17 13:00:30 -05:00
0065af2aef Avoid removing buffers when api_error=130 2021-02-25 16:57:32 -06:00
9c086cfa0f Prevend some errors to be identified as current user being blocked 2021-02-11 12:50:09 -06:00
2f263a23b7 Avoid giving false positive errors when buffers are updating 2021-02-10 09:34:30 -06:00
63d7cbe7c4 Implemented user searches. 2021-01-27 16:27:33 -06:00
ae57cc3404 Retrieve up to 5000 users when getting list IDS 2021-01-27 15:03:47 -06:00
9444939c35 Replaced cursored calls for manual calls to function with return_cursors. This way we will avoid hitting TWitter Rate limits accidentally 2021-01-27 13:20:47 -06:00
6688dc1163 Removed unneeded parameters when retrieving direct messages 2021-01-27 13:19:16 -06:00
c95a2feb5e Faster implementation of dm loading due to a call to lookup_users instead to get_user 2021-01-27 10:36:44 -06:00
890359f8c7 Fixed Rate limit issue in cursored functions. Closes #354 2021-01-26 17:09:38 -06:00
91955e80d2 Fixed Picture OCR. Fixes #356 2021-01-26 16:23:48 -06:00
1a76913aac Removed debug info 2021-01-26 16:09:55 -06:00
304d91e8b7 Started replacing yandex.translate with googletrans 2021-01-22 17:55:15 -06:00
Jose Manuel Delicado
fbcba39e69 Small fixes. Support for socks4a proxies 2021-01-22 17:54:47 +01:00
Jose Manuel Delicado
b59d262dca Apply proxy settings before TWBlue main components start loading 2021-01-22 17:40:48 +01:00
Jose Manuel Delicado
4ab5af2ae9 Store the proxy type as an integer when saving the configuration 2021-01-22 17:06:32 +01:00
Jose Manuel Delicado
4c4eaf4012 controller/settings: assign the proxy type in the combo box based on the retrieved integer from config 2021-01-22 17:01:44 +01:00
747290e16a Require extended tweets for quoted tweets. Fixes #352 2021-01-22 09:15:47 -06:00
b80a342f92 Count tweet characters and URLS as specified by Twitter. Fixes #199. Fixes #315 2021-01-21 17:12:18 -06:00
4c9000839d Fixed some errors when starting people buffers 2021-01-21 08:27:50 -06:00
da7a208c1f Implemented people buffers and searches 2021-01-20 17:06:59 -06:00
8bdc933bce Migrated direct messages. Cursor support still require testing 2021-01-20 15:56:20 -06:00
999cbba464 Implemented function to get previous item for tweets and searches 2021-01-20 11:02:21 -06:00
7457521398 Restored media uploading (needs testing). Fixes #240 2021-01-20 10:35:11 -06:00
52154ac271 Migrated support to Trending Topics 2021-01-20 09:59:38 -06:00
cdc285e362 Implemented support to list buffer creation 2021-01-20 09:21:50 -06:00
4643301764 Implemented list creation, edition and removal 2021-01-19 17:47:54 -06:00
f546543e9b Implemented tweet searches and conversation fupport 2021-01-14 09:18:57 -06:00
85fe94ec0c Implemented user actions (needs testing) 2021-01-13 10:38:26 -06:00
33b6000b41 Implemented user profile viewer 2021-01-13 10:32:03 -06:00
a261365682 Fixed some stuff in main controller. Likes work again 2021-01-13 10:31:37 -06:00
fc0da0bdbb Migrated the main controller to use tweepy 2021-01-13 08:41:32 -06:00
76c678d4ba Fixed replies, retweets and iand tweet deletion 2021-01-05 11:10:55 -06:00
fa49637d0e Replaced twython old exception handling by tweepy 2021-01-05 09:34:52 -06:00
93705bf534 Fixed user timeline creation 2021-01-04 15:52:25 -06:00
29a905199d Basic implementation of tweetDisplayerDialog. Needs testing with lists of tweets and image description entities 2021-01-04 12:55:29 -06:00
8569d9b0a0 Readded code to load timelines with tweepy 2021-01-04 12:30:38 -06:00
78cc6e6784 Changed library calls on some basic buffer creation and manipulation 2021-01-04 11:16:56 -06:00
7ceb806af2 Added more changes in order to deal with tweet objects 2020-12-22 17:29:33 -06:00
276cd4b4dd Fixed a typo in last commit 2020-06-09 11:45:00 -05:00
c509433b2c Added an helper function for expanding t.co URLS for tweets 2020-06-09 11:34:02 -05:00
492f1d8aa5 Expand URL'S in profile bios 2020-06-04 10:25:00 -05:00
ac20ced5fa Expand URL in user profiles. Closes #275 2020-06-03 12:32:01 -05:00
bdd7d617c3 Update title on user changes when sending a DM. Fixes #276 2020-06-03 11:19:23 -05:00
246a10535c Updated to the latest version of arrow (0.15.4) 2019-12-16 09:56:59 -06:00
6af39c6a2f Use shift instead of replace in arrow object for dm's. Closes #306 2019-10-03 10:33:04 -05:00
80212fc61f Changed some calls to functions inside the paths module. Fixes #308 2019-08-15 09:51:31 -05:00
fe60ac8f67 Fixed issue in Global settings dialog, fixes #307 2019-08-15 09:46:47 -05:00
e5a40288af Use shift() instead of replace() in arrow when displaying tweet's date. #306 2019-08-15 08:42:15 -05:00
ef689d04fc Initial Python 3 compatible code 2019-06-06 11:52:23 -05:00
f976beb751 OCR should be performed in quoted tweets too 2019-04-08 05:41:49 -05:00
paul
ae4deb412f fixed other import issues derived from the removal of youtube_utils #273 2019-02-26 23:53:56 +01:00
cf095ba13b Fixed keystroke for 'view in twitter' feature 2019-02-20 17:21:08 -06:00
d7132ecaf6 Added 'open in Twitter' for tweets and users 2019-02-19 17:41:34 -06:00
e24543be12 Use platform_utils as an external dependency 2019-01-15 17:54:29 -06:00
Bill Dengler
96a592a4f9 Fixed #278. 2018-12-31 21:14:09 +00:00
221d1d413b Changed codebase's syntax before attempt the python3 migration later. #273 2018-11-22 13:35:51 -06:00
c5e9e97c84 Keep custom buffer ordering across restarts and changes in settings 2018-11-18 06:33:33 -06:00
85e575386e Long and quoted tweets are displayed properly in sent tweets. Fixes #253 2018-11-15 04:43:16 -06:00
7e42a096a5 Finished implementing autoreading features. Closes #221 2018-11-13 16:33:17 -06:00
9d2cf05a41 Added more docstrings to buffers code 2018-11-13 15:34:45 -06:00
d7c095173d Improved autoreading functions for #221. Closes #271 2018-11-01 15:04:26 -06:00
36ba6eca92 Started refactoring of autoreading for buffers 2018-10-19 17:35:56 -05:00
c85c478595 Added date and time wen displaying tweets and dm's 2018-09-30 14:39:59 -05:00
40105f37ed Added support for deleting dm's with the new Twitter API methods 2018-09-29 11:13:11 -05:00
ca3f8779b8 Separated twitter buffers from generic buffers code 2018-09-22 21:55:19 -05:00
c716f4aa96 When quoting a retweet, quote will be in original tweet 2018-09-22 10:18:25 -05:00
bd56eb953b provide better control over cursored buffers when getting more items 2018-09-18 09:09:25 -05:00
940ace664c Fixed error when adding tweet to likes from the menu bar 2018-09-02 08:59:22 -05:00
013a80a1f2 Show quoted tweets properly after being sent 2018-08-26 08:07:00 -05:00
12e06eb52d Added option for visiting soundpacks section in website, from the help menu #247 2018-08-26 02:48:04 -05:00
ad484a1f35 Display extended tweets properly after being sent. #253 2018-08-22 17:11:15 -05:00
7296d2a939 Extended tweets should be displayed properly in lists 2018-08-22 13:06:08 -05:00
Andre Polykanine
ed3b9c9538 Localize geocoding to the current language 2018-08-20 01:15:31 +03:00
5c794aaeff Added contents of client.py into twitter session 2018-08-18 23:09:08 -05:00
6928ac4b99 Sent dm's: Buffer name matches string in translation files. 2018-08-18 06:07:07 -05:00
8cf7ca5ef2 Store created sessions in the sessions module 2018-08-17 12:16:51 -05:00
0cfa89b389 Moved Twitter's session from sessionmanager to sessions.twitter 2018-08-17 05:12:49 -05:00
0966739296 Modified refs to hold Twitter modules to use the new sessions package 2018-08-16 17:26:19 -05:00
2668e47a6f tweets, replies and retweets will be added to sent tweets after being sent 2018-08-16 11:17:15 -05:00
bfad5b82f0 Deleted code related to Streaming Features 2018-08-16 10:42:14 -05:00
f2cea695ee Play sound when a tweet has been sent and streaming is not available 2018-08-15 13:38:31 -05:00
dc536c45de Fixed a few typos 2018-08-15 12:29:01 -05:00
4381992718 Made sound playback during startup as it was before 2018-08-15 11:19:31 -05:00
1cebb29bdc Removed an output message from empty buffers 2018-08-15 05:08:25 -05:00
27c1ec990a Play sounds when updating buffers 2018-08-15 05:04:30 -05:00
d40b816c48 Started adding docstrings to buffer functions 2018-08-15 04:30:53 -05:00
ac5daec462 Set mandatory=True when updating buffers automatically to bypass 180 secs restriction 2018-08-15 04:30:27 -05:00
0835a34c71 Fixed a typo 2018-08-14 08:56:11 -05:00
04ac629b51 Added sent dm buffer working. Closes #233. Needs testing 2018-08-13 11:26:55 -05:00
2f0b20558e Create sent direct messages buffer during startup 2018-08-12 16:24:18 -05:00
9ca6e15a20 Added a new buffer for sen't dm. This will not be connected to any endpoint. #233 2018-08-12 16:23:45 -05:00
9c2dba7cf8 Added sent dm's to TWBlue settings #233 2018-08-12 16:23:07 -05:00
6893d923a3 Don't put a sent dm in the buffer right after the event has been sent 2018-08-06 11:37:46 -05:00
d94b133e63 Update interval in buffers is configurable from global settings. Closes #223 2018-08-06 11:31:52 -05:00
28b6d554e2 Switched to new method for sending Direct messages #215 2018-07-25 11:22:57 -05:00
232d876c8f Allow Quoting and retweet from sent tweets. Closes #226. Fixes #238 2018-07-25 08:43:46 -05:00
6b43ff1c0e Hide events buffer in accountSettingsDialog if streaming is disabled. Closes #227 2018-07-20 09:22:52 -05:00
5b5d762759 Fixed user actions from dm's buffer. Closes #237 2018-07-20 09:10:52 -05:00
b4020d0f95 Implemented get_more_items to dm's. Closes #235 2018-07-19 12:27:01 -05:00
d8da78e22d Fixed issue in database when storing dm's #215 2018-07-18 10:52:12 -05:00
c82bb4125b Removed sent direct messages from config. Closes #233 2018-07-18 10:34:08 -05:00
7b5e6477d3 Avoid putting sent dm's in the buffer as they are different to the new ones #215 2018-07-18 09:36:51 -05:00
e9cbe0d825 Created new dm's buffer for cursored results. Very unstable #215 2018-07-18 09:30:03 -05:00
dc563523bc Removed creation of sent direct messages buffer #215 2018-07-18 09:29:33 -05:00
cea638b680 Fixed a small isue 2018-07-13 17:29:54 -05:00
49ce469c12 Don't display dialog when opening protected user's timeline. Closes #225 2018-06-15 13:32:12 -05:00
ab2667529f Added option to disable streaming from global settings. Closes #219 2018-06-15 08:45:10 -05:00
a2cb4ba889 Fixed an issue related to high CPU Usage when Streaming is enabled. Closes #220 2018-06-06 11:14:42 -05:00
77489cab1e Sent dm's are added properly to the buffer if no streaming Enabled. Fixes #222 2018-05-29 17:35:04 -05:00
f2ea4136c0 Skip creation of events buffer and made changes for #213. Closes #217 2018-05-25 12:11:17 -05:00
537d011b40 Remove support for multiple API calls in buffers. Closes #214 2018-05-25 11:35:24 -05:00
e3cbd8be87 Stop relying in home_timeline for everything. Fixes #171. Needs testing 2018-05-24 10:32:56 -05:00
7099875bc7 Added settings to turn off automatic speech or Braille feedback. #203 2018-05-18 13:38:58 -05:00
861de1f354 Moved about dialog and fixed a few bugs in tweet dialogs 2018-03-14 14:18:11 -06:00
010c0011aa Posted event codes and task bar icons 2018-03-14 13:34:56 -06:00
612f4ffadf Filter by retweet, quotes and replies in filter creation #102 2018-02-27 16:43:16 -06:00
652d3c7ff8 Removed old function call. Closes #204 2018-02-27 13:57:28 -06:00
0e41fabbe6 Added youtube support. Closes #94 2018-02-20 11:47:33 -06:00
5ff5a4a6d2 youtube: Started code for playback from youtube. Not functionnal, yet 2018-02-16 17:58:57 -06:00
d4dadfcdc7 Added option for remembering state of mention all and long tweet 2018-02-06 17:37:49 -06:00
fac228dec1 Fixed a few issues 2018-02-06 16:47:47 -06:00
635b467394 Fixed item ordering issue in reversed buffers for people objects 2018-02-06 15:18:42 -06:00
80cb5567d5 Show error messages in failed audio uploads. Hopefully Fixes api uploads in sndup 2018-01-31 17:12:43 -06:00
0bbbb3f1b6 Merged like/unlike action for windows 10 users in invisible interface 2018-01-10 09:25:27 -06:00
8836cb2bda Added title for filters #102 2017-11-23 17:42:26 -06:00