Commit Graph

24 Commits (88a0ee35098004a6599949e7a1a699170ab94b28)

Author SHA1 Message Date
Adam Treat 42926a484f Couple of bugfixes. 1 year ago
Adam Treat 069c243f1a Add MPT info to the download list and fix it so that isDefault will work even if the required version isn't there. 1 year ago
Aaron Miller edad3baa99 download: make model downloads resumable
* save files as `incomplete-{filename}` in the dest folder
* rename into place after hash is confirmed or delete if hash is bad
* resume downloads using http `range`
* if DL is resumed from a different app session rewind a bit -
  this is to deal with the case where the file size changes before
  the content is fully flushed out
* flush dest file at end of readyRead, this mitigates the above
  and provides backpressure on the download if the destination disk
  is slower than the network connection
1 year ago
Adam Treat 4a09f0f0ec More extensive usage stats to help diagnose errors and problems in the ui. 1 year ago
Adam Treat a6ca45c9dd Use the universal sep. 1 year ago
Adam Treat bc77d95def Add a requires field for the models.json for future proofing. 1 year ago
Adam Treat 43eef81ca8 New startup dialog features. 1 year ago
Adam Treat 6256b4fd33 Have to be able to change the download path from the download dialog and other fixes. 1 year ago
Adam Treat b00da454e4 Provide a description and make the downloader cleaner and prettier. 1 year ago
Adam Treat 62a885de40 Always try and load default model first. Groovy is the default default. 1 year ago
Aaron Miller 5641c365af download: don't read whole file into ram to md5 it
we go to the trouble of using a tempfile and then reintroduce
a case of reading the whole file into ram again?
1 year ago
Aaron Miller 18fa61c025 download: atomically move tempfile when possible
should save unnecessary time and I/O and eliminate the possibility
of the file being improperly truncated when the temp file is on
the same filesystem as the destination path
1 year ago
Adam Treat b2ba17f6f1 Omit the debug stmt 1 year ago
Aaron Miller 15a979b327 new settings (model path, repeat penalty) w/ tabs 1 year ago
Adam Treat 1b0eac2870 Add debugging code for ssl errors. 1 year ago
Adam Treat e6a8681dbe Always download to a local directory outside of the binary directory otherwise
models will be deleted when updates occur. Update version.
1 year ago
Adam Treat 8208ece6d3 Workaround windows *sigh* because it wants to be different. 1 year ago
Adam Treat fa9f4cca62 Disable ssl handshake for now. 1 year ago
Adam Treat 9dbeffc888 Ssl handshake experiment. 1 year ago
Adam Treat 8959b7b563 Fix example json. 1 year ago
Adam Treat fe97a6e04f Make the download use a temp file to save ram and make it threaded. 1 year ago
Adam Treat c086a45173 Provide a non-priviledged place for model downloads when exe is installed to root. 1 year ago
Adam Treat 5a00c83139 Display filesize info in the model downloader. 1 year ago
Adam Treat e6cb6a2ae3 Add a new model download feature. 1 year ago