Compare commits

...

39 Commits

Author SHA1 Message Date
sigonasr2 09c327ec69 Update app to incorporate sigcrafting inventory endpoints 2 years ago
sigonasr2 8eabca4138 Making updates to sigcrafting 2 years ago
sigonasr2 7dd9f5d0b5 New routes to include playerID 3 years ago
sigonasr2 8eb1e136c4 Fix conflicts 3 years ago
sigonasr2 1c3f1d5dbe Server milestone update 3 years ago
sigonasr2, Sig, Sigo 75719f272e Fix up setupTest Environment 3 years ago
sigonasr2, Sig, Sigo c724f6bcdc Include start script 3 years ago
sigonasr2, Sig, Sigo 2536ec10fc Include ngsplanner main database in setup environment file. 3 years ago
sigonasr2, Sig, Sigo 64e6548bda Login verification working. 3 years ago
sigonasr2, Sig, Sigo d87307a370 Add recovery_hash field to users table. 3 years ago
sigonasr2, Sig, Sigo f1b75549f1 sync backend 3 years ago
sigonasr2, Sig, Sigo c8137c3cca Update icon column for photon arts table 3 years ago
sigonasr2, Sig, Sigo 6eed25f1b0 updated 3 years ago
sigonasr2, Sig, Sigo 677857ae43 Include new database management endpoints 3 years ago
sigonasr2 847def6d39 Something useful probably 3 years ago
sigonasr2 ba4e2da33f Make changes to server 3 years ago
sigonasr2, Sig, Sigo 7f5f409897 Apply "iterative" database approach to new backend. 3 years ago
sigonasr2, Sig, Sigo ab93edc998 Apply changes to test backend. 3 years ago
sigonasr2, Sig, Sigo d1e49fcffe Add pruneall script and updated server to handle new field types 3 years ago
sigonasr2, Sig, Sigo f5af5be588 include gitpod test auto-generated URL variable. 3 years ago
sigonasr2, Sig, Sigo 3f5ea498bc adjust test environment script to populate test database properly. 3 years ago
sigonasr2, Sig, Sigo e3022f9af8 redo postgres docker instance 3 years ago
sigonasr2, Sig, Sigo bdff5140f3 Setup all test environment requirements and automation. 3 years ago
sigonasr2, Sig, Sigo 85dab6d0de Update workspace. 3 years ago
sigonasr2, Sig, Sigo e01d3b3af4 update test environment script to include other projects. 3 years ago
sigonasr2, Sig, Sigo 8278ecefdd Create test environment startup script and update workspace. 3 years ago
sigonasr2, Sig, Sigo d71fe52e17 include useful gitpod items 3 years ago
sigonasr2, Sig, Sigo 9e65e75265 update endpoints to properly use /ngsplanner without affecting table names. 3 years ago
sigonasr2, Sig, Sigo 5e0e9e541f setup all endpoints 3 years ago
sigonasr2, Sig, Sigo 48058b4cb4 whoops. https 3 years ago
sigonasr2, Sig, Sigo b136f02833 add error message 3 years ago
sigonasr2, Sig, Sigo 63c2df4e03 messages 3 years ago
sigonasr2, Sig, Sigo fe0fef968a prove to me this is working 3 years ago
sigonasr2, Sig, Sigo dcd6e2c31f Try single endpoint 3 years ago
sigonasr2, Sig, Sigo 0582793805 update proxy 3 years ago
sigonasr2, Sig, Sigo f422c2b4ce Change endpoint prefixes to /ngsplanner 3 years ago
sigonasr2, Sig, Sigo dc4805eb9b Add in endpoints for a test http server version of ngsplanner_backend 3 years ago
sigonasr2 b38a54a3c3 General commit 3 years ago
sigonasr2 ef9d324cc8 Process en data 3 years ago
  1. 0
      Dockerfile
  2. 0
      ProjectDivaR New Songs Instructions.txt
  3. 0
      divabotguardian/.gitignore
  4. 0
      divabotguardian/cropped.png
  5. 0
      divabotguardian/guardian.log
  6. 0
      divabotguardian/hs_err_pid3040.log
  7. 0
      divabotguardian/hs_err_pid38.log
  8. 0
      divabotguardian/hs_err_pid39.log
  9. 0
      divabotguardian/hs_err_pid582.log
  10. 0
      divabotguardian/hs_err_pid78.log
  11. 0
      divabotguardian/lib/httpclient-4.5.12.jar
  12. 0
      divabotguardian/lib/httpcore-4.4.13.jar
  13. 0
      divabotguardian/log/ffmpeg3.log
  14. 0
      divabotguardian/log/guardian3.log
  15. 0
      divabotguardian/monitor.log
  16. 0
      divabotguardian/processes/3.divabotguardian
  17. 0
      divabotguardian/processes/3.ffmpeg
  18. 0
      divabotguardian/streams/tempoutput0_3.png
  19. 0
      divabotguardian/streams/tempoutput1_3.png
  20. 0
      divabotguardian/streams/tempoutput2_3.png
  21. 0
      divabotguardian/streams/tempoutput3.png
  22. 0
      divabotguardian/streams/tempoutput3_3.png
  23. 0
      divabotguardian/streams/tempoutput4_3.png
  24. 0
      divabotguardian/streams/tempoutput5_3.png
  25. 0
      divabotguardian/streams/tempoutput6_3.png
  26. 0
      divabotguardian/streams/tempoutput7_3.png
  27. 0
      divabotguardian/streams/tempoutput8_3.png
  28. 0
      divabotguardian/streams/tempoutput9_3.png
  29. 65
      docker-compose.yml
  30. 1
      docker_terminal
  31. 0
      frontend/.dockerignore
  32. 0
      frontend/.gitignore
  33. 2
      frontend/Dockerfile
  34. 0
      frontend/Dockerfile.prod
  35. 0
      frontend/README.md
  36. 0
      frontend/images/cool.64
  37. 0
      frontend/images/cool.png
  38. 0
      frontend/images/cross.64
  39. 0
      frontend/images/cross.png
  40. 0
      frontend/images/cross_shadow.64
  41. 0
      frontend/images/cross_shadow.png
  42. 0
      frontend/images/divar.64
  43. 0
      frontend/images/divar.png
  44. 0
      frontend/images/fine.64
  45. 0
      frontend/images/fine.png
  46. 0
      frontend/images/note_arrow.64
  47. 0
      frontend/images/note_arrow.png
  48. 0
      frontend/images/note_circle.64
  49. 0
      frontend/images/note_circle.png
  50. 0
      frontend/images/note_circle_shadow.64
  51. 0
      frontend/images/note_circle_shadow.png
  52. 0
      frontend/images/sad.64
  53. 0
      frontend/images/sad.png
  54. 0
      frontend/images/safe.64
  55. 0
      frontend/images/safe.png
  56. 0
      frontend/images/square.64
  57. 0
      frontend/images/square.png
  58. 0
      frontend/images/square_shadow.64
  59. 0
      frontend/images/square_shadow.png
  60. 0
      frontend/images/triangle.64
  61. 0
      frontend/images/triangle.png
  62. 0
      frontend/images/triangle_shadow.64
  63. 0
      frontend/images/triangle_shadow.png
  64. 0
      frontend/images/worst.64
  65. 0
      frontend/images/worst.png
  66. 109
      frontend/package-lock.json
  67. 2
      frontend/package.json
  68. 0
      frontend/public/ACROTSRG.TTF
  69. 0
      frontend/public/apple_icon.png
  70. 0
      frontend/public/bootstrap.min.css
  71. 0
      frontend/public/bootstrap.min.js
  72. 0
      frontend/public/favicon.ico
  73. 0
      frontend/public/index.html
  74. 0
      frontend/public/logo192.png
  75. 0
      frontend/public/logo512.png
  76. 0
      frontend/public/manifest.json
  77. 0
      frontend/public/robots.txt
  78. 0
      frontend/public/stars.png
  79. 0
      frontend/src/App.css
  80. 349
      frontend/src/App.js
  81. 0
      frontend/src/App.test.js
  82. 0
      frontend/src/fonts/ACROTSRG.TTF
  83. 0
      frontend/src/index.css
  84. 0
      frontend/src/index.js
  85. 0
      frontend/src/logo.svg
  86. 0
      frontend/src/serviceWorker.js
  87. 851
      frontend/src/setupProxy.js
  88. 0
      frontend/src/setupTests.js
  89. 0
      imgparser/.gradle/6.4.1/executionHistory/executionHistory.bin
  90. 0
      imgparser/.gradle/6.4.1/executionHistory/executionHistory.lock
  91. 0
      imgparser/.gradle/6.4.1/fileChanges/last-build.bin
  92. 0
      imgparser/.gradle/6.4.1/fileContent/fileContent.lock
  93. 0
      imgparser/.gradle/6.4.1/fileHashes/fileHashes.bin
  94. 0
      imgparser/.gradle/6.4.1/fileHashes/fileHashes.lock
  95. 0
      imgparser/.gradle/6.4.1/gc.properties
  96. 0
      imgparser/.gradle/6.4.1/javaCompile/classAnalysis.bin
  97. 0
      imgparser/.gradle/6.4.1/javaCompile/javaCompile.lock
  98. 0
      imgparser/.gradle/6.4.1/javaCompile/taskHistory.bin
  99. 0
      imgparser/.gradle/buildOutputCleanup/buildOutputCleanup.lock
  100. 0
      imgparser/.gradle/buildOutputCleanup/cache.properties
  101. Some files were not shown because too many files have changed in this diff Show More

Before

Width:  |  Height:  |  Size: 379 KiB

After

Width:  |  Height:  |  Size: 379 KiB

Before

Width:  |  Height:  |  Size: 47 KiB

After

Width:  |  Height:  |  Size: 47 KiB

Before

Width:  |  Height:  |  Size: 47 KiB

After

Width:  |  Height:  |  Size: 47 KiB

Before

Width:  |  Height:  |  Size: 47 KiB

After

Width:  |  Height:  |  Size: 47 KiB

Before

Width:  |  Height:  |  Size: 848 KiB

After

Width:  |  Height:  |  Size: 848 KiB

Before

Width:  |  Height:  |  Size: 47 KiB

After

Width:  |  Height:  |  Size: 47 KiB

Before

Width:  |  Height:  |  Size: 47 KiB

After

Width:  |  Height:  |  Size: 47 KiB

Before

Width:  |  Height:  |  Size: 47 KiB

After

Width:  |  Height:  |  Size: 47 KiB

Before

Width:  |  Height:  |  Size: 47 KiB

After

Width:  |  Height:  |  Size: 47 KiB

Before

Width:  |  Height:  |  Size: 47 KiB

After

Width:  |  Height:  |  Size: 47 KiB

Before

Width:  |  Height:  |  Size: 47 KiB

After

Width:  |  Height:  |  Size: 47 KiB

Before

Width:  |  Height:  |  Size: 47 KiB

After

Width:  |  Height:  |  Size: 47 KiB

@ -18,15 +18,34 @@ services:
options: options:
max-size: "1m" max-size: "1m"
max-file: "3" max-file: "3"
imgparser: server2:
build: imgparser build: server2
restart: always depends_on:
- postgres
ports: ports:
- "4503:4503" - "443:443"
working_dir: /server2
volumes: volumes:
- ./imgparser:/imgparser - ./server2:/server2
working_dir: /imgparser/projectDivaImgParser env_file:
- ./server/.env.twitter
logging:
options:
max-size: "1m"
max-file: "3"
server3:
build: server3
depends_on:
- postgres
ports:
- "4505:4505"
working_dir: /server3
volumes:
- ./server3:/server3
env_file:
- ./server/.env.twitter
logging: logging:
options: options:
max-size: "1m" max-size: "1m"
@ -38,7 +57,7 @@ services:
ports: ports:
- "4502:5432" - "4502:5432"
volumes: volumes:
- ./init.sql:/docker-entrypoint-initdb.d/init.sql - ./init2.sql:/docker-entrypoint-initdb.d/init.sql
- ./postgres-data:/var/lib/postgresql/data - ./postgres-data:/var/lib/postgresql/data
environment: environment:
POSTGRES_USER: postgres POSTGRES_USER: postgres
@ -47,7 +66,7 @@ services:
options: options:
max-size: "1m" max-size: "1m"
max-file: "3" max-file: "3"
frontend: frontend:
build: build:
context: frontend context: frontend
@ -57,7 +76,7 @@ services:
- postgres - postgres
- server - server
ports: ports:
- "80:3000" - "4500:3000"
environment: environment:
- CHOKIDAR_USEPOLLING=true - CHOKIDAR_USEPOLLING=true
stdin_open: true stdin_open: true
@ -71,6 +90,30 @@ services:
options: options:
max-size: "1m" max-size: "1m"
max-file: "3" max-file: "3"
sigcrafting:
build:
context: sigcrafting
dockerfile: Dockerfile
restart: on-failure
depends_on:
- postgres
- server
ports:
- "3001:3001"
environment:
- CHOKIDAR_USEPOLLING=true
stdin_open: true
working_dir: /sigcrafting
env_file:
- ./sigcrafting/.env
volumes:
- /app/node_modules
- ./sigcrafting:/sigcrafting
logging:
options:
max-size: "1m"
max-file: "3"
# prod-frontend: # prod-frontend:
@ -78,4 +121,4 @@ services:
# context: frontend # context: frontend
# dockerfile: Dockerfile.prod # dockerfile: Dockerfile.prod
# ports: # ports:
# - '3004:80' # - '3004:80'

@ -0,0 +1 @@
docker exec -it $1 bash

@ -9,7 +9,7 @@ ENV PATH /app/node_modules/.bin:$PATH
COPY . /app COPY . /app
RUN npm install --silent RUN npm install -y --silent
RUN npm rebuild node-sass RUN npm rebuild node-sass
CMD ["npm", "start"] CMD ["npm", "start"]

Before

Width:  |  Height:  |  Size: 4.2 KiB

After

Width:  |  Height:  |  Size: 4.2 KiB

Before

Width:  |  Height:  |  Size: 8.4 KiB

After

Width:  |  Height:  |  Size: 8.4 KiB

Before

Width:  |  Height:  |  Size: 2.3 KiB

After

Width:  |  Height:  |  Size: 2.3 KiB

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 14 KiB

Before

Width:  |  Height:  |  Size: 3.3 KiB

After

Width:  |  Height:  |  Size: 3.3 KiB

Before

Width:  |  Height:  |  Size: 1.0 KiB

After

Width:  |  Height:  |  Size: 1.0 KiB

Before

Width:  |  Height:  |  Size: 6.8 KiB

After

Width:  |  Height:  |  Size: 6.8 KiB

Before

Width:  |  Height:  |  Size: 3.1 KiB

After

Width:  |  Height:  |  Size: 3.1 KiB

Before

Width:  |  Height:  |  Size: 3.1 KiB

After

Width:  |  Height:  |  Size: 3.1 KiB

Before

Width:  |  Height:  |  Size: 3.8 KiB

After

Width:  |  Height:  |  Size: 3.8 KiB

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

Before

Width:  |  Height:  |  Size: 822 B

After

Width:  |  Height:  |  Size: 822 B

Before

Width:  |  Height:  |  Size: 5.5 KiB

After

Width:  |  Height:  |  Size: 5.5 KiB

Before

Width:  |  Height:  |  Size: 1.8 KiB

After

Width:  |  Height:  |  Size: 1.8 KiB

Before

Width:  |  Height:  |  Size: 5.1 KiB

After

Width:  |  Height:  |  Size: 5.1 KiB

@ -1361,6 +1361,11 @@
"resolved": "https://registry.npmjs.org/@popperjs/core/-/core-2.4.4.tgz", "resolved": "https://registry.npmjs.org/@popperjs/core/-/core-2.4.4.tgz",
"integrity": "sha512-1oO6+dN5kdIA3sKPZhRGJTfGVP4SWV6KqlMOwry4J3HfyD68sl/3KmG7DeYUzvN+RbhXDnv/D8vNNB8168tAMg==" "integrity": "sha512-1oO6+dN5kdIA3sKPZhRGJTfGVP4SWV6KqlMOwry4J3HfyD68sl/3KmG7DeYUzvN+RbhXDnv/D8vNNB8168tAMg=="
}, },
"@reach/observe-rect": {
"version": "1.2.0",
"resolved": "https://registry.npmjs.org/@reach/observe-rect/-/observe-rect-1.2.0.tgz",
"integrity": "sha512-Ba7HmkFgfQxZqqaeIWWkNK0rEhpxVQHIoVyW1YDSkGsGIXzcaW4deC8B0pZrNSSyLTdIk7y+5olKt5+g0GmFIQ=="
},
"@restart/context": { "@restart/context": {
"version": "2.1.4", "version": "2.1.4",
"resolved": "https://registry.npmjs.org/@restart/context/-/context-2.1.4.tgz", "resolved": "https://registry.npmjs.org/@restart/context/-/context-2.1.4.tgz",
@ -3710,6 +3715,11 @@
"resolved": "https://registry.npmjs.org/component-emitter/-/component-emitter-1.3.0.tgz", "resolved": "https://registry.npmjs.org/component-emitter/-/component-emitter-1.3.0.tgz",
"integrity": "sha512-Rd3se6QB+sO1TwqZjscQrurpEPIfO0/yYnSin6Q/rD3mOutHvUrCAhJub3r90uNb+SESBuE0QYoB90YdfatsRg==" "integrity": "sha512-Rd3se6QB+sO1TwqZjscQrurpEPIfO0/yYnSin6Q/rD3mOutHvUrCAhJub3r90uNb+SESBuE0QYoB90YdfatsRg=="
}, },
"components": {
"version": "0.1.0",
"resolved": "https://registry.npmjs.org/components/-/components-0.1.0.tgz",
"integrity": "sha1-IFfAjpx78mYv7slcSeX/Kpq4XtU="
},
"compose-function": { "compose-function": {
"version": "3.0.3", "version": "3.0.3",
"resolved": "https://registry.npmjs.org/compose-function/-/compose-function-3.0.3.tgz", "resolved": "https://registry.npmjs.org/compose-function/-/compose-function-3.0.3.tgz",
@ -4273,6 +4283,83 @@
"type": "^1.0.1" "type": "^1.0.1"
} }
}, },
"d3-array": {
"version": "2.11.0",
"resolved": "https://registry.npmjs.org/d3-array/-/d3-array-2.11.0.tgz",
"integrity": "sha512-26clcwmHQEdsLv34oNKq5Ia9tQ26Y/4HqS3dQzF42QBUqymZJ+9PORcN1G52bt37NsL2ABoX4lvyYZc+A9Y0zw==",
"requires": {
"internmap": "^1.0.0"
}
},
"d3-color": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/d3-color/-/d3-color-2.0.0.tgz",
"integrity": "sha512-SPXi0TSKPD4g9tw0NMZFnR95XVgUZiBH+uUTqQuDu1OsE2zomHU7ho0FISciaPvosimixwHFl3WHLGabv6dDgQ=="
},
"d3-delaunay": {
"version": "5.3.0",
"resolved": "https://registry.npmjs.org/d3-delaunay/-/d3-delaunay-5.3.0.tgz",
"integrity": "sha512-amALSrOllWVLaHTnDLHwMIiz0d1bBu9gZXd1FiLfXf8sHcX9jrcj81TVZOqD4UX7MgBZZ07c8GxzEgBpJqc74w==",
"requires": {
"delaunator": "4"
}
},
"d3-format": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/d3-format/-/d3-format-2.0.0.tgz",
"integrity": "sha512-Ab3S6XuE/Q+flY96HXT0jOXcM4EAClYFnRGY5zsjRGNy6qCYrQsMffs7cV5Q9xejb35zxW5hf/guKw34kvIKsA=="
},
"d3-interpolate": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/d3-interpolate/-/d3-interpolate-2.0.1.tgz",
"integrity": "sha512-c5UhwwTs/yybcmTpAVqwSFl6vrQ8JZJoT5F7xNFK9pymv5C0Ymcc9/LIJHtYIggg/yS9YHw8i8O8tgb9pupjeQ==",
"requires": {
"d3-color": "1 - 2"
}
},
"d3-path": {
"version": "1.0.9",
"resolved": "https://registry.npmjs.org/d3-path/-/d3-path-1.0.9.tgz",
"integrity": "sha512-VLaYcn81dtHVTjEHd8B+pbe9yHWpXKZUC87PzoFmsFrJqgFwDe/qxfp5MlfsfM1V5E/iVt0MmEbWQ7FVIXh/bg=="
},
"d3-scale": {
"version": "3.2.3",
"resolved": "https://registry.npmjs.org/d3-scale/-/d3-scale-3.2.3.tgz",
"integrity": "sha512-8E37oWEmEzj57bHcnjPVOBS3n4jqakOeuv1EDdQSiSrYnMCBdMd3nc4HtKk7uia8DUHcY/CGuJ42xxgtEYrX0g==",
"requires": {
"d3-array": "^2.3.0",
"d3-format": "1 - 2",
"d3-interpolate": "1.2.0 - 2",
"d3-time": "1 - 2",
"d3-time-format": "2 - 3"
}
},
"d3-shape": {
"version": "1.3.7",
"resolved": "https://registry.npmjs.org/d3-shape/-/d3-shape-1.3.7.tgz",
"integrity": "sha512-EUkvKjqPFUAZyOlhY5gzCxCeI0Aep04LwIRpsZ/mLFelJiUfnK56jo5JMDSE7yyP2kLSb6LtF+S5chMk7uqPqw==",
"requires": {
"d3-path": "1"
}
},
"d3-time": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/d3-time/-/d3-time-2.0.0.tgz",
"integrity": "sha512-2mvhstTFcMvwStWd9Tj3e6CEqtOivtD8AUiHT8ido/xmzrI9ijrUUihZ6nHuf/vsScRBonagOdj0Vv+SEL5G3Q=="
},
"d3-time-format": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/d3-time-format/-/d3-time-format-3.0.0.tgz",
"integrity": "sha512-UXJh6EKsHBTjopVqZBhFysQcoXSv/5yLONZvkQ5Kk3qbwiUYkdX17Xa1PT6U1ZWXGGfB1ey5L8dKMlFq2DO0Ag==",
"requires": {
"d3-time": "1 - 2"
}
},
"d3-voronoi": {
"version": "1.1.4",
"resolved": "https://registry.npmjs.org/d3-voronoi/-/d3-voronoi-1.1.4.tgz",
"integrity": "sha512-dArJ32hchFsrQ8uMiTBLq256MpnZjeuBtdHpaDlYuQyjU0CVzCJl/BVW+SkszaAeH95D/8gxqAhgx0ouAWAfRg=="
},
"damerau-levenshtein": { "damerau-levenshtein": {
"version": "1.0.6", "version": "1.0.6",
"resolved": "https://registry.npmjs.org/damerau-levenshtein/-/damerau-levenshtein-1.0.6.tgz", "resolved": "https://registry.npmjs.org/damerau-levenshtein/-/damerau-levenshtein-1.0.6.tgz",
@ -4448,6 +4535,11 @@
} }
} }
}, },
"delaunator": {
"version": "4.0.1",
"resolved": "https://registry.npmjs.org/delaunator/-/delaunator-4.0.1.tgz",
"integrity": "sha512-WNPWi1IRKZfCt/qIDMfERkDp93+iZEmOxN2yy4Jg+Xhv8SLk2UTqqbe1sfiipn0and9QrE914/ihdx82Y/Giag=="
},
"delayed-stream": { "delayed-stream": {
"version": "1.0.0", "version": "1.0.0",
"resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz",
@ -6849,6 +6941,11 @@
"side-channel": "^1.0.2" "side-channel": "^1.0.2"
} }
}, },
"internmap": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/internmap/-/internmap-1.0.0.tgz",
"integrity": "sha512-SdoDWwNOTE2n4JWUsLn4KXZGuZPjPF9yyOGc8bnfWnBQh7BD/l80rzSznKc/r4Y0aQ7z3RTk9X+tV4tHBpu+dA=="
},
"invariant": { "invariant": {
"version": "2.2.4", "version": "2.2.4",
"resolved": "https://registry.npmjs.org/invariant/-/invariant-2.2.4.tgz", "resolved": "https://registry.npmjs.org/invariant/-/invariant-2.2.4.tgz",
@ -10573,6 +10670,18 @@
"prop-types": "^15.7.2" "prop-types": "^15.7.2"
} }
}, },
"react-charts": {
"version": "2.0.0-beta.7",
"resolved": "https://registry.npmjs.org/react-charts/-/react-charts-2.0.0-beta.7.tgz",
"integrity": "sha512-iUspg9rnx7kD0H/wsK67HNUioOgKgJ8WRXr/Tk3EGP2qcFb9Vo7pjDk4oz1jH12TC+mqL+HFxNYraMkhWd6CUw==",
"requires": {
"@reach/observe-rect": "^1.1.0",
"d3-delaunay": "^5.2.1",
"d3-scale": "^3.2.1",
"d3-shape": "^1.3.7",
"d3-voronoi": "^1.1.2"
}
},
"react-dev-utils": { "react-dev-utils": {
"version": "10.2.1", "version": "10.2.1",
"resolved": "https://registry.npmjs.org/react-dev-utils/-/react-dev-utils-10.2.1.tgz", "resolved": "https://registry.npmjs.org/react-dev-utils/-/react-dev-utils-10.2.1.tgz",

@ -9,11 +9,13 @@
"@testing-library/user-event": "^7.2.1", "@testing-library/user-event": "^7.2.1",
"axios": "^0.21.1", "axios": "^0.21.1",
"chart.js": "^2.9.4", "chart.js": "^2.9.4",
"components": "^0.1.0",
"http-proxy-middleware": "^1.0.5", "http-proxy-middleware": "^1.0.5",
"moment": "^2.29.0", "moment": "^2.29.0",
"react": "^16.13.1", "react": "^16.13.1",
"react-bootstrap": "^1.3.0", "react-bootstrap": "^1.3.0",
"react-chartjs-2": "^2.11.1", "react-chartjs-2": "^2.11.1",
"react-charts": "^2.0.0-beta.7",
"react-dom": "^16.13.1", "react-dom": "^16.13.1",
"react-router-dom": "^5.2.0", "react-router-dom": "^5.2.0",
"react-router-hash-link": "^2.1.0", "react-router-hash-link": "^2.1.0",

Before

Width:  |  Height:  |  Size: 55 KiB

After

Width:  |  Height:  |  Size: 55 KiB

Before

Width:  |  Height:  |  Size: 50 KiB

After

Width:  |  Height:  |  Size: 50 KiB

Before

Width:  |  Height:  |  Size: 5.2 KiB

After

Width:  |  Height:  |  Size: 5.2 KiB

Before

Width:  |  Height:  |  Size: 9.4 KiB

After

Width:  |  Height:  |  Size: 9.4 KiB

Before

Width:  |  Height:  |  Size: 412 KiB

After

Width:  |  Height:  |  Size: 412 KiB

@ -1,3 +1,5 @@
import { Chart } from 'react-charts'
import React, {useState,useEffect,useRef} from 'react'; import React, {useState,useEffect,useRef} from 'react';
import logo from './logo.svg'; import logo from './logo.svg';
import './App.css'; import './App.css';
@ -840,7 +842,7 @@ function BestPlaysPanel(p) {
var [update,setUpdate] = useState(false) var [update,setUpdate] = useState(false)
useEffect(()=>{ useEffect(()=>{
axios.get("http://www.projectdivar.com/bestplays/"+p.username+"?fails=false&limit=5&offset=0") axios.get("http://projectdivar.com/bestplays/"+p.username+"?fails=false&limit=5&offset=0")
.then((data)=>{setBestPlays(data.data);}) .then((data)=>{setBestPlays(data.data);})
},[p.profileUpdate,update,p.username]) },[p.profileUpdate,update,p.username])
@ -849,7 +851,7 @@ function BestPlaysPanel(p) {
{bestPlays.map((play,i)=>{return <li key={i} className={"list-group-item list-group-item-action "+(i%2==0?"background-list-1":"background-list-2")}> {bestPlays.map((play,i)=>{return <li key={i} className={"list-group-item list-group-item-action "+(i%2==0?"background-list-1":"background-list-2")}>
<Play setModalSrc={p.setModalSrc} setModalVisible={p.setModalVisible} index={i} play={play} song={p.songs[play.songid]}/> <Play setModalSrc={p.setModalSrc} setModalVisible={p.setModalVisible} index={i} play={play} song={p.songs[play.songid]}/>
</li>})} </li>})}
<LoadMore username={p.username} profileUpdate={p.profileUpdate} listItem={true} url={"http://www.projectdivar.com/bestplays/"+p.username} params={{fails:false,limit:15,offset:5}} value={bestPlays} setValue={setBestPlays}/> <LoadMore username={p.username} profileUpdate={p.profileUpdate} listItem={true} url={"http://projectdivar.com/bestplays/"+p.username} params={{fails:false,limit:15,offset:5}} value={bestPlays} setValue={setBestPlays}/>
</ul> </ul>
</div> </div>
@ -946,7 +948,7 @@ function PlayData(p) {
<h5>Individual Plays for {p.song.name} from {p.username}</h5> <h5>Individual Plays for {p.song.name} from {p.username}</h5>
<div className="border rounded"> <div className="border rounded">
{data.map((play,i)=><Play setModalSrc={p.setModalSrc} setModalVisible={p.setModalVisible} key={i} play={play} mini={true} song={p.song}/>)} {data.map((play,i)=><Play setModalSrc={p.setModalSrc} setModalVisible={p.setModalVisible} key={i} play={play} mini={true} song={p.song}/>)}
<LoadMore profileUpdate={p.profileUpdate} username={p.username} url={"http://www.projectdivar.com/plays/"+p.username+"/"+p.song.id} params={{limit:15,offset:5}} value={data} setValue={setData}/> <LoadMore profileUpdate={p.profileUpdate} username={p.username} url={"http://projectdivar.com/plays/"+p.username+"/"+p.song.id} params={{limit:15,offset:5}} value={data} setValue={setData}/>
</div> </div>
</div> </div>
</> </>
@ -2224,7 +2226,7 @@ function EventEditor() {
const[send,setSend] = useState(false) const[send,setSend] = useState(false)
const[message,setMessage] = useState("") const[message,setMessage] = useState("")
const EVENTID = 10; const EVENTID = 17;
//console.log(moment().format("YYYY-MM-DDTHH:mm")) //console.log(moment().format("YYYY-MM-DDTHH:mm"))
@ -2311,246 +2313,89 @@ function EventEditor() {
</> </>
} }
function ChartData() { function CanEditor() {
const[eventData,setEventData] = useState([]) const [password,setPassword] = useState("");
const[update,setUpdate] = useState(false) const [cans,setCans] = useState(0);
const [chartData,setChartData] = useState([]) const [games,setGames] = useState(0);
const [update,setUpdate] = useState(false)
useEffect(()=>{ useEffect(()=>{
refreshCount()
const interval = setInterval(()=>{ const interval = setInterval(()=>{
axios.get("http://projectdivar.com/eventdata/t20") refreshCount()
.then((data)=>{ },5000);
var values;
data.data.map((obj)=>{if (values[obj.rank]) {values[obj.rank]=[...values[obj.rank],obj]} else {values[obj.rank]=[obj]}})
setEventData(values);
console.log(data.data)
})
.catch((err)=>{})
},30000);
return ()=>{clearInterval(interval)} return ()=>{clearInterval(interval)}
},[update]) },[update])
useEffect(()=>{ useEffect(()=>{
console.log(eventData)
setChartData( },[password])
{
datasets: [{ function refreshCount() {
label: 'T1', axios.get("http://projectdivar.com/cans")
data: GetChartData(eventData,1), .then((data)=>{
backgroundColor: [ if (data.data.cans>cans) {
'rgba(255, 99, 132, 0.05)', setCans(data.data.cans)
'rgba(54, 162, 235, 0.05)',
'rgba(255, 206, 86, 0.05)',
'rgba(75, 192, 192, 0.05)',
'rgba(153, 102, 255, 0.05)',
'rgba(255, 159, 64, 0.05)'
],
borderColor: [
'rgba(255, 99, 132, 1)',
'rgba(54, 162, 235, 1)',
'rgba(255, 206, 86, 1)',
'rgba(75, 192, 192, 1)',
'rgba(153, 102, 255, 1)',
'rgba(255, 159, 64, 1)'
]
},{
label: 'T2',
data: GetChartData(eventData,2),
backgroundColor: [
'rgba(54, 162, 235, 0.05)'
],
borderColor: [
'rgba(54, 162, 235, 1)'
]
},{
label: 'T3',
data: GetChartData(eventData,3),
backgroundColor: [
'rgba(255, 206, 86, 0.05)',
],
borderColor: [
'rgba(255, 206, 86, 1)',
]
},{
label: 'T4',
data: GetChartData(eventData,4),
backgroundColor: [
'rgba(75, 192, 192, 0.05)',
],
borderColor: [
'rgba(75, 192, 192, 1)',
]
},{
label: 'T5',
data: GetChartData(eventData,5),
backgroundColor: [
'rgba(153, 102, 255, 0.05)',
],
borderColor: [
'rgba(153, 102, 255, 1)',
]
},{
label: 'T6',
data: GetChartData(eventData,6),
backgroundColor: [
'rgba(255, 159, 64, 0.05)'
],
borderColor: [
'rgba(255, 159, 64, 1)'
]
},{
label: 'T7',
data: GetChartData(eventData,7),
backgroundColor: [
'rgba(255, 99, 132, 0.05)'
],
borderColor: [
'rgba(255, 99, 132, 1)'
]
},{
label: 'T8',
data: GetChartData(eventData,8),
backgroundColor: [
'rgba(54, 162, 235, 0.05)'
],
borderColor: [
'rgba(54, 162, 235, 1)'
]
},{
label: 'T9',
data: GetChartData(eventData,9),
backgroundColor: [
'rgba(255, 206, 86, 0.05)'
],
borderColor: [
'rgba(255, 206, 86, 1)'
]
},{
label: 'T10',
data: GetChartData(eventData,10),
backgroundColor: [
'rgba(75, 192, 192, 0.05)'
],
borderColor: [
'rgba(75, 192, 192, 1)'
]
},{
label: 'T20',
data: GetChartData(eventData,20),
backgroundColor: [
'rgba(0, 0, 0, 0.05)'
],
borderColor: [
'rgba(0, 0, 0, 1)'
]
},{
label: 'T50',
data: GetChartData(eventData,50),
backgroundColor: [
'rgba(255, 255, 255, 0.5)'
],
borderColor: [
'rgba(255, 255, 255, 1)'
]
}
,{
label: 'T100',
data: GetChartData(eventData,100),
backgroundColor: [
'rgba(150, 255, 150, 0.5)'
],
borderColor: [
'rgba(150, 255, 150, 1)'
]
},{
label: 'T500',
data: GetChartData(eventData,500),
backgroundColor: [
'rgba(160, 0, 0, 0.5)'
],
borderColor: [
'rgba(160, 0, 0, 1)'
]
},{
label: 'T1000',
data: GetChartData(eventData,1000),
backgroundColor: [
'rgba(255, 150, 150, 0.5)'
],
borderColor: [
'rgba(255, 150, 150, 1)'
]
},{
label: 'T5000',
data: GetChartData(eventData,5000),
backgroundColor: [
'rgba(0, 140, 0, 0.5)'
],
borderColor: [
'rgba(0, 140, 0, 1)'
]
},{
label: 'T10000',
data: GetChartData(eventData,10000),
backgroundColor: [
'rgba(30, 30, 255, 0.5)'
],
borderColor: [
'rgba(30, 30, 255, 1)'
]
}/*,{
label: 'T100 HAPPY FORTUNE NEW YEAR',
data: [
{x:moment('2021-01-12 12:00:00+09:00').add(0,'days').add(0,'hours'),y:0},
{x:moment('2021-01-12 12:00:00+09:00').add(0,'days').add(7,'hours'),y:54036},
{x:moment('2021-01-12 12:00:00+09:00').add(4,'days').add(23,'hours'),y:451398},
{x:moment('2021-01-12 12:00:00+09:00').add(5,'days').add(3,'hours'),y:470204},
{x:moment('2021-01-12 12:00:00+09:00').add(7,'days').add(18,'hours'),y:671150},
{x:moment('2021-01-12 12:00:00+09:00').add(8,'days').add(15,'hours'),y:915147},
{x:moment('2021-01-12 12:00:00+09:00').add(8,'days').add(17,'hours'),y:952330},
{x:moment('2021-01-12 12:00:00+09:00').add(8,'days').add(19,'hours'),y:988548},
{x:moment('2021-01-12 12:00:00+09:00').add(8,'days').add(21,'hours'),y:1027488},
],
backgroundColor: [
'rgba(255, 255, 150, 0.5)'
],
borderColor: [
'rgba(255, 255, 150, 1)'
]
}*/],
options: {
scales: {
yAxes: [{
ticks: {
beginAtZero: true,
}
}],
xAxes: [{
type: 'time',
time: {
unit: 'hours',
displayFormats: {
hours: 'MMM D hA'
}
},
ticks: {
min:EVENTSTART,
max:EVENTEND
},
distribution: 'linear'
}]
}
}
} }
) if (data.data.cans+data.data.notcan>games) {
},[eventData]) setGames(Number(data.data.cans)+Number(data.data.notcan))
}
return ( })
<> }
<h1>繋ぎ手たちは導かれ前編</h1>
<Line data={chartData} /> function sendRequest(cans) {
</> axios.post("http://projectdivar.com/cans",{cans:cans})
) .then((data)=>{
refreshCount()
})
}
function addCan(t) {
setCans(Number(cans)+1)
setGames(Number(games)+1)
sendRequest(true)
}
function addGame(t) {
setGames(Number(games)+1)
sendRequest(false)
}
return <>
<div className="container">
<div className="row">
<div className="col-12 text-center">
<h3>Can %</h3>
<h1>{((cans/games)*100).toFixed(2)+"%"}</h1>
</div>
</div>
<div className="row">
<div className="col-6 text-center">
<h5>Cans</h5>
<h1>{cans}</h1>
</div>
<div className="col-6 text-center">
<h5>Total Games</h5>
<h1>{games}</h1>
</div>
</div>
</div>
{/*{password!=="muni_62"&&<>
<b>Password to Edit:</b>
<input type="password" placeholder="Password" onChange={(t)=>{
setPassword(t.currentTarget.value)
}}
/></>}
{password=="muni_62"&&<>
<div className="row">
<div className="col-6 text-center">
<button onClick={(t)=>{addGame(t)}}>No Can</button>
</div>
<div className="col-6 text-center">
<button onClick={(t)=>{addCan(t)}}>Can</button>
</div>
</div>
</>}*/}
</>
} }
function Website() { function Website() {
@ -2562,7 +2407,7 @@ function Website() {
const [userSettings,setUserSettings] = useState({}) const [userSettings,setUserSettings] = useState({})
useEffect(()=>{ useEffect(()=>{
axios.get("http://www.projectdivar.com/songs") axios.get("http://.projectdivar.com/songs")
.then((data)=>{ .then((data)=>{
setSongs(data.data) setSongs(data.data)
}) })
@ -2570,16 +2415,16 @@ function Website() {
return ( return (
<div className="row"> <div className="row">
{/*<div className="col-md-2 pt-3 pb-3 overflow-hidden text-center"> <div className="col-md-2 pt-3 pb-3 overflow-hidden text-center">
<h3 className="d-none d-md-block">Menu</h3> <h3 className="d-none d-md-block">Menu</h3>
<LoginInfo setUserSettings={setUserSettings} setUsername={setUsername} update={loginPanelUpdate}/> <LoginInfo setUserSettings={setUserSettings} setUsername={setUsername} update={loginPanelUpdate}/>
<br/><br/> <br/><br/>
<Link to="/rankings/rating/desc#content">Rankings</Link><br/> <Link to="/rankings/rating/desc#content">Rankings</Link><br/>
<Link to="/submitplay#content">Submit Scores</Link><br/> <Link to="/submitplay#content">Submit Scores</Link><br/>
<Link to="/divabot#content">DivaBot</Link><br/> <Link to="/divabot#content">DivaBot</Link><br/>
<hr/> <hr/>
<a href="http://discord.gg/eJ3cMzM"><img src="http://projectdivar.com/files/discord_button_small.png"/></a> <a href="http://discord.gg/eJ3cMzM"><img src="http://projectdivar.com/files/discord_button_small.png"/></a>
</div>*/} </div>
<div className="col-md-10 pt-3 pb-3"> <div className="col-md-10 pt-3 pb-3">
<div id="content"/> <div id="content"/>
<Switch> <Switch>
@ -2621,12 +2466,16 @@ function Website() {
</Route> </Route>
<Route path="/event"> <Route path="/event">
<h1 className="title">Event Data</h1> <h1 className="title">Event Data</h1>
<ChartData/> <EventData/>
</Route> </Route>
<Route path="/eventedit"> <Route path="/eventedit">
<h1 className="title">Event Editor</h1> <h1 className="title">Event Editor</h1>
<EventEditor/> <EventEditor/>
</Route> </Route>
<Route path="/cancount">
<h1 className="title">Can or no Can?</h1>
<CanEditor/>
</Route>
<Route path="/"> <Route path="/">
<h1 className="title">Project DivaR</h1> <h1 className="title">Project DivaR</h1>
Welcome! This website is here to store and track all your Project Diva records for yours and others' enjoyment! Welcome! This website is here to store and track all your Project Diva records for yours and others' enjoyment!
@ -2776,7 +2625,7 @@ function App() {
return ( return (
<Router> <Router>
<div className="container-fluid content"> <div className="container-fluid content">
{/*<div className="row"> <div className="row">
<div className="topbar col-md-12 pt-1 overflow-hidden border rounded text-center"> <div className="topbar col-md-12 pt-1 overflow-hidden border rounded text-center">
<div> <div>
<Link to="/"> <Link to="/">
@ -2784,7 +2633,7 @@ function App() {
</Link> </Link>
</div> </div>
</div> </div>
</div>*/} </div>
<Website/> <Website/>
</div> </div>
</Router> </Router>

Before

Width:  |  Height:  |  Size: 2.6 KiB

After

Width:  |  Height:  |  Size: 2.6 KiB

@ -1,333 +1,522 @@
const { createProxyMiddleware } = require('http-proxy-middleware'); const { createProxyMiddleware } = require('http-proxy-middleware');
module.exports = function(app) { module.exports = function (app) {
app.use( /*app.use(
"/eventchart", "/event/query",
createProxyMiddleware({ createProxyMiddleware({
target: 'http://server:4501', target: 'http://server:4501',
changeOrigin: true, changeOrigin: true,
}) })
); );*/
app.use( app.use(
"/eventsubmit", "/sigcrafting",
createProxyMiddleware({ createProxyMiddleware({
target: 'http://server:4501', target: 'http://server:3001',
changeOrigin: true, changeOrigin: true,
}) })
); );
app.use( app.use(
"/eventdata", "/gitea",
createProxyMiddleware({ createProxyMiddleware({
target: 'http://server:4501', target: 'http://sig.projectdivar.com',
changeOrigin: true, changeOrigin:false,
}) })
); );
app.use( app.use(
"/eventdata/t20", "/ngsplanner/class",
createProxyMiddleware({ createProxyMiddleware({
target: 'http://server:4501', target: 'http://server:4501',
changeOrigin: true, changeOrigin: true,
}) })
); );
app.use( app.use(
"/recalculatePlayerData/:id", "/ngsplanner/class_level_data",
createProxyMiddleware({ createProxyMiddleware({
target: 'http://server:4501', target: 'http://server:4501',
changeOrigin: true, changeOrigin: true,
}) })
); );
app.use( app.use(
"/streamtop/:id", "/ngsplanner/class_weapon_type_data",
createProxyMiddleware({ createProxyMiddleware({
target: 'http://server:4501', target: 'http://server:4501',
changeOrigin: true, changeOrigin: true,
}) })
); );
app.use( app.use(
"/streamkill/:id", "/ngsplanner/weapon",
createProxyMiddleware({ createProxyMiddleware({
target: 'http://server:4501', target: 'http://server:4501',
changeOrigin: true, changeOrigin: true,
}) })
); );
app.use( app.use(
"/streamstart/:id", "/ngsplanner/weapon_existence_data",
createProxyMiddleware({ createProxyMiddleware({
target: 'http://server:4501', target: 'http://server:4501',
changeOrigin: true, changeOrigin: true,
}) })
); );
app.use( app.use(
"/streaminfo/:id", "/ngsplanner/weapon_type",
createProxyMiddleware({ createProxyMiddleware({
target: 'http://server:4501', target: 'http://server:4501',
changeOrigin: true, changeOrigin: true,
}) })
); );
app.use( app.use(
"/updates/:userid", "/ngsplanner/armor",
createProxyMiddleware({ createProxyMiddleware({
target: 'http://server:4501', target: 'http://server:4501',
changeOrigin: true, changeOrigin: true,
}) })
); );
app.use( app.use(
"/passImageData", "/ngsplanner/potential",
createProxyMiddleware({ createProxyMiddleware({
target: 'http://server:4501', target: 'http://server:4501',
changeOrigin: true, changeOrigin: true,
}) })
); );
app.use( app.use(
"/getUserAuthData", "/ngsplanner/potential_data",
createProxyMiddleware({ createProxyMiddleware({
target: 'http://server:4501', target: 'http://server:4501',
changeOrigin: true, changeOrigin: true,
}) })
); );
app.use( app.use(
"/streamdata/:id", "/ngsplanner/builds",
createProxyMiddleware({ createProxyMiddleware({
target: 'http://server:4501', target: 'http://server:4501',
changeOrigin: true, changeOrigin: true,
}) })
); );
app.use( app.use(
"/updateuser", "/ngsplanner/skill",
createProxyMiddleware({ createProxyMiddleware({
target: 'http://server:4501', target: 'http://server:4501',
changeOrigin: true, changeOrigin: true,
}) })
); );
app.use( app.use(
"/findsong/:songname", "/ngsplanner/skill_type",
createProxyMiddleware({ createProxyMiddleware({
target: 'http://server:4501', target: 'http://server:4501',
changeOrigin: true, changeOrigin: true,
}) })
); );
app.use( app.use(
"/authenticate/authToken", "/ngsplanner/skill_data",
createProxyMiddleware({ createProxyMiddleware({
target: 'http://server:4501', target: 'http://server:4501',
changeOrigin: true, changeOrigin: true,
}) })
); );
app.use( app.use(
"/updateRegisteredState", "/ngsplanner/augment",
createProxyMiddleware({ createProxyMiddleware({
target: 'http://server:4501', target: 'http://server:4501',
changeOrigin: true, changeOrigin: true,
}) })
); );
app.use( app.use(
"/authenticate/login", "/ngsplanner/augment_type",
createProxyMiddleware({ createProxyMiddleware({
target: 'http://server:4501', target: 'http://server:4501',
changeOrigin: true, changeOrigin: true,
}) })
); );
app.use( app.use(
"/authenticateuser", "/ngsplanner/food_mult",
createProxyMiddleware({ createProxyMiddleware({
target: 'http://server:4501', target: 'http://server:4501',
changeOrigin: true, changeOrigin: true,
}) })
); );
app.use( app.use(
"/sendemail/register", "/ngsplanner/roles",
createProxyMiddleware({ createProxyMiddleware({
target: 'http://server:4501', target: 'http://server:4501',
changeOrigin: true, changeOrigin: true,
}) })
); );
app.use( app.use(
"/sendemail/login", "/ngsplanner/users",
createProxyMiddleware({ createProxyMiddleware({
target: 'http://server:4501', target: 'http://server:4501',
changeOrigin: true, changeOrigin: true,
}) })
); );
app.use( app.use(
"/recentplays/:username", "/ngsplanner/food",
createProxyMiddleware({ createProxyMiddleware({
target: 'http://server:4501', target: 'http://server:4501',
changeOrigin: true, changeOrigin: true,
}) })
); );
app.use( app.use(
"/plays/:username/:songname", "/ngsplanner",
createProxyMiddleware({ createProxyMiddleware({
target: 'http://server:4501', target: 'https://server2:4504',
changeOrigin: true, changeOrigin: true,
}) })
); );
app.use( app.use(
"/song/:songname/:difficulty", "/ev",
createProxyMiddleware({ createProxyMiddleware({
target: 'http://server:4501', target: 'http://server:4501',
changeOrigin: true, changeOrigin: true,
}) })
); );
app.use( app.use(
"/ratings/:songname", "/cans",
createProxyMiddleware({ createProxyMiddleware({
target: 'http://server:4501', target: 'http://server:4501',
changeOrigin: true, changeOrigin: true,
}) })
); );
app.use( app.use(
"/completionreport/:username", "/eventchart",
createProxyMiddleware({ createProxyMiddleware({
target: 'http://server:4501', target: 'http://server:4501',
changeOrigin: true, changeOrigin: true,
}) })
); );
app.use( app.use(
"/songmods/:username/:songname/:difficulty", "/create-event",
createProxyMiddleware({ createProxyMiddleware({
target: 'http://server:4501', target: 'http://server:4501',
changeOrigin: true, changeOrigin: true,
}) })
); );
app.use( app.use(
"/songpfccount/:username/:songname/:difficulty", "/event/leaderboard",
createProxyMiddleware({ createProxyMiddleware({
target: 'http://server:4501', target: 'http://server:4501',
changeOrigin: true, changeOrigin: true,
}) })
); );
app.use( app.use(
"/songs", "/eventsubmit",
createProxyMiddleware({ createProxyMiddleware({
target: 'http://server:4501', target: 'http://server:4501',
changeOrigin: true, changeOrigin: true,
}) })
); );
app.use( app.use(
"/bestplays/:username", "/eventdata",
createProxyMiddleware({ createProxyMiddleware({
target: 'http://server:4501', target: 'http://server:4501',
changeOrigin: true, changeOrigin: true,
}) })
); );
app.use( app.use(
"/image", "/eventdata/t20",
createProxyMiddleware({ createProxyMiddleware({
target: 'http://projectdivar.com:4503', target: 'http://server:4501',
changeOrigin: true, changeOrigin: true,
}) })
); );
app.use( app.use(
"/upload", "/recalculatePlayerData/:id",
createProxyMiddleware({ createProxyMiddleware({
target: 'http://server:4501', target: 'http://server:4501',
changeOrigin: true, changeOrigin: true,
}) })
); );
app.use( app.use(
"/song/:songname", "/streamtop/:id",
createProxyMiddleware({ createProxyMiddleware({
target: 'http://server:4501', target: 'http://server:4501',
changeOrigin: true, changeOrigin: true,
}) })
); );
app.use( app.use(
"/remove", "/streamkill/:id",
createProxyMiddleware({ createProxyMiddleware({
target: 'http://server:4501', target: 'http://server:4501',
changeOrigin: true, changeOrigin: true,
}) })
); );
app.use( app.use(
"/submit", "/streamstart/:id",
createProxyMiddleware({ createProxyMiddleware({
target: 'http://server:4501', target: 'http://server:4501',
changeOrigin: true, changeOrigin: true,
}) })
); );
app.use( app.use(
"/songdiffs", "/streaminfo/:id",
createProxyMiddleware({ createProxyMiddleware({
target: 'http://server:4501', target: 'http://server:4501',
changeOrigin: true, changeOrigin: true,
}) })
); );
app.use( app.use(
"/accuracy/:username", "/updates/:userid",
createProxyMiddleware({ createProxyMiddleware({
target: 'http://server:4501', target: 'http://server:4501',
changeOrigin: true, changeOrigin: true,
}) })
); );
app.use( app.use(
"/recalculatescore/:playid", "/passImageData",
createProxyMiddleware({ createProxyMiddleware({
target: 'http://server:4501', target: 'http://server:4501',
changeOrigin: true, changeOrigin: true,
}) })
); );
app.use( app.use(
"/bestplay/:username/:songname/:difficulty", "/getUserAuthData",
createProxyMiddleware({ createProxyMiddleware({
target: 'http://server:4501', target: 'http://server:4501',
changeOrigin: true, changeOrigin: true,
}) })
); );
app.use( app.use(
"/userdata/:username", "/streamdata/:id",
createProxyMiddleware({ createProxyMiddleware({
target: 'http://server:4501', target: 'http://server:4501',
changeOrigin: true, changeOrigin: true,
}) })
); );
app.use( app.use(
"/playcount/:username/:songname/:difficulty", "/updateuser",
createProxyMiddleware({ createProxyMiddleware({
target: 'http://server:4501', target: 'http://server:4501',
changeOrigin: true, changeOrigin: true,
}) })
); );
app.use( app.use(
"/songpasscount/:username/:songname/:difficulty", "/findsong/:songname",
createProxyMiddleware({ createProxyMiddleware({
target: 'http://server:4501', target: 'http://server:4501',
changeOrigin: true, changeOrigin: true,
}) })
); );
app.use( app.use(
"/songfccount/:username/:songname/:difficulty", "/authenticate/authToken",
createProxyMiddleware({ createProxyMiddleware({
target: 'http://server:4501', target: 'http://server:4501',
changeOrigin: true, changeOrigin: true,
}) })
); );
app.use( app.use(
"/rating/:username", "/updateRegisteredState",
createProxyMiddleware({ createProxyMiddleware({
target: 'http://server:4501', target: 'http://server:4501',
changeOrigin: true, changeOrigin: true,
}) })
); );
app.use( app.use(
"/users/:orderby/:sortorder", "/authenticate/login",
createProxyMiddleware({ createProxyMiddleware({
target: 'http://server:4501', target: 'http://server:4501',
changeOrigin: true, changeOrigin: true,
}) })
); );
app.use( app.use(
"/twitter/mentions", "/authenticateuser",
createProxyMiddleware({ createProxyMiddleware({
target: 'http://server:4501', target: 'http://server:4501',
changeOrigin: true, changeOrigin: true,
}) })
); );
app.use( app.use(
"/files", "/sendemail/register",
createProxyMiddleware({ createProxyMiddleware({
target: 'http://server:4501', target: 'http://server:4501',
changeOrigin: true, changeOrigin: true,
}) })
); );
}; app.use(
"/sendemail/login",
createProxyMiddleware({
target: 'http://server:4501',
changeOrigin: true,
})
);
app.use(
"/recentplays/:username",
createProxyMiddleware({
target: 'http://server:4501',
changeOrigin: true,
})
);
app.use(
"/plays/:username/:songname",
createProxyMiddleware({
target: 'http://server:4501',
changeOrigin: true,
})
);
app.use(
"/song/:songname/:difficulty",
createProxyMiddleware({
target: 'http://server:4501',
changeOrigin: true,
})
);
app.use(
"/ratings/:songname",
createProxyMiddleware({
target: 'http://server:4501',
changeOrigin: true,
})
);
app.use(
"/completionreport/:username",
createProxyMiddleware({
target: 'http://server:4501',
changeOrigin: true,
})
);
app.use(
"/songmods/:username/:songname/:difficulty",
createProxyMiddleware({
target: 'http://server:4501',
changeOrigin: true,
})
);
app.use(
"/songpfccount/:username/:songname/:difficulty",
createProxyMiddleware({
target: 'http://server:4501',
changeOrigin: true,
})
);
app.use(
"/songs",
createProxyMiddleware({
target: 'http://server:4501',
changeOrigin: true,
})
);
app.use(
"/bestplays/:username",
createProxyMiddleware({
target: 'http://server:4501',
changeOrigin: true,
})
);
app.use(
"/image",
createProxyMiddleware({
target: 'http://projectdivar.com:4503',
changeOrigin: true,
})
);
app.use(
"/upload",
createProxyMiddleware({
target: 'http://server:4501',
changeOrigin: true,
})
);
app.use(
"/song/:songname",
createProxyMiddleware({
target: 'http://server:4501',
changeOrigin: true,
})
);
app.use(
"/remove",
createProxyMiddleware({
target: 'http://server:4501',
changeOrigin: true,
})
);
app.use(
"/submit",
createProxyMiddleware({
target: 'http://server:4501',
changeOrigin: true,
})
);
app.use(
"/songdiffs",
createProxyMiddleware({
target: 'http://server:4501',
changeOrigin: true,
})
);
app.use(
"/accuracy/:username",
createProxyMiddleware({
target: 'http://server:4501',
changeOrigin: true,
})
);
app.use(
"/recalculatescore/:playid",
createProxyMiddleware({
target: 'http://server:4501',
changeOrigin: true,
})
);
app.use(
"/bestplay/:username/:songname/:difficulty",
createProxyMiddleware({
target: 'http://server:4501',
changeOrigin: true,
})
);
app.use(
"/userdata/:username",
createProxyMiddleware({
target: 'http://server:4501',
changeOrigin: true,
})
);
app.use(
"/playcount/:username/:songname/:difficulty",
createProxyMiddleware({
target: 'http://server:4501',
changeOrigin: true,
})
);
app.use(
"/songpasscount/:username/:songname/:difficulty",
createProxyMiddleware({
target: 'http://server:4501',
changeOrigin: true,
})
);
app.use(
"/songfccount/:username/:songname/:difficulty",
createProxyMiddleware({
target: 'http://server:4501',
changeOrigin: true,
})
);
app.use(
"/rating/:username",
createProxyMiddleware({
target: 'http://server:4501',
changeOrigin: true,
})
);
app.use(
"/users/:orderby/:sortorder",
createProxyMiddleware({
target: 'http://server:4501',
changeOrigin: true,
})
);
app.use(
"/twitter/mentions",
createProxyMiddleware({
target: 'http://server:4501',
changeOrigin: true,
})
);
app.use(
"/files",
createProxyMiddleware({
target: 'http://server:4501',
changeOrigin: true,
})
);
};

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save