boxmein / boxmein/starcatcher-script-server-design

Update with recaptcha changes

Open
#9 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
2
Forks
0
PR merge metrics
No merged PRs in 30d

Description

I added a recaptcha due to spambots

The changes are here, I also deminified both of them because I don't like unreadable code:
view-source:http://starcatcher.us/scripts/index.html
view-source:http://starcatcher.us/scripts/main.js

I also added a json api to paste.lua so that it could actually tell you whether the script submission was successful. Before, it always said it was successful, even if it wasn't due to not all fields being filled out. Now it says it failed and even displays a nice error message!

Contributor guide

No contributing guide indexed for this repository

Research direction

Review the referenced scripts/index.html and scripts/main.js source, then inspect paste.lua for the JSON API behavior described in the issue. Compare the repository with the recaptcha and validation changes at the two view-source URLs; done means submissions report accurate success or failure and display validation errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, lua
Domain
api, web-dev
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.