GDevelopApp / GDevelop-extensions

Repository of behaviors, actions, conditions and expressions to be used in GDevelop for creating games
https://gdevelop.io
MIT License
131 stars 53 forks source link

New extension: Upload Download Text Files Extension #716

Closed planktonfun closed 1 year ago

planktonfun commented 1 year ago

Description

Allows users to upload/download text content to a filename and vice versa. (The current gdevelop only supports desktop version, this one is compatible with browsers)

How to use the extension

  1. Create a button
  2. When button is clicked add an action weather to download or upload: Download action - it will download a text file, you get to set the filename as well at its string content. Upload action - the user will pick a text file and it will be saved in a scene variable.
  3. If using upload action you can check if the uploading is finished by calling the condition "Uploading text file finished?" or you can just check the scene variable if it has some string in it.

Checklist

What tier of review do you aim for your extension?

Community (Unreviewed)

Example file

UploadDownloadTextExample.zip

Extension file

UploadDownloadTextFile.zip

github-actions[bot] commented 1 year ago

👋 Thanks for your submission! We are sorry, but the filename of the extension has unrecognized characters. Since filenames with weird character can cause all kinds of problems and security flaws, our system won't allow file names with other characters than normal latin upper- and lowercase characters or numbers. Additionally, the first character must be an uppercase character. Please update your original submission post with a new zip file containing your extension with another file name following those guidelines 🙏

github-actions[bot] commented 1 year ago

👋 Thanks for your submission! We are sorry, but the filename of the extension has unrecognized characters. Since filenames with weird character can cause all kinds of problems and security flaws, our system won't allow file names with other characters than normal latin upper- and lowercase characters or numbers. Additionally, the first character must be an uppercase character. Please update your original submission post with a new zip file containing your extension with another file name following those guidelines 🙏

github-actions[bot] commented 1 year ago

👋 Thanks for your submission! Unfortunately, all submitted extensions have to meet some minimal quality standard - the extension best practices - and our system has found that your extension does not fully comply 😔. You can find all of those rules on the GDevelop wiki.

The following issues have been found by the system concerning the respect of those best practices by your extension:

  ⟶ ❌ [Extension name consistency]: Extension filename should be exactly the name of the extension (with .json extension). Please rename 'UploadDownloadTextFileExtension.json' to 'UploadDownloadTextFile.json'

Please update your original submission post with a new zip file containing your extensions updated to follow those guidelines 🙏

github-actions[bot] commented 1 year ago

👋 Thanks for your submission! Unfortunately, all submitted extensions have to meet some minimal quality standard - the extension best practices - and our system has found that your extension does not fully comply 😔. You can find all of those rules on the GDevelop wiki.

The following issues have been found by the system concerning the respect of those best practices by your extension:

  ⟶ ❌ [Dots in sentences]: Field 'description' of the function 'UploadFinished' misses a dot at the end of the sentence

Please update your original submission post with a new zip file containing your extensions updated to follow those guidelines 🙏

github-actions[bot] commented 1 year ago

Hi @planktonfun! 👋 This submission has passed all required tests, and has been moved to a PR as part of our submission pipeline. You can see the progress of your submission on this page. Community submissions are not reviewed by default, so your extension should be added once we've checked that your submission doesn't contain malicious code without further intervention on your part. If you wish for your extension to be reviewed (and thereby moved to the list of reviewed extensions), please follow the instructions written on the README. Thanks again for your contribution to GDevelop!