Commit graph

38 commits

Author SHA1 Message Date
eelke
089c793df7 MIsc changes 2019-03-27 18:23:00 +01:00
eelke
3820fb2600 RunControllableTask now also properly catches Exceptions and reports them through the Future. 2019-01-29 19:39:21 +01:00
eelke
39ac8ef02d Some work on parser, not used yet. 2019-01-28 20:53:10 +01:00
eelke
3b482c1c73 Fix lexer for empty input. 2019-01-28 20:52:39 +01:00
eelke
456180325e Code cleanups 2018-12-31 15:45:53 +01:00
eelke
f996703937 Corrected some usage of QueueTask that was already broken as QueueTask is defunct. 2018-12-31 15:19:16 +01:00
eelke
15bee33076 Made step to remove ASyncWindow in favour of usage of Future and FutureWatcher.
This should allow concurrency in the plugins to be independent from their container.

Contains also some work on the system for registering plugins.
2018-12-30 15:46:15 +01:00
eelke
880903db5f Several fixes of warnings/clang tidy 2018-12-16 15:38:32 +01:00
eelke
62c6ad5bfb Improved support from removing rows in crud tabs.
It can handle now complex selections and reports back errors encountered
when removing the rows fails.
2018-12-15 11:24:58 +01:00
eelke
9e645db1a8 Fixed some small details the analyzer was complaining about. 2018-12-09 21:10:35 +01:00
eelke
840af1e0a9 WIP: Added page showing list of functions.
Only list is shown, still working on details.
2018-11-25 09:06:01 +01:00
eelke
287073afdc Added remember option to password dialog.
Made to remember password of password manager for given time but not completely sure
how to implement that yet.
2018-11-15 19:24:29 +01:00
eelke
e36924c087 Passwords are now saved in a password manager.
The password manager uses strong encryption using a key derived from the passphrase using
scrypt key strengthening algorithm. This ensures encryption is performed using a strong key
and that brute forcing the passphrase is time consuming.

If the user loses his passphrase no recovery is possible.
2018-11-08 21:50:49 +01:00
eelke
6b9b602c64 Replaced old PasswordManager code with code using Botan's new PSK_Database
This greatly reduces the amount of encryption related code required. Thought
we still have todo our own key strenthening but this also is easier with Botan::PasswordHash.
2018-11-04 11:24:13 +01:00
eelke
d4d8316917 Collection of minor code improvements.
Program should still behave exactly the same.
2018-10-21 13:46:58 +02:00
eelke
780d912cd1 Adjusted project files for new boost version.
This should be handled differently the location of boost should not be baked into the project files.
2018-09-18 20:24:54 +02:00
eelke
31afc6fcbf Fix some warning 2018-08-05 09:05:24 +02:00
eelke
5b20f900fc Sketched rough parser code construction including some SQL AST classes. 2018-06-19 19:52:56 +02:00
eelke
99d738ee65 Added some classes from a stackoverflow to utilize Qt's concurrency functions especially cancellable QFuture's 2018-02-14 19:18:51 +01:00
eelke
914d2fe9fa Lexical analyzer should now be less confused by dots and comma's and an assortment of other single character symbols. 2018-02-05 22:25:38 +01:00
eelke
b436814eb5 THe SqlLexer also now recognizes casts. 2018-01-06 21:18:28 +01:00
eelke
2705a3417b The MainWindow now uses a background task to load the catalog.
As the background task can't be cancelled yet only closing of the window
can block if the task is still running.
2017-12-28 07:23:20 +01:00
eelke
057e745ebe Just some comments. 2017-12-26 07:34:08 +01:00
eelke
091040f13f Split big function in sql lexer into several functions. 2017-12-26 07:32:52 +01:00
eelke
04c656323d Defined a function to get rid of linker warning 2017-12-26 07:26:39 +01:00
eelke
6d4662aa98 Added WorkManager to manage background tasks.
Relies heavily on the QThreadPool.
2017-12-25 15:32:02 +01:00
eelke
8f1ba8130c Unit tests on PasswordManager are now much faster because the tests use a much
lower iterations count now then the default setting.
2017-12-16 21:42:41 +01:00
eelke
ad9ed1b698 Introduced new library for pglab code which I want to unit test.
Not everything can go into core because that would result in circular dependencies between core and pgsql.
2017-12-13 18:04:10 +01:00
eelke
dec52a3829 Unit tests for ParamList to json. 2017-12-09 19:39:37 +01:00
eelke
e9f5fff6d3 Moved files to core.lib for unit testing 2017-12-09 16:43:28 +01:00
eelke
3a13b7ffb4 Messy commit. Testing suff and some improvements to how data is shown. 2017-12-09 10:45:13 +01:00
eelke
bebb3391c3 Builds on windows again 2017-11-26 13:07:21 +01:00
Eelke Klein
7c4e8e95e8 Restructured locations of source. 2017-08-27 07:36:42 +02:00
Eelke Klein
04723a289b Switching to linux for development of pglab.
Switched from qmake to cmake. Code changes to make it compile.
2017-08-23 08:10:01 +02:00
eelke
dd9906dbd8 Several fixes for compilation with gcc (doesn't link) 2017-08-22 12:45:45 +02:00
eelke
a2f39692a2 Forgot to add untracked files. 2017-03-05 21:25:37 +01:00
eelke
73528ca965 Backup functionality working, the UI still needs work. 2017-03-05 21:23:36 +01:00
eelke
d0ea9dfa0c Moved some parts to a static lib so both the executable and the tests can link to it.
Written additional tests.
2017-02-26 19:29:50 +01:00