{"action":"created","issue":{"url":"https://api.github.com/repos/nextcloud/server/issues/2357","repository_url":"https://api.github.com/repos/nextcloud/server","labels_url":"https://api.github.com/repos/nextcloud/server/issues/2357/labels{/name}","comments_url":"https://api.github.com/repos/nextcloud/server/issues/2357/comments","events_url":"https://api.github.com/repos/nextcloud/server/issues/2357/events","html_url":"https://github.com/nextcloud/server/issues/2357","id":191877903,"number":2357,"title":"Sharing a file via email and password protect the link","user":{"login":"mightyBroccoli","id":14238117,"avatar_url":"https://avatars2.githubusercontent.com/u/14238117?v=3","gravatar_id":"","url":"https://api.github.com/users/mightyBroccoli","html_url":"https://github.com/mightyBroccoli","followers_url":"https://api.github.com/users/mightyBroccoli/followers","following_url":"https://api.github.com/users/mightyBroccoli/following{/other_user}","gists_url":"https://api.github.com/users/mightyBroccoli/gists{/gist_id}","starred_url":"https://api.github.com/users/mightyBroccoli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mightyBroccoli/subscriptions","organizations_url":"https://api.github.com/users/mightyBroccoli/orgs","repos_url":"https://api.github.com/users/mightyBroccoli/repos","events_url":"https://api.github.com/users/mightyBroccoli/events{/privacy}","received_events_url":"https://api.github.com/users/mightyBroccoli/received_events","type":"User","site_admin":false},"labels":[{"id":393047742,"url":"https://api.github.com/repos/nextcloud/server/labels/0.%20Needs%20triage","name":"0. Needs triage","color":"0052cc","default":false},{"id":386379233,"url":"https://api.github.com/repos/nextcloud/server/labels/enhancement","name":"enhancement","color":"0e8a16","default":true},{"id":389031994,"url":"https://api.github.com/repos/nextcloud/server/labels/feature:%20sharing","name":"feature: sharing","color":"c2e0c6","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/nextcloud/server/milestones/10","html_url":"https://github.com/nextcloud/server/milestone/10","labels_url":"https://api.github.com/repos/nextcloud/server/milestones/10/labels","id":2136652,"number":10,"title":"Nextcloud 12.0","description":null,"creator":{"login":"jancborchardt","id":925062,"avatar_url":"https://avatars1.githubusercontent.com/u/925062?v=3","gravatar_id":"","url":"https://api.github.com/users/jancborchardt","html_url":"https://github.com/jancborchardt","followers_url":"https://api.github.com/users/jancborchardt/followers","following_url":"https://api.github.com/users/jancborchardt/following{/other_user}","gists_url":"https://api.github.com/users/jancborchardt/gists{/gist_id}","starred_url":"https://api.github.com/users/jancborchardt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jancborchardt/subscriptions","organizations_url":"https://api.github.com/users/jancborchardt/orgs","repos_url":"https://api.github.com/users/jancborchardt/repos","events_url":"https://api.github.com/users/jancborchardt/events{/privacy}","received_events_url":"https://api.github.com/users/jancborchardt/received_events","type":"User","site_admin":false},"open_issues":145,"closed_issues":675,"state":"open","created_at":"2016-11-15T13:57:13Z","updated_at":"2017-04-10T14:04:14Z","due_on":null,"closed_at":null},"comments":79,"created_at":"2016-11-27T18:57:39Z","updated_at":"2017-04-10T14:51:20Z","closed_at":"2017-04-07T22:14:06Z","body":"### Steps to reproduce\r\n1. upload a file\r\n2. share it via email\r\n3. done the email will be send an the link inside will not have any form of security\r\n\r\n### Expected behavior\r\nI would expect that the nextcloud instance should have the function to password protect the link inside the email. \r\n\r\n### Actual behavior\r\nThe link inside the email will get shared without a password. \r\n\r\n### Server configuration\r\n**Operating system**:\r\nDistributor ID: Debian\r\nDescription:    Debian GNU/Linux 8.6 (jessie)\r\nRelease:        8.6\r\nCodename:       jessie\r\n\r\n**Web server:**\r\nServer version: Apache/2.4.10 (Debian)\r\nServer built:   Sep 15 2016 20:44:43\r\nServer's Module Magic Number: 20120211:37\r\nServer loaded:  APR 1.5.1, APR-UTIL 1.5.4\r\nCompiled using: APR 1.5.1, APR-UTIL 1.5.4\r\nArchitecture:   64-bit\r\n\r\n**Database:**\r\nmysql  Ver 14.14 Distrib 5.5.53, for debian-linux-gnu (x86_64) using readline 6.3\r\n\r\n**PHP version:**\r\nPHP 7.0.13-1 dotdeb+8.1 (cli) ( NTS )\r\nCopyright (c) 1997-2016 The PHP Group\r\nZend Engine v3.0.0, Copyright (c) 1998-2016 Zend Technologies\r\n    with Zend OPcache v7.0.13-1 dotdeb+8.1, Copyright (c) 1999-2016, by Zend Technologies\r\n\r\n**Nextcloud version:** (see Nextcloud admin page)\r\nversion: 11.0.0.4\r\nversionstring: 11.0 beta\r\nedition:\r\n\r\n**Updated from an older Nextcloud/ownCloud or fresh install:**\r\nupdated nextcloud from 9 > 10 > 11beta\r\n\r\n**Where did you install Nextcloud from:**\r\nofficial website download signed tar.gz\r\n\r\n```\r\n\r\n\r\n**List of activated apps:**\r\n<details>\r\n<summary>Enabled:\r\n  - activity: 2.4.1\r\n  - admin_audit: 1.1.0\r\n  - announcementcenter: 3.0.0\r\n  - apporder: 0.3.3\r\n  - audioplayer: 1.3.1\r\n  - calendar: 1.4.1\r\n  - comments: 1.1.0\r\n  - dav: 1.1.1\r\n  - direct_menu: 0.9.3\r\n  - federatedfilesharing: 1.1.1\r\n  - federation: 1.1.1\r\n  - files: 1.6.1\r\n  - files_external: 1.1.2\r\n  - files_pdfviewer: 1.0.1\r\n  - files_retention: 1.0.1\r\n  - files_sharing: 1.1.1\r\n  - files_texteditor: 2.2\r\n  - files_trashbin: 1.1.0\r\n  - files_versions: 1.4.0\r\n  - files_videoplayer: 1.0.0\r\n  - firstrunwizard: 2.0\r\n  - gallery: 16.0.0\r\n  - logreader: 1.3.1\r\n  - lookup_server_connector: 1.0.0\r\n  - news: 10.0.0\r\n  - nextcloud_announcements: 1.0\r\n  - notifications: 1.0.1\r\n  - password_policy: 1.1.0\r\n  - provisioning_api: 1.1.0\r\n  - serverinfo: 1.1.1\r\n  - sharebymail: 1.0.0\r\n  - systemtags: 1.1.3\r\n  - templateeditor: 0.2\r\n  - theming: 1.1.1\r\n  - twofactor_backupcodes: 1.0.0\r\n  - twofactor_totp: true\r\n  - updatenotification: 1.1.1\r\n  - workflowengine: 1.1.1\r\n</summary>\r\n</details>\r\n\r\n**The content of config/config.php:**\r\n<details>\r\n<summary>Config report</summary>\r\n\r\n```\r\n    \"system\": {\r\n        \"instanceid\": \"ocdwzxwi729i\",\r\n        \"passwordsalt\": \"***REMOVED SENSITIVE VALUE***\",\r\n        \"secret\": \"***REMOVED SENSITIVE VALUE***\",\r\n        \"trusted_domains\": [\r\n            \"cloud.magicbroccoli.de\"\r\n        ],\r\n        \"datadirectory\": \"\\/var\\/www\\/magicbroccoli.de\\/data\",\r\n        \"version\": \"11.0.0.4\",\r\n        \"installed\": true,\r\n        \"cipher\": \"AES-256-CFB\",\r\n        \"dbtype\": \"mysql\",\r\n        \"dbname\": \"nextcloud\",\r\n        \"dbhost\": \"localhost\",\r\n        \"dbtableprefix\": \"oc_\",\r\n        \"dbuser\": \"***REMOVED SENSITIVE VALUE***\",\r\n        \"dbpassword\": \"***REMOVED SENSITIVE VALUE***\",\r\n        \"default_language\": \"de\",\r\n        \"defaultapp\": \"files\",\r\n        \"enable_avatars\": true,\r\n        \"allow_user_to_change_display_name\": true,\r\n        \"remember_login_cookie_lifetime\": 1296000,\r\n        \"session_lifetime\": 86400,\r\n        \"auth.bruteforce.protection.enabled\": true,\r\n        \"mail_smtpmode\": \"smtp\",\r\n        \"mail_from_address\": \"nextcloud\",\r\n        \"mail_domain\": \"magicbroccoli.de\",\r\n        \"mail_smtpauth\": 1,\r\n        \"mail_smtpauthtype\": \"LOGIN\",\r\n        \"mail_smtphost\": \"mail.server-speed.net\",\r\n        \"mail_smtpport\": \"587\",\r\n        \"mail_smtpname\": \"***REMOVED SENSITIVE VALUE***\",\r\n        \"mail_smtppassword\": \"***REMOVED SENSITIVE VALUE***\",\r\n        \"mail_smtpsecure\": \"tls\",\r\n        \"updatechecker\": true,\r\n        \"updater.server.url\": \"https:\\/\\/updates.nextcloud.org\\/server\\/\",\r\n        \"upgrade.disable-web\": false,\r\n        \"has_internet_connection\": true,\r\n        \"check_for_working_htaccess\": true,\r\n        \"check_for_working_webdav\": true,\r\n        \"check_for_working_wellknown_setup\": true,\r\n        \"logdateformat\": \"d.m.Y - H:i:s\",\r\n        \"logtimezone\": \"Europe\\/Berlin\",\r\n        \"log_rotate_size\": 52428800,\r\n        \"loglevel\": 2,\r\n        \"logfile\": \"\\/var\\/log\\/nextcloud\\/nextcloud.log\",\r\n        \"appstoreenabled\": true,\r\n        \"appstoreurl\": \"https:\\/\\/apps.nextcloud.com\\/api\\/v0\",\r\n        \"appstore.experimental.enabled\": true,\r\n        \"appcodechecker\": false,\r\n        \"apps_paths\": [\r\n            {\r\n                \"path\": \"\\/var\\/www\\/magicbroccoli.de\\/nextcloud\\/apps\",\r\n                \"url\": \"\\/apps\",\r\n                \"writable\": true\r\n            }\r\n        ],\r\n        \"memcache.local\": \"\\\\OC\\\\Memcache\\\\APCu\",\r\n        \"filelocking.enabled\": \"true\",\r\n        \"memcache.locking\": \"\\\\OC\\\\Memcache\\\\Redis\",\r\n        \"redis\": {\r\n            \"host\": \"\\/var\\/run\\/redis\\/redis.sock\",\r\n            \"port\": 0,\r\n            \"timeout\": 0\r\n        },\r\n        \"enable_previews\": true,\r\n        \"preview_max_x\": 1024,\r\n        \"preview_max_y\": 1024,\r\n        \"preview_max_filesize_image\": 25,\r\n        \"overwrite.cli.url\": \"https:\\/\\/cloud.magicbroccoli.de\",\r\n        \"htaccess.RewriteBase\": \"\\/\",\r\n        \"trashbin_retention_obligation\": \"auto, 60\",\r\n        \"versions_retention_obligation\": \"auto\",\r\n        \"activity_expire_days\": 80,\r\n        \"filesystem_check_changes\": 0,\r\n        \"theme\": \"\",\r\n        \"maintenance\": false,\r\n        \"singleuser\": false,\r\n        \"updater.release.channel\": \"beta\"\r\n```\r\n</details>\r\n\r\n**Are you using external storage, if yes which one:** local/smb/sftp/...\r\nyes local,nextcloud,Google,Dropbox,nfs\r\n\r\n**Are you using encryption:** yes/no\r\nno\r\n\r\n**Are you using an external user-backend, if yes which one:** LDAP/ActiveDirectory/Webdav/...\r\nno"},"comment":{"url":"https://api.github.com/repos/nextcloud/server/issues/comments/292973377","html_url":"https://github.com/nextcloud/server/issues/2357#issuecomment-292973377","issue_url":"https://api.github.com/repos/nextcloud/server/issues/2357","id":292973377,"user":{"login":"schiessle","id":1589737,"avatar_url":"https://avatars3.githubusercontent.com/u/1589737?v=3","gravatar_id":"","url":"https://api.github.com/users/schiessle","html_url":"https://github.com/schiessle","followers_url":"https://api.github.com/users/schiessle/followers","following_url":"https://api.github.com/users/schiessle/following{/other_user}","gists_url":"https://api.github.com/users/schiessle/gists{/gist_id}","starred_url":"https://api.github.com/users/schiessle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/schiessle/subscriptions","organizations_url":"https://api.github.com/users/schiessle/orgs","repos_url":"https://api.github.com/users/schiessle/repos","events_url":"https://api.github.com/users/schiessle/events{/privacy}","received_events_url":"https://api.github.com/users/schiessle/received_events","type":"User","site_admin":false},"created_at":"2017-04-10T14:51:20Z","updated_at":"2017-04-10T14:51:20Z","body":"hm, maybe a banner doesn't look that bad:\r\n\r\n![banner](https://cloud.githubusercontent.com/assets/1589737/24867577/ea1d0bf6-1e0d-11e7-917e-735b687daff3.png)\r\n"}}
{"actor":{"display_login":"schiessle"}}