Commit Graph

5 Commits

Author SHA1 Message Date
Martin Kleusberg
329c07e0b2 Fix a ton of warnings from clang, clazy, cppcheck, etc. 2021-01-22 14:38:35 +01:00
Martin Kleusberg
dfc7645079 dbhub: Allow pushing to other user accounts to which you have access
This adds a new row to the Push dialog in which you can set the user
name in case you want to push to a different account.
2020-08-30 21:37:51 +02:00
Martin Kleusberg
4b65b0160f dbhub: Check for local modifications
Before warning about possibly overwriting local modifications to the
clone of a database, check if any changes to the file were made.
2020-07-25 10:22:09 +02:00
Martin Kleusberg
56a4b4b1e3 dbhub: Make network code less centralised
This adds the possibility to handle network replies individually instead
of routing all of them through a central handler routine. The
centralised approach made the code more complicated than necessary and
would inevitably lead to confusion when sending similar requests
simultaneously.
2020-07-24 16:03:34 +02:00
Martin Kleusberg
ddf5117331 dbhub: Refactor networking code
This splits up the RemoteDatabase class into two classes, RemoteDatabase
and RemoteNetwork. The first is for managing the directory of cloned
databases while the second is for network handling only. Moving the
network code into a separate class requires some rewriting but should
make the code easier to maintain and extend.
2020-07-24 13:30:52 +02:00