nextcloud / forms Goto Github PK
View Code? Open in Web Editor NEWπ Simple form & survey app for Nextcloud
Home Page: https://apps.nextcloud.com/apps/forms
License: GNU Affero General Public License v3.0
π Simple form & survey app for Nextcloud
Home Page: https://apps.nextcloud.com/apps/forms
License: GNU Affero General Public License v3.0
Which Forms version are you running?
1.0.3
Nextcloud or ownCloud?:
Nextcloud
Nextcloud/ownCloud version: (see Nextcloud admin page)
17
Option to submit anyway or preset fields with some default text eg βn/aβ
Where did you install Nextcloud from:
Nextcloud App store
Operating system:
Linux
Web server:
Apache2
Database:
MySql/MariaDB
PHP version:
7.2
Which Forms version are you running?
1.0.3
Nextcloud or ownCloud?:
Nextcloud
Nextcloud/ownCloud version:
16.0.5
Actual behaviour
Option not available yet
Expected behaviour
Uploading a CSV file to create the form
Which Forms version are you running? (see apps page)
git [master]
Nextcloud or ownCloud?:
Nextcloud
Nextcloud/ownCloud version: (see Nextcloud admin page)
17.0.2
If the patch proposed in #178 is applied, the form is not configured as Anonymous Form and Access is set to Public access the Name column in the results view will be left empty. The patch included below is using the IP address from where the request is received as userId and as a result the IP address will be shown in Name column.
diff --git a/lib/Controller/PageController.php b/lib/Controller/PageController.php
index dcb60f0..5ba188b 100644
--- a/lib/Controller/PageController.php
+++ b/lib/Controller/PageController.php
@@ -278,7 +278,11 @@ class PageController extends Controller {
$questions = $this->questionMapper->findByForm($form->getId());
try {
- $notification = $this->notificationMapper->findByUserAndForm($form->getId(), $this->userId);
+ if($this->userId === null) {
+ $notification = $this->notificationMapper->findByUserAndForm($form->getId(), '');
+ } else {
+ $notification = $this->notificationMapper->findByUserAndForm($form->getId(), $this->userId);
+ }
} catch (DoesNotExistException $e) {
$notification = null;
}
@@ -400,6 +404,9 @@ class PageController extends Controller {
if($form->getIsAnonymous()){
$vote->setUserId($anonID);
}else{
+ if ($userId === '') {
+ $userId = $this->request->getRemoteAddress();
+ }
$vote->setUserId($userId);
}
$vote->setVoteOptionText(htmlspecialchars($questions[$i]['text']));
See #6 (comment)
In the meantime please use
@nextcloud/axios
. Thenextcloud-*
packages were PoCs: nextcloud/server#15932
Thank you for creating this app.
Internationalization of Forms would be nice future.
Please add Forms to Transifex so users can help translate it.
**Which Forms version are you running? 0.2
**Nextcloud or ownCloud?:nextcloud
**Nextcloud/ownCloud version:16.0.x
No edit button or something like that
Editing should be possible, maybe only as long as no answers were made
Which Forms version are you running? (see apps page)
1.0.3
Nextcloud or ownCloud?:
Nextcloud
Nextcloud/ownCloud version: (see Nextcloud admin page)
15.0.5
The large "View Results" text with blue background is not in line with the other icons.
It should be replaced by a meaninguful icon like "icon-toggle" (https://docs.nextcloud.com/server/16/developer_manual/_images/toggle.png), glasses or a combination of icons.
Hello!
My Nextcloud in Russian and default language in config Russian too.
But when I installed Forms, Forms stay in English.
As I understand, language files must be in l10n folder, but my folder is empty.
I tried put language files in l10n folder, but it no result.
Thanks and sorry for my bad english.
It would be nice if forms could create a PDF after each submit. This PDF should contain the entered data.
With that, it's easy to ask for declaration of consent or and store the answers automatically
I was busy with my new job but I'll soon^tm be able to start working on this again. Will try to add all of the requested features within the next few months
Which Forms version are you running? (see apps page)
Version 1.0.3
Nextcloud or ownCloud?:
Nextcloud
Nextcloud/ownCloud version: (see Nextcloud admin page)
Nextcloud 16.0.4.1
Tell us what happens
--> can't change to german (or any other language than english).
I'd like to the Forms app to either assume the nextcloud language setting (which is german) or to be able to change the Forms app language manually.
Where can I do that?
Installed app via nextcloud.->Added a new public form.->Saved with "Done"->Says Form is saved
List created Form
List with forms is empty
Operating system: Linux 4.4.0-042stab140.1 #1 SMP Thu Aug 15 13:32:22 MSK 2019 x86_64
Webserver: Apache/2.4.18 (Ubuntu) (apache2handler)
Database: mysql 10.0.38
PHP version:
7.1.33-1+ubuntu16.04.1+deb.sury.org+1
Modules loaded: Core, date, libxml, openssl, pcre, zlib, filter, hash, Reflection, SPL, session, standard, apache2handler, mysqlnd, PDO, xml, bz2, calendar, ctype, curl, dom, mbstring, fileinfo, ftp, gd, gettext, iconv, igbinary, intl, json, exif, mcrypt, mysqli, pdo_mysql, Phar, posix, readline, shmop, SimpleXML, sockets, sysvmsg, sysvsem, sysvshm, tokenizer, wddx, xmlreader, xmlwriter, xsl, zip, Zend OPcache
Nextcloud version: 16.0.6 - 16.0.6.1
Updated from an older Nextcloud/ownCloud or fresh install: Updated from 15.0.13
Where did you install Nextcloud from: unknown
Array
(
)
Enabled:
- accessibility: 1.2.0
- activity: 2.9.1
- bruteforcesettings: 1.4.0
- calendar: 1.7.1
- cloud_federation_api: 0.2.0
- comments: 1.6.0
- contacts: 3.1.6
- dav: 1.9.2
- federatedfilesharing: 1.6.0
- federation: 1.6.0
- files: 1.11.0
- files_markdown: 2.1.0
- files_pdfviewer: 1.5.0
- files_rightclick: 0.15.1
- files_sharing: 1.8.0
- files_texteditor: 2.8.0
- files_trashbin: 1.6.0
- files_versions: 1.9.0
- files_videoplayer: 1.5.0
- firstrunwizard: 2.5.0
- forms: 1.0.3
- gallery: 18.3.0
- issuetemplate: 0.5.0
- logreader: 2.1.0
- lookup_server_connector: 1.4.0
- nextcloud_announcements: 1.5.0
- notes: 3.0.3
- notifications: 2.4.1
- oauth2: 1.4.2
- password_policy: 1.6.0
- polls: 0.10.4
- privacy: 1.0.0
- provisioning_api: 1.6.0
- recommendations: 0.4.0
- registration: 0.4.7
- serverinfo: 1.6.0
- sharebymail: 1.6.0
- spreed: 6.0.4
- support: 1.0.0
- survey_client: 1.4.0
- systemtags: 1.6.0
- theming: 1.7.0
- theming_customcss: 1.4.0
- twofactor_backupcodes: 1.5.0
- updatenotification: 1.6.0
- viewer: 1.2.0
- workflowengine: 1.6.0
Disabled:
- admin_audit
- encryption
- files_external
- mindmaps
- user_ldap
{
"dbtype": "mysql",
"version": "16.0.6.1",
"logtimezone": "UTC",
"installed": true,
"skeletondirectory": "",
"htaccess.RewriteBase": "\/",
"maintenance": false,
"loglevel": 0,
"updater.release.channel": "stable"
}
Are you using external storage, if yes which one:
Are you using encryption:
Are you using an external user-backend, if yes which one:
Browser: Mozilla/5.0 (X11; Linux x86_64; rv:70.0) Gecko/20100101 Firefox/70.0
Operating system:
[index] Error: BadFunctionCallException: unique is not a valid attribute at <<closure>>
0. /var/www/nextcloud/lib/public/AppFramework/Db/Entity.php line 146
OCP\AppFramework\Db\Entity->setter("unique", ["0"])
1. /var/www/nextcloud/lib/public/AppFramework/Db/Entity.php line 70
OCP\AppFramework\Db\Entity->__call("setUnique", ["0"])
2. /var/www/nextcloud/lib/public/AppFramework/Db/QBMapper.php line 284
OCP\AppFramework\Db\Entity::fromRow({id: "1",hash: " ... "})
3. /var/www/nextcloud/lib/public/AppFramework/Db/QBMapper.php line 301
OCP\AppFramework\Db\QBMapper->mapRowToEntity({id: "1",hash: " ... "})
4. /var/www/nextcloud/apps/forms/lib/Db/EventMapper.php line 87
OCP\AppFramework\Db\QBMapper->findEntities(OC\DB\QueryBuilder\QueryBuilder {})
5. /var/www/nextcloud/apps/forms/lib/Controller/ApiController.php line 378
OCA\Forms\Db\EventMapper->findAll()
6. /var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php line 166
OCA\Forms\Controller\ApiController->getForms()
7. /var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php line 99
OC\AppFramework\Http\Dispatcher->executeController(OCA\Forms\Contro ... "}, "getForms")
8. /var/www/nextcloud/lib/private/AppFramework/App.php line 126
OC\AppFramework\Http\Dispatcher->dispatch(OCA\Forms\Contro ... "}, "getForms")
9. /var/www/nextcloud/lib/private/AppFramework/Routing/RouteActionHandler.php line 47
OC\AppFramework\App::main("OCA\\Forms\\Controller\\ApiController", "getForms", OC\AppFramework\ ... {}, {_route: "forms.api.get_forms"})
10. <<closure>>
OC\AppFramework\Routing\RouteActionHandler->__invoke({_route: "forms.api.get_forms"})
11. /var/www/nextcloud/lib/private/Route/Router.php line 297
undefinedundefinedcall_user_func(OC\AppFramework\ ... {}, {_route: "forms.api.get_forms"})
12. /var/www/nextcloud/lib/base.php line 975
OC\Route\Router->match("/apps/forms/get/forms")
13. /var/www/nextcloud/index.php line 42
OC::handleRequest()
GET /apps/forms/get/forms
from ip by user at 2019-11-15T18:41:41+00:00
Which Forms version are you running?
1.1.0, installed today from app store via Nextcloud web interface
Nextcloud/ownCloud version:
Nextcloud 17.0.2
Tested on Firefox 72.0.1 and Chromium 79, both on Ubuntu 19.10
There seem to be no way to enter answering options. The visible input field does not do anything. If you enter the answer options there, you won't be able to finish creating β when clickin on "Fertig" (Finish?): there is a message that all questions need answers.
Some possibility to enter answering options for checkboxes, radio buttons and dropdown questions.
Basically there are two ways of styling components:
I'm sort of being unable to keeping myself up to the conventional coding style of Vue stuff, still I feel the styles are scattered over the codebase and not quite organized. IMO it's one of the hurdles for those who are willing to work on the UI. There should possibly a naming rule like BEM be adopted to maintain the codebase clean and organized, also to prevent UI regressions.
The issue is for tracking the progress of fixing errors on Travis CI.
The first PR that fixed the issue partly is: #44
Which Forms version are you running? (see apps page)
1.0.3
Nextcloud or ownCloud?:
Nextcloud
Nextcloud/ownCloud version: (see Nextcloud admin page)
15.0.5
A customizable notification on form submission (either to the owner or to a defined email address) would be another great feature.
A feature request:
Which Forms version are you running? (see apps page)
1.0.3
Nextcloud or ownCloud?:
Nextcloud
Nextcloud/ownCloud version: (see Nextcloud admin page)
16.0.1
Results are shown with one line per answer:
Name Question # Question Response
anon1 1 Pineapple on pizza? Yes
anon1 2 Favorite editor? Emacs
anon2 1 Pineapple on pizza? No
anon2 2 Favorite editor? vim
I'd actually like the output to be one line per user, so I have all answers in one line, like
Name Question # q1 r1 q2 r2
anon1 1 Pineapple on pizza? Yes Favorite editor? Emacs
anon2 1 Pineapple on pizza? No Favorite editor? vim
or even like
Name Question # Pineapple on pizza? Favorite editor?
anon1 1 Yes Emacs
anon2 1 No vim
That would make the data easier to work with for my use with (using the exported CSV file as a data file for jekyll).
(I'm interested if other users found this useful, too. Currently, I could work around this by doing a custom SQL query as I only have one form).
Thanks for this great app!
some things have disturbed me a bit or maybe not yet understood after saving a Survey is no longer possible to edit it again .
can users vote multiple times the same survey would make sense only once for IP address or session?
possibly the possibility to customize the survey with a template where html or something like that for example by adding a photo and so on
Which Forms version are you running? (see apps page)
1.0.3
Nextcloud or ownCloud?:
NC
Nextcloud/ownCloud version: (see Nextcloud admin page)
NC 16, demo.nextcloud.com
Question 1: 50.00% of respondents voted for answer choice: radio b
since there was only 1 vote, i expect 100% for each statistic.:
Question 1: 100.00% of respondents voted for answer choice: radio b
Question 2: 100.00% of respondents voted for answer choice: box a
if the CSV file is storage on the nextcloud instance it can be process with another app called "workflow external script" make a automatic form processing.
the idea to set a file path/name in the form configuration
thanks this app is the "piece missing in the puzzle" !!!
cheers
maps
Which Forms version are you running?
1.0.3
Nextcloud or ownCloud?:
NC
Nextcloud/ownCloud version: (see Nextcloud admin page)
16.0.1.1
I'd like to use this plugin as a Doodle replacement, but Doodle has the option to disable entries, which got already chosen by another person, which is missing in Forms.
V1.0.3
NextCloud 16
I don't want to see the result like a survey.
When someone submit their form, the result should be sent to the admin or group of this form.
I think you should see it more like a request form.
Which Forms version are you running? (see apps page)
1.0.3
Nextcloud or ownCloud?:
Nextcloud
Nextcloud/ownCloud version: (see Nextcloud admin page)
16.0.1
On the top, the Nextcloud Toolbar is shown, including all apps that are installed.
The toolbar shouldn't show the installed apps, because it leaks information about the installation.
Instead, a "blank" blue toolbar could be shown, like e.g. the Polls app does for public polls.
Hello,
can you publish a new release to the App Store for Nextcloud 17?
Which Forms version are you running? (see apps page)
1.1.0
Nextcloud or ownCloud?:
Nextcloud
Nextcloud/ownCloud version: (see Nextcloud admin page)
18
Hello,
The Nextcloud forms app is really unusable since a lot of functionnalities are missing :
Any chance this could be improved soon ? Users are leaving Nextcloud fast for another solution :(
Thanks
You should add a dropdown calendar.
The breadcrumbs bar only makes sense for deep levels of nesting, and the only app where this is really needed is Files.
Other apps like this only need the AppNavigation component. :) You simply have all the forms listed in the left navigation, and selecting one opens the detail view.
That way you always have the forms overview, and can also quickly switch between them. And on mobile or narrower sizes, the left navigation bar automatically hides.
Hello, I would like to work on the codebase and I am just wondering how to set up the development environment on macOS as easily as possible, from setting up the Nextcloud instance to compiling and debugging the app on real time. This might be rather a general question.
Any suggestions would be appreciated. Thanks in advance.
@skjnldsv @rullzer & @jancborchardt at Contributor Week June 2019
We also looked at Google Forms and Typeform for comparison. We think itβs best to mainly model it after Google Forms as itβs quite widely used.
Below are detail review points of the current state so we can make small steps in the right direction based on the current app. :)
cc @nextcloud/forms
Answer types:
*
before questions is confusing? Mandatory? Not possible to set or unset. Should instead say "mandatory" in a sublineNot entirely sure where to submit feature requests for this app. But, it'd be nice if it had the ability for one to upload files like the Google Forms allows.
Scenario Example:
One uses a "private" form to create a record of things done and needs to attach pictures or documents of things to reference or document.
Which Forms version are you running? (see apps page)
1.0.3
Nextcloud or ownCloud?:
Nextcloud
Nextcloud/ownCloud version: (see Nextcloud admin page)
15.0.8
Full list of users matching partial input shows
Only on full name match it should show match list
Forms version 1.1.0
Nextcloud version 18.0.0
Create the form
[index] Error: Doctrine\DBAL\Exception\DriverException: An exception occurred while executing 'INSERT INTO oc_forms_events
(title
, description
, is_anonymous
, unique
, access
, owner
, created
, hash
) VALUES(?, ?, ?, ?, ?, ?, ?, ?)' with params ["Title of Form", "Description of form", 0, false, "public", "jivvy", "2020-02-02 02:13:31", "7bJLcI1cVrMFGQSJ"]:
SQLSTATE[HY000]: General error: 1366 Incorrect integer value: '' for column 'unique' at row 1 at <>
POST /nextcloud/apps/forms/write/form
from 192.168.254.15 by jivvy at 2020-02-02T02:13:31+00:00
Operating system: Linux 5.0.0-38-generic #41-Ubuntu SMP Tue Dec 3 00:27:35 UTC 2019 x86_64
Webserver: Apache/2.4.38 (Ubuntu) (apache2handler)
Database: mysql 5.7.28
PHP version:
7.2.24-0ubuntu0.19.04.2
Modules loaded: Core, date, libxml, openssl, pcre, zlib, filter, hash, Reflection, SPL, sodium, session, standard, apache2handler, mysqlnd, PDO, xml, apcu, bz2, calendar, ctype, curl, dom, mbstring, fileinfo, ftp, gd, gettext, gmp, iconv, igbinary, imagick, imap, intl, json, ldap, exif, msgpack, mysqli, pdo_mysql, apc, posix, readline, redis, shmop, SimpleXML, smbclient, sockets, sysvmsg, sysvsem, sysvshm, tokenizer, wddx, xmlreader, xmlwriter, xsl, zip, Phar, memcached, libsmbclient, Zend OPcache
Nextcloud version: 18.0.0 - 18.0.0.10
Updated from an older Nextcloud/ownCloud or fresh install:
Where did you install Nextcloud from: Nextcloud website
Array
(
)
Enabled:
- accessibility: 1.4.0
- activity: 2.11.0
- admin_audit: 1.8.0
- apporder: 0.9.0
- breezedark: 18.0.2
- bruteforcesettings: 1.5.0
- cloud_federation_api: 1.1.0
- cms_pico: 1.0.4
- comments: 1.8.0
- dav: 1.14.0
- deck: 0.8.0
- extract: 1.2.3
- federatedfilesharing: 1.8.0
- files: 1.13.1
- files_pdfviewer: 1.7.0
- files_rightclick: 0.15.2
- files_sharing: 1.10.1
- files_trashbin: 1.8.0
- files_versions: 1.11.0
- files_videoplayer: 1.7.0
- firstrunwizard: 2.7.0
- forms: 1.1.0
- groupfolders: 6.0.1
- issuetemplate: 0.6.0
- logreader: 2.3.0
- lookup_server_connector: 1.6.0
- metadata: 0.11.1
- nextcloud_announcements: 1.7.0
- notes: 3.1.1
- notifications: 2.6.0
- oauth2: 1.6.0
- privacy: 1.2.0
- provisioning_api: 1.8.0
- serverinfo: 1.8.0
- settings: 1.0.0
- sharebymail: 1.8.0
- spreed: 8.0.1
- survey_client: 1.6.0
- systemtags: 1.8.0
- tasks: 0.11.3
- text: 2.0.0
- theming: 1.9.0
- twofactor_backupcodes: 1.7.0
- updatenotification: 1.8.0
- viewer: 1.2.0
- workflowengine: 2.0.0
Disabled:
- encryption
- federation
- files_external
- guests
- password_policy
- photos
- recommendations
- support
- user_ldap
{
"passwordsalt": "***REMOVED SENSITIVE VALUE***",
"secret": "***REMOVED SENSITIVE VALUE***",
"trusted_domains": [
"localhost",
"192.168.254.14",
"47.185.211.240"
],
"datadirectory": "***REMOVED SENSITIVE VALUE***",
"dbtype": "mysql",
"version": "18.0.0.10",
"overwrite.cli.url": "http:\/\/localhost\/nextcloud",
"dbname": "***REMOVED SENSITIVE VALUE***",
"dbhost": "***REMOVED SENSITIVE VALUE***",
"dbport": "",
"dbtableprefix": "oc_",
"instanceid": "***REMOVED SENSITIVE VALUE***",
"htaccess.RewriteBase": "\/nextcloud",
"mysql.utf8mb4": true,
"dbuser": "***REMOVED SENSITIVE VALUE***",
"dbpassword": "***REMOVED SENSITIVE VALUE***",
"installed": true,
"app_install_overwrite": [
"sharerenamer",
"activitylog"
],
"memcache.local": "\\OC\\Memcache\\APCu",
"maintenance": false
}
Are you using external storage, if yes which one: local/smb/sftp/...
Are you using encryption: false
Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/...
Browser: Brave, but autofill says: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.130 Safari/537.36
Operating system: Windows 10 Pro
[index] Error: Doctrine\DBAL\Exception\DriverException: An exception occurred while executing 'INSERT INTO `oc_forms_events` (`title`, `description`, `is_anonymous`, `unique`, `access`, `owner`, `created`, `hash`) VALUES(?, ?, ?, ?, ?, ?, ?, ?)' with params ["Title of Form", "Description of form", 0, false, "public", "jivvy", "2020-02-02 02:13:31", "7bJLcI1cVrMFGQSJ"]:
SQLSTATE[HY000]: General error: 1366 Incorrect integer value: '' for column 'unique' at row 1 at <<closure>>
0. /var/www/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/DBALException.php line 169
Doctrine\DBAL\Driver\AbstractMySQLDriver->convertException("An exception oc ... 1", Doctrine\DBAL\Dr ... ]})
1. /var/www/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/DBALException.php line 145
Doctrine\DBAL\DBALException::wrapException(Doctrine\DBAL\Driver\PDOMySql\Driver {}, Doctrine\DBAL\Dr ... ]}, "An exception oc ... 1")
2. /var/www/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Connection.php line 1063
Doctrine\DBAL\DBALException::driverExceptionDuringQuery(Doctrine\DBAL\Driver\PDOMySql\Driver {}, Doctrine\DBAL\Dr ... ]}, "INSERT INTO `oc ... )", {1: "Title of Fo ... "})
3. /var/www/nextcloud/lib/private/DB/Connection.php line 220
Doctrine\DBAL\Connection->executeUpdate("INSERT INTO `oc ... )", ["Title of Form" ... "], [2,2,1,2,2,2,2,2])
4. /var/www/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Query/QueryBuilder.php line 203
OC\DB\Connection->executeUpdate("INSERT INTO `oc ... )", {dcValue1: "Titl ... "}, {dcValue1: 2,dcV ... 2})
5. /var/www/nextcloud/lib/private/DB/QueryBuilder/QueryBuilder.php line 215
Doctrine\DBAL\Query\QueryBuilder->execute()
6. /var/www/nextcloud/lib/public/AppFramework/Db/QBMapper.php line 126
OC\DB\QueryBuilder\QueryBuilder->execute()
7. /var/www/nextcloud/apps/forms/lib/Controller/ApiController.php line 495
OCP\AppFramework\Db\QBMapper->insert(OCA\Forms\Db\Event {id: null})
8. /var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php line 170
OCA\Forms\Controller\ApiController->writeForm({id: 0,hash: "", ... "}, {formQuizQuestio ... ]}, [], "create")
9. /var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php line 99
OC\AppFramework\Http\Dispatcher->executeController(OCA\Forms\Contro ... "}, "writeForm")
10. /var/www/nextcloud/lib/private/AppFramework/App.php line 125
OC\AppFramework\Http\Dispatcher->dispatch(OCA\Forms\Contro ... "}, "writeForm")
11. /var/www/nextcloud/lib/private/AppFramework/Routing/RouteActionHandler.php line 47
OC\AppFramework\App::main("OCA\\Forms\\Controller\\ApiController", "writeForm", OC\AppFramework\ ... {}, {_route: "forms.api.write_form"})
12. <<closure>>
OC\AppFramework\Routing\RouteActionHandler->__invoke({_route: "forms.api.write_form"})
13. /var/www/nextcloud/lib/private/Route/Router.php line 299
call_user_func(OC\AppFramework\ ... {}, {_route: "forms.api.write_form"})
14. /var/www/nextcloud/lib/base.php line 1008
OC\Route\Router->match("/apps/forms/write/form")
15. /var/www/nextcloud/index.php line 38
OC::handleRequest()
POST /nextcloud/apps/forms/write/form
from 192.168.254.15 by jivvy at 2020-02-02T02:13:31+00:00
ProxyBus.js:65 Proxying an event bus of version 1.1.2 with 0.2.1
t @ ProxyBus.js:65
globals.js:66 Handlebars is deprecated: please ship your own, this will be removed in Nextcloud 20
ne @ globals.js:66
issuetemplate:1 [DOM] Found 2 elements with non-unique id #operating-system: (More info: https://goo.gl/9p2vKq) <input id=β"operating-system" type=β"text" class=β"form-control">β <input id=β"operating-system" type=β"text" class=β"form-control">β
Which Forms version are you running?
1.1.0 on NC 17.0.2
There are two very visible things that seem not to be localized yet: I tried in German, French, Spanish (and English):
localization ;-)
Which Forms version are you running?
1.1.0
Nextcloud or ownCloud?:
Nextcloud
Nextcloud/ownCloud version:
17.0.1
Upon clicking "Done," message appears: "Error on saving form, see console."
Form does not save.
Form should be added, saved successfully.
In case of a bug, please answer the following questions
Where did you install Nextcloud from:
https://github.com/nextcloud/vm/blob/master/nextcloud_install_production.sh
Operating system:
Ubuntu 18.04 LTS
Web server:
Default (Apache 2.4.29)
Database:
Default (PostgreSQL 10.10)
PHP version:
Default (PHP 7.2.24)
Signing status:
Don't known what that means.
Login as admin user into your Nextcloud and access
http://example.com/index.php/settings/integrity/failed
paste the results here.
No errors have been found.
List of activated apps:
AppOrder
0.8.0
Bookmarks
2.3.1
Calendar
1.7.1
Official
Camera RAW Previews
0.7.2
Extract
1.2.2
Full text search - Files - Tesseract OCR
1.3.1
Group folders
5.0.4
Official
Mail
0.20.0
Official
Notes
3.0.3
Official
ONLYOFFICE
3.0.2
Official
Suspicious Login
3.0.0
Accessibility
1.3.0
Official
Activities for shared file downloads
1.6.0
Activity
2.10.1
Official
Announcement center
3.6.1
Official
Auditing / Logging
1.7.0
Official
Collaborative tags
1.7.0
Official
Comments
1.7.0
Official
Contacts
3.1.6
Official
Deleted files
1.7.0
Official
DropIt
0.3.0
External sites
3.4.1
Official
Favorites Quickaccess Sorting
1.0.2
Federation
1.7.0
Official
File access control
1.7.0
Official
File sharing
1.9.0
Official
Files automated tagging
1.7.0
Official
First run wizard
2.6.0
Official
Forms
1.1.0
Full text search
1.3.6
Full text search - Files
1.3.6
Gallery
18.4.0
Official
Guests
1.3.1
Impersonate
1.4.0
Official
Log Reader
2.2.0
Official
Metadata
0.10.0
Monitoring
1.7.0
Official
Nextcloud announcements
1.6.0
Official
Notifications
2.5.0
Official
Password policy
1.7.0
Official
PDF viewer
1.6.0
Official
Preview Generator
2.2.0
Privacy
1.1.0
Official
Quota warning
1.6.0
Ransomware protection
1.5.1
README.md
1.1.3
Recommendations
0.5.0
Official
Retention
1.6.0
Official
Right click
0.15.1
Official
Share by mail
1.7.0
Official
Support
1.0.1
Official
Talk
7.0.2
Official
Terms of service
1.3.1
Text
1.1.1
Official
Theming
1.8.0
Official
Update notification
1.7.0
Official
Usage survey
1.5.0
Official
User usage report
1.1.2
Versions
1.10.0
Official
Video player
1.6.0
Official
Viewer
1.2.0
Official
W2G2
3.0.0
If you have access to your command line run e.g.:
sudo -u www-data php occ app:list
from within your Nextcloud installation folder
Nextcloud configuration:
{
"system": {
"passwordsalt": "REMOVED SENSITIVE VALUE",
"secret": "REMOVED SENSITIVE VALUE",
"trusted_domains": [
"localhost",
"REMOVED DOMAIN"
],
"datadirectory": "REMOVED SENSITIVE VALUE",
"skeletondirectory": "/mnt/ncdata/skeleton",
"defaultapp": "activity,files",
"dbtype": "pgsql",
"version": "17.0.1.1",
"overwrite.cli.url": "https://REMOVED DOMAIN/",
"dbname": "REMOVED SENSITIVE VALUE",
"dbhost": "REMOVED SENSITIVE VALUE",
"dbport": "",
"dbtableprefix": "oc",
"dbuser": "REMOVED SENSITIVE VALUE",
"dbpassword": "REMOVED SENSITIVE VALUE",
"installed": true,
"instanceid": "REMOVED SENSITIVE VALUE",
"log_type": "file",
"logfile": "/var/log/nextcloud/nextcloud.log",
"loglevel": "2",
"mail_smtpmode": "smtp",
"remember_login_cookie_lifetime": "1800",
"log_rotate_size": "10485760",
"trashbin_retention_obligation": "auto, 180",
"versions_retention_obligation": "auto, 365",
"simpleSignUpLink.shown": "false",
"memcache.local": "\OC\Memcache\APCu",
"filelocking.enabled": true,
"memcache.distributed": "\OC\Memcache\Redis",
"memcache.locking": "\OC\Memcache\Redis",
"redis": {
"host": "REMOVED SENSITIVE VALUE",
"port": 0,
"timeout": 0.5,
"dbindex": 0,
"password": "REMOVED SENSITIVE VALUE"
},
"logtimezone": "Australia/Melbourne",
"htaccess.RewriteBase": "/",
"maintenance": false,
"updater.secret": "REMOVED SENSITIVE VALUE"
}
}
Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/...
No.
Browser:
Firefox 72.0.1
Operating system:
Windows 10
Console: https://postimg.cc/nsjWNFg2
Nextcloud: https://postimg.cc/7CFR4vyk
Which Forms version are you running? (see apps page)
1.1.0
Nextcloud or ownCloud?:
NextCloud
Nextcloud/ownCloud version: (see Nextcloud admin page)
18.0.0
Steps to reproduce
1 install nexcloud 18
2 install form
3 create new form
4 create new question
5 Expected behaviour
6 Shoudl save the form
Actual behaviour
Form can't be saved
Server configuration
Operating system:
Synology DSM 6 (Debian)
Web server:
Apache
Database:
MariaDB 10
PHP version:
7.3
Updated from an older Nextcloud or fresh install:
new installation
Signing status:
Login as admin user into your Nextcloud and access
http://example.com/index.php/settings/integrity/failed
paste the results here.
No errors have been found.
List of activated apps:
Teamfolder
Talk
Mail
Contacts
Calendar
Deck
Tasks
Accounsments
Forms
News
Nextcloud configuration:
If you have access to your command line run e.g.:
sudo -u www-data php occ config:list system
from within your instance's installation folder
or
Insert your config.php content here
Make sure to remove all sensitive content such as passwords. (e.g. database password, passwordsalt, secret, smtp password, β¦)
Are you using external storage, if yes which one: local/smb/sftp/...
local
Are you using encryption: yes/no
no
Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/...
no
Browser:
Chrome
Operating system:
Win10
CalDAV-clients:
none
Insert your webserver log here
Doctrine\DBAL\Exception\DriverException: An exception occurred while executing 'INSERT INTO oc_forms_events (title, description, is_anonymous, unique, access, owner, created, hash) VALUES(?, ?, ?, ?, ?, ?, ?, ?)' with params ["Test2", "", 0, false, "public", "Daniel", "2020-01-22 06:53:51", "8c06ZvbRLs9q9R28"]: SQLSTATE[22007]: Invalid datetime format: 1366 Incorrect integer value: '' for column nextcloud.oc_forms_events.unique at row 1
Hello!
Currently it is not possible to set up file uploads within forms, however, it would be quite useful to have to collect information other than answers or text from users. So I am suggesting this idea if some developer is bored and wants to work on it!
I may end up implementing this but not right now because time is lacking.
Thank you
Which Forms version are you running? (see apps page)
Current master :)
Nextcloud or ownCloud?:
Nextcloud β
Nextcloud/ownCloud version: (see Nextcloud admin page)
Latest master
Itβs modified to be blue, which is only to be used for highlighting.
https://github.com/affan98/forms/blob/da21b60ef0e40ca18589b2fb6500b633432e5db7/src/js/components/_base-LoadingOverlay.vue#L25
The normal standard grey loading spinner should be used. :) If you use the class you should need no additional CSS? cc @skjnldsv
We would love to support you with development on the app and make it possible for more people to see it and contribute! :)
In the readme, you write:
Note: This will be moved to https://github.com/nextcloud/forms.git once the app has been accepted to the NextCloud app store
Are you interested in doing that? The way this generally needs to be done is that you as app owners need to transfer it to an admin of the Nextcloud org (like @rullzer or me) and then we move it to there.
Let us know what you think! @Barkuto @Affan98 @TimS3434 @slink58
Currently the app icon is the same as the one for polls, which is confusing, I think.
The lines containing the title should be aligned neatly without overlap
Title lines overlap
Operating system: Linux 4.15.0-55-generic #60-Ubuntu SMP Tue Jul 2 18:22:20 UTC 2019 x86_64
Webserver: Apache (fpm-fcgi)
Database: mysql 5.7.27
PHP version:
7.2.20
Modules loaded: Core, date, libxml, openssl, pcre, sqlite3, zlib, bz2, ctype, curl, dom, hash, fileinfo, filter, ftp, gd, SPL, iconv, intl, json, ldap, mbstring, pcntl, PDO, session, pdo_sqlite, posix, Reflection, standard, SimpleXML, mysqlnd, exif, tokenizer, xml, xmlreader, xmlwriter, zip, pdo_mysql, cgi-fcgi, redis, Zend OPcache
Nextcloud version: 15.0.10 - 15.0.10.0
Updated from an older Nextcloud/ownCloud or fresh install: fresh install
Where did you install Nextcloud from: unknown
Array
(
)
Enabled:
- accessibility: 1.1.0
- activity: 2.8.2
- admin_audit: 1.5.0
- announcementcenter: 3.4.1
- apporder: 0.6.0
- checksum: 0.4.3
- cloud_federation_api: 0.1.0
- comments: 1.5.0
- dav: 1.8.2
- deck: 0.6.5
- federatedfilesharing: 1.5.0
- federation: 1.5.0
- files: 1.10.0
- files_accesscontrol: 1.5.0
- files_automatedtagging: 1.5.0
- files_mindmap: 0.0.13
- files_pdfviewer: 1.4.0
- files_retention: 1.4.2
- files_sharing: 1.7.0
- files_texteditor: 2.7.0
- files_trashbin: 1.5.0
- files_versions: 1.8.0
- files_videoplayer: 1.4.0
- firstrunwizard: 2.4.0
- forms: 1.0.3
- fulltextsearch: 1.2.10
- fulltextsearch_elasticsearch: 1.2.6
- gallery: 18.2.0
- groupfolders: 3.0.2
- groupquota: 0.1.0
- issuetemplate: 0.5.0
- keeporsweep: 0.2.1
- logreader: 2.0.0
- lookup_server_connector: 1.3.0
- nextcloud_announcements: 1.4.0
- notifications: 2.3.0
- oauth2: 1.3.0
- password_policy: 1.5.0
- polls: 0.10.2
- provisioning_api: 1.5.0
- quota_warning: 1.4.0
- richdocuments: 3.3.14
- serverinfo: 1.5.0
- sharebymail: 1.5.0
- spreed: 5.0.4
- support: 1.0.0
- survey_client: 1.3.0
- systemtags: 1.5.0
- terms_of_service: 1.1.2
- twofactor_backupcodes: 1.4.1
- user_ldap: 1.5.0
- user_usage_report: 1.1.2
- workflowengine: 1.5.0
Disabled:
- encryption
- files_external
- theming
{
"apps_paths": [
{
"path": "\/snap\/nextcloud\/current\/htdocs\/apps",
"url": "\/apps",
"writable": false
},
{
"path": "\/var\/snap\/nextcloud\/current\/nextcloud\/extra-apps",
"url": "\/extra-apps",
"writable": true
}
],
"supportedDatabases": [
"mysql"
],
"memcache.locking": "\\OC\\Memcache\\Redis",
"memcache.local": "\\OC\\Memcache\\Redis",
"redis": {
"host": "***REMOVED SENSITIVE VALUE***",
"port": 0
},
"instanceid": "***REMOVED SENSITIVE VALUE***",
"passwordsalt": "***REMOVED SENSITIVE VALUE***",
"secret": "***REMOVED SENSITIVE VALUE***",
"trusted_domains": [
"nextcloud.bamberg.wienet.ads"
],
"datadirectory": "***REMOVED SENSITIVE VALUE***",
"dbtype": "mysql",
"version": "15.0.10.0",
"overwrite.cli.url": "http:\/\/nextcloud.bamberg.wienet.ads",
"dbname": "***REMOVED SENSITIVE VALUE***",
"dbhost": "***REMOVED SENSITIVE VALUE***",
"dbport": "",
"dbtableprefix": "oc_",
"mysql.utf8mb4": true,
"dbuser": "***REMOVED SENSITIVE VALUE***",
"dbpassword": "***REMOVED SENSITIVE VALUE***",
"installed": true,
"ldapIgnoreNamingRules": false,
"ldapProviderFactory": "OCA\\User_LDAP\\LDAPProviderFactory",
"mail_from_address": "***REMOVED SENSITIVE VALUE***",
"mail_smtpmode": "smtp",
"mail_sendmailmode": "smtp",
"mail_domain": "***REMOVED SENSITIVE VALUE***",
"mail_smtphost": "***REMOVED SENSITIVE VALUE***",
"mail_smtpport": "25",
"loglevel": 2,
"maintenance": false
}
Are you using external storage, if yes which one: none
Are you using encryption: false
Are you using an external user-backend, if yes which one: LDAP
Browser: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:60.0) Gecko/20100101 Firefox/60.0
Operating system: Windows 10
Insert your web server log here
Insert your Nextcloud log here
Insert your browser log here, this could for example include:
a) The javascript console log
b) The network log
c) ...
Forms 1.0.3 on Nextcloud 16.0.5
Display nextcloud apps installed (without access), click on app redirct to loggin
Don't display apps (should look the same as public share in Survey app)
Nextcloud instance is installed on OVH shared host with Apache (cgi-fcgi), Php 7.1.30, Mysql 5.6.42
Which Forms version are you running?
1.0.3
Nextcloud or ownCloud?:
Nextcloud
Nextcloud/ownCloud version: (see Nextcloud admin page)
16.0.4
Form does not get saved and shows a generic "Error on saving form, see console".
Request gives a 500 Internal Server Error.
Form does get saved (or at least an error message saying that descriptions with more than 1024 characters are not supported).
Forms 1.0.3
Nextcloud 17
Is a translation into other languages planned ?
My main interest is the frontend.
Thanks for your efforts.
Which Forms version are you running? (see apps page)
git [master] - see #166 why
Nextcloud or ownCloud?:
Nextcloud
Nextcloud/ownCloud version: (see Nextcloud admin page)
17.0.2
Internal server error.
The link should provide access to the form.
[index] Error: Exception: Argument 2 passed to OCA\Forms\Db\NotificationMapper::findByUserAndForm() must be of the type string, null given, called in
<removed>/apps/forms/lib/Controller/PageController.php on line 281 at <<closure>>
0. <removed>/lib/private/AppFramework/App.php line 126
OC\AppFramework\Http\Dispatcher->dispatch(OCA\Forms\Controller\PageController {}, "gotoForm")
1. <removed>/lib/private/AppFramework/oRuting/RouteActionHandler.php line 47
OC\AppFramework\App::main("OCA\\Forms\\Controller\\PageController", "gotoForm", OC\AppFramework\ ... {}, {hash: "2tk0hQCg ... "})
2. <<closure>>
OC\AppFramework\Routing\RouteActionHandler->__invoke({hash: "2tk0hQCg ... "})
3. <removed>/lib/private/Route/Router.php line 297
undefinedundefinedcall_user_func(OC\AppFramework\ ... {}, {hash: "2tk0hQCg ... "})
4. <removed>/lib/base.php line 997
OC\Route\Router->match("/apps/forms/form/2tk0hQCgNLExJ9xK")
5. <removed>/index.php line 42
OC::handleRequest()
GET /index.php/apps/forms/form/2tk0hQCgNLExJ9xK
userID will remain null in the scenario described above, which in turn causes the reported error.
The following patch contains a fix.
Forms 1.0.3
Nextcloud, 16 and 17 (on 2 differents instances !)
Can't find circles in "Share with" form
A form could be share in a circle
Same difficulty as "Polls" maybe it is a lib or api issu, not yours ... ?
Thaks for your work
Which Forms version are you running? (see apps page)
1.0.3
Nextcloud or ownCloud?:
Nextcloud
It would be cool to be able to enable an "other" option with a free form text input for radio buttons and checkboxes, to give the user the possibility to provide other answers than those that are explicitly given.
This is more of a contact than an issue report. ;)
Iβm working on design at Nextcloud, and because the Forms app looks pretty cool Iβd love to collaborate on it more. We have 2 events coming up in Germany β the Contributor Week in Stuttgart, and the yearly conference in Berlin:
https://nextcloud.com/blog/contributor-week-nextcloud-conference-time-to-apply-for-travel-support/
It would be cool to have some of you there @TimS3434 @Affan98 @slink58 @Barkuto! Iβll also try and give design feedback here, but itβs always good to meet and go through the design together. :)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. πππ
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google β€οΈ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.