Mick Sayson
71f8220925
refactor(chatlog): Add class to manage underlying chatlog state
2019-06-21 11:01:35 -07:00
Mick Sayson
c779d52aef
refactor(messages): Replace QRegExp with QRegularExpression
2019-06-21 11:01:10 -07:00
Mick Sayson
fef89d70f9
fix(messages): Fix broken sanitized name for notifications/alert messages
...
* Note that this fix will not take effect until the message processor is
hooked up to widget and chatform
2019-06-21 11:01:10 -07:00
Mick Sayson
f0d840002a
refactor(messages): Create class to manage sending/receiving group messages from core
2019-06-21 11:01:10 -07:00
Mick Sayson
3fd4ce5952
refactor(core): Remove length parameter from splitMessages
...
* From the archeology I managed, MAX_GROUP_MESSAGE_LEN was a workaround
for an old toxcore bug. Testing removal of this parameter and replacing it
with tox_max_message_length() seems to work fine.
2019-06-21 11:01:10 -07:00
Mick Sayson
22a4c38bfd
refactor(messages): Create class to manage sending/receiving friend messages from core
2019-06-21 11:01:10 -07:00
Diadlo
678fc51c1b
refactor: Use model in chatroom widgets
2019-06-19 12:34:08 +03:00
Diadlo
0b9b538601
refactor: Inject DialogsManager in chatrooms
2019-06-19 12:34:06 +03:00
Diadlo
ac36ed8180
refactor: Create interfaces for ContentDialog and ContenDialogManager
2019-06-19 12:34:03 +03:00
sudden6
c2bdcdf6c2
Merge pull request #5692
...
Mick Sayson (1):
refactor(strongtype): Add property types to strong types
2019-06-19 07:41:52 +02:00
Mick Sayson
15b9f9ff54
refactor(strongtype): Add property types to strong types
2019-06-18 13:38:02 -07:00
sudden6
63e903f950
Merge pull request #5695
...
jenli669 (2):
fix(group): set default group chat title when provided title is invalid
fix(group): Condense invalid title handling logic, clang-format
2019-06-18 21:32:14 +02:00
sudden6
0a95f9fc1d
Merge pull request #5698
...
jenli669 (2):
fix(group): always retain own name when updating group peer list
fix(group): fix logic oversight and code style
2019-06-17 23:37:40 +02:00
sudden6
b6ba2e330a
chore(nightlies): enable windows for nightlies too
2019-06-15 10:56:34 +02:00
jenli669
aeddf4822a
fix(group): Condense invalid title handling logic, clang-format
...
This commit ignores the possibility of invalid length error being thrown
by a title after we've already checked its size the first time. We also
assume that a group chat cannot cease existing while we iterate over the
retrieved groups.
2019-06-15 00:37:02 +02:00
jenli669
a1a3749700
fix(group): fix logic oversight and code style
2019-06-15 00:34:02 +02:00
jenli669
f77a062120
fix(group): set default group chat title when provided title is invalid
...
Add handling logic for when a group exists but has an invalid title.
Title is created using the first 8 hexadecimals of the group chat id.
2019-06-15 00:15:48 +02:00
jenli669
c772db3baa
fix(group): always retain own name when updating group peer list
...
Adds special case for updating our own PK in regeneratePeerList
Format according to format-code.sh
Fixes #5686
2019-06-14 23:46:41 +02:00
sudden6
6523ecc511
Merge pull request #5689
...
Maxim Biro (1):
feat(travis): publish nightly builds off Travis-CI
2019-06-14 22:40:33 +02:00
sudden6
655ea4faf3
Merge pull request #5696
...
jenli669 (1):
fix(audio): correctly loop incoming call sound
2019-06-14 22:07:05 +02:00
jenli669
85f90ab221
fix(audio): correctly loop incoming call sound
...
Reordered audioNotification play/loop calls.
Fixes #5680
2019-06-12 22:59:04 +02:00
Anthony Bilinski
8568a14c93
Merge pull request #5688
...
Mick Sayson (3):
feat(offlinemsg): Force offline messages to always be enabled
refactor(offlinemsg): Decouple OfflineMsgEngine from other components
feat(offlinemsg): Enable offline messages with no history
2019-06-09 01:37:26 -07:00
Maxim Biro
516c52ad20
feat(travis): publish nightly builds off Travis-CI
2019-05-30 00:38:15 -04:00
sudden6
c53a58e64e
fix(TravisCI): build windows for release tags too
2019-05-27 23:48:10 +02:00
sudden6
01a53789be
Merge pull request #5674
...
Monsterovich (8):
fix(ui): Improved notifications
fix(ui): Added option to hide message sender and contents
fix(ui): minor fix
fix(ui): don't forget to update UI
fix(ui): apply requested changes
fix(ui): revert CMakeLists.txt
fix(ui): minor fix
fix(ui): fix 2
2019-05-27 23:46:54 +02:00
Mick Sayson
2283d0c1b0
feat(offlinemsg): Enable offline messages with no history
2019-05-26 15:33:51 -07:00
Mick Sayson
e5016337bb
refactor(offlinemsg): Decouple OfflineMsgEngine from other components
2019-05-26 15:33:51 -07:00
Mick Sayson
d934cf372b
feat(offlinemsg): Force offline messages to always be enabled
2019-05-26 08:45:42 -07:00
Anthony Bilinski
74828c92e5
fix(settings): apply toxcore settings for encrypted profiles
...
Fix #5682
2019-05-24 14:37:45 -07:00
Monsterovich
1c02dc2d6b
fix(ui): fix 2
2019-05-23 19:49:42 +02:00
Monsterovich
161a773dbb
fix(ui): minor fix
2019-05-23 19:42:09 +02:00
Monsterovich
821ed52616
fix(ui): revert CMakeLists.txt
2019-05-23 19:18:24 +02:00
Monsterovich
f8b54b39f3
fix(ui): apply requested changes
2019-05-23 15:30:31 +02:00
Monsterovich
84e41303ce
fix(ui): don't forget to update UI
2019-05-23 01:42:20 +02:00
Monsterovich
4a6ebff63a
fix(ui): minor fix
2019-05-23 00:50:04 +02:00
Monsterovich
3b305dd05a
fix(ui): Added option to hide message sender and contents
2019-05-23 00:44:26 +02:00
Monsterovich
1bbe210c25
fix(ui): Improved notifications
2019-05-22 19:48:23 +02:00
sudden6
22362d2940
refactor(audio): Remove Audio singleton
...
This commit finally removes the Audio singleton and allocates the audio
backend in main.cpp.
2019-05-21 21:05:27 +02:00
Anthony Bilinski
17048c9cc4
feat(ui): add event icons for all statuses
...
Before we would alternate between status icon and online event icon.
Now each status has its own event version, so status doesn't appear to
alternate between online and the correct status.
2019-05-20 15:45:48 -07:00
Anthony Bilinski
0f6e992650
chore(icon): delete unused event_small icons
2019-05-20 15:45:48 -07:00
Anthony Bilinski
84836cf6a0
fix(icon): centre taskbars
...
e.g.
* viewBox is 16.1 wide, lock is 13.4 wide. change offset from 1.4 to 1.35
* dot is 6.8 wide, change offset from 4.65 to 4.6
* SVG partially generated by inkscape, partially manually edited
2019-05-20 15:45:48 -07:00
Anthony Bilinski
c8b156b3a1
feat(settings): save friend list sorting mode
2019-05-17 10:33:47 -07:00
Anthony Bilinski
08a646e456
refactor(friendlist): deduplicate time category widget logic
2019-05-17 09:09:51 -07:00
Anthony Bilinski
d55332ee0a
fix(activity): change last activity time from QDate to QDateTime
...
* Allows for strict sorting based on last activity in the future
2019-05-17 09:09:51 -07:00
Anthony Bilinski
ca397aebbf
fix(chatlog): update timestamp when db is slower than ack
...
* cannot invoke non-slot function
2019-05-17 03:42:01 -07:00
Anthony Bilinski
5f40ed8d8c
fix(friendlist): don't update friend's last activity on every start
...
Fix #5035
2019-05-16 22:49:49 -07:00
Anthony Bilinski
3f922100af
fix(friendlist): don't skip half of friends when sorting by activity
2019-05-16 17:20:50 -07:00
Anthony Bilinski
316893ace9
test(db): add db schema upgrade test
2019-05-15 13:26:21 -07:00
Anthony Bilinski
87a53fad96
fix(ui): don't duplicate group peer name in tooltip
2019-05-15 12:00:50 -07:00
Anthony Bilinski
b7bd7c6215
refactor(group): move peer tracking logic to Group from GroupChatForm
...
* increase signal granularity
* reduce state in GroupChatForm
* remove differentiation of "joined" and "online" peers, it doesn't exist in toxcore and can't be tracked reliably in qTox
* add system message when peer name changes, even if due to alias
* add system message when self name changes, for clarity
2019-05-15 12:00:44 -07:00