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
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.
7 years ago
sudden6
f188409b8c
fix(autocomplete): don't auto-complete own nick
...
In the process also remove the dependency of the auto completer on Core.
7 years ago
sudden6
a82eb6f36e
feat(core): prepare qTox for groupchat saving
...
This change creates groups on startup of Core. We need this once
https://github.com/TokTok/c-toxcore/pull/1156 is merged to load existing
groups.
7 years ago
sudden6
c3363a1fea
feat: add class to retrieve bootstrap nodes from nodes.tox.chat
...
This is not yet hooked up to be actually used.
7 years ago
sudden6
562ef28ab0
refactor(friend): remove Core dependency
7 years ago
sudden6
6cce0dae83
fix(toxoptions): handle nullptr in parameters
...
Use the c-toxcore default settings in case we don't have own settings.
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
5c1fe52010
fix(video): correctly align data passed to toxcore
...
fixes #5402
c-toxcore requires each plane to be aligned at 1 byte boundaries.
Because of this bug we alligned it at 32 byte boundaries if the height
and width were a multiple of 8.
7 years ago
sudden6
d93648c225
refactor: remove unneccessary Nexus includes
7 years ago
sudden6
acc7058e65
refactor: remove another function from Nexus
7 years ago
sudden6
de773efec7
refactor: remove another function from Nexus
7 years ago
sudden6
6097c3f94f
refactor: remove Nexus::quit() and replace with qApp->quit()
...
They are doing the same.
7 years ago
sudden6
a3344a127f
refactor: remove unneeded busy waiting code
7 years ago
sudden6
bc3d3b3b13
fix(main): register IPC handlers only after starting up
7 years ago
Patrick
37e5b6ce8b
fix:(chatform): Issue 5115, use QSharedPointer for groupChatForms
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
7fa2dfead5
refactor(coreav): move CoreAV to the factory pattern too
...
- clean up error handling during construction of the Core
- prevent leaks by using unique_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
2557f5e045
fix(ui): remove useless variable
7 years ago
Monsterovich
d54e21064c
fix(ui): oops
7 years ago
Monsterovich
89cb24254d
fix(ui): fix anything
7 years ago
Monsterovich
a4a8e361d0
fix(ui): groupcolors fix2
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
dec90ad84d
fix(ui): allow adding friends with Tox URI
...
Fix #5385
7 years ago
sudden6
cc4a6e421e
refactor(chatform): remove unused macro
7 years ago
sudden6
133ac8def8
feat(themes): make themes follow standard paths
7 years ago
sudden6
5033fc3f5d
refactor: remove unused includes and don't set Tox as organization
...
Having "Tox" as Organization results in all standard paths being "Tox/
qTox" instead of "qTox". Since there is no such thing as "Tox"
organization I removed it.
7 years ago
Jimi Huotari
71d1fa6f24
refactor(themes): load css and images from themes folder
...
Original work by tox-user.
The default theme is now placed in a different path:
- C:\users\%username%\AppData\roaming\qtox\themes - for Windows
- ~/Library/Application Support/qtox/themes - for MacOS
- ~/.config/qtox/themes - for other Unix systems including GNU/Linux
Thanks to that it's no longer required to recompile the program to modify
the theme.
In addition to that the default theme is also included as a resource. If
the theme folder or some file inside it is missing, qTox will load it
from resource.
7 years ago
sudden6
10a4b249bb
fix(core): remove pgc code
...
This code was needed for the pgc implementation, but is not needed for
minipgc
7 years ago
sudden6
2408e76d0c
refactor: remove unused includes and format code
7 years ago
Anthony Bilinski
13b15a87d7
fix(ui): require . in www.url regex matching
7 years ago
Anthony Bilinski
109a4ffd43
fix(core): set username and status on new profile
...
Fix #5369
7 years ago
Anthony Bilinski
aa7542f729
fix(ui): re-sort friends list on friend rename
...
Fix #5387
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
Anthony Bilinski
5f48fd4e10
fix(ui): only add chat message for call once
...
Fix #5370
7 years ago
sudden6
26206a35eb
fix(core): ensure QTimers are moved with the objects they belong to
...
We use the Qt parent/child model instead of unique_ptr to achieve this.
7 years ago
Jakie.OYMJ
e6d40be72e
fix: add remove history prompt, clear log area after remove
7 years ago
TriKriSta
8808c630f2
fix: show the date every new day ( fixes #5280 )
7 years ago
sudden6
9de40e5a97
fix(video): don't pass invalid pixel format strings to ffmpeg
7 years ago
sudden6
3746bd13bc
fix(video): workaround for webcams that provide no fps value
...
fixes #5082
7 years ago