182 Commits

Author SHA1 Message Date
edf6884647 Add support for Airtable 2020-04-13 23:11:46 +02:00
Yannick
6366aa8e57 Merge branch 'master' into New-forms-page 2020-04-13 19:59:25 +02:00
karemarsy
b34b145616 Implement form design 2020-04-13 19:10:56 +02:00
80fe5f4220 Add magic ID value to demo 2020-04-13 16:27:56 +02:00
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
80771e7415 Disable demo submit button and add link to contact 2020-04-13 16:14:21 +02:00
64031261c5 Configurable google auth callback URL 2020-04-13 15:18:14 +02:00
5947cd393e Actually link the google auth button 2020-04-13 15:13:01 +02:00
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
ad317e917d Automatically run DB migrations during the heroku release phase 2020-04-12 23:25:41 +02:00
bffed7a606 Add sequential_id to calculate auto incrementing submission id 2020-04-12 23:18:55 +02:00
38166282a7 Add link to help center
currently hosted as public notion page
2020-04-12 16:51:21 +02:00
c26fd593de Personalize thank you message in demo 2020-04-12 16:50:54 +02:00
dfa621d0bc Add submission response to event details in tinyforms.js
This makes the submitted data more easily accessible
2020-04-12 16:50:17 +02:00
6e3e3ff8f6
Merge pull request #13 from bumi/feature/demo-page
Add demo page
2020-04-12 16:40:33 +02:00
9275e54754
Merge pull request #12 from bumi/move-header-to-partial
Move header into separate partial
2020-04-12 16:40:20 +02:00
8b15aed445 Add link to demo google document 2020-04-12 10:09:30 +02:00
b5027d9a07 Add file upload to demo 2020-04-12 01:29:23 +02:00
3723284f0d Move header into separate partial
This makes the files a bit smaller and easier to read.

Also remove some HTML nesting which should not be necessary.
2020-04-12 01:11:16 +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
Yannick
af67e44fdf Merge branch 'master' into New-forms-page 2020-04-11 17:28:40 +02:00
e68d4941f1
Merge pull request #10 from bumi/forms-index-page
Implement the card design
2020-04-11 13:03:15 +02:00
Yannick
5c6a7a605d Removed unused classes 2020-04-11 11:51:43 +02:00
Yannick
8e752db364 Add card details in the card footer 2020-04-11 11:47:54 +02:00
Yannick
cc95366051 Use fontawesome css import 2020-04-11 11:30:29 +02:00
c5b75d806e Add submission count and date to form card 2020-04-10 22:31:18 +02:00
Yannick
739c67b6b7 Remove unrelated db file 2020-04-10 21:55:42 +02:00
karemarsy
d1b9863257 Add some styling on create form
Added some styling on create form
2020-04-10 21:33:38 +02:00
Yannick
717ec9d602 Add a css updatable navbar color 2020-04-10 21:15:47 +02:00
Yannick
289583e427 Change head color class 2020-04-10 21:10:36 +02:00
Yannick
9279b4b3ef Add link to the excel icon 2020-04-10 20:59:45 +02:00
karemarsy
57c29fb1ed Fix cards to the same height
Make cards to have same height
2020-04-10 20:19:25 +02:00
Yannick
22f8db8f23 Add navbar background color 2020-04-10 09:26:55 +02:00
Yannick
2507ab6080 Fix merge issues 2020-04-09 20:30:37 +02:00
Arsene Karema
5eff2042b3 Merge branch 'master' into forms-index-page 2020-04-09 19:46:55 +02:00
5514372170 Experiment with colors 2020-04-09 19:15:00 +02:00
61ee840e19 Less specific classes is better
we can set CSS properties on the actual HTML elements,
here the background color of the html/body
2020-04-09 19:14:04 +02:00
971eba1355 Move burger menu file to its own file 2020-04-09 18:37:36 +02:00
17d37edf0b Always try to append the data to the spreadsheet
Authentication errors will be caught an logged, but it should be tried.
Expired tokens will get refreshed if possible.
2020-04-09 18:29:56 +02:00
6bfe8fb485 Fix routes 2020-04-09 18:29:56 +02:00
3042f422f6
Merge pull request #9 from bumi/setup-application-layout
Add application layout styling
2020-04-09 18:29:48 +02:00
Yannick
9574734304 Remove javascript snippets from application layout
Moved the javascript codes into the own application.js file
2020-04-09 17:15:47 +02:00
9b3669ed29
Add note about lockbox config 2020-04-09 16:06:08 +02:00
b09fe4c12d Use similar URL for form submitter as for the submission URL 2020-04-09 14:20:35 +02:00
f19d7bb36b Static HTML form for testing 2020-04-09 14:15:53 +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
9c9ed88fa0 That should not be there 2020-04-09 13:39:04 +02:00
829f534afd Configure activestorage for production
access keys and region are configured using environment variables
2020-04-09 12:25:22 +02:00