-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mitgliedsantrag #94
Comments
spam protection |
Form on website and send email to finanzen@ with email template |
On Slack we agreed to send a notification email to finanzen@ containing an id or the name of the person but to upload the data directly to Nextcloud via their API. This avoids storing the data in emails on google servers. @friep already wrote some code to achieve this and sent it to me on Slack. |
Will work on this after first release. We can use the old form till then. |
I did some research on the legal conditions of this:
FOr both, i'd take the safe route and require the signuture/ proper "written form". Overall, to make this easiest for the user, maybe we could do something like:
|
i talked to @jandix and he said that it should be possible to do something like 2. with https://github.com/parallax/jsPDF |
todo von Sabrina: |
#182 : refactor membership application page to not use svelte-kit form actions |
Plan for automating the membership applicationObjective: Develop a secure process to upload membership application PDFs to Nextcloud while processing user data client-side on our static SvelteKit website. Since the website is static and we can't perform server-side operations directly, we need to leverage external services to achieve this functionality. Client-Side Form and PDF:
Intermediary API:
Feedback and User Notification:
@friep @KonradUdoHannes @jandix Thoughts? |
@jstet looks good to me. As the PDF could be tempered with you probably could store some metadata like the upload time in a database? This could also include the Nextcloud transaction metadata and would allow you to keep track of failed jobs. |
Generally it looks like a good strategy, at the same time I have the following remarks
|
I created a new repo for the intermediary API here: https://github.com/CorrelAid/membership_application_uploader |
Thanks for your advice @jandix @KonradUdoHannes ! |
I think we should aim for the following.
|
Yes turnstile seems to be a good option! I'll implement the other stuff as well |
So API should be done and relatively secure now. Now we need to create the form on the website. |
UpdateChange still happen in the branch 94-mitgliedsantrag The form works now and is connected to the API. However, I have not added the feature that people can download the pdf and then upload it with a signature. Instead, consent is given through a text input field. Take a look at this form: https://kletterfreunde-wicker.de/online-mitgliedsantrag/ Here, all consent is just given with checkboxes. The form was built with a trustworthy provider (campai) that should know what is legal. I have also asked myself how to realize accessible signatures. People that use screenreaders can't sign stuff with drawing their names. Solutions for this problem are too sophisticated. If we keep this form of consent, we may not need to generate and upload a pdf. We could just add a row to a csv or upload a json or smth as the pdf does just contain data now. I also don't know how to properly test all the stuff that I implemented because so much verification is going on in between the steps. @KonradUdoHannes I will add a feature to the api that sends an email to finanzen@ to notify a new application. I could also send a notification to the user with the generated pdf to let them know everything worked. All of this is way too much work/time for this simple goal tbh, but now i got so far already :D @friep |
I'll have a closer look next week give some feedback on how what makes sense to test on our end. |
I've looked through the branch and made a couple of notes, but I think it might be easiest if we already make a PR and I put my comments in there. That way I can more easily put them next to the code where they belong. We could even mark the PR as a draft until its ready if we want to, but since there is probably nobody around who could accidentally merge it, it would not do extremely much. |
Thats reasonable, heres the PR: #585 |
Used an external provider and linked it in footer: https://easyverein.com/public/correlaid/applicationform/7737 |
what does the law say?
make it so that data will be saved in memory of client?
The text was updated successfully, but these errors were encountered: