Commit graph

20 commits

Author SHA1 Message Date
King_DuckZ
d433e05877 Change restc-cpp into a meson wrap (lest too) 2020-08-29 18:03:04 +01:00
King_DuckZ
440fbd52b9 Don't install unnecessary files 2020-08-28 01:35:07 +01:00
King_DuckZ
85f7ac321e Add simdjson wrap file and meson scripts 2020-08-28 01:07:12 +01:00
King_DuckZ
6b41e08403 Fix SQLiteCpp meson scripts. 2020-08-28 00:13:13 +01:00
King_DuckZ
ada38348ee Change SQLiteCpp into a wrap file 2020-08-28 00:04:31 +01:00
King_DuckZ
e856918963 Add curlcpp subproject 2020-08-27 23:55:15 +01:00
King_DuckZ
5ef7a880e0 Get rid of redundant if 2020-08-27 17:39:06 +01:00
King_DuckZ
2c36e6794e Use the if_found feature for subdir() 2020-08-27 16:08:06 +01:00
King_DuckZ
4b641e7976 Fix restc-cpp unit test's build 2020-08-22 00:50:56 +01:00
King_DuckZ
6dc4c3133f Import cmake unit test to restc-cpp 2020-08-21 21:16:05 +01:00
King_DuckZ
c1598fedb1 Add lest lib
It's required by tests in restc-cpp which I'm progressively adding
2020-08-21 21:16:05 +01:00
King_DuckZ
b06456e4b0 Restore timeouts from previous run
This is quite a big update, the new feature is that when the
program starts it loads the next update time from the db if
present. If so it resumes the timers from there. Maximum wait
time is currently capped at 24h.

TimerOroApi is not templated on methods anymore, rather on
the new DBOperation enum. This is so that it has that enum
value to pass it to other functions. This could've been a
separate commit, but wth...

Magic enum allows me to iterate over an enum's values at
build time, it's useful for building the query in OriginsDB
for the SELECT in the access table
(see make_select_last_access_str()).
2020-08-16 06:28:58 +01:00
King_DuckZ
33fe2bc8cd Add tiger. It depends on duckhandy, so add that too. 2020-08-14 00:46:36 +01:00
King_DuckZ
8d6b282862 Update submodules 2020-08-10 21:52:56 +01:00
King_DuckZ
f2b8abf82b Disable console output from restc-cpp 2020-08-09 22:55:25 +01:00
King_DuckZ
d44529871c Add event loop with thread pool
I think it works

Signed-off-by: King_DuckZ <king_duckz@gmx.com>
2020-08-01 07:02:54 +02:00
King_DuckZ
e3b8b563f0 Add some cmake options to the meson file 2020-06-23 15:14:57 +02:00
King_DuckZ
e94131ac32 Add SQLiteCpp subproject 2020-06-23 10:58:19 +02:00
King_DuckZ
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
King_DuckZ
49af441d48 Proof of concept invoking remote ping call 2020-06-20 00:08:04 +02:00