Commit Graph

54 Commits

Author SHA1 Message Date
Dmitri Bogomolov 828f4d207f
Subject appeared to be str 2019-05-22 11:58:45 +03:00
Dmitri Bogomolov e3344ade59
Escape HTML in MessageList_SubjectWidget (fixes #1234) 2019-04-26 11:05:02 +03:00
Dmitri Bogomolov 9a58af4de5
New method foldertree.AccountMixin.accountString():
composes the 'label <address>' string which is used in
MyForm.on_action_Send() instead of bare address.
2019-03-28 17:32:18 +02:00
coffeedogs a72da271d5
Changes based on style and lint checks. (final_code_quality_1) 2018-10-31 12:37:10 +00:00
Dmitri Bogomolov 6eb2155497
Another unicode -> str bug (#1194) 2018-04-03 15:11:46 +03:00
Dmitri Bogomolov 6cefaf87e9
Module foldertree: changed subclassing order to reuse common code 2018-03-22 14:55:30 +02:00
Dmitri Bogomolov 90eca36b5d
Module foldertree: simplified a bit and did flake8 2018-03-22 14:55:25 +02:00
Dmitri Bogomolov 72299483c4
Do not duplicate avatar in address column of Address book 2018-03-14 16:34:03 +02:00
Dmitri Bogomolov 6bcbad63b9
Marked folder names for translation 2018-02-12 21:10:10 +02:00
Peter Šurda 6062277d60
Rename configparser.py to bmconfigparser.py
- it was causing problems with py2app because the source of python's own
  CongigParser is also configparser.py
2017-02-22 09:34:54 +01:00
Peter Šurda a4b1a781ce
Minor UI fixes
- "new" folder consistently appears in chans and "All accounts"
- "Sent" message list sorting fix
- When editing a label, keys.dat is saved and the lineEdit completer
  is updated
- addressbook is updated when adding/deleting a new chan
2017-02-14 01:35:32 +01:00
Peter Šurda 8cb0953401
Moved writeKeysFile into configparser
- shared.writeKeysFile -> BMConfigParser().save
- makes it easier to get rid of circular imports
2017-01-15 10:50:02 +01:00
Peter Šurda 8bcfe80ad0
Refactoring of config parser and shared.py
- got rid of shared config parser and made it into a singleton
- refactored safeConfigGetBoolean as a method of the config singleton
- refactored safeConfigGet as a method of the config singleton
- moved softwareVersion from shared.py into version.py
- moved some global variables from shared.py into state.py
- moved some protocol-specific functions from shared.py into protocol.py
2017-01-11 14:27:19 +01:00
Peter Šurda 30d9de008f
Label change fix
- when changing an addressbook label using UTF-8, the correspnding
  messagelist label was garbled
2016-10-25 07:54:52 +02:00
mailchuck 58481afda2 Completer unicode fixes 2016-05-02 15:00:26 +02:00
mailchuck 98313d594f Sender autocompletion
Sender autocompletion now works, and is based on the l labels in the
addressbook (i.e. all addressbook entries, all subscriptions and chans).

Repurposed C code from
https://stackoverflow.com/questions/21773348/how-to-force-qcompleter-to-check-second-word-in-qlineedit
2016-05-02 15:00:26 +02:00
mailchuck b8667864f5 Addressbook exception fix
The avatar was throwing an exception.
2016-05-02 15:00:26 +02:00
Peter Šurda c30433cdaa "All accounts" internationalisation fix 2016-05-02 15:00:25 +02:00
mailchuck 8d8cfe8555 More unicode fixes
Addresses #180
2016-05-02 15:00:24 +02:00
mailchuck da036c6b6b UTF fixes
Label edits now accept and save utf8 characters.
Addresses #180
Still need to check how it behaves on invalid chars.
2016-05-02 15:00:24 +02:00
mailchuck 185d212cb2 Unread count refresh on change 2016-05-02 15:00:23 +02:00
mailchuck 8f1e753cf0 Typo 2016-05-02 15:00:23 +02:00
mailchuck 2dc230db90 Tree rerendering cleanup
Fixes #76
2016-05-02 15:00:23 +02:00
mailchuck 4e4da254fa Addressbook / Tree / Messagelist rendering
Some changes that didn't propagate correctly before now do.
Addresses #76
2016-05-02 15:00:23 +02:00
mailchuck f159133f14 TreeWidget and Addressbook editing propagation
If you change, add or remove an item in a treewidget or addressbook,
messagelists will now autoupdate labels, and sender comboboxes will also
update if applicable.
Fixes #69
2016-05-02 15:00:23 +02:00
mailchuck a4c48228fc Messagelist subscription color
Fixes Bitmessage#842
2016-05-02 15:00:23 +02:00
mailchuck 46494dc3e6 "All accounts" can't be renamed
Minor error
2016-05-02 15:00:23 +02:00
mailchuck 3b30afea29 Messagelist subject class
Messagelist subjects now are their own class. Fixes #153
Also fixes replies/clipboard for gatewayed messages.
2016-05-02 15:00:22 +02:00
mailchuck e650cff42d (Un)read messagelist items
Previous commits broke them, now it renders correctly again.
2016-05-02 15:00:22 +02:00
mailchuck 4b63c4c086 Address Qt.UserData fix
The previous commit broke places where UserData was read from the
mesagelist line, because it's now a string rather than a QVariant. This
actually simplifies things.
2016-05-02 15:00:22 +02:00
mailchuck 879a6f1d68 Messagelist loads faster
Addresses #149. About 5 times faster.
2016-05-02 15:00:22 +02:00
mailchuck a3b13b70e2 Add BROADCAST type
also improve sorting
2016-05-02 15:00:22 +02:00
mailchuck be02116af9 Global folder, global search, unread folder
Fixes #38
Fixes #39

Minor unread refresh issues.
2016-05-02 15:00:22 +02:00
mailchuck 1e89616c0f Avoid strings in account types 2016-05-02 15:00:21 +02:00
mailchuck f9a7a5b6f2 Account in treeWidget more like a QT class
It behaves more like a QT class is supposed to now, it's somewhat
cleaner.
Fixes #122
2016-05-02 15:00:21 +02:00
mailchuck 2f874e41be Fix adding/editing entries in addresbook
It didn't sort correctly and didn't update the label correctly when
changed.
Fixes #95
2016-05-02 15:00:21 +02:00
mailchuck 5b724f366e Prepare for tree widgets to store settings
Precursor for #12
2016-05-02 15:00:20 +02:00
mailchuck 8f5d177690 Enabling/disabling color propagation
Fixes #105
2016-05-02 15:00:20 +02:00
mailchuck 4aaf0048c6 Disabled folder color
Fixes #92
2016-05-02 15:00:20 +02:00
mailchuck 2783a1c1e5 Autofold/unfold when enabling/disabling
Fixes #93
2016-05-02 15:00:20 +02:00
mailchuck ad63e956cf accountBrush improvements
Moved code into the method
2016-05-02 15:00:19 +02:00
mailchuck 7478440bd6 Update unread count more efficiently
Fixes #63. There are still some situations which can be improved but it
appears good enough.
2016-05-02 15:00:19 +02:00
mailchuck 9abc937cb3 More unified colors in foldertree and messagelists
Some parts still not colored in a unified way.
Fixes #84
2016-05-02 15:00:19 +02:00
mailchuck 6383f48ef2 Show tooltips on addressbook
Fixes #68
2016-05-02 15:00:19 +02:00
mailchuck 63431556be Make subscription/chan labels editable
Fixes #67
2016-05-02 15:00:19 +02:00
mailchuck 77382a2424 Refactoring foldertree
Colors consistent
Sorting more consistent
Deduplication of methods
Context menu enable/disable affects tree
Fixes #73
2016-05-02 15:00:19 +02:00
mailchuck 2cc7506619 Addressbook contains chans, subscriptions and is sorted
Fixes #5
2016-05-02 15:00:19 +02:00
mailchuck 1d86f7a699 Put mailing lists behind normal accounts
Fixes #58
2016-05-02 15:00:19 +02:00
mailchuck 4db1a5ea48 Subscriptions
Initial subscription fix. Still does not always display the list from
the correct folder, and it currently does not update unread count on
subscriptions.
2016-05-02 15:00:18 +02:00
mailchuck 5525176216 Chan updates
- chans now work with the new interface, still some bugs present
- chans do not have a sent folder anymore (you'll see sent messages in
the sent folder of the account you're sending it from)
2016-05-02 15:00:18 +02:00