bumi
263ce236eb
Missing name attribute in contact form
2020-04-27 00:41:15 +02:00
bumi
6c2a7c5c5c
Cleanup
2020-04-27 00:41:03 +02:00
bumi
d9b8ea5b09
Form blank state
2020-04-26 19:14:47 +02:00
bumi
8fb3fb7175
Forms edit content
2020-04-26 18:49:40 +02:00
bumi
d733468abe
Sync google sheets icon name
...
we have google_sheets as backend_name in the DB. this makes it easier
to dynamically load the icon
2020-04-26 11:52:01 +02:00
bumi
d67961d98b
Navigation for forms#show
2020-04-26 11:41:44 +02:00
bumi
b65fdd16d9
Login message
2020-04-25 23:15:26 +02:00
bumi
833de45827
Form to create airtable and google sheets forms
2020-04-25 22:58:03 +02:00
bumi
60386cb51e
Global footer and a bit nicer login page
2020-04-25 10:51:08 +02:00
bumi
20a0aa9bbf
missing class to prevent word wrap
2020-04-25 10:17:33 +02:00
bumi
80c3c687a0
cleanup
2020-04-25 10:12:09 +02:00
bumi
970ce9dcb6
Shaping and cleanup
2020-04-25 00:56:38 +02:00
bumi
7b060bf1c7
More text
2020-04-24 23:33:14 +02:00
bumi
74df22eb5b
More landing paging
2020-04-24 20:22:15 +02:00
bumi
4571ce37b4
Started adding real content
2020-04-24 19:32:25 +02:00
bumi
81d86315aa
Merge branch 'form-submission-thank-you-page'
...
* form-submission-thank-you-page:
Cleanup
Remove testing page render
Add icon svg on the submission thank you page
Make codes more readable
Make the submission thank you page vertically centered
Fix the identation of codes
Implement the submission thank you page
Define a custom layout for submission thank you page
2020-04-22 21:00:34 +02:00
bumi
92cdd51c0d
Cleanup
2020-04-22 20:58:51 +02:00
bumi
7a7a2e49b7
Submission table tweaks
...
smaller fontsize and use vertical scrolling for large tables
2020-04-20 11:51:10 +02:00
bumi
b8277a7023
Merge pull request #16 from bumi/forms-show-page
...
Add some styling classes in the table
2020-04-20 11:35:46 +02:00
bumi
0b33a5d981
Update app/views/forms/show.html.erb
2020-04-20 11:35:31 +02:00
bumi
3dcd7314d0
My english typing is so bad :)
2020-04-15 17:46:47 +02:00
bumi
c0064934e9
Merge pull request #14 from bumi/form-partial
...
Add form update
2020-04-15 15:32:23 +02:00
bumi
51e79f1502
Typo
2020-04-15 15:00:46 +02:00
bumi
47a4de735d
Add Airtable demo
2020-04-15 14:53:33 +02:00
bumi
5793b71ae6
Better english
2020-04-14 14:29:22 +02:00
bumi
f12238fbd4
Add form update
2020-04-14 14:25:38 +02:00
bumi
4821227895
Experiment with typing cycler
2020-04-14 14:13:06 +02:00
bumi
833c1a5519
Prevent tinyforms.js to init multipe times
2020-04-14 14:13:06 +02:00
bumi
916511edf4
Use turbolinks:load event listener
...
We use turbolinks so the DOMContentLoaded is not enough
2020-04-14 14:13:06 +02:00
bumi
6381a19d10
Merge pull request #11 from bumi/New-forms-page
...
Add some styling on create form
2020-04-14 11:59:44 +02:00
bumi
02d66637bd
Add a textarea to the testform
2020-04-14 11:50:01 +02:00
bumi
43b044d60f
Fix test form and move to public directory to make it easily available
...
The form is helpful for development. moving it to the public folder makes
it available from http://localhost:3000/testform.html
2020-04-14 11:48:53 +02:00
bumi
edf6884647
Add support for Airtable
2020-04-13 23:11:46 +02:00
bumi
80fe5f4220
Add magic ID value to demo
2020-04-13 16:27:56 +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
5947cd393e
Actually link the google auth button
2020-04-13 15:13:01 +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
ad317e917d
Automatically run DB migrations during the heroku release phase
2020-04-12 23:25:41 +02:00
bumi
bffed7a606
Add sequential_id to calculate auto incrementing submission id
2020-04-12 23:18:55 +02:00
bumi
38166282a7
Add link to help center
...
currently hosted as public notion page
2020-04-12 16:51:21 +02:00
bumi
c26fd593de
Personalize thank you message in demo
2020-04-12 16:50:54 +02:00
bumi
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
bumi
6e3e3ff8f6
Merge pull request #13 from bumi/feature/demo-page
...
Add demo page
2020-04-12 16:40:33 +02:00
bumi
9275e54754
Merge pull request #12 from bumi/move-header-to-partial
...
Move header into separate partial
2020-04-12 16:40:20 +02:00
bumi
8b15aed445
Add link to demo google document
2020-04-12 10:09:30 +02:00
bumi
b5027d9a07
Add file upload to demo
2020-04-12 01:29:23 +02:00
bumi
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
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
e68d4941f1
Merge pull request #10 from bumi/forms-index-page
...
Implement the card design
2020-04-11 13:03:15 +02:00
bumi
c5b75d806e
Add submission count and date to form card
2020-04-10 22:31:18 +02:00
bumi
5514372170
Experiment with colors
2020-04-09 19:15:00 +02:00
bumi
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
bumi
971eba1355
Move burger menu file to its own file
2020-04-09 18:37:36 +02:00
bumi
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
bumi
6bfe8fb485
Fix routes
2020-04-09 18:29:56 +02:00
bumi
3042f422f6
Merge pull request #9 from bumi/setup-application-layout
...
Add application layout styling
2020-04-09 18:29:48 +02:00
bumi
9b3669ed29
Add note about lockbox config
2020-04-09 16:06:08 +02:00
bumi
b09fe4c12d
Use similar URL for form submitter as for the submission URL
2020-04-09 14:20:35 +02:00
bumi
f19d7bb36b
Static HTML form for testing
2020-04-09 14:15:53 +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
9c9ed88fa0
That should not be there
2020-04-09 13:39:04 +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
94966a9933
Handle authentication errors when appending data
...
This catches exceptions that can happen when an authentication is expired
or removed by the user on google's side.
2020-04-09 11:51:54 +02:00
bumi
10d80c6548
Support file uploads
...
This allows submissions to store file uploads
2020-04-09 11:02:07 +02:00
bumi
73ccddee94
Encrypt access_token and refresh_token
2020-04-09 00:49:20 +02:00
bumi
4b0a054596
Update authentication on login
...
I am not sure about this. but when we get a new access token or refresh
token (which I think we do not) we update those. probably does not hurt?
2020-04-08 16:15:41 +02:00
bumi
c964c15196
Form value handling for Arrays and Hashes
...
This processes Array and Hash values and converts those to strings that
can be appended to the spreadsheet
2020-04-08 00:52:00 +02:00
bumi
59faa4e545
Merge pull request #8 from bumi/add-bulma-css
...
Integrate bulma css package in the project
2020-04-06 14:47:16 +00:00
bumi
2b6e6ad99d
Use dotenv to load .env configurations
2020-04-06 11:21:56 +02:00
bumi
d55317fe43
Add link to google spreadsheet
2020-04-06 11:21:56 +02:00
bumi
6e2d8dfc93
Update README.md
2020-04-06 09:21:20 +00:00
bumi
524a81ca9f
Update README.md
2020-04-06 09:20:39 +00: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
6c27a471ee
Use forms as homepage if logged in
2020-04-06 00:37:53 +02:00
bumi
cb060238e8
Add sentry exception tracking
2020-04-06 00:29:54 +02:00
bumi
409038ecba
Add experimental support for dynamic values
...
This allows a submission to get a dynamic value like for example the current time
2020-04-06 00:26:59 +02:00
bumi
92236aba2f
Disable wrap parameters on submission controller
...
wrap parameters wraps the body parameters sent via a JSON request in
a submission hash. We don't want that for our submissions.
2020-04-06 00:11:54 +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