From ed6b15e4cad3921115ec47f1817987ca0c2e830f Mon Sep 17 00:00:00 2001 From: weaponsforge Date: Sun, 9 Jul 2023 02:30:39 +0800 Subject: [PATCH 1/2] feat: Include compressed zip archive mime type in the allowed files whitelist, #126 --- client/features/filecards/constants/mimetypes.json | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/client/features/filecards/constants/mimetypes.json b/client/features/filecards/constants/mimetypes.json index 48284e3..14b8846 100644 --- a/client/features/filecards/constants/mimetypes.json +++ b/client/features/filecards/constants/mimetypes.json @@ -152,5 +152,12 @@ "EXT": ".zip", "LABEL": "ZIP archive (.zip)", "CODE": "ARCHIVE_ZIP" + }, + { + "id": 22, + "MIME_TYPE": "application/x-zip-compressed", + "EXT": ".zip", + "LABEL": "ZIP archive compressed (.zip)", + "CODE": "ARCHIVE_ZIP_COMPRESSED" } ] From d89cb7eebfb0e7ef1b7590b835de3ceb0dca3971 Mon Sep 17 00:00:00 2001 From: weaponsforge Date: Sun, 9 Jul 2023 02:31:03 +0800 Subject: [PATCH 2/2] chore: Update README --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 1920a6a..47af781 100644 --- a/README.md +++ b/README.md @@ -97,5 +97,9 @@ https://sites.google.com/view/gsites-embed-app/full-page 2. Follow the instructions in the README files inside the **/client** and **/server** directories for more information on configuring and using the client and server apps. +3. Create an account after setting up the **/server** `.env` using the instructions in it's README file.
+ - Navigate to the /server directory from the commandline and run:
+`npm run user:create --email=randomemail@gmail.com --password=anypasasword --displayname="Game Tester" --emailverified=true` + @weaponsforge
20230326