data icon indicating copy to clipboard operation
data copied to clipboard

WIP: Introduce "webform" field

Open baltpeter opened this issue 4 years ago • 6 comments

This is in preparation for datenanfragen/website#401.

This is one of those cases where I would appreciate a review from both of you (especially for the first commit and whether that's how we want to implement this).

Things I still need to do:

  • Write the schema issue.
  • Implement the changes for the SVAs and collect all their web forms.

baltpeter avatar Oct 06 '21 23:10 baltpeter

OK, so I don't really understand what happens with this URI in the UI. Do you only want to show the link and give users the options to switch websites in order to skip our generator? Or do you want to try some CSRF and send requests to that URI. I think we need more information to try the latter…

zner0L avatar Oct 07 '21 20:10 zner0L

Pretty much what I said here: https://github.com/datenanfragen/website/issues/401#issuecomment-695180685

I don't think it's (realistically) possible to do anything other than link the form and offer the user to copy the text manually.

baltpeter avatar Oct 07 '21 20:10 baltpeter

But would you set the suggested-transport-medium to webform in this case? And would you then change the required fields such that they match the fields in the form?

zner0L avatar Oct 07 '21 20:10 zner0L

I would change the stm, yes. That just isn't implemented yet because it would obviously break website.

As for the req-elems: From experience, a lot of these forms are just contact forms where you can select "privacy request" or something like that as the subject. But if the form asks for specific ID elements (and we consider them reasonable), then yes, I would add them as req-elems.

baltpeter avatar Oct 07 '21 20:10 baltpeter

bump @zner0L

mal-tee avatar Feb 04 '22 10:02 mal-tee

Great! Now that we have your okay for the schema, I can bring the PR up-to-date and de-WIP it.

baltpeter avatar Jun 30 '22 09:06 baltpeter

I have rebased on master and fixed the conflicts. I still need to make the changes for the newly added webforms.

baltpeter avatar Jan 25 '23 13:01 baltpeter

Schema issue: #2099

baltpeter avatar Feb 09 '23 16:02 baltpeter

I'm currently working on moving the web form comments in SVAs to webform and updating the records while I'm at it (quite a few are outdated :/).

Annoyingly, https://www.ldi.nrw.de/ seems to be down right now. -.-

baltpeter avatar Feb 10 '23 14:02 baltpeter

Ok, I've now gone through all SVAs and updated their details (a lot were outdated :/). The LDI NRW website has also come back online.

With that, this is ready for review. But as mentioned in #2099, https://github.com/datenanfragen/website/pull/1022 should be merged first. Please rebase merge instead of squashing.

baltpeter avatar Feb 10 '23 20:02 baltpeter

The AppVeyor test runs against the schema on master, so the fail is expected.

baltpeter avatar Feb 10 '23 20:02 baltpeter