Commit Graph

60359 Commits (e9b414fbe39eea609c5cfdfb0266527977495802)
 

Author SHA1 Message Date
Naoto Kobayashi e9b414fbe3 OC_Util: Add fallbacks to check if current locale is UTF8
Using escapeshellcmd to get current locale causes error
if the function is disabled.

Add fallbacks to prevent the error.

Signed-off-by: Naoto Kobayashi <naoto.kobayashi4c@gmail.com>
2021-11-16 00:40:52 +07:00
Naoto Kobayashi 25f15f86a9 Add check whether escapeshellcmd behaves the same as basename
Signed-off-by: Naoto Kobayashi <naoto.kobayashi4c@gmail.com>
2021-11-15 18:33:50 +07:00
Naoto Kobayashi d2eb5aaa6d Check whether setlocale works only after setlocale
Signed-off-by: Naoto Kobayashi <naoto.kobayashi4c@gmail.com>
2021-11-14 09:18:59 +07:00
Naoto Kobayashi 455bff5c17 Fix missing setlocale with php 8
When php version = 8, basename('§') does not bug even if LC_ALL is non-UTF-8 locale.
This cause OC_Util::isSetLocaleWorking() to skip setlocale("C.UTF-8").

Fix it by using escapeshellcmd instead of basename.

Signed-off-by: Naoto Kobayashi <naoto.kobayashi4c@gmail.com>
2021-11-14 09:18:59 +07:00
Nextcloud bot 7071d056a2
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-13 02:25:42 +07:00
Joas Schilling f9f02ef45c
Merge pull request #29682 from nextcloud/bugfix/29678/fix-missing-token-update
Fix missing token update
2021-11-12 15:46:59 +07:00
Joas Schilling 265c2c125c
Fix unit tests
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-11-12 15:01:56 +07:00
Joas Schilling ccfaddf781
Fix missing token update
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-11-12 14:43:23 +07:00
Nextcloud bot eb7109b3f4
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-12 02:22:55 +07:00
Christoph Wurst 31bcd10c2a
Merge pull request #29663 from nextcloud/fix/dav-calenar-loader-load-all-calendars
Fix loading all principal calendars in the dav app calendar provider
2021-11-11 16:09:45 +07:00
Christoph Wurst 4aae1843af
Merge pull request #29660 from nextcloud/fix/calendar-query-uris-init
Fix initialization of calendar search URIs
2021-11-11 16:03:34 +07:00
blizzz 17e75fb4a1
Merge pull request #29664 from nextcloud/bugfix/noid/fix-update-with-old-force-enabled-apps
Fix updating with apps
2021-11-11 14:36:10 +07:00
Joas Schilling 66ffedcb16
Fix updating with apps
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-11-11 13:56:42 +07:00
Christoph Wurst 603a88f2ee
Fix loading all principal calendars in the dav app calendar provider
If we load all calendar infos of a principal then we get back an array
and not a single calendar info. This was handled incorrectly and an
array of calendar infos were passed to the calendar implementation,
resulting in interesting bugs.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-11-11 13:31:32 +07:00
Christoph Wurst 53cc26e0be
Fix initialization of calendar search URIs
They are an empty array by default. If you don't initialize then
accessing them via the setter will throw a type error.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-11-11 10:53:11 +07:00
Joas Schilling 92d4844e0b
Merge pull request #29648 from nextcloud/master-is-now-24
Master is now 24
2021-11-11 10:37:56 +07:00
Joas Schilling 8e12ac290f
Master is now 24
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-11-11 10:11:09 +07:00
Nextcloud bot 3b22bc3183
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-11 02:23:07 +07:00
blizzz 4e1e81f336
Merge pull request #29595 from nextcloud/release/23.0.0rc1
23.0.0 RC1
2021-11-10 20:48:14 +07:00
Carl Schwan 344a889592
Merge pull request #29484 from nextcloud/bugfix/noid/s3-external-conflict
Use unique combination of hostname/bucket/key for external storages
2021-11-10 15:56:10 +07:00
Joas Schilling 9673579f20
Merge pull request #29522 from nextcloud/bugfix/26256/make-sure-trusted_proxies-is-an-array
Make sure trusted_proxies is an array
2021-11-10 14:12:38 +07:00
Carl Schwan f5954a2761
Merge pull request #29611 from newroco/bugfix/16412/show-most-recently-deleted-files-first
Show most recently deleted files first in trash can
2021-11-10 13:55:59 +07:00
Orzu Ionut 00c23ccd02 Update filelist test
Signed-off-by: Orzu Ionut <orzu.ionut@gmail.com>
2021-11-10 12:10:56 +07:00
Orzu Ionut 5b075847f8 Compile JS code
Signed-off-by: Orzu Ionut <orzu.ionut@gmail.com>
2021-11-10 11:49:19 +07:00
Nextcloud bot 70c10f09fe
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-10 02:24:27 +07:00
Joas Schilling a99efca551
Merge pull request #29559 from nextcloud/feat/28139/profile-respect-user-enumeration
Respect user enumeration settings on profile
2021-11-09 23:49:01 +07:00
Christoph Wurst 52f8f4a399
Merge pull request #29590 from nextcloud/enhanc/availibility_settings_polishing
Polish availibility settings
2021-11-09 18:06:24 +07:00
Orzu Ionut 33c1c5c91b Show most recently deleted files first in trash can
Signed-off-by: Orzu Ionut <orzu.ionut@gmail.com>
2021-11-09 16:59:16 +07:00
Joas Schilling e8f7a08e52
ArgumentCountError: Too few arguments to function OCA\Settings\Controller\CheckSetupController::__construct()
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-11-09 15:13:24 +07:00
Joas Schilling 24935666e8
PHPUnit\Framework\MockObject\DuplicateMethodException: Cannot stub or mock using a method list that contains duplicates:
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-11-09 15:13:24 +07:00
Joas Schilling 19d070850b
Make sure trusted_proxies is an array
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-11-09 15:13:24 +07:00
Joas Schilling 3b91e4cc48
Add unit test for share enumeration method
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-11-09 14:42:57 +07:00
Julius Härtl b7d007547a
Add migration to move over existing storage ids
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-11-09 14:34:05 +07:00
greta 3b22d1902d
Polish availibility settings
Signed-off-by: greta <gretadoci@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-11-09 11:58:21 +07:00
Joas Schilling fa036b2001
Move common logic to share manager
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-11-09 10:10:53 +07:00
Nextcloud bot 81b60c14c9
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-09 03:26:13 +07:00
Carl Schwan d879299a61
Merge pull request #29029 from nextcloud/fix/28243/render-html-entities
Fix HTML entity rendering in file comments sidebar
2021-11-08 23:51:24 +07:00
Christopher Ng e5873a2f8d
Fix HTML entity rendering in file comments sidebar
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-11-08 22:21:13 +07:00
dependabot[bot] 18e32104ce
Merge pull request #29574 from nextcloud/dependabot/npm_and_yarn/core-js-3.19.1 2021-11-08 17:39:44 +07:00
John Molakvoæ c208981349 Merge pull request #29572 from nextcloud/dependabot/npm_and_yarn/nextcloud/event-bus-2.1.1
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-11-08 16:32:39 +07:00
Julien Veyssier 7c516a1af3
Merge pull request #29592 from nextcloud/enh/11864/drag-n-drop-empty-directory
Handle empty directory drag-and-drop in Files UI
2021-11-08 17:17:05 +07:00
John Molakvoæ c9421e39c1
Merge pull request #29594 from nextcloud/fix/force-calendar-object-change-path 2021-11-08 16:52:13 +07:00
dependabot[bot] 5a86aa98fd
Bump @nextcloud/event-bus from 2.0.0 to 2.1.1
Bumps [@nextcloud/event-bus](https://github.com/nextcloud/nextcloud-event-bus) from 2.0.0 to 2.1.1.
- [Release notes](https://github.com/nextcloud/nextcloud-event-bus/releases)
- [Changelog](https://github.com/nextcloud/nextcloud-event-bus/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nextcloud/nextcloud-event-bus/compare/v2.0.0...v2.1.1)

---
updated-dependencies:
- dependency-name: "@nextcloud/event-bus"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-08 15:42:24 +07:00
dependabot[bot] 17881a0b5e
Bump core-js from 3.19.0 to 3.19.1
Bumps [core-js](https://github.com/zloirock/core-js) from 3.19.0 to 3.19.1.
- [Release notes](https://github.com/zloirock/core-js/releases)
- [Changelog](https://github.com/zloirock/core-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/zloirock/core-js/compare/v3.19.0...v3.19.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-08 15:42:00 +07:00
Anna Larch da22791424 Force Calendar Obejct Chnage Path to support public write
Signed-off-by: Anna Larch <anna@nextcloud.com>
2021-11-08 16:06:39 +07:00
John Molakvoæ cb0df3ecfa
23.0.0 RC1
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2021-11-08 15:29:12 +07:00
Julien Veyssier 742703c92f
refs #11864 handle empty dir drop in Files UI
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2021-11-08 12:22:57 +07:00
Nextcloud bot 586cc9bcbc
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-08 02:33:09 +07:00
Nextcloud bot 690ba0087e
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-07 02:22:34 +07:00
dependabot[bot] b12d24707c
Merge pull request #29569 from nextcloud/dependabot/npm_and_yarn/nextcloud/initial-state-1.2.1 2021-11-06 13:00:46 +07:00