11 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
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
3042f422f6
Merge pull request #9 from bumi/setup-application-layout
Add application layout styling
2020-04-09 18:29:48 +02:00
fd9eddedfc Experiment with a simple form builder 2020-04-09 14:15:19 +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
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
6c27a471ee Use forms as homepage if logged in 2020-04-06 00:37:53 +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
917051c7ea Hello tinyforms 2020-04-05 23:35:53 +02:00