Partial work cleaning up front & backends
This commit is contained in:
1 parent
09cc9d1949
commit
9c488fb521
17 files changed
+483
-349
No files matched your search
+55
-31
@@ -1,41 +1,65 @@
|
||||
from django.urls import path
|
||||
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
|
||||
# #
|
||||
# OpenBench is a chess engine testing framework authored by Andrew Grant. #
|
||||
# <https://github.com/AndyGrant/OpenBench> <andrew@grantnet.us> #
|
||||
# #
|
||||
# OpenBench is free software: you can redistribute it and/or modify #
|
||||
# it under the terms of the GNU General Public License as published by #
|
||||
# the Free Software Foundation, either version 3 of the License, or #
|
||||
# (at your option) any later version. #
|
||||
# #
|
||||
# OpenBench is distributed in the hope that it will be useful, #
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of #
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
|
||||
# GNU General Public License for more details. #
|
||||
# #
|
||||
# You should have received a copy of the GNU General Public License #
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>. #
|
||||
# #
|
||||
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
|
||||
|
||||
import OpenBench.views
|
||||
import django.urls, OpenBench.views
|
||||
|
||||
urlpatterns = [
|
||||
path(r'register/', OpenBench.views.register),
|
||||
path(r'login/', OpenBench.views.login),
|
||||
path(r'logout/', OpenBench.views.logout),
|
||||
|
||||
path(r'viewProfile/', OpenBench.views.viewProfile),
|
||||
path(r'editProfile/', OpenBench.views.editProfile),
|
||||
# Links for account managment
|
||||
django.urls.path(r'register/', OpenBench.views.register),
|
||||
django.urls.path(r'login/', OpenBench.views.login),
|
||||
django.urls.path(r'logout/', OpenBench.views.logout),
|
||||
django.urls.path(r'viewProfile/', OpenBench.views.viewProfile),
|
||||
django.urls.path(r'editProfile/', OpenBench.views.editProfile),
|
||||
|
||||
path(r'index/', OpenBench.views.index),
|
||||
path(r'index/<int:page>/', OpenBench.views.index),
|
||||
path(r'greens/', OpenBench.views.greens),
|
||||
path(r'greens/<int:page>/', OpenBench.views.greens),
|
||||
path(r'search/', OpenBench.views.search),
|
||||
path(r'viewUser/<str:username>/', OpenBench.views.viewUser),
|
||||
path(r'viewUser/<str:username>/<int:page>/', OpenBench.views.viewUser),
|
||||
# Links for viewing test tables
|
||||
django.urls.path(r'index/', OpenBench.views.index),
|
||||
django.urls.path(r'index/<int:page>/', OpenBench.views.index),
|
||||
django.urls.path(r'greens/', OpenBench.views.greens),
|
||||
django.urls.path(r'greens/<int:page>/', OpenBench.views.greens),
|
||||
django.urls.path(r'search/', OpenBench.views.search),
|
||||
django.urls.path(r'viewUser/<str:username>/', OpenBench.views.viewUser),
|
||||
django.urls.path(r'viewUser/<str:username>/<int:page>/', OpenBench.views.viewUser),
|
||||
|
||||
path(r'users/', OpenBench.views.users),
|
||||
path(r'machines/', OpenBench.views.machines),
|
||||
path(r'eventLog/', OpenBench.views.eventLog),
|
||||
path(r'eventLog/<int:page>/', OpenBench.views.eventLog),
|
||||
# Links for viewing general information tables
|
||||
django.urls.path(r'users/', OpenBench.views.users),
|
||||
django.urls.path(r'machines/', OpenBench.views.machines),
|
||||
django.urls.path(r'eventLog/', OpenBench.views.eventLog),
|
||||
django.urls.path(r'eventLog/<int:page>/', OpenBench.views.eventLog),
|
||||
|
||||
path(r'newTest/', OpenBench.views.newTest),
|
||||
path(r'viewTest/<int:id>/', OpenBench.views.viewTest),
|
||||
path(r'editTest/<int:id>/', OpenBench.views.editTest),
|
||||
path(r'approveTest/<int:id>/', OpenBench.views.approveTest),
|
||||
path(r'restartTest/<int:id>/', OpenBench.views.restartTest),
|
||||
path(r'stopTest/<int:id>/', OpenBench.views.stopTest),
|
||||
path(r'deleteTest/<int:id>/', OpenBench.views.deleteTest),
|
||||
# Links for viewing and managing tests
|
||||
django.urls.path(r'newTest/', OpenBench.views.newTest),
|
||||
django.urls.path(r'viewTest/<int:id>/', OpenBench.views.viewTest),
|
||||
django.urls.path(r'editTest/<int:id>/', OpenBench.views.editTest),
|
||||
django.urls.path(r'approveTest/<int:id>/', OpenBench.views.approveTest),
|
||||
django.urls.path(r'restartTest/<int:id>/', OpenBench.views.restartTest),
|
||||
django.urls.path(r'stopTest/<int:id>/', OpenBench.views.stopTest),
|
||||
django.urls.path(r'deleteTest/<int:id>/', OpenBench.views.deleteTest),
|
||||
|
||||
path(r'getFiles/', OpenBench.views.getFiles),
|
||||
path(r'getWorkload/', OpenBench.views.getWorkload),
|
||||
path(r'wrongBench/', OpenBench.views.wrongBench),
|
||||
path(r'submitNPS/', OpenBench.views.submitNPS),
|
||||
path(r'submitResults/', OpenBench.views.submitResults),
|
||||
# Links for the Client to update the Server
|
||||
django.urls.path(r'getFiles/', OpenBench.views.getFiles),
|
||||
django.urls.path(r'getWorkload/', OpenBench.views.getWorkload),
|
||||
django.urls.path(r'wrongBench/', OpenBench.views.wrongBench),
|
||||
django.urls.path(r'submitNPS/', OpenBench.views.submitNPS),
|
||||
django.urls.path(r'submitResults/', OpenBench.views.submitResults),
|
||||
|
||||
path(r'', OpenBench.views.index),
|
||||
# Redirect anything else to the Index
|
||||
django.urls.path(r'', OpenBench.views.index),
|
||||
]
|
||||
Reference in new issue
Block a user