Граф коммитов

137 Коммитов

Автор SHA1 Сообщение Дата
John Molakvoæ (skjnldsv) d9ff7a180a
Fix dropdown submission insert
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-07-28 08:29:00 +02:00
John Molakvoæ (skjnldsv) 7c43e03b31
Move to webpack vue global config & clean routes
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-07-12 10:39:06 +02:00
Jan-Christoph Borchardt eec04a351c
Start of dropdown question type, ref #340
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2020-07-07 15:20:18 +02:00
Jonas Rittershofer d55f14f53f Fix submitting form with expiration-date.
Signed-off-by: Jonas Rittershofer <jotoeri@users.noreply.github.com>
2020-06-17 23:27:31 +02:00
Jonas Rittershofer 3ed4fef4fa Invert submitOnce on UI
Signed-off-by: Jonas Rittershofer <jotoeri@users.noreply.github.com>
2020-06-12 14:16:04 +02:00
Jonas 6ec8934171
Merge pull request #420 from nextcloud/fix/public_templates
Fix public template header
2020-06-10 13:05:33 +02:00
Jonas Rittershofer a80ef232b6 Fix public template-header
Signed-off-by: Jonas Rittershofer <jotoeri@users.noreply.github.com>
2020-06-10 11:22:04 +02:00
John Molakvoæ af898d3ea4
Merge pull request #386 from nextcloud/fix/result_order 2020-06-09 10:31:46 +02:00
Jonas Rittershofer c5352a40ae Replace userId with userSession->UID
Signed-off-by: Jonas Rittershofer <jotoeri@users.noreply.github.com>
2020-05-27 16:57:45 +02:00
Jan C. Borchardt 4ea895d246
Merge pull request #419 from nextcloud/enh/include_logger
Include Logger for debugging
2020-05-27 16:26:40 +02:00
Jonas Rittershofer 19fde80802 Include Logger for debugging
Signed-off-by: Jonas Rittershofer <jotoeri@users.noreply.github.com>
2020-05-27 13:52:59 +02:00
Jonas Rittershofer 1c91604c32 Fix variable-typo
Signed-off-by: Jonas Rittershofer <jotoeri@users.noreply.github.com>
2020-05-27 11:30:37 +02:00
Jan C. Borchardt 9c7fae103d
Merge pull request #392 from nextcloud/fix/access_key
Fix key-exists error
2020-05-22 17:46:28 +02:00
Jan C. Borchardt 6ecb0dc923
Merge pull request #390 from nextcloud/fix/todo_comments
Fix todo comments
2020-05-22 17:23:10 +02:00
Jonas Rittershofer a06d02872e Sort Navigation newest forms first
Signed-off-by: Jonas Rittershofer <jotoeri@users.noreply.github.com>
2020-05-20 12:19:01 +02:00
Jonas Rittershofer 7b920bf840 Fix key-exists error
Signed-off-by: Jonas Rittershofer <jotoeri@users.noreply.github.com>
2020-05-17 14:42:54 +02:00
Jonas Rittershofer efafddde0b Fix todo comments
Signed-off-by: Jonas Rittershofer <jotoeri@users.noreply.github.com>
2020-05-17 14:42:27 +02:00
Jonas Rittershofer c54698f950 Clean loading results
Signed-off-by: Jonas Rittershofer <jotoeri@users.noreply.github.com>
2020-05-17 14:38:01 +02:00
Jonas Rittershofer 4cef26a2c8 Fix newQuestions console error mandatory null
Signed-off-by: Jonas Rittershofer <jotoeri@users.noreply.github.com>
2020-05-17 14:37:36 +02:00
Jonas Rittershofer 9f293d794d Fix Results initalState missing
Signed-off-by: Jonas Rittershofer <jotoeri@users.noreply.github.com>
2020-05-10 13:25:57 +02:00
Jan-Christoph Borchardt 385708af80
Fix navigation placeholder and also fix further wording in loading messages etc
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2020-05-09 18:13:11 +02:00
Jan-Christoph Borchardt 49366596a9
Do not prefill title for less confusion
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2020-05-09 18:13:11 +02:00
John Molakvoæ (skjnldsv) e9d84d87f5
Use ShareWith and filter shares on the fly
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-05-06 15:58:06 +02:00
John Molakvoæ (skjnldsv) e060cfdfc7
Fix users & groups sharing
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-05-06 09:11:56 +02:00
Jonas Rittershofer 907fcb407e Use users displayname
Signed-off-by: Jonas Rittershofer <jotoeri@users.noreply.github.com>
2020-05-05 18:30:39 +02:00
Jonas Rittershofer a9400b440f Delete all submissions
Signed-off-by: Jonas Rittershofer <jotoeri@users.noreply.github.com>
2020-05-05 18:30:39 +02:00
Jonas Rittershofer 8a96e16413 Delete Submission
Signed-off-by: Jonas Rittershofer <jotoeri@users.noreply.github.com>
2020-05-05 18:30:39 +02:00
Jonas Rittershofer 8f7b826f6f New Result View
Signed-off-by: Jonas Rittershofer <jotoeri@users.noreply.github.com>
2020-05-05 18:30:39 +02:00
Jonas Rittershofer 31e2cea76f Fix Submission Access
Signed-off-by: Jonas Rittershofer <jotoeri@users.noreply.github.com>
2020-05-05 10:57:21 +02:00
John Molakvoæ 86de8c0e95
Merge pull request #315 from nextcloud/fix/public-header-title 2020-05-05 08:58:53 +02:00
John Molakvoæ (skjnldsv) 5b9f65f11b
Add title on public page
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-05-05 08:55:40 +02:00
John Molakvoæ (skjnldsv) f6b294f455
Prevent leaking personnal infos on forms
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-05-05 08:45:36 +02:00
Jonas Rittershofer 52825c73ec Provide DBs max string lengths as InitialState
Signed-off-by: Jonas Rittershofer <jotoeri@users.noreply.github.com>
2020-05-04 10:29:11 +02:00
John Molakvoæ (skjnldsv) 5c5a7ab8c6
Fix class uses
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-04-29 13:29:40 +02:00
John Molakvoæ (skjnldsv) fcae747c5f
Php cs fix
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-04-29 11:50:03 +02:00
John Molakvoæ (skjnldsv) 50d9e83ed1
Bump copyrights
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-04-29 11:43:18 +02:00
John Molakvoæ (skjnldsv) b4ad0290e4
Add Forms Service
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-04-28 21:29:03 +02:00
John Molakvoæ (skjnldsv) e0d41aef0c Insert Submission, new API
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-04-28 20:47:01 +02:00
John Molakvoæ (skjnldsv) 7462be7bfe Initial load and display of public form
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-04-28 18:14:38 +02:00
John Molakvoæ (skjnldsv) f29d89557b
Cleanup PageController
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-04-28 14:43:43 +02:00
John Molakvoæ (skjnldsv) 81b2e9a537
Initial template cleanup and submit config
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-04-28 14:43:43 +02:00
John Molakvoæ (skjnldsv) 50594f0a01
Option management
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-04-27 16:50:27 +02:00
John Molakvoæ (skjnldsv) ba7befb55b Reordering & cleanup + title/desc save
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-04-24 17:27:49 +02:00
John Molakvoæ (skjnldsv) 56d16fce4d Drag & drop reorder
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-04-24 17:27:49 +02:00
Jonas Rittershofer 2cd445d201 Clean Expires
Signed-off-by: Jonas Rittershofer <jotoeri@users.noreply.github.com>
2020-04-24 17:27:49 +02:00
John Molakvoæ (skjnldsv) df69a7a4a3 Multiple uniques & aria
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-04-24 17:27:49 +02:00
John Molakvoæ (skjnldsv) 7aa3f7ace0 New proper types
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-04-24 17:27:49 +02:00
John Molakvoæ (skjnldsv) 0961fbfdd7 New question ui
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-04-24 17:27:49 +02:00
Jonas Rittershofer 2622c86be2 fixup! Rebase to master
Signed-off-by: Jonas Rittershofer <jotoeri@users.noreply.github.com>
2020-04-14 19:21:50 +02:00
Jonas Rittershofer 18df2fc247 fixup! Reorder API
Signed-off-by: Jonas Rittershofer <jotoeri@users.noreply.github.com>
2020-04-14 18:58:20 +02:00
Jonas Rittershofer def29eb2d8 Cleanup API
Signed-off-by: Jonas Rittershofer <jotoeri@users.noreply.github.com>
2020-04-14 18:57:32 +02:00
Jonas 1966db2c5f
Merge pull request #288 from nextcloud/fix/timestamps
Migrate Timestamps
2020-04-14 17:27:12 +02:00
Jonas Rittershofer 1df7f2b2ec Unique Form-Hash
Signed-off-by: Jonas Rittershofer <jotoeri@users.noreply.github.com>
2020-04-13 14:42:44 +02:00
Jonas Rittershofer 6102f8485b Migrate Timestamps
Signed-off-by: Jonas Rittershofer <jotoeri@users.noreply.github.com>
2020-04-13 12:04:03 +02:00
Jonas Rittershofer 68f2d9f2c6 Convert AccessList
Signed-off-by: Jonas Rittershofer <jotoeri@users.noreply.github.com>
2020-04-11 10:43:37 +02:00
Jonas Rittershofer d061e759b5 Order&Reorder Questions
Signed-off-by: Jonas Rittershofer <jotoeri@users.noreply.github.com>
2020-04-10 10:56:52 +02:00
Roeland Jago Douma 0fe295f11e Only show your own forms
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-04-09 12:47:27 +02:00
Jonas Rittershofer eb2d52d74b
Add mandatory-option on questions
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-04-07 14:48:35 +02:00
Jonas Rittershofer 03e9ff4a86 Alter Database
Signed-off-by: Jonas Rittershofer <jotoeri@users.noreply.github.com>
2020-04-03 22:00:04 +02:00
Roeland Jago Douma 07cc919434
Fix displaying of result info again
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-03-29 09:49:29 +02:00
John Molakvoæ (skjnldsv) 612af52f50
Fix questions display
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-03-28 10:50:21 +01:00
John Molakvoæ (skjnldsv) ef2e32a571
Deletion compatibility
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-03-25 17:40:59 +01:00
John Molakvoæ (skjnldsv) 37ee5fcea6
Cleanup and change routes
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-03-24 11:43:52 +01:00
Roeland Jago Douma 573036d347
New form endpoint
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-03-23 14:00:22 +01:00
Roeland Jago Douma 5c4a7628f4
Remove the notifications
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-03-23 13:15:09 +01:00
Roeland Jago Douma c26a0511f0
More pagecontroller cleanup
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-03-19 21:44:06 +01:00
Roeland Jago Douma aae559920b
Merge pull request #235 from nextcloud/fix/cleanup/pagecontroller
Cleanup the pagecontroller and vote template a bit
2020-03-19 21:23:25 +01:00
Roeland Jago Douma f368100a48
Cleanup the pagecontroller and vote template a bit
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-03-19 21:15:59 +01:00
Jonas Rittershofer cbb181ec5b Add function-comments
Signed-off-by: Jonas Rittershofer <jotoeri@users.noreply.github.com>
2020-03-10 01:21:54 +01:00
Jonas Rittershofer 9ff3d4bcf5 Remove unused variable
Signed-off-by: Jonas Rittershofer <jotoeri@users.noreply.github.com>
2020-03-10 01:21:15 +01:00
Roeland Jago Douma dba5abdaf1
Move navigation entry to info.xml
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-02-28 15:46:29 +01:00
Jonas ce58cfc472 Make 'unique' an integer
Solves #176 #189

Signed-off-by: Jonas Rittershofer <github@hofritter.de>
2020-02-18 00:55:02 +01:00
Ömer Fatih İlhan 7b359896aa Unnecessary $questions assignment removed
$questions assignment is not used in the function so removed

Signed-off-by: Ömer Fatih İlhan <ofilhan@muhasebat.gov.tr>
Signed-off-by: Ömer Fatih İlhan <omer.ilhan@hmb.gov.tr>
2020-01-27 09:15:24 +03:00
Roeland Jago Douma d71100c6b7
Perform CSRF checks
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-01-24 09:48:48 +01:00
Affan Hussain d62154e3cd
Merge pull request #40 from marcelklehr/fix/re-submit
Don't allow access if registered user has already taken part in survey
2019-10-15 20:21:48 -07:00
Roeland Jago Douma 3537392060
Remove unused parameter
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-09-03 11:32:39 +02:00
Marcel Klehr c03647a1c4 Don't allow access if user has already taken part
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2019-09-02 13:45:32 +02:00
Roeland Jago Douma fa8be2e60d
Use a proper DELETE to delete the form in a more resty way
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-08-30 21:32:47 +02:00
Roeland Jago Douma d8f3169b1b
Allow reloading result page
Routing is done in vue. But we should return the template also on the
results endpoint so you can properly reload it.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-08-30 20:21:58 +02:00
Roeland Jago Douma 7910d76618
Pimp Application
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-08-30 19:49:51 +02:00
Roeland Jago Douma 0ac7e7c3cb
Use proper class
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-08-30 15:48:53 +02:00
Roeland Jago Douma 5897b13caf
Remove unused code
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-08-30 14:52:38 +02:00
Roeland Jago Douma 45e5e1f3b5
Pimp entities and models
* Strict
* Extend proper class
* Typehint
* Return types

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-08-30 14:11:55 +02:00
Marcel Klehr dfa192ab41 Update survey.js and set description correctly
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2019-07-24 00:22:25 +02:00
Roeland Jago Douma c59cfeb18a
Make sure to render as public if the user is not logged in
Else we will render the apps, contacts menu etc. Which is undesireable.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-06-27 19:20:28 +02:00
affan98 1fce2a39fb Version 1.0.3 2019-05-14 03:03:59 -04:00
affan98 d2c38a1950 initial commit 2019-05-13 19:15:45 -04:00