41 Commits

Author SHA1 Message Date
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
c1b9f8e701 Add test form in development mode
This helps to test submissions in development mode
2020-04-09 11:53:04 +02:00
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
10d80c6548 Support file uploads
This allows submissions to store file uploads
2020-04-09 11:02:07 +02:00
73ccddee94 Encrypt access_token and refresh_token 2020-04-09 00:49:20 +02:00
Yannick
3c5e4ca080 Navbar restructuring 2020-04-08 19:48:08 +02:00
Yannick
11e3c8a40b Remove padding modifiers 2020-04-08 19:30:26 +02:00
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
Yannick
c0e4a30bc5 css cleanup 2020-04-08 14:19:42 +02:00
Yannick
ed105e88db Adjust navbar sizing 2020-04-08 14:15:13 +02:00
Yannick
4550dc214e Add bulma css helpers 2020-04-08 13:59:08 +02:00
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
Yannick
ff44244308 Add new fonts for the platform 2020-04-07 21:28:10 +02:00
Yannick
ab81cf9d5c Added logout button
Added logged_in helper to allow us to check whether a user is logged in
to show the appropriate button
2020-04-07 20:52:45 +02:00
Yannick
7e4280d451 Add application layout styling
Added application navbar and the page background styling
2020-04-07 20:33:47 +02:00
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
Yannick
038321a6ec Integrate bulma css package in the project
Integrated bulma css package in the project and included, it's
css into the application css file
2020-04-06 15:54:44 +02:00
2b6e6ad99d Use dotenv to load .env configurations 2020-04-06 11:21:56 +02:00
d55317fe43 Add link to google spreadsheet 2020-04-06 11:21:56 +02:00
6e2d8dfc93
Update README.md 2020-04-06 09:21:20 +00:00
524a81ca9f
Update README.md 2020-04-06 09:20:39 +00: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
6c27a471ee Use forms as homepage if logged in 2020-04-06 00:37:53 +02:00
cb060238e8 Add sentry exception tracking 2020-04-06 00:29:54 +02:00
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
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
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