Commit Graph

27 Commits

Author SHA1 Message Date
Martin Kleusberg
f56288023b dbhub: Avoid ambiguous F5 shortcut
Remove the F5 shortcut for refreshing the DBHub.io remote databases
because it is ambiguous and can make the main view not work as expected.
Since the refresh action is not super important in the DBHub.io dock any
way it is probably best to just remove the shortcut there.

See issue #2695.
2021-05-22 10:10:01 +02:00
Carles Pina i Estany
ceecb5a117 Add QScrollArea in RemoteDock.ui
Previously RemoteDock was not resizeable too small due to all the
widgets (which have minimum size)

Now with QScrollArea a vertical scroll bar appears if needed allowing
MainWindow too be smaller
2021-01-11 20:32:57 +01:00
Martin Kleusberg
8db6e16f3d dbhub: Add "Upload Database" action to context menu of local file list
This adds a new action for uploading the selected database to the list
of local databases in the Remote dock.

See issue #2349.
2020-08-12 13:29:36 +02:00
Martin Kleusberg
ab5b633709 dbhub: Add context menu action for saving a revision to another file
This adds a new context menu action to the commit list in the Current
Database tab of the Remote dock which downloads the database from that
commit and saves it to another file. This file can then be opened and
inspected just like any other database file and does not update the
local clones data.
2020-07-23 14:08:15 +02:00
Martin Kleusberg
2e9580365b dbhub: Add toolbar action for fetching the latest commit
This adds a new toolbar action to the Current Database tab of the Remote
dock which downloads and updates to the latest commit of the currently
opened database and branch.
2020-07-23 13:22:50 +02:00
Martin Kleusberg
4c4e55f890 dbhub: Add context menu actions to all tree views
This adds context menus and some context menu actions to all the tree
views in the Remote dock. No new features are added. This just adds a
new way to trigger existing features but also establishes a place for
future actions for new features.
2020-07-23 11:03:50 +02:00
Martin Kleusberg
065adabe75 dbhub: Allow checking out different commits and different branches
After opening a clone of a remote database, allow checking out the
different branches and commits of this database in the Current Database
section. This way you access all branches and see their history in DB4S.
2020-07-22 14:21:35 +02:00
Martin Kleusberg
9a8bcafaf1 dbhub: Add refresh button to both tool bars
This allows updating the data in case it has changed on the DBHub.io
servers.
2020-07-21 22:28:13 +02:00
Martin Kleusberg
fa1930135d dbhub: Some UI improvements
Move the Clone database button to a newly created tool bar in the
DBHub.io tab of the Remote dock.

Transform labels in the Current Database tab into line edit widgets.

Adjust spacings a bit.
2020-07-21 22:22:16 +02:00
Martin Kleusberg
12ba01ffdb dbhub: Add link to webUI page of currently opened database
Add a toolbar to the Current Database tab of the Remote dock with one
button for now. This button opens the web page of the currently opened
database in the browser.

Also reduce the margins in the Remote dock a bit.
2020-07-18 13:28:29 +02:00
Martin Kleusberg
f81e4c2f6f dbhub: Better explanations for the Clone button
Thanks to @justinclift for pointing this out.
2020-07-18 10:03:21 +02:00
Martin Kleusberg
e2783b68ad dbhub: Add button for cloning databases from a link
This adds a new button to clone databases using a direct link which is
useful when you know which database you want to clone and do not want to
browse through the list of all databases in the Remote dock. Generating
this link still needs to be added to the DBHub.io web UI.
2020-07-17 21:41:48 +02:00
Martin Kleusberg
dd323faf2a dbhub: Add context menu action to delete local databases
Add a context menu action to the list of locally cloned databases which
allows you to delete the cloned databases.
2020-07-15 15:35:11 +02:00
Martin Kleusberg
5d89bb8991 dbhub: Show list of commits in Remote dock
When opening a clone of a remote database show a list of all branches,
releases, and tags in the Remote dock and show the commit list when
selecting one of them.
2020-07-13 23:02:17 +02:00
Martin Kleusberg
8428c934a3 dbhub: Show some information on the currently opened database file
If the current database file is a clone of a remote database show some
information on it in the Remote dock. Even though this information is
already nice to have the new tab in the Remote dock is mainly added as a
place for future features. Also switch to the new tab automatically when
opening a remote database to show the user that this is a tracked
database.
2020-07-10 22:16:14 +02:00
Martin Kleusberg
c776af9880 dbhub: Add view of all checked out databases
The Remote dock shows a list of all databases on dbhub.io. Double
clicking a database downloads and opens it. If the database has already
been downloaded before, the local file is simply opened. This only works
for a small number of databases: To open the database you want, you just
search for it and double click it. But for a larger number of databases
on dbhub.io this does not perform very well since finding a database can
be very difficult. Because of this this commit adds a new view which
shows all checked out databases, i.e. those databases which are already
downloaded. Double clicking one of these opens it without trying to
update it first.

In the future this might also provide a place to add extra options like
deleting local copies.
2020-07-10 18:19:43 +02:00
Martin Kleusberg
a157713c97 Reduce margin in docks
Reduce the margins in the layouts of the dock widgets in the main window
a bit. This reduces the amount of wasted screen space.

See issue #2299.
2020-06-24 23:07:42 +02:00
Martin Kleusberg
7c6ef2ae51 dbhub: Add text to upload button
Add some text ("Upload") to the push database button in the Remote dock
to make its function more obvious.
2020-06-13 11:58:30 +02:00
Martin Kleusberg
5cdda28608 dbhub: Log in by only selecting an identity, no need to press a button
This removes the login button from the dbhub dock. Instead of selecting
an identity and then clicking the login button, you are now logged in by
just selecting an identity.
2020-06-13 11:37:30 +02:00
horst-p-w-neubauer
253fcaed1e Consistent naming of DB Browser for SQLite (#2224) 2020-05-01 08:30:32 +10:00
Martin Kleusberg
b70e25c786 dbhub: Add a built-in certificate for read-only access to dbhub.io
This adds a built-in, default certificate which enables read-only access
to dbhub.io. This should make it easier to try out the remote features.
When trying to open the Push Database dialog, a message with more
details and all required links is displayed.
2019-05-03 13:27:07 +02:00
Martin Kleusberg
a150656d87 dbhub: Make the initial account creation process a bit more obvious
This shows a short text in the Remote dock when no certificates are
configured yet. This text contains links to the dbhub.io page and gives
at least some information on the overall process. As soon as the first
certificate is imported, the old view is shown instead.
2018-12-05 19:33:20 +01:00
mgrojo
52ae85dd28 Added some "What's This" information
Added some texts to the "What's This" information of some buttons or other
widgets that lacked them. This will help the user to discover the provided
features.

Specifically, help is added for the filter fields and the remote dock.
See discussions in issues #1311 and #1312.
2018-02-02 21:27:58 +01:00
Martin Kleusberg
0160fb7462 dbhub: Add tooltip to cog tool button
See issue #1111.
2017-09-01 09:47:13 +02:00
Martin Kleusberg
d14fb1fbb1 dbhub: Remove remote menu, add push button to remote dock
This commit removes the File -> Remote menu entirely. The only menu item
that was left was the Save to Remote item which is replaces by a button
in the remote dock.

The button is only enabled when a database file is opened and the user
has logged in using a certificate.

Clicking the button opens the same dialog and performs the same actions
as before. The only difference is that we don't use the first client
certificate - no matter which one it is - but instead use the client
certificate that was used for logging in.
2017-08-03 17:35:36 +02:00
Martin Kleusberg
dfa9ad7c03 dbhub: Remove the browse mode combo box from the remote dock
Remove the browse mode ("Remote" / "Local") combo box from the remote
dock as it's currently not used for anything and probably won't be used
for the time being. So before it causes any confusion as to what it does
we should probably just get rid of it for now.
2017-08-02 17:47:27 +02: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