Commit Graph

2725 Commits

Author SHA1 Message Date
Dmitri Bogomolov 35a11c271a
Moved NewAddressDialog into dialogs module 2018-01-30 17:26:59 +02:00
Dmitri Bogomolov 8109fa7ece
Moved EmailGatewayDialog (with both usage) into dialogs module 2018-01-30 17:26:59 +02:00
Dmitri Bogomolov fe76d230eb
Moved RegenerateAddressesDialog into dialogs module 2018-01-30 17:26:58 +02:00
Dmitri Bogomolov b899086d91
Followed the recommendation #527 about tab indexes 2018-01-30 17:26:58 +02:00
Dmitri Bogomolov 20288d4ab4
Try to replace copyright year from last commit date 2018-01-30 17:26:58 +02:00
Dmitri Bogomolov b9cd571d9b
Hide redundant QGroupBox title 2018-01-30 17:26:58 +02:00
Dmitri Bogomolov f3808212b5
Added link to github into labelVersion in AboutDialog 2018-01-30 17:26:57 +02:00
Dmitri Bogomolov 62a930c374
Moved SpecialAddressBehaviorDialog into dialogs module 2018-01-30 17:26:57 +02:00
Dmitri Bogomolov c965a1d2aa
Moved helpDialog and connectDialog also into dialogs module 2018-01-30 17:26:51 +02:00
Dmitri Bogomolov e2e7e16ab7
Moved aboutDialog and iconGlossaryDialog also into dialogs module 2018-01-30 17:26:42 +02:00
Dmitri Bogomolov d9d9f9d787
Returned AddAddressDialog and NewSubscriptionDialog into dialogs module
where it's been initialized by loading the ui-files.
2018-01-30 16:59:51 +02:00
Dmitri Bogomolov 81c80aa98f
Use AddAddressDialog for "Add sender to your Addres Book" context menu 2018-01-30 16:59:51 +02:00
Dmitri Bogomolov 9e79386595
Set state to "close" and call `handle_close()` for all connections 2018-01-30 14:04:03 +02:00
Dmitri Bogomolov 25ef9fec51
Added menu entry "File -> Go offline/Go online" switching dontconnect
config variable and "Work offline" option to connectDialog.
2018-01-30 14:04:03 +02:00
Peter Šurda cc63c1270b
Fix message content display after deleting/undeleting 2018-01-28 16:13:07 +01:00
Peter Šurda aabce6bab2
Fix selection after delete/undelete 2018-01-28 12:48:25 +01:00
Peter Šurda 08ac8a077b
Merge branch '1062' into v0.6 2018-01-28 10:41:09 +01:00
Peter Šurda ff92cc30c8
Fix previous commit (UI deleting optimisation) 2018-01-28 09:16:37 +01:00
Peter Šurda 0f61ed9f19
Optimise UI deleting and undeleting multiple messages
- use sqlExecuteChunked and disable UI updates while removing entries
2018-01-28 08:12:46 +01:00
Peter Šurda bc7227f513
Merge branch '1090' into v0.6 2018-01-27 16:38:13 +01:00
Dmitri Bogomolov 6fca1631af
Made use of helper_sql.sqlExecuteChunked() also in on_action_InboxMarkUnread 2018-01-25 23:22:15 +02:00
Dmitri Bogomolov 80fdb08f03
Made use of helper_sql.sqlExecuteChunked() in the on_action_MarkAllRead 2018-01-25 23:04:38 +02:00
Dmitri Bogomolov 0097ea6476
The condition which is always False causes critical error #1081 2018-01-25 14:29:25 +02:00
Peter Šurda d3a83eced6
Merge branch '1065' into v0.6 2018-01-25 13:16:55 +01:00
Dmitri Bogomolov 61ddc1208e
No more shared.daemon variable 2018-01-25 12:58:29 +02:00
Peter Šurda 8709051005
Fix non-ascii logging
Tested with UTF-8, KOI8-R and ISO-8859-2 encodings.
2018-01-25 08:11:42 +01:00
Peter Šurda 66b3c6d881
Merge branch '1060' into v0.6 2018-01-25 03:09:47 +01:00
Peter Šurda d6df4470e1
No connection CPU hog fix
- the previous fix was incomplete, it shouldn't consume excessive
resources now when there are no connections
2018-01-23 15:59:58 +01:00
Peter Šurda 01c8f3b66d
Fix asyncore CPU usage on no connection
- if there are no connections, asyncore would hog CPU
- thanks to an anonymous contributor
2018-01-22 22:37:29 +01:00
Peter Šurda ba91d21261
CPU hogging fix
- handle _command functions that don't return anything
- fix udp command function
2018-01-22 22:18:01 +01:00
Dmitri Bogomolov 460107abaa
Handled AttributeError when tr imported from plugin 2018-01-17 13:58:37 +02:00
Dmitri Bogomolov 0c4d4de82f
Changed the daemon check approach in other places, where it makes sense 2018-01-17 13:58:37 +02:00
Dmitri Bogomolov 1b921a718c
Check daemon status in singleinstance instead of config 2018-01-17 13:58:37 +02:00
Peter Šurda c9851b9f41
Connection lookups invalid data handling
- shouldn't throw an exception if argument is a string rather than Peer
2018-01-02 22:23:03 +01:00
Peter Šurda f74f82e54f
Start downloading earlier 2018-01-02 22:20:33 +01:00
Peter Šurda 4086253730
Bandwidth limit optimisation
- should be slightly more accurate and use slightly fewer resources
2018-01-02 15:24:47 +01:00
Peter Šurda 8788f2d349
Server full and duplicate handling
- will try to report "Server full" over protocol for 10 extra
connections over limit, instead of simply dropping them
- if connected to the same host inbound and outbound, handle as server
full (prevents duplicate connections)
2018-01-02 14:29:21 +01:00
Peter Šurda 9b58f35b80
App name in version 2018-01-02 13:56:03 +01:00
Peter Šurda bb5f1d6f98
Setup.py typo
- surprisingly, it only was broken on some systems, e.g. Debian 8
2018-01-02 10:29:21 +01:00
Peter Šurda 6b54a4ab0e
Daemonize fix
- forgot to revert a line in previous commit
2018-01-01 13:10:19 +01:00
Peter Šurda d9a4263083
Daemonising fixes
- change forking exit order as systemd expects (wait until child is
ready, then exit parent, then grandparent)
- fix signal handler if prctl not installed
- revert recent PID file changes
2018-01-01 13:08:12 +01:00
Peter Šurda baba0ae206
Remove obsolete code 2018-01-01 13:04:58 +01:00
Peter Šurda 36cc5b9cf5
Download optimisations
- don't make empty download requests
- use smaller chunks when they can be spread across multiple
connections
2018-01-01 12:51:35 +01:00
Peter Šurda 1864762a0a
Apply bandwidth limits without restart
- also minor style fixes
2018-01-01 12:49:08 +01:00
Peter Šurda bcc5a210a4
Fix PID file if not daemonized 2017-12-29 09:13:41 +01:00
Peter Šurda e9b1aa48a9
Protocol error handler fixes
- was broken if there was no error message in "raise"
- added default texts for network exceptions
2017-12-29 08:49:08 +01:00
Peter Šurda 02490e3286
Don't break if over 50k messages
- typo if there were over 50k messages in inventory caused PyBM to stall
2017-12-29 08:41:15 +01:00
sigoa 394d564bdc
minor mod of ver.
not a biggie
2017-12-26 15:01:12 +01:00
sigoa a0e5ee4cce
utf chan name support, various fixes
no unused variables etc. any longer
2017-12-26 14:17:37 +01:00
Peter Šurda 3cb9547389
Only write PID after last fork
- should fix systemd integration
2017-12-21 14:26:51 +01:00