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

8082 Commits

Author SHA1 Message Date
Monsterovich
7a437c7449 fix(core): fixed syntax 2018-12-27 12:48:04 +02:00
Diadlo
68bf26305c
style: Fix EOF, remove trailing space and add braces 2018-12-27 09:15:24 +03:00
Diadlo
3f5105d5c1
refactor: Connect ContentDialog::setStatusMessage to friend directly 2018-12-27 09:15:24 +03:00
Diadlo
52f8ba48c4
refactor: Remove using Manager from ContentDialog 2018-12-27 09:15:24 +03:00
Diadlo
65a5b5121d
refactor: Remove ContactInfo and it's usage 2018-12-27 09:15:24 +03:00
Diadlo
c11b3730c9
refactor: Rewrite isWidgetActive 2018-12-27 09:15:24 +03:00
Diadlo
4353468647
refactor: Rewrite update status message 2018-12-27 09:15:24 +03:00
Diadlo
8937f87f87
refactor: Rewrite update status 2018-12-27 09:15:24 +03:00
Diadlo
bb08d628fb
refactor: Rewrite getDialog 2018-12-27 09:15:24 +03:00
Diadlo
9129f256fa
refactor: Rewrite widget exists check 2018-12-27 09:15:24 +03:00
Diadlo
b806f9e7e3
refactor: Rewrite focus{Friend,Group} 2018-12-27 09:15:24 +03:00
Diadlo
2b3918b25e
refactor: Remove using of remove{Friend,Group} 2018-12-27 09:15:24 +03:00
Diadlo
ee5a7d8e94
refactor: Move some methods back to ContentDialog
Store in ContentDialog list of widgets and list of ContentDialogs in
ContentDialogManger
2018-12-27 09:15:24 +03:00
Diadlo
7ad8607c43
refactor: Create ContentDialogManager
Move all static methods from ContentDialog to ContentDialogManger. Make
if singletone for the first time. Also move some methods to avoid
compile errors.
2018-12-27 09:15:24 +03:00
Diadlo
a446d9b197
refactor: Remove ContentDialog::openNewDialog
It duplicates logic on Widget::openNewDialog
2018-12-27 09:15:24 +03:00
sudden6
e1d912bbeb
Merge pull request #5472
Diadlo (1):
      fix: Store groupId in D&D mime data
2018-12-26 23:37:35 +01:00
sudden6
ed821462c9
Merge pull request #5467
TriKriSta (1):
      fix: check valid date in getDateWhereFindPhrase
2018-12-26 23:20:57 +01:00
Monsterovich
96ad27f644 fix(core): ignore mentioning users with empty nicknames 2018-12-26 19:51:32 +02:00
Monsterovich
2000bf55f2 fix(core): fix for users without nicknames 2018-12-26 19:15:43 +02:00
Monsterovich
01f79b0d08 fix(core): update group peerLists on local changes 2018-12-26 19:15:37 +02:00
Monsterovich
feee0e767f fix(core): support user aliases 2018-12-26 19:15:30 +02:00
Monsterovich
9b261fd870 fix(core): this fixes displaying nickname refreshes in groups 2018-12-26 19:15:00 +02:00
Monsterovich
c136a17ff0 fix(core): fix formatting 2018-12-26 19:15:23 +02:00
Monsterovich
8c239c8ef6 fix(core): simplify the code 2018-12-26 19:15:17 +02:00
Monsterovich
6872ead850 fix(core): fixed Timestamps 2018-12-26 19:15:10 +02:00
Monsterovich
cabed6def3 feat(core): print a chat log entry when a user joins/leaves the group chat 2018-12-26 19:15:00 +02:00
Diadlo
8499a71092
fix: Store groupId in D&D mime data
Fix drag and drop for groups
2018-12-26 14:29:38 +03:00
sudden6
7aed694e45
chore(appimage): upstream renamed the branch 2018-12-25 19:33:04 +01:00
TriKriSta
c3095ab150 fix: check valid date in getDateWhereFindPhrase 2018-12-22 00:36:38 +02:00
sudden6
ea9f429838
Merge pull request #5457
TriKriSta (4):
      refactor: edit default theme
      refactor: add colors to QTabBar
      refactor: rename a css file.
      style: add spaces in the resources file
2018-12-17 11:27:08 +01:00
Anthony Bilinski
f2e8567b21
Merge pull request #5366
Mick Sayson (2):
      fix(transfer): Accurately represent pause state in UI
      refactor(transfer): Remove unnecessary split for pause send/recv
2018-12-16 14:51:02 -08:00
Mick Sayson
3615425234 refactor(transfer): Remove unnecessary split for pause send/recv 2018-12-16 13:51:04 -08:00
Mick Sayson
293a1d615c fix(transfer): Accurately represent pause state in UI
Toxcore has a 3 state pause, us, them, or both. Currently our UI
messes up if both parties pause. This changeset changes our UI behavior
to show whether we're paused, or if we are waiting on the remote to
unpause.
2018-12-16 13:51:03 -08:00
TriKriSta
79c7d6e4b1 style: add spaces in the resources file 2018-12-16 15:00:31 +02:00
TriKriSta
147cec3312 refactor: rename a css file. 2018-12-15 13:33:51 +02:00
Anthony Bilinski
8db744a505
feat(core): set group title for loaded groups
Replace double static_cast of pointer with reinterpret_cast.
reinterpret_cast in unsafe because the underlying data may be
meaningless in the new type, static cast to void then to a new pointer
type has exactly the same problem. This is our intention here.
2018-12-14 09:19:50 -08:00
Anthony Bilinski
cbf2a1801f
Merge pull request #5354
Anthony Bilinski (2):
      feat(db): add file hash to file history
      refactor(files): change ToxFile's fileName to QString

Mick Sayson (5):
      refactor(files): Refactor FileTransferWidget
      feat(db): Support schema version upgrades
      feat(db): Database support for file history
      feat(db): Hookup file history to the rest of the system
      feat(db): File transfer history review comments
2018-12-14 08:34:53 -08:00
Anthony Bilinski
84362244da
refactor(files): change ToxFile's fileName to QString 2018-12-14 00:33:27 -08:00
Anthony Bilinski
c8ffa1f921
fix(settings): repair saved invalid proxy type due to #5311 2018-12-09 15:10:21 -08:00
TriKriSta
a63eb0ed2f refactor: add colors to QTabBar 2018-12-09 23:20:46 +02:00
TriKriSta
61720c1591 refactor: edit default theme 2018-12-09 18:38:14 +02:00
Anthony Bilinski
e80dbe2d83
fix(db): use SQLCipher 3.x crypto even with SQLCipher 4.x
Fix #5451
2018-12-08 11:30:49 -08:00
Mick Sayson
25005c5c19 feat(db): File transfer history review comments 2018-12-05 21:15:14 -08:00
sudden6
2ff649e80d
Merge pull request #5449
yangfl (1):
      chore(cmake): let CMake choose which platform dependent code to compile
2018-12-04 18:38:58 +01:00
yangfl
6d0885f396 chore(cmake): let CMake choose which platform dependent code to compile
Macros can be hard to manipulate and vary among different compilers and
platforms. For example, GNU Hurd has `__MACH__` defined but not
`__APPLE__`.

Let CMake choose them during configuration.
2018-12-03 16:06:33 +08:00
Anthony Bilinski
8427be6678 feat(db): add file hash to file history
Not currently used, but there are plans to display if a transfered file
has been modified, which the file hash will be needed for. Adding file
hash at the same time as file history also saves a db schema update.
2018-12-02 14:40:54 -08:00
Mick Sayson
d9b39b3102 feat(db): Hookup file history to the rest of the system 2018-12-02 14:40:53 -08:00
Mick Sayson
567ddfb203 feat(db): Database support for file history 2018-12-02 14:35:18 -08:00
Mick Sayson
fb805b9cdb feat(db): Support schema version upgrades 2018-12-02 14:35:04 -08:00
Mick Sayson
157be30b11 refactor(files): Refactor FileTransferWidget
Rational here is that the current FileTransferWidget is quite
entangled with core logic. If we are going to instantiate the
FileTransferWidget without an active file transfer the widget needs to
behave sanely without getting messages from toxcore. This changeset is
an attempt to allow us to move from any FileTransferWidget state to any
other state without having to go through the appropriate state
transitions.
2018-12-02 14:35:04 -08:00