]> source.dussan.org Git - nextcloud-server.git/log
nextcloud-server.git
7 years agofix undefined constants
Robin Appelman [Mon, 18 Sep 2017 12:15:47 +0000 (14:15 +0200)]
fix undefined constants

Signed-off-by: Robin Appelman <robin@icewind.nl>
7 years agomerge vendor js
Robin Appelman [Mon, 18 Sep 2017 12:08:30 +0000 (14:08 +0200)]
merge vendor js

Signed-off-by: Robin Appelman <robin@icewind.nl>
7 years agofix path style
Robin Appelman [Thu, 31 Aug 2017 13:28:40 +0000 (15:28 +0200)]
fix path style

Signed-off-by: Robin Appelman <robin@icewind.nl>
7 years agodisable part files for s3 external storage
Robin Appelman [Wed, 7 Jun 2017 15:35:27 +0000 (17:35 +0200)]
disable part files for s3 external storage

Signed-off-by: Robin Appelman <robin@icewind.nl>
7 years agoadd stat cache for s3 external storage
Robin Appelman [Wed, 7 Jun 2017 15:34:17 +0000 (17:34 +0200)]
add stat cache for s3 external storage

Signed-off-by: Robin Appelman <robin@icewind.nl>
7 years agomore efficient is_dir
Robin Appelman [Wed, 7 Jun 2017 14:59:20 +0000 (16:59 +0200)]
more efficient is_dir

Signed-off-by: Robin Appelman <robin@icewind.nl>
7 years agomore efficient permissions for s3 external storage
Robin Appelman [Wed, 7 Jun 2017 14:53:37 +0000 (16:53 +0200)]
more efficient permissions for s3 external storage

Signed-off-by: Robin Appelman <robin@icewind.nl>
7 years agomore efficient write only fopen
Robin Appelman [Wed, 7 Jun 2017 14:50:51 +0000 (16:50 +0200)]
more efficient write only fopen

Signed-off-by: Robin Appelman <robin@icewind.nl>
7 years agoreuse object read/write/delete logic in s3 implementations
Robin Appelman [Wed, 7 Jun 2017 14:29:13 +0000 (16:29 +0200)]
reuse object read/write/delete logic in s3 implementations

Signed-off-by: Robin Appelman <robin@icewind.nl>
7 years agoupdate aws sdk and move it to 3rdparty
Robin Appelman [Thu, 20 Apr 2017 15:08:22 +0000 (17:08 +0200)]
update aws sdk and move it to 3rdparty

Signed-off-by: Robin Appelman <robin@icewind.nl>
7 years agoremove non composer aws sdk
Robin Appelman [Thu, 20 Apr 2017 11:47:30 +0000 (13:47 +0200)]
remove non composer aws sdk

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

7 years ago[tx-robot] updated from transifex
Nextcloud bot [Mon, 2 Oct 2017 00:08:33 +0000 (00:08 +0000)]
[tx-robot] updated from transifex

7 years ago[tx-robot] updated from transifex
Nextcloud bot [Sun, 1 Oct 2017 00:08:35 +0000 (00:08 +0000)]
[tx-robot] updated from transifex

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

7 years ago[tx-robot] updated from transifex
Nextcloud bot [Fri, 29 Sep 2017 00:08:31 +0000 (00:08 +0000)]
[tx-robot] updated from transifex

7 years agoMerge pull request #6689 from nextcloud/filelist-show-navigate-12
Morris Jobke [Thu, 28 Sep 2017 16:07:20 +0000 (18:07 +0200)]
Merge pull request #6689 from nextcloud/filelist-show-navigate-12

[12] navigate to the root directory when showing the main filelist

7 years agonavigate to the root directory when showing the main filelist 6689/head
Robin Appelman [Thu, 28 Sep 2017 13:15:49 +0000 (15:15 +0200)]
navigate to the root directory when showing the main filelist

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

7 years agoMerge pull request #6674 from nextcloud/backport-6549-stable12
blizzz [Wed, 27 Sep 2017 23:39:46 +0000 (01:39 +0200)]
Merge pull request #6674 from nextcloud/backport-6549-stable12

[stable12] don't pass User object when uid string is expected

7 years agodon't pass User object when uid string is expected 6674/head
Arthur Schiwon [Mon, 18 Sep 2017 11:19:47 +0000 (13:19 +0200)]
don't pass User object when uid string is expected

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
7 years agoMerge pull request #6554 from nextcloud/stable12-contacts_menu_privacy
Morris Jobke [Wed, 27 Sep 2017 13:32:29 +0000 (15:32 +0200)]
Merge pull request #6554 from nextcloud/stable12-contacts_menu_privacy

[Stable12] contacts menu privacy

7 years agoMerge pull request #6661 from nextcloud/no-take-only-throw
John Molakvoæ [Wed, 27 Sep 2017 08:43:31 +0000 (10:43 +0200)]
Merge pull request #6661 from nextcloud/no-take-only-throw

Do not stop on scss compilation failure

7 years agoDo not stop on scss compilation failure 6661/head
John Molakvoæ (skjnldsv) [Wed, 27 Sep 2017 06:35:02 +0000 (08:35 +0200)]
Do not stop on scss compilation failure

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
7 years ago[tx-robot] updated from transifex
Nextcloud bot [Wed, 27 Sep 2017 00:08:33 +0000 (00:08 +0000)]
[tx-robot] updated from transifex

7 years agoMerge pull request #6649 from nextcloud/color-border-variable
Morris Jobke [Tue, 26 Sep 2017 17:53:45 +0000 (19:53 +0200)]
Merge pull request #6649 from nextcloud/color-border-variable

Add color-border variable

7 years agoAdd color-border variable 6649/head
John Molakvoæ (skjnldsv) [Tue, 26 Sep 2017 13:38:45 +0000 (15:38 +0200)]
Add color-border variable

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
7 years ago[tx-robot] updated from transifex
Nextcloud bot [Tue, 26 Sep 2017 00:08:36 +0000 (00:08 +0000)]
[tx-robot] updated from transifex

7 years ago[tx-robot] updated from transifex
Nextcloud bot [Mon, 25 Sep 2017 00:08:12 +0000 (00:08 +0000)]
[tx-robot] updated from transifex

7 years ago[tx-robot] updated from transifex
Nextcloud bot [Sat, 23 Sep 2017 00:08:06 +0000 (00:08 +0000)]
[tx-robot] updated from transifex

7 years ago[tx-robot] updated from transifex
Nextcloud bot [Fri, 22 Sep 2017 00:08:32 +0000 (00:08 +0000)]
[tx-robot] updated from transifex

7 years ago[tx-robot] updated from transifex
Nextcloud bot [Thu, 21 Sep 2017 00:08:36 +0000 (00:08 +0000)]
[tx-robot] updated from transifex

7 years agoMerge pull request #6509 from nextcloud/backport-5689
Roeland Jago Douma [Wed, 20 Sep 2017 18:11:30 +0000 (20:11 +0200)]
Merge pull request #6509 from nextcloud/backport-5689

[stable12] LDAP: simplify returning the homePath and fixing #4117

7 years agoMerge pull request #6502 from nextcloud/backport-6453-stable12
Morris Jobke [Wed, 20 Sep 2017 14:07:28 +0000 (16:07 +0200)]
Merge pull request #6502 from nextcloud/backport-6453-stable12

[stable12] Fix initializing paged search under some circumstances

7 years agoMerge pull request #6524 from nextcloud/12-6506
Morris Jobke [Wed, 20 Sep 2017 14:06:09 +0000 (16:06 +0200)]
Merge pull request #6524 from nextcloud/12-6506

[stable12] Fix sharer name overlap with filename

7 years agoMerge pull request #6525 from nextcloud/12-6499
Morris Jobke [Wed, 20 Sep 2017 14:05:59 +0000 (16:05 +0200)]
Merge pull request #6525 from nextcloud/12-6499

[stable12] Allow to close sidebar for text files

7 years agoMerge pull request #6528 from nextcloud/fix_4654_3375-12
Morris Jobke [Wed, 20 Sep 2017 14:05:49 +0000 (16:05 +0200)]
Merge pull request #6528 from nextcloud/fix_4654_3375-12

[stable12] Pass new value to triggerChange

7 years agoMerge pull request #6547 from nextcloud/backport-6545-stable12
Morris Jobke [Wed, 20 Sep 2017 14:05:41 +0000 (16:05 +0200)]
Merge pull request #6547 from nextcloud/backport-6545-stable12

[stable12] throw 101 when an empty group string is provided

7 years agoMerge pull request #6527 from nextcloud/fix_quota_new_endpoint_12
Joas Schilling [Wed, 20 Sep 2017 07:19:06 +0000 (09:19 +0200)]
Merge pull request #6527 from nextcloud/fix_quota_new_endpoint_12

[stable12] Fix quota new endpoint 12

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

7 years agoMerge pull request #6572 from nextcloud/bump-version-another-time v12.0.3
Roeland Jago Douma [Tue, 19 Sep 2017 18:18:36 +0000 (20:18 +0200)]
Merge pull request #6572 from nextcloud/bump-version-another-time

[stable12] Bump version to 12.0.3.3

7 years agoBump version to 12.0.3.3 6572/head
Lukas Reschke [Tue, 19 Sep 2017 14:48:11 +0000 (16:48 +0200)]
Bump version to 12.0.3.3

For a build with https://github.com/nextcloud/server/pull/6570

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
7 years agoMerge pull request #6570 from nextcloud/fix-comments-activity-error-12
Lukas Reschke [Tue, 19 Sep 2017 14:07:44 +0000 (16:07 +0200)]
Merge pull request #6570 from nextcloud/fix-comments-activity-error-12

[stable12] Use the wrapper to get the parameters which was added in #6369

7 years agoUse the wrapper to get the parameters which was added in #6369 6570/head
Joas Schilling [Tue, 19 Sep 2017 13:01:43 +0000 (15:01 +0200)]
Use the wrapper to get the parameters which was added in #6369

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

7 years agoMerge pull request #6556 from nextcloud/stable12-bump-version-to-final
Roeland Jago Douma [Mon, 18 Sep 2017 18:01:51 +0000 (20:01 +0200)]
Merge pull request #6556 from nextcloud/stable12-bump-version-to-final

[stable12] Bump version to 12.0.3

7 years agoBump version to 12.0.3 6556/head
Lukas Reschke [Mon, 18 Sep 2017 16:22:09 +0000 (18:22 +0200)]
Bump version to 12.0.3

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
7 years agoAdd filter for `shareapi_allow_share_dialog_user_enumeration` 6554/head
Lukas Reschke [Fri, 15 Sep 2017 13:58:04 +0000 (15:58 +0200)]
Add filter for `shareapi_allow_share_dialog_user_enumeration`

This adjusts the contacts menu to also support searching by email address which is relevant in scenarios where no UID is known such as LDAP, etc.

Furthermore, if `shareapi_allow_share_dialog_user_enumeration` is disabled only results are shown that match the full user ID or email address.

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
7 years agoRevert "Do not list system users in contacts menu if sharing autocompletion is disabled"
Lukas Reschke [Fri, 15 Sep 2017 12:32:27 +0000 (14:32 +0200)]
Revert "Do not list system users in contacts menu if sharing autocompletion is disabled"

This reverts commit 56a9084dd2f9a5726a74e1e789773558fade8b44.

7 years agoFix issue when disabling the shareapi_only_share_with_group_members option + fix...
Tobia De Koninck [Mon, 14 Aug 2017 09:45:54 +0000 (11:45 +0200)]
Fix issue when disabling the shareapi_only_share_with_group_members option + fix findOne

Signed-off-by: Tobia De Koninck <tobia@ledfan.be>
7 years agoImprove code style
Tobia De Koninck [Sat, 5 Aug 2017 13:21:14 +0000 (15:21 +0200)]
Improve code style

Signed-off-by: Tobia De Koninck <tobia@ledfan.be>
7 years agoSome code improvements
Tobia De Koninck [Fri, 7 Jul 2017 21:12:28 +0000 (23:12 +0200)]
Some code improvements

Signed-off-by: Tobia De Koninck <tobia@ledfan.be>
7 years agoAdd tests
Tobia De Koninck [Sun, 2 Jul 2017 12:20:44 +0000 (14:20 +0200)]
Add tests

Signed-off-by: Tobia De Koninck <tobia@ledfan.be>
7 years agoFix tests
Tobia De Koninck [Sun, 2 Jul 2017 09:33:59 +0000 (11:33 +0200)]
Fix tests

Signed-off-by: Tobia De Koninck <tobia@ledfan.be>
7 years agoPrivacy enhancements for contacts menu
Tobia De Koninck [Sun, 2 Jul 2017 09:02:18 +0000 (11:02 +0200)]
Privacy enhancements for contacts menu

 - Groups, which are excluded from sharing should not see local users at all
 - If sharing is restricted to users own groups, he should only see contacts from his groups:

Signed-off-by: Tobia De Koninck <tobia@ledfan.be>
7 years agothrow 101 when an empty group string is provided 6547/head
Arthur Schiwon [Mon, 18 Sep 2017 08:56:13 +0000 (10:56 +0200)]
throw 101 when an empty group string is provided

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
7 years ago[tx-robot] updated from transifex
Nextcloud bot [Mon, 18 Sep 2017 00:08:41 +0000 (00:08 +0000)]
[tx-robot] updated from transifex

7 years ago[tx-robot] updated from transifex
Nextcloud bot [Sun, 17 Sep 2017 00:08:34 +0000 (00:08 +0000)]
[tx-robot] updated from transifex

7 years ago[tx-robot] updated from transifex
Nextcloud bot [Sat, 16 Sep 2017 00:08:34 +0000 (00:08 +0000)]
[tx-robot] updated from transifex

7 years agoPass new value to triggerChange 6528/head
Roeland Jago Douma [Thu, 31 Aug 2017 19:59:27 +0000 (21:59 +0200)]
Pass new value to triggerChange

it is not used. but pass in the empty string (on delete) and the new
file (on create)

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
7 years agoFix quota calculation on new dav upload endpoint 6527/head
Roeland Jago Douma [Wed, 13 Sep 2017 11:12:16 +0000 (13:12 +0200)]
Fix quota calculation on new dav upload endpoint

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
7 years agoAllow to close sidebar for text files 6525/head
Morris Jobke [Thu, 14 Sep 2017 09:30:54 +0000 (11:30 +0200)]
Allow to close sidebar for text files

* the close button was overlapped by the text preview and you could not close the sidebar then

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
7 years agoCorrectly ellipsize file names, fix #6498 6524/head
Jan-Christoph Borchardt [Thu, 14 Sep 2017 14:40:24 +0000 (16:40 +0200)]
Correctly ellipsize file names, fix #6498

Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
7 years agoEllipsize sharer name, ref #6498
Jan-Christoph Borchardt [Thu, 14 Sep 2017 14:38:31 +0000 (16:38 +0200)]
Ellipsize sharer name, ref #6498

Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
7 years ago[tx-robot] updated from transifex
Nextcloud bot [Fri, 15 Sep 2017 00:08:17 +0000 (00:08 +0000)]
[tx-robot] updated from transifex

7 years agolisten to deletion hooks for proper handling, adjust and add tests 6509/head
Arthur Schiwon [Thu, 13 Jul 2017 12:32:52 +0000 (14:32 +0200)]
listen to deletion hooks for proper handling, adjust and add tests

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
7 years agosimplify returning the homePath and fixing #4117
Arthur Schiwon [Tue, 11 Jul 2017 20:43:47 +0000 (22:43 +0200)]
simplify returning the homePath and fixing #4117

homesToKill was not set in runtime since some changes some place else. It
required deleteUser() to be called first. The method acts independent of it
now.

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
7 years agoadapted integration tests 6502/head
Arthur Schiwon [Mon, 11 Sep 2017 13:36:44 +0000 (15:36 +0200)]
adapted integration tests

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
7 years agofix counting found results in search op
Arthur Schiwon [Mon, 11 Sep 2017 13:30:44 +0000 (15:30 +0200)]
fix counting found results  in search op

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
7 years agoimprove and extend paging integration test
Arthur Schiwon [Mon, 11 Sep 2017 11:31:50 +0000 (13:31 +0200)]
improve and extend paging integration test

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
7 years agoreplace hard-coded attribute with the corresponding settings option
Arthur Schiwon [Mon, 11 Sep 2017 10:11:25 +0000 (12:11 +0200)]
replace hard-coded attribute with the corresponding settings option

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
7 years agofix limit-flaw in search on paged results
Arthur Schiwon [Mon, 11 Sep 2017 10:10:32 +0000 (12:10 +0200)]
fix limit-flaw in search on paged results

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
7 years ago[tx-robot] updated from transifex
Nextcloud bot [Thu, 14 Sep 2017 00:08:21 +0000 (00:08 +0000)]
[tx-robot] updated from transifex

7 years ago[tx-robot] updated from transifex v12.0.3RC2
Nextcloud bot [Wed, 13 Sep 2017 00:08:21 +0000 (00:08 +0000)]
[tx-robot] updated from transifex

7 years agoMerge pull request #6472 from nextcloud/rc2
Roeland Jago Douma [Tue, 12 Sep 2017 21:24:47 +0000 (23:24 +0200)]
Merge pull request #6472 from nextcloud/rc2

v12.0.3RC2

7 years agoMerge pull request #6474 from nextcloud/2fa_apppasword_auth_12
Roeland Jago Douma [Tue, 12 Sep 2017 21:23:46 +0000 (23:23 +0200)]
Merge pull request #6474 from nextcloud/2fa_apppasword_auth_12

[stable12] Fix AppPassword 2FA auth

7 years agoFix AppPassword 2FA auth 6474/head
Roeland Jago Douma [Tue, 12 Sep 2017 20:28:43 +0000 (22:28 +0200)]
Fix AppPassword 2FA auth

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
7 years agov12.0.3RC2 6472/head
Lukas Reschke [Tue, 12 Sep 2017 20:11:17 +0000 (22:11 +0200)]
v12.0.3RC2

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
7 years agoMerge pull request #6466 from nextcloud/12-0-3-rc1 v12.0.3RC1
Morris Jobke [Tue, 12 Sep 2017 14:12:06 +0000 (16:12 +0200)]
Merge pull request #6466 from nextcloud/12-0-3-rc1

12.0.3 RC1

7 years ago12.0.3 RC1 6466/head
Lukas Reschke [Tue, 12 Sep 2017 12:46:18 +0000 (14:46 +0200)]
12.0.3 RC1

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
7 years agoMerge pull request #6443 from nextcloud/backport-6064-absolute-path-must-be-relative...
Morris Jobke [Tue, 12 Sep 2017 08:03:29 +0000 (10:03 +0200)]
Merge pull request #6443 from nextcloud/backport-6064-absolute-path-must-be-relative-to-files-on-theming-update

[stable12] Still throw a locked exception when the path is not relative to $user/files/

7 years agoMerge pull request #6444 from nextcloud/backport-6351-sql-syntax-on-caldav
Morris Jobke [Tue, 12 Sep 2017 07:43:24 +0000 (09:43 +0200)]
Merge pull request #6444 from nextcloud/backport-6351-sql-syntax-on-caldav

[stable12] not to backquote LIMIT on CalDavBackend.php

7 years agoMerge pull request #6359 from nextcloud/12-6082
Morris Jobke [Tue, 12 Sep 2017 07:41:10 +0000 (09:41 +0200)]
Merge pull request #6359 from nextcloud/12-6082

[stable12] Use separate element color in theming

7 years agoMerge pull request #6446 from nextcloud/backport-6414-share-notification-wrong-language
Morris Jobke [Tue, 12 Sep 2017 07:40:19 +0000 (09:40 +0200)]
Merge pull request #6446 from nextcloud/backport-6414-share-notification-wrong-language

[stable12] Use the language of the recipient for the share notification

7 years ago[tx-robot] updated from transifex
Nextcloud bot [Tue, 12 Sep 2017 00:08:34 +0000 (00:08 +0000)]
[tx-robot] updated from transifex

7 years agoMerge pull request #6442 from nextcloud/backport-6416-make-sure-sqlite-works-without...
Morris Jobke [Mon, 11 Sep 2017 21:20:58 +0000 (23:20 +0200)]
Merge pull request #6442 from nextcloud/backport-6416-make-sure-sqlite-works-without-content

[stable12] Ask the schema whether the table and column exist

7 years agoMerge pull request #6427 from nextcloud/backport-to-fix-popover-hovering
Morris Jobke [Mon, 11 Sep 2017 21:11:40 +0000 (23:11 +0200)]
Merge pull request #6427 from nextcloud/backport-to-fix-popover-hovering

[stable12] Fix hovering on all popover types

7 years agoMerge pull request #6441 from nextcloud/backport-6369-missing-translations-of-comment...
Morris Jobke [Mon, 11 Sep 2017 21:09:56 +0000 (23:09 +0200)]
Merge pull request #6441 from nextcloud/backport-6369-missing-translations-of-comment-activity-in-email

[stable12] Allow translations of the comments activity in the emails too

7 years agoMerge pull request #6440 from nextcloud/stable12-session-timeout-refresh-csrf-token
Morris Jobke [Mon, 11 Sep 2017 20:34:37 +0000 (22:34 +0200)]
Merge pull request #6440 from nextcloud/stable12-session-timeout-refresh-csrf-token

[stable12] Fix failing csp/nonce check due to timed out session

7 years agoUse the language of the recipient for the share notification 6446/head
Joas Schilling [Fri, 8 Sep 2017 08:34:19 +0000 (10:34 +0200)]
Use the language of the recipient for the share notification

Signed-off-by: Joas Schilling <coding@schilljs.com>
7 years agonot to backquote LIMIT on CalDavBackend.php 6444/head
nhirokinet [Sun, 3 Sep 2017 14:51:49 +0000 (23:51 +0900)]
not to backquote LIMIT on CalDavBackend.php

7 years agoDon't lock in the appdata_ directory 6443/head
Joas Schilling [Thu, 10 Aug 2017 10:35:33 +0000 (12:35 +0200)]
Don't lock in the appdata_ directory

Signed-off-by: Joas Schilling <coding@schilljs.com>
7 years agoStill throw a locked exception when the path is not relative to $user/files/
Joas Schilling [Thu, 10 Aug 2017 09:58:01 +0000 (11:58 +0200)]
Still throw a locked exception when the path is not relative to $user/files/

Signed-off-by: Joas Schilling <coding@schilljs.com>
7 years agoFix Nextcloud 12 compatibility 6442/head
Joas Schilling [Mon, 11 Sep 2017 09:14:33 +0000 (11:14 +0200)]
Fix Nextcloud 12 compatibility

Signed-off-by: Joas Schilling <coding@schilljs.com>
7 years agoAsk the schema whether the table and column exist
Joas Schilling [Fri, 8 Sep 2017 09:37:22 +0000 (11:37 +0200)]
Ask the schema whether the table and column exist

Signed-off-by: Joas Schilling <coding@schilljs.com>
7 years agoAllow translations of the comments activity in the emails too 6441/head
Joas Schilling [Tue, 5 Sep 2017 16:10:32 +0000 (18:10 +0200)]
Allow translations of the comments activity in the emails too

Message and object data is not available on emails atm,
so we can not use them either...

Signed-off-by: Joas Schilling <coding@schilljs.com>
7 years agoFix failing csp/nonce check due to timed out session 6440/head
Christoph Wurst [Mon, 4 Sep 2017 15:29:26 +0000 (17:29 +0200)]
Fix failing csp/nonce check due to timed out session

The CSP nonce is based on the CSRF token. This token does not change,
unless you log in (or out). In case of the session data being lost,
e.g. because php gets rid of old sessions, a new CSRF token is gen-
erated. While this is fine in theory, it actually caused some annoying
problems where the browser restored a tab and Nextcloud js was blocked
due to an outdated nonce.
The main problem here is that, while processing the request, we write
out security headers relatively early. At that point the CSRF token
is known/generated and transformed into a CSP nonce. During this request,
however, we also log the user in because the session information was
lost. At that point we also refresh the CSRF token, which eventually
causes the browser to block any scripts as the nonce in the header
does not match the one which is used to include scripts.
This patch adds a flag to indicate whether the CSRF token should be
refreshed or not. It is assumed that refreshing is only necessary
if we want to re-generate the session id too. To my knowledge, this
case only happens on fresh logins, not when we recover from a deleted
session file.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
7 years ago[tx-robot] updated from transifex
Nextcloud bot [Mon, 11 Sep 2017 00:08:28 +0000 (00:08 +0000)]
[tx-robot] updated from transifex

7 years ago[tx-robot] updated from transifex
Nextcloud bot [Sun, 10 Sep 2017 00:08:33 +0000 (00:08 +0000)]
[tx-robot] updated from transifex

7 years agoFix hovering on all popover types 6427/head
John Molakvoæ (skjnldsv) [Thu, 7 Sep 2017 16:43:31 +0000 (18:43 +0200)]
Fix hovering on all popover types

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>