diff --git a/README.md b/README.md index 9ccc482f..fd629f70 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ Montytest is a fishtest derivative: https://github.com/official-stockfish/fishtest Montytest is a distributed task queue for testing chess engines. The main instance -for testing the chess engine [Monty](https://github.com/official-monty/Monty) is at this web page https://montychess.org +for testing the chess engine [Monty](https://github.com/official-monty/Monty) is at this web page https://tests.montychess.org Developers submit patches with new ideas and improvements, CPU contributors install a montytest worker on their computers to play some chess games in the background to help the developers testing the patches. diff --git a/server/montytest/api.py b/server/montytest/api.py index 5467534c..89d3a0d1 100644 --- a/server/montytest/api.py +++ b/server/montytest/api.py @@ -34,7 +34,7 @@ according to the route/URL mapping defined in `__init__.py`. """ -WORKER_VERSION = 25 +WORKER_VERSION = 26 @exception_view_config(HTTPException) @@ -665,7 +665,9 @@ def download_nn(self): else: self.request.rundb.increment_nn_downloads(self.request.matchdict["id"]) - return HTTPFound("https://montychess.org/nn/" + self.request.matchdict["id"]) + return HTTPFound( + "https://tests.montychess.org/nn/" + self.request.matchdict["id"] + ) class InternalApi(GenericApi): diff --git a/server/montytest/rundb.py b/server/montytest/rundb.py index 9b7a2c24..0600c50f 100644 --- a/server/montytest/rundb.py +++ b/server/montytest/rundb.py @@ -880,7 +880,7 @@ def scavenge_dead_tasks(self): for task_id, run in dead_tasks: task = run["tasks"][task_id] print( - "dead task: run: https://montychess.org/tests/view/{} task_id: {} worker: {}".format( + "dead task: run: https://tests.montychess.org/tests/view/{} task_id: {} worker: {}".format( run["_id"], task_id, worker_name(task["worker_info"]) ), flush=True, @@ -1574,7 +1574,7 @@ def failed_task(self, run_id, task_id, message="Unknown reason"): self.handle_crash_or_time(run, task_id) self.buffer(run, False) print( - "Failed_task: failure for: https://montychess.org/tests/view/{}, " + "Failed_task: failure for: https://tests.montychess.org/tests/view/{}, " "task_id: {}, worker: {}, reason: '{}'".format( run_id, task_id, worker_name(task["worker_info"]), message ), diff --git a/server/montytest/static/js/application.js b/server/montytest/static/js/application.js index a2015e00..0d65513b 100644 --- a/server/montytest/static/js/application.js +++ b/server/montytest/static/js/application.js @@ -150,7 +150,7 @@ function notify(title, body, link, fallback) { const notification = new Notification(title, { body: body, requireInteraction: true, - icon: "https://montychess.org/img/monty.png", + icon: "https://tests.montychess.org/img/monty.png", }); notification.onclick = () => { window.open(link, "_blank"); diff --git a/server/montytest/templates/base.mak b/server/montytest/templates/base.mak index 1ab81678..0a764510 100644 --- a/server/montytest/templates/base.mak +++ b/server/montytest/templates/base.mak @@ -341,7 +341,7 @@