]> source.dussan.org Git - nextcloud-server.git/log
nextcloud-server.git
7 years agoAdjust tests to the old settings menu 5617/head
Joas Schilling [Thu, 6 Jul 2017 07:30:42 +0000 (09:30 +0200)]
Adjust tests to the old settings menu

Signed-off-by: Joas Schilling <coding@schilljs.com>
7 years agoDon't load navigation entries of restricted apps
Joas Schilling [Wed, 5 Jul 2017 11:52:51 +0000 (13:52 +0200)]
Don't load navigation entries of restricted apps

Signed-off-by: Joas Schilling <coding@schilljs.com>
7 years ago[tx-robot] updated from transifex
Nextcloud bot [Mon, 3 Jul 2017 00:08:31 +0000 (00:08 +0000)]
[tx-robot] updated from transifex

7 years ago[tx-robot] updated from transifex
Nextcloud bot [Sun, 2 Jul 2017 00:08:23 +0000 (00:08 +0000)]
[tx-robot] updated from transifex

7 years ago[tx-robot] updated from transifex
Nextcloud bot [Sat, 1 Jul 2017 00:08:38 +0000 (00:08 +0000)]
[tx-robot] updated from transifex

7 years ago[tx-robot] updated from transifex
Nextcloud bot [Fri, 30 Jun 2017 00:08:35 +0000 (00:08 +0000)]
[tx-robot] updated from transifex

7 years ago[tx-robot] updated from transifex
Nextcloud bot [Thu, 29 Jun 2017 00:08:35 +0000 (00:08 +0000)]
[tx-robot] updated from transifex

7 years ago[tx-robot] updated from transifex
Nextcloud bot [Wed, 28 Jun 2017 00:08:28 +0000 (00:08 +0000)]
[tx-robot] updated from transifex

7 years ago[tx-robot] updated from transifex
Nextcloud bot [Tue, 27 Jun 2017 00:08:26 +0000 (00:08 +0000)]
[tx-robot] updated from transifex

7 years ago[tx-robot] updated from transifex
Nextcloud bot [Mon, 26 Jun 2017 00:08:40 +0000 (00:08 +0000)]
[tx-robot] updated from transifex

7 years ago[tx-robot] updated from transifex
Nextcloud bot [Sun, 25 Jun 2017 00:08:27 +0000 (00:08 +0000)]
[tx-robot] updated from transifex

7 years ago[tx-robot] updated from transifex
Nextcloud bot [Sat, 24 Jun 2017 00:08:39 +0000 (00:08 +0000)]
[tx-robot] updated from transifex

7 years agoMerge pull request #5507 from derkostka/stable12
Morris Jobke [Fri, 23 Jun 2017 20:43:15 +0000 (15:43 -0500)]
Merge pull request #5507 from derkostka/stable12

[stable12] Use realpath to obtain the webroot

7 years agoMerge pull request #5521 from nextcloud/backport-5508-no-acitivity-before-login
Morris Jobke [Fri, 23 Jun 2017 16:23:50 +0000 (11:23 -0500)]
Merge pull request #5521 from nextcloud/backport-5508-no-acitivity-before-login

[stable12] Don't create activities for email and password change before login

7 years agoMerge pull request #5509 from nextcloud/backport-5498-allow-to-force-a-language
blizzz [Fri, 23 Jun 2017 12:24:05 +0000 (14:24 +0200)]
Merge pull request #5509 from nextcloud/backport-5498-allow-to-force-a-language

[stable12] Allow to force a language and set it via the ocs api

7 years agoDon't create activities for email and password change before login 5521/head
Joas Schilling [Thu, 22 Jun 2017 07:02:12 +0000 (09:02 +0200)]
Don't create activities for email and password change before login

Signed-off-by: Joas Schilling <coding@schilljs.com>
7 years ago[tx-robot] updated from transifex
Nextcloud bot [Fri, 23 Jun 2017 00:09:22 +0000 (00:09 +0000)]
[tx-robot] updated from transifex

7 years agoMerge pull request #5511 from nextcloud/5491-stable12
Joas Schilling [Thu, 22 Jun 2017 12:11:43 +0000 (14:11 +0200)]
Merge pull request #5511 from nextcloud/5491-stable12

[stable12] Create users in non default backends first

7 years agoCreate users in non default backends first 5511/head
Joas Schilling [Tue, 20 Jun 2017 17:59:41 +0000 (19:59 +0200)]
Create users in non default backends first

Most of the time, when people have multiple backends or add a
custom backend, they want to create the users there and not in
the default backend. But since that is registered first, users
were always created there.

Signed-off-by: Joas Schilling <coding@schilljs.com>
7 years agoUpdate autoloader 5509/head
Morris Jobke [Wed, 21 Jun 2017 19:41:47 +0000 (14:41 -0500)]
Update autoloader

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
7 years agoAdd unit tests for the new code
Joas Schilling [Wed, 21 Jun 2017 10:21:21 +0000 (12:21 +0200)]
Add unit tests for the new code

Signed-off-by: Joas Schilling <coding@schilljs.com>
7 years agoAllow to force a language and set it via the ocs api
Joas Schilling [Wed, 21 Jun 2017 09:22:05 +0000 (11:22 +0200)]
Allow to force a language and set it via the ocs api

Signed-off-by: Joas Schilling <coding@schilljs.com>
7 years ago[stable12] Use realpath to obtain the webroot 5507/head
Sebastian Kostka [Thu, 22 Jun 2017 06:37:11 +0000 (08:37 +0200)]
[stable12] Use realpath to obtain the webroot

Use realpath to obtain the webroot - backport
Signed-off-by: Sebastian Kostka sebastian.kostka@gmail.com
7 years ago[tx-robot] updated from transifex
Nextcloud bot [Thu, 22 Jun 2017 00:08:46 +0000 (00:08 +0000)]
[tx-robot] updated from transifex

7 years agoMerge pull request #5489 from nextcloud/stable12-5061
Morris Jobke [Wed, 21 Jun 2017 21:28:57 +0000 (16:28 -0500)]
Merge pull request #5489 from nextcloud/stable12-5061

[stable12] Fix example theme

7 years ago[tx-robot] updated from transifex
Nextcloud bot [Wed, 21 Jun 2017 00:08:24 +0000 (00:08 +0000)]
[tx-robot] updated from transifex

7 years agoMove styles.css to server.css 5489/head
Julius Härtl [Tue, 23 May 2017 09:14:49 +0000 (11:14 +0200)]
Move styles.css to server.css

Signed-off-by: Julius Härtl <jus@bitgrid.net>
7 years agoMerge pull request #5480 from nextcloud/backport-5459-group-admins-change-settings
Morris Jobke [Tue, 20 Jun 2017 15:54:09 +0000 (10:54 -0500)]
Merge pull request #5480 from nextcloud/backport-5459-group-admins-change-settings

[stable12] Don't try to save the setting when its not an admin

7 years agoAlso allow group admins to toogle the storage location 5480/head
Joas Schilling [Tue, 20 Jun 2017 08:35:22 +0000 (10:35 +0200)]
Also allow group admins to toogle the storage location

Signed-off-by: Joas Schilling <coding@schilljs.com>
7 years agoDon't try to save the setting when its not an admin
Joas Schilling [Mon, 19 Jun 2017 10:55:00 +0000 (12:55 +0200)]
Don't try to save the setting when its not an admin

Signed-off-by: Joas Schilling <coding@schilljs.com>
7 years ago[tx-robot] updated from transifex
Nextcloud bot [Tue, 20 Jun 2017 00:08:51 +0000 (00:08 +0000)]
[tx-robot] updated from transifex

7 years agoRevert "dont die if we try to access the shared cache while setting up the shared...
Robin Appelman [Mon, 19 Jun 2017 12:00:27 +0000 (14:00 +0200)]
Revert "dont die if we try to access the shared cache while setting up the shared storage"

Revent accidental push

This reverts commit ed8903404768f5957ddf39f5979741b18000f69d.

7 years agodont die if we try to access the shared cache while setting up the shared storage
Robin Appelman [Wed, 24 May 2017 11:56:09 +0000 (13:56 +0200)]
dont die if we try to access the shared cache while setting up the shared storage

Signed-off-by: Robin Appelman <robin@icewind.nl>
7 years ago[tx-robot] updated from transifex
Nextcloud bot [Mon, 19 Jun 2017 00:08:29 +0000 (00:08 +0000)]
[tx-robot] updated from transifex

7 years agoMerge pull request #5442 from Bekcpear/stable12
Morris Jobke [Sat, 17 Jun 2017 23:32:47 +0000 (18:32 -0500)]
Merge pull request #5442 from Bekcpear/stable12

Fix upload remaining time and uploadrate value

7 years agoMerge pull request #5420 from nextcloud/stable12-appmenu-fixes
Morris Jobke [Sat, 17 Jun 2017 23:28:59 +0000 (18:28 -0500)]
Merge pull request #5420 from nextcloud/stable12-appmenu-fixes

[stable12] App menu fixes

7 years ago[tx-robot] updated from transifex
Nextcloud bot [Sat, 17 Jun 2017 00:08:36 +0000 (00:08 +0000)]
[tx-robot] updated from transifex

7 years agoFix upload remaining time and uploadrate value 5442/head
Yaojin Qian [Fri, 16 Jun 2017 14:03:28 +0000 (22:03 +0800)]
Fix upload remaining time and uploadrate value

1. The upload remaining time is always 'a few second' whatever a big or a
small file uploading.
This commit fixes it. The `new Date().getMilliseconds()` only return a
three digits number. When time arrived the next second, the millisecond
start from ZERO again. So `new Date().getTime()` is the righe choice.
And remaining time variables shoule be initialized when the file starts
uploading, otherwise the remaining time of a new upload will always be
'Infinity years' until you refresh the page.

2. The unit of `data.bitrate` is bit, but the argument unit of
`humanFileSize` function is byte, so it should be divided by 8.

Signed-off-by: Yaojin Qian <i@ume.ink>
7 years ago[tx-robot] updated from transifex
Nextcloud bot [Fri, 16 Jun 2017 00:08:53 +0000 (00:08 +0000)]
[tx-robot] updated from transifex

7 years agoMerge pull request #5428 from nextcloud/5384-stable12
Morris Jobke [Thu, 15 Jun 2017 17:53:34 +0000 (12:53 -0500)]
Merge pull request #5428 from nextcloud/5384-stable12

[stable12] Allow to find local users by their email address

7 years agoBackport of #5384 to stable12 5428/head
Joas Schilling [Tue, 13 Jun 2017 16:07:47 +0000 (18:07 +0200)]
Backport of #5384 to stable12

Allow to find local users by their email address

Signed-off-by: Joas Schilling <coding@schilljs.com>
Make sure to only add system users once

Signed-off-by: Joas Schilling <coding@schilljs.com>
Add unit test

Signed-off-by: Joas Schilling <coding@schilljs.com>
7 years agoMerge pull request #5422 from nextcloud/5190-stable12
Morris Jobke [Thu, 15 Jun 2017 15:20:12 +0000 (10:20 -0500)]
Merge pull request #5422 from nextcloud/5190-stable12

[stable12] Treat PHP Errors on User session regenerate

7 years agoMerge pull request #5210 from nextcloud/ldap-attempt-reconnect-stable12
Lukas Reschke [Thu, 15 Jun 2017 11:29:42 +0000 (13:29 +0200)]
Merge pull request #5210 from nextcloud/ldap-attempt-reconnect-stable12

[stable12] Ldap attempt reconnect stable12

7 years agoForward port of #5190 to stable12 5422/head
Arthur Schiwon [Wed, 31 May 2017 10:15:06 +0000 (12:15 +0200)]
Forward port of #5190 to stable12

Treat PHP Errors on User session regenerate

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
remove unnecessary lines…

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
change PHP errors to ErrorException in the session (PHP >=7)

Otherwise it might be that authentication apps are being disabled on
during operation while in fact the session handler has hiccup.

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
7 years agoShow at least 8 icons, don't use percentage on mobile 5420/head
Julius Härtl [Wed, 14 Jun 2017 09:08:45 +0000 (11:08 +0200)]
Show at least 8 icons, don't use percentage on mobile

Signed-off-by: Julius Härtl <jus@bitgrid.net>
7 years agoDecimal percentage, dynamic appIcon width
Patrik Kernstock [Sat, 10 Jun 2017 15:33:01 +0000 (17:33 +0200)]
Decimal percentage, dynamic appIcon width

Signed-off-by: Patrik Kernstock <info@pkern.at>
7 years agoNow using dynamic percentual appmenu limit
Patrik Kernstock [Sun, 4 Jun 2017 01:26:40 +0000 (03:26 +0200)]
Now using dynamic percentual appmenu limit

Signed-off-by: Patrik Kernstock <info@pkern.at>
7 years agoClosed #5121, remove appmenu limit
Patrik Kernstock [Fri, 26 May 2017 17:39:22 +0000 (19:39 +0200)]
Closed #5121, remove appmenu limit

Signed-off-by: Patrik Kernstock <info@pkern.at>
7 years agoMerge pull request #5301 from nextcloud/bugfix-stable12/noid/fix_proppatch_requests_t...
Morris Jobke [Thu, 15 Jun 2017 04:11:18 +0000 (23:11 -0500)]
Merge pull request #5301 from nextcloud/bugfix-stable12/noid/fix_proppatch_requests_to_groupshares

[stable12] allow users to send PropPatch request when calendar is group-shared with them

7 years agoMerge pull request #5299 from nextcloud/bugfix-stable12/4885/calendar_shares_url_spec...
Morris Jobke [Thu, 15 Jun 2017 04:10:19 +0000 (23:10 -0500)]
Merge pull request #5299 from nextcloud/bugfix-stable12/4885/calendar_shares_url_special_char_issue

[stable12] urldecode group principals in Cal- and CardDAV backend

7 years ago[tx-robot] updated from transifex
Nextcloud bot [Thu, 15 Jun 2017 00:08:52 +0000 (00:08 +0000)]
[tx-robot] updated from transifex

7 years agoMerge pull request #5416 from nextcloud/stable12-5392
Morris Jobke [Wed, 14 Jun 2017 23:04:06 +0000 (18:04 -0500)]
Merge pull request #5416 from nextcloud/stable12-5392

[stable12] Use the guest.css for the maintenance page as well

7 years agoMerge pull request #5397 from nextcloud/stable12-5072
Morris Jobke [Wed, 14 Jun 2017 16:30:38 +0000 (11:30 -0500)]
Merge pull request #5397 from nextcloud/stable12-5072

[stable12] Fixed a crash caused by Local::copyFromStorage() not conforming to Co…

7 years agoMerge pull request #5026 from nextcloud/filename-input-tooltip-stable12
Morris Jobke [Wed, 14 Jun 2017 16:29:03 +0000 (11:29 -0500)]
Merge pull request #5026 from nextcloud/filename-input-tooltip-stable12

[stable12] Make file name input tooltip error text change

7 years agoMerge pull request #5401 from nextcloud/translate-oauth2
Morris Jobke [Wed, 14 Jun 2017 16:22:56 +0000 (11:22 -0500)]
Merge pull request #5401 from nextcloud/translate-oauth2

Translate OAuth2 in stable12

7 years agoUse the guest.css for the maintenance page as well 5416/head
Morris Jobke [Tue, 13 Jun 2017 21:43:25 +0000 (16:43 -0500)]
Use the guest.css for the maintenance page as well

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
7 years agoMerge pull request #5402 from nextcloud/stable12-fix/contactsmenu-l10n-search-placeholder
Joas Schilling [Wed, 14 Jun 2017 12:45:15 +0000 (14:45 +0200)]
Merge pull request #5402 from nextcloud/stable12-fix/contactsmenu-l10n-search-placeholder

[stable12] Localize contacts menu search input placeholder

7 years agoMerge pull request #5386 from nextcloud/stable12-allow-to-share-to-local-users-via...
Joas Schilling [Wed, 14 Jun 2017 12:24:01 +0000 (14:24 +0200)]
Merge pull request #5386 from nextcloud/stable12-allow-to-share-to-local-users-via-email

[stable12] Prevent sending second WWW-Authenticate header

7 years agoLocalize contacts menu search input placeholder 5402/head
Christoph Wurst [Wed, 14 Jun 2017 08:29:36 +0000 (10:29 +0200)]
Localize contacts menu search input placeholder

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
7 years agoTranslate OAuth2 in stable12 5401/head
Joas Schilling [Wed, 14 Jun 2017 09:50:58 +0000 (11:50 +0200)]
Translate OAuth2 in stable12

Signed-off-by: Joas Schilling <coding@schilljs.com>
7 years agoMerge pull request #5362 from nextcloud/exclude-files-external-dir-from-encryption...
Lukas Reschke [Wed, 14 Jun 2017 07:50:28 +0000 (09:50 +0200)]
Merge pull request #5362 from nextcloud/exclude-files-external-dir-from-encryption-stable12

[stable12] don't try to encrypt/decrypt the certificate bundle

7 years ago[tx-robot] updated from transifex
Nextcloud bot [Wed, 14 Jun 2017 00:08:49 +0000 (00:08 +0000)]
[tx-robot] updated from transifex

7 years agoMerge pull request #5296 from nextcloud/bugfix-stable12/5077/allow_proppatches_to_bir...
Morris Jobke [Tue, 13 Jun 2017 23:11:54 +0000 (18:11 -0500)]
Merge pull request #5296 from nextcloud/bugfix-stable12/5077/allow_proppatches_to_birthday_calendar

[stable12] allow PropPatch requests to contact_birthdays

7 years agoFixed a crash caused by Local::copyFromStorage() not conforming to Common::copyFromSt... 5397/head
Michael Munger [Tue, 23 May 2017 14:29:30 +0000 (10:29 -0400)]
Fixed a crash caused by Local::copyFromStorage() not conforming to Common::copyFromStorage. Issue# 5071

7 years agoMerge pull request #5063 from nextcloud/backport-4969-activity-external-user-avatars
Morris Jobke [Tue, 13 Jun 2017 22:56:39 +0000 (17:56 -0500)]
Merge pull request #5063 from nextcloud/backport-4969-activity-external-user-avatars

[stable12] Fix username and avatar for external users

7 years agoMerge pull request #5379 from nextcloud/stable12-5310-fix-tag-label-removed-when...
Morris Jobke [Tue, 13 Jun 2017 22:32:55 +0000 (17:32 -0500)]
Merge pull request #5379 from nextcloud/stable12-5310-fix-tag-label-removed-when-share-view-is-opened

[stable12] Fix tag label removed when share view is opened

7 years agoMerge pull request #5387 from nextcloud/backport-5367
Morris Jobke [Tue, 13 Jun 2017 22:23:29 +0000 (17:23 -0500)]
Merge pull request #5387 from nextcloud/backport-5367

[stable12] Fix unknown share token error message

7 years agoMerge pull request #5388 from nextcloud/stable12-5378
Morris Jobke [Tue, 13 Jun 2017 22:23:02 +0000 (17:23 -0500)]
Merge pull request #5388 from nextcloud/stable12-5378

[stable12] no themed icon when dragging folder

7 years agoMerge pull request #5389 from nextcloud/stable12-5305
Morris Jobke [Tue, 13 Jun 2017 22:22:39 +0000 (17:22 -0500)]
Merge pull request #5389 from nextcloud/stable12-5305

[stable12] Add quota to the files view

7 years agoMerge pull request #5382 from nextcloud/global-scale-settings-stable12
Morris Jobke [Tue, 13 Jun 2017 19:43:02 +0000 (14:43 -0500)]
Merge pull request #5382 from nextcloud/global-scale-settings-stable12

[stable12] fix "add to your nextcloud" input field

7 years agoMerge pull request #5385 from nextcloud/stable12-revert-5259
Morris Jobke [Tue, 13 Jun 2017 19:38:38 +0000 (14:38 -0500)]
Merge pull request #5385 from nextcloud/stable12-revert-5259

[stable12] Revert "allow admin to disable groups on personal page"

7 years agoDo not show icon for quota bar 5389/head
Morris Jobke [Tue, 13 Jun 2017 15:28:49 +0000 (10:28 -0500)]
Do not show icon for quota bar

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
7 years agoRemove unused element
Joas Schilling [Tue, 13 Jun 2017 08:12:13 +0000 (10:12 +0200)]
Remove unused element

Signed-off-by: Joas Schilling <coding@schilljs.com>
7 years agoPut the quota bar to the bottom
Morris Jobke [Mon, 12 Jun 2017 22:03:54 +0000 (17:03 -0500)]
Put the quota bar to the bottom

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
7 years agoAdjust the unit test
Joas Schilling [Mon, 12 Jun 2017 08:32:25 +0000 (10:32 +0200)]
Adjust the unit test

Signed-off-by: Joas Schilling <coding@schilljs.com>
7 years agoRemove the colored corners
Joas Schilling [Mon, 12 Jun 2017 08:25:09 +0000 (10:25 +0200)]
Remove the colored corners

Signed-off-by: Joas Schilling <coding@schilljs.com>
7 years agoAdd an event so apps can add hidden fields to the files page
Joas Schilling [Mon, 12 Jun 2017 07:57:34 +0000 (09:57 +0200)]
Add an event so apps can add hidden fields to the files page

Signed-off-by: Joas Schilling <coding@schilljs.com>
7 years agoOnly set the active item when there is one (not the case for quota)
Joas Schilling [Fri, 9 Jun 2017 16:05:23 +0000 (18:05 +0200)]
Only set the active item when there is one (not the case for quota)

Signed-off-by: Joas Schilling <coding@schilljs.com>
7 years agoContent will come from the external app
Joas Schilling [Fri, 9 Jun 2017 16:05:10 +0000 (18:05 +0200)]
Content will come from the external app

Signed-off-by: Joas Schilling <coding@schilljs.com>
7 years agoRemove useless translation and make it better on unlimited
Joas Schilling [Fri, 9 Jun 2017 15:24:10 +0000 (17:24 +0200)]
Remove useless translation and make it better on unlimited

Signed-off-by: Joas Schilling <coding@schilljs.com>
7 years agoStyle quota entry in files view
Jan-Christoph Borchardt [Fri, 9 Jun 2017 13:41:06 +0000 (15:41 +0200)]
Style quota entry in files view

Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
7 years agoAdd quota to the files view
Joas Schilling [Thu, 8 Jun 2017 14:42:43 +0000 (16:42 +0200)]
Add quota to the files view

Signed-off-by: Joas Schilling <coding@schilljs.com>
7 years agoFix #5349, no themed icon when dragging folder 5388/head
Patrik Kernstock [Tue, 13 Jun 2017 15:11:05 +0000 (17:11 +0200)]
Fix #5349, no themed icon when dragging folder

Signed-off-by: Patrik Kernstock <info@pkern.at>
7 years agoFix unknown share token 5387/head
Joas Schilling [Tue, 13 Jun 2017 16:44:14 +0000 (18:44 +0200)]
Fix unknown share token

Signed-off-by: Joas Schilling <coding@schilljs.com>
7 years agoPrevent sending second WWW-Authenticate header 5386/head
Lukas Reschke [Tue, 13 Jun 2017 11:51:33 +0000 (13:51 +0200)]
Prevent sending second WWW-Authenticate header

Overrides \Sabre\DAV\Auth\Backend\AbstractBearer::challenge to prevent sending a second WWW-Authenticate header which is standard-compliant but most DAV clients simply fail hard.

Fixes https://github.com/nextcloud/server/issues/5088

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
7 years agoRevert "allow admin to disable groups on personal page" 5385/head
Morris Jobke [Tue, 13 Jun 2017 15:43:21 +0000 (10:43 -0500)]
Revert "allow admin to disable groups on personal page"

This reverts commit 28e1a9da6cd3bce3cc843727d54094db4969dd7b.

See #5259

7 years agofix 'add to your nextcloud' input field, this is not an email address 5382/head
Bjoern Schiessle [Tue, 13 Jun 2017 15:31:44 +0000 (17:31 +0200)]
fix 'add to your nextcloud' input field, this is not an email address

Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
7 years agoExtract toggle visibility of a SystemTagsInfoView to its own view 5379/head
Daniel Calviño Sánchez [Fri, 9 Jun 2017 07:09:41 +0000 (09:09 +0200)]
Extract toggle visibility of a SystemTagsInfoView to its own view

The SystemTagsInfoViewToggleView is a basic view that renders a label
that, when clicked, toggles the visibility of an associated
SystemTagsInfoView.

In order to keep the view parent agnostic its attachment and detachment
to/from the MainfFileInfoView is done in the FilesPlugin.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
7 years agoAdd visibility related methods
Daniel Calviño Sánchez [Fri, 9 Jun 2017 01:34:56 +0000 (03:34 +0200)]
Add visibility related methods

SystemTagsInfoView now provides public methods related to its visibility
in preparation to be used by external objects.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
7 years agoFix toggle element being removed when MainFileInfoView is rendered again
Daniel Calviño Sánchez [Fri, 9 Jun 2017 06:57:34 +0000 (08:57 +0200)]
Fix toggle element being removed when MainFileInfoView is rendered again

The toggle element was added to the MainFileInfoView element when
SystemTagsInfoView was rendered. However, if the MainFileInfoView was
rendered again after that the toggle element was removed. Therefore,
instead of adding it when SystemTagsInfoView is rendered, the toggle
element has to be added when MainFileInfoView triggers its "post-render"
event.

Note, however, that when MainFileInfoView is rendered all the events are
removed from its child elements. As the toggle uses a "click" event
either the event has to be added back or the element has to be detached
before the MainFileInfoView is rendered.

Fixes #4944

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
7 years agoTrigger pre and post render events in MainFileInfoDetailsView
Daniel Calviño Sánchez [Fri, 9 Jun 2017 05:55:27 +0000 (07:55 +0200)]
Trigger pre and post render events in MainFileInfoDetailsView

The post-render event makes possible to modify the
MainFileInfoDetailsView element once it has been rendered, which is
needed by OCA.SystemTags.FilesPlugin to add the "Tags" label to the file
details, while the pre-render event makes possible to detach added
elements if needed before the MainFileInfoDetailsView is rendered again,
as that removes the events from the child DOM elements even if they
belong to other views.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
7 years agoMake possible to know the registered detail views in a details view
Daniel Calviño Sánchez [Fri, 9 Jun 2017 01:14:23 +0000 (03:14 +0200)]
Make possible to know the registered detail views in a details view

In some cases, an app may need to act on a detail view registered by
another app or the core, for example, to add extra elements to the
element of the detail view.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
7 years agoExtract duplicated code to a method
Daniel Calviño Sánchez [Fri, 9 Jun 2017 01:03:47 +0000 (03:03 +0200)]
Extract duplicated code to a method

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
7 years agoAdd acceptance tests for showing the input field for tags
Daniel Calviño Sánchez [Fri, 9 Jun 2017 01:02:33 +0000 (03:02 +0200)]
Add acceptance tests for showing the input field for tags

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
7 years agoMerge pull request #5365 from nextcloud/backport-5343
Morris Jobke [Tue, 13 Jun 2017 13:04:59 +0000 (08:04 -0500)]
Merge pull request #5365 from nextcloud/backport-5343

[stable12] filter missing groups in share provider

7 years agoMerge pull request #5303 from nextcloud/fix_5047-nc12
Joas Schilling [Tue, 13 Jun 2017 10:19:56 +0000 (12:19 +0200)]
Merge pull request #5303 from nextcloud/fix_5047-nc12

[stable12] use the email address configured in Nextcloud as sender instead of the users email address

7 years agofilter missing groups in share provider 5365/head
Robin Appelman [Mon, 12 Jun 2017 13:46:19 +0000 (15:46 +0200)]
filter missing groups in share provider

Signed-off-by: Robin Appelman <robin@icewind.nl>
7 years agoMerge pull request #5354 from nextcloud/backport-5315-stable12
Joas Schilling [Tue, 13 Jun 2017 08:41:36 +0000 (10:41 +0200)]
Merge pull request #5354 from nextcloud/backport-5315-stable12

[stable12] execute eval in global scope, addresses #5314

7 years agoMerge pull request #5355 from nextcloud/stable12-5167
Joas Schilling [Tue, 13 Jun 2017 08:20:26 +0000 (10:20 +0200)]
Merge pull request #5355 from nextcloud/stable12-5167

[stable12] l10n improvements from transifex

7 years agodon't try to encrypt/decrypt the certificate bundle 5362/head
Bjoern Schiessle [Tue, 13 Jun 2017 07:50:45 +0000 (09:50 +0200)]
don't try to encrypt/decrypt the certificate bundle

Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>