Commit graph

60395 commits

Author SHA1 Message Date
Joas Schilling
2df7ea7dae
Merge pull request #29752 from nextcloud/fix/allow-some-pages-without-two-factor
Explicitly allow access on some (public) routes also without 2FA
2021-11-18 10:43:28 +01:00
Nextcloud bot
69ab7b4a27
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-18 02:25:38 +00:00
Christoph Wurst
c8caba265f
Explicitly allow some routes without 2FA
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-11-17 18:42:21 +01:00
Joas Schilling
e272ac258a
Merge pull request #29747 from nextcloud/allow-to-serve-static-webassembly-and-tensorflow-lite-files
Allow to serve static WebAssembly and TensorFlow Lite files
2021-11-17 15:09:21 +01:00
Daniel Calviño Sánchez
24bc96ad09 Allow to serve static WebAssembly and TensorFlow Lite files
Since Talk 13 (and thus Nextcloud 23) WebAssembly (.wasm) and TensorFlow
Lite (.tflite) files need to be loaded from the web server to provide
certain features (like the background blur in the WebUI).

Those files can be treated in a similar way to other static resources,
and there should not be any problem caching or compressing them.
However, as compressed TensorFlow Lite files are only ~12% smaller,
the compression directive depends on the MIME type and there is no
standard MIME type for TensorFlow Lite files it is not worth to compress
them.

Moreover, no directives to compress WebAssembly files were added either,
as it seems that they would override any other compression directives
set in the default server configuration; for reference it could be done
with something like:
<IfModule mod_deflate.c>
  <IfModule mod_filter.c>
    AddOutputFilterByType DEFLATE application/wasm
  </IfModule>
</IfModule>

Depending on the setup "application/wasm" may not be associated with
".wasm" files, so the directive was added just in case, as otherwise
browsers log a warning.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-11-17 13:00:39 +01:00
Vincent Petry
c833a4bfec
Merge pull request #29734 from nextcloud/rakekniven-patch-2
Fixed grammar
2021-11-17 12:02:51 +01:00
Nextcloud bot
0a82d2ea3a
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-17 02:45:31 +00:00
MichaIng
ab293aaba9
Merge pull request #29570 from nextcloud/dependabot/npm_and_yarn/build/puppeteer-11.0.0
Bump puppeteer from 10.4.0 to 11.0.0 in /build
2021-11-17 03:05:22 +01:00
dependabot[bot]
abe48d75df
Merge pull request #29577 from nextcloud/dependabot/composer/build/integration/behat/behat-approx-3.10.0 2021-11-17 01:52:50 +00:00
dependabot[bot]
f11d0fe00c
Bump puppeteer from 10.4.0 to 11.0.0 in /build
Bumps [puppeteer](https://github.com/puppeteer/puppeteer) from 10.4.0 to 11.0.0.
- [Release notes](https://github.com/puppeteer/puppeteer/releases)
- [Changelog](https://github.com/puppeteer/puppeteer/blob/main/CHANGELOG.md)
- [Commits](https://github.com/puppeteer/puppeteer/compare/v10.4.0...v11.0.0)

---
updated-dependencies:
- dependency-name: puppeteer
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-17 01:18:54 +00:00
dependabot[bot]
c1cf89e430
Update behat/behat requirement in /build/integration
Updates the requirements on [behat/behat](https://github.com/Behat/Behat) to permit the latest version.
- [Release notes](https://github.com/Behat/Behat/releases)
- [Changelog](https://github.com/Behat/Behat/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Behat/Behat/compare/v3.9.0...v3.10.0)

---
updated-dependencies:
- dependency-name: behat/behat
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-17 01:17:11 +00:00
Vincent Petry
67ff36bd0c
Merge pull request #29695 from YoitoFes/fix_missing_setlocale
Fix missing setlocale with php 8
2021-11-16 18:49:37 +01:00
rakekniven
80e0e339a3
Fixed grammar
Reported at Transifex.

Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
2021-11-16 18:13:05 +01:00
Naoto Kobayashi
6fc8694324 OC_Util::isNonUTF8Locale: fix lint error
Signed-off-by: Naoto Kobayashi <naoto.kobayashi4c@gmail.com>
2021-11-16 21:05:43 +09:00
Carl Schwan
6ea81dd2cb
Merge pull request #29683 from nextcloud/bugfix/29676/fix-theming-dependencies
Fix core depending on theming app
2021-11-16 11:33:08 +01:00
Nextcloud bot
287e048d40
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-16 02:24:16 +00:00
John Molakvoæ
7c4e76b9a8
Merge pull request #29714 from nextcloud/bump-doctrine-dbal 2021-11-15 19:55:14 +01:00
Joas Schilling
18f3d836a5
Bump doctrine/dbal to 3.1.4
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-11-15 18:54:06 +01:00
Joas Schilling
5bb49feef8
Allow NULL as well for limit, not integer only
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-11-15 18:51:28 +01:00
MichaIng
9189bc21fb Correct comment about OC_Defaults being used
Signed-off-by: MichaIng <micha@dietpi.com>
2021-11-15 18:44:02 +01:00
Naoto Kobayashi
c42c972ab0 OC_Util::isSetLocaleWorking: fix typo
Signed-off-by: Naoto Kobayashi <naoto.kobayashi4c@gmail.com>
2021-11-16 00:46:21 +09:00
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 +09:00
szaimen
d706c7e062
Merge pull request #29679 from nextcloud/enh/18685/dont-flash
don't flash external storage mountpoints during the status check
2021-11-15 13:09:49 +01:00
Louis
582234322a
Merge pull request #29688 from nextcloud/dependabot/npm_and_yarn/marked-4.0.2
Bump marked from 3.0.7 to 4.0.2
2021-11-15 11:30:02 +01:00
Louis
2ff24c0cfd
Merge pull request #29689 from nextcloud/dependabot/npm_and_yarn/nextcloud/stylelint-config-2.0.1
Bump @nextcloud/stylelint-config from 1.0.0-beta.0 to 2.0.1
2021-11-15 11:29:00 +01: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 +09:00
Christoph Wurst
98b963e8a2
Merge pull request #29661 from nextcloud/enhancement/calendar-search-properties-api
Document and type allowed property names for calendar property searches
2021-11-15 10:02:47 +01:00
Nextcloud bot
788a1fcca4
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-15 02:24:28 +00:00
Nextcloud bot
72787cdcfd
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-14 02:25:33 +00: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 +09: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 +09:00
dependabot[bot]
835b4bb2cd
Merge pull request #29657 from nextcloud/dependabot/npm_and_yarn/moment-timezone-0.5.34 2021-11-14 00:01:09 +00:00
dependabot[bot]
38ca1c2052 Bump moment-timezone from 0.5.33 to 0.5.34
Bumps [moment-timezone](https://github.com/moment/moment-timezone) from 0.5.33 to 0.5.34.
- [Release notes](https://github.com/moment/moment-timezone/releases)
- [Changelog](https://github.com/moment/moment-timezone/blob/develop/changelog.md)
- [Commits](https://github.com/moment/moment-timezone/compare/0.5.33...0.5.34)

---
updated-dependencies:
- dependency-name: moment-timezone
  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>
2021-11-14 00:17:25 +01:00
dependabot[bot]
b55e173128 Bump marked from 3.0.7 to 4.0.2
Bumps [marked](https://github.com/markedjs/marked) from 3.0.7 to 4.0.2.
- [Release notes](https://github.com/markedjs/marked/releases)
- [Changelog](https://github.com/markedjs/marked/blob/master/.releaserc.json)
- [Commits](https://github.com/markedjs/marked/compare/v3.0.7...v4.0.2)

---
updated-dependencies:
- dependency-name: marked
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-11-13 15:53:31 +00:00
dependabot[bot]
bbf01e137e
Merge pull request #29690 from nextcloud/dependabot/npm_and_yarn/jsdom-18.1.0 2021-11-13 04:57:51 +00:00
Nextcloud bot
7071d056a2
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-13 02:25:42 +00:00
dependabot[bot]
ea04dc02b1
Bump jsdom from 18.0.1 to 18.1.0
Bumps [jsdom](https://github.com/jsdom/jsdom) from 18.0.1 to 18.1.0.
- [Release notes](https://github.com/jsdom/jsdom/releases)
- [Changelog](https://github.com/jsdom/jsdom/blob/master/Changelog.md)
- [Commits](https://github.com/jsdom/jsdom/compare/18.0.1...18.1.0)

---
updated-dependencies:
- dependency-name: jsdom
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-13 02:05:28 +00:00
dependabot[bot]
cadfd3ef6b
Bump @nextcloud/stylelint-config from 1.0.0-beta.0 to 2.0.1
Bumps [@nextcloud/stylelint-config](https://github.com/nextcloud/stylelint-config) from 1.0.0-beta.0 to 2.0.1.
- [Release notes](https://github.com/nextcloud/stylelint-config/releases)
- [Changelog](https://github.com/nextcloud/stylelint-config/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nextcloud/stylelint-config/commits/v2.0.1)

---
updated-dependencies:
- dependency-name: "@nextcloud/stylelint-config"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-13 02:04:17 +00: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 +01:00
Carl Schwan
df3d9107ef
Fix core depending on theming app
This was introduced in 309354852f
to fix a bug but I can't reproduce the bug after reverting this change.

Ideally we would need to create an interface in OCP and cleanup OC_Defaults
instead of depending on OC_Defaults.

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2021-11-12 15:04:24 +01:00
Joas Schilling
265c2c125c
Fix unit tests
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-11-12 15:01:56 +01:00
Joas Schilling
ccfaddf781
Fix missing token update
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-11-12 14:43:23 +01:00
szaimen
73f99f3f7d don't flash external storage mountpoints during the status check
Signed-off-by: szaimen <szaimen@e.mail.de>
2021-11-12 12:56:52 +01:00
Nextcloud bot
eb7109b3f4
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-12 02:22:55 +00: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 +01: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 +01: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 +01:00
Joas Schilling
66ffedcb16
Fix updating with apps
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-11-11 13:56:42 +01: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 +01:00
Christoph Wurst
ca14c02301
Document and type allowed values for calendar property searches
For API users it looked like any properties could be searched. But it
turned out to be a hand picked list of properties that we index and then
use for the search. To prevent application errors where special props
are not found, I suggest we document and type the allowed values.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-11-11 10:57:04 +01:00