Commit graph

12 commits

Author SHA1 Message Date
a32044a4b5 Add optional lzma support for stored json responses
When enabled entries in the DB are stored as base64
encoded xz data. To uncompress save to a file
my_json.base64 and run:

cat my_json.base64 | base64 --decode | unxz --decompress - > my_json.txt
2020-09-05 14:00:22 +01:00
80bfbc640a Add option to choose between restc-cpp and nap
I don't think this is very clean, but they might fix
the bug in restc-cpp that is currently holding this
project back, and I might want to go back to it.
I might refactor this into a virtual class.
2020-08-29 16:42:34 +01:00
2a407294e1 Add an option to enable/disable sqlite backend
Currently you can't disable it since sqlite is the only
supported backend and you must have at least one enabled
and available on the system. This will be needed for later.
2020-08-22 01:30:04 +01:00
4b641e7976 Fix restc-cpp unit test's build 2020-08-22 00:50:56 +01:00
d0a41d916a Return some default db name if not present in the config file 2020-08-11 01:04:53 +01:00
35118dbe4e Get db path from settings file instead of using a hardcoded value 2020-08-10 13:21:04 +01:00
c05213d576 Remove config_file option 2020-08-10 12:44:54 +01:00
2a4fe62427 Add ini file parser from kamokan and meson option for config path 2020-08-10 12:24:39 +01:00
6b9502ea3e Store items and icons into the db 2020-08-10 02:34:09 +01:00
034020e152 Remove thread pool selection code for now 2020-08-09 20:04:22 +01:00
9f0fed98e2 Get the concept working
A bit hackish because see ThreadPool.hpp.
Also code is dirty and it can't be stopped once running.
Building up from here.
2020-08-09 17:29:37 +01:00
d6a27f814a Pass the base url as a build option
So with SoapUI I can pass -Dbase_url=http://localhost:8080
2020-06-22 19:37:56 +02:00