Commit Graph

11 Commits

Author SHA1 Message Date
Martin Kleusberg
0449406450 Fix warning 2018-11-15 14:16:05 +01:00
Martin Kleusberg
f715dc95e6 Fix a possible compiler warning
See issue #1603.
2018-11-15 13:47:06 +01:00
Martin Kleusberg
3bd2dc3bc1 Replace 'foreach' by range-based for loop from C++11 2017-10-30 13:10:08 +01:00
Martin Kleusberg
a84300c806 dbhub: Improve file size format
As per suggestion by @chrisjlocke, this commit removes the trailing
'.00' bit for round numbers.
2017-09-01 13:37:06 +02:00
Martin Kleusberg
437163054c dbhub: Fix wrong file size being shown for very large files
See issue #1113.
2017-09-01 12:44:02 +02:00
Martin Kleusberg
bbbadba732 dbhub: Open the user's directory by default
When 'logging in' or refreshing the view, look for the user's directory
and open it by default.
2017-08-13 15:12:50 +02:00
Martin Kleusberg
e08ebffd63 dbhub: Improve UI for pushing databases
This improves the user experience for pushing database files. Before
this you had to type in the entire URL for pushing, e.g.:
https://db4s-beta.dbhub.io:5550/username/databasename
With this the host name as well as the user name is taken from the
currently active client certificate. So all you have to type in now is
the database name. And for this we make a sensible automatic suggestion
based on the name of the local file you're trying to push.

Note that while this makes pushing databases a lot easier, it still
doesn't implement proper version control or any extra code for handling
conflicts etc.
2017-08-03 19:02:42 +02:00
Martin Kleusberg
ff4f8d7dbf dbhub: Use different icon for user's directory 2017-07-31 23:11:42 +02:00
Martin Kleusberg
e17fb6f8ca dbhub: Use commit id instead of version number
This changes all the code to use the commit id of a database version
instead of a version number. This means changing the UI, the code for
the communication with dhhub.io, and the internal database for storing
information on downloaded databases.

The last step makes it necessary to delete that database file on your
system, so it will be recreated! Please do that :)
2017-07-28 14:22:10 +02:00
Martin Kleusberg
dec1c6acb1 dbhub: Code refactoring 2017-03-19 16:56:14 +01:00
Martin Kleusberg
3e4f3fc3d2 dbhub: Add remote dock with directory browsing support
This adds a new dock to the main window that contains all the remote
functionality (or is supposed to contain it all in the future).

It also adds a directory browsing feature which allows you to browse
through the folders and files on the dbhub server.

By double clicking a database you can download and open it. The Open
Remote menu action isn't needed anymore and has been removed.

This also fixes an issue with pushing databases where, after sending the
file is completed, the save dialog was opened.

Note that this is still WIP and is far from polished.
2017-03-18 20:40:59 +01:00