Commit Graph

113 Commits

Author SHA1 Message Date
DaCool 27d992f485 Cache jarVersion and let it complain only once 2021-12-30 17:46:20 +00:00
Laurent Clouet 20a1ccf07c Fix: all status should have the same format 2021-11-28 21:51:04 +01:00
DaCool d41d77cda7 Fix minor deprecation-issues 2021-11-19 16:05:55 +00:00
DaCool 1969f57da3 Add Ram Usage Detector 2021-11-16 14:51:53 +00:00
harlekin 2e46685068 feature: mirror speedtest 2021-11-15 14:09:41 +00:00
DaCoolX c0ac0e4640 Add debug log for not enough free space check 2021-10-02 19:40:01 +00:00
harlekin f94bba6e4c Add headless toggle, useful for multi gpu on the same machine 2021-07-16 23:37:24 +00:00
harlekin 6ca2067cbe set the minimum core amount to 2 (1 on single core cpus) 2021-07-07 16:18:45 +00:00
Laurent Clouet 9a5cd74609 Feat: send full version os to the server 2021-06-24 10:36:25 +02:00
Laurent Clouet 6a483e9885 Feat: send network average speed to the server 2021-06-22 16:10:35 +02:00
Laurent Clouet 3ffbdbb19b Fix: do not show download progress if there is not content length 2021-05-29 14:54:52 +00:00
Raimund58 7d984f94a5 Fix: use env for temp directory, it better handles utf-8 directory 2020-12-13 10:30:06 +01:00
Luis Uguina 6587b4dcef Feature: support for shared downloads directory (#295)
* Feature: support for shared downloads directory

This feature is especially relevant for users with several clients running simultaneously within the same computer (computers running several GPUs or any combination of GPUs + CPUs) or multiple computers running in a network. The feature allows the user to specify a shared downloads directory via the new -shared-downloads-dir client option. All the clients using that option will share the same binaries and scene files.

How it works?
The first client downloading a binary or scene will save the file in the directory especified in -shared-downloads-directory. The rest of the clients using the same option will wait until the file has been downloaded. Once the file has been downloaded, it will be ready for the rest of the clients.

This feature is especially relevant for users with metered/slow connections or multiple computers/clients that don't want to download the same binary/file multiple times.

IMPORTANT: All the clients intended to share the binaries and scenes must execute the client with the same -shared-downloads-dir parameter.
2020-10-21 13:03:09 +02:00
Laurent Clouet 330f2c6fd8 Fix: division per zero 2020-09-12 11:12:54 +02:00
Luis Uguina d152e0b0ff Feature: add session data consumption information in GUI/text UIs (#287)
* Feature: add session data consumption information in GUI/text UIs

Adds the total bytes downloaded and uploaded in the current session as well as the average data transfer rate for both UL/DL. The information is not added to the 1-line UI as the line will take 150+ characters in the screen.
2020-09-12 02:00:24 +02:00
Luis Uguina 04be222f00 Cleanup: remove unused imports (#294) 2020-09-08 01:00:44 +02:00
Andrew Smith 22e914dcc0 fix broken stack trace printer (#283) 2020-07-26 14:05:07 +02:00
Luis Uguina 4dba9ebf94 Fix: NullPointerException triggered when http error in job allocation (#274) 2020-07-07 15:38:23 +02:00
M*C*O e4be013505 Fix failed MimeType detection (#277)
* Fix failed MimeType detection

* Fix failed MimeType detection

* Fix formatting
2020-07-07 15:37:15 +02:00
Laurent Clouet 63a2b553fa Detect if the client is runnig headless 2020-07-03 11:15:00 +02:00
Luis Uguina b4511e7730 Feature: check for HTTP 413 (Entity too large) errors (#264) 2020-06-20 18:42:20 +02:00
Luis Uguina 57cae65412 Fix: allow to cancel download by user or server initiated reset (#266) 2020-06-20 18:36:55 +02:00
Luis Uguina 27d8b05b12 Feat: include Java version in HTTP User-Agent (#269) 2020-06-20 18:33:59 +02:00
Luis Uguina 7685051662 Fix: Send reset signal to server on job upload error (#260)
* Fix: Send reset signal to server on job upload error
2020-06-18 13:57:52 +02:00
Luis Uguina ce756db69d Fix: HTTPSendFile doesn't send a valid MimeType header to server (#263) 2020-06-17 10:19:29 +02:00
Luis Uguina 4ab4fa3e8e Refactor: update deprecated call to method to latest version (#262) 2020-06-17 10:18:13 +02:00
Luis Uguina 29f25f4f7e Fix: include any unhandled error response from server in error logs (#265) 2020-06-16 15:22:21 +02:00
Luis Uguina fe69d6faa2 Feature: in text UI, show downloads in a single-line (#250)
* Feature: show downloads in a single-line in text UIs
2020-06-14 12:01:32 +02:00
Luis Uguina 49acd3ede3 Refactor: remove unused imports (#248) 2020-06-06 10:26:33 +02:00
Luis Uguina 399cb9971f Fix: remove certificate bypass (#240) 2020-06-02 16:04:54 +02:00
Luis Uguina 4cf51013e6 Replace standard Java HTTP libraries with okHTTP (#237)
* Replace standard Java HTTP libraries with okHTTP
2020-06-01 11:15:44 +02:00
Laurent Clouet 44cf85739c Code formator (#236)
* Re-import code formator
2020-05-28 13:28:42 +02:00
Andy Li b91d3e71ce Fix: JAXB NoClassDefFoundError on Java 9+ (#218)
JAXB APIs are considered to be a part of Java EE and was removed by default in Java SE 9.
See: https://stackoverflow.com/a/47412779/6238618
2020-04-28 10:31:30 +02:00
Laurent Clouet 57bc27bdcf Feat: change the architecture of the 'sheepit network', instead of storing every frame,mp4,zip on a single server, use multiple servers(shepherds) 2020-04-14 17:35:54 +02:00
Laurent Clouet 08fe55564c Feat: Don't do last render image request, use local image 2020-04-14 17:32:22 +02:00
Laurent Clouet 53663a6933 Fix: nullpointerexception 2020-01-12 14:37:30 +01:00
Laurent Clouet 7b693a8f36 Save config file 2019-09-15 21:34:16 +02:00
Laurent Clouet 56239ae6dd Display global stats even when the session has no job 2019-09-09 10:25:12 +02:00
Laurent Clouet 86a02015a2 Last download status could be 99% instead of 100% 2019-09-05 13:16:28 +02:00
Laurent Clouet 96a1b28bc0 Use an xml (de)serializer to create Java object instead of parsing them by hand 2019-09-03 20:15:46 +02:00
Laurent Clouet 72462b88c7 Feature: do not store the passwrd as plain text but instead use a public key generated on server side 2019-08-22 21:35:26 +02:00
Laurent Clouet 3413301609 Moving to Intellij IDEA 2019-08-11 22:25:26 +02:00
Laurent Clouet 3230807a7d Migrate from ant to gradle 2019-08-10 22:09:32 +02:00
Laurent Clouet 9f1f509bb6 Use lombok annotation instead of get/set 2019-08-07 22:17:59 +02:00
Laurent Clouet 3e9d701d7c Cleaner version of removing project's directory 2019-08-07 18:40:02 +02:00
Laurent Clouet de4dfcd047 Remove blend files after the render has started 2019-08-07 17:02:52 +02:00
Laurent Clouet 5d135f1681 Display human error on lost of internet connectivity 2019-07-12 17:46:57 +02:00
Laurent Clouet 208f49ba1d Memory amount should be in long not int 2019-02-20 13:46:53 +01:00
Laurent Clouet 8f4c899ea2 Add info about renderable project for this session: number of project allow by scheduler depending on the past error, current settings (ram, cpu, gpu,...) 2019-02-10 13:17:39 +01:00
Laurent Clouet d2d5dffd3e Blender 2.7x and 2.80 don't have the same api 2019-01-18 19:29:56 +01:00