Commit Graph
104 Commits
Author SHA1 Message Date
Andrew Grant c31a9a0b2d Allow non-browser requests to upload Networks and create tests 2022-05-19 08:16:10 -04:00
Andrew Grant 5dd468ebb5 Fix time control parsing for repeating TCs.
Breaks backwards clients
2021-10-06 15:40:13 -04:00
Andrew Grant e3380f21f5 Sortable Networks; Disable noobhack 2021-08-10 23:25:43 -04:00
Andrew Grant 4d5e79e5b9 Noob hack should be based on unique engines, not tests 2021-07-23 06:43:44 -04:00
Andrew Grant 453fb16830 Fix namespace issue with Noob hack 2021-07-06 17:19:01 -04:00
Andrew Grant f0f014ea20 Keep Noob workers on more active frameworks 2021-07-06 16:22:35 -04:00
Andrew Grant 2482865155 Fix authentication by-pass when failing twice in a row
Also cleanup the code to a single client authentication function
2021-07-03 00:57:55 -04:00
Andrew Grant c53ef0c6e5 Apply fastAuthenticate() everywhere doing client-server communication 2021-07-02 10:44:25 -04:00
Andrew Grant 7b9b6f05e5 Short-circuit Authentication of incoming game results
Attempt to resolve requests to an IP address, and then save that with each worker. A worker can compare against the IP address of his last request, and use that comparison to skip the password hashing steps
2021-07-02 10:24:17 -04:00
Andrew Grant f97e45b07d Fix the hack? 2021-06-28 21:22:47 -04:00
Andrew Grant 2e34ca6aaa Make Noobpwn machines jump around queues 2021-06-28 21:18:45 -04:00
Andrew Grant 0da47c267c Massive Server/Client changes, listed below:
1. Reduce the time between workloads by dropping the number of games, as well as requesting them more often.

2. Add a Client version to do compatibility checks with the Server.

3. Add a Fleet Mode, to enable Noobpwnftw's workers to act as desired. Add this to the command line, as well the ability to pass the Syzygy WDL path from the command line to avoid modifying the Client.

4. Delete Syzygy DTZ components, as they are not needed. Replace with a working WDL check. Each test can decide for Syzygy Adjudication and Syzygy WDL (Gameplay) to be REQUIRED, OPTIONAL, or DISABLED.

5. Change the name of the binaries to be cutechess-ob, to avoid naming conflicts with those who have installed the Cutechess GUI and placed it onto the system path.

6. Implement Fixed Games test modes, defaulting to 20,000 games per test. Simplify some of the SPRT options by using the [A, B] format explicity.

7. Reduce the activity update rate to 5 minutes per machine, down from 15 minutes.

8. Have throughputs defined for each test mode (STC, LTC, SMPSTC, SMPLTC)
2021-06-28 17:37:18 -04:00
Andrew Grant ed7cb14287 No longer flag time losses as errors on the main page 2021-06-15 13:26:34 -04:00
Andrew Grant 9ecd15bbf6 Add to the webpage the view for selling Ethereal 13 2021-06-03 17:26:03 -04:00
Andrew Grant 6dc3f0fa9c Bar non-enabled users from doing anything Client side 2021-05-29 13:20:35 -04:00
Andrew Grant 6fb21cbd7d Initial commit of working progress 2021-05-24 02:30:59 -04:00
Andrew Grant 35e60151e1 Legacy solution to old Networks; Report Machine throwing bench errors 2021-01-08 10:23:58 +00:00
Andrew Grant 48cfff38c7 Allow proper upload, download, deletion, and setting default of Networks 2020-12-27 18:18:29 -05:00
Andrew Grant 7a45fc59bb Download files using a streamed response? 2020-12-21 02:56:15 -05:00
Andrew Grant b0f7b126fe Cleanup bad imports 2020-12-20 19:13:42 -05:00
Andrew Grant 93cc8119eb Allow uploading Network files to the server. No way to download yet. 2020-12-20 19:03:57 -05:00
Andrew Grant a59a797a9f Optional cross-approval; add long-lost git diff link 2020-12-15 14:20:07 -05:00
Andrew Grant b50500ae2e Avoid changing the default param 2020-09-13 18:02:42 -04:00
Andrew Grant 2844473955 Automatically start tests where both SHAs match an already approved engine.
This introduces two potential vectors for abuse:
1) Griefing by setting High Prio / TP
2) IF Engine Options exist which could be used maliciously.
2020-07-25 07:27:20 -04:00
Andrew Grant d1f1dbc1b2 Default to a total search when no keywords provided 2020-06-20 17:17:16 -04:00
Andrew Grant 19a8dd4172 Don't kill tests on a NULL bench 2020-06-01 22:30:30 -04:00
Andrew Grant bac67817c0 Fix search() by removing built-in django regex 2020-05-22 01:13:14 -04:00
Andrew Grant f991a6c1cd Restore old search() code pre-djongo 2020-05-09 00:17:06 -04:00
Andrew Grant 576d2bbef3 Preliminary additions for swap to MongoDB 2020-05-08 09:26:01 -04:00
Andrew Grant d230569e71 Minimal changes to optimize basic client views 2020-05-08 07:10:56 -04:00
Andrew Grant 764b65e755 Flag tests on the home screen if they have errors 2020-05-02 20:58:17 -04:00
Andrew Grant b295842066 Update Machine to be tied to a User, not a string 2020-05-02 20:00:22 -04:00
Andrew Grant 2e8993a564 Update clientSubmitResults() 2020-05-02 17:22:11 -04:00
Andrew Grant 9311fb21cb Add more server documentation 2020-05-02 17:22:11 -04:00
Andrew Grant d6a4cb8e6b Update some client hooks. Add clientSubmitError() 2020-05-02 17:22:11 -04:00
Andrew Grant 392cb001c7 Add clientGetFiles(), clientGetBuildInfo(), clientGetWorkload() 2020-05-02 17:22:11 -04:00
Andrew Grant 56b54441ad Remove useless duplicate comments on GET/POST headers 2020-05-02 17:22:11 -04:00
Andrew Grant 67d7e2a4d5 Preliminary support for scanning for compilers 2020-05-02 17:22:11 -04:00
AndyGrant cc288cae93 Rewrite view for newTest() 2020-03-10 08:30:51 -04:00
AndyGrant 21f4ae3e25 Consolidate the views for Test Management 2020-03-01 23:56:27 -05:00
AndyGrant 684fd636ed Update the views for Index, Greens, Search, and User 2020-02-28 01:35:47 -05:00
AndyGrant e6348916e2 Notify Users that have been made via Django/CMD, but do not exist as OpenBench Profiles 2020-02-22 20:20:27 -05:00
AndyGrant 610899a521 Update the views for Login, Logout, Register, and Profile 2020-02-22 19:25:45 -05:00
AndyGrant e4e3ec3916 Fix removal of authenticate from namespace 2020-02-17 06:07:38 -05:00
AndyGrant 9c488fb521 Partial work cleaning up front & backends 2020-02-17 05:58:40 -05:00
AndyGrant 11b1f40d7d Fix paging context for eventlog view 2019-10-28 21:30:32 -04:00
AndyGrant 1eb2dce5d5 Don't minify our communication with workers 2019-10-25 06:08:21 -04:00
AndyGrant 9ec29cf03b Cleanup templates for all views
Make use of the block structure to clean up index/events/search heavily
Fix a bug for the paging context on the events view
2019-10-25 05:49:45 -04:00
AndyGrant 39cc7d41bb Fix a few bugs ...
1) Forgot to remove reference to data in viewProfile() in simplification
2) Forgot to adjust condition in template for index viewing pending/active tests
3) Forgot to adjust default page for greens to be 1
2019-10-24 06:17:41 -04:00
AndyGrant 5a48d050dc Update CSS for paging, and start counting at 1 2019-10-24 06:11:10 -04:00