From 8edf92e870d8f4812507bf3d6a05ca4011b4e6fd Mon Sep 17 00:00:00 2001 From: sigonasr2 Date: Wed, 22 Jul 2020 10:30:06 -0500 Subject: [PATCH] Implement upload system and zip extraction in preparation for score submission --- frontend/src/App.css | 21 +- frontend/src/App.js | 88 +- server/app.js | 100 +- server/node_modules/.bin/mkdirp | 1 + server/node_modules/.bin/rimraf | 1 + server/node_modules/balanced-match/.npmignore | 5 + server/node_modules/balanced-match/LICENSE.md | 21 + server/node_modules/balanced-match/README.md | 91 + server/node_modules/balanced-match/index.js | 59 + .../node_modules/balanced-match/package.json | 77 + .../node_modules/big-integer/BigInteger.d.ts | 2393 +++++++ server/node_modules/big-integer/BigInteger.js | 1453 +++++ .../big-integer/BigInteger.min.js | 1 + server/node_modules/big-integer/LICENSE | 24 + server/node_modules/big-integer/README.md | 588 ++ server/node_modules/big-integer/bower.json | 29 + server/node_modules/big-integer/package.json | 79 + server/node_modules/big-integer/tsconfig.json | 26 + server/node_modules/bluebird/LICENSE | 21 + server/node_modules/bluebird/README.md | 51 + server/node_modules/bluebird/changelog.md | 1 + .../bluebird/js/browser/bluebird.core.js | 3739 +++++++++++ .../bluebird/js/browser/bluebird.core.min.js | 31 + .../bluebird/js/browser/bluebird.js | 5581 +++++++++++++++++ .../bluebird/js/browser/bluebird.min.js | 31 + .../node_modules/bluebird/js/release/any.js | 21 + .../bluebird/js/release/assert.js | 55 + .../node_modules/bluebird/js/release/async.js | 161 + .../node_modules/bluebird/js/release/bind.js | 67 + .../bluebird/js/release/bluebird.js | 11 + .../bluebird/js/release/call_get.js | 123 + .../bluebird/js/release/cancel.js | 129 + .../bluebird/js/release/catch_filter.js | 42 + .../bluebird/js/release/context.js | 69 + .../bluebird/js/release/debuggability.js | 916 +++ .../bluebird/js/release/direct_resolve.js | 46 + .../node_modules/bluebird/js/release/each.js | 30 + .../bluebird/js/release/errors.js | 116 + .../node_modules/bluebird/js/release/es5.js | 80 + .../bluebird/js/release/filter.js | 12 + .../bluebird/js/release/finally.js | 111 + .../bluebird/js/release/generators.js | 223 + .../node_modules/bluebird/js/release/join.js | 168 + .../node_modules/bluebird/js/release/map.js | 168 + .../bluebird/js/release/method.js | 55 + .../bluebird/js/release/nodeback.js | 51 + .../bluebird/js/release/nodeify.js | 58 + .../bluebird/js/release/promise.js | 773 +++ .../bluebird/js/release/promise_array.js | 184 + .../bluebird/js/release/promisify.js | 314 + .../node_modules/bluebird/js/release/props.js | 118 + .../node_modules/bluebird/js/release/queue.js | 73 + .../node_modules/bluebird/js/release/race.js | 49 + .../bluebird/js/release/reduce.js | 172 + .../bluebird/js/release/schedule.js | 61 + .../bluebird/js/release/settle.js | 43 + .../node_modules/bluebird/js/release/some.js | 148 + .../js/release/synchronous_inspection.js | 103 + .../bluebird/js/release/thenables.js | 86 + .../bluebird/js/release/timers.js | 93 + .../node_modules/bluebird/js/release/using.js | 226 + .../node_modules/bluebird/js/release/util.js | 379 ++ server/node_modules/bluebird/package.json | 100 + server/node_modules/brace-expansion/LICENSE | 21 + server/node_modules/brace-expansion/README.md | 129 + server/node_modules/brace-expansion/index.js | 201 + .../node_modules/brace-expansion/package.json | 75 + .../buffer-indexof-polyfill/.eslintrc | 33 + .../buffer-indexof-polyfill/.npmignore | 1 + .../buffer-indexof-polyfill/.travis.yml | 17 + .../buffer-indexof-polyfill/LICENSE | 22 + .../buffer-indexof-polyfill/README.md | 33 + .../buffer-indexof-polyfill/index.js | 72 + .../buffer-indexof-polyfill/package.json | 60 + .../buffer-indexof-polyfill/test/indexof.js | 128 + server/node_modules/concat-map/.travis.yml | 4 + server/node_modules/concat-map/LICENSE | 18 + .../node_modules/concat-map/README.markdown | 62 + server/node_modules/concat-map/example/map.js | 6 + server/node_modules/concat-map/index.js | 13 + server/node_modules/concat-map/package.json | 88 + server/node_modules/concat-map/test/map.js | 39 + .../node_modules/connect-timeout/HISTORY.md | 120 + server/node_modules/connect-timeout/LICENSE | 23 + server/node_modules/connect-timeout/README.md | 168 + server/node_modules/connect-timeout/index.js | 89 + .../node_modules/http-errors/HISTORY.md | 132 + .../node_modules/http-errors/LICENSE | 23 + .../node_modules/http-errors/README.md | 135 + .../node_modules/http-errors/index.js | 260 + .../node_modules/http-errors/package.json | 90 + .../node_modules/setprototypeof/LICENSE | 13 + .../node_modules/setprototypeof/README.md | 26 + .../node_modules/setprototypeof/index.d.ts | 2 + .../node_modules/setprototypeof/index.js | 15 + .../node_modules/setprototypeof/package.json | 52 + .../node_modules/connect-timeout/package.json | 87 + server/node_modules/duplexer2/LICENSE.md | 26 + server/node_modules/duplexer2/README.md | 115 + server/node_modules/duplexer2/index.js | 76 + .../duplexer2/node_modules/isarray/.npmignore | 1 + .../node_modules/isarray/.travis.yml | 4 + .../duplexer2/node_modules/isarray/Makefile | 6 + .../duplexer2/node_modules/isarray/README.md | 60 + .../node_modules/isarray/component.json | 19 + .../duplexer2/node_modules/isarray/index.js | 5 + .../node_modules/isarray/package.json | 73 + .../duplexer2/node_modules/isarray/test.js | 20 + .../node_modules/readable-stream/.travis.yml | 34 + .../readable-stream/CONTRIBUTING.md | 38 + .../readable-stream/GOVERNANCE.md | 136 + .../node_modules/readable-stream/LICENSE | 47 + .../node_modules/readable-stream/README.md | 58 + .../doc/wg-meetings/2015-01-30.md | 60 + .../readable-stream/duplex-browser.js | 1 + .../node_modules/readable-stream/duplex.js | 1 + .../readable-stream/lib/_stream_duplex.js | 131 + .../lib/_stream_passthrough.js | 47 + .../readable-stream/lib/_stream_readable.js | 1019 +++ .../readable-stream/lib/_stream_transform.js | 214 + .../readable-stream/lib/_stream_writable.js | 687 ++ .../lib/internal/streams/BufferList.js | 79 + .../lib/internal/streams/destroy.js | 74 + .../lib/internal/streams/stream-browser.js | 1 + .../lib/internal/streams/stream.js | 1 + .../node_modules/readable-stream/package.json | 81 + .../readable-stream/passthrough.js | 1 + .../readable-stream/readable-browser.js | 7 + .../node_modules/readable-stream/readable.js | 19 + .../node_modules/readable-stream/transform.js | 1 + .../readable-stream/writable-browser.js | 1 + .../node_modules/readable-stream/writable.js | 8 + .../node_modules/string_decoder/.travis.yml | 50 + .../node_modules/string_decoder/LICENSE | 48 + .../node_modules/string_decoder/README.md | 47 + .../string_decoder/lib/string_decoder.js | 296 + .../node_modules/string_decoder/package.json | 59 + server/node_modules/duplexer2/package.json | 70 + server/node_modules/fs.realpath/LICENSE | 43 + server/node_modules/fs.realpath/README.md | 33 + server/node_modules/fs.realpath/index.js | 66 + server/node_modules/fs.realpath/old.js | 303 + server/node_modules/fs.realpath/package.json | 59 + server/node_modules/fstream/.travis.yml | 9 + server/node_modules/fstream/LICENSE | 15 + server/node_modules/fstream/README.md | 76 + .../fstream/examples/filter-pipe.js | 134 + server/node_modules/fstream/examples/pipe.js | 118 + .../node_modules/fstream/examples/reader.js | 68 + .../fstream/examples/symlink-write.js | 27 + server/node_modules/fstream/fstream.js | 35 + server/node_modules/fstream/lib/abstract.js | 85 + server/node_modules/fstream/lib/collect.js | 70 + server/node_modules/fstream/lib/dir-reader.js | 252 + server/node_modules/fstream/lib/dir-writer.js | 174 + .../node_modules/fstream/lib/file-reader.js | 150 + .../node_modules/fstream/lib/file-writer.js | 107 + server/node_modules/fstream/lib/get-type.js | 33 + .../node_modules/fstream/lib/link-reader.js | 53 + .../node_modules/fstream/lib/link-writer.js | 95 + .../node_modules/fstream/lib/proxy-reader.js | 95 + .../node_modules/fstream/lib/proxy-writer.js | 111 + server/node_modules/fstream/lib/reader.js | 255 + .../node_modules/fstream/lib/socket-reader.js | 36 + server/node_modules/fstream/lib/writer.js | 390 ++ server/node_modules/fstream/package.json | 61 + server/node_modules/glob/LICENSE | 21 + server/node_modules/glob/README.md | 375 ++ server/node_modules/glob/changelog.md | 67 + server/node_modules/glob/common.js | 240 + server/node_modules/glob/glob.js | 790 +++ server/node_modules/glob/package.json | 79 + server/node_modules/glob/sync.js | 486 ++ server/node_modules/inflight/LICENSE | 15 + server/node_modules/inflight/README.md | 37 + server/node_modules/inflight/inflight.js | 54 + server/node_modules/inflight/package.json | 58 + server/node_modules/listenercount/.npmignore | 2 + server/node_modules/listenercount/LICENSE.md | 5 + server/node_modules/listenercount/README.md | 50 + server/node_modules/listenercount/circle.yml | 6 + server/node_modules/listenercount/index.js | 16 + .../node_modules/listenercount/package.json | 61 + .../node_modules/listenercount/test/test.js | 31 + server/node_modules/minimatch/LICENSE | 15 + server/node_modules/minimatch/README.md | 209 + server/node_modules/minimatch/minimatch.js | 923 +++ server/node_modules/minimatch/package.json | 63 + server/node_modules/minimist/.travis.yml | 8 + server/node_modules/minimist/LICENSE | 18 + server/node_modules/minimist/example/parse.js | 2 + server/node_modules/minimist/index.js | 245 + server/node_modules/minimist/package.json | 73 + server/node_modules/minimist/readme.markdown | 95 + server/node_modules/minimist/test/all_bool.js | 32 + server/node_modules/minimist/test/bool.js | 178 + server/node_modules/minimist/test/dash.js | 31 + .../minimist/test/default_bool.js | 35 + server/node_modules/minimist/test/dotted.js | 22 + server/node_modules/minimist/test/kv_short.js | 16 + server/node_modules/minimist/test/long.js | 31 + server/node_modules/minimist/test/num.js | 36 + server/node_modules/minimist/test/parse.js | 197 + .../minimist/test/parse_modified.js | 9 + server/node_modules/minimist/test/proto.js | 44 + server/node_modules/minimist/test/short.js | 67 + .../node_modules/minimist/test/stop_early.js | 15 + server/node_modules/minimist/test/unknown.js | 102 + .../node_modules/minimist/test/whitespace.js | 8 + server/node_modules/mkdirp/LICENSE | 21 + server/node_modules/mkdirp/bin/cmd.js | 33 + server/node_modules/mkdirp/bin/usage.txt | 12 + server/node_modules/mkdirp/index.js | 99 + server/node_modules/mkdirp/package.json | 69 + server/node_modules/mkdirp/readme.markdown | 100 + server/node_modules/on-headers/HISTORY.md | 21 + server/node_modules/on-headers/LICENSE | 22 + server/node_modules/on-headers/README.md | 81 + server/node_modules/on-headers/index.js | 132 + server/node_modules/on-headers/package.json | 77 + server/node_modules/once/LICENSE | 15 + server/node_modules/once/README.md | 79 + server/node_modules/once/once.js | 42 + server/node_modules/once/package.json | 67 + server/node_modules/path-is-absolute/index.js | 20 + server/node_modules/path-is-absolute/license | 21 + .../path-is-absolute/package.json | 75 + .../node_modules/path-is-absolute/readme.md | 59 + .../process-nextick-args/index.js | 45 + .../process-nextick-args/license.md | 19 + .../process-nextick-args/package.json | 51 + .../process-nextick-args/readme.md | 18 + server/node_modules/rimraf/LICENSE | 15 + server/node_modules/rimraf/README.md | 101 + server/node_modules/rimraf/bin.js | 50 + server/node_modules/rimraf/package.json | 67 + server/node_modules/rimraf/rimraf.js | 372 ++ server/node_modules/setimmediate/LICENSE.txt | 20 + server/node_modules/setimmediate/package.json | 74 + .../node_modules/setimmediate/setImmediate.js | 186 + .../unzipper/.circleci/config.yml | 13 + server/node_modules/unzipper/.gitattributes | 1 + server/node_modules/unzipper/.travis.yml | 16 + server/node_modules/unzipper/LICENSE | 25 + server/node_modules/unzipper/README.md | 332 + server/node_modules/unzipper/lib/Buffer.js | 12 + .../node_modules/unzipper/lib/BufferStream.js | 25 + server/node_modules/unzipper/lib/Decrypt.js | 72 + .../node_modules/unzipper/lib/NoopStream.js | 19 + .../unzipper/lib/Open/directory.js | 224 + .../node_modules/unzipper/lib/Open/index.js | 97 + .../node_modules/unzipper/lib/Open/unzip.js | 124 + .../node_modules/unzipper/lib/PullStream.js | 145 + server/node_modules/unzipper/lib/extract.js | 55 + server/node_modules/unzipper/lib/parse.js | 283 + .../unzipper/lib/parseDateTime.js | 13 + .../unzipper/lib/parseExtraField.js | 37 + server/node_modules/unzipper/lib/parseOne.js | 58 + .../unzipper/node_modules/isarray/.npmignore | 1 + .../unzipper/node_modules/isarray/.travis.yml | 4 + .../unzipper/node_modules/isarray/Makefile | 6 + .../unzipper/node_modules/isarray/README.md | 60 + .../node_modules/isarray/component.json | 19 + .../unzipper/node_modules/isarray/index.js | 5 + .../node_modules/isarray/package.json | 73 + .../unzipper/node_modules/isarray/test.js | 20 + .../node_modules/readable-stream/.travis.yml | 34 + .../readable-stream/CONTRIBUTING.md | 38 + .../readable-stream/GOVERNANCE.md | 136 + .../node_modules/readable-stream/LICENSE | 47 + .../node_modules/readable-stream/README.md | 58 + .../doc/wg-meetings/2015-01-30.md | 60 + .../readable-stream/duplex-browser.js | 1 + .../node_modules/readable-stream/duplex.js | 1 + .../readable-stream/lib/_stream_duplex.js | 131 + .../lib/_stream_passthrough.js | 47 + .../readable-stream/lib/_stream_readable.js | 1019 +++ .../readable-stream/lib/_stream_transform.js | 214 + .../readable-stream/lib/_stream_writable.js | 687 ++ .../lib/internal/streams/BufferList.js | 79 + .../lib/internal/streams/destroy.js | 74 + .../lib/internal/streams/stream-browser.js | 1 + .../lib/internal/streams/stream.js | 1 + .../node_modules/readable-stream/package.json | 81 + .../readable-stream/passthrough.js | 1 + .../readable-stream/readable-browser.js | 7 + .../node_modules/readable-stream/readable.js | 19 + .../node_modules/readable-stream/transform.js | 1 + .../readable-stream/writable-browser.js | 1 + .../node_modules/readable-stream/writable.js | 8 + .../node_modules/string_decoder/.travis.yml | 50 + .../node_modules/string_decoder/LICENSE | 48 + .../node_modules/string_decoder/README.md | 47 + .../string_decoder/lib/string_decoder.js | 296 + .../node_modules/string_decoder/package.json | 59 + server/node_modules/unzipper/package.json | 102 + server/node_modules/unzipper/unzip.js | 11 + server/node_modules/util-deprecate/History.md | 16 + server/node_modules/util-deprecate/LICENSE | 24 + server/node_modules/util-deprecate/README.md | 53 + server/node_modules/util-deprecate/browser.js | 67 + server/node_modules/util-deprecate/node.js | 6 + .../node_modules/util-deprecate/package.json | 57 + server/node_modules/wrappy/LICENSE | 15 + server/node_modules/wrappy/README.md | 36 + server/node_modules/wrappy/package.json | 59 + server/node_modules/wrappy/wrappy.js | 33 + server/package-lock.json | 256 + server/package.json | 4 +- 309 files changed, 41688 insertions(+), 43 deletions(-) create mode 120000 server/node_modules/.bin/mkdirp create mode 120000 server/node_modules/.bin/rimraf create mode 100644 server/node_modules/balanced-match/.npmignore create mode 100644 server/node_modules/balanced-match/LICENSE.md create mode 100644 server/node_modules/balanced-match/README.md create mode 100644 server/node_modules/balanced-match/index.js create mode 100644 server/node_modules/balanced-match/package.json create mode 100644 server/node_modules/big-integer/BigInteger.d.ts create mode 100644 server/node_modules/big-integer/BigInteger.js create mode 100644 server/node_modules/big-integer/BigInteger.min.js create mode 100644 server/node_modules/big-integer/LICENSE create mode 100644 server/node_modules/big-integer/README.md create mode 100644 server/node_modules/big-integer/bower.json create mode 100644 server/node_modules/big-integer/package.json create mode 100644 server/node_modules/big-integer/tsconfig.json create mode 100644 server/node_modules/bluebird/LICENSE create mode 100644 server/node_modules/bluebird/README.md create mode 100644 server/node_modules/bluebird/changelog.md create mode 100644 server/node_modules/bluebird/js/browser/bluebird.core.js create mode 100644 server/node_modules/bluebird/js/browser/bluebird.core.min.js create mode 100644 server/node_modules/bluebird/js/browser/bluebird.js create mode 100644 server/node_modules/bluebird/js/browser/bluebird.min.js create mode 100644 server/node_modules/bluebird/js/release/any.js create mode 100644 server/node_modules/bluebird/js/release/assert.js create mode 100644 server/node_modules/bluebird/js/release/async.js create mode 100644 server/node_modules/bluebird/js/release/bind.js create mode 100644 server/node_modules/bluebird/js/release/bluebird.js create mode 100644 server/node_modules/bluebird/js/release/call_get.js create mode 100644 server/node_modules/bluebird/js/release/cancel.js create mode 100644 server/node_modules/bluebird/js/release/catch_filter.js create mode 100644 server/node_modules/bluebird/js/release/context.js create mode 100644 server/node_modules/bluebird/js/release/debuggability.js create mode 100644 server/node_modules/bluebird/js/release/direct_resolve.js create mode 100644 server/node_modules/bluebird/js/release/each.js create mode 100644 server/node_modules/bluebird/js/release/errors.js create mode 100644 server/node_modules/bluebird/js/release/es5.js create mode 100644 server/node_modules/bluebird/js/release/filter.js create mode 100644 server/node_modules/bluebird/js/release/finally.js create mode 100644 server/node_modules/bluebird/js/release/generators.js create mode 100644 server/node_modules/bluebird/js/release/join.js create mode 100644 server/node_modules/bluebird/js/release/map.js create mode 100644 server/node_modules/bluebird/js/release/method.js create mode 100644 server/node_modules/bluebird/js/release/nodeback.js create mode 100644 server/node_modules/bluebird/js/release/nodeify.js create mode 100644 server/node_modules/bluebird/js/release/promise.js create mode 100644 server/node_modules/bluebird/js/release/promise_array.js create mode 100644 server/node_modules/bluebird/js/release/promisify.js create mode 100644 server/node_modules/bluebird/js/release/props.js create mode 100644 server/node_modules/bluebird/js/release/queue.js create mode 100644 server/node_modules/bluebird/js/release/race.js create mode 100644 server/node_modules/bluebird/js/release/reduce.js create mode 100644 server/node_modules/bluebird/js/release/schedule.js create mode 100644 server/node_modules/bluebird/js/release/settle.js create mode 100644 server/node_modules/bluebird/js/release/some.js create mode 100644 server/node_modules/bluebird/js/release/synchronous_inspection.js create mode 100644 server/node_modules/bluebird/js/release/thenables.js create mode 100644 server/node_modules/bluebird/js/release/timers.js create mode 100644 server/node_modules/bluebird/js/release/using.js create mode 100644 server/node_modules/bluebird/js/release/util.js create mode 100644 server/node_modules/bluebird/package.json create mode 100644 server/node_modules/brace-expansion/LICENSE create mode 100644 server/node_modules/brace-expansion/README.md create mode 100644 server/node_modules/brace-expansion/index.js create mode 100644 server/node_modules/brace-expansion/package.json create mode 100644 server/node_modules/buffer-indexof-polyfill/.eslintrc create mode 100644 server/node_modules/buffer-indexof-polyfill/.npmignore create mode 100644 server/node_modules/buffer-indexof-polyfill/.travis.yml create mode 100644 server/node_modules/buffer-indexof-polyfill/LICENSE create mode 100644 server/node_modules/buffer-indexof-polyfill/README.md create mode 100644 server/node_modules/buffer-indexof-polyfill/index.js create mode 100644 server/node_modules/buffer-indexof-polyfill/package.json create mode 100644 server/node_modules/buffer-indexof-polyfill/test/indexof.js create mode 100644 server/node_modules/concat-map/.travis.yml create mode 100644 server/node_modules/concat-map/LICENSE create mode 100644 server/node_modules/concat-map/README.markdown create mode 100644 server/node_modules/concat-map/example/map.js create mode 100644 server/node_modules/concat-map/index.js create mode 100644 server/node_modules/concat-map/package.json create mode 100644 server/node_modules/concat-map/test/map.js create mode 100644 server/node_modules/connect-timeout/HISTORY.md create mode 100644 server/node_modules/connect-timeout/LICENSE create mode 100644 server/node_modules/connect-timeout/README.md create mode 100644 server/node_modules/connect-timeout/index.js create mode 100644 server/node_modules/connect-timeout/node_modules/http-errors/HISTORY.md create mode 100644 server/node_modules/connect-timeout/node_modules/http-errors/LICENSE create mode 100644 server/node_modules/connect-timeout/node_modules/http-errors/README.md create mode 100644 server/node_modules/connect-timeout/node_modules/http-errors/index.js create mode 100644 server/node_modules/connect-timeout/node_modules/http-errors/package.json create mode 100644 server/node_modules/connect-timeout/node_modules/setprototypeof/LICENSE create mode 100644 server/node_modules/connect-timeout/node_modules/setprototypeof/README.md create mode 100644 server/node_modules/connect-timeout/node_modules/setprototypeof/index.d.ts create mode 100644 server/node_modules/connect-timeout/node_modules/setprototypeof/index.js create mode 100644 server/node_modules/connect-timeout/node_modules/setprototypeof/package.json create mode 100644 server/node_modules/connect-timeout/package.json create mode 100644 server/node_modules/duplexer2/LICENSE.md create mode 100644 server/node_modules/duplexer2/README.md create mode 100644 server/node_modules/duplexer2/index.js create mode 100644 server/node_modules/duplexer2/node_modules/isarray/.npmignore create mode 100644 server/node_modules/duplexer2/node_modules/isarray/.travis.yml create mode 100644 server/node_modules/duplexer2/node_modules/isarray/Makefile create mode 100644 server/node_modules/duplexer2/node_modules/isarray/README.md create mode 100644 server/node_modules/duplexer2/node_modules/isarray/component.json create mode 100644 server/node_modules/duplexer2/node_modules/isarray/index.js create mode 100644 server/node_modules/duplexer2/node_modules/isarray/package.json create mode 100644 server/node_modules/duplexer2/node_modules/isarray/test.js create mode 100644 server/node_modules/duplexer2/node_modules/readable-stream/.travis.yml create mode 100644 server/node_modules/duplexer2/node_modules/readable-stream/CONTRIBUTING.md create mode 100644 server/node_modules/duplexer2/node_modules/readable-stream/GOVERNANCE.md create mode 100644 server/node_modules/duplexer2/node_modules/readable-stream/LICENSE create mode 100644 server/node_modules/duplexer2/node_modules/readable-stream/README.md create mode 100644 server/node_modules/duplexer2/node_modules/readable-stream/doc/wg-meetings/2015-01-30.md create mode 100644 server/node_modules/duplexer2/node_modules/readable-stream/duplex-browser.js create mode 100644 server/node_modules/duplexer2/node_modules/readable-stream/duplex.js create mode 100644 server/node_modules/duplexer2/node_modules/readable-stream/lib/_stream_duplex.js create mode 100644 server/node_modules/duplexer2/node_modules/readable-stream/lib/_stream_passthrough.js create mode 100644 server/node_modules/duplexer2/node_modules/readable-stream/lib/_stream_readable.js create mode 100644 server/node_modules/duplexer2/node_modules/readable-stream/lib/_stream_transform.js create mode 100644 server/node_modules/duplexer2/node_modules/readable-stream/lib/_stream_writable.js create mode 100644 server/node_modules/duplexer2/node_modules/readable-stream/lib/internal/streams/BufferList.js create mode 100644 server/node_modules/duplexer2/node_modules/readable-stream/lib/internal/streams/destroy.js create mode 100644 server/node_modules/duplexer2/node_modules/readable-stream/lib/internal/streams/stream-browser.js create mode 100644 server/node_modules/duplexer2/node_modules/readable-stream/lib/internal/streams/stream.js create mode 100644 server/node_modules/duplexer2/node_modules/readable-stream/package.json create mode 100644 server/node_modules/duplexer2/node_modules/readable-stream/passthrough.js create mode 100644 server/node_modules/duplexer2/node_modules/readable-stream/readable-browser.js create mode 100644 server/node_modules/duplexer2/node_modules/readable-stream/readable.js create mode 100644 server/node_modules/duplexer2/node_modules/readable-stream/transform.js create mode 100644 server/node_modules/duplexer2/node_modules/readable-stream/writable-browser.js create mode 100644 server/node_modules/duplexer2/node_modules/readable-stream/writable.js create mode 100644 server/node_modules/duplexer2/node_modules/string_decoder/.travis.yml create mode 100644 server/node_modules/duplexer2/node_modules/string_decoder/LICENSE create mode 100644 server/node_modules/duplexer2/node_modules/string_decoder/README.md create mode 100644 server/node_modules/duplexer2/node_modules/string_decoder/lib/string_decoder.js create mode 100644 server/node_modules/duplexer2/node_modules/string_decoder/package.json create mode 100644 server/node_modules/duplexer2/package.json create mode 100644 server/node_modules/fs.realpath/LICENSE create mode 100644 server/node_modules/fs.realpath/README.md create mode 100644 server/node_modules/fs.realpath/index.js create mode 100644 server/node_modules/fs.realpath/old.js create mode 100644 server/node_modules/fs.realpath/package.json create mode 100644 server/node_modules/fstream/.travis.yml create mode 100644 server/node_modules/fstream/LICENSE create mode 100644 server/node_modules/fstream/README.md create mode 100644 server/node_modules/fstream/examples/filter-pipe.js create mode 100644 server/node_modules/fstream/examples/pipe.js create mode 100644 server/node_modules/fstream/examples/reader.js create mode 100644 server/node_modules/fstream/examples/symlink-write.js create mode 100644 server/node_modules/fstream/fstream.js create mode 100644 server/node_modules/fstream/lib/abstract.js create mode 100644 server/node_modules/fstream/lib/collect.js create mode 100644 server/node_modules/fstream/lib/dir-reader.js create mode 100644 server/node_modules/fstream/lib/dir-writer.js create mode 100644 server/node_modules/fstream/lib/file-reader.js create mode 100644 server/node_modules/fstream/lib/file-writer.js create mode 100644 server/node_modules/fstream/lib/get-type.js create mode 100644 server/node_modules/fstream/lib/link-reader.js create mode 100644 server/node_modules/fstream/lib/link-writer.js create mode 100644 server/node_modules/fstream/lib/proxy-reader.js create mode 100644 server/node_modules/fstream/lib/proxy-writer.js create mode 100644 server/node_modules/fstream/lib/reader.js create mode 100644 server/node_modules/fstream/lib/socket-reader.js create mode 100644 server/node_modules/fstream/lib/writer.js create mode 100644 server/node_modules/fstream/package.json create mode 100644 server/node_modules/glob/LICENSE create mode 100644 server/node_modules/glob/README.md create mode 100644 server/node_modules/glob/changelog.md create mode 100644 server/node_modules/glob/common.js create mode 100644 server/node_modules/glob/glob.js create mode 100644 server/node_modules/glob/package.json create mode 100644 server/node_modules/glob/sync.js create mode 100644 server/node_modules/inflight/LICENSE create mode 100644 server/node_modules/inflight/README.md create mode 100644 server/node_modules/inflight/inflight.js create mode 100644 server/node_modules/inflight/package.json create mode 100644 server/node_modules/listenercount/.npmignore create mode 100644 server/node_modules/listenercount/LICENSE.md create mode 100644 server/node_modules/listenercount/README.md create mode 100644 server/node_modules/listenercount/circle.yml create mode 100644 server/node_modules/listenercount/index.js create mode 100644 server/node_modules/listenercount/package.json create mode 100644 server/node_modules/listenercount/test/test.js create mode 100644 server/node_modules/minimatch/LICENSE create mode 100644 server/node_modules/minimatch/README.md create mode 100644 server/node_modules/minimatch/minimatch.js create mode 100644 server/node_modules/minimatch/package.json create mode 100644 server/node_modules/minimist/.travis.yml create mode 100644 server/node_modules/minimist/LICENSE create mode 100644 server/node_modules/minimist/example/parse.js create mode 100644 server/node_modules/minimist/index.js create mode 100644 server/node_modules/minimist/package.json create mode 100644 server/node_modules/minimist/readme.markdown create mode 100644 server/node_modules/minimist/test/all_bool.js create mode 100644 server/node_modules/minimist/test/bool.js create mode 100644 server/node_modules/minimist/test/dash.js create mode 100644 server/node_modules/minimist/test/default_bool.js create mode 100644 server/node_modules/minimist/test/dotted.js create mode 100644 server/node_modules/minimist/test/kv_short.js create mode 100644 server/node_modules/minimist/test/long.js create mode 100644 server/node_modules/minimist/test/num.js create mode 100644 server/node_modules/minimist/test/parse.js create mode 100644 server/node_modules/minimist/test/parse_modified.js create mode 100644 server/node_modules/minimist/test/proto.js create mode 100644 server/node_modules/minimist/test/short.js create mode 100644 server/node_modules/minimist/test/stop_early.js create mode 100644 server/node_modules/minimist/test/unknown.js create mode 100644 server/node_modules/minimist/test/whitespace.js create mode 100644 server/node_modules/mkdirp/LICENSE create mode 100755 server/node_modules/mkdirp/bin/cmd.js create mode 100644 server/node_modules/mkdirp/bin/usage.txt create mode 100644 server/node_modules/mkdirp/index.js create mode 100644 server/node_modules/mkdirp/package.json create mode 100644 server/node_modules/mkdirp/readme.markdown create mode 100644 server/node_modules/on-headers/HISTORY.md create mode 100644 server/node_modules/on-headers/LICENSE create mode 100644 server/node_modules/on-headers/README.md create mode 100644 server/node_modules/on-headers/index.js create mode 100644 server/node_modules/on-headers/package.json create mode 100644 server/node_modules/once/LICENSE create mode 100644 server/node_modules/once/README.md create mode 100644 server/node_modules/once/once.js create mode 100644 server/node_modules/once/package.json create mode 100644 server/node_modules/path-is-absolute/index.js create mode 100644 server/node_modules/path-is-absolute/license create mode 100644 server/node_modules/path-is-absolute/package.json create mode 100644 server/node_modules/path-is-absolute/readme.md create mode 100644 server/node_modules/process-nextick-args/index.js create mode 100644 server/node_modules/process-nextick-args/license.md create mode 100644 server/node_modules/process-nextick-args/package.json create mode 100644 server/node_modules/process-nextick-args/readme.md create mode 100644 server/node_modules/rimraf/LICENSE create mode 100644 server/node_modules/rimraf/README.md create mode 100755 server/node_modules/rimraf/bin.js create mode 100644 server/node_modules/rimraf/package.json create mode 100644 server/node_modules/rimraf/rimraf.js create mode 100644 server/node_modules/setimmediate/LICENSE.txt create mode 100644 server/node_modules/setimmediate/package.json create mode 100644 server/node_modules/setimmediate/setImmediate.js create mode 100644 server/node_modules/unzipper/.circleci/config.yml create mode 100644 server/node_modules/unzipper/.gitattributes create mode 100644 server/node_modules/unzipper/.travis.yml create mode 100644 server/node_modules/unzipper/LICENSE create mode 100644 server/node_modules/unzipper/README.md create mode 100644 server/node_modules/unzipper/lib/Buffer.js create mode 100644 server/node_modules/unzipper/lib/BufferStream.js create mode 100644 server/node_modules/unzipper/lib/Decrypt.js create mode 100644 server/node_modules/unzipper/lib/NoopStream.js create mode 100644 server/node_modules/unzipper/lib/Open/directory.js create mode 100644 server/node_modules/unzipper/lib/Open/index.js create mode 100644 server/node_modules/unzipper/lib/Open/unzip.js create mode 100644 server/node_modules/unzipper/lib/PullStream.js create mode 100644 server/node_modules/unzipper/lib/extract.js create mode 100644 server/node_modules/unzipper/lib/parse.js create mode 100644 server/node_modules/unzipper/lib/parseDateTime.js create mode 100644 server/node_modules/unzipper/lib/parseExtraField.js create mode 100644 server/node_modules/unzipper/lib/parseOne.js create mode 100644 server/node_modules/unzipper/node_modules/isarray/.npmignore create mode 100644 server/node_modules/unzipper/node_modules/isarray/.travis.yml create mode 100644 server/node_modules/unzipper/node_modules/isarray/Makefile create mode 100644 server/node_modules/unzipper/node_modules/isarray/README.md create mode 100644 server/node_modules/unzipper/node_modules/isarray/component.json create mode 100644 server/node_modules/unzipper/node_modules/isarray/index.js create mode 100644 server/node_modules/unzipper/node_modules/isarray/package.json create mode 100644 server/node_modules/unzipper/node_modules/isarray/test.js create mode 100644 server/node_modules/unzipper/node_modules/readable-stream/.travis.yml create mode 100644 server/node_modules/unzipper/node_modules/readable-stream/CONTRIBUTING.md create mode 100644 server/node_modules/unzipper/node_modules/readable-stream/GOVERNANCE.md create mode 100644 server/node_modules/unzipper/node_modules/readable-stream/LICENSE create mode 100644 server/node_modules/unzipper/node_modules/readable-stream/README.md create mode 100644 server/node_modules/unzipper/node_modules/readable-stream/doc/wg-meetings/2015-01-30.md create mode 100644 server/node_modules/unzipper/node_modules/readable-stream/duplex-browser.js create mode 100644 server/node_modules/unzipper/node_modules/readable-stream/duplex.js create mode 100644 server/node_modules/unzipper/node_modules/readable-stream/lib/_stream_duplex.js create mode 100644 server/node_modules/unzipper/node_modules/readable-stream/lib/_stream_passthrough.js create mode 100644 server/node_modules/unzipper/node_modules/readable-stream/lib/_stream_readable.js create mode 100644 server/node_modules/unzipper/node_modules/readable-stream/lib/_stream_transform.js create mode 100644 server/node_modules/unzipper/node_modules/readable-stream/lib/_stream_writable.js create mode 100644 server/node_modules/unzipper/node_modules/readable-stream/lib/internal/streams/BufferList.js create mode 100644 server/node_modules/unzipper/node_modules/readable-stream/lib/internal/streams/destroy.js create mode 100644 server/node_modules/unzipper/node_modules/readable-stream/lib/internal/streams/stream-browser.js create mode 100644 server/node_modules/unzipper/node_modules/readable-stream/lib/internal/streams/stream.js create mode 100644 server/node_modules/unzipper/node_modules/readable-stream/package.json create mode 100644 server/node_modules/unzipper/node_modules/readable-stream/passthrough.js create mode 100644 server/node_modules/unzipper/node_modules/readable-stream/readable-browser.js create mode 100644 server/node_modules/unzipper/node_modules/readable-stream/readable.js create mode 100644 server/node_modules/unzipper/node_modules/readable-stream/transform.js create mode 100644 server/node_modules/unzipper/node_modules/readable-stream/writable-browser.js create mode 100644 server/node_modules/unzipper/node_modules/readable-stream/writable.js create mode 100644 server/node_modules/unzipper/node_modules/string_decoder/.travis.yml create mode 100644 server/node_modules/unzipper/node_modules/string_decoder/LICENSE create mode 100644 server/node_modules/unzipper/node_modules/string_decoder/README.md create mode 100644 server/node_modules/unzipper/node_modules/string_decoder/lib/string_decoder.js create mode 100644 server/node_modules/unzipper/node_modules/string_decoder/package.json create mode 100644 server/node_modules/unzipper/package.json create mode 100644 server/node_modules/unzipper/unzip.js create mode 100644 server/node_modules/util-deprecate/History.md create mode 100644 server/node_modules/util-deprecate/LICENSE create mode 100644 server/node_modules/util-deprecate/README.md create mode 100644 server/node_modules/util-deprecate/browser.js create mode 100644 server/node_modules/util-deprecate/node.js create mode 100644 server/node_modules/util-deprecate/package.json create mode 100644 server/node_modules/wrappy/LICENSE create mode 100644 server/node_modules/wrappy/README.md create mode 100644 server/node_modules/wrappy/package.json create mode 100644 server/node_modules/wrappy/wrappy.js diff --git a/frontend/src/App.css b/frontend/src/App.css index 583fad6..d926b86 100644 --- a/frontend/src/App.css +++ b/frontend/src/App.css @@ -47,6 +47,14 @@ background: linear-gradient(180deg, rgba(251,251,251,1) 0%, rgba(240,255,255,1) font-size: 64px; } +.error{ + color:rgb(170,0,0); +} + +.success{ + color:green; +} + @keyframes fadein { 0% {opacity:0;} 100% {opacity:1;} @@ -113,33 +121,32 @@ background: linear-gradient(180deg, rgba(251,251,251,1) 0%, rgba(240,255,255,1) -webkit-transition: outline-offset .15s ease-in-out, background-color .15s linear; transition: outline-offset .15s ease-in-out, background-color .15s linear; border:1px solid #92b0b3; } -.files{ position:relative} -.files:after { pointer-events: none; +.uploadicon { pointer-events: none; position: absolute; - top: 140px; + top: 40px; left: 0; width: 50px; right: 0; height: 56px; content: ""; background-image: url(https://image.flaticon.com/icons/png/128/109/109612.png); - display: block; margin: 0 auto; background-size: 100%; background-repeat: no-repeat; + z-index:100; } .color input{ background-color:#f0f0ff;} -.files:before { +.dragText { position: absolute; - bottom: 10px; + top: 160px; left: 0; pointer-events: none; width: 100%; right: 0; height: 72px; content: " or drag it here. "; - display: block; margin: 0 auto; color: #000000; text-transform: capitalize; text-align: center; + z-index:100; } \ No newline at end of file diff --git a/frontend/src/App.js b/frontend/src/App.js index ac5adb9..62bb7c3 100644 --- a/frontend/src/App.js +++ b/frontend/src/App.js @@ -13,6 +13,7 @@ import { const REMOTE_ADDR = "http://45.33.13.215:4502"; const axios = require('axios'); +axios.defaults.timeout = 180000; function Logo(){ var note_arrow=new Image(); @@ -55,13 +56,7 @@ function Logo(){ draw.font="64px Open Sans Condensed"; var size=draw.measureText("Pr ject") logo.width=size.width - }); - function drawImage(image, x, y, scale, rotation){ - var draw = logo.getContext("2d"); - draw.setTransform(scale, 0, 0, scale, x, y); // sets scale and origin - draw.rotate(rotation); - draw.drawImage(image, -image.width / 2, -image.height / 2); - } + setInterval(()=>{ if (hitrating==-1) { pos[0]-=startpoint[0]/20; @@ -135,7 +130,15 @@ function Logo(){ } timer+=50; timer2-=50; + //p.setSiteCounter(p.siteCounter+1); },50) + },300); + function drawImage(image, x, y, scale, rotation){ + var draw = logo.getContext("2d"); + draw.setTransform(scale, 0, 0, scale, x, y); // sets scale and origin + draw.rotate(rotation); + draw.drawImage(image, -image.width / 2, -image.height / 2); + } return (<>