From 6764b39137b7c79eace449de7537bc8b2509fb0e Mon Sep 17 00:00:00 2001 From: shady <71219957+u4pak@users.noreply.github.com> Date: Sun, 4 Feb 2024 15:18:14 -0800 Subject: [PATCH 1/4] Update README.md --- README.md | 31 +++---------------------------- 1 file changed, 3 insertions(+), 28 deletions(-) diff --git a/README.md b/README.md index 0d6babe..7d66f24 100644 --- a/README.md +++ b/README.md @@ -1,30 +1,5 @@ -# React + TypeScript + Vite +# Partypack -This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules. +The "best" tool for playing custom songs on Fortnite Festival. -Currently, two official plugins are available: - -- [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react/README.md) uses [Babel](https://babeljs.io/) for Fast Refresh -- [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react-swc) uses [SWC](https://swc.rs/) for Fast Refresh - -## Expanding the ESLint configuration - -If you are developing a production application, we recommend updating the configuration to enable type aware lint rules: - -- Configure the top-level `parserOptions` property like this: - -```js -export default { - // other rules... - parserOptions: { - ecmaVersion: 'latest', - sourceType: 'module', - project: ['./tsconfig.json', './tsconfig.node.json'], - tsconfigRootDir: __dirname, - }, -} -``` - -- Replace `plugin:@typescript-eslint/recommended` to `plugin:@typescript-eslint/recommended-type-checked` or `plugin:@typescript-eslint/strict-type-checked` -- Optionally add `plugin:@typescript-eslint/stylistic-type-checked` -- Install [eslint-plugin-react](https://github.com/jsx-eslint/eslint-plugin-react) and add `plugin:react/recommended` & `plugin:react/jsx-runtime` to the `extends` list +please submit pull requests to fix mc's shit code From 093475065fa0b0baa1eabdd9eef91c68fe89407b Mon Sep 17 00:00:00 2001 From: YLSDev <41091863+YLSDev@users.noreply.github.com> Date: Mon, 5 Feb 2024 02:20:05 +0300 Subject: [PATCH 2/4] Re-add authentication to song download --- Server/Source/Routes/Downloads.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Server/Source/Routes/Downloads.ts b/Server/Source/Routes/Downloads.ts index 84e974f..6c4652f 100644 --- a/Server/Source/Routes/Downloads.ts +++ b/Server/Source/Routes/Downloads.ts @@ -73,6 +73,7 @@ async (req, res) => { }); App.get("/:InternalID", +RequireAuthentication() async (req, res, next) => { const SongData = await Song.findOne({ where: { ID: req.params.InternalID }, relations: { Author: true } }); if (!SongData) @@ -98,4 +99,4 @@ async (req, res, next) => { export default { App -} \ No newline at end of file +} From dc98e45e2ce4335312fb40355dd653239c3c0884 Mon Sep 17 00:00:00 2001 From: mc <56406996+McMistrzYT@users.noreply.github.com> Date: Mon, 5 Feb 2024 00:21:37 +0100 Subject: [PATCH 3/4] Update README.md --- README.md | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/README.md b/README.md index 7d66f24..92b7292 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,2 @@ # Partypack - -The "best" tool for playing custom songs on Fortnite Festival. - -please submit pull requests to fix mc's shit code +The #1 tool to modify Fortnite Festival songs! From 8bd9d627e5b14c794495a11379512a4db5919241 Mon Sep 17 00:00:00 2001 From: mc <56406996+McMistrzYT@users.noreply.github.com> Date: Mon, 5 Feb 2024 00:23:14 +0100 Subject: [PATCH 4/4] yls making a commit and it doesnt even work LMFAOO --- Server/Source/Routes/Downloads.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Server/Source/Routes/Downloads.ts b/Server/Source/Routes/Downloads.ts index 6c4652f..edd8df3 100644 --- a/Server/Source/Routes/Downloads.ts +++ b/Server/Source/Routes/Downloads.ts @@ -73,7 +73,7 @@ async (req, res) => { }); App.get("/:InternalID", -RequireAuthentication() +RequireAuthentication(), async (req, res, next) => { const SongData = await Song.findOne({ where: { ID: req.params.InternalID }, relations: { Author: true } }); if (!SongData)