Commit Graph

1943 Commits

Author SHA1 Message Date
Justin Clift
e30d19dbb4 Update current release with v3.10.0 details 2017-08-22 09:51:03 +01:00
Justin Clift
bb621ff398 Updated for DB4S 3.10.0 release 2017-08-20 00:29:45 +01:00
Justin Clift
85613ea892 Merge pull request #1091 from bssthu/master
Update Chinese translation
v3.10.0
2017-08-18 19:15:39 +01:00
Justin Clift
04e64f4844 Update version numbers to 3.10.0 2017-08-18 18:35:59 +01:00
bssthu
dba87f0f3f update Chinese translation 2017-08-19 01:34:29 +08:00
Justin Clift
0c20582edb Stop crash causing event storm for uploading progress dialog 2017-08-17 21:59:50 +01:00
Justin Clift
503a329b70 Update translation files with the recent source string changes 2017-08-16 19:51:03 +01:00
bss, shaoshi
d0e8370574 Update Chinese translation (#1085) 2017-08-16 19:48:14 +01:00
Martin Kleusberg
84615258af dbhub: Push databases using the POST method instead of PUT 2017-08-15 21:22:05 +02:00
Martin Kleusberg
60a48ce9ec Fix attaching not encrypted databases in the SQLCipher build
Even when trying to attach a non-encrypted database in the SQLCipher
build we would try to give a passphrase - though an empty one. This
yields an invalid SQL statement, so attaching would never work. This is
fixed by this commit.

See issue #1088.
2017-08-15 11:23:51 +02:00
Martin Kleusberg
c3ab20b6b5 Fix indentation 2017-08-15 11:13:30 +02:00
Martin Kleusberg
d1f90994fb Activate attach menu item right after opening a database
The 'attach database' menu item was only activated after making changes
to the database and saving them. With this commit it's activated right
after opening a database, too.
2017-08-15 11:13:29 +02:00
Justin Clift
778eaec72e Added 3.10.0-beta2 to the issue template 2017-08-14 23:11:31 +01:00
Gihun Ham
5ba7d5f9e2 Korean Translation 2017-08-14 12:31:18 +01:00
Justin Clift
a8b62dd768 Update source strings for Korean translation 2017-08-14 05:33:20 +01:00
Gihun Ham
b59c7d5f0e Korean translation (#1083) 2017-08-14 05:30:39 +01:00
Justin Clift
95f9e740ef Update version number to 3.9.200, which we're using for 3.10.0-beta2 v3.10.0-beta2 2017-08-13 21:00:20 +01: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
38caf867bc dbhub: Refresh the directory list when a database upload has finished 2017-08-13 14:53:19 +02:00
Martin Kleusberg
0da9e1c3e0 dbhub: Don't tolerate host name mismatch errors
These were only accepted for debug purposes and shouldn't occur in an
actual installation.
2017-08-13 13:45:59 +02:00
Martin Kleusberg
17cf3ad7d9 dbhub: Support multiple simultaneous downloads/uploads of databases
This feature isn't explicitly available via the UI (yet) but should
prevent errors when the user is faster than the network connection, e.g.
when opening two directories very quickly.
2017-08-13 13:42:30 +02:00
Martin Kleusberg
09319001ea dbhub: Don't read entire file at once when pushing it to remote server 2017-08-13 13:24:36 +02:00
Martin Kleusberg
3d1f2062f9 dbhub: Also clear access cache when pushing a database as other user 2017-08-12 21:49:32 +02:00
Martin Kleusberg
d5e922f204 dbhub: Fix progress dialog when fetching/pushing db after cancelling 2017-08-12 18:59:59 +02:00
Martin Kleusberg
b51eeccba1 dbhub: Make it clearer what the private/public flag means 2017-08-12 18:48:07 +02:00
Martin Kleusberg
1c7cc24b15 dbhub: Improve push database UI
This adds a new Push Database dialog which lets you specify the database
name, the licence, a commit message, and the visibility of the database.
2017-08-12 14:58:30 +02:00
FriedrichFroebel
5bdefad4fc Update German translation (#1081) 2017-08-11 19:07:28 +01:00
Martin Kleusberg
b0c3d973ce Improve detection of PRAGMA and VACUUM statements in Execute SQL tab
In the Execute SQL tab we need to detect PRAGMA and VACUUM statements
before executing them in order to now execute them inside a transaction
which isn't supported by SQLite. If such a statement followed any other
statement however, the detection would fail, e.g.
pragma user_version=1;	-- this works
pragma app_version=2;	-- this fails

This should be fixed by this commit.
2017-08-11 18:18:55 +02:00
Martin Kleusberg
c636a505c8 Allow VACUUM command in Execute SQL tab
This allows the user to execute VACUUM commands in the Execute SQL by
detecting them and not creating a transaction for them.

See issue #1021.
2017-08-11 18:17:55 +02:00
Martin Kleusberg
f7f60365eb libs: Fix wrong syntax highlighting in Scintilla lexer code
See issue #1080.
2017-08-11 17:58:51 +02:00
Martin Kleusberg
5ae5241b95 Don't allow query execution when no database is opened
Some time ago we changed the Execute SQL tab to allow open SQL files
even if no database is loaded in order to provide an SQL editor without
needing a database.

If no database file is opened the Execute buttons were greyed out but
the F5/Ctrl+R shortcut would still work, causing an "out of memory"
error. That error doesn't cause any harm but is a bit confusing. So this
commit disables the keyboard shortcuts too.
2017-08-11 17:19:42 +02:00
Martin Kleusberg
1becee77ee tests: Add more regex tests 2017-08-10 21:39:51 +02:00
Martin Kleusberg
c030349fe0 Fix tests 2017-08-10 21:33:33 +02:00
Jonathan Oakley
e3a7d9aa75 Fix for comment problems in Execute Query tab
See issue #1004.
2017-08-10 20:51:30 +02:00
Michel VERET
44d64f2a8f Updated French translation :) 2017-08-08 16:37:54 +01:00
Justin Clift
20350f2157 Regenerate French translation file with most recent source strings 2017-08-07 15:04:42 +01:00
Michel VERET
d1577facdd Updating French translation for 3.10.0-beta1
Closes #1066.
2017-08-07 15:03:13 +01:00
Justin Clift
175942b373 Regenerate czech translation file with most recent source strings 2017-08-07 14:50:25 +01:00
Petr Tykal
eac8775e32 80% of czech translation is complete 2017-08-07 14:47:57 +01:00
Martin Kleusberg
f458ac37bf dbhub: Fix wrong certificate being used
When changing the client certificate we need to clear the authentication
and access cache of our Qt network access manager instance. If we don't
do so, Qt might decide to use the old certificate information which is
still in the cache for some recurring queries.
2017-08-03 20:31:18 +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
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
917e33ff95 dbhub: Fix local version control code 2017-08-02 17:43:40 +02:00
Martin Kleusberg
7195acf488 Fix scroll button tooltips in main window
See issue #1067.
2017-07-31 23:41:55 +02:00
Martin Kleusberg
ff4f8d7dbf dbhub: Use different icon for user's directory 2017-07-31 23:11:42 +02:00
Martin Kleusberg
bb9f0cc09a Update translation files 2017-07-31 23:01:34 +02:00
Martin Kleusberg
5cb308207c Fix typos in Edit Table dialog
See issue #1073.
2017-07-31 23:00:04 +02:00
Justin Clift
f690f710ee Merge pull request #1074 from mafagafogigante/pt-br-3-10
Should have up-to-date Portuguese translations
2017-07-31 19:38:44 +01:00
Bernardo Sulzbach
1d4df397f3 Should have up-to-date Portuguese translations
Also fixed mixed plot symbols translation.
2017-07-31 14:41:04 -03:00