16 Commits

Author SHA1 Message Date
c478cfc7af Use sorcery for logins
This gives us more flexibility and allows us to use password authentication
later. Also we don't need to build the login functionality ourself.
2020-04-13 14:59:07 +02:00
73c184a4a0 Use secure token to create attachment links
The link is public but protected by a secure token.

This extends the activesupport Attachment model to automatically
generate a token
2020-04-12 23:47:56 +02:00
e46e68cc22 Add demo page
The demo page shows a form and an embedded google sheet side by side.
The form needs be be configured with a DEMO_FORM_ID environment variable.
2020-04-12 01:01:28 +02:00
6bfe8fb485 Fix routes 2020-04-09 18:29:56 +02:00
b09fe4c12d Use similar URL for form submitter as for the submission URL 2020-04-09 14:20:35 +02:00
fd9eddedfc Experiment with a simple form builder 2020-04-09 14:15:19 +02:00
d485b1e62e Fix amazon storage config 2020-04-09 14:09:31 +02:00
829f534afd Configure activestorage for production
access keys and region are configured using environment variables
2020-04-09 12:25:22 +02:00
c1b9f8e701 Add test form in development mode
This helps to test submissions in development mode
2020-04-09 11:53:04 +02:00
10d80c6548 Support file uploads
This allows submissions to store file uploads
2020-04-09 11:02:07 +02:00
58f9420830 Loglevel configuration for production 2020-04-06 09:46:32 +02:00
475a781752 Enforce SSL on production 2020-04-06 09:46:19 +02:00
2f1e0b8ccd Configure logger for Google API calls 2020-04-06 00:11:40 +02:00
d344256013 Configure CORS headers for submission endpoint 2020-04-06 00:01:11 +02:00
d10ba13735 Display submission URL 2020-04-05 23:44:22 +02:00
917051c7ea Hello tinyforms 2020-04-05 23:35:53 +02:00