]> source.dussan.org Git - nextcloud-server.git/log
nextcloud-server.git
10 years agofix button text l10n
Volkan Gezer [Sun, 21 Sep 2014 15:32:37 +0000 (17:32 +0200)]
fix button text l10n

10 years agoMerge pull request #11195 from owncloud/stable_l10n_backport
Morris Jobke [Sun, 21 Sep 2014 09:16:08 +0000 (11:16 +0200)]
Merge pull request #11195 from owncloud/stable_l10n_backport

backport stable translations

10 years agoadding 'smallint unsigned' to type mapping for sqlite
Thomas Müller [Sat, 20 Sep 2014 18:06:44 +0000 (20:06 +0200)]
adding 'smallint unsigned' to type mapping for sqlite

10 years agobackport stable translations
Volkan Gezer [Sat, 20 Sep 2014 16:50:17 +0000 (18:50 +0200)]
backport stable translations

10 years agoMerge pull request #11190 from owncloud/fix-unit-test-sort-order-stable7
Robin McCorkell [Sat, 20 Sep 2014 11:09:50 +0000 (12:09 +0100)]
Merge pull request #11190 from owncloud/fix-unit-test-sort-order-stable7

Don't rely on the sorting the database gives us for tests

10 years agoDon't rely on the sorting the database gives us for tests
Robin Appelman [Fri, 6 Jun 2014 08:24:28 +0000 (10:24 +0200)]
Don't rely on the sorting the database gives us for tests

10 years agoPrevent updates between multiple major versions
Lukas Reschke [Thu, 18 Sep 2014 15:45:30 +0000 (17:45 +0200)]
Prevent updates between multiple major versions

Ref https://github.com/owncloud/core/issues/11078

10 years agoMove BasicAuth check to "isLoggedIn()"
Lukas Reschke [Thu, 18 Sep 2014 14:02:18 +0000 (16:02 +0200)]
Move BasicAuth check to "isLoggedIn()"

Ensures that Basic Auth works properly for APIs and removes the need for some even uglier lines of code.

10 years agoupdate encryption doc link
Volkan Gezer [Wed, 17 Sep 2014 18:53:19 +0000 (20:53 +0200)]
update encryption doc link

I don't know how we missed to update this :/

update ldap doc link

10 years agoMove basic auth check
Lukas Reschke [Wed, 17 Sep 2014 14:04:12 +0000 (16:04 +0200)]
Move basic auth check

At the previous point not all apps were initialized. Now the basic auth check happens together at the same location as all others.

Fixes https://github.com/owncloud/core/issues/11129

10 years agoAdd timeout to user and group deletion notification
Vincent Petry [Thu, 11 Sep 2014 13:56:00 +0000 (15:56 +0200)]
Add timeout to user and group deletion notification

Added timeout in DeleteHandler to auto-delete after a delay.

Fixed issue where OC.Notification.hide() was called twice in a row when
deleting multiple entries, causing the second notification to disappear.
Fixed issue where "undo" click event handler was registered multiple
times when calling setNotifications() twice.
Added JS unit tests for the DeleteHandler class.

Refix undo users, groups feature

Timeout is now cleared in cancel().

Fixed click handler name for "undo" to be able to work with multiple
DeleteHandler instances (in our case one for users and one for groups)
so that there is no conflict.

Backport of 0d9f24a0efef20b9041e40817b10822a4700532d from master

10 years agoMake 404 page easier to understand
Lukas Reschke [Wed, 17 Sep 2014 20:49:37 +0000 (22:49 +0200)]
Make 404 page easier to understand

Fixes https://github.com/owncloud/core/issues/11133

10 years agoversion bump
Frank Karlitschek [Sat, 13 Sep 2014 20:56:07 +0000 (22:56 +0200)]
version bump

10 years agoadding unit test to truncate the table
Thomas Müller [Tue, 16 Sep 2014 14:17:25 +0000 (16:17 +0200)]
adding unit test to truncate the table

10 years agoUse Doctrine Platform to generate SQL query for table truncation.
Andreas Fischer [Fri, 29 Aug 2014 18:53:51 +0000 (20:53 +0200)]
Use Doctrine Platform to generate SQL query for table truncation.

10 years agoMerge pull request #11053 from owncloud/baskport-11041-stable7
Vincent Petry [Tue, 16 Sep 2014 14:46:47 +0000 (16:46 +0200)]
Merge pull request #11053 from owncloud/baskport-11041-stable7

content size checks are not valid for LOCK

10 years agoReword the description
Lukas Reschke [Tue, 16 Sep 2014 13:51:48 +0000 (15:51 +0200)]
Reword the description

The old one was just horrible wrong.

10 years agoDisable database migrations for MSSQL - scripts have to be applied manually
Thomas Müller [Mon, 15 Sep 2014 12:26:00 +0000 (14:26 +0200)]
Disable database migrations for MSSQL - scripts have to be applied manually

10 years agoalso expire file if timestamp = limit, happens if trashbin_retention_obligation is...
Bjoern Schiessle [Mon, 15 Sep 2014 11:00:04 +0000 (13:00 +0200)]
also expire file if timestamp = limit, happens if trashbin_retention_obligation is set to zero

10 years agoPreserve transparency when loading from a file
kondou [Tue, 12 Aug 2014 09:00:00 +0000 (11:00 +0200)]
Preserve transparency when loading from a file

Fix #7148 - again :)

10 years agoUse secure mimetype for content delivery
Lukas Reschke [Mon, 8 Sep 2014 13:57:39 +0000 (15:57 +0200)]
Use secure mimetype for content delivery

Adds some hardening against potential CSP bypassed.

10 years agoRemove passing by reference to allow for proper GC
Vincent Petry [Fri, 12 Sep 2014 17:51:47 +0000 (19:51 +0200)]
Remove passing by reference to allow for proper GC

The garbage collector in PHP 5.3.10 does not properly release the file
handle when calling fclose() due to the fact that it is passed by
reference.
This has the side-effect of preventing file locks to be released as well
when the files_locking app is enabled.

This fix removes the useless passing by reference and now the file
handle and file lock are freed properly.

10 years agoSet overwritewebroot when installing owncloud to avoid problems
Joas Schilling [Mon, 8 Sep 2014 12:22:43 +0000 (14:22 +0200)]
Set overwritewebroot when installing owncloud to avoid problems

Backport of 249558966e6a144cf0fb873a3fac5a3664cfdd9d to stable7

10 years agoif only one attribute is requested, the returned array has 0 as key instead of attrib...
Arthur Schiwon [Fri, 5 Sep 2014 12:05:37 +0000 (14:05 +0200)]
if only one attribute is requested, the returned array has 0 as key instead of attribute name. fixes #10888

10 years agoDo not double decode values
Lukas Reschke [Thu, 11 Sep 2014 13:34:57 +0000 (15:34 +0200)]
Do not double decode values

Fixes https://github.com/owncloud/core/issues/11012

10 years agocontent size checks are not valid for LOCK
Thomas Müller [Fri, 12 Sep 2014 20:02:42 +0000 (22:02 +0200)]
content size checks are not valid for LOCK

10 years agocontent size checks are not valid for LOCK
Thomas Müller [Fri, 12 Sep 2014 19:53:28 +0000 (21:53 +0200)]
content size checks are not valid for LOCK

10 years agofix nojavascript message alignment
Jan-Christoph Borchardt [Thu, 11 Sep 2014 14:12:43 +0000 (16:12 +0200)]
fix nojavascript message alignment

10 years agoConverted an array to PHP5.3 compatible version
Johan Björk [Wed, 9 Jul 2014 12:54:03 +0000 (14:54 +0200)]
Converted an array to PHP5.3 compatible version

10 years agoFixes #8326: deletion of directories on S3
Johan Björk [Tue, 8 Jul 2014 20:28:12 +0000 (22:28 +0200)]
Fixes #8326: deletion of directories on S3

10 years agofix folder icon alignment, fix #10866
Jan-Christoph Borchardt [Thu, 11 Sep 2014 13:52:12 +0000 (15:52 +0200)]
fix folder icon alignment, fix #10866

10 years agofix svg of calendar filetype icon
Jan-Christoph Borchardt [Thu, 11 Sep 2014 13:51:24 +0000 (15:51 +0200)]
fix svg of calendar filetype icon

10 years agofix size of toggle icon, make container square
Jan-Christoph Borchardt [Thu, 11 Sep 2014 13:39:01 +0000 (15:39 +0200)]
fix size of toggle icon, make container square

10 years agoimprove style of checkmark icon, less bold, fitting ownCloud style
Jan-Christoph Borchardt [Thu, 11 Sep 2014 13:38:39 +0000 (15:38 +0200)]
improve style of checkmark icon, less bold, fitting ownCloud style

10 years agorepair search lucene before installing
Jörn Friedrich Dreyer [Tue, 9 Sep 2014 13:18:57 +0000 (15:18 +0200)]
repair search lucene before installing

10 years agoAdd X-UA-Compatible to all templates
Lukas Reschke [Thu, 11 Sep 2014 08:28:52 +0000 (10:28 +0200)]
Add X-UA-Compatible to all templates

Replaces https://github.com/owncloud/core/pull/10850

10 years agoMerge pull request #10998 from owncloud/use-section-in-form
Vincent Petry [Thu, 11 Sep 2014 10:07:31 +0000 (12:07 +0200)]
Merge pull request #10998 from owncloud/use-section-in-form

Use section in first element in user_ldap

10 years agoUse section in first element
Lukas Reschke [Wed, 10 Sep 2014 16:47:29 +0000 (18:47 +0200)]
Use section in first element

10 years agoMerge pull request #10973 from owncloud/stable7-issue/10847
Vincent Petry [Wed, 10 Sep 2014 12:57:32 +0000 (14:57 +0200)]
Merge pull request #10973 from owncloud/stable7-issue/10847

[Stable7] Use correct language package so the subject is correctly translated

10 years agoDo not load extra user backends when an upgrade is due
Vincent Petry [Mon, 8 Sep 2014 10:30:04 +0000 (12:30 +0200)]
Do not load extra user backends when an upgrade is due

Whenever an upgrade is due, do not load extra user backends

Backport of d6bfd90bf804f6d8bb4c651e6bcf8374dc6b94b4 from master

10 years agoMerge pull request #10884 from owncloud/stable7_backport_issue_10674
Lukas Reschke [Wed, 10 Sep 2014 08:31:26 +0000 (10:31 +0200)]
Merge pull request #10884 from owncloud/stable7_backport_issue_10674

Backport issue 10764

10 years agoUse correct language package so the subject is correctly translated
Joas Schilling [Thu, 4 Sep 2014 09:23:23 +0000 (11:23 +0200)]
Use correct language package so the subject is correctly translated

Fix #10847

Conflicts:
lib/private/share/mailnotifications.php

10 years agoFix broken new lines in plain text mail template
Joas Schilling [Thu, 4 Sep 2014 09:30:54 +0000 (11:30 +0200)]
Fix broken new lines in plain text mail template

10 years agomore sugar for including lists of templates
Bernhard Posselt [Tue, 9 Sep 2014 13:47:42 +0000 (15:47 +0200)]
more sugar for including lists of templates

10 years agoappend .html since componets always use html files
Bernhard Posselt [Mon, 8 Sep 2014 19:37:18 +0000 (21:37 +0200)]
append .html since componets always use html files

10 years agoadd template functions for html imports
Bernhard Posselt [Mon, 8 Sep 2014 19:19:44 +0000 (21:19 +0200)]
add template functions for html imports

10 years agoadd shortcut functions for style and script
Bernhard Posselt [Sat, 6 Sep 2014 12:25:28 +0000 (14:25 +0200)]
add shortcut functions for style and script

10 years agomake objectstore tests check fileid on rename
Jörn Friedrich Dreyer [Mon, 8 Sep 2014 10:53:42 +0000 (12:53 +0200)]
make objectstore tests check fileid on rename

10 years agoKeep fileid on move in objectstore, fixes #10848
Jörn Friedrich Dreyer [Fri, 5 Sep 2014 11:25:59 +0000 (13:25 +0200)]
Keep fileid on move in objectstore, fixes #10848

10 years agoallow . in dbname on web install
Jörn Friedrich Dreyer [Mon, 8 Sep 2014 11:41:23 +0000 (13:41 +0200)]
allow . in dbname on web install

10 years agoDon't show warning when has_internet_connection is set to false
Lukas Reschke [Thu, 4 Sep 2014 12:18:30 +0000 (14:18 +0200)]
Don't show warning when has_internet_connection is set to false

Revert

Add disabled

10 years agoalso add no-JavaScript notice to log in and sharing pages because they do not work...
Jan-Christoph Borchardt [Mon, 8 Sep 2014 16:07:20 +0000 (18:07 +0200)]
also add no-JavaScript notice to log in and sharing pages because they do not work without JS either

10 years agofix styling and wording of no-JavaScript message
Jan-Christoph Borchardt [Mon, 8 Sep 2014 15:55:53 +0000 (17:55 +0200)]
fix styling and wording of no-JavaScript message

10 years agoUsing countUsers method to return true count of users
Clark Tomlinson [Fri, 29 Aug 2014 15:27:23 +0000 (11:27 -0400)]
Using countUsers method to return true count of users

10 years agoCheck for admin user instead of subadmin
Lukas Reschke [Mon, 8 Sep 2014 12:34:44 +0000 (14:34 +0200)]
Check for admin user instead of subadmin

10 years agoCatch exceptions when moving files
Vincent Petry [Fri, 5 Sep 2014 12:54:06 +0000 (14:54 +0200)]
Catch exceptions when moving files

When moving files on storages that don't expose permissions, the storage
itself might throw an exception when the permission is denied.

This fix ensures that exceptions are caught and forwarded to the client
instead of just hanging.

Backport of e43c9b84c42a8b3f4fb25a950123fbcc060d1a5a from master

10 years agoUpdate cron.php
Oliver Kohl D.Sc [Thu, 24 Jul 2014 11:54:55 +0000 (13:54 +0200)]
Update cron.php

10 years agoCRON call ends in null exception
Oliver Kohl D.Sc [Thu, 24 Jul 2014 11:46:40 +0000 (13:46 +0200)]
CRON call ends in null exception

[error] 4461#0: *186285 FastCGI sent in stderr: "PHP message
: PHP Fatal error:  Call to a member function execute() on null in /var/www/ownc
loud/cron.php on line 125" while reading response header from upstream, client:
217.13.183.252, server: cloud.mycloud.com, request: "GET /cron.php HTTP/1.1", upstre
am: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "cloud.mycloud.com", referrer: "
https://cloud.mycloud.com/"

10 years agoMove trusted domain check to init()
Lukas Reschke [Fri, 5 Sep 2014 12:10:35 +0000 (14:10 +0200)]
Move trusted domain check to init()

handleRequest() is not called from remote.php or public.php which made these files party available but all included apps in there produced errors.

As the expected behaviour is anyways that a trusted domain warning is shown I moved this to init()

Fixes https://github.com/owncloud/core/issues/10064

10 years agoadd / to url to match route
Jörn Friedrich Dreyer [Thu, 4 Sep 2014 11:58:37 +0000 (13:58 +0200)]
add / to url to match route

10 years agoScroll to new file/folder after adding
Vincent Petry [Thu, 4 Sep 2014 10:33:38 +0000 (12:33 +0200)]
Scroll to new file/folder after adding

When creating a new file from the menu, the list now scrolls to that
file.

10 years agoFixed scrollto for search results
Vincent Petry [Thu, 4 Sep 2014 10:20:11 +0000 (12:20 +0200)]
Fixed scrollto for search results

Now passing the "scrollto" URL argument to the file list class which
will also automatically scroll and highlight the matching element.

This code is triggered by the search box when in a different folder and
also by the activity app.

10 years agoAdd isAppstoreEnabled instead of hijacking the URL
Lukas Reschke [Tue, 26 Aug 2014 08:20:51 +0000 (10:20 +0200)]
Add isAppstoreEnabled instead of hijacking the URL

10 years agoRemove different URL for EE
Lukas Reschke [Sun, 24 Aug 2014 18:22:15 +0000 (20:22 +0200)]
Remove different URL for EE

This can now be achieved by setting `appstoreenabled` to `false` in config.php

10 years agoBackport issue 10764
Jesus Macias [Fri, 5 Sep 2014 11:23:09 +0000 (13:23 +0200)]
Backport issue 10764

10 years agoAdded permission check for drag and drop
Vincent Petry [Thu, 4 Sep 2014 17:58:49 +0000 (19:58 +0200)]
Added permission check for drag and drop

When dropping files onto a read-only folder, a notification
is now shown instead of attempting to upload.

This for both the drag for upload and drag from inside the file list
cases.

Backport of f1bfe35cda2f11d1b38726cf2d4f879427b2c8d5 from master

10 years agoMerge pull request #10878 from owncloud/remove_leftover
Jörn Friedrich Dreyer [Fri, 5 Sep 2014 09:59:12 +0000 (11:59 +0200)]
Merge pull request #10878 from owncloud/remove_leftover

remove a left over that uselessly fetches all users

10 years agoremove a left over that uselessly fetches all users
Arthur Schiwon [Fri, 5 Sep 2014 08:27:34 +0000 (10:27 +0200)]
remove a left over that uselessly fetches all users

10 years agoAdded unit tests for cache of enabled apps
Vincent Petry [Wed, 3 Sep 2014 09:01:59 +0000 (11:01 +0200)]
Added unit tests for cache of enabled apps

10 years agoAdded test for needUpgrade for core
Vincent Petry [Tue, 2 Sep 2014 15:28:05 +0000 (17:28 +0200)]
Added test for needUpgrade for core

10 years agoFix upgrade process when apps enabled for specific groups
Vincent Petry [Tue, 2 Sep 2014 12:30:46 +0000 (14:30 +0200)]
Fix upgrade process when apps enabled for specific groups

Fix issue where the currently logged user was causing side-effects when
upgrading.
Now setting incognito mode (no user) on update to make sure the whole
apps list is taken into account with getEnabledApps() or isEnabled().

10 years agoMerge pull request #10558 from owncloud/ajaxify_user_list_for_files_external_stable7
Lukas Reschke [Thu, 4 Sep 2014 11:16:52 +0000 (13:16 +0200)]
Merge pull request #10558 from owncloud/ajaxify_user_list_for_files_external_stable7

Ajaxify user list for files external stable7

10 years agoHighlight every uploaded files and scroll down to the last one
pdessauw [Thu, 19 Jun 2014 18:11:57 +0000 (14:11 -0400)]
Highlight every uploaded files and scroll down to the last one

Backport of 0d078e48ce71d35bf240ec2b3d48a37f1b96115a from master

10 years agoMerge pull request #10823 from oparoz/patch-1
Vincent Petry [Thu, 4 Sep 2014 08:20:50 +0000 (10:20 +0200)]
Merge pull request #10823 from oparoz/patch-1

Typo in whichOpenOffice test

10 years agoTyp in whichOpenOffice test
Olivier Paroz [Tue, 2 Sep 2014 20:11:49 +0000 (22:11 +0200)]
Typ in whichOpenOffice test

10 years agoMerge pull request #10789 from owncloud/fix-z-index
Raghu Nayyar [Tue, 2 Sep 2014 19:33:51 +0000 (01:03 +0530)]
Merge pull request #10789 from owncloud/fix-z-index

fix z-index of navigation sidebar for mobile devices

10 years agorussian translation backport. closes #10759
Volkan Gezer [Tue, 2 Sep 2014 15:53:52 +0000 (17:53 +0200)]
russian translation backport. closes #10759

10 years agofix z-index of navigation sidebar for mobile devices
Morris Jobke [Sun, 31 Aug 2014 17:41:58 +0000 (19:41 +0200)]
fix z-index of navigation sidebar for mobile devices

10 years agoupdate public interface for getUserFolder
Morris Jobke [Sun, 31 Aug 2014 09:16:40 +0000 (11:16 +0200)]
update public interface for getUserFolder

10 years agoAdd optional user ID parameter for getUseFolder
Morris Jobke [Sun, 31 Aug 2014 07:49:19 +0000 (09:49 +0200)]
Add optional user ID parameter for getUseFolder

10 years agoretrieve local users, groups and group members in a sorted way
Arthur Schiwon [Fri, 29 Aug 2014 13:17:37 +0000 (15:17 +0200)]
retrieve local users, groups and group members in a sorted way

10 years agoallow empty hostname and dots in service name for oracle autosetup
Jörn Friedrich Dreyer [Thu, 28 Aug 2014 13:54:28 +0000 (15:54 +0200)]
allow empty hostname and dots in service name for oracle autosetup

10 years agoBackport of #9214
Arthur Schiwon [Wed, 25 Jun 2014 12:04:06 +0000 (14:04 +0200)]
Backport of #9214

Wizad: email attribute detection

remove Access as hard dependency, inject it instead

add unit test for mail detection

write log message, if original value was changed

undo falsely changed log file

trigger email detection by Wizard upon any user filter filter change. before it happenend only upon user automatic list filter creation, but not on manual editing

adjust static method vars as well

10 years agoAdd missing 'personal' mount configuration option
Robin McCorkell [Fri, 29 Aug 2014 08:08:46 +0000 (09:08 +0100)]
Add missing 'personal' mount configuration option

10 years agouser mgmt: move 'Show storage location' and 'Show last log in' to settings area
Jan-Christoph Borchardt [Thu, 28 Aug 2014 22:08:01 +0000 (00:08 +0200)]
user mgmt: move 'Show storage location' and 'Show last log in' to settings area

10 years agoAdds 2 checkboxes at the top of userlist in the settings, to display/hide optional...
Stephane V [Wed, 16 Jul 2014 20:23:15 +0000 (22:23 +0200)]
Adds 2 checkboxes at the top of userlist in the settings, to display/hide optional columns
This fixes #9367.

10 years agodefine min height/width for icon classes to make sure they show
Jan-Christoph Borchardt [Fri, 29 Aug 2014 10:05:01 +0000 (12:05 +0200)]
define min height/width for icon classes to make sure they show

10 years agoallow horizontal scrollbar for personal and admin settings
Jan-Christoph Borchardt [Thu, 28 Aug 2014 16:17:50 +0000 (18:17 +0200)]
allow horizontal scrollbar for personal and admin settings

10 years agoEnhancement: Adds input styles to input type dates too.
raghunayyar [Thu, 28 Aug 2014 14:53:19 +0000 (16:53 +0200)]
Enhancement: Adds input styles to input type dates too.

10 years agofix wizard test, adjust to changed parameters of the tested method, introduced by...
Arthur Schiwon [Tue, 26 Aug 2014 08:50:00 +0000 (10:50 +0200)]
fix wizard test, adjust to changed parameters of the tested method, introduced by 9caa354cfc1f73159f335646ca89be4db72b125e

10 years agobackport of #8623
Arthur Schiwon [Fri, 16 May 2014 16:03:15 +0000 (18:03 +0200)]
backport of #8623

set result entry identifier earlier, i.e. before a continue for the same level can happen. otherwise  will always get the same value and we end up in an infinite loop

add unit test to make sure the infinite loop never comes back

Conflicts:
apps/user_ldap/tests/wizard.php

10 years agoEscape error messages
Lukas Reschke [Wed, 27 Aug 2014 15:01:51 +0000 (17:01 +0200)]
Escape error messages

10 years ago7.0.2 v7.0.2
Frank Karlitschek [Tue, 26 Aug 2014 10:03:37 +0000 (12:03 +0200)]
7.0.2

10 years agoRedirect user after clicking on link
Lukas Reschke [Fri, 22 Aug 2014 14:01:03 +0000 (16:01 +0200)]
Redirect user after clicking on link
Use DI

10 years agoExpose setSystemValue
Lukas Reschke [Fri, 22 Aug 2014 13:53:23 +0000 (15:53 +0200)]
Expose setSystemValue

10 years agoAdd a trusted domain wizard
Lukas Reschke [Thu, 21 Aug 2014 20:22:35 +0000 (22:22 +0200)]
Add a trusted domain wizard

Adds a little button to the trusted domain warning, if an admin clicks on the warning he will be redirected to ownCloud and asked whether he want to trust this domain.

By far not the cleanest code, or clean at all, but does the job and I don't see a reason to make a lot of changes for this little improvement.

10 years agoDo not load apps when an upgrade is due
Vincent Petry [Thu, 24 Jul 2014 14:53:30 +0000 (16:53 +0200)]
Do not load apps when an upgrade is due

This makes it still possible to update from the command line, but
disables custom commands from apps

10 years agoWarn user on resetting passwords via occ when encryption is enabled
kondou [Fri, 22 Aug 2014 14:11:54 +0000 (16:11 +0200)]
Warn user on resetting passwords via occ when encryption is enabled

10 years agoStream downloads from Swift object stores without downloading it first
Robin Appelman [Fri, 22 Aug 2014 12:11:21 +0000 (14:11 +0200)]
Stream downloads from Swift object stores without downloading it first

10 years agoFix share dropdown when links are not allowed
Vincent Petry [Thu, 21 Aug 2014 11:49:02 +0000 (13:49 +0200)]
Fix share dropdown when links are not allowed

When links are not allowed, the email field does not exist and
autocomplete returns null. This causes Javascript errors.

The fix prevents entering the bogus block when links aren't allowed, as
it doesn't make sense to enter it in such cases anyway.

Backport of 98d06094e70d657907b139431624740acde3bbd9 from master