Anthony Bilinski
74828c92e5
fix(settings): apply toxcore settings for encrypted profiles
...
Fix #5682
6 years ago
Monsterovich
3b305dd05a
fix(ui): Added option to hide message sender and contents
6 years ago
sudden6
22362d2940
refactor(audio): Remove Audio singleton
...
This commit finally removes the Audio singleton and allocates the audio
backend in main.cpp.
6 years ago
Anthony Bilinski
c8b156b3a1
feat(settings): save friend list sorting mode
6 years ago
Anthony Bilinski
d55332ee0a
fix(activity): change last activity time from QDate to QDateTime
...
* Allows for strict sorting based on last activity in the future
6 years ago
Anthony Bilinski
ca397aebbf
fix(chatlog): update timestamp when db is slower than ack
...
* cannot invoke non-slot function
6 years ago
Anthony Bilinski
316893ace9
test(db): add db schema upgrade test
6 years ago
Anthony Bilinski
c12605db6d
fix(history): create file_transfers table in upgrade
...
* bug introduced in refactor 329172321d
6 years ago
Anthony Bilinski
329172321d
refactor(history): create db as part of schema upgrade
...
* update user_version as part of transaction, so that we rollback if update fails and don't increment version
* differentiate between two user_version 0 versions, to avoid the SQL error on new profile creation
* make table creation dependent on user_version, instead of creating tables if not exists every start
6 years ago
Anthony Bilinski
2ccb1ec150
fix(history): save name to history for friend invite message
...
This avoids an extra alias table entry for the empty name. It is not possible to safely heal existing databases, since friend invite message is a normal action message making it hard to change the alias ID used by it, and the alias in the alias table could be used by any other messages if the user's name has ever truely been blank. Just avoid the incorrect alias entry for new chats.
6 years ago
Anthony Bilinski
ec500b6673
refactor(status): add Blocked status, deduplicate status parsing
...
Blocked status will represent friends who are removed from Toxcore, but who still exist in UI and can be readded to Toxcore at a future time using their public key. Blocked friends are similar to offline friends, but have a different status icon and will be seperated in the friends list.
6 years ago
Anthony Bilinski
97d05f9d67
refactor(id): make ContactId interface, implement GroupId
...
Precursor for group history, friend blocking
6 years ago
sudden6
a4ad8c71b8
refactor(core): make CoreFile its own independent class
...
This paves the way for better testability of Core as well as CoreFile.
6 years ago
sudden6
66f72ee863
refactor(core): remove unused function
...
This function would always return true for any non destroyed Core
object.
6 years ago
Anthony Bilinski
bef9d4b773
fix(settings): load personal settings before constructing core
...
Fix proxy settings not being passed to toxcore, bug present since
8574162949
. Not present in any releases.
6 years ago
Anthony Bilinski
e7f523bc9a
refactor(messages): don't use receipt 0 as unsent, simplify class state
6 years ago
sudden6
cd50376c2f
fix(notification): implement review comments
6 years ago
sudden6
4cb00957f3
feat(notify): integrate desktop notifications into settings
6 years ago
sudden6
acef759a58
feat: remove old boostrap nodes code
...
This commit replaces the bootstrap node list in the qtox.ini file with
the boostrapnodeupdater class.
7 years ago
Anthony Bilinski
edf6b67313
refactor(core): strong type message receipt and row ID
...
Avoid implicit casting and invalid arithmetic.
7 years ago
sudden6
0f90abebdd
perf(smileys): create global regex object
...
This prevents recompiling the regex for every message
7 years ago
sudden6
58f8a14a48
perf(smileys): use one big regex instead of constructing many small ones
7 years ago
TriKriSta
c3095ab150
fix: check valid date in getDateWhereFindPhrase
7 years ago
Anthony Bilinski
84362244da
refactor(files): change ToxFile's fileName to QString
7 years ago
Anthony Bilinski
c8ffa1f921
fix(settings): repair saved invalid proxy type due to #5311
7 years ago
Anthony Bilinski
e80dbe2d83
fix(db): use SQLCipher 3.x crypto even with SQLCipher 4.x
...
Fix #5451
7 years ago
Mick Sayson
25005c5c19
feat(db): File transfer history review comments
7 years ago
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.
7 years ago
Mick Sayson
d9b39b3102
feat(db): Hookup file history to the rest of the system
7 years ago
Mick Sayson
567ddfb203
feat(db): Database support for file history
7 years ago
Mick Sayson
fb805b9cdb
feat(db): Support schema version upgrades
7 years ago
sudden6
c6a197feca
refactor: re-format and cleanup
7 years ago
sudden6
0ea409054a
fix(paths): fix bugs uncovered while developing test cases
...
There was one directory separator too much in the path. Also improved
the documentation.
7 years ago
sudden6
3ee8c665df
feat(paths): create class to combine all qTox managed paths
...
This will be the central location for all of qTox managed directories.
7 years ago
Anthony Bilinski
e1201f901f
chore(core): improve failed decryption error handling
7 years ago
sudden6
a3344a127f
refactor: remove unneeded busy waiting code
7 years ago
Mick Sayson
24f8bbf35a
fix(settings): Add mutex locks for consistency
...
* Risk is low here since we use a recusrive mutex
7 years ago
Mick Sayson
4af88a3775
refactor(settings): Consolidate friendProp insert logic
7 years ago
sudden6
d776e6c34f
fix: fix memory leak in CoreAV and missuse of std::uniqe_ptr
7 years ago
sudden6
2ab081b4a9
refactor: remove support for c-toxcore < 0.2.0
...
This code is only a maintainance burden and not used anymore.
7 years ago
Monsterovich
ab89ca2d8e
fix(ui): groupcolors fix1
7 years ago
Monsterovich
aaf5229ece
feat(ui): Added feature to generate colors for user names in tox groups
7 years ago
Anthony Bilinski
109a4ffd43
fix(core): set username and status on new profile
...
Fix #5369
7 years ago
Mick Sayson
c8716e9c45
feat(files): Add maximum size to autoaccept downloads
7 years ago
Mick Sayson
939f2c865a
refactor(files): clang-format generated whitespace changes
7 years ago
Jakie.OYMJ
e6d40be72e
fix: add remove history prompt, clear log area after remove
7 years ago
Anthony Bilinski
0c757356d3
fix(avatar): set friend to identicon on empty avatar receipt
...
*All friend avatar changes and removals go through Profile, so that Profile can manage identicons
*Split the concept of "changed" and "removed" into "changed", "set", and "removed"
Fixes #4724
7 years ago
Anthony Bilinski
91bdd40f10
fix(ui): remove focus window option, fixing alert() on Windows
...
Fix #4762
7 years ago
iphydf
52a5951d26
chore: Use `nullptr` instead of `0` for NULL pointer constants.
7 years ago
Anthony Bilinski
dac1582b72
fix(ui): by default, don't grab focus on new message
...
Fix #5284
7 years ago