Commit graph

60838 commits

Author SHA1 Message Date
Vincent Petry
64f376e4b9
Merge pull request #31098 from nextcloud/backport/30942/stable23
[stable23] only setup part of the filesystem for appdata requests
2022-03-01 16:00:45 +01:00
Louis
abc1b8f997
Merge pull request #31369 from nextcloud/dependabot/npm_and_yarn/stable23/backbone-1.4.1
Bump backbone from 1.4.0 to 1.4.1
2022-02-28 15:05:13 +01:00
dependabot[bot]
d57cccc1d6 Bump backbone from 1.4.0 to 1.4.1
Bumps [backbone](https://github.com/jashkenas/backbone) from 1.4.0 to 1.4.1.
- [Release notes](https://github.com/jashkenas/backbone/releases)
- [Commits](https://github.com/jashkenas/backbone/compare/1.4.0...1.4.1)

---
updated-dependencies:
- dependency-name: backbone
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-02-28 11:10:44 +00:00
Carl Schwan
d1e87ad35c
Merge pull request #31244 from nextcloud/backport/31141/stable23
[stable23] Improve caching policy use immutable when loading versionned assets
2022-02-28 11:17:00 +01:00
Nextcloud bot
31c78dd0a8
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-02-28 02:45:20 +00:00
Nextcloud bot
d26defb990
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-02-27 02:26:33 +00:00
Nextcloud bot
1e8538b396
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-02-26 02:26:10 +00:00
Nextcloud bot
fbef34baf3
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-02-25 02:27:30 +00:00
Côme Chilliet
4911b23807
Merge pull request #31313 from nextcloud/backport/31309/stable23
[stable23] Avoid PHP errors in the checkers drone step
2022-02-24 09:54:37 +01:00
John Molakvoæ
800e366c8c
Merge pull request #31262 from nextcloud/backport/20766/stable23 2022-02-24 08:20:47 +01:00
Nextcloud bot
bf5f570f21
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-02-24 02:26:49 +00:00
Joas Schilling
28c526b29e
Merge pull request #31192 from nextcloud/backport/31106/stable23
[stable23] Improve user status revert performance
2022-02-23 13:38:33 +01:00
Thomas Citharel
51e011766d
Fix cleaning reminders after subscription purge
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-02-23 10:04:21 +01:00
Nextcloud bot
5d82e62f5a
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-02-23 02:27:57 +00:00
blizzz
edfa6033b9
Merge pull request #31306 from nextcloud/backport/30938/stable23
[stable23] Fix ldap:check-user method for newly created LDAP users
2022-02-22 18:50:47 +01:00
blizzz
6725d36598
Merge pull request #31318 from nextcloud/backport/30945/stable23
[stable23] Background job time windows
2022-02-22 18:41:24 +01:00
Joas Schilling
954d4e18d1 Use the new option to signaling insensitivity
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-02-22 10:59:21 +00:00
Joas Schilling
30ecb7ade2 Allow sysadmins to define a maintenance window where heavier jobs can run
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-02-22 10:59:20 +00:00
Joas Schilling
c8db7d35bf Allow apps to specify if their background job can be delayed
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-02-22 10:59:19 +00:00
Joas Schilling
69e73cbdab
Merge pull request #31297 from nextcloud/backport/31217/stable23
[stable23] Also cache non-existing to reuse it
2022-02-22 11:49:16 +01:00
Côme Chilliet
c29ba3a1d8
Make it explicit that a DN can be used for ldap:check-user
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-02-22 10:14:58 +01:00
Côme Chilliet
9c34638a36
Improve typing in apps/user_ldap/lib/Command/CheckUser.php
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-02-22 10:14:57 +01:00
Côme Chilliet
6e7ed28e06
Remove parenthesis around return in apps/user_ldap/lib/Command/CheckUser.php
Co-authored-by: Carl Schwan <carl@carlschwan.eu>

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-02-22 10:14:57 +01:00
Côme Chilliet
bbfaeabdf3
Fix ldap:check-user method for newly created LDAP users
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-02-22 10:14:41 +01:00
Louis
8415ccaf07
Merge pull request #31302 from nextcloud/backport/31195/stable23
[stable23] Wrap S3 multipart upload exception
2022-02-22 10:07:56 +01:00
Côme Chilliet
517e5a506c Avoid PHP errors in the checkers drone step
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-02-22 08:08:30 +00:00
Côme Chilliet
1288f33fd1
Merge pull request #31299 from nextcloud/backport/29837/stable23
[stable23] Ignore cache in occ ldap:check-ldap command
2022-02-21 15:56:51 +01:00
Louis Chemineau
5043a9dc6b Wrap S3 multipart upload exception
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-02-21 14:25:54 +00:00
Louis Chemineau
7a2697a100 Wrap S3 multipart upload exception
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-02-21 14:25:52 +00:00
Simon L
8bda7de345
Merge pull request #30999 from nextcloud/backport/30985/stable23
[stable23] Use the unjailed-path in OC_Helper::getStorageInfo() for files located in SharedStorage.
2022-02-21 12:36:23 +01:00
Côme Chilliet
99c5a414df
Check LDAP upon user deletion instead of refusing based on cached information
This should avoid having to wait for background job to run after
 deleting a user in LDAP before being able to delete it in Nextcloud.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-02-21 12:19:52 +01:00
Côme Chilliet
ff7cf4d6b5
Ignore cache in occ ldap:check-ldap command
This avoids having to wait or reset the cache after deleting a user in
 the LDAP.
This also fixes a PHP error when running ldap:check-ldap --update on a
 deleted but cached user.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-02-21 12:18:47 +01:00
Joas Schilling
3df6208537 Also cache non-existing to reuse it
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-02-21 11:07:54 +00:00
Louis
fe8da2115b
Merge pull request #31023 from nextcloud/dependabot/npm_and_yarn/stable23/clipboard-2.0.10
[stable23] Bump clipboard from 2.0.9 to 2.0.10
2022-02-21 10:57:27 +01:00
dependabot[bot]
e36e6a5429 Bump clipboard from 2.0.9 to 2.0.10
Bumps [clipboard](https://github.com/zenorocha/clipboard.js) from 2.0.9 to 2.0.10.
- [Release notes](https://github.com/zenorocha/clipboard.js/releases)
- [Commits](https://github.com/zenorocha/clipboard.js/compare/v2.0.9...v2.0.10)

---
updated-dependencies:
- dependency-name: clipboard
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-02-19 22:43:36 +01:00
Simon L
ade7e90bf9
Merge pull request #31253 from nextcloud/backport/31169/stable23
[stable23] hide download button for images
2022-02-18 19:12:57 +01:00
Claus-Justus Heine
539c993c33 Use the unjailed-path in OC_Helper::getStorageInfo() for files located in SharedStorage.
The current implementation already switches the storage-backend to
$storage->getSourceStorage(). However, it then calls
$rootInfo->getInternalPath() which returns the internal path relative to
the storage where the share is mounted. This is wrong, we need also to
unjail the path. Compare, e.g., with
OCA\Files_Sharing\SharedStorage::file_get/put_contents() for the
"logic".

Signed-off-by: Claus-Justus Heine <himself@claus-justus-heine.de>
2022-02-18 15:45:48 +00:00
Thomas Citharel
12387e485f Clean reminders for calendar when deleting a subscription
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-02-18 14:57:03 +00:00
Thomas Citharel
2217e459dc Consider only reminders with calendar data
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-02-18 14:57:02 +00:00
Vincent Petry
f69a79ed6c
Merge pull request #31050 from nextcloud/backport/30995/stable23
[stable23] Fix bugs with incorrect currentFileList in the favorite and share by you view
2022-02-18 15:51:30 +01:00
Carl Schwan
f6d0bb419e Improve caching policy
* Cache css with version in url. This makes most js and css requests to
  be cached by the browser

* Force caching previews, the etag is in the url so that if the propfind
  gives a new etag, we will refresh it otherwise it's no use to try to
  fetch the new etag and do tons of DB queries

Tested with firefox and 'debug' => false (important so that the js/css
urls are generated with ?v= parameter)

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-02-18 14:28:24 +01:00
szaimen
4136eed054 hide download button for images
Signed-off-by: szaimen <szaimen@e.mail.de>
2022-02-18 11:03:04 +00:00
Carl Schwan
580feb4501
Merge pull request #31226 from nextcloud/dependabot/npm_and_yarn/stable23/dompurify-2.3.6
Bump dompurify from 2.3.5 to 2.3.6
2022-02-17 17:33:21 +01:00
Côme Chilliet
cbc1cc78d1
Merge pull request #30967 from nextcloud/techdebt/noid/bump-samba-images
[stable23] Bump samba images in tests
2022-02-17 16:37:25 +01:00
Joas Schilling
a470035ef3 Bump samba images
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-02-17 13:27:46 +00:00
dependabot[bot]
2256daeb4f Bump dompurify from 2.3.5 to 2.3.6
Bumps [dompurify](https://github.com/cure53/DOMPurify) from 2.3.5 to 2.3.6.
- [Release notes](https://github.com/cure53/DOMPurify/releases)
- [Commits](https://github.com/cure53/DOMPurify/compare/2.3.5...2.3.6)

---
updated-dependencies:
- dependency-name: dompurify
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-02-17 09:52:34 +00:00
Vincent Petry
bab0881f98
Merge pull request #30852 from nextcloud/backport/30763/stable23
[stable23] Allow writing audit log to syslog and systemdlog
2022-02-17 09:44:26 +01:00
Joas Schilling
5271bd16d0 Allow write audit log to syslog and systemdlog
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-02-16 16:02:09 +00:00
Joas Schilling
67a8d3f736 Allow to get custom loggers for syslog, errorlog and systemdlog too
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-02-16 16:02:09 +00:00
Simon L
f08ac1efcf
Merge pull request #31179 from nextcloud/backport/31090/stable23
[stable23] fix overlapping buttons in apps-management
2022-02-16 13:29:55 +01:00