Commit Graph

1466 Commits

Author SHA1 Message Date
0bd366c539
Added first draft to a new templating system which could be used in invisible interface for now 2021-12-10 13:32:46 -06:00
b67fc0ff38
Made some cleanup in unneeded imports 2021-12-10 09:53:49 -06:00
86a2eb7c0d Restored conversation and threads support powered by Twitter API V2 2021-12-09 10:46:07 -06:00
78c10b38e5 Fixed issue when sending tweets and replies with images 2021-12-08 12:49:20 -06:00
Nikola Jovic
cfd4fd12d3 Updated Windows 11 keymap 2021-11-17 19:35:02 +01:00
José Manuel Delicado Alcolea
806111c36e
Included more dependencies in the setup script 2021-11-15 13:04:18 +01:00
7bfbadc254 Update write_version_data 2021-11-12 15:01:54 -06:00
3ccb3a5be5 Updated Spanish locale 2021-11-12 13:33:54 -06:00
riku
485e5ecbd1 Merge branch 'next-gen' into japanese_translation 2021-11-12 08:26:14 +09:00
riku
f7a50d22e2 Update Japanese translation 2021-11-12 08:23:24 +09:00
43b1a834d1 Merge branch 'next-gen' of github.com:manuelcortez/twblue into next-gen 2021-11-11 15:14:38 -06:00
d6571a95cb Quote tweets properly according to Twitter's API V2 docs 2021-11-11 15:13:58 -06:00
4ba2753b79
Merge pull request #435 from nidza07/SerbianTranslation
Updated Serbian translation
2021-11-11 12:39:48 -06:00
6951541193
Merge pull request #434 from Oreonan/fr_111121
Update french interface
2021-11-11 12:39:27 -06:00
b329ac8e3e Improved a little bit text dialogs's size for sending tweets, replies and dm's 2021-11-11 12:33:38 -06:00
538d6137d0 Limit Poll options to 25 characters each 2021-11-11 08:37:07 -06:00
622b0e6128 Access correctly on_reply_to_tweet_id from the dict response returned by call to V2 API 2021-11-11 08:36:29 -06:00
Nikola Jovic
0e91ca3d4d Updated Serbian translation 2021-11-11 01:30:30 +01:00
Oreonan
8abcb3623d Update french interface 2021-11-11 01:09:19 +01:00
b3bf0ab8e6 Removed calls to SetMaxLength in dialogs 2021-11-10 17:35:24 -06:00
b0cfc5978c Updated reply dialog with some changes in add menu 2021-11-10 16:32:14 -06:00
77d13fdc28 Added support for posting polls 2021-11-10 15:14:57 -06:00
514e66411d Merge branch 'new_tweet_dialogs' of github.com:manuelcortez/twblue into new_tweet_dialogs 2021-11-10 12:36:02 -06:00
d9f4b86d91 Empty attachments after adding a new tweet 2021-11-10 12:35:43 -06:00
a43101e694 Reimplemented direct messages with support for media 2021-11-10 12:21:07 -06:00
Mohamed
9e7542f513 Removed url_shortener import 2021-11-10 13:01:24 -05:00
Mohamed
6346651edf Added a shortcut for the add new tweet button 2021-11-10 12:53:34 -05:00
1e2464c4fa Made Dm dialog to hide attachments panel when needed 2021-11-10 11:36:06 -06:00
dbecf341ec Stop using text_processor in tweet displayer 2021-11-10 11:24:50 -06:00
605868eff9 Added functions to make TWBlue respect Twitter limits when adding media items 2021-11-10 09:47:53 -06:00
8fed52118f Finished implementation of new tweet and reply calls in buffers 2021-11-09 13:46:36 -06:00
15d0f4c65e Restored some imports on dialogs 2021-11-09 13:34:49 -06:00
a2393fe3e9 Updated dialogs package 2021-11-08 17:20:16 -06:00
80adf381c9 Implemented new GUI in people and direct message buffers 2021-11-08 17:19:12 -06:00
269db95fe3 Implemented code to quote Tweets by using the new GUI 2021-11-08 16:44:03 -06:00
cfc25eb89a Implemented tweet, reply and direct message in base buffer 2021-11-08 16:14:45 -06:00
2b6efef831 Update code on autocompletion users module to use WX methods from controls in the new Tweet GUI'S 2021-11-08 16:13:59 -06:00
f0456af656 Fixed an issue when uploading Videos to Twitter 2021-11-08 16:12:47 -06:00
6d505c6fe7 Added new code for Tweet GUI and attachment of photos and gifts 2021-11-08 16:11:09 -06:00
38e3274adc Removed GUI for tweets/reply/dm/viewTweets items and attachment code 2021-11-08 16:09:32 -06:00
2c70fe46b7 Removed url_shortener from sound handling module 2021-11-08 15:30:40 -06:00
1c8ee1a64f Removed URL Shorteners 2021-11-08 15:29:23 -06:00
076761b9dd
Merge branch 'next-gen' of gitlab.com:twblue/twblue into next-gen 2021-11-07 06:36:03 -06:00
556ffd832b
Updated translation machine catalog for french translation 2021-11-07 06:34:27 -06:00
cedb290956
fixed an issue when deleting a buffer in a session where there were trending topics opened 2021-11-05 22:35:50 -06:00
66bf95ee62 Added reply function to session module 2021-11-05 13:10:45 -06:00
4f0db5537e Added function to send tweets and threads in session module so it will be used globally later 2021-11-05 11:49:51 -06:00
riku
0cf0a64f40 Update Japanese translation 2021-11-05 07:15:33 +09:00
714d849884 Merge branch 'next-gen' of github.com:manuelcortez/twblue into next-gen 2021-11-04 11:17:25 -06:00
a80184bf20 Restored conversation support with API V1 as V2 hits the limits quickly. Closes #427 2021-11-04 11:17:07 -06:00
José Manuel Delicado
46fb00e609
Merge pull request #426 from Oreonan/fr_031121
Update french interface
2021-11-04 17:09:50 +01:00
Oreonan
4ddb406c8d Reduce texts 2021-11-04 17:00:59 +01:00
6b9540a0a8 Added a base mastodon buffer GUI 2021-11-03 13:16:39 -06:00
5687cf6a62 Move Twitter buffers to a specific package 2021-11-03 13:00:35 -06:00
1fd2b5914b Merge branch 'next-gen' into mastodon 2021-11-03 12:31:51 -06:00
924f5d8e9f Updated main controller file 2021-11-03 12:30:46 -06:00
Oreonan
2c4ec7b1c0 Update french interface 2021-11-03 18:58:59 +01:00
2d46315de9 Removed old pyinstaller file 2021-11-03 09:31:23 -06:00
6904c153d4 Display error if user has not provided a name for a filter upon creation 2021-11-03 09:10:35 -06:00
8a8f1998ac Added usable appkeys for sources 2021-11-01 09:58:57 -06:00
cd415ba673
Merge pull request #422 from riku22/japanese_translation
Update Japanese translation
2021-11-01 05:48:03 -06:00
f9e58b5724
Updated Spanish Translation for app's interface 2021-11-01 05:46:44 -06:00
riku
94ca935b2f Updated Japanese translation 2021-11-01 20:37:39 +09:00
84fa2fad91
Fixed title for Trending topic buffers after a restart. Closes #421 2021-11-01 05:18:46 -06:00
ff0a2b5692
Retrieve all tweets from a thread properly. closes #417 2021-11-01 00:11:46 -06:00
b04a1c74a7
Fixed a bug when clearing direct messages buffer. Closes #418 2021-10-31 19:29:11 -06:00
ffb11b8226
Updated changelog 2021-10-31 19:27:59 -06:00
5a6dc23524
Write secrets from CI environment 2021-10-30 01:34:37 -05:00
5eb942981c Added some changes to setup file for the CI config 2021-10-29 10:58:30 -05:00
6739045cce Fixed manual addition of users to the autocomplete users database 2021-10-28 13:18:02 -05:00
d11fc44772 Read keys from environment 2021-10-28 12:44:50 -05:00
a3e5eec6de Merge branch 'next-gen' into improved_conversations 2021-10-28 12:39:55 -05:00
41a0935121 Merge branch 'next-gen' of github.com:manuelcortez/twblue into next-gen 2021-10-28 12:39:09 -05:00
0b03e7505f Conversation support improved via V2 searches 2021-10-28 12:28:19 -05:00
Oreonan
483b196203 Fix small error 2021-10-28 18:30:05 +02:00
Oreonan
b512c69447 Remove old translations 2021-10-28 18:28:34 +02:00
2c1608322e
Merge pull request #410 from Oreonan/fr_281021
Update french interface
2021-10-28 10:14:49 -05:00
Nikola Jovic
66581f8b1c Clarify a string better 2021-10-28 17:03:52 +02:00
Nikola Jovic
c6a3a44c21 Updated Serbian translation 2021-10-28 16:58:11 +02:00
Oreonan
39a02ea33a Update french interface 2021-10-28 12:33:52 +02:00
e23a52e38f Changes in TWBlue keys 2021-10-27 15:29:15 -05:00
a5ba80feee Final touches 2021-10-26 16:18:53 -05:00
f31575a733
Merge pull request #408 from manuelcortez/calendar_versioning
Switch to Calendar versioning
2021-10-26 13:52:21 -05:00
9f48784ce4 Added script to add next version in application.py and installer generation files 2021-10-26 13:39:50 -05:00
a82efd4dcc Fixed a typo 2021-10-26 13:16:31 -05:00
72e6d030d5 Updater no longer will try to compare float numbers for updates 2021-10-26 13:10:57 -05:00
daac312658 Removes snapshot information from app info 2021-10-26 12:43:03 -05:00
c5d13369eb Merge branch 'next-gen' of github.com:manuelcortez/twblue into next-gen 2021-10-26 10:47:55 -05:00
856ecf5eb9 Merge branch 'next-gen' of github.com:manuelcortez/twblue into alias_manager 2021-10-26 10:46:30 -05:00
e3e0ac9457 Added an alias manager dialog in the application menu 2021-10-26 10:45:11 -05:00
34c1f69ec1
Merge pull request #404 from nidza07/SerbianTranslation
Updated Serbian translation
2021-10-22 12:57:58 -05:00
Oreonan
a8d876a7b7 Fix last-translator e-mail 2021-10-21 17:02:03 +02:00
Oreonan
89fa6435b4 Update french interface 2021-10-21 16:58:32 +02:00
Nikola Jovic
d1bd393be2 Updated Serbian translation 2021-10-21 16:30:46 +02:00
301bd5fd39 Pushed a new snapshot 2021-10-20 15:52:58 -05:00
286e030f40 Handle new Tweepy exceptions properly. #403 2021-10-07 09:20:06 -05:00
d8fca3b31a
Initial work to Support Tweepy 4 2021-09-26 03:58:25 -05:00
0c27427843 Merge branch 'next-gen' of github.com:manuelcortez/twblue into next-gen 2021-09-10 15:05:28 -05:00
dfdbe3c5f4 Close VLC window after video playback ends. Close #399 2021-09-10 15:05:05 -05:00
José Manuel Delicado
2222a97451
Merge pull request #394 from Oreonan/fr_020821
Update french interface translation
2021-09-03 11:38:50 +02:00
fbe93ea4be Made FreakyBlue The default soundpack for new twitter sessions 2021-09-02 09:59:13 -05:00
4bcae1aa97 Fixed search filters. Closes #397 2021-09-02 09:38:05 -05:00
4cabf5b9cd Added code to handle user timelines in buffer creator 2021-08-31 10:31:18 -05:00
a9a4189295 Added improvements to tweet condense feature 2021-08-31 10:05:21 -05:00
c7b6d69518 Fixed an error in new buffer creation. Closes #396 2021-08-30 13:19:15 -05:00
65512a9862 Added a pubsub event to create sessions buffers 2021-08-30 10:51:26 -05:00
Oreonan
17ea8af050 Update translation 2021-08-28 08:37:26 +02:00
Oreonan
43578a32eb Merge remote-tracking branch 'origin/next-gen' into fr_020821 2021-08-28 08:33:40 +02:00
5bce84b786 Added default config template for Mastodon 2021-08-27 15:43:20 -05:00
9eab9ad5f0 Added Mastodon authorisation and authentication methods in a session. Added get_user_info, get_lists, get_muted_users 2021-08-27 15:42:34 -05:00
7c34204d17 Allow to specify alternative configuration specs for sessions 2021-08-27 13:45:59 -05:00
3a5c1c10d3 Released a new snapshot 2021-08-26 15:13:34 -05:00
f9864a887d Fixed a small traceback that was happening when translating a direct message 2021-08-26 09:16:02 -05:00
3d8519313e Switched Geocoding library to OpenStreetMap's Nominatim API. Closes #390 2021-08-26 08:56:51 -05:00
f4ecf10885 Allow to copy tweet URLS from tweet displayer dialog 2021-08-25 16:30:37 -05:00
c67b415934 Updated changelog 2021-08-25 12:49:53 -05:00
10511d3022 Improvements to reading tweets with many mentions on them 2021-08-25 11:13:12 -05:00
Oreonan
ddc80a29fd Update french interface translation 2021-08-02 19:30:24 +02:00
97286496fc
fixed changelog in diverged commits 2021-07-31 22:28:46 -05:00
Jesus
576b5064c0 Added a fix. 2021-07-28 07:23:57 +02:00
Jesus
54938ecb6c Fixed shortkuts 2021-07-26 12:47:51 +02:00
Jesus
9c680130f7 Keypad para windows 11 2021-07-24 06:24:08 +02:00
24d1ad093d Streaming API: Ignore retweets if original tweet is present in a buffer 2021-07-16 10:22:51 -05:00
b2b9cd810f Fixed an issue when indefined keystrokes 2021-07-13 17:53:01 -05:00
582be54dea Added add_alias action to keymaps as undefined 2021-07-13 17:25:48 -05:00
ff0fbeafa3 Modified keystrokeEditor to allow undefined keystrokes 2021-07-13 17:22:20 -05:00
e314cf0599 Allow search users by names in autocomplete users 2021-07-10 05:24:56 -05:00
José Manuel Delicado Alcolea
e7b72112cf
Merge branch 'next-gen' of github.com:manuelcortez/TWBlue into next-gen 2021-07-07 08:42:14 +02:00
José Manuel Delicado Alcolea
70c095febe
setup.py: patch cx_freeze to include our Microsoft Visual C++ runtime files 2021-07-07 08:41:08 +02:00
6119b029f8
Merge pull request #388 from zstanecic/next-gen
Updated russian interface
2021-07-06 17:13:59 -05:00
b74cd9a73d Ignore undefined actions in keymaps 2021-07-06 17:01:42 -05:00
3688d7548c Check alias before returning any user object 2021-07-06 13:59:34 -05:00
07f9afb14e Added option to user menu in the menu bar 2021-07-06 13:58:34 -05:00
de12dadac2 Added GUI for user alias addition 2021-07-06 13:58:13 -05:00
877c909482 Added user-aliases section on session configs 2021-07-06 13:56:56 -05:00
zstanecic
d5ac0db67b updated the russian localization. 2021-07-05 16:04:19 +02:00
bb4869b7be Pushed a new snapshot 2021-07-04 17:05:06 -05:00
44b6e82183 Fix reply dialog issue 2021-07-04 11:50:03 -05:00
Jose Manuel Delicado
37ad6b5fbf paths.py: replace socializer by TW Blue in data_path function definition 2021-07-04 18:32:17 +02:00
b9a9bd03c2 Pushed a new snapshot 2021-07-04 09:47:33 -05:00
e6543bcf77 Allow streaming API support to be disabled from global settings dialog 2021-07-04 09:44:48 -05:00
03b61946f8 Fixed user searches 2021-07-04 09:43:53 -05:00
8fe2f4c64d Exclude muted users from Streaming API 2021-07-04 09:15:04 -05:00
e9e8a8fba9 Pushed a new snapshot 2021-07-04 05:43:06 -05:00
5cad4ab2a7 Restore get_all_users and get_all_mentionned in nested tweets 2021-07-04 05:31:27 -05:00
01dd93e076 Show all current account replies in streaming API 2021-07-04 05:30:52 -05:00
d301f841e3 TWBlue should stop showing sent retweets as original tweets in Streaming API 2021-07-04 05:02:02 -05:00
ccba22cfd2 Show dialog on suspended users again. closes #387 2021-07-03 14:09:52 -05:00
465b550c30 Removed old code to deal with invalid users 2021-07-03 14:05:02 -05:00
788811bf6c Ensure a tweet is reduced when sent by streaming API 2021-07-03 14:04:14 -05:00
c926355048 Hide replies to users the current account doesn't follow in streaming API 2021-07-03 11:52:21 -05:00
84cbf5c497 Fix yet another error due to reduced tweets 2021-07-03 11:51:43 -05:00
7eb2d8930f Fixed traceback happened when attempting to send streaming data to not logged sessions 2021-07-03 11:51:11 -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
818bc243e4 Handle Twyshort's detection for reduced tweets 2021-07-02 17:34:40 -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
55b1c7bdae Integrates Tweepy's 68e19cc for preventing Urllib3 ProtocolError 2021-07-02 09:50:22 -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
bb5ead80de Parse correctly incoming tweets from Streaming API 2021-06-29 05:05:20 -05:00
168c7e7a5d Initial test for supporting a subset of the Streaming API 2021-06-28 17:03:26 -05:00
fe8b58a7b9 Include quoted tweets and retweets in audio detection and playback 2021-06-28 10:20:39 -05:00
97afc379e8 Pushed a new snapshot 2021-06-28 00:47:23 -05:00
7f401ba789 Removed unneeded locales 2021-06-28 00:39:45 -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
969a75e9f3
Merge pull request #380 from manuelcortez/better_memory_management
Replace the cache database for a SQLite backed implementation
2021-06-27 19:10:50 -05:00
a59ba5ef78 Reset cache every time we call to save_persistent_data in tests 2021-06-27 19:09:49 -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
1b9062d86f aHandles deleted users for direct messages without wasting too many API calls 2021-06-27 18:05:35 -05:00
4b60a79e49 Made get_all_mentioned to take into account sometimes tweets might have no entities defined 2021-06-27 18:04:26 -05:00
002e1ccb55 If get_user is called with a full user object as an argument, logs it and changes the object to be only the user_id 2021-06-27 16:03:36 -05:00
0612c653b8 Make TWBlue to respect persist_size when loading the cache database. Added tests for both reading from disk and loading in memory caches 2021-06-27 02:32:28 -05:00
35d6010298 Save tweets cache by taking into account persist_size 2021-06-26 15:16:50 -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
2c75ea5005 Fixed a small issue referencing an user in the old way while retrieving all mentioned users in a tweet 2021-06-26 01:50:47 -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
b8f822830f Added proper docstrings to reduce twitter objects 2021-06-25 22:47:10 -05:00
74e4fe6357 Ensure direct message buffers are correctly saved in database 2021-06-25 16:49:23 -05:00
77bee64421 Pass a null value to tweepy.models.Status as sometimes database saved objects might not include it 2021-06-25 16:48:44 -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
49505fabcd Modify utils so those will take into account that entities might be not present in tweet objects 2021-06-25 13:14:01 -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
ab1a13f886 Improve save_users() and get_user() as those will be used in more places later 2021-06-25 13:11:33 -05:00
nikola nikola
44c25e54f8 Updated Serbian translation. 2021-06-25 18:33:16 +02:00
cdabd6f055 Merge branch 'next-gen' into better_memory_management 2021-06-24 09:54:45 -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
Iván Novegil
50125fc55a Fix arrow for Galician. Modify some existing translations to localize them properly 2021-06-23 18:45:33 +02:00
39e1fb017c Made code indentation to comply with PEP8 2021-06-16 16:18:41 -05:00
2aaa4eced3 Removed Catala and Basque locale as they are in arrow already. Disabled Galician locale cause it's not fully implemented and fails 2021-06-16 16:17:16 -05:00
Oreonan
40040d1b17
Merge branch 'next-gen' into fr-04062020 2021-05-14 21:24:46 +02:00
2a791d43bf Fixed an error when parsing a DM sent from an deleted account 2021-05-14 09:52:19 -05:00
b10aeb046d Changed label of direct message's text field so it will not reference any username in the hint. Closes #366 2021-05-07 17:18:21 -05:00