1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00
Commit Graph

7448 Commits

Author SHA1 Message Date
sudden6
203720275c
Merge pull request #5725
Maxim Biro (10):
      chore(windows): update OpenSSL to 1.0.2s
      chore(windows): update Qt to 5.9.8
      chore(windows): update FFmpeg to 4.1.3
      chore(windows): update Opus to 1.3.1
      chore(windows): update Sodium to 1.0.18
      chore(windows): update VPX to 1.8.0
      refactor(windows): set a lower timeout on wget
      chore(windows): update SQLCipher to 4.2.0
      refactor(windows): keep build script rerunnable
      chore(windows): update Toxcore to 0.2.10
2019-06-26 08:37:44 +02:00
Maxim Biro
c6929f9da4
chore(windows): update Toxcore to 0.2.10 2019-06-25 14:46:54 -04:00
Maxim Biro
e2fd8b7bef
refactor(windows): keep build script rerunnable
The build script should not fail if you re-run it from inside the Docker
container it has already ran in. This makes it easier to patch and test
build errors, since you can get into a Docker container, run the build
script, observe the failure, patch the build script and re-run it again.
2019-06-25 14:44:50 -04:00
Maxim Biro
51c5171ca3
chore(windows): update SQLCipher to 4.2.0 2019-06-25 14:44:48 -04:00
Maxim Biro
56d70fa809
refactor(windows): set a lower timeout on wget
wget was gettng stuck on downloading Qt off one of its mirrors, it would
establish a connection but read no bytes, just sitting there until the
default timeout of 900 seconds (15 minutes!) is reached.
2019-06-25 14:44:46 -04:00
Maxim Biro
6daa4e743a
chore(windows): update VPX to 1.8.0 2019-06-25 14:44:45 -04:00
Maxim Biro
f2c4f1e7cf
chore(windows): update Sodium to 1.0.18 2019-06-25 14:44:44 -04:00
Maxim Biro
563dfe8940
chore(windows): update Opus to 1.3.1 2019-06-25 14:44:42 -04:00
Maxim Biro
97b9e15694
chore(windows): update FFmpeg to 4.1.3 2019-06-25 14:44:41 -04:00
Maxim Biro
2108041d14
chore(windows): update Qt to 5.9.8 2019-06-25 14:44:39 -04:00
Maxim Biro
2ace95ab55
chore(windows): update OpenSSL to 1.0.2s 2019-06-25 14:44:24 -04:00
TriKriSta
b0f32379d0 fix: check time for get num messages for friend (fix #5714) 2019-06-25 20:44:21 +03:00
Diadlo
0a30a657fc
Merge pull request #5711
jenli669 (10):
      refactor(startup): decouple loginscreen from model
      refactor(startup): check parser args with empty(), not size()
      refactor(startup): display last used profile when logging out
      refactor(startup): remove unnecessary arg. passing in loadDatabase
      refactor(startup): extract startup makeToxPortable logic
      refactor(startup): condense and rename scanProfiles
      refactor(startup): handle autoLogin checkbox with signals
      refactor(startup): use instance during profile import
      refactor(startup): clang-format changes to edited files
      refactor(startup): return early in makeToxPortable logic
2019-06-25 13:44:01 +03:00
jenli669
f1b6df400f
refactor(startup): return early in makeToxPortable logic 2019-06-25 10:18:22 +02:00
jenli669
72b39adb75
refactor(startup): clang-format changes to edited files 2019-06-25 10:18:22 +02:00
jenli669
3ebea3cd4b
refactor(startup): use instance during profile import 2019-06-25 10:18:22 +02:00
jenli669
a7b4a09ccb
refactor(startup): handle autoLogin checkbox with signals 2019-06-25 10:18:20 +02:00
jenli669
8bc6fc9fd8
refactor(startup): condense and rename scanProfiles 2019-06-25 10:17:56 +02:00
jenli669
ac640bb4bd
refactor(startup): extract startup makeToxPortable logic
This facilitates later use without instantiating Settings object during startup
2019-06-25 10:17:53 +02:00
jenli669
68d24eec64
refactor(startup): remove unnecessary arg. passing in loadDatabase 2019-06-25 10:17:14 +02:00
jenli669
a7df4bfddb
refactor(startup): display last used profile when logging out 2019-06-25 10:17:14 +02:00
jenli669
b9876f3342
refactor(startup): check parser args with empty(), not size() 2019-06-25 10:17:14 +02:00
jenli669
ea2510157c
refactor(startup): decouple loginscreen from model 2019-06-25 10:17:07 +02:00
Anthony Bilinski
c524e52d86
Merge pull request #5720
TriKriSta (1):
      style: edit color for update available in dark theme (fix #5717)
2019-06-24 15:54:09 -07:00
TriKriSta
40e8a5cfbb style: edit color for update available in dark theme (fix #5717) 2019-06-24 12:10:11 +03:00
Anthony Bilinski
83ec497bf7
chore(build): update Windows Toxcore version to 0.2.9 2019-06-23 19:19:49 -07:00
sudden6
033f28e67e
Merge pull request #5703
Mick Sayson (8):
      refactor(messages): Create class to manage sending/receiving friend messages from core
      refactor(core): Remove length parameter from splitMessages
      refactor(messages): Create class to manage sending/receiving group messages from core
      fix(messages): Fix broken sanitized name for notifications/alert messages
      refactor(messages): Replace QRegExp with QRegularExpression
      refactor(chatlog): Add class to manage underlying chatlog state
      refactor(chatlog): Add a class to manage history through the IChatLog interface
      refactor(chatform): Remove message handling logic from gui path
2019-06-21 20:45:22 +02:00
Mick Sayson
ed514d7166 refactor(chatform): Remove message handling logic from gui path
Functional changes
* Offline messages are still sent when the chat log is cleared
* Spinner now does not wait for history to be complete, just a receipt
  from our friend
* Export chat and load chat history are now available in group chats
* Merged save chat log and export chat log
  * Note that we lost the info messages in the process

NonFunctional Changes
* FileTransferWidget slots only called for correct file
* Settings::getEnableGroupChatsColor now embedded in
GenericChatForm::colorizeNames
  * Settings::setEnableGroupChatscolor now emits signal connected to
GenericChatForm::setColorizedNames to keep state in sync
* Chatlog history not reloaded on setPassword()
  * I am pretty sure this had no purpose
* Removed a lot of responsibility from ChatForm
  * History moved to ChatHistory implementation of IChatLog
  * OfflineMsgEngine moved to FriendMessageDispatcher
  * Export chat and load chat history moved to GenericChatLog
    * Backed by IChatLog so can be used generically
  * Message processing moved to FriendMessageDispatcher
  * The action of sending files to coreFile is still handled by
  ChatForm, but displaying of the sent messages is done through IChatLog
  -> GenericChatForm
  * Search moved to ChatHistory/SessionChatLog
  * All insertion of chat log elements should be handled by
  GenericChatForm now
* Removed overlapping responsibilities from GroupChatForm
  * Search and message sending goes through ichatlog/messagedispatcher
  too
  * Lots of search functionality pushed down into IChatLog
* Some of the file logic was moved into Widget. This is mostly to avoid
  scope increase of this PR even further.
* History APIs removed that were no longer used
2019-06-21 11:01:35 -07:00
Mick Sayson
e607e6ecb4 refactor(chatlog): Add a class to manage history through the IChatLog interface 2019-06-21 11:01:35 -07:00
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