Commit Graph

31 Commits

Author SHA1 Message Date
Yannick 0965f5ba03 Fix an issue that prevented the database creation 2020-06-02 10:46:49 +02:00
bumi 937eca9f79 Limit google oauth scope
we only need access to the tinyforms created sheets
2020-05-08 14:38:18 +02:00
bumi 6ad56d0dc9 Add privacy policy and terms of service 2020-05-02 16:52:49 +02:00
bumi 50532e537a Add pricing and minor text changes 2020-05-02 11:22:19 +02:00
bumi b9f63c5f8c Signup page 2020-04-28 11:08:12 +02:00
bumi 13086b6a37 Merge branch 'master' into setup/pagination 2020-04-28 09:41:20 +02:00
bumi fa348cdeeb hello rubocop 2020-04-28 01:40:06 +02:00
bumi add4a2f7f0 Use prism as smaller nicer code highlighting library 2020-04-27 19:14:44 +02:00
Yannick 2a59c19a38 Add form submissions pagination
Added pagy gem to enable pagination and added it's bulma template to the
form submissions page
2020-04-27 15:31:51 +02:00
bumi 8fb3fb7175 Forms edit content 2020-04-26 18:49:40 +02:00
bumi 47a4de735d Add Airtable demo 2020-04-15 14:53:33 +02:00
bumi edf6884647 Add support for Airtable 2020-04-13 23:11:46 +02:00
bumi 7917e921ad Use help route to redirect to notion hosted help center
This makes it easier for us later change the URL
2020-04-13 16:14:45 +02:00
bumi 80771e7415 Disable demo submit button and add link to contact 2020-04-13 16:14:21 +02:00
bumi 64031261c5 Configurable google auth callback URL 2020-04-13 15:18:14 +02:00
bumi 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
bumi 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
bumi 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
bumi 6bfe8fb485 Fix routes 2020-04-09 18:29:56 +02:00
bumi b09fe4c12d Use similar URL for form submitter as for the submission URL 2020-04-09 14:20:35 +02:00
bumi fd9eddedfc Experiment with a simple form builder 2020-04-09 14:15:19 +02:00
bumi d485b1e62e Fix amazon storage config 2020-04-09 14:09:31 +02:00
bumi 829f534afd Configure activestorage for production
access keys and region are configured using environment variables
2020-04-09 12:25:22 +02:00
bumi c1b9f8e701 Add test form in development mode
This helps to test submissions in development mode
2020-04-09 11:53:04 +02:00
bumi 10d80c6548 Support file uploads
This allows submissions to store file uploads
2020-04-09 11:02:07 +02:00
bumi 58f9420830 Loglevel configuration for production 2020-04-06 09:46:32 +02:00
bumi 475a781752 Enforce SSL on production 2020-04-06 09:46:19 +02:00
bumi 2f1e0b8ccd Configure logger for Google API calls 2020-04-06 00:11:40 +02:00
bumi d344256013 Configure CORS headers for submission endpoint 2020-04-06 00:01:11 +02:00
bumi d10ba13735 Display submission URL 2020-04-05 23:44:22 +02:00
bumi 917051c7ea Hello tinyforms 2020-04-05 23:35:53 +02:00