Commit graph

88 commits

Author SHA1 Message Date
Rick V 472043e6b5
try going through the SCM 2020-10-05 19:29:29 -05:00
Jeff 0de6f03dfa config saving works 2020-09-28 15:19:55 -04:00
Linux User 2e6df01163 finally, a cross-compile config 2020-09-21 20:30:58 -05:00
Jeff Becker 03770950a2
start wiring up drone. add lokimq submodule and associated stuffs for it 2020-09-02 07:39:29 -04:00
jeff 9cc8d41747 use a signal to prevent crash from race condition 2020-08-26 09:54:12 -04:00
Jeff Becker 6c9fe07b62
more exit ui jizz 2020-08-26 09:17:15 -04:00
Jeff Becker fb11e90fa2
redo lmq commit to not remove bootstrap code 2020-08-24 06:45:49 -04:00
Jeff Becker a09c1bcccf
move rpc to use lokimq 2020-08-13 13:48:27 -04:00
Stephen Shelton b5bb38ad26
Use lauchd to control process on MacOS
This controls the lokinet process by creating and removing a magic file
which is monitored by launchd and used to supress automatic launching of
lokinet when present.
2020-04-14 12:28:19 -06:00
Jason Rhinelander adf0d00e03 Replace icon with official branding one 2020-03-26 10:42:48 -03:00
Stephen Shelton 8ae8366c7b
Don't stop lokinet on exit in systemd mode 2020-03-24 13:43:08 -06:00
Stephen Shelton 9599bf5200
Hide bootstrap menu option in systemd mode 2020-03-24 12:06:36 -06:00
Stephen Shelton b14760edcd
Merge pull request #24 from notlesh/systemd-support-2020-03-20
First pass at process management via systemd
2020-03-24 10:04:57 -07:00
Stephen Shelton 2dda4ff1dd
Move setApplicationName() to the magic spot 2020-03-24 10:58:06 -06:00
Stephen Shelton 1be6920e4a
setApplicationName() intelligently 2020-03-24 10:31:27 -06:00
Stephen Shelton d26af4884b
Set application icon 2020-03-24 10:09:52 -06:00
Stephen Shelton e9a7dce4a6
Add --notray option 2020-03-24 09:43:15 -06:00
Stephen Shelton df7eaef48a
Let systemd do its own managed stop 2020-03-24 09:07:11 -06:00
Stephen Shelton 560a0478e3
Use systemd for stopping lokinet, also some DRY 2020-03-23 16:53:45 -06:00
Stephen Shelton 5f069e492e
First pass at process management via systemd 2020-03-20 17:19:23 -06:00
Stephen Shelton 319eb43b44
Add a --nohide CLI option 2020-03-20 15:37:48 -06:00
Stephen Shelton 3e30b4ba7f Configure QNetworkAccessManager with a very low timeout 2020-03-05 11:30:43 -08:00
Stephen Shelton 1b8f5a27ac Allow re-attempt of stop if we think we're already stopping 2020-03-05 11:19:01 -08:00
Stephen Shelton 82b7336e42
Remove isGracefulKillSupported() 2020-03-05 11:49:03 -07:00
Stephen Shelton 5eee804ae3
Move call to stopLokinetProcess() outside of managed thread 2020-03-05 11:44:54 -07:00
Stephen Shelton 1d79af449a
Replace doStopLokinetProcess() with API call to llarp.admin.die 2020-03-05 11:44:44 -07:00
Stephen Shelton bf0e73130d
Set Host header 2020-03-04 22:11:31 -07:00
Stephen Shelton cc88849b50
Print reply on HTTP error if there was one 2020-03-04 22:10:38 -07:00
Stephen Shelton fce787681f
DRY @ LokinetApiClient 2020-03-04 21:36:35 -07:00
Stephen Shelton 9fa67d02ea
Merge pull request #19 from notlesh/make-bootstrap-url-configurable-2020-03-04
Make the bootstrap URL configurable
2020-03-04 19:20:27 -08:00
Stephen Shelton c17e474be0
Merge pull request #17 from notlesh/short-circuit-graceless-kill-2020-03-04
Don't bother with graceful kill on Windows/Mac
2020-03-04 19:19:29 -08:00
Stephen Shelton 51514aaecd Make the bootstrap URL configurable 2020-03-04 15:49:57 -08:00
Rick V e633727fc4
brutally murder lokinet process 2020-03-04 12:05:46 -06:00
Stephen Shelton 8a44ebd414 Don't bother with graceful kill on Windows/Mac 2020-03-04 09:59:32 -08:00
Stephen Shelton 551e920d84 Fix the [windows] build 2020-03-03 13:50:45 -08:00
Rick V 4753bbb50b
really kill lokinet 2020-03-03 13:32:15 -06:00
Rick V 5387514354
Update src/process/WindowsLokinetProcessManager.cpp
Co-Authored-By: Stephen Shelton <steve@brewcraft.org>
2020-03-03 13:17:04 -06:00
Rick V 85fa367fff
try searching one folder up before bailing 2020-03-03 13:17:04 -06:00
Rick V e69175f0cb
fix class definition 2020-03-03 13:17:03 -06:00
Rick V 64bbb1e3c4
move into constructor 2020-03-03 13:17:02 -06:00
Rick V d8a85061ea
move it into the instance factory instead, i'd rather not overload it 2020-03-03 13:17:02 -06:00
Rick V a6f8353aa0
add a mutex for packaging: if this mutex still exists, it tells the user to close all instances of lokinet or the frontend ui 2020-03-03 13:16:55 -06:00
Stephen Shelton 5e0248c282
Nasty hack to get a useful Y-axis label @ bw chart 2020-02-11 09:48:04 -07:00
Stephen Shelton e7a73a6b5a
Implement rolling bandwidth samples 2020-02-10 16:40:34 -07:00
Stephen Shelton 2f1e221e68
Handle errors when downloading bootstrap file 2020-01-20 11:58:15 -07:00
Stephen Shelton c08bf49a21
Download bootstrap file via QNetworkAccessManager 2020-01-16 12:26:12 -07:00
Stephen Shelton 16f7ede2a1 Fix memory leak (free QNetworkReply) 2020-01-14 16:36:37 -07:00
Stephen Shelton fab997db1a
Merge pull request #9 from notlesh/kill-lokinet-on-exit
Kill lokinet on exit if we launched it in the first place
2020-01-14 08:58:58 -08:00
Ryan Tharp 148024a73e convert get*Path to return std:string, also fix DISABLE_DNS_FILE path 2020-01-13 19:01:11 -08:00
Stephen Shelton f5fd9c7753 Kill lokinet on exit if we launched it in the first place 2020-01-13 10:20:12 -07:00