├── .gitignore ├── LICENSE ├── README.md ├── app.js ├── config.sample.json ├── db └── index.js ├── handlers ├── osu_getreplay.js ├── osu_getscores.js ├── osu_login.js ├── osu_submit.js ├── register.js ├── site_about.js ├── site_download.js ├── site_faq.js ├── site_home.js ├── site_leaderboard.js └── site_register.js ├── objects └── score.js ├── osu.sql ├── package-lock.json ├── package.json ├── static ├── css │ └── osu.css └── images │ ├── background.jpg │ ├── cellpic1.jpg │ ├── easy.png │ ├── grad.png │ ├── hard.png │ ├── header_bg.jpg │ ├── insane.png │ ├── med.png │ ├── osu.swf │ ├── osu0.jpg │ ├── osu1.jpg │ ├── osu2.jpg │ ├── osu3.png │ ├── osu4.png │ ├── osu5.jpg │ ├── starrating.gif │ └── working.gif └── views ├── base.ejs └── pages ├── about.ejs ├── download.ejs ├── faq.ejs ├── home.ejs ├── leaderboard.ejs └── register.ejs /.gitignore: -------------------------------------------------------------------------------- 1 | # Logs 2 | logs 3 | *.log 4 | npm-debug.log* 5 | yarn-debug.log* 6 | yarn-error.log* 7 | 8 | # Runtime data 9 | pids 10 | *.pid 11 | *.seed 12 | *.pid.lock 13 | 14 | # Directory for instrumented libs generated by jscoverage/JSCover 15 | lib-cov 16 | 17 | # Coverage directory used by tools like istanbul 18 | coverage 19 | 20 | # nyc test coverage 21 | .nyc_output 22 | 23 | # Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files) 24 | .grunt 25 | 26 | # Bower dependency directory (https://bower.io/) 27 | bower_components 28 | 29 | # node-waf configuration 30 | .lock-wscript 31 | 32 | # Compiled binary addons (https://nodejs.org/api/addons.html) 33 | build/Release 34 | 35 | # Dependency directories 36 | node_modules/ 37 | jspm_packages/ 38 | 39 | # TypeScript v1 declaration files 40 | typings/ 41 | 42 | # Optional npm cache directory 43 | .npm 44 | 45 | # Optional eslint cache 46 | .eslintcache 47 | 48 | # Optional REPL history 49 | .node_repl_history 50 | 51 | # Output of 'npm pack' 52 | *.tgz 53 | 54 | # Yarn Integrity file 55 | .yarn-integrity 56 | 57 | # dotenv environment variables file 58 | .env 59 | 60 | # next.js build output 61 | .next 62 | 63 | # custom config files 64 | config.json -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Mozilla Public License Version 2.0 2 | ================================== 3 | 4 | 1. Definitions 5 | -------------- 6 | 7 | 1.1. "Contributor" 8 | means each individual or legal entity that creates, contributes to 9 | the creation of, or owns Covered Software. 10 | 11 | 1.2. "Contributor Version" 12 | means the combination of the Contributions of others (if any) used 13 | by a Contributor and that particular Contributor's Contribution. 14 | 15 | 1.3. "Contribution" 16 | means Covered Software of a particular Contributor. 17 | 18 | 1.4. "Covered Software" 19 | means Source Code Form to which the initial Contributor has attached 20 | the notice in Exhibit A, the Executable Form of such Source Code 21 | Form, and Modifications of such Source Code Form, in each case 22 | including portions thereof. 23 | 24 | 1.5. "Incompatible With Secondary Licenses" 25 | means 26 | 27 | (a) that the initial Contributor has attached the notice described 28 | in Exhibit B to the Covered Software; or 29 | 30 | (b) that the Covered Software was made available under the terms of 31 | version 1.1 or earlier of the License, but not also under the 32 | terms of a Secondary License. 33 | 34 | 1.6. "Executable Form" 35 | means any form of the work other than Source Code Form. 36 | 37 | 1.7. "Larger Work" 38 | means a work that combines Covered Software with other material, in 39 | a separate file or files, that is not Covered Software. 40 | 41 | 1.8. "License" 42 | means this document. 43 | 44 | 1.9. "Licensable" 45 | means having the right to grant, to the maximum extent possible, 46 | whether at the time of the initial grant or subsequently, any and 47 | all of the rights conveyed by this License. 48 | 49 | 1.10. "Modifications" 50 | means any of the following: 51 | 52 | (a) any file in Source Code Form that results from an addition to, 53 | deletion from, or modification of the contents of Covered 54 | Software; or 55 | 56 | (b) any new file in Source Code Form that contains any Covered 57 | Software. 58 | 59 | 1.11. "Patent Claims" of a Contributor 60 | means any patent claim(s), including without limitation, method, 61 | process, and apparatus claims, in any patent Licensable by such 62 | Contributor that would be infringed, but for the grant of the 63 | License, by the making, using, selling, offering for sale, having 64 | made, import, or transfer of either its Contributions or its 65 | Contributor Version. 66 | 67 | 1.12. "Secondary License" 68 | means either the GNU General Public License, Version 2.0, the GNU 69 | Lesser General Public License, Version 2.1, the GNU Affero General 70 | Public License, Version 3.0, or any later versions of those 71 | licenses. 72 | 73 | 1.13. "Source Code Form" 74 | means the form of the work preferred for making modifications. 75 | 76 | 1.14. "You" (or "Your") 77 | means an individual or a legal entity exercising rights under this 78 | License. For legal entities, "You" includes any entity that 79 | controls, is controlled by, or is under common control with You. For 80 | purposes of this definition, "control" means (a) the power, direct 81 | or indirect, to cause the direction or management of such entity, 82 | whether by contract or otherwise, or (b) ownership of more than 83 | fifty percent (50%) of the outstanding shares or beneficial 84 | ownership of such entity. 85 | 86 | 2. License Grants and Conditions 87 | -------------------------------- 88 | 89 | 2.1. Grants 90 | 91 | Each Contributor hereby grants You a world-wide, royalty-free, 92 | non-exclusive license: 93 | 94 | (a) under intellectual property rights (other than patent or trademark) 95 | Licensable by such Contributor to use, reproduce, make available, 96 | modify, display, perform, distribute, and otherwise exploit its 97 | Contributions, either on an unmodified basis, with Modifications, or 98 | as part of a Larger Work; and 99 | 100 | (b) under Patent Claims of such Contributor to make, use, sell, offer 101 | for sale, have made, import, and otherwise transfer either its 102 | Contributions or its Contributor Version. 103 | 104 | 2.2. Effective Date 105 | 106 | The licenses granted in Section 2.1 with respect to any Contribution 107 | become effective for each Contribution on the date the Contributor first 108 | distributes such Contribution. 109 | 110 | 2.3. Limitations on Grant Scope 111 | 112 | The licenses granted in this Section 2 are the only rights granted under 113 | this License. No additional rights or licenses will be implied from the 114 | distribution or licensing of Covered Software under this License. 115 | Notwithstanding Section 2.1(b) above, no patent license is granted by a 116 | Contributor: 117 | 118 | (a) for any code that a Contributor has removed from Covered Software; 119 | or 120 | 121 | (b) for infringements caused by: (i) Your and any other third party's 122 | modifications of Covered Software, or (ii) the combination of its 123 | Contributions with other software (except as part of its Contributor 124 | Version); or 125 | 126 | (c) under Patent Claims infringed by Covered Software in the absence of 127 | its Contributions. 128 | 129 | This License does not grant any rights in the trademarks, service marks, 130 | or logos of any Contributor (except as may be necessary to comply with 131 | the notice requirements in Section 3.4). 132 | 133 | 2.4. Subsequent Licenses 134 | 135 | No Contributor makes additional grants as a result of Your choice to 136 | distribute the Covered Software under a subsequent version of this 137 | License (see Section 10.2) or under the terms of a Secondary License (if 138 | permitted under the terms of Section 3.3). 139 | 140 | 2.5. Representation 141 | 142 | Each Contributor represents that the Contributor believes its 143 | Contributions are its original creation(s) or it has sufficient rights 144 | to grant the rights to its Contributions conveyed by this License. 145 | 146 | 2.6. Fair Use 147 | 148 | This License is not intended to limit any rights You have under 149 | applicable copyright doctrines of fair use, fair dealing, or other 150 | equivalents. 151 | 152 | 2.7. Conditions 153 | 154 | Sections 3.1, 3.2, 3.3, and 3.4 are conditions of the licenses granted 155 | in Section 2.1. 156 | 157 | 3. Responsibilities 158 | ------------------- 159 | 160 | 3.1. Distribution of Source Form 161 | 162 | All distribution of Covered Software in Source Code Form, including any 163 | Modifications that You create or to which You contribute, must be under 164 | the terms of this License. You must inform recipients that the Source 165 | Code Form of the Covered Software is governed by the terms of this 166 | License, and how they can obtain a copy of this License. You may not 167 | attempt to alter or restrict the recipients' rights in the Source Code 168 | Form. 169 | 170 | 3.2. Distribution of Executable Form 171 | 172 | If You distribute Covered Software in Executable Form then: 173 | 174 | (a) such Covered Software must also be made available in Source Code 175 | Form, as described in Section 3.1, and You must inform recipients of 176 | the Executable Form how they can obtain a copy of such Source Code 177 | Form by reasonable means in a timely manner, at a charge no more 178 | than the cost of distribution to the recipient; and 179 | 180 | (b) You may distribute such Executable Form under the terms of this 181 | License, or sublicense it under different terms, provided that the 182 | license for the Executable Form does not attempt to limit or alter 183 | the recipients' rights in the Source Code Form under this License. 184 | 185 | 3.3. Distribution of a Larger Work 186 | 187 | You may create and distribute a Larger Work under terms of Your choice, 188 | provided that You also comply with the requirements of this License for 189 | the Covered Software. If the Larger Work is a combination of Covered 190 | Software with a work governed by one or more Secondary Licenses, and the 191 | Covered Software is not Incompatible With Secondary Licenses, this 192 | License permits You to additionally distribute such Covered Software 193 | under the terms of such Secondary License(s), so that the recipient of 194 | the Larger Work may, at their option, further distribute the Covered 195 | Software under the terms of either this License or such Secondary 196 | License(s). 197 | 198 | 3.4. Notices 199 | 200 | You may not remove or alter the substance of any license notices 201 | (including copyright notices, patent notices, disclaimers of warranty, 202 | or limitations of liability) contained within the Source Code Form of 203 | the Covered Software, except that You may alter any license notices to 204 | the extent required to remedy known factual inaccuracies. 205 | 206 | 3.5. Application of Additional Terms 207 | 208 | You may choose to offer, and to charge a fee for, warranty, support, 209 | indemnity or liability obligations to one or more recipients of Covered 210 | Software. However, You may do so only on Your own behalf, and not on 211 | behalf of any Contributor. You must make it absolutely clear that any 212 | such warranty, support, indemnity, or liability obligation is offered by 213 | You alone, and You hereby agree to indemnify every Contributor for any 214 | liability incurred by such Contributor as a result of warranty, support, 215 | indemnity or liability terms You offer. You may include additional 216 | disclaimers of warranty and limitations of liability specific to any 217 | jurisdiction. 218 | 219 | 4. Inability to Comply Due to Statute or Regulation 220 | --------------------------------------------------- 221 | 222 | If it is impossible for You to comply with any of the terms of this 223 | License with respect to some or all of the Covered Software due to 224 | statute, judicial order, or regulation then You must: (a) comply with 225 | the terms of this License to the maximum extent possible; and (b) 226 | describe the limitations and the code they affect. Such description must 227 | be placed in a text file included with all distributions of the Covered 228 | Software under this License. Except to the extent prohibited by statute 229 | or regulation, such description must be sufficiently detailed for a 230 | recipient of ordinary skill to be able to understand it. 231 | 232 | 5. Termination 233 | -------------- 234 | 235 | 5.1. The rights granted under this License will terminate automatically 236 | if You fail to comply with any of its terms. However, if You become 237 | compliant, then the rights granted under this License from a particular 238 | Contributor are reinstated (a) provisionally, unless and until such 239 | Contributor explicitly and finally terminates Your grants, and (b) on an 240 | ongoing basis, if such Contributor fails to notify You of the 241 | non-compliance by some reasonable means prior to 60 days after You have 242 | come back into compliance. Moreover, Your grants from a particular 243 | Contributor are reinstated on an ongoing basis if such Contributor 244 | notifies You of the non-compliance by some reasonable means, this is the 245 | first time You have received notice of non-compliance with this License 246 | from such Contributor, and You become compliant prior to 30 days after 247 | Your receipt of the notice. 248 | 249 | 5.2. If You initiate litigation against any entity by asserting a patent 250 | infringement claim (excluding declaratory judgment actions, 251 | counter-claims, and cross-claims) alleging that a Contributor Version 252 | directly or indirectly infringes any patent, then the rights granted to 253 | You by any and all Contributors for the Covered Software under Section 254 | 2.1 of this License shall terminate. 255 | 256 | 5.3. In the event of termination under Sections 5.1 or 5.2 above, all 257 | end user license agreements (excluding distributors and resellers) which 258 | have been validly granted by You or Your distributors under this License 259 | prior to termination shall survive termination. 260 | 261 | ************************************************************************ 262 | * * 263 | * 6. Disclaimer of Warranty * 264 | * ------------------------- * 265 | * * 266 | * Covered Software is provided under this License on an "as is" * 267 | * basis, without warranty of any kind, either expressed, implied, or * 268 | * statutory, including, without limitation, warranties that the * 269 | * Covered Software is free of defects, merchantable, fit for a * 270 | * particular purpose or non-infringing. The entire risk as to the * 271 | * quality and performance of the Covered Software is with You. * 272 | * Should any Covered Software prove defective in any respect, You * 273 | * (not any Contributor) assume the cost of any necessary servicing, * 274 | * repair, or correction. This disclaimer of warranty constitutes an * 275 | * essential part of this License. No use of any Covered Software is * 276 | * authorized under this License except under this disclaimer. * 277 | * * 278 | ************************************************************************ 279 | 280 | ************************************************************************ 281 | * * 282 | * 7. Limitation of Liability * 283 | * -------------------------- * 284 | * * 285 | * Under no circumstances and under no legal theory, whether tort * 286 | * (including negligence), contract, or otherwise, shall any * 287 | * Contributor, or anyone who distributes Covered Software as * 288 | * permitted above, be liable to You for any direct, indirect, * 289 | * special, incidental, or consequential damages of any character * 290 | * including, without limitation, damages for lost profits, loss of * 291 | * goodwill, work stoppage, computer failure or malfunction, or any * 292 | * and all other commercial damages or losses, even if such party * 293 | * shall have been informed of the possibility of such damages. This * 294 | * limitation of liability shall not apply to liability for death or * 295 | * personal injury resulting from such party's negligence to the * 296 | * extent applicable law prohibits such limitation. Some * 297 | * jurisdictions do not allow the exclusion or limitation of * 298 | * incidental or consequential damages, so this exclusion and * 299 | * limitation may not apply to You. * 300 | * * 301 | ************************************************************************ 302 | 303 | 8. Litigation 304 | ------------- 305 | 306 | Any litigation relating to this License may be brought only in the 307 | courts of a jurisdiction where the defendant maintains its principal 308 | place of business and such litigation shall be governed by laws of that 309 | jurisdiction, without reference to its conflict-of-law provisions. 310 | Nothing in this Section shall prevent a party's ability to bring 311 | cross-claims or counter-claims. 312 | 313 | 9. Miscellaneous 314 | ---------------- 315 | 316 | This License represents the complete agreement concerning the subject 317 | matter hereof. If any provision of this License is held to be 318 | unenforceable, such provision shall be reformed only to the extent 319 | necessary to make it enforceable. Any law or regulation which provides 320 | that the language of a contract shall be construed against the drafter 321 | shall not be used to construe this License against a Contributor. 322 | 323 | 10. Versions of the License 324 | --------------------------- 325 | 326 | 10.1. New Versions 327 | 328 | Mozilla Foundation is the license steward. Except as provided in Section 329 | 10.3, no one other than the license steward has the right to modify or 330 | publish new versions of this License. Each version will be given a 331 | distinguishing version number. 332 | 333 | 10.2. Effect of New Versions 334 | 335 | You may distribute the Covered Software under the terms of the version 336 | of the License under which You originally received the Covered Software, 337 | or under the terms of any subsequent version published by the license 338 | steward. 339 | 340 | 10.3. Modified Versions 341 | 342 | If you create software not governed by this License, and you want to 343 | create a new license for such software, you may create and use a 344 | modified version of this License if you rename the license and remove 345 | any references to the name of the license steward (except to note that 346 | such modified license differs from this License). 347 | 348 | 10.4. Distributing Source Code Form that is Incompatible With Secondary 349 | Licenses 350 | 351 | If You choose to distribute Source Code Form that is Incompatible With 352 | Secondary Licenses under the terms of this version of the License, the 353 | notice described in Exhibit B of this License must be attached. 354 | 355 | Exhibit A - Source Code Form License Notice 356 | ------------------------------------------- 357 | 358 | This Source Code Form is subject to the terms of the Mozilla Public 359 | License, v. 2.0. If a copy of the MPL was not distributed with this 360 | file, You can obtain one at http://mozilla.org/MPL/2.0/. 361 | 362 | If it is not possible or desirable to put the notice in a particular 363 | file, then You may include the notice in a location (such as a LICENSE 364 | file in a relevant directory) where a recipient would be likely to look 365 | for such a notice. 366 | 367 | You may add additional accurate notices of copyright ownership. 368 | 369 | Exhibit B - "Incompatible With Secondary Licenses" Notice 370 | --------------------------------------------------------- 371 | 372 | This Source Code Form is "Incompatible With Secondary Licenses", as 373 | defined by the Mozilla Public License, v. 2.0. 374 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # classic-osu 2 | 3 | ## Setting up 4 | ### Dependencies 5 | Node.js (tested on 16.x LTS) 6 | MySQL 7 | Nginx (if hosting on a server and you want multiple connections) 8 | ### Configuring 9 | `npm install` and `cp config.sample.json config.json` then edit the config in a text editor (`nano config.json`). 10 | ## Connecting (locally) 11 | ### Windows 12 | Edit your hosts file seen at (C:\Windows\System32\drivers\etc\hosts) with a text editor and add the following line: 13 | ``` 14 | 127.0.0.1 osu.ppy.sh 15 | ``` 16 | Save, open classic-osu and you're ready! 17 | ### Linux + OSX 18 | Edit the hosts file seen at (/etc/hosts) with a text editor (i.e nano) and add the following line: 19 | ``` 20 | 127.0.0.1 osu.ppy.sh 21 | ``` 22 | Save, open classic-osu and you're ready! 23 | -------------------------------------------------------------------------------- /app.js: -------------------------------------------------------------------------------- 1 | const express = require("express"); 2 | const app = express(); 3 | const bodyParser = require('body-parser'); 4 | const fs = require("fs"); 5 | const path = require("path"); 6 | app.use('/static', express.static(path.join(__dirname, 'static'))); 7 | 8 | if (!fs.existsSync('./.data/')) fs.mkdirSync('./.data'); 9 | if (!fs.existsSync('./.data/replays/')) fs.mkdirSync('./.data/replays'); 10 | global.fileloc = "/.data/replays/" 11 | 12 | app.set('view engine', 'ejs'); 13 | app.use(bodyParser.urlencoded({ 14 | extended: false 15 | })); 16 | app.use(bodyParser.json()); 17 | 18 | app.get("/", require("./handlers/site_home")); 19 | app.get("/about", require("./handlers/site_about")); 20 | app.get("/download", require("./handlers/site_download")); 21 | app.get("/faq", require("./handlers/site_faq")); 22 | app.get("/leaderboard", require("./handlers/site_leaderboard")); 23 | app.get("/register", require("./handlers/site_register")); 24 | app.post("/register", require("./handlers/register")); 25 | 26 | // osu! connections 27 | app.get("/web/osu-login.php", require("./handlers/osu_login")); 28 | 29 | app.post("/web/osu-submit.php", require("./handlers/osu_submit")); 30 | 31 | app.get("/web/osu-getscores.php", require("./handlers/osu_getscores")); 32 | 33 | app.listen(require("./config.json").site.port); -------------------------------------------------------------------------------- /config.sample.json: -------------------------------------------------------------------------------- 1 | { 2 | "db": { 3 | "username": "root", 4 | "password": "", 5 | "database": "osu", 6 | "host": "localhost" 7 | }, 8 | "site": { 9 | "port": 80, 10 | "clientDownload": "" 11 | } 12 | } -------------------------------------------------------------------------------- /db/index.js: -------------------------------------------------------------------------------- 1 | const mysql = require("mysql"); 2 | const sqlstring = require("sqlstring"); 3 | const config = require("../config.json"); 4 | 5 | const pool = mysql.createPool({ 6 | host: config.db.host, 7 | user: config.db.username, 8 | password: config.db.password, 9 | database: config.db.database 10 | }); 11 | 12 | function query(sql, ...args) { 13 | return new Promise((resolve, reject) => { 14 | pool.getConnection((error, connection) => { 15 | if (error) { 16 | reject(error); 17 | connection.release(); 18 | return; 19 | } 20 | 21 | connection.query(sqlstring.format(sql, args), (error, result) => { 22 | if (error) reject(error); 23 | else resolve(result); 24 | connection.release(); 25 | }); 26 | }); 27 | }); 28 | } 29 | 30 | module.exports = { 31 | query 32 | }; -------------------------------------------------------------------------------- /handlers/osu_getreplay.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | async function handle(req, res) { 4 | console.log(req.query); 5 | res.end(); 6 | } 7 | 8 | module.exports = handle; -------------------------------------------------------------------------------- /handlers/osu_getscores.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | const { query } = require("../db"); 4 | 5 | async function handle(req, res) { 6 | let scores = await query("SELECT * FROM scores WHERE beatmap_md5 = ? AND passed = 1 ORDER BY score DESC", req.query.c); 7 | if (scores.length == 0) return ""; 8 | 9 | let text = ""; 10 | for (let i = 0; i < scores.length; i++) { 11 | let score = scores[i], 12 | userData = await query("SELECT * FROM users WHERE id = ?", score.userid), 13 | perfect = "false"; 14 | 15 | if (score.perfect == 1) perfect = "true"; 16 | 17 | let scoreText = score.id + ":" + userData[0].username + ":" + score.score + ":" + score.maxcombo + ":" + score.count50 + ":" + score.count100 + ":" + score.count300 + ":" + score.misses + ":" + score.countKatu + ":" + score.countGeki + ":" + perfect + ":" + score.mods + "\n"; 18 | text = text + scoreText; 19 | } 20 | res.end(text); 21 | } 22 | 23 | module.exports = handle; -------------------------------------------------------------------------------- /handlers/osu_login.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | const { query } = require("../db"); 4 | 5 | async function handle(req, res) { 6 | let username = req.query.username, 7 | passwordMD5 = req.query.password; 8 | 9 | let userExists = await query("SELECT * FROM users WHERE username = ? AND password = ?", username, passwordMD5); 10 | if (userExists.length == 0) return res.end("0"); 11 | 12 | return res.end("1"); 13 | } 14 | 15 | module.exports = handle; -------------------------------------------------------------------------------- /handlers/osu_submit.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | const { query } = require("../db"), 4 | ScoreClass = require("../objects/score"); 5 | 6 | async function handle(req, res) { 7 | let passwordMD5 = req.query.pass, 8 | scoreData = req.query.score.split(":"), 9 | passed = 0, 10 | perfect = 0; 11 | 12 | if (scoreData[14] == "True") passed = 1; 13 | if (scoreData[11] == "True") perfect = 1; 14 | 15 | let score = new ScoreClass(scoreData, passwordMD5, passed, perfect); 16 | 17 | let scoreExists = await query("SELECT * FROM scores WHERE submit_hash = ?", score.submitHash); 18 | if (scoreExists.length > 0) return res.end("err: score exists") 19 | 20 | let userid = await query("SELECT * FROM users WHERE username = ? AND password = ?", score.username, score.password) 21 | if (userid.length == 0) return res.end("err: user not found"); 22 | 23 | userid = userid[0].id; 24 | 25 | await query("INSERT INTO scores(userid,submit_hash,beatmap_md5,count300,count100,count50,countGeki,countKatu,misses,score,maxcombo,perfect,mods,passed,rank) VALUES(?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)", userid, score.submitHash, score.mapMD5, score.count300, score.count100, score.count50, score.countGeki, score.countKatu, score.countMiss, score.score, score.maxcombo, score.perfect, score.mods, score.passed, score.grade) 26 | await updateUserScore(userid); 27 | 28 | console.log("new score on " + score.mapMD5 + " by " + score.username); 29 | 30 | let lastTopScore = await query("SELECT * FROM scores WHERE beatmap_md5 = ? AND userid = ? AND passed = 1", score.mapMD5, score.userid); 31 | if (lastTopScore[0].score < score.score) await query("UPDATE scores SET passed = 0 WHERE submit_hash = ?".lastTopScore[0].submitHash); 32 | 33 | res.end("ok"); 34 | } 35 | 36 | async function updateUserScore(id) { 37 | let scores = await query("SELECT * FROM scores WHERE userid = ? AND passed = 1", id), 38 | totalUserScore = 0; 39 | 40 | scores.forEach(score => { 41 | totalUserScore = totalUserScore + score.score; 42 | }); 43 | 44 | return await query("UPDATE users SET score = ? WHERE id = ?", totalUserScore, id); 45 | } 46 | module.exports = handle; -------------------------------------------------------------------------------- /handlers/register.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | const { query } = require("../db"), 4 | md5 = require("md5"); 5 | 6 | async function handle(req, res) { 7 | let username = req.body.username, 8 | password = md5(req.body.password), 9 | email = req.body.email; 10 | 11 | if (username.length < 2 || username.length > 32) return res.end("Username must be between 2 and 32 characters"); 12 | if (req.body.password.length < 8) return res.end("Password must be greater than 8 characters"); 13 | 14 | let userNameCheck = await query("SELECT * FROM users WHERE username = ?", username); 15 | if (userNameCheck.length > 0) return res.end("Username already in use"); 16 | 17 | let emailCheck = await query("SELECT * FROM users WHERE email = ?", email); 18 | if (emailCheck.length > 0) return res.end(emailCheck[0].username + " has already registered with this email"); 19 | 20 | await query("INSERT INTO users(username,password,email) VALUES(?,?,?)", username, password, email); 21 | 22 | return res.end("You have been successfully registered!"); 23 | } 24 | 25 | module.exports = handle; -------------------------------------------------------------------------------- /handlers/site_about.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | async function handle(req, res) { 4 | res.render("base", { 5 | page: "About", 6 | }) 7 | } 8 | 9 | module.exports = handle; -------------------------------------------------------------------------------- /handlers/site_download.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | async function handle(req, res) { 4 | res.render("base", { 5 | page: "Download" 6 | }) 7 | } 8 | 9 | module.exports = handle; -------------------------------------------------------------------------------- /handlers/site_faq.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | async function handle(req, res) { 4 | res.render("base", { 5 | page: "FAQ" 6 | }) 7 | } 8 | 9 | module.exports = handle; -------------------------------------------------------------------------------- /handlers/site_home.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | const { query } = require("../db"); 4 | 5 | async function handle(req, res) { 6 | let blogPosts = await query("SELECT title, message, userid, username FROM blog_posts INNER JOIN users ON blog_posts.userid = users.id ORDER BY blog_posts.id LIMIT 5"); 7 | res.render("base", { 8 | page: "Homepage", 9 | posts: blogPosts 10 | }) 11 | } 12 | 13 | module.exports = handle; -------------------------------------------------------------------------------- /handlers/site_leaderboard.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | const { query } = require("../db"); 3 | 4 | async function handle(req, res) { 5 | let topPlayers = await query("SELECT * FROM users ORDER BY score DESC"); 6 | res.render("base", { 7 | page: "Leaderboard", 8 | leaderboard: topPlayers 9 | }) 10 | } 11 | 12 | module.exports = handle; -------------------------------------------------------------------------------- /handlers/site_register.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | async function handle(req, res) { 3 | res.render("base", { 4 | page: "Register" 5 | }) 6 | } 7 | 8 | module.exports = handle; -------------------------------------------------------------------------------- /objects/score.js: -------------------------------------------------------------------------------- 1 | class Score { 2 | constructor(scoreData, password, passed, perfect) { 3 | this.username = scoreData[1]; 4 | this.password = password; 5 | this.mapMD5 = scoreData[0]; 6 | this.submitHash = scoreData[2]; 7 | this.count300 = scoreData[3]; 8 | this.count100 = scoreData[4]; 9 | this.count50 = scoreData[5]; 10 | this.countGeki = scoreData[6]; 11 | this.countKatu = scoreData[7]; 12 | this.countMiss = scoreData[8]; 13 | this.score = scoreData[9]; 14 | this.maxcombo = scoreData[10]; 15 | this.perfect = perfect; 16 | this.mods = scoreData[13]; 17 | this.passed = passed; 18 | this.grade = scoreData[12]; 19 | } 20 | } 21 | 22 | module.exports = Score; -------------------------------------------------------------------------------- /osu.sql: -------------------------------------------------------------------------------- 1 | -- phpMyAdmin SQL Dump 2 | -- version 4.8.5 3 | -- https://www.phpmyadmin.net/ 4 | -- 5 | -- Host: 127.0.0.1 6 | -- Generation Time: Mar 21, 2019 at 09:08 PM 7 | -- Server version: 10.1.38-MariaDB 8 | -- PHP Version: 7.1.27 9 | 10 | SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; 11 | SET AUTOCOMMIT = 0; 12 | START TRANSACTION; 13 | SET time_zone = "+00:00"; 14 | 15 | 16 | /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; 17 | /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; 18 | /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; 19 | /*!40101 SET NAMES utf8mb4 */; 20 | 21 | -- 22 | -- Database: `osu` 23 | -- 24 | 25 | -- -------------------------------------------------------- 26 | 27 | -- 28 | -- Table structure for table `scores` 29 | -- 30 | 31 | CREATE TABLE `scores` ( 32 | `id` int(11) NOT NULL, 33 | `userid` int(11) NOT NULL, 34 | `submit_hash` varchar(256) NOT NULL, 35 | `beatmap_md5` varchar(256) NOT NULL, 36 | `count300` int(11) NOT NULL, 37 | `count100` int(11) NOT NULL, 38 | `count50` int(11) NOT NULL, 39 | `countGeki` int(11) NOT NULL, 40 | `countKatu` int(11) NOT NULL, 41 | `misses` int(11) NOT NULL, 42 | `score` int(11) NOT NULL, 43 | `maxcombo` int(11) NOT NULL, 44 | `perfect` tinyint(1) NOT NULL, 45 | `mods` int(11) NOT NULL, 46 | `passed` tinyint(1) NOT NULL, 47 | `rank` int(11) NOT NULL 48 | ) ENGINE=InnoDB DEFAULT CHARSET=latin1; 49 | 50 | -- -------------------------------------------------------- 51 | 52 | -- 53 | -- Table structure for table `users` 54 | -- 55 | 56 | CREATE TABLE `users` ( 57 | `id` int(11) NOT NULL, 58 | `username` varchar(32) NOT NULL, 59 | `password` varchar(256) NOT NULL, 60 | `email` varchar(32) NOT NULL, 61 | `score` int(11) NOT NULL DEFAULT '0' 62 | ) ENGINE=InnoDB DEFAULT CHARSET=latin1; 63 | 64 | -- -------------------------------------------------------- 65 | 66 | -- 67 | -- Table structure for table `blog_posts` 68 | -- 69 | 70 | CREATE TABLE `blog_posts` ( 71 | `id` int(11) NOT NULL, 72 | `userid` int(11) NOT NULL, 73 | `title` varchar(256) NOT NULL, 74 | `message` text NOT NULL 75 | ) ENGINE=InnoDB DEFAULT CHARSET=latin1; 76 | 77 | -- 78 | -- Indexes for table `scores` 79 | -- 80 | ALTER TABLE `scores` 81 | ADD PRIMARY KEY (`id`), 82 | ADD INDEX `userid` (`userid`), 83 | ADD INDEX `score` (`score`), 84 | ADD INDEX `passed` (`passed`), 85 | ADD INDEX `score_hashes` (`submit_hash`, `beatmap_md5`); 86 | 87 | -- 88 | -- Indexes for table `users` 89 | -- 90 | ALTER TABLE `users` 91 | ADD PRIMARY KEY (`id`), 92 | ADD UNIQUE INDEX `username` (`username`), 93 | ADD UNIQUE INDEX `email` (`email`), 94 | ADD INDEX `score` (`score`); 95 | 96 | -- 97 | -- AUTO_INCREMENT for dumped tables 98 | -- 99 | 100 | -- 101 | -- AUTO_INCREMENT for table `scores` 102 | -- 103 | ALTER TABLE `scores` 104 | MODIFY `id` int(11) NOT NULL AUTO_INCREMENT; 105 | 106 | -- 107 | -- AUTO_INCREMENT for table `users` 108 | -- 109 | ALTER TABLE `users` 110 | MODIFY `id` int(11) NOT NULL AUTO_INCREMENT; 111 | COMMIT; 112 | 113 | -- 114 | -- Indexes for dumped tables 115 | -- 116 | 117 | -- 118 | -- Indexes for table `blog_posts` 119 | -- 120 | ALTER TABLE `blog_posts` 121 | ADD PRIMARY KEY (`id`); 122 | 123 | -- 124 | -- AUTO_INCREMENT for dumped tables 125 | -- 126 | 127 | -- 128 | -- AUTO_INCREMENT for table `blog_posts` 129 | -- 130 | ALTER TABLE `blog_posts` 131 | MODIFY `id` int(11) NOT NULL AUTO_INCREMENT; 132 | COMMIT; 133 | 134 | /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; 135 | /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; 136 | /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; 137 | -------------------------------------------------------------------------------- /package-lock.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "2007bancho", 3 | "version": "1.0.0", 4 | "lockfileVersion": 2, 5 | "requires": true, 6 | "packages": { 7 | "": { 8 | "name": "2007bancho", 9 | "version": "1.0.0", 10 | "license": "ISC", 11 | "dependencies": { 12 | "body-parser": "^1.20.0", 13 | "ejs": "^3.1.8", 14 | "express": "^4.19.2", 15 | "express-fileupload": "^1.4.0", 16 | "md5": "^2.3.0", 17 | "multer": "^2.0.0-rc.3", 18 | "mysql": "^2.18.1", 19 | "sqlstring": "^2.3.3" 20 | } 21 | }, 22 | "node_modules/@fastify/busboy": { 23 | "version": "1.0.0", 24 | "resolved": "https://registry.npmjs.org/@fastify/busboy/-/busboy-1.0.0.tgz", 25 | "integrity": "sha512-tzTXX1TFEjWCseEsNdIlXXkD+48uJoN+zpqIojUX4pSoMscsbhO/UuVEB5SzJucexqDWOo2ma0ECwdD7hZdrzg==", 26 | "dependencies": { 27 | "text-decoding": "^1.0.0" 28 | }, 29 | "engines": { 30 | "node": ">=10.17.0" 31 | } 32 | }, 33 | "node_modules/@tokenizer/token": { 34 | "version": "0.3.0", 35 | "resolved": "https://registry.npmjs.org/@tokenizer/token/-/token-0.3.0.tgz", 36 | "integrity": "sha512-OvjF+z51L3ov0OyAU0duzsYuvO01PH7x4t6DJx+guahgTnBHkhJdG7soQeTSFLWN3efnHyibZ4Z8l2EuWwJN3A==" 37 | }, 38 | "node_modules/accepts": { 39 | "version": "1.3.8", 40 | "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.8.tgz", 41 | "integrity": "sha512-PYAthTa2m2VKxuvSD3DPC/Gy+U+sOA1LAuT8mkmRuvw+NACSaeXEQ+NHcVF7rONl6qcaxV3Uuemwawk+7+SJLw==", 42 | "dependencies": { 43 | "mime-types": "~2.1.34", 44 | "negotiator": "0.6.3" 45 | }, 46 | "engines": { 47 | "node": ">= 0.6" 48 | } 49 | }, 50 | "node_modules/ansi-styles": { 51 | "version": "4.3.0", 52 | "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", 53 | "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", 54 | "dependencies": { 55 | "color-convert": "^2.0.1" 56 | }, 57 | "engines": { 58 | "node": ">=8" 59 | }, 60 | "funding": { 61 | "url": "https://github.com/chalk/ansi-styles?sponsor=1" 62 | } 63 | }, 64 | "node_modules/append-field": { 65 | "version": "2.0.0", 66 | "resolved": "https://registry.npmjs.org/append-field/-/append-field-2.0.0.tgz", 67 | "integrity": "sha512-yUPXgerKgcuwakzrRyklfhX+Ma2aYYMjb+BO2RPUwq+tk928V/i5DFWcCUS3hQhj468N+Ktmwb0tfbEtmfC6WA==", 68 | "engines": { 69 | "node": "^12.20.0 || ^14.13.1 || >=16.0.0" 70 | } 71 | }, 72 | "node_modules/array-flatten": { 73 | "version": "1.1.1", 74 | "resolved": "https://registry.npmjs.org/array-flatten/-/array-flatten-1.1.1.tgz", 75 | "integrity": "sha512-PCVAQswWemu6UdxsDFFX/+gVeYqKAod3D3UVm91jHwynguOwAvYPhx8nNlM++NqRcK6CxxpUafjmhIdKiHibqg==" 76 | }, 77 | "node_modules/async": { 78 | "version": "3.2.3", 79 | "resolved": "https://registry.npmjs.org/async/-/async-3.2.3.tgz", 80 | "integrity": "sha512-spZRyzKL5l5BZQrr/6m/SqFdBN0q3OCI0f9rjfBzCMBIP4p75P620rR3gTmaksNOhmzgdxcaxdNfMy6anrbM0g==" 81 | }, 82 | "node_modules/balanced-match": { 83 | "version": "1.0.2", 84 | "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", 85 | "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==" 86 | }, 87 | "node_modules/base32-encode": { 88 | "version": "2.0.0", 89 | "resolved": "https://registry.npmjs.org/base32-encode/-/base32-encode-2.0.0.tgz", 90 | "integrity": "sha512-mlmkfc2WqdDtMl/id4qm3A7RjW6jxcbAoMjdRmsPiwQP0ufD4oXItYMnPgVHe80lnAIy+1xwzhHE1s4FoIceSw==", 91 | "dependencies": { 92 | "to-data-view": "^2.0.0" 93 | }, 94 | "engines": { 95 | "node": "^12.20.0 || ^14.13.1 || >=16.0.0" 96 | } 97 | }, 98 | "node_modules/bignumber.js": { 99 | "version": "9.0.0", 100 | "resolved": "https://registry.npmjs.org/bignumber.js/-/bignumber.js-9.0.0.tgz", 101 | "integrity": "sha512-t/OYhhJ2SD+YGBQcjY8GzzDHEk9f3nerxjtfa6tlMXfe7frs/WozhvCNoGvpM0P3bNf3Gq5ZRMlGr5f3r4/N8A==", 102 | "engines": { 103 | "node": "*" 104 | } 105 | }, 106 | "node_modules/body-parser": { 107 | "version": "1.20.2", 108 | "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.20.2.tgz", 109 | "integrity": "sha512-ml9pReCu3M61kGlqoTm2umSXTlRTuGTx0bfYj+uIUKKYycG5NtSbeetV3faSU6R7ajOPw0g/J1PvK4qNy7s5bA==", 110 | "dependencies": { 111 | "bytes": "3.1.2", 112 | "content-type": "~1.0.5", 113 | "debug": "2.6.9", 114 | "depd": "2.0.0", 115 | "destroy": "1.2.0", 116 | "http-errors": "2.0.0", 117 | "iconv-lite": "0.4.24", 118 | "on-finished": "2.4.1", 119 | "qs": "6.11.0", 120 | "raw-body": "2.5.2", 121 | "type-is": "~1.6.18", 122 | "unpipe": "1.0.0" 123 | }, 124 | "engines": { 125 | "node": ">= 0.8", 126 | "npm": "1.2.8000 || >= 1.4.16" 127 | } 128 | }, 129 | "node_modules/brace-expansion": { 130 | "version": "1.1.11", 131 | "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", 132 | "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", 133 | "dependencies": { 134 | "balanced-match": "^1.0.0", 135 | "concat-map": "0.0.1" 136 | } 137 | }, 138 | "node_modules/busboy": { 139 | "version": "1.6.0", 140 | "resolved": "https://registry.npmjs.org/busboy/-/busboy-1.6.0.tgz", 141 | "integrity": "sha512-8SFQbg/0hQ9xy3UNTB0YEnsNBbWfhf7RtnzpL7TkBiTBRfrQ9Fxcnz7VJsleJpyp6rVLvXiuORqjlHi5q+PYuA==", 142 | "dependencies": { 143 | "streamsearch": "^1.1.0" 144 | }, 145 | "engines": { 146 | "node": ">=10.16.0" 147 | } 148 | }, 149 | "node_modules/bytes": { 150 | "version": "3.1.2", 151 | "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.2.tgz", 152 | "integrity": "sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg==", 153 | "engines": { 154 | "node": ">= 0.8" 155 | } 156 | }, 157 | "node_modules/call-bind": { 158 | "version": "1.0.7", 159 | "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.7.tgz", 160 | "integrity": "sha512-GHTSNSYICQ7scH7sZ+M2rFopRoLh8t2bLSW6BbgrtLsahOIB5iyAVJf9GjWK3cYTDaMj4XdBpM1cA6pIS0Kv2w==", 161 | "dependencies": { 162 | "es-define-property": "^1.0.0", 163 | "es-errors": "^1.3.0", 164 | "function-bind": "^1.1.2", 165 | "get-intrinsic": "^1.2.4", 166 | "set-function-length": "^1.2.1" 167 | }, 168 | "engines": { 169 | "node": ">= 0.4" 170 | }, 171 | "funding": { 172 | "url": "https://github.com/sponsors/ljharb" 173 | } 174 | }, 175 | "node_modules/chalk": { 176 | "version": "4.1.2", 177 | "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", 178 | "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", 179 | "dependencies": { 180 | "ansi-styles": "^4.1.0", 181 | "supports-color": "^7.1.0" 182 | }, 183 | "engines": { 184 | "node": ">=10" 185 | }, 186 | "funding": { 187 | "url": "https://github.com/chalk/chalk?sponsor=1" 188 | } 189 | }, 190 | "node_modules/charenc": { 191 | "version": "0.0.2", 192 | "resolved": "https://registry.npmjs.org/charenc/-/charenc-0.0.2.tgz", 193 | "integrity": "sha512-yrLQ/yVUFXkzg7EDQsPieE/53+0RlaWTs+wBrvW36cyilJ2SaDWfl4Yj7MtLTXleV9uEKefbAGUPv2/iWSooRA==", 194 | "engines": { 195 | "node": "*" 196 | } 197 | }, 198 | "node_modules/color-convert": { 199 | "version": "2.0.1", 200 | "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", 201 | "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", 202 | "dependencies": { 203 | "color-name": "~1.1.4" 204 | }, 205 | "engines": { 206 | "node": ">=7.0.0" 207 | } 208 | }, 209 | "node_modules/color-name": { 210 | "version": "1.1.4", 211 | "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", 212 | "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" 213 | }, 214 | "node_modules/concat-map": { 215 | "version": "0.0.1", 216 | "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", 217 | "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==" 218 | }, 219 | "node_modules/content-disposition": { 220 | "version": "0.5.4", 221 | "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-0.5.4.tgz", 222 | "integrity": "sha512-FveZTNuGw04cxlAiWbzi6zTAL/lhehaWbTtgluJh4/E95DqMwTmha3KZN1aAWA8cFIhHzMZUvLevkw5Rqk+tSQ==", 223 | "dependencies": { 224 | "safe-buffer": "5.2.1" 225 | }, 226 | "engines": { 227 | "node": ">= 0.6" 228 | } 229 | }, 230 | "node_modules/content-type": { 231 | "version": "1.0.5", 232 | "resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.5.tgz", 233 | "integrity": "sha512-nTjqfcBFEipKdXCv4YDQWCfmcLZKm81ldF0pAopTvyrFGVbcR6P/VAAd5G7N+0tTr8QqiU0tFadD6FK4NtJwOA==", 234 | "engines": { 235 | "node": ">= 0.6" 236 | } 237 | }, 238 | "node_modules/cookie": { 239 | "version": "0.6.0", 240 | "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.6.0.tgz", 241 | "integrity": "sha512-U71cyTamuh1CRNCfpGY6to28lxvNwPG4Guz/EVjgf3Jmzv0vlDp1atT9eS5dDjMYHucpHbWns6Lwf3BKz6svdw==", 242 | "engines": { 243 | "node": ">= 0.6" 244 | } 245 | }, 246 | "node_modules/cookie-signature": { 247 | "version": "1.0.6", 248 | "resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.6.tgz", 249 | "integrity": "sha512-QADzlaHc8icV8I7vbaJXJwod9HWYp8uCqf1xa4OfNu1T7JVxQIrUgOWtHdNDtPiywmFbiS12VjotIXLrKM3orQ==" 250 | }, 251 | "node_modules/core-util-is": { 252 | "version": "1.0.3", 253 | "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.3.tgz", 254 | "integrity": "sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ==" 255 | }, 256 | "node_modules/crypt": { 257 | "version": "0.0.2", 258 | "resolved": "https://registry.npmjs.org/crypt/-/crypt-0.0.2.tgz", 259 | "integrity": "sha1-iNf/fsDfuG9xPch7u0LQRNPmxBs=", 260 | "engines": { 261 | "node": "*" 262 | } 263 | }, 264 | "node_modules/debug": { 265 | "version": "2.6.9", 266 | "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", 267 | "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", 268 | "dependencies": { 269 | "ms": "2.0.0" 270 | } 271 | }, 272 | "node_modules/define-data-property": { 273 | "version": "1.1.4", 274 | "resolved": "https://registry.npmjs.org/define-data-property/-/define-data-property-1.1.4.tgz", 275 | "integrity": "sha512-rBMvIzlpA8v6E+SJZoo++HAYqsLrkg7MSfIinMPFhmkorw7X+dOXVJQs+QT69zGkzMyfDnIMN2Wid1+NbL3T+A==", 276 | "dependencies": { 277 | "es-define-property": "^1.0.0", 278 | "es-errors": "^1.3.0", 279 | "gopd": "^1.0.1" 280 | }, 281 | "engines": { 282 | "node": ">= 0.4" 283 | }, 284 | "funding": { 285 | "url": "https://github.com/sponsors/ljharb" 286 | } 287 | }, 288 | "node_modules/depd": { 289 | "version": "2.0.0", 290 | "resolved": "https://registry.npmjs.org/depd/-/depd-2.0.0.tgz", 291 | "integrity": "sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==", 292 | "engines": { 293 | "node": ">= 0.8" 294 | } 295 | }, 296 | "node_modules/destroy": { 297 | "version": "1.2.0", 298 | "resolved": "https://registry.npmjs.org/destroy/-/destroy-1.2.0.tgz", 299 | "integrity": "sha512-2sJGJTaXIIaR1w4iJSNoN0hnMY7Gpc/n8D4qSCJw8QqFWXf7cuAgnEHxBpweaVcPevC2l3KpjYCx3NypQQgaJg==", 300 | "engines": { 301 | "node": ">= 0.8", 302 | "npm": "1.2.8000 || >= 1.4.16" 303 | } 304 | }, 305 | "node_modules/ee-first": { 306 | "version": "1.1.1", 307 | "resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz", 308 | "integrity": "sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0=" 309 | }, 310 | "node_modules/ejs": { 311 | "version": "3.1.8", 312 | "resolved": "https://registry.npmjs.org/ejs/-/ejs-3.1.8.tgz", 313 | "integrity": "sha512-/sXZeMlhS0ArkfX2Aw780gJzXSMPnKjtspYZv+f3NiKLlubezAHDU5+9xz6gd3/NhG3txQCo6xlglmTS+oTGEQ==", 314 | "dependencies": { 315 | "jake": "^10.8.5" 316 | }, 317 | "bin": { 318 | "ejs": "bin/cli.js" 319 | }, 320 | "engines": { 321 | "node": ">=0.10.0" 322 | } 323 | }, 324 | "node_modules/encode-utf8": { 325 | "version": "2.0.0", 326 | "resolved": "https://registry.npmjs.org/encode-utf8/-/encode-utf8-2.0.0.tgz", 327 | "integrity": "sha512-3EyMFxZj1/7oMotElDQUEQcP7N4TIe1aJ0m1uBDoyQ8I2LBHhBsXx8P3KsPbqNlGzG+NYxFwEauUwMPHZg3YDQ==", 328 | "engines": { 329 | "node": "^12.20.0 || ^14.13.1 || >=16.0.0" 330 | } 331 | }, 332 | "node_modules/encodeurl": { 333 | "version": "1.0.2", 334 | "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz", 335 | "integrity": "sha1-rT/0yG7C0CkyL1oCw6mmBslbP1k=", 336 | "engines": { 337 | "node": ">= 0.8" 338 | } 339 | }, 340 | "node_modules/es-define-property": { 341 | "version": "1.0.0", 342 | "resolved": "https://registry.npmjs.org/es-define-property/-/es-define-property-1.0.0.tgz", 343 | "integrity": "sha512-jxayLKShrEqqzJ0eumQbVhTYQM27CfT1T35+gCgDFoL82JLsXqTJ76zv6A0YLOgEnLUMvLzsDsGIrl8NFpT2gQ==", 344 | "dependencies": { 345 | "get-intrinsic": "^1.2.4" 346 | }, 347 | "engines": { 348 | "node": ">= 0.4" 349 | } 350 | }, 351 | "node_modules/es-errors": { 352 | "version": "1.3.0", 353 | "resolved": "https://registry.npmjs.org/es-errors/-/es-errors-1.3.0.tgz", 354 | "integrity": "sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==", 355 | "engines": { 356 | "node": ">= 0.4" 357 | } 358 | }, 359 | "node_modules/escape-html": { 360 | "version": "1.0.3", 361 | "resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz", 362 | "integrity": "sha1-Aljq5NPQwJdN4cFpGI7wBR0dGYg=" 363 | }, 364 | "node_modules/etag": { 365 | "version": "1.8.1", 366 | "resolved": "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz", 367 | "integrity": "sha1-Qa4u62XvpiJorr/qg6x9eSmbCIc=", 368 | "engines": { 369 | "node": ">= 0.6" 370 | } 371 | }, 372 | "node_modules/express": { 373 | "version": "4.19.2", 374 | "resolved": "https://registry.npmjs.org/express/-/express-4.19.2.tgz", 375 | "integrity": "sha512-5T6nhjsT+EOMzuck8JjBHARTHfMht0POzlA60WV2pMD3gyXw2LZnZ+ueGdNxG+0calOJcWKbpFcuzLZ91YWq9Q==", 376 | "dependencies": { 377 | "accepts": "~1.3.8", 378 | "array-flatten": "1.1.1", 379 | "body-parser": "1.20.2", 380 | "content-disposition": "0.5.4", 381 | "content-type": "~1.0.4", 382 | "cookie": "0.6.0", 383 | "cookie-signature": "1.0.6", 384 | "debug": "2.6.9", 385 | "depd": "2.0.0", 386 | "encodeurl": "~1.0.2", 387 | "escape-html": "~1.0.3", 388 | "etag": "~1.8.1", 389 | "finalhandler": "1.2.0", 390 | "fresh": "0.5.2", 391 | "http-errors": "2.0.0", 392 | "merge-descriptors": "1.0.1", 393 | "methods": "~1.1.2", 394 | "on-finished": "2.4.1", 395 | "parseurl": "~1.3.3", 396 | "path-to-regexp": "0.1.7", 397 | "proxy-addr": "~2.0.7", 398 | "qs": "6.11.0", 399 | "range-parser": "~1.2.1", 400 | "safe-buffer": "5.2.1", 401 | "send": "0.18.0", 402 | "serve-static": "1.15.0", 403 | "setprototypeof": "1.2.0", 404 | "statuses": "2.0.1", 405 | "type-is": "~1.6.18", 406 | "utils-merge": "1.0.1", 407 | "vary": "~1.1.2" 408 | }, 409 | "engines": { 410 | "node": ">= 0.10.0" 411 | } 412 | }, 413 | "node_modules/express-fileupload": { 414 | "version": "1.4.0", 415 | "resolved": "https://registry.npmjs.org/express-fileupload/-/express-fileupload-1.4.0.tgz", 416 | "integrity": "sha512-RjzLCHxkv3umDeZKeFeMg8w7qe0V09w3B7oGZprr/oO2H/ISCgNzuqzn7gV3HRWb37GjRk429CCpSLS2KNTqMQ==", 417 | "dependencies": { 418 | "busboy": "^1.6.0" 419 | }, 420 | "engines": { 421 | "node": ">=12.0.0" 422 | } 423 | }, 424 | "node_modules/file-type": { 425 | "version": "16.5.4", 426 | "resolved": "https://registry.npmjs.org/file-type/-/file-type-16.5.4.tgz", 427 | "integrity": "sha512-/yFHK0aGjFEgDJjEKP0pWCplsPFPhwyfwevf/pVxiN0tmE4L9LmwWxWukdJSHdoCli4VgQLehjJtwQBnqmsKcw==", 428 | "dependencies": { 429 | "readable-web-to-node-stream": "^3.0.0", 430 | "strtok3": "^6.2.4", 431 | "token-types": "^4.1.1" 432 | }, 433 | "engines": { 434 | "node": ">=10" 435 | }, 436 | "funding": { 437 | "url": "https://github.com/sindresorhus/file-type?sponsor=1" 438 | } 439 | }, 440 | "node_modules/filelist": { 441 | "version": "1.0.4", 442 | "resolved": "https://registry.npmjs.org/filelist/-/filelist-1.0.4.tgz", 443 | "integrity": "sha512-w1cEuf3S+DrLCQL7ET6kz+gmlJdbq9J7yXCSjK/OZCPA+qEN1WyF4ZAf0YYJa4/shHJra2t/d/r8SV4Ji+x+8Q==", 444 | "dependencies": { 445 | "minimatch": "^5.0.1" 446 | } 447 | }, 448 | "node_modules/filelist/node_modules/brace-expansion": { 449 | "version": "2.0.1", 450 | "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", 451 | "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", 452 | "dependencies": { 453 | "balanced-match": "^1.0.0" 454 | } 455 | }, 456 | "node_modules/filelist/node_modules/minimatch": { 457 | "version": "5.1.0", 458 | "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.0.tgz", 459 | "integrity": "sha512-9TPBGGak4nHfGZsPBohm9AWg6NoT7QTCehS3BIJABslyZbzxfV78QM2Y6+i741OPZIafFAaiiEMh5OyIrJPgtg==", 460 | "dependencies": { 461 | "brace-expansion": "^2.0.1" 462 | }, 463 | "engines": { 464 | "node": ">=10" 465 | } 466 | }, 467 | "node_modules/finalhandler": { 468 | "version": "1.2.0", 469 | "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.2.0.tgz", 470 | "integrity": "sha512-5uXcUVftlQMFnWC9qu/svkWv3GTd2PfUhK/3PLkYNAe7FbqJMt3515HaxE6eRL74GdsriiwujiawdaB1BpEISg==", 471 | "dependencies": { 472 | "debug": "2.6.9", 473 | "encodeurl": "~1.0.2", 474 | "escape-html": "~1.0.3", 475 | "on-finished": "2.4.1", 476 | "parseurl": "~1.3.3", 477 | "statuses": "2.0.1", 478 | "unpipe": "~1.0.0" 479 | }, 480 | "engines": { 481 | "node": ">= 0.8" 482 | } 483 | }, 484 | "node_modules/fmix": { 485 | "version": "1.0.0", 486 | "resolved": "https://registry.npmjs.org/fmix/-/fmix-1.0.0.tgz", 487 | "integrity": "sha512-PIaqOGvVH5P+R92Ywy5PumsNEHvondVQh42SGOmkA9A0ZTFbfguzZpjZ/Gy3WVRUqT9Ia8k5tWlJeiZQzRHA7g==", 488 | "engines": { 489 | "node": "^12.20.0 || ^14.13.1 || >=16.0.0" 490 | } 491 | }, 492 | "node_modules/forwarded": { 493 | "version": "0.2.0", 494 | "resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.2.0.tgz", 495 | "integrity": "sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow==", 496 | "engines": { 497 | "node": ">= 0.6" 498 | } 499 | }, 500 | "node_modules/fresh": { 501 | "version": "0.5.2", 502 | "resolved": "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz", 503 | "integrity": "sha1-PYyt2Q2XZWn6g1qx+OSyOhBWBac=", 504 | "engines": { 505 | "node": ">= 0.6" 506 | } 507 | }, 508 | "node_modules/fs-temp": { 509 | "version": "2.0.1", 510 | "resolved": "https://registry.npmjs.org/fs-temp/-/fs-temp-2.0.1.tgz", 511 | "integrity": "sha512-WYE7cUGOA0xRKsiYxNf/+WDuj0T20OtX85bVhsXpY+wJmjrRIUQftTI6JF9PVpo2RpGkh0l8lZsV8zszisYQ0Q==", 512 | "dependencies": { 513 | "random-path": "^1.0.0" 514 | }, 515 | "engines": { 516 | "node": "^12.20.0 || ^14.13.1 || >=16.0.0" 517 | } 518 | }, 519 | "node_modules/function-bind": { 520 | "version": "1.1.2", 521 | "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz", 522 | "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==", 523 | "funding": { 524 | "url": "https://github.com/sponsors/ljharb" 525 | } 526 | }, 527 | "node_modules/get-intrinsic": { 528 | "version": "1.2.4", 529 | "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.4.tgz", 530 | "integrity": "sha512-5uYhsJH8VJBTv7oslg4BznJYhDoRI6waYCxMmCdnTrcCrHA/fCFKoTFz2JKKE0HdDFUF7/oQuhzumXJK7paBRQ==", 531 | "dependencies": { 532 | "es-errors": "^1.3.0", 533 | "function-bind": "^1.1.2", 534 | "has-proto": "^1.0.1", 535 | "has-symbols": "^1.0.3", 536 | "hasown": "^2.0.0" 537 | }, 538 | "engines": { 539 | "node": ">= 0.4" 540 | }, 541 | "funding": { 542 | "url": "https://github.com/sponsors/ljharb" 543 | } 544 | }, 545 | "node_modules/gopd": { 546 | "version": "1.0.1", 547 | "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.0.1.tgz", 548 | "integrity": "sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA==", 549 | "dependencies": { 550 | "get-intrinsic": "^1.1.3" 551 | }, 552 | "funding": { 553 | "url": "https://github.com/sponsors/ljharb" 554 | } 555 | }, 556 | "node_modules/has-flag": { 557 | "version": "4.0.0", 558 | "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", 559 | "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", 560 | "engines": { 561 | "node": ">=8" 562 | } 563 | }, 564 | "node_modules/has-own-property": { 565 | "version": "2.0.0", 566 | "resolved": "https://registry.npmjs.org/has-own-property/-/has-own-property-2.0.0.tgz", 567 | "integrity": "sha512-oupojxEPq/nfAshi0hOFDjpmYO4JXtymFyPC9YSBmFqGamZ2zUgrCkYInt5tf7f1j6iumlzJBpfLNRxZIQCM0w==", 568 | "engines": { 569 | "node": "^12.20.0 || ^14.13.1 || >=16.0.0" 570 | } 571 | }, 572 | "node_modules/has-property-descriptors": { 573 | "version": "1.0.2", 574 | "resolved": "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.2.tgz", 575 | "integrity": "sha512-55JNKuIW+vq4Ke1BjOTjM2YctQIvCT7GFzHwmfZPGo5wnrgkid0YQtnAleFSqumZm4az3n2BS+erby5ipJdgrg==", 576 | "dependencies": { 577 | "es-define-property": "^1.0.0" 578 | }, 579 | "funding": { 580 | "url": "https://github.com/sponsors/ljharb" 581 | } 582 | }, 583 | "node_modules/has-proto": { 584 | "version": "1.0.3", 585 | "resolved": "https://registry.npmjs.org/has-proto/-/has-proto-1.0.3.tgz", 586 | "integrity": "sha512-SJ1amZAJUiZS+PhsVLf5tGydlaVB8EdFpaSO4gmiUKUOxk8qzn5AIy4ZeJUmh22znIdk/uMAUT2pl3FxzVUH+Q==", 587 | "engines": { 588 | "node": ">= 0.4" 589 | }, 590 | "funding": { 591 | "url": "https://github.com/sponsors/ljharb" 592 | } 593 | }, 594 | "node_modules/has-symbols": { 595 | "version": "1.0.3", 596 | "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.3.tgz", 597 | "integrity": "sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==", 598 | "engines": { 599 | "node": ">= 0.4" 600 | }, 601 | "funding": { 602 | "url": "https://github.com/sponsors/ljharb" 603 | } 604 | }, 605 | "node_modules/hasown": { 606 | "version": "2.0.2", 607 | "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.2.tgz", 608 | "integrity": "sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==", 609 | "dependencies": { 610 | "function-bind": "^1.1.2" 611 | }, 612 | "engines": { 613 | "node": ">= 0.4" 614 | } 615 | }, 616 | "node_modules/http-errors": { 617 | "version": "2.0.0", 618 | "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-2.0.0.tgz", 619 | "integrity": "sha512-FtwrG/euBzaEjYeRqOgly7G0qviiXoJWnvEH2Z1plBdXgbyjv34pHTSb9zoeHMyDy33+DWy5Wt9Wo+TURtOYSQ==", 620 | "dependencies": { 621 | "depd": "2.0.0", 622 | "inherits": "2.0.4", 623 | "setprototypeof": "1.2.0", 624 | "statuses": "2.0.1", 625 | "toidentifier": "1.0.1" 626 | }, 627 | "engines": { 628 | "node": ">= 0.8" 629 | } 630 | }, 631 | "node_modules/iconv-lite": { 632 | "version": "0.4.24", 633 | "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", 634 | "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", 635 | "dependencies": { 636 | "safer-buffer": ">= 2.1.2 < 3" 637 | }, 638 | "engines": { 639 | "node": ">=0.10.0" 640 | } 641 | }, 642 | "node_modules/ieee754": { 643 | "version": "1.2.1", 644 | "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz", 645 | "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==", 646 | "funding": [ 647 | { 648 | "type": "github", 649 | "url": "https://github.com/sponsors/feross" 650 | }, 651 | { 652 | "type": "patreon", 653 | "url": "https://www.patreon.com/feross" 654 | }, 655 | { 656 | "type": "consulting", 657 | "url": "https://feross.org/support" 658 | } 659 | ] 660 | }, 661 | "node_modules/inherits": { 662 | "version": "2.0.4", 663 | "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", 664 | "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" 665 | }, 666 | "node_modules/ipaddr.js": { 667 | "version": "1.9.1", 668 | "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.9.1.tgz", 669 | "integrity": "sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g==", 670 | "engines": { 671 | "node": ">= 0.10" 672 | } 673 | }, 674 | "node_modules/is-buffer": { 675 | "version": "1.1.6", 676 | "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-1.1.6.tgz", 677 | "integrity": "sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w==" 678 | }, 679 | "node_modules/isarray": { 680 | "version": "1.0.0", 681 | "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", 682 | "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=" 683 | }, 684 | "node_modules/jake": { 685 | "version": "10.8.5", 686 | "resolved": "https://registry.npmjs.org/jake/-/jake-10.8.5.tgz", 687 | "integrity": "sha512-sVpxYeuAhWt0OTWITwT98oyV0GsXyMlXCF+3L1SuafBVUIr/uILGRB+NqwkzhgXKvoJpDIpQvqkUALgdmQsQxw==", 688 | "dependencies": { 689 | "async": "^3.2.3", 690 | "chalk": "^4.0.2", 691 | "filelist": "^1.0.1", 692 | "minimatch": "^3.0.4" 693 | }, 694 | "bin": { 695 | "jake": "bin/cli.js" 696 | }, 697 | "engines": { 698 | "node": ">=10" 699 | } 700 | }, 701 | "node_modules/md5": { 702 | "version": "2.3.0", 703 | "resolved": "https://registry.npmjs.org/md5/-/md5-2.3.0.tgz", 704 | "integrity": "sha512-T1GITYmFaKuO91vxyoQMFETst+O71VUPEU3ze5GNzDm0OWdP8v1ziTaAEPUr/3kLsY3Sftgz242A1SetQiDL7g==", 705 | "dependencies": { 706 | "charenc": "0.0.2", 707 | "crypt": "0.0.2", 708 | "is-buffer": "~1.1.6" 709 | } 710 | }, 711 | "node_modules/media-typer": { 712 | "version": "0.3.0", 713 | "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz", 714 | "integrity": "sha1-hxDXrwqmJvj/+hzgAWhUUmMlV0g=", 715 | "engines": { 716 | "node": ">= 0.6" 717 | } 718 | }, 719 | "node_modules/merge-descriptors": { 720 | "version": "1.0.1", 721 | "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.1.tgz", 722 | "integrity": "sha1-sAqqVW3YtEVoFQ7J0blT8/kMu2E=" 723 | }, 724 | "node_modules/methods": { 725 | "version": "1.1.2", 726 | "resolved": "https://registry.npmjs.org/methods/-/methods-1.1.2.tgz", 727 | "integrity": "sha1-VSmk1nZUE07cxSZmVoNbD4Ua/O4=", 728 | "engines": { 729 | "node": ">= 0.6" 730 | } 731 | }, 732 | "node_modules/mime": { 733 | "version": "1.6.0", 734 | "resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz", 735 | "integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==", 736 | "bin": { 737 | "mime": "cli.js" 738 | }, 739 | "engines": { 740 | "node": ">=4" 741 | } 742 | }, 743 | "node_modules/mime-db": { 744 | "version": "1.52.0", 745 | "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz", 746 | "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==", 747 | "engines": { 748 | "node": ">= 0.6" 749 | } 750 | }, 751 | "node_modules/mime-types": { 752 | "version": "2.1.35", 753 | "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz", 754 | "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==", 755 | "dependencies": { 756 | "mime-db": "1.52.0" 757 | }, 758 | "engines": { 759 | "node": ">= 0.6" 760 | } 761 | }, 762 | "node_modules/minimatch": { 763 | "version": "3.1.2", 764 | "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", 765 | "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", 766 | "dependencies": { 767 | "brace-expansion": "^1.1.7" 768 | }, 769 | "engines": { 770 | "node": "*" 771 | } 772 | }, 773 | "node_modules/ms": { 774 | "version": "2.0.0", 775 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", 776 | "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" 777 | }, 778 | "node_modules/multer": { 779 | "version": "2.0.0-rc.4", 780 | "resolved": "https://registry.npmjs.org/multer/-/multer-2.0.0-rc.4.tgz", 781 | "integrity": "sha512-YkjV/rOzngEBxtZV8s6BcBcB/z2v/dfDcIpWagmMsKBq0QnQCu/NpCUDd2ElExfnxRXMVXKrFh94/UKe4NdxBQ==", 782 | "dependencies": { 783 | "@fastify/busboy": "^1.0.0", 784 | "append-field": "^2.0.0", 785 | "bytes": "^3.1.0", 786 | "fs-temp": "^2.0.1", 787 | "has-own-property": "^2.0.0", 788 | "on-finished": "^2.3.0", 789 | "stream-file-type": "^0.6.1", 790 | "type-is": "^1.6.18" 791 | }, 792 | "engines": { 793 | "node": "^12.20.0 || ^14.13.1 || >=16.0.0" 794 | } 795 | }, 796 | "node_modules/murmur-32": { 797 | "version": "1.0.0", 798 | "resolved": "https://registry.npmjs.org/murmur-32/-/murmur-32-1.0.0.tgz", 799 | "integrity": "sha512-l6QKUGWXzZWHash7lmZzycpIifOrnc3PeMaoFrMv90c+xqOyOSzJU0q2T/1d15MzAdEWTpCh1paC855APqt1Gw==", 800 | "dependencies": { 801 | "encode-utf8": "^2.0.0", 802 | "fmix": "^1.0.0" 803 | }, 804 | "engines": { 805 | "node": "^12.20.0 || ^14.13.1 || >=16.0.0" 806 | } 807 | }, 808 | "node_modules/mysql": { 809 | "version": "2.18.1", 810 | "resolved": "https://registry.npmjs.org/mysql/-/mysql-2.18.1.tgz", 811 | "integrity": "sha512-Bca+gk2YWmqp2Uf6k5NFEurwY/0td0cpebAucFpY/3jhrwrVGuxU2uQFCHjU19SJfje0yQvi+rVWdq78hR5lig==", 812 | "dependencies": { 813 | "bignumber.js": "9.0.0", 814 | "readable-stream": "2.3.7", 815 | "safe-buffer": "5.1.2", 816 | "sqlstring": "2.3.1" 817 | }, 818 | "engines": { 819 | "node": ">= 0.6" 820 | } 821 | }, 822 | "node_modules/mysql/node_modules/safe-buffer": { 823 | "version": "5.1.2", 824 | "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", 825 | "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" 826 | }, 827 | "node_modules/mysql/node_modules/sqlstring": { 828 | "version": "2.3.1", 829 | "resolved": "https://registry.npmjs.org/sqlstring/-/sqlstring-2.3.1.tgz", 830 | "integrity": "sha1-R1OT/56RR5rqYtyvDKPRSYOn+0A=", 831 | "engines": { 832 | "node": ">= 0.6" 833 | } 834 | }, 835 | "node_modules/negotiator": { 836 | "version": "0.6.3", 837 | "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.3.tgz", 838 | "integrity": "sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg==", 839 | "engines": { 840 | "node": ">= 0.6" 841 | } 842 | }, 843 | "node_modules/object-inspect": { 844 | "version": "1.13.1", 845 | "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.13.1.tgz", 846 | "integrity": "sha512-5qoj1RUiKOMsCCNLV1CBiPYE10sziTsnmNxkAI/rZhiD63CF7IqdFGC/XzjWjpSgLf0LxXX3bDFIh0E18f6UhQ==", 847 | "funding": { 848 | "url": "https://github.com/sponsors/ljharb" 849 | } 850 | }, 851 | "node_modules/on-finished": { 852 | "version": "2.4.1", 853 | "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.4.1.tgz", 854 | "integrity": "sha512-oVlzkg3ENAhCk2zdv7IJwd/QUD4z2RxRwpkcGY8psCVcCYZNq4wYnVWALHM+brtuJjePWiYF/ClmuDr8Ch5+kg==", 855 | "dependencies": { 856 | "ee-first": "1.1.1" 857 | }, 858 | "engines": { 859 | "node": ">= 0.8" 860 | } 861 | }, 862 | "node_modules/parseurl": { 863 | "version": "1.3.3", 864 | "resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz", 865 | "integrity": "sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==", 866 | "engines": { 867 | "node": ">= 0.8" 868 | } 869 | }, 870 | "node_modules/path-to-regexp": { 871 | "version": "0.1.7", 872 | "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.7.tgz", 873 | "integrity": "sha1-32BBeABfUi8V60SQ5yR6G/qmf4w=" 874 | }, 875 | "node_modules/peek-readable": { 876 | "version": "4.1.0", 877 | "resolved": "https://registry.npmjs.org/peek-readable/-/peek-readable-4.1.0.tgz", 878 | "integrity": "sha512-ZI3LnwUv5nOGbQzD9c2iDG6toheuXSZP5esSHBjopsXH4dg19soufvpUGA3uohi5anFtGb2lhAVdHzH6R/Evvg==", 879 | "engines": { 880 | "node": ">=8" 881 | }, 882 | "funding": { 883 | "type": "github", 884 | "url": "https://github.com/sponsors/Borewit" 885 | } 886 | }, 887 | "node_modules/process-nextick-args": { 888 | "version": "2.0.1", 889 | "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz", 890 | "integrity": "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==" 891 | }, 892 | "node_modules/proxy-addr": { 893 | "version": "2.0.7", 894 | "resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.7.tgz", 895 | "integrity": "sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg==", 896 | "dependencies": { 897 | "forwarded": "0.2.0", 898 | "ipaddr.js": "1.9.1" 899 | }, 900 | "engines": { 901 | "node": ">= 0.10" 902 | } 903 | }, 904 | "node_modules/qs": { 905 | "version": "6.11.0", 906 | "resolved": "https://registry.npmjs.org/qs/-/qs-6.11.0.tgz", 907 | "integrity": "sha512-MvjoMCJwEarSbUYk5O+nmoSzSutSsTwF85zcHPQ9OrlFoZOYIjaqBAJIqIXjptyD5vThxGq52Xu/MaJzRkIk4Q==", 908 | "dependencies": { 909 | "side-channel": "^1.0.4" 910 | }, 911 | "engines": { 912 | "node": ">=0.6" 913 | }, 914 | "funding": { 915 | "url": "https://github.com/sponsors/ljharb" 916 | } 917 | }, 918 | "node_modules/random-path": { 919 | "version": "1.0.0", 920 | "resolved": "https://registry.npmjs.org/random-path/-/random-path-1.0.0.tgz", 921 | "integrity": "sha512-I6FGG7uFR3tZqHP7TzcP3Ikt5IyVEG59u7KTjIIjizcdPY6MDjD9CbbKqE+znIv4mrDF6HMlBshoemk0oRRwsQ==", 922 | "dependencies": { 923 | "base32-encode": "^2.0.0", 924 | "murmur-32": "^1.0.0" 925 | }, 926 | "engines": { 927 | "node": "^12.20.0 || ^14.13.1 || >=16.0.0" 928 | } 929 | }, 930 | "node_modules/range-parser": { 931 | "version": "1.2.1", 932 | "resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.1.tgz", 933 | "integrity": "sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==", 934 | "engines": { 935 | "node": ">= 0.6" 936 | } 937 | }, 938 | "node_modules/raw-body": { 939 | "version": "2.5.2", 940 | "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.5.2.tgz", 941 | "integrity": "sha512-8zGqypfENjCIqGhgXToC8aB2r7YrBX+AQAfIPs/Mlk+BtPTztOvTS01NRW/3Eh60J+a48lt8qsCzirQ6loCVfA==", 942 | "dependencies": { 943 | "bytes": "3.1.2", 944 | "http-errors": "2.0.0", 945 | "iconv-lite": "0.4.24", 946 | "unpipe": "1.0.0" 947 | }, 948 | "engines": { 949 | "node": ">= 0.8" 950 | } 951 | }, 952 | "node_modules/readable-stream": { 953 | "version": "2.3.7", 954 | "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.7.tgz", 955 | "integrity": "sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==", 956 | "dependencies": { 957 | "core-util-is": "~1.0.0", 958 | "inherits": "~2.0.3", 959 | "isarray": "~1.0.0", 960 | "process-nextick-args": "~2.0.0", 961 | "safe-buffer": "~5.1.1", 962 | "string_decoder": "~1.1.1", 963 | "util-deprecate": "~1.0.1" 964 | } 965 | }, 966 | "node_modules/readable-stream/node_modules/safe-buffer": { 967 | "version": "5.1.2", 968 | "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", 969 | "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" 970 | }, 971 | "node_modules/readable-web-to-node-stream": { 972 | "version": "3.0.2", 973 | "resolved": "https://registry.npmjs.org/readable-web-to-node-stream/-/readable-web-to-node-stream-3.0.2.tgz", 974 | "integrity": "sha512-ePeK6cc1EcKLEhJFt/AebMCLL+GgSKhuygrZ/GLaKZYEecIgIECf4UaUuaByiGtzckwR4ain9VzUh95T1exYGw==", 975 | "dependencies": { 976 | "readable-stream": "^3.6.0" 977 | }, 978 | "engines": { 979 | "node": ">=8" 980 | }, 981 | "funding": { 982 | "type": "github", 983 | "url": "https://github.com/sponsors/Borewit" 984 | } 985 | }, 986 | "node_modules/readable-web-to-node-stream/node_modules/readable-stream": { 987 | "version": "3.6.0", 988 | "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", 989 | "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", 990 | "dependencies": { 991 | "inherits": "^2.0.3", 992 | "string_decoder": "^1.1.1", 993 | "util-deprecate": "^1.0.1" 994 | }, 995 | "engines": { 996 | "node": ">= 6" 997 | } 998 | }, 999 | "node_modules/safe-buffer": { 1000 | "version": "5.2.1", 1001 | "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", 1002 | "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", 1003 | "funding": [ 1004 | { 1005 | "type": "github", 1006 | "url": "https://github.com/sponsors/feross" 1007 | }, 1008 | { 1009 | "type": "patreon", 1010 | "url": "https://www.patreon.com/feross" 1011 | }, 1012 | { 1013 | "type": "consulting", 1014 | "url": "https://feross.org/support" 1015 | } 1016 | ] 1017 | }, 1018 | "node_modules/safer-buffer": { 1019 | "version": "2.1.2", 1020 | "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", 1021 | "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" 1022 | }, 1023 | "node_modules/send": { 1024 | "version": "0.18.0", 1025 | "resolved": "https://registry.npmjs.org/send/-/send-0.18.0.tgz", 1026 | "integrity": "sha512-qqWzuOjSFOuqPjFe4NOsMLafToQQwBSOEpS+FwEt3A2V3vKubTquT3vmLTQpFgMXp8AlFWFuP1qKaJZOtPpVXg==", 1027 | "dependencies": { 1028 | "debug": "2.6.9", 1029 | "depd": "2.0.0", 1030 | "destroy": "1.2.0", 1031 | "encodeurl": "~1.0.2", 1032 | "escape-html": "~1.0.3", 1033 | "etag": "~1.8.1", 1034 | "fresh": "0.5.2", 1035 | "http-errors": "2.0.0", 1036 | "mime": "1.6.0", 1037 | "ms": "2.1.3", 1038 | "on-finished": "2.4.1", 1039 | "range-parser": "~1.2.1", 1040 | "statuses": "2.0.1" 1041 | }, 1042 | "engines": { 1043 | "node": ">= 0.8.0" 1044 | } 1045 | }, 1046 | "node_modules/send/node_modules/ms": { 1047 | "version": "2.1.3", 1048 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", 1049 | "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==" 1050 | }, 1051 | "node_modules/serve-static": { 1052 | "version": "1.15.0", 1053 | "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.15.0.tgz", 1054 | "integrity": "sha512-XGuRDNjXUijsUL0vl6nSD7cwURuzEgglbOaFuZM9g3kwDXOWVTck0jLzjPzGD+TazWbboZYu52/9/XPdUgne9g==", 1055 | "dependencies": { 1056 | "encodeurl": "~1.0.2", 1057 | "escape-html": "~1.0.3", 1058 | "parseurl": "~1.3.3", 1059 | "send": "0.18.0" 1060 | }, 1061 | "engines": { 1062 | "node": ">= 0.8.0" 1063 | } 1064 | }, 1065 | "node_modules/set-function-length": { 1066 | "version": "1.2.2", 1067 | "resolved": "https://registry.npmjs.org/set-function-length/-/set-function-length-1.2.2.tgz", 1068 | "integrity": "sha512-pgRc4hJ4/sNjWCSS9AmnS40x3bNMDTknHgL5UaMBTMyJnU90EgWh1Rz+MC9eFu4BuN/UwZjKQuY/1v3rM7HMfg==", 1069 | "dependencies": { 1070 | "define-data-property": "^1.1.4", 1071 | "es-errors": "^1.3.0", 1072 | "function-bind": "^1.1.2", 1073 | "get-intrinsic": "^1.2.4", 1074 | "gopd": "^1.0.1", 1075 | "has-property-descriptors": "^1.0.2" 1076 | }, 1077 | "engines": { 1078 | "node": ">= 0.4" 1079 | } 1080 | }, 1081 | "node_modules/setprototypeof": { 1082 | "version": "1.2.0", 1083 | "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.2.0.tgz", 1084 | "integrity": "sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==" 1085 | }, 1086 | "node_modules/side-channel": { 1087 | "version": "1.0.6", 1088 | "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.6.tgz", 1089 | "integrity": "sha512-fDW/EZ6Q9RiO8eFG8Hj+7u/oW+XrPTIChwCOM2+th2A6OblDtYYIpve9m+KvI9Z4C9qSEXlaGR6bTEYHReuglA==", 1090 | "dependencies": { 1091 | "call-bind": "^1.0.7", 1092 | "es-errors": "^1.3.0", 1093 | "get-intrinsic": "^1.2.4", 1094 | "object-inspect": "^1.13.1" 1095 | }, 1096 | "engines": { 1097 | "node": ">= 0.4" 1098 | }, 1099 | "funding": { 1100 | "url": "https://github.com/sponsors/ljharb" 1101 | } 1102 | }, 1103 | "node_modules/sqlstring": { 1104 | "version": "2.3.3", 1105 | "resolved": "https://registry.npmjs.org/sqlstring/-/sqlstring-2.3.3.tgz", 1106 | "integrity": "sha512-qC9iz2FlN7DQl3+wjwn3802RTyjCx7sDvfQEXchwa6CWOx07/WVfh91gBmQ9fahw8snwGEWU3xGzOt4tFyHLxg==", 1107 | "engines": { 1108 | "node": ">= 0.6" 1109 | } 1110 | }, 1111 | "node_modules/statuses": { 1112 | "version": "2.0.1", 1113 | "resolved": "https://registry.npmjs.org/statuses/-/statuses-2.0.1.tgz", 1114 | "integrity": "sha512-RwNA9Z/7PrK06rYLIzFMlaF+l73iwpzsqRIFgbMLbTcLD6cOao82TaWefPXQvB2fOC4AjuYSEndS7N/mTCbkdQ==", 1115 | "engines": { 1116 | "node": ">= 0.8" 1117 | } 1118 | }, 1119 | "node_modules/stream-file-type": { 1120 | "version": "0.6.1", 1121 | "resolved": "https://registry.npmjs.org/stream-file-type/-/stream-file-type-0.6.1.tgz", 1122 | "integrity": "sha512-//KIXMQan4ow4gD//dfPu15nhH/sFdt41PzAOpD9EBFUBy/MtFjocTPO8v1dTOJnyi47TlPo6Qj+67sSE1lJKA==", 1123 | "dependencies": { 1124 | "file-type": "^16.0.0" 1125 | }, 1126 | "engines": { 1127 | "node": "^12.20.0 || ^14.13.1 || >=16.0.0" 1128 | } 1129 | }, 1130 | "node_modules/streamsearch": { 1131 | "version": "1.1.0", 1132 | "resolved": "https://registry.npmjs.org/streamsearch/-/streamsearch-1.1.0.tgz", 1133 | "integrity": "sha512-Mcc5wHehp9aXz1ax6bZUyY5afg9u2rv5cqQI3mRrYkGC8rW2hM02jWuwjtL++LS5qinSyhj2QfLyNsuc+VsExg==", 1134 | "engines": { 1135 | "node": ">=10.0.0" 1136 | } 1137 | }, 1138 | "node_modules/string_decoder": { 1139 | "version": "1.1.1", 1140 | "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", 1141 | "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", 1142 | "dependencies": { 1143 | "safe-buffer": "~5.1.0" 1144 | } 1145 | }, 1146 | "node_modules/string_decoder/node_modules/safe-buffer": { 1147 | "version": "5.1.2", 1148 | "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", 1149 | "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" 1150 | }, 1151 | "node_modules/strtok3": { 1152 | "version": "6.3.0", 1153 | "resolved": "https://registry.npmjs.org/strtok3/-/strtok3-6.3.0.tgz", 1154 | "integrity": "sha512-fZtbhtvI9I48xDSywd/somNqgUHl2L2cstmXCCif0itOf96jeW18MBSyrLuNicYQVkvpOxkZtkzujiTJ9LW5Jw==", 1155 | "dependencies": { 1156 | "@tokenizer/token": "^0.3.0", 1157 | "peek-readable": "^4.1.0" 1158 | }, 1159 | "engines": { 1160 | "node": ">=10" 1161 | }, 1162 | "funding": { 1163 | "type": "github", 1164 | "url": "https://github.com/sponsors/Borewit" 1165 | } 1166 | }, 1167 | "node_modules/supports-color": { 1168 | "version": "7.2.0", 1169 | "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", 1170 | "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", 1171 | "dependencies": { 1172 | "has-flag": "^4.0.0" 1173 | }, 1174 | "engines": { 1175 | "node": ">=8" 1176 | } 1177 | }, 1178 | "node_modules/text-decoding": { 1179 | "version": "1.0.0", 1180 | "resolved": "https://registry.npmjs.org/text-decoding/-/text-decoding-1.0.0.tgz", 1181 | "integrity": "sha512-/0TJD42KDnVwKmDK6jj3xP7E2MG7SHAOG4tyTgyUCRPdHwvkquYNLEQltmdMa3owq3TkddCVcTsoctJI8VQNKA==" 1182 | }, 1183 | "node_modules/to-data-view": { 1184 | "version": "2.0.0", 1185 | "resolved": "https://registry.npmjs.org/to-data-view/-/to-data-view-2.0.0.tgz", 1186 | "integrity": "sha512-RGEM5KqlPHr+WVTPmGNAXNeFEmsBnlkxXaIfEpUYV0AST2Z5W1EGq9L/MENFrMMmL2WQr1wjkmZy/M92eKhjYA==", 1187 | "engines": { 1188 | "node": "^12.20.0 || ^14.13.1 || >=16.0.0" 1189 | } 1190 | }, 1191 | "node_modules/toidentifier": { 1192 | "version": "1.0.1", 1193 | "resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.1.tgz", 1194 | "integrity": "sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA==", 1195 | "engines": { 1196 | "node": ">=0.6" 1197 | } 1198 | }, 1199 | "node_modules/token-types": { 1200 | "version": "4.2.0", 1201 | "resolved": "https://registry.npmjs.org/token-types/-/token-types-4.2.0.tgz", 1202 | "integrity": "sha512-P0rrp4wUpefLncNamWIef62J0v0kQR/GfDVji9WKY7GDCWy5YbVSrKUTam07iWPZQGy0zWNOfstYTykMmPNR7w==", 1203 | "dependencies": { 1204 | "@tokenizer/token": "^0.3.0", 1205 | "ieee754": "^1.2.1" 1206 | }, 1207 | "engines": { 1208 | "node": ">=10" 1209 | }, 1210 | "funding": { 1211 | "type": "github", 1212 | "url": "https://github.com/sponsors/Borewit" 1213 | } 1214 | }, 1215 | "node_modules/type-is": { 1216 | "version": "1.6.18", 1217 | "resolved": "https://registry.npmjs.org/type-is/-/type-is-1.6.18.tgz", 1218 | "integrity": "sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g==", 1219 | "dependencies": { 1220 | "media-typer": "0.3.0", 1221 | "mime-types": "~2.1.24" 1222 | }, 1223 | "engines": { 1224 | "node": ">= 0.6" 1225 | } 1226 | }, 1227 | "node_modules/unpipe": { 1228 | "version": "1.0.0", 1229 | "resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz", 1230 | "integrity": "sha1-sr9O6FFKrmFltIF4KdIbLvSZBOw=", 1231 | "engines": { 1232 | "node": ">= 0.8" 1233 | } 1234 | }, 1235 | "node_modules/util-deprecate": { 1236 | "version": "1.0.2", 1237 | "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", 1238 | "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=" 1239 | }, 1240 | "node_modules/utils-merge": { 1241 | "version": "1.0.1", 1242 | "resolved": "https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.1.tgz", 1243 | "integrity": "sha1-n5VxD1CiZ5R7LMwSR0HBAoQn5xM=", 1244 | "engines": { 1245 | "node": ">= 0.4.0" 1246 | } 1247 | }, 1248 | "node_modules/vary": { 1249 | "version": "1.1.2", 1250 | "resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz", 1251 | "integrity": "sha1-IpnwLG3tMNSllhsLn3RSShj2NPw=", 1252 | "engines": { 1253 | "node": ">= 0.8" 1254 | } 1255 | } 1256 | }, 1257 | "dependencies": { 1258 | "@fastify/busboy": { 1259 | "version": "1.0.0", 1260 | "resolved": "https://registry.npmjs.org/@fastify/busboy/-/busboy-1.0.0.tgz", 1261 | "integrity": "sha512-tzTXX1TFEjWCseEsNdIlXXkD+48uJoN+zpqIojUX4pSoMscsbhO/UuVEB5SzJucexqDWOo2ma0ECwdD7hZdrzg==", 1262 | "requires": { 1263 | "text-decoding": "^1.0.0" 1264 | } 1265 | }, 1266 | "@tokenizer/token": { 1267 | "version": "0.3.0", 1268 | "resolved": "https://registry.npmjs.org/@tokenizer/token/-/token-0.3.0.tgz", 1269 | "integrity": "sha512-OvjF+z51L3ov0OyAU0duzsYuvO01PH7x4t6DJx+guahgTnBHkhJdG7soQeTSFLWN3efnHyibZ4Z8l2EuWwJN3A==" 1270 | }, 1271 | "accepts": { 1272 | "version": "1.3.8", 1273 | "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.8.tgz", 1274 | "integrity": "sha512-PYAthTa2m2VKxuvSD3DPC/Gy+U+sOA1LAuT8mkmRuvw+NACSaeXEQ+NHcVF7rONl6qcaxV3Uuemwawk+7+SJLw==", 1275 | "requires": { 1276 | "mime-types": "~2.1.34", 1277 | "negotiator": "0.6.3" 1278 | } 1279 | }, 1280 | "ansi-styles": { 1281 | "version": "4.3.0", 1282 | "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", 1283 | "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", 1284 | "requires": { 1285 | "color-convert": "^2.0.1" 1286 | } 1287 | }, 1288 | "append-field": { 1289 | "version": "2.0.0", 1290 | "resolved": "https://registry.npmjs.org/append-field/-/append-field-2.0.0.tgz", 1291 | "integrity": "sha512-yUPXgerKgcuwakzrRyklfhX+Ma2aYYMjb+BO2RPUwq+tk928V/i5DFWcCUS3hQhj468N+Ktmwb0tfbEtmfC6WA==" 1292 | }, 1293 | "array-flatten": { 1294 | "version": "1.1.1", 1295 | "resolved": "https://registry.npmjs.org/array-flatten/-/array-flatten-1.1.1.tgz", 1296 | "integrity": "sha512-PCVAQswWemu6UdxsDFFX/+gVeYqKAod3D3UVm91jHwynguOwAvYPhx8nNlM++NqRcK6CxxpUafjmhIdKiHibqg==" 1297 | }, 1298 | "async": { 1299 | "version": "3.2.3", 1300 | "resolved": "https://registry.npmjs.org/async/-/async-3.2.3.tgz", 1301 | "integrity": "sha512-spZRyzKL5l5BZQrr/6m/SqFdBN0q3OCI0f9rjfBzCMBIP4p75P620rR3gTmaksNOhmzgdxcaxdNfMy6anrbM0g==" 1302 | }, 1303 | "balanced-match": { 1304 | "version": "1.0.2", 1305 | "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", 1306 | "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==" 1307 | }, 1308 | "base32-encode": { 1309 | "version": "2.0.0", 1310 | "resolved": "https://registry.npmjs.org/base32-encode/-/base32-encode-2.0.0.tgz", 1311 | "integrity": "sha512-mlmkfc2WqdDtMl/id4qm3A7RjW6jxcbAoMjdRmsPiwQP0ufD4oXItYMnPgVHe80lnAIy+1xwzhHE1s4FoIceSw==", 1312 | "requires": { 1313 | "to-data-view": "^2.0.0" 1314 | } 1315 | }, 1316 | "bignumber.js": { 1317 | "version": "9.0.0", 1318 | "resolved": "https://registry.npmjs.org/bignumber.js/-/bignumber.js-9.0.0.tgz", 1319 | "integrity": "sha512-t/OYhhJ2SD+YGBQcjY8GzzDHEk9f3nerxjtfa6tlMXfe7frs/WozhvCNoGvpM0P3bNf3Gq5ZRMlGr5f3r4/N8A==" 1320 | }, 1321 | "body-parser": { 1322 | "version": "1.20.2", 1323 | "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.20.2.tgz", 1324 | "integrity": "sha512-ml9pReCu3M61kGlqoTm2umSXTlRTuGTx0bfYj+uIUKKYycG5NtSbeetV3faSU6R7ajOPw0g/J1PvK4qNy7s5bA==", 1325 | "requires": { 1326 | "bytes": "3.1.2", 1327 | "content-type": "~1.0.5", 1328 | "debug": "2.6.9", 1329 | "depd": "2.0.0", 1330 | "destroy": "1.2.0", 1331 | "http-errors": "2.0.0", 1332 | "iconv-lite": "0.4.24", 1333 | "on-finished": "2.4.1", 1334 | "qs": "6.11.0", 1335 | "raw-body": "2.5.2", 1336 | "type-is": "~1.6.18", 1337 | "unpipe": "1.0.0" 1338 | } 1339 | }, 1340 | "brace-expansion": { 1341 | "version": "1.1.11", 1342 | "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", 1343 | "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", 1344 | "requires": { 1345 | "balanced-match": "^1.0.0", 1346 | "concat-map": "0.0.1" 1347 | } 1348 | }, 1349 | "busboy": { 1350 | "version": "1.6.0", 1351 | "resolved": "https://registry.npmjs.org/busboy/-/busboy-1.6.0.tgz", 1352 | "integrity": "sha512-8SFQbg/0hQ9xy3UNTB0YEnsNBbWfhf7RtnzpL7TkBiTBRfrQ9Fxcnz7VJsleJpyp6rVLvXiuORqjlHi5q+PYuA==", 1353 | "requires": { 1354 | "streamsearch": "^1.1.0" 1355 | } 1356 | }, 1357 | "bytes": { 1358 | "version": "3.1.2", 1359 | "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.2.tgz", 1360 | "integrity": "sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg==" 1361 | }, 1362 | "call-bind": { 1363 | "version": "1.0.7", 1364 | "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.7.tgz", 1365 | "integrity": "sha512-GHTSNSYICQ7scH7sZ+M2rFopRoLh8t2bLSW6BbgrtLsahOIB5iyAVJf9GjWK3cYTDaMj4XdBpM1cA6pIS0Kv2w==", 1366 | "requires": { 1367 | "es-define-property": "^1.0.0", 1368 | "es-errors": "^1.3.0", 1369 | "function-bind": "^1.1.2", 1370 | "get-intrinsic": "^1.2.4", 1371 | "set-function-length": "^1.2.1" 1372 | } 1373 | }, 1374 | "chalk": { 1375 | "version": "4.1.2", 1376 | "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", 1377 | "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", 1378 | "requires": { 1379 | "ansi-styles": "^4.1.0", 1380 | "supports-color": "^7.1.0" 1381 | } 1382 | }, 1383 | "charenc": { 1384 | "version": "0.0.2", 1385 | "resolved": "https://registry.npmjs.org/charenc/-/charenc-0.0.2.tgz", 1386 | "integrity": "sha512-yrLQ/yVUFXkzg7EDQsPieE/53+0RlaWTs+wBrvW36cyilJ2SaDWfl4Yj7MtLTXleV9uEKefbAGUPv2/iWSooRA==" 1387 | }, 1388 | "color-convert": { 1389 | "version": "2.0.1", 1390 | "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", 1391 | "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", 1392 | "requires": { 1393 | "color-name": "~1.1.4" 1394 | } 1395 | }, 1396 | "color-name": { 1397 | "version": "1.1.4", 1398 | "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", 1399 | "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" 1400 | }, 1401 | "concat-map": { 1402 | "version": "0.0.1", 1403 | "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", 1404 | "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==" 1405 | }, 1406 | "content-disposition": { 1407 | "version": "0.5.4", 1408 | "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-0.5.4.tgz", 1409 | "integrity": "sha512-FveZTNuGw04cxlAiWbzi6zTAL/lhehaWbTtgluJh4/E95DqMwTmha3KZN1aAWA8cFIhHzMZUvLevkw5Rqk+tSQ==", 1410 | "requires": { 1411 | "safe-buffer": "5.2.1" 1412 | } 1413 | }, 1414 | "content-type": { 1415 | "version": "1.0.5", 1416 | "resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.5.tgz", 1417 | "integrity": "sha512-nTjqfcBFEipKdXCv4YDQWCfmcLZKm81ldF0pAopTvyrFGVbcR6P/VAAd5G7N+0tTr8QqiU0tFadD6FK4NtJwOA==" 1418 | }, 1419 | "cookie": { 1420 | "version": "0.6.0", 1421 | "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.6.0.tgz", 1422 | "integrity": "sha512-U71cyTamuh1CRNCfpGY6to28lxvNwPG4Guz/EVjgf3Jmzv0vlDp1atT9eS5dDjMYHucpHbWns6Lwf3BKz6svdw==" 1423 | }, 1424 | "cookie-signature": { 1425 | "version": "1.0.6", 1426 | "resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.6.tgz", 1427 | "integrity": "sha512-QADzlaHc8icV8I7vbaJXJwod9HWYp8uCqf1xa4OfNu1T7JVxQIrUgOWtHdNDtPiywmFbiS12VjotIXLrKM3orQ==" 1428 | }, 1429 | "core-util-is": { 1430 | "version": "1.0.3", 1431 | "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.3.tgz", 1432 | "integrity": "sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ==" 1433 | }, 1434 | "crypt": { 1435 | "version": "0.0.2", 1436 | "resolved": "https://registry.npmjs.org/crypt/-/crypt-0.0.2.tgz", 1437 | "integrity": "sha1-iNf/fsDfuG9xPch7u0LQRNPmxBs=" 1438 | }, 1439 | "debug": { 1440 | "version": "2.6.9", 1441 | "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", 1442 | "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", 1443 | "requires": { 1444 | "ms": "2.0.0" 1445 | } 1446 | }, 1447 | "define-data-property": { 1448 | "version": "1.1.4", 1449 | "resolved": "https://registry.npmjs.org/define-data-property/-/define-data-property-1.1.4.tgz", 1450 | "integrity": "sha512-rBMvIzlpA8v6E+SJZoo++HAYqsLrkg7MSfIinMPFhmkorw7X+dOXVJQs+QT69zGkzMyfDnIMN2Wid1+NbL3T+A==", 1451 | "requires": { 1452 | "es-define-property": "^1.0.0", 1453 | "es-errors": "^1.3.0", 1454 | "gopd": "^1.0.1" 1455 | } 1456 | }, 1457 | "depd": { 1458 | "version": "2.0.0", 1459 | "resolved": "https://registry.npmjs.org/depd/-/depd-2.0.0.tgz", 1460 | "integrity": "sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==" 1461 | }, 1462 | "destroy": { 1463 | "version": "1.2.0", 1464 | "resolved": "https://registry.npmjs.org/destroy/-/destroy-1.2.0.tgz", 1465 | "integrity": "sha512-2sJGJTaXIIaR1w4iJSNoN0hnMY7Gpc/n8D4qSCJw8QqFWXf7cuAgnEHxBpweaVcPevC2l3KpjYCx3NypQQgaJg==" 1466 | }, 1467 | "ee-first": { 1468 | "version": "1.1.1", 1469 | "resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz", 1470 | "integrity": "sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0=" 1471 | }, 1472 | "ejs": { 1473 | "version": "3.1.8", 1474 | "resolved": "https://registry.npmjs.org/ejs/-/ejs-3.1.8.tgz", 1475 | "integrity": "sha512-/sXZeMlhS0ArkfX2Aw780gJzXSMPnKjtspYZv+f3NiKLlubezAHDU5+9xz6gd3/NhG3txQCo6xlglmTS+oTGEQ==", 1476 | "requires": { 1477 | "jake": "^10.8.5" 1478 | } 1479 | }, 1480 | "encode-utf8": { 1481 | "version": "2.0.0", 1482 | "resolved": "https://registry.npmjs.org/encode-utf8/-/encode-utf8-2.0.0.tgz", 1483 | "integrity": "sha512-3EyMFxZj1/7oMotElDQUEQcP7N4TIe1aJ0m1uBDoyQ8I2LBHhBsXx8P3KsPbqNlGzG+NYxFwEauUwMPHZg3YDQ==" 1484 | }, 1485 | "encodeurl": { 1486 | "version": "1.0.2", 1487 | "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz", 1488 | "integrity": "sha1-rT/0yG7C0CkyL1oCw6mmBslbP1k=" 1489 | }, 1490 | "es-define-property": { 1491 | "version": "1.0.0", 1492 | "resolved": "https://registry.npmjs.org/es-define-property/-/es-define-property-1.0.0.tgz", 1493 | "integrity": "sha512-jxayLKShrEqqzJ0eumQbVhTYQM27CfT1T35+gCgDFoL82JLsXqTJ76zv6A0YLOgEnLUMvLzsDsGIrl8NFpT2gQ==", 1494 | "requires": { 1495 | "get-intrinsic": "^1.2.4" 1496 | } 1497 | }, 1498 | "es-errors": { 1499 | "version": "1.3.0", 1500 | "resolved": "https://registry.npmjs.org/es-errors/-/es-errors-1.3.0.tgz", 1501 | "integrity": "sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==" 1502 | }, 1503 | "escape-html": { 1504 | "version": "1.0.3", 1505 | "resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz", 1506 | "integrity": "sha1-Aljq5NPQwJdN4cFpGI7wBR0dGYg=" 1507 | }, 1508 | "etag": { 1509 | "version": "1.8.1", 1510 | "resolved": "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz", 1511 | "integrity": "sha1-Qa4u62XvpiJorr/qg6x9eSmbCIc=" 1512 | }, 1513 | "express": { 1514 | "version": "4.19.2", 1515 | "resolved": "https://registry.npmjs.org/express/-/express-4.19.2.tgz", 1516 | "integrity": "sha512-5T6nhjsT+EOMzuck8JjBHARTHfMht0POzlA60WV2pMD3gyXw2LZnZ+ueGdNxG+0calOJcWKbpFcuzLZ91YWq9Q==", 1517 | "requires": { 1518 | "accepts": "~1.3.8", 1519 | "array-flatten": "1.1.1", 1520 | "body-parser": "1.20.2", 1521 | "content-disposition": "0.5.4", 1522 | "content-type": "~1.0.4", 1523 | "cookie": "0.6.0", 1524 | "cookie-signature": "1.0.6", 1525 | "debug": "2.6.9", 1526 | "depd": "2.0.0", 1527 | "encodeurl": "~1.0.2", 1528 | "escape-html": "~1.0.3", 1529 | "etag": "~1.8.1", 1530 | "finalhandler": "1.2.0", 1531 | "fresh": "0.5.2", 1532 | "http-errors": "2.0.0", 1533 | "merge-descriptors": "1.0.1", 1534 | "methods": "~1.1.2", 1535 | "on-finished": "2.4.1", 1536 | "parseurl": "~1.3.3", 1537 | "path-to-regexp": "0.1.7", 1538 | "proxy-addr": "~2.0.7", 1539 | "qs": "6.11.0", 1540 | "range-parser": "~1.2.1", 1541 | "safe-buffer": "5.2.1", 1542 | "send": "0.18.0", 1543 | "serve-static": "1.15.0", 1544 | "setprototypeof": "1.2.0", 1545 | "statuses": "2.0.1", 1546 | "type-is": "~1.6.18", 1547 | "utils-merge": "1.0.1", 1548 | "vary": "~1.1.2" 1549 | } 1550 | }, 1551 | "express-fileupload": { 1552 | "version": "1.4.0", 1553 | "resolved": "https://registry.npmjs.org/express-fileupload/-/express-fileupload-1.4.0.tgz", 1554 | "integrity": "sha512-RjzLCHxkv3umDeZKeFeMg8w7qe0V09w3B7oGZprr/oO2H/ISCgNzuqzn7gV3HRWb37GjRk429CCpSLS2KNTqMQ==", 1555 | "requires": { 1556 | "busboy": "^1.6.0" 1557 | } 1558 | }, 1559 | "file-type": { 1560 | "version": "16.5.4", 1561 | "resolved": "https://registry.npmjs.org/file-type/-/file-type-16.5.4.tgz", 1562 | "integrity": "sha512-/yFHK0aGjFEgDJjEKP0pWCplsPFPhwyfwevf/pVxiN0tmE4L9LmwWxWukdJSHdoCli4VgQLehjJtwQBnqmsKcw==", 1563 | "requires": { 1564 | "readable-web-to-node-stream": "^3.0.0", 1565 | "strtok3": "^6.2.4", 1566 | "token-types": "^4.1.1" 1567 | } 1568 | }, 1569 | "filelist": { 1570 | "version": "1.0.4", 1571 | "resolved": "https://registry.npmjs.org/filelist/-/filelist-1.0.4.tgz", 1572 | "integrity": "sha512-w1cEuf3S+DrLCQL7ET6kz+gmlJdbq9J7yXCSjK/OZCPA+qEN1WyF4ZAf0YYJa4/shHJra2t/d/r8SV4Ji+x+8Q==", 1573 | "requires": { 1574 | "minimatch": "^5.0.1" 1575 | }, 1576 | "dependencies": { 1577 | "brace-expansion": { 1578 | "version": "2.0.1", 1579 | "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", 1580 | "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", 1581 | "requires": { 1582 | "balanced-match": "^1.0.0" 1583 | } 1584 | }, 1585 | "minimatch": { 1586 | "version": "5.1.0", 1587 | "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.0.tgz", 1588 | "integrity": "sha512-9TPBGGak4nHfGZsPBohm9AWg6NoT7QTCehS3BIJABslyZbzxfV78QM2Y6+i741OPZIafFAaiiEMh5OyIrJPgtg==", 1589 | "requires": { 1590 | "brace-expansion": "^2.0.1" 1591 | } 1592 | } 1593 | } 1594 | }, 1595 | "finalhandler": { 1596 | "version": "1.2.0", 1597 | "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.2.0.tgz", 1598 | "integrity": "sha512-5uXcUVftlQMFnWC9qu/svkWv3GTd2PfUhK/3PLkYNAe7FbqJMt3515HaxE6eRL74GdsriiwujiawdaB1BpEISg==", 1599 | "requires": { 1600 | "debug": "2.6.9", 1601 | "encodeurl": "~1.0.2", 1602 | "escape-html": "~1.0.3", 1603 | "on-finished": "2.4.1", 1604 | "parseurl": "~1.3.3", 1605 | "statuses": "2.0.1", 1606 | "unpipe": "~1.0.0" 1607 | } 1608 | }, 1609 | "fmix": { 1610 | "version": "1.0.0", 1611 | "resolved": "https://registry.npmjs.org/fmix/-/fmix-1.0.0.tgz", 1612 | "integrity": "sha512-PIaqOGvVH5P+R92Ywy5PumsNEHvondVQh42SGOmkA9A0ZTFbfguzZpjZ/Gy3WVRUqT9Ia8k5tWlJeiZQzRHA7g==" 1613 | }, 1614 | "forwarded": { 1615 | "version": "0.2.0", 1616 | "resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.2.0.tgz", 1617 | "integrity": "sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow==" 1618 | }, 1619 | "fresh": { 1620 | "version": "0.5.2", 1621 | "resolved": "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz", 1622 | "integrity": "sha1-PYyt2Q2XZWn6g1qx+OSyOhBWBac=" 1623 | }, 1624 | "fs-temp": { 1625 | "version": "2.0.1", 1626 | "resolved": "https://registry.npmjs.org/fs-temp/-/fs-temp-2.0.1.tgz", 1627 | "integrity": "sha512-WYE7cUGOA0xRKsiYxNf/+WDuj0T20OtX85bVhsXpY+wJmjrRIUQftTI6JF9PVpo2RpGkh0l8lZsV8zszisYQ0Q==", 1628 | "requires": { 1629 | "random-path": "^1.0.0" 1630 | } 1631 | }, 1632 | "function-bind": { 1633 | "version": "1.1.2", 1634 | "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz", 1635 | "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==" 1636 | }, 1637 | "get-intrinsic": { 1638 | "version": "1.2.4", 1639 | "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.4.tgz", 1640 | "integrity": "sha512-5uYhsJH8VJBTv7oslg4BznJYhDoRI6waYCxMmCdnTrcCrHA/fCFKoTFz2JKKE0HdDFUF7/oQuhzumXJK7paBRQ==", 1641 | "requires": { 1642 | "es-errors": "^1.3.0", 1643 | "function-bind": "^1.1.2", 1644 | "has-proto": "^1.0.1", 1645 | "has-symbols": "^1.0.3", 1646 | "hasown": "^2.0.0" 1647 | } 1648 | }, 1649 | "gopd": { 1650 | "version": "1.0.1", 1651 | "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.0.1.tgz", 1652 | "integrity": "sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA==", 1653 | "requires": { 1654 | "get-intrinsic": "^1.1.3" 1655 | } 1656 | }, 1657 | "has-flag": { 1658 | "version": "4.0.0", 1659 | "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", 1660 | "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==" 1661 | }, 1662 | "has-own-property": { 1663 | "version": "2.0.0", 1664 | "resolved": "https://registry.npmjs.org/has-own-property/-/has-own-property-2.0.0.tgz", 1665 | "integrity": "sha512-oupojxEPq/nfAshi0hOFDjpmYO4JXtymFyPC9YSBmFqGamZ2zUgrCkYInt5tf7f1j6iumlzJBpfLNRxZIQCM0w==" 1666 | }, 1667 | "has-property-descriptors": { 1668 | "version": "1.0.2", 1669 | "resolved": "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.2.tgz", 1670 | "integrity": "sha512-55JNKuIW+vq4Ke1BjOTjM2YctQIvCT7GFzHwmfZPGo5wnrgkid0YQtnAleFSqumZm4az3n2BS+erby5ipJdgrg==", 1671 | "requires": { 1672 | "es-define-property": "^1.0.0" 1673 | } 1674 | }, 1675 | "has-proto": { 1676 | "version": "1.0.3", 1677 | "resolved": "https://registry.npmjs.org/has-proto/-/has-proto-1.0.3.tgz", 1678 | "integrity": "sha512-SJ1amZAJUiZS+PhsVLf5tGydlaVB8EdFpaSO4gmiUKUOxk8qzn5AIy4ZeJUmh22znIdk/uMAUT2pl3FxzVUH+Q==" 1679 | }, 1680 | "has-symbols": { 1681 | "version": "1.0.3", 1682 | "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.3.tgz", 1683 | "integrity": "sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==" 1684 | }, 1685 | "hasown": { 1686 | "version": "2.0.2", 1687 | "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.2.tgz", 1688 | "integrity": "sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==", 1689 | "requires": { 1690 | "function-bind": "^1.1.2" 1691 | } 1692 | }, 1693 | "http-errors": { 1694 | "version": "2.0.0", 1695 | "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-2.0.0.tgz", 1696 | "integrity": "sha512-FtwrG/euBzaEjYeRqOgly7G0qviiXoJWnvEH2Z1plBdXgbyjv34pHTSb9zoeHMyDy33+DWy5Wt9Wo+TURtOYSQ==", 1697 | "requires": { 1698 | "depd": "2.0.0", 1699 | "inherits": "2.0.4", 1700 | "setprototypeof": "1.2.0", 1701 | "statuses": "2.0.1", 1702 | "toidentifier": "1.0.1" 1703 | } 1704 | }, 1705 | "iconv-lite": { 1706 | "version": "0.4.24", 1707 | "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", 1708 | "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", 1709 | "requires": { 1710 | "safer-buffer": ">= 2.1.2 < 3" 1711 | } 1712 | }, 1713 | "ieee754": { 1714 | "version": "1.2.1", 1715 | "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz", 1716 | "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==" 1717 | }, 1718 | "inherits": { 1719 | "version": "2.0.4", 1720 | "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", 1721 | "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" 1722 | }, 1723 | "ipaddr.js": { 1724 | "version": "1.9.1", 1725 | "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.9.1.tgz", 1726 | "integrity": "sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g==" 1727 | }, 1728 | "is-buffer": { 1729 | "version": "1.1.6", 1730 | "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-1.1.6.tgz", 1731 | "integrity": "sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w==" 1732 | }, 1733 | "isarray": { 1734 | "version": "1.0.0", 1735 | "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", 1736 | "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=" 1737 | }, 1738 | "jake": { 1739 | "version": "10.8.5", 1740 | "resolved": "https://registry.npmjs.org/jake/-/jake-10.8.5.tgz", 1741 | "integrity": "sha512-sVpxYeuAhWt0OTWITwT98oyV0GsXyMlXCF+3L1SuafBVUIr/uILGRB+NqwkzhgXKvoJpDIpQvqkUALgdmQsQxw==", 1742 | "requires": { 1743 | "async": "^3.2.3", 1744 | "chalk": "^4.0.2", 1745 | "filelist": "^1.0.1", 1746 | "minimatch": "^3.0.4" 1747 | } 1748 | }, 1749 | "md5": { 1750 | "version": "2.3.0", 1751 | "resolved": "https://registry.npmjs.org/md5/-/md5-2.3.0.tgz", 1752 | "integrity": "sha512-T1GITYmFaKuO91vxyoQMFETst+O71VUPEU3ze5GNzDm0OWdP8v1ziTaAEPUr/3kLsY3Sftgz242A1SetQiDL7g==", 1753 | "requires": { 1754 | "charenc": "0.0.2", 1755 | "crypt": "0.0.2", 1756 | "is-buffer": "~1.1.6" 1757 | } 1758 | }, 1759 | "media-typer": { 1760 | "version": "0.3.0", 1761 | "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz", 1762 | "integrity": "sha1-hxDXrwqmJvj/+hzgAWhUUmMlV0g=" 1763 | }, 1764 | "merge-descriptors": { 1765 | "version": "1.0.1", 1766 | "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.1.tgz", 1767 | "integrity": "sha1-sAqqVW3YtEVoFQ7J0blT8/kMu2E=" 1768 | }, 1769 | "methods": { 1770 | "version": "1.1.2", 1771 | "resolved": "https://registry.npmjs.org/methods/-/methods-1.1.2.tgz", 1772 | "integrity": "sha1-VSmk1nZUE07cxSZmVoNbD4Ua/O4=" 1773 | }, 1774 | "mime": { 1775 | "version": "1.6.0", 1776 | "resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz", 1777 | "integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==" 1778 | }, 1779 | "mime-db": { 1780 | "version": "1.52.0", 1781 | "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz", 1782 | "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==" 1783 | }, 1784 | "mime-types": { 1785 | "version": "2.1.35", 1786 | "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz", 1787 | "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==", 1788 | "requires": { 1789 | "mime-db": "1.52.0" 1790 | } 1791 | }, 1792 | "minimatch": { 1793 | "version": "3.1.2", 1794 | "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", 1795 | "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", 1796 | "requires": { 1797 | "brace-expansion": "^1.1.7" 1798 | } 1799 | }, 1800 | "ms": { 1801 | "version": "2.0.0", 1802 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", 1803 | "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" 1804 | }, 1805 | "multer": { 1806 | "version": "2.0.0-rc.4", 1807 | "resolved": "https://registry.npmjs.org/multer/-/multer-2.0.0-rc.4.tgz", 1808 | "integrity": "sha512-YkjV/rOzngEBxtZV8s6BcBcB/z2v/dfDcIpWagmMsKBq0QnQCu/NpCUDd2ElExfnxRXMVXKrFh94/UKe4NdxBQ==", 1809 | "requires": { 1810 | "@fastify/busboy": "^1.0.0", 1811 | "append-field": "^2.0.0", 1812 | "bytes": "^3.1.0", 1813 | "fs-temp": "^2.0.1", 1814 | "has-own-property": "^2.0.0", 1815 | "on-finished": "^2.3.0", 1816 | "stream-file-type": "^0.6.1", 1817 | "type-is": "^1.6.18" 1818 | } 1819 | }, 1820 | "murmur-32": { 1821 | "version": "1.0.0", 1822 | "resolved": "https://registry.npmjs.org/murmur-32/-/murmur-32-1.0.0.tgz", 1823 | "integrity": "sha512-l6QKUGWXzZWHash7lmZzycpIifOrnc3PeMaoFrMv90c+xqOyOSzJU0q2T/1d15MzAdEWTpCh1paC855APqt1Gw==", 1824 | "requires": { 1825 | "encode-utf8": "^2.0.0", 1826 | "fmix": "^1.0.0" 1827 | } 1828 | }, 1829 | "mysql": { 1830 | "version": "2.18.1", 1831 | "resolved": "https://registry.npmjs.org/mysql/-/mysql-2.18.1.tgz", 1832 | "integrity": "sha512-Bca+gk2YWmqp2Uf6k5NFEurwY/0td0cpebAucFpY/3jhrwrVGuxU2uQFCHjU19SJfje0yQvi+rVWdq78hR5lig==", 1833 | "requires": { 1834 | "bignumber.js": "9.0.0", 1835 | "readable-stream": "2.3.7", 1836 | "safe-buffer": "5.1.2", 1837 | "sqlstring": "2.3.1" 1838 | }, 1839 | "dependencies": { 1840 | "safe-buffer": { 1841 | "version": "5.1.2", 1842 | "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", 1843 | "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" 1844 | }, 1845 | "sqlstring": { 1846 | "version": "2.3.1", 1847 | "resolved": "https://registry.npmjs.org/sqlstring/-/sqlstring-2.3.1.tgz", 1848 | "integrity": "sha1-R1OT/56RR5rqYtyvDKPRSYOn+0A=" 1849 | } 1850 | } 1851 | }, 1852 | "negotiator": { 1853 | "version": "0.6.3", 1854 | "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.3.tgz", 1855 | "integrity": "sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg==" 1856 | }, 1857 | "object-inspect": { 1858 | "version": "1.13.1", 1859 | "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.13.1.tgz", 1860 | "integrity": "sha512-5qoj1RUiKOMsCCNLV1CBiPYE10sziTsnmNxkAI/rZhiD63CF7IqdFGC/XzjWjpSgLf0LxXX3bDFIh0E18f6UhQ==" 1861 | }, 1862 | "on-finished": { 1863 | "version": "2.4.1", 1864 | "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.4.1.tgz", 1865 | "integrity": "sha512-oVlzkg3ENAhCk2zdv7IJwd/QUD4z2RxRwpkcGY8psCVcCYZNq4wYnVWALHM+brtuJjePWiYF/ClmuDr8Ch5+kg==", 1866 | "requires": { 1867 | "ee-first": "1.1.1" 1868 | } 1869 | }, 1870 | "parseurl": { 1871 | "version": "1.3.3", 1872 | "resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz", 1873 | "integrity": "sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==" 1874 | }, 1875 | "path-to-regexp": { 1876 | "version": "0.1.7", 1877 | "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.7.tgz", 1878 | "integrity": "sha1-32BBeABfUi8V60SQ5yR6G/qmf4w=" 1879 | }, 1880 | "peek-readable": { 1881 | "version": "4.1.0", 1882 | "resolved": "https://registry.npmjs.org/peek-readable/-/peek-readable-4.1.0.tgz", 1883 | "integrity": "sha512-ZI3LnwUv5nOGbQzD9c2iDG6toheuXSZP5esSHBjopsXH4dg19soufvpUGA3uohi5anFtGb2lhAVdHzH6R/Evvg==" 1884 | }, 1885 | "process-nextick-args": { 1886 | "version": "2.0.1", 1887 | "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz", 1888 | "integrity": "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==" 1889 | }, 1890 | "proxy-addr": { 1891 | "version": "2.0.7", 1892 | "resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.7.tgz", 1893 | "integrity": "sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg==", 1894 | "requires": { 1895 | "forwarded": "0.2.0", 1896 | "ipaddr.js": "1.9.1" 1897 | } 1898 | }, 1899 | "qs": { 1900 | "version": "6.11.0", 1901 | "resolved": "https://registry.npmjs.org/qs/-/qs-6.11.0.tgz", 1902 | "integrity": "sha512-MvjoMCJwEarSbUYk5O+nmoSzSutSsTwF85zcHPQ9OrlFoZOYIjaqBAJIqIXjptyD5vThxGq52Xu/MaJzRkIk4Q==", 1903 | "requires": { 1904 | "side-channel": "^1.0.4" 1905 | } 1906 | }, 1907 | "random-path": { 1908 | "version": "1.0.0", 1909 | "resolved": "https://registry.npmjs.org/random-path/-/random-path-1.0.0.tgz", 1910 | "integrity": "sha512-I6FGG7uFR3tZqHP7TzcP3Ikt5IyVEG59u7KTjIIjizcdPY6MDjD9CbbKqE+znIv4mrDF6HMlBshoemk0oRRwsQ==", 1911 | "requires": { 1912 | "base32-encode": "^2.0.0", 1913 | "murmur-32": "^1.0.0" 1914 | } 1915 | }, 1916 | "range-parser": { 1917 | "version": "1.2.1", 1918 | "resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.1.tgz", 1919 | "integrity": "sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==" 1920 | }, 1921 | "raw-body": { 1922 | "version": "2.5.2", 1923 | "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.5.2.tgz", 1924 | "integrity": "sha512-8zGqypfENjCIqGhgXToC8aB2r7YrBX+AQAfIPs/Mlk+BtPTztOvTS01NRW/3Eh60J+a48lt8qsCzirQ6loCVfA==", 1925 | "requires": { 1926 | "bytes": "3.1.2", 1927 | "http-errors": "2.0.0", 1928 | "iconv-lite": "0.4.24", 1929 | "unpipe": "1.0.0" 1930 | } 1931 | }, 1932 | "readable-stream": { 1933 | "version": "2.3.7", 1934 | "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.7.tgz", 1935 | "integrity": "sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==", 1936 | "requires": { 1937 | "core-util-is": "~1.0.0", 1938 | "inherits": "~2.0.3", 1939 | "isarray": "~1.0.0", 1940 | "process-nextick-args": "~2.0.0", 1941 | "safe-buffer": "~5.1.1", 1942 | "string_decoder": "~1.1.1", 1943 | "util-deprecate": "~1.0.1" 1944 | }, 1945 | "dependencies": { 1946 | "safe-buffer": { 1947 | "version": "5.1.2", 1948 | "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", 1949 | "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" 1950 | } 1951 | } 1952 | }, 1953 | "readable-web-to-node-stream": { 1954 | "version": "3.0.2", 1955 | "resolved": "https://registry.npmjs.org/readable-web-to-node-stream/-/readable-web-to-node-stream-3.0.2.tgz", 1956 | "integrity": "sha512-ePeK6cc1EcKLEhJFt/AebMCLL+GgSKhuygrZ/GLaKZYEecIgIECf4UaUuaByiGtzckwR4ain9VzUh95T1exYGw==", 1957 | "requires": { 1958 | "readable-stream": "^3.6.0" 1959 | }, 1960 | "dependencies": { 1961 | "readable-stream": { 1962 | "version": "3.6.0", 1963 | "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", 1964 | "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", 1965 | "requires": { 1966 | "inherits": "^2.0.3", 1967 | "string_decoder": "^1.1.1", 1968 | "util-deprecate": "^1.0.1" 1969 | } 1970 | } 1971 | } 1972 | }, 1973 | "safe-buffer": { 1974 | "version": "5.2.1", 1975 | "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", 1976 | "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==" 1977 | }, 1978 | "safer-buffer": { 1979 | "version": "2.1.2", 1980 | "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", 1981 | "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" 1982 | }, 1983 | "send": { 1984 | "version": "0.18.0", 1985 | "resolved": "https://registry.npmjs.org/send/-/send-0.18.0.tgz", 1986 | "integrity": "sha512-qqWzuOjSFOuqPjFe4NOsMLafToQQwBSOEpS+FwEt3A2V3vKubTquT3vmLTQpFgMXp8AlFWFuP1qKaJZOtPpVXg==", 1987 | "requires": { 1988 | "debug": "2.6.9", 1989 | "depd": "2.0.0", 1990 | "destroy": "1.2.0", 1991 | "encodeurl": "~1.0.2", 1992 | "escape-html": "~1.0.3", 1993 | "etag": "~1.8.1", 1994 | "fresh": "0.5.2", 1995 | "http-errors": "2.0.0", 1996 | "mime": "1.6.0", 1997 | "ms": "2.1.3", 1998 | "on-finished": "2.4.1", 1999 | "range-parser": "~1.2.1", 2000 | "statuses": "2.0.1" 2001 | }, 2002 | "dependencies": { 2003 | "ms": { 2004 | "version": "2.1.3", 2005 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", 2006 | "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==" 2007 | } 2008 | } 2009 | }, 2010 | "serve-static": { 2011 | "version": "1.15.0", 2012 | "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.15.0.tgz", 2013 | "integrity": "sha512-XGuRDNjXUijsUL0vl6nSD7cwURuzEgglbOaFuZM9g3kwDXOWVTck0jLzjPzGD+TazWbboZYu52/9/XPdUgne9g==", 2014 | "requires": { 2015 | "encodeurl": "~1.0.2", 2016 | "escape-html": "~1.0.3", 2017 | "parseurl": "~1.3.3", 2018 | "send": "0.18.0" 2019 | } 2020 | }, 2021 | "set-function-length": { 2022 | "version": "1.2.2", 2023 | "resolved": "https://registry.npmjs.org/set-function-length/-/set-function-length-1.2.2.tgz", 2024 | "integrity": "sha512-pgRc4hJ4/sNjWCSS9AmnS40x3bNMDTknHgL5UaMBTMyJnU90EgWh1Rz+MC9eFu4BuN/UwZjKQuY/1v3rM7HMfg==", 2025 | "requires": { 2026 | "define-data-property": "^1.1.4", 2027 | "es-errors": "^1.3.0", 2028 | "function-bind": "^1.1.2", 2029 | "get-intrinsic": "^1.2.4", 2030 | "gopd": "^1.0.1", 2031 | "has-property-descriptors": "^1.0.2" 2032 | } 2033 | }, 2034 | "setprototypeof": { 2035 | "version": "1.2.0", 2036 | "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.2.0.tgz", 2037 | "integrity": "sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==" 2038 | }, 2039 | "side-channel": { 2040 | "version": "1.0.6", 2041 | "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.6.tgz", 2042 | "integrity": "sha512-fDW/EZ6Q9RiO8eFG8Hj+7u/oW+XrPTIChwCOM2+th2A6OblDtYYIpve9m+KvI9Z4C9qSEXlaGR6bTEYHReuglA==", 2043 | "requires": { 2044 | "call-bind": "^1.0.7", 2045 | "es-errors": "^1.3.0", 2046 | "get-intrinsic": "^1.2.4", 2047 | "object-inspect": "^1.13.1" 2048 | } 2049 | }, 2050 | "sqlstring": { 2051 | "version": "2.3.3", 2052 | "resolved": "https://registry.npmjs.org/sqlstring/-/sqlstring-2.3.3.tgz", 2053 | "integrity": "sha512-qC9iz2FlN7DQl3+wjwn3802RTyjCx7sDvfQEXchwa6CWOx07/WVfh91gBmQ9fahw8snwGEWU3xGzOt4tFyHLxg==" 2054 | }, 2055 | "statuses": { 2056 | "version": "2.0.1", 2057 | "resolved": "https://registry.npmjs.org/statuses/-/statuses-2.0.1.tgz", 2058 | "integrity": "sha512-RwNA9Z/7PrK06rYLIzFMlaF+l73iwpzsqRIFgbMLbTcLD6cOao82TaWefPXQvB2fOC4AjuYSEndS7N/mTCbkdQ==" 2059 | }, 2060 | "stream-file-type": { 2061 | "version": "0.6.1", 2062 | "resolved": "https://registry.npmjs.org/stream-file-type/-/stream-file-type-0.6.1.tgz", 2063 | "integrity": "sha512-//KIXMQan4ow4gD//dfPu15nhH/sFdt41PzAOpD9EBFUBy/MtFjocTPO8v1dTOJnyi47TlPo6Qj+67sSE1lJKA==", 2064 | "requires": { 2065 | "file-type": "^16.0.0" 2066 | } 2067 | }, 2068 | "streamsearch": { 2069 | "version": "1.1.0", 2070 | "resolved": "https://registry.npmjs.org/streamsearch/-/streamsearch-1.1.0.tgz", 2071 | "integrity": "sha512-Mcc5wHehp9aXz1ax6bZUyY5afg9u2rv5cqQI3mRrYkGC8rW2hM02jWuwjtL++LS5qinSyhj2QfLyNsuc+VsExg==" 2072 | }, 2073 | "string_decoder": { 2074 | "version": "1.1.1", 2075 | "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", 2076 | "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", 2077 | "requires": { 2078 | "safe-buffer": "~5.1.0" 2079 | }, 2080 | "dependencies": { 2081 | "safe-buffer": { 2082 | "version": "5.1.2", 2083 | "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", 2084 | "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" 2085 | } 2086 | } 2087 | }, 2088 | "strtok3": { 2089 | "version": "6.3.0", 2090 | "resolved": "https://registry.npmjs.org/strtok3/-/strtok3-6.3.0.tgz", 2091 | "integrity": "sha512-fZtbhtvI9I48xDSywd/somNqgUHl2L2cstmXCCif0itOf96jeW18MBSyrLuNicYQVkvpOxkZtkzujiTJ9LW5Jw==", 2092 | "requires": { 2093 | "@tokenizer/token": "^0.3.0", 2094 | "peek-readable": "^4.1.0" 2095 | } 2096 | }, 2097 | "supports-color": { 2098 | "version": "7.2.0", 2099 | "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", 2100 | "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", 2101 | "requires": { 2102 | "has-flag": "^4.0.0" 2103 | } 2104 | }, 2105 | "text-decoding": { 2106 | "version": "1.0.0", 2107 | "resolved": "https://registry.npmjs.org/text-decoding/-/text-decoding-1.0.0.tgz", 2108 | "integrity": "sha512-/0TJD42KDnVwKmDK6jj3xP7E2MG7SHAOG4tyTgyUCRPdHwvkquYNLEQltmdMa3owq3TkddCVcTsoctJI8VQNKA==" 2109 | }, 2110 | "to-data-view": { 2111 | "version": "2.0.0", 2112 | "resolved": "https://registry.npmjs.org/to-data-view/-/to-data-view-2.0.0.tgz", 2113 | "integrity": "sha512-RGEM5KqlPHr+WVTPmGNAXNeFEmsBnlkxXaIfEpUYV0AST2Z5W1EGq9L/MENFrMMmL2WQr1wjkmZy/M92eKhjYA==" 2114 | }, 2115 | "toidentifier": { 2116 | "version": "1.0.1", 2117 | "resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.1.tgz", 2118 | "integrity": "sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA==" 2119 | }, 2120 | "token-types": { 2121 | "version": "4.2.0", 2122 | "resolved": "https://registry.npmjs.org/token-types/-/token-types-4.2.0.tgz", 2123 | "integrity": "sha512-P0rrp4wUpefLncNamWIef62J0v0kQR/GfDVji9WKY7GDCWy5YbVSrKUTam07iWPZQGy0zWNOfstYTykMmPNR7w==", 2124 | "requires": { 2125 | "@tokenizer/token": "^0.3.0", 2126 | "ieee754": "^1.2.1" 2127 | } 2128 | }, 2129 | "type-is": { 2130 | "version": "1.6.18", 2131 | "resolved": "https://registry.npmjs.org/type-is/-/type-is-1.6.18.tgz", 2132 | "integrity": "sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g==", 2133 | "requires": { 2134 | "media-typer": "0.3.0", 2135 | "mime-types": "~2.1.24" 2136 | } 2137 | }, 2138 | "unpipe": { 2139 | "version": "1.0.0", 2140 | "resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz", 2141 | "integrity": "sha1-sr9O6FFKrmFltIF4KdIbLvSZBOw=" 2142 | }, 2143 | "util-deprecate": { 2144 | "version": "1.0.2", 2145 | "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", 2146 | "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=" 2147 | }, 2148 | "utils-merge": { 2149 | "version": "1.0.1", 2150 | "resolved": "https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.1.tgz", 2151 | "integrity": "sha1-n5VxD1CiZ5R7LMwSR0HBAoQn5xM=" 2152 | }, 2153 | "vary": { 2154 | "version": "1.1.2", 2155 | "resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz", 2156 | "integrity": "sha1-IpnwLG3tMNSllhsLn3RSShj2NPw=" 2157 | } 2158 | } 2159 | } 2160 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "2007bancho", 3 | "version": "1.0.0", 4 | "description": "", 5 | "main": "app.js", 6 | "scripts": { 7 | "test": "echo \"Error: no test specified\" && exit 1" 8 | }, 9 | "author": "", 10 | "license": "ISC", 11 | "dependencies": { 12 | "body-parser": "^1.20.0", 13 | "ejs": "^3.1.8", 14 | "express": "^4.19.2", 15 | "express-fileupload": "^1.4.0", 16 | "md5": "^2.3.0", 17 | "multer": "^2.0.0-rc.3", 18 | "mysql": "^2.18.1", 19 | "sqlstring": "^2.3.3" 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /static/css/osu.css: -------------------------------------------------------------------------------- 1 | html { 2 | font-size: 100%; 3 | background:#CF4D37 url(/static/images/background.jpg); 4 | background-repeat: repeat-x; 5 | 6 | } 7 | 8 | body { 9 | font-family: "Lucida Grande", Verdana, Helvetica, Arial, sans-serif; 10 | color: #000000; 11 | background-color: #FFFFFF; 12 | font-size: 62.5%; /* This sets the default font size to be equivalent to 10px */ 13 | margin: 15px 15px 15px 15px; 14 | padding: 0px; 15 | border-color: #000000; 16 | border-width: 2px 2px 2px 2px; 17 | border-style: solid; 18 | 19 | } 20 | 21 | #header { 22 | margin-bottom: 0px; 23 | padding: 17px 27px; 24 | background: #FFFFFF; 25 | background-image: url('/static/images/header_bg.jpg'); 26 | background-repeat: repeat-x; 27 | height: 104px; 28 | } 29 | 30 | #header a { 31 | border: 0; 32 | text-decoration: none; 33 | } 34 | #osu { 35 | border: 0; 36 | margin-right: 20px; 37 | float: left; 38 | } 39 | 40 | a { 41 | color: #CF4D37; 42 | text-decoration: none; 43 | } 44 | 45 | /* stolen from listmatic =D */ 46 | #navcontainer 47 | { 48 | margin: 0; 49 | padding: 2px 0 0 0px; 50 | float: left; 51 | } 52 | 53 | #navcontainer UL 54 | { 55 | list-style: none; 56 | margin: 0; 57 | padding: 0; 58 | border: none; 59 | } 60 | 61 | #navcontainer LI 62 | { 63 | display: block; 64 | margin: 0; 65 | padding: 0; 66 | float: left; 67 | width: auto; 68 | } 69 | 70 | #navcontainer A 71 | { 72 | color: #444; 73 | display: block; 74 | width: auto; 75 | text-decoration: none; 76 | background: #DDDDDD; 77 | margin: 0; 78 | padding: 2px 10px; 79 | border-left: 1px solid #fff; 80 | border-top: 1px solid #fff; 81 | border-right: 1px solid #aaa; 82 | } 83 | 84 | #navcontainer A:hover, #navcontainer A:active { background: #BBBBBB; } 85 | 86 | #navcontainer A.active:link, #navcontainer A.active:visited 87 | { 88 | position: relative; 89 | z-index: 102; 90 | background: #BBBBBB; 91 | font-weight: bold; 92 | } 93 | 94 | 95 | 96 | 97 | .sub_title { 98 | color: #D9705D; 99 | font-family: Verdana, "Lucida Grande", "Trebuchet MS", sans-serif; 100 | font-weight: normal; 101 | font-size: 1.0em; 102 | text-decoration: none; 103 | margin: 1px 1px; 104 | } 105 | 106 | h1 { 107 | color: #FFFFFF; 108 | font-family: Verdana, "Lucida Grande", "Trebuchet MS", sans-serif; 109 | font-weight: normal; 110 | font-size: 2.5em; 111 | text-decoration: none; 112 | display: inline; 113 | } 114 | 115 | #article { 116 | background-color: #fff0f0; 117 | margin-top: 0; 118 | 119 | } 120 | 121 | .subject { 122 | display: block; 123 | width: 100%; 124 | background-image: url('/static/images/grad.png'); 125 | background-repeat: repeat-x; 126 | font-size: 2em; 127 | color: #000; 128 | border-bottom: 1px solid #ffa2a2; 129 | } 130 | 131 | #article .byline { 132 | display: block; 133 | width: 100%; 134 | background-color: #fff0f0; 135 | font-size: 1em; 136 | padding-top: 6px; 137 | 138 | } 139 | #article .byline img{ 140 | float: left; 141 | margin-right: 5px; 142 | border: 1px solid #ffa2a2; 143 | margin-left: 15px; 144 | } 145 | 146 | #article .message { 147 | display: block; 148 | background-color: #ffffff; 149 | clear: both; 150 | margin-left: 15px; 151 | padding: 5px; 152 | border-top: 1px solid #ffa2a2; 153 | border-left: 1px solid #ffa2a2; 154 | border-bottom: 1px solid #ffa2a2; 155 | font-size: 1.2em; 156 | } 157 | 158 | #article .links { 159 | display: block; 160 | text-align: right; 161 | background-color: #fff0f0; 162 | clear: both; 163 | margin-left: 15px; 164 | padding: 5px; 165 | } 166 | 167 | 168 | #vertable 169 | { 170 | margin: 0; 171 | margin-top: -1px; 172 | padding: 0px 0 0 0px; 173 | float: left; 174 | border-bottom: 1px solid #ffa2a2; 175 | width: 100%; 176 | background: #ffcfd0; 177 | font-size: 1.3em; 178 | } 179 | 180 | #vertable UL 181 | { 182 | display: inline; 183 | list-style: none; 184 | margin: 0; 185 | padding: 0; 186 | border: none; 187 | 188 | } 189 | 190 | #vertable LI 191 | { 192 | 193 | display: block; 194 | margin: 0; 195 | padding: 0; 196 | float: left; 197 | width: auto; 198 | } 199 | 200 | #vertable a 201 | { 202 | color: #5e5e5e; 203 | display: block; 204 | width: auto; 205 | text-decoration: none; 206 | background: #ffcfd0; 207 | margin: 0; 208 | padding: 2px 10px; 209 | 210 | } 211 | 212 | #vertable A:hover, #vertable A:active { background: #ffefef; } 213 | 214 | #vertable A.active:link, #vertable A.active:visited 215 | { 216 | position: relative; 217 | z-index: 102; 218 | background: #fcb5b6; 219 | 220 | } 221 | 222 | #songinfo table 223 | { 224 | clear: both; 225 | color: #000; 226 | background-color: #ffe2e3; 227 | border-bottom: 1px solid #ffa2a2; 228 | } 229 | 230 | #songinfo table .colour 231 | { 232 | color: #CF4D37; 233 | } 234 | 235 | /* scorelist css */ 236 | 237 | #scorewrap { 238 | 239 | } 240 | 241 | #scorelist { 242 | background-color: #fff0f0; 243 | 244 | 245 | } 246 | 247 | #scorelist h2 { 248 | display: block; 249 | width: 100%; 250 | background-image: url('/static/images/grad.png'); 251 | background-repeat: repeat-x; 252 | font-size: 2em; 253 | color: #000; 254 | border-bottom: 1px solid #ffa2a2; 255 | } 256 | 257 | #scorelist table { 258 | padding-left: 2px; 259 | } 260 | 261 | #scorelist .head { 262 | font-size: 1.2em; 263 | color: #000; 264 | border-bottom: 1px solid #ffa2a2; 265 | } 266 | 267 | #scorelist td { 268 | font-size: 1.1em; 269 | padding: 2px; 270 | } 271 | 272 | #scorelist .odd { 273 | background-color: #fff; 274 | } 275 | 276 | /*#scorelist a {display: block; width: 100%}*/ 277 | 278 | 279 | #scorelist .artist{ 280 | position: absolute; 281 | margin-right: 200px; 282 | } 283 | 284 | #scoresheet .leader_title { 285 | font-size: 1.4em; 286 | font-weight: bold; 287 | display: block; 288 | margin-left: 5px; 289 | background: url('/static/images/cellpic1.jpg'); 290 | background-repeat: repeat-x; 291 | color: #fff; 292 | width: 50%; 293 | height: 1.7em; 294 | } 295 | 296 | #scoresheet .leader_title a { 297 | color: #ffe0d0; 298 | } 299 | 300 | #scoresheet table { 301 | 302 | width: 50%; 303 | margin-left: 5px; 304 | border-left: 1px solid; 305 | border-right: 1px solid; 306 | border-bottom: 1px solid; 307 | } 308 | 309 | #scoresheet tr { 310 | font-size: 1.3em; 311 | height: 1.4em; 312 | background-color: #ffe0d0; 313 | } 314 | 315 | #scoresheet td { 316 | padding-left: 4px; 317 | } 318 | 319 | 320 | 321 | #scoresheet .rank { 322 | border-left: 1px solid; 323 | } 324 | 325 | #scoresheet .odd { 326 | background-color: #fff0f0; 327 | } 328 | 329 | #osudownload { 330 | float: right; 331 | padding-right: 5%; 332 | 333 | } 334 | #osudownload img { 335 | border: 0; 336 | } 337 | 338 | #scoreboard { 339 | width: 100%; 340 | } 341 | 342 | #scoreboard .odd { 343 | background-color: #fff0f0; 344 | } 345 | 346 | .titlerow td 347 | { 348 | padding:1px; 349 | font-size: 1.1em; 350 | color: #000; 351 | background-color: #ffe2e3; 352 | border-top: 1px solid #ffa2a2; 353 | border-bottom: 1px solid #ffa2a2; 354 | } 355 | 356 | .abt { 357 | font-size: 1.1em; 358 | padding: 2px; 359 | text-align: center; 360 | font-weight: bold; 361 | } 362 | 363 | .easy { 364 | float: left; 365 | width: 30; 366 | height: 10; 367 | background: url('/static/images/easy.png'); 368 | } 369 | 370 | .med { 371 | float: left; 372 | width: 30; 373 | height: 10; 374 | background: url('/static/images/med.png'); 375 | } 376 | 377 | .hard { 378 | float: left; 379 | width: 30; 380 | height: 10; 381 | background: url('/static/images/hard.png'); 382 | } 383 | 384 | .insane { 385 | float: left; 386 | width: 30; 387 | height: 10; 388 | background: url('/static/images/insane.png'); 389 | } 390 | 391 | /*ratings*/ 392 | 393 | /* styles for the unit rater 394 | --------------------------------------------------------- 395 | ryan masuga, masugadesign.com 396 | ryan@masugadesign.com 397 | Licensed under a Creative Commons Attribution 3.0 License. 398 | http://creativecommons.org/licenses/by/3.0/ 399 | See readme.txt for full credit details. 400 | --------------------------------------------------------- */ 401 | 402 | .ratingblock { 403 | display:block; 404 | } 405 | 406 | .loading { 407 | height: 30px; 408 | background: url('/static/images/working.gif') 50% 50% no-repeat; 409 | } 410 | 411 | .unit-rating { /* the UL */ 412 | list-style:none; 413 | margin: 0px; 414 | padding:0px; 415 | height: 14px; 416 | position: relative; 417 | background: url('/static/images/starrating.gif') top left repeat-x; 418 | } 419 | 420 | .unit-rating li{ 421 | text-indent: -90000px; 422 | padding:0px; 423 | margin:0px; 424 | /*\*/ 425 | float: left; 426 | /* */ 427 | } 428 | 429 | .unit-rating li a { 430 | outline: none; 431 | display:block; 432 | width:14px; 433 | height: 14px; 434 | text-decoration: none; 435 | text-indent: -9000px; 436 | z-index: 20; 437 | position: absolute; 438 | padding: 0px; 439 | } 440 | 441 | .unit-rating li a:hover{ 442 | background: url('/static/images/starrating.gif') left center; 443 | z-index: 2; 444 | left: 0px; 445 | } 446 | 447 | .unit-rating a.r1-unit{left: 0px;} 448 | .unit-rating a.r1-unit:hover{width:14px;} 449 | .unit-rating a.r2-unit{left:14px;} 450 | .unit-rating a.r2-unit:hover{width: 28px;} 451 | .unit-rating a.r3-unit{left: 28px;} 452 | .unit-rating a.r3-unit:hover{width: 42px;} 453 | .unit-rating a.r4-unit{left: 42px;} 454 | .unit-rating a.r4-unit:hover{width: 56px;} 455 | .unit-rating a.r5-unit{left: 56px;} 456 | .unit-rating a.r5-unit:hover{width: 70px;} 457 | .unit-rating a.r6-unit{left: 70px;} 458 | .unit-rating a.r6-unit:hover{width: 84px;} 459 | .unit-rating a.r7-unit{left: 84px;} 460 | .unit-rating a.r7-unit:hover{width: 98px;} 461 | .unit-rating a.r8-unit{left: 98px;} 462 | .unit-rating a.r8-unit:hover{width: 112px;} 463 | .unit-rating a.r9-unit{left: 112px;} 464 | .unit-rating a.r9-unit:hover{width: 126px;} 465 | .unit-rating a.r10-unit{left: 126px;} 466 | .unit-rating a.r10-unit:hover{width: 140px;} 467 | 468 | .unit-rating li.current-rating { 469 | background: url('/static/images/starrating.gif') left bottom; 470 | position: absolute; 471 | height: 14px; 472 | display: block; 473 | text-indent: -9000px; 474 | z-index: 1; 475 | } 476 | 477 | .voted {color:#999;} 478 | .thanks {color:#36AA3D;} 479 | .static {color:#5D3126;} 480 | 481 | -------------------------------------------------------------------------------- /static/images/background.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mayacopeland/classic-osu/20d293c0077404012a8c0fb0ea7829b652013499/static/images/background.jpg -------------------------------------------------------------------------------- /static/images/cellpic1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mayacopeland/classic-osu/20d293c0077404012a8c0fb0ea7829b652013499/static/images/cellpic1.jpg -------------------------------------------------------------------------------- /static/images/easy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mayacopeland/classic-osu/20d293c0077404012a8c0fb0ea7829b652013499/static/images/easy.png -------------------------------------------------------------------------------- /static/images/grad.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mayacopeland/classic-osu/20d293c0077404012a8c0fb0ea7829b652013499/static/images/grad.png -------------------------------------------------------------------------------- /static/images/hard.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mayacopeland/classic-osu/20d293c0077404012a8c0fb0ea7829b652013499/static/images/hard.png -------------------------------------------------------------------------------- /static/images/header_bg.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mayacopeland/classic-osu/20d293c0077404012a8c0fb0ea7829b652013499/static/images/header_bg.jpg -------------------------------------------------------------------------------- /static/images/insane.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mayacopeland/classic-osu/20d293c0077404012a8c0fb0ea7829b652013499/static/images/insane.png -------------------------------------------------------------------------------- /static/images/med.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mayacopeland/classic-osu/20d293c0077404012a8c0fb0ea7829b652013499/static/images/med.png -------------------------------------------------------------------------------- /static/images/osu.swf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mayacopeland/classic-osu/20d293c0077404012a8c0fb0ea7829b652013499/static/images/osu.swf -------------------------------------------------------------------------------- /static/images/osu0.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mayacopeland/classic-osu/20d293c0077404012a8c0fb0ea7829b652013499/static/images/osu0.jpg -------------------------------------------------------------------------------- /static/images/osu1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mayacopeland/classic-osu/20d293c0077404012a8c0fb0ea7829b652013499/static/images/osu1.jpg -------------------------------------------------------------------------------- /static/images/osu2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mayacopeland/classic-osu/20d293c0077404012a8c0fb0ea7829b652013499/static/images/osu2.jpg -------------------------------------------------------------------------------- /static/images/osu3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mayacopeland/classic-osu/20d293c0077404012a8c0fb0ea7829b652013499/static/images/osu3.png -------------------------------------------------------------------------------- /static/images/osu4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mayacopeland/classic-osu/20d293c0077404012a8c0fb0ea7829b652013499/static/images/osu4.png -------------------------------------------------------------------------------- /static/images/osu5.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mayacopeland/classic-osu/20d293c0077404012a8c0fb0ea7829b652013499/static/images/osu5.jpg -------------------------------------------------------------------------------- /static/images/starrating.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mayacopeland/classic-osu/20d293c0077404012a8c0fb0ea7829b652013499/static/images/starrating.gif -------------------------------------------------------------------------------- /static/images/working.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mayacopeland/classic-osu/20d293c0077404012a8c0fb0ea7829b652013499/static/images/working.gif -------------------------------------------------------------------------------- /views/base.ejs: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | <%= page %> | osu-classic 7 | 8 | 9 | 10 | 11 | 12 | 13 | 32 | 33 |
34 | <% if (page == "Homepage") { %> 35 | <%- include("pages/home.ejs") %> 36 | <% } %> 37 | <% if (page == "About") { %> 38 | <%- include ("pages/about.ejs") %> 39 | <% } %> 40 | <% if (page == "Download") { %> 41 | <%- include ("pages/download.ejs") %> 42 | <% } %> 43 | <% if (page == "FAQ") { %> 44 | <%- include ("pages/faq.ejs") %> 45 | <% } %> 46 | <% if (page == "Leaderboard") { %> 47 | <%- include ("pages/leaderboard.ejs") %> 48 | <% } %> 49 | <% if (page == "Register") { %> 50 | <%- include ("pages/register.ejs") %> 51 | <% } %> 52 |
53 | 54 | Source. © peppy 2007 55 | 56 | 57 | -------------------------------------------------------------------------------- /views/pages/about.ejs: -------------------------------------------------------------------------------- 1 |
2 |
3 | About osu-classic:
4 | 5 | osu-classic was created at emulating the online capabilities of the first public release of osu! this project begun in 2017 when I was younger, and more invested in osu! than I currently am. 6 |
7 | it was created help give new players the experience of the original osu! version, while also bringing some nostalgia back to those who played way back when! 8 |
9 |
10 |
11 |
12 | osu! is an ouendan simulator...
13 | The best place to get some help (after the FAQ) or let us 14 | know if you've found a bug is the community 15 | forums. Register today to secure your username for the online ranking system, and gain access to a 16 | large library of songs at the same time!

If you just want to chat or hangout, we also have an IRC channel 18 | going.
Server: irc.ppy.sh
Channel: #osu

19 |
20 |
21 |
22 | The Team
23 | 24 | peppy 25 | (Dean Herbert) - The primary and only developer behind the code and sprites that makes the game tick. Works 26 | as a full-time developer in Western Australia, but spends every minute of his spare time on osu!. Will buy 27 | sleep.

28 | Contributers: Phill (css/web), Kylecito (slider ball), eyup (eyupstars algorithm), 29 | Beatmappers (all of you out there :)

30 | Active Testers: Echo49, Extor, eyup, Ivalset (wow this list is short lately)

31 | Beatmap Mods, Global 32 | moderators
33 |
34 | Hosting of the main osu! server is provided by Brave New Games! If you 35 | have a free project that needs hosting, please check out their site and get in contact!
36 |
37 |
38 | 39 |
40 | Screenshots
41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 63 | 64 | 65 | 66 | 67 | 68 | 69 |
Main MenuSong Selection
GameplayEBA Skinned Gameplay
RankingThe Editor
70 |
71 |
72 | 73 |
74 | Video
75 | 76 |
80 |
81 |
-------------------------------------------------------------------------------- /views/pages/download.ejs: -------------------------------------------------------------------------------- 1 |
2 | Beta Release (b99)
3 | 4 | System Requirements:
5 |
    6 |
  • Recommended 1ghz+ CPU (2ghz+ for smooth video)
    7 |
  • Minimum 256mb RAM (512mb+ recommended)
    8 |
  • DirectX9 10 | and a graphics card that supports DirectX9 (64mb+ of video ram recommended)
    11 |
  • Microsoft .NET 13 | Framework 2.0
    14 |
  • FFDShow or 15 | equivelant video codecs (only for video support) 16 |
17 |

18 | 19 |

Instructions:
20 |

    21 |
  1. Download osume 23 | and save to a new folder.
    24 |
  2. Run osu!.exe and let it update. This will populate the directory it's in with subfolders and 25 | related files so make sure you put it in it's own folder if you haven't already.
    26 |
  3. Download some beatmaps from the beatmap 28 | listing (or 30 | visit the forum for unofficial submissions) and place in the songs/ directory. 31 | IE USERS: The beatmaps will download as zip files - DO NOT EXTRACT 32 | these - simply place them in your Songs folder intact! 33 | (You need a forum account for this step - registration is fast and simple. Please introduce 34 | yourself if you have the time :)) 35 |
  4. Play! If you are unfamiliar with the gameplay style, please read the guide on the 36 | FAQ 37 |
38 |

39 | 40 |

Current Features:
41 |

    42 |
  • Daily updates (and weekly public releases)! 43 |
  • Gameplay/scoring feels almost identical to the original. 44 |
  • Complete editor featuring easy to use tools. 45 |
  • Video and image support for backgrounds. 46 |
  • Ever-growing selection of songs to play. 47 |
  • Online ranking keeps gameplay fresh as you compete for your place on the charts. 48 |
  • Replay mode lets you watch your own high scores or those of competitors online! 49 |
  • Full in-game universal and per-beatmap skinning support. 50 |
51 | 52 |

Remember:
53 |

    54 |
  • This game is still in beta. Don't expect it to run perfectly on every system!
    55 |
  • That said, if you DO have problems - please voice them in here! Feedback is the best way to keep 56 | things improving :).
    57 |
  • If you get an initialisation error when running osume.exe, install the .NET Framework using the 58 | link above!
    59 | 60 | 61 | 62 |
63 |
-------------------------------------------------------------------------------- /views/pages/faq.ejs: -------------------------------------------------------------------------------- 1 |
2 | FAQ 3 |
4 |
5 | 6 | Installation and Troubleshooting 7 |
8 | Help! I get an initialization error! 9 |
10 | Help! I get a Direct3D error! 11 |
12 | Videos don't play! Why? 13 |
14 | osume opens a new IE browser and doesn't update! 15 |
16 | Why can't I access the Beatmap listing? 17 |
18 | Something else going wrong? 19 |
20 |
21 | Gameplay 22 |
23 | I've never played this "Ouendan" thing - what the hell is it? 24 |
25 | How do I play?! 26 |
27 | Hit circles 28 |
29 | Sliders 30 |
31 | Spinners 32 |
33 | Game Interface 34 |
35 |
36 | Beatmap Making 37 |
38 | How do I start a new beatmap? 39 |
40 | How do I time a song properly? 41 |
42 | Adding normal hit circles 43 |
44 | Adding Sliders 45 |
46 | Adding Spinners 47 |
48 | What are Combos? 49 |
50 | How do I add Breaks into my beatmap? 51 |
52 | What is Beat Spacing? 53 |
54 | How do I add more difficulty levels for a song? 55 |
56 | How do I change the background colour? 57 |
58 | How do I add a background image or video? 59 |
60 | How do I add custom sounds to my beatmap? 61 |
62 | How do I submit my beatmap? 63 |
64 |
65 | Skins and Skin Making 66 |
67 | Coming soon! 68 |
69 |
70 | Miscellaneous 71 |
72 | How do I access the IRC channel? 73 |
74 | It's too hard!!! 75 |
76 | How much time did this take? Future plans? 77 |
78 | Free forever? 79 |
80 |
81 |
82 |
83 | 84 | Help! I get an initialization error!
85 | Make sure you have the .NET framework installed.
88 |
89 | 90 | Back to top 91 |
92 |
93 | 94 | Help! I get a Direct3D error!
95 | Your graphics card may not support DirectX 9. Read this 97 | thread by phill for more details.
98 |
99 | 100 | Back to top 101 |
102 |
103 | 104 | Videos don't play! Why?
105 | Install ffdshow or 106 | equivalent directshow codec. Open up the ffdshow video decoder configuration and make sure it is being used to 107 | decode the format in question (usually mpeg2, divx, xvid). If you still encounter troubles, disable video 108 | support in options (or seek further help).
109 |
110 | 111 | Back to top 112 |
113 |
114 | 115 | osume opens a new IE browser and doesn't update!
116 | See this 118 | thread for the solution.
119 |
120 | 121 | Back to top 122 |
123 |
124 | 125 | Why can't I access the Beatmap listing?
126 | You need to register for the forums first. Registration is free and very quick, and as well as giving you the 127 | benefit of accessing beatmap downloads, it also allows you to obtain a ranking on the online leaderboards and 128 | chat to other players in-game. So there's no excuse not to sign up!
129 |
130 | 131 | Back to top 132 |
133 |
134 | 135 | Something else going wrong?
136 | If you come across a bug or error not listed above, check out the Bug Reports 138 | forum and post there (searching through existing threads first is recommended!). Someone will definitely be 139 | around to help! Also - consider the osu! IRC channel.
142 |
143 | 144 | Back to top 145 |
146 |
147 | 148 | I've never played this "Ouendan" thing - what the hell is it? 149 |
150 |
151 | Oh, ok. Well, Osu! Tatakae! Ouendan is a rhythm game for the Nintendo DS. The gameplay consists of only three 152 | elements: tapping circles on the touchscreen, dragging a ball across a fixed path and rotating a spinner very 153 | fast. All these elements are timed to (covers of) popular Japanese songs. It looks like this on the DS:
154 |
155 |
157 |
158 |
159 | You can see the circles on the bottom screen, and on the top screen you have the story. Each stage is basically 160 | a self-contained story about a person in trouble. That's where the Ouendan (Cheer squad) comes in. Through the 161 | magical power of male cheerleading, you have to help the people in trouble.
162 |
163 | 164 | Back to top 165 |
166 |
167 | 168 | How do I play?!
169 | While most PC users won't have a touchscreen at their disposal (unless you are a lucky one to own a tablet PC), 170 | this game is made to be playable with a normal mouse, as well as any number of input devices you can possible 171 | think of (wiimote works quite well, as does a graphics tablet if you have one of them laying around). There are 172 | some songs which push the limits of the normal mouse, but all have been tested and are (somehow) passable using 173 | only a mouse. Please don't let the lack of a touchscreen deter you!
174 |
175 | Let's move on to the gameplay.
176 |
177 | 178 | Back to top 179 |
180 |
181 | 182 | Hit Circles
183 |
184 |
186 |
187 | ^ Here you can see the circles you have to tap. The smaller coloured circle on the outside shrinks and you have 188 | to hit the note at the exact point the outside circle overlaps with the white border. Don't rely on your eyes, 189 | though: listening to the music to decide the right moment is better.
190 |
191 | 192 | Back to top 193 |
194 |
195 | 196 | Sliders
197 |
198 |
200 |
201 | ^ Here we have a slider thrown into the mix. First, you have to hit it at the right moment, but it doesn't end 202 | there. A ball will start to move across the path you see. You have to hold the mousebutton and keep your pointer 203 | on the ball as it moves (you do not control the movement yourself). Sometimes, as in the screenshot above, you 204 | have to move back at the end of the path. You can tell by the reverse symbol at the end of the path.
205 |
206 | 207 | Back to top 208 |
209 |
210 | 211 | Spinners
212 |
213 |
215 |
216 | ^ This is a spinner. You have to click on the inner yellow-red disc, hold the mouse, and spin like mad before 217 | the time runs out. The bars on the outside indicate how close you are to passing. On the DS, these are a good 218 | way to scratch your touchscreen (or screen protectors if you're smart), especially on the higher difficulties. 219 | In osu!, spinners have been toned down as to not be such a nuisance to complete. While holding a mouse button on 220 | a spinner, your mouse is locked into the spin area, so you can go crazy, or just spin very small circles 221 | - watch some of the top replays if you are interested in spinning styles!
222 |
223 | 224 | Back to top 225 |
226 |
227 | 228 | Game Interface
229 |
230 |
232 |
233 | ^ This is the game interface. The top left bar is your "health". This will decrease at a steady rate, but you 234 | can replenish it by hitting notes at the right time. A perfectly timed hit will increase your health more than a 235 | badly timed hit. A total miss will take a good chunk out of your health. Next to the health bar is your score. 236 | The scoring system takes a while to figure out, but I won't bore you with the details here. The number on the 237 | bottom left is the combo counter/score multiplier.
238 |
239 | Thanks to Eques for some of the text above, which I borrowed from his post here. Furthermore, see these videos for an examples of osu! gameplay.
244 |
245 | 246 | Back to top 247 |
248 |
249 | 250 | How do I start a new beatmap?
251 | As osu! is a rhythm based game, the songs you choose to map should have an obvious and constant beat. Try to 252 | avoid songs which have tempo (speed) changes until you are more experienced at beatmapping. To start a new 253 | beatmap, follow these simple steps: 254 |
    255 |
  1. Place your song file (in .mp3 or .ogg format) into the /Songs directory, then open osu!. 256 | Alternatively, if osu! is already open, you can drag and drop the audio file directly into the osu! 257 | window. 258 |
  2. Open up Edit Mode. Your new song will be at the bottom of the song list, highlighted in purple. 260 |
  3. Click on the song to open up Song Setup. Check that the song title and artist are correct, then enter in 261 | an appropriate difficulty name (Easy, Insane and Cruisin' are examples). 262 |
  4. You can set the other options now if you want, but they can be changed later on. Click OK, and you can 263 | start beatmapping! The next step is to add timing to your beatmap. 264 |
265 | 266 | Back to top 267 |
268 |
269 | 270 | How do I time a song properly?
271 | Timing is vital - incorrectly timed maps will not be considered for ranking. Make sure your timing is 272 | perfect before putting any notes in. If in doubt about timing, contact a mod for help first, or submit 273 | your song into the Beatmap Help 275 | forum. This will save a LOT of hassle later on. Here are some tips for getting your timing right: 276 | 291 | 292 | Back to top 293 |
294 |
295 | 296 | Adding normal hit circles
297 | This should be a straightforward and intuitive process. Below are some useful tips for Normal-type hit objects: 298 | 311 | 312 | Back to top 313 |
314 |
315 | 316 | Adding Sliders
317 | Before delving into sliders, do the following two things: 318 | 326 | Now you can begin adding a slider. Left-click to start the slider, add waypoints with further 327 | left-clicks, and terminate with a right-click. It is recommended to make sure the length of the slider is 328 | correct before adjusting the shape. Here are some other tips regarding sliders: 329 | 337 | Try and put some effort into making your sliders look nice! Lopsided/overlapped/wonky/plain ugly sliders really 338 | ruin the look of a beatmap!
339 |
340 | 341 | Back to top 342 |
343 |
344 | 345 | Adding Spinners
346 | To add a spinner to your map, left-click to begin it, then scroll the timeline to where you want the end 347 | to be, and terminate with a right-click. Try and keep your spinners to a reasonable length - overly long 348 | spinners are tiring and boring, whilst spinners that are too short are not nice. "Spinner spam" is a definite 349 | no-no! (Except Wizards in Winter beatmaps)
350 |
351 | 352 | Back to top 353 |
354 |
355 | 356 | What are Combos?
357 | Combos are groups of notes, essential to the scoring in osu!. Different combos have different colours. It is 358 | important that you use combos in your beatmaps - as a rough guide, the maximum length of a combo should be 15-20 359 | (but combo lengths of around 10 are better). You can also try and add colour to your beatmaps by using new 360 | combos to your advantage!
361 |
362 | 363 | Back to top 364 |
365 |
366 | 367 | How do I add Breaks into my beatmap?
368 | To give players a bit of rest time during a longer beatmap, you should include a Break. To do this, simply leave 369 | a gap in the beatmap where you want the break to be, and click the Insert Break Time button in the 370 | editor. Note that you must insert a break between two hit objects, so place notes at the start and end to "mark 371 | out" the break before inserting one! A couple of rules of thumb are: 372 | 379 | Here are some advanced tips on planning breaks through the use of Bookmarks: 380 | 393 | 394 | Back to top 395 |
396 |
397 | 398 | What is Beat Spacing?
399 | For intuitive play, your beatmaps should have good "beat spacing"! A quick 401 | illustration of what good and bad beat spacing is can be found here. In general, beats that are close 402 | together on the timeline should be close together on the beatmap, and vice versa.
403 |
404 | The simplest way to ensure beat spacing is correct on your beatmaps is to utilize the editor's Distance 405 | Snapping function, found on the right hand side of the editor. The relative distance between notes can 406 | be adjusted using the mouse wheel. If you stick to using Distance Snap for the whole song, correct beat spacing 407 | is guaranteed!
408 |
409 | 410 | Back to top 411 |
412 |
413 | 414 | How do I add more difficulty levels for a song?
415 | To make a new difficulty level, simply open your existing difficulty, choose File-->Save As... and 416 | change the entry in the Difficulty box. Try and add variation between different difficulty levels. Add, take 417 | away or rearrange note combinations. At the very least, flip or rotate the notes! Do not simply change the 418 | difficulty settings (e.g. HP drain rate) and think that constitutes a new beatmap!
419 |
420 | 421 | Back to top 422 |
423 |
424 | 425 | How do I change the background colour?
426 | Click on the Design Tab. There is a button called "Set BG Colour" which allows you to choose your 427 | own background colour.
428 |
429 | 430 | Back to top 431 |
432 |
433 | 434 | How do I add a background image or video?
435 | Click on the Design Tab. There is a button called "Insert Background". When clicked, a dialog box 436 | will appear, allowing you to browse to the image or video you want added. The image/video will automatically be 437 | copied into the song folder, and will be included when submitting your beatmap. Some notes: 438 | 446 | 447 | Back to top 448 |
449 |
450 | 451 | How do I add custom sounds to my beatmap?
452 | Coming soon!
453 |
454 | 455 | Back to top 456 |
457 |
458 | 459 | How do I submit my beatmap?
460 | Your pride and joy can be uploaded to the forums using File-->Upload Beatmap. Choose whether you want 461 | to submit to the Completed or Beatmap Help forums. The beatmap description and a download link will be 462 | automatically posted for you - simply enter a brief message and when the upload is finished, click Submit! Some 463 | more notes: 464 | 476 | 477 | Back to top 478 |
479 |
480 | 481 | How do I access the IRC channel?
482 | The osu! IRC channel is a great place to report bugs, chat with fellow players and generally hang out. A 483 | significant number of mods are active on IRC so bug reports and beatmap help requests are usually answered very 484 | quickly there. To join the IRC channel in-game, simply log-in to osu!, press F8 and start chatting! 485 | Alternatively, if you have an IRC client, you can join the channel at:
486 |
487 | Server: irc.ppy.sh
488 | Channel: #osu
489 |
490 | If you don't have an IRC client, a nice free one is X-Chat2.
492 |
493 | 494 | Back to top 495 |
496 |
497 | 498 | It's too hard!!!
499 | Many people have been making beatmaps that are a challenge for themselves, but may be near-impossible or just 500 | frightening to beginners. Check out this list - with beatmaps ordered by their lowest difficulty. Try some of the lower 503 | rated ones for some satisfaction and practice!
504 |
505 | 506 | Back to top 507 |
508 |
509 | 510 | How much time did this take? Future plans?
511 | In short, a lot. Time doesn't come easily, as I have a full-time programming position to uphold in business 512 | hours. I've been working 18 hour days for several months to get osu! to the point it is at the moment, but don't 513 | have any plans on slowing down! The requested 515 | feature list has some very cool stuff in store ;).
516 |
517 | 518 | Back to top 519 |
520 |
521 | 522 | Free forever?
523 | Yes. There are no plans for any charges nor commercial support (advertising and whatnot). I will happily accept 524 | donations of good-will if you enjoy playing the game and can afford to spare some cash :). Rest assured the 525 | money will go towards servers to host future ranking/game modes, or at very least keep my motivation in the 526 | positive. You can donate here if you wish - thanks in advance (sorry peppy i put my pp.me link).
529 |
530 | 531 | Back to top 532 |
533 |
534 |
535 | -------------------------------------------------------------------------------- /views/pages/home.ejs: -------------------------------------------------------------------------------- 1 | <% if (posts.length < 1) { %> 2 |
3 | Welcome to osu-classic! 4 | 5 | 6 | peppy

7 |
8 | Welcome to osu-classic. You are currently on the 2007 version of osu-classic, feel free to look about the site, it's the same as the way it was all the way back in 2007!
The client seen can be downloaded here and can do everything that the 2007 osu! client can.
9 | 10 |
11 | <% } %> 12 | <% posts.forEach(post => { %> 13 |
14 | <%= post.title %> 15 | 16 | 17 | <%= post.username %>

18 |
19 | <%= post.message %> 20 | 21 |
22 | <% }) %> -------------------------------------------------------------------------------- /views/pages/leaderboard.ejs: -------------------------------------------------------------------------------- 1 |
2 | Player Ranking 3 | Note: Your score/stats will be updated the next time you pass a song! 4 | 5 | <% if (leaderboard.length < 1) { %> 6 |
7 | 8 | no one has registered on this osu-classic 2007 instance :( 9 |
10 | <% } else { %> 11 |
12 | 13 | 14 | 17 | 18 | 21 | 22 | 25 | 26 | 29 | 30 | 33 | 34 | 37 | 38 | <% leaderboard.forEach(leaderboard => { %> 39 | 40 | 43 | 44 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | <% }) %> 58 |
15 | 16 | 19 | Player 20 | 23 | Accuracy 24 | 27 | Play Count 28 | 31 | Total Score 32 | 35 | Ranked Score 36 |
41 | 42 | 45 | <%= leaderboard.username %> 46 | 47 | 0%0<%= leaderboard.score %><%= leaderboard.score %>
59 |
60 | <% } %> -------------------------------------------------------------------------------- /views/pages/register.ejs: -------------------------------------------------------------------------------- 1 |
2 | Register 3 | this isn't the classic-osu register page, as it was only the phpbb one, sorry! 4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 | 14 |
15 |
--------------------------------------------------------------------------------